Tutorial 09: scATAC-seq Archetypal Analysis#
This tutorial walks through end-to-end archetypal analysis on scATAC-seq data.
What you’ll learn:
TF-IDF + LSI preprocessing for chromatin accessibility data
Hyperparameter search with LSI embeddings
Training and evaluating the final model
Archetype distances, positions, and assignments
Peak associations and characterization
Key difference from scRNA-seq: scATAC-seq uses TF-IDF + LSI (Truncated SVD) instead of log-normalization + PCA. PEACH handles this seamlessly — just set pca_key='X_lsi' when training.
Requirements:
peach(v0.4.0+)scanpyData:
data/ovary_ATAC.h5ad(18K cells x 19K peaks)
WARNING: The current results are not biologically interpretable. Note the lack of model convergence and low archetypal \(R^2\) obtained. This is a demonstration only. Future work will test archetype analysis from raw ATAC peaks to preserve rank structure in LSI dimensional reduction.
[2]:
import scanpy as sc
import peach as pc
import numpy as np
from pathlib import Path
print(f"PEACH version: {pc.__version__}")
PEACH version: 0.4.0
Step 1: Load scATAC-seq Data#
scATAC-seq data is a sparse peak-by-cell matrix where each entry represents the number of Tn5 insertions in a genomic peak for a given cell. These are typically very sparse (95-99% zeros) and high-dimensional.
[10]:
data_path = Path("data/ovary_ATAC.h5ad")
adata = sc.read_h5ad('/Users/honkala/Desktop/PEACH_public/data/ovary_ATAC.h5ad')
print(f"Shape: {adata.n_obs:,} cells x {adata.n_vars:,} peaks")
print(f"Existing obsm keys: {list(adata.obsm.keys())}")
print(f"Existing obs columns: {list(adata.obs.columns[:10])}")
# Check sparsity
import scipy.sparse as sp
if sp.issparse(adata.X):
density = adata.X.nnz / (adata.n_obs * adata.n_vars)
print(f"Matrix density: {density:.1%} non-zero")
Shape: 18,315 cells x 19,281 peaks
Existing obsm keys: ['X_harmony', 'X_lsi', 'X_umap']
Existing obs columns: ['mapped_reference_assembly', 'alignment_software', 'donor_id', 'self_reported_ethnicity_ontology_term_id', 'donor_living_at_sample_collection', 'donor_menopausal_status', 'sample_uuid', 'sample_preservation_method', 'tissue_ontology_term_id', 'development_stage_ontology_term_id']
Matrix density: 24.9% non-zero
Step 2: TF-IDF + LSI Preprocessing#
pc.pp.prepare_atacseq() performs:
TF-IDF normalization: Term-frequency * inverse-document-frequency weights each peak by how informative it is across the dataset.
LSI (Latent Semantic Indexing): Truncated SVD dimensionality reduction. The first component is dropped by default because it typically captures sequencing depth rather than biological variation.
The result is stored in adata.obsm['X_lsi'], analogous to X_pca for RNA.
[11]:
# If pre-computed LSI exists, we can use it directly
# To force recomputation: del adata.obsm['X_lsi']
if "X_lsi" not in adata.obsm:
pc.pp.prepare_atacseq(
adata,
n_components=50, # 30-50 standard for scATAC
drop_first=True, # Drop depth component
)
else:
print(f"Using pre-computed X_lsi: {adata.obsm['X_lsi'].shape}")
print(f"\nLSI embeddings: {adata.obsm['X_lsi'].shape}")
if 'lsi' in adata.uns:
var_ratio = adata.uns['lsi']['variance_ratio']
print(f"Variance explained: {var_ratio.sum()*100:.1f}% total")
print(f" Top 5 components: {var_ratio[:5]*100}")
Using pre-computed X_lsi: (18315, 50)
LSI embeddings: (18315, 50)
Step 3: Hyperparameter Search#
Same hyperparameter search as scRNA-seq, but pointing to X_lsi instead of X_pca. The search tests different numbers of archetypes using cross-validation.
[12]:
cv_summary = pc.tl.hyperparameter_search(
adata,
n_archetypes_range=[3, 4, 5, 6, 7],
cv_folds=3,
max_epochs_cv=15,
pca_key="X_lsi", # The only difference from RNA workflows
device="cpu",
)
# Ranked results
ranked = cv_summary.ranked_configs
for i, config in enumerate(ranked[:5]):
print(f" #{i+1}: n_archetypes={config['hyperparameters']['n_archetypes']}, "
f"R²={config['metric_value']:.4f}")
[OK] Using specified PCA coordinates: adata.obsm['X_lsi'] (18315, 50)
[STATS] DataLoader created: 18315 cells Ă— 50 PCA components
Config: batch_size=128, workers=0 (Apple Silicon)
Starting Archetypal Hyperparameter Grid Search
Search space: 5 Ă— 4 = 20 combinations
Using fixed inflation: 1.5
CV folds: 3
Total training runs: 60
[STATS] Dataset info: 18,315 cells, 50 features
Subsampled to 9,157 cells (50.0%) for CV
Fold 1: 6,104 train, 3,053 val
Fold 2: 6,105 train, 3,052 val
Fold 3: 6,105 train, 3,052 val
đź§Ş Configuration 1/20: {'n_archetypes': 3, 'hidden_dims': [128, 64], 'inflation_factor': 1.5, 'use_pcha_init': True, 'use_inflation': True}
Fold 1/3
Model input_dim: 50 (auto-detected from data)
Archetypes parameter registered: True
Archetypes requires_grad: True
Deep_AA (Deep Archetypal Analysis) initialized:
- Single-stage architecture (like Deep_2)
- Inflation factor: 1.5
- Direct archetypal coordinates (no bottleneck)
Consolidated Archetype Initialization
PCHA: True, Inflation: True (factor: 1.5)
Test inflation: False
Running PCHA initialization...
Input shape: (128, 50)
Target archetypes: 3
Running PCHA with 3 archetypes...
Data shape for PCHA: (50, 128)
PCHA Results:
Archetypes shape: (3, 50)
Archetype R²: 0.1389
SSE: 5323.0848
PCHA archetype R²: 0.1389
Archetype shape: (3, 50)
[OK] Initialized 3 archetypes using PCHA
Scalar Archetypal Inflation (factor: 1.50)
[OK] Inflation complete
[STATS] Positioning verification:
Data radius (max): 17.913
Data radius (mean): 6.350
Archetype distances: 4.157 to 19.888
Archetypes outside data: 1/3
Min archetype separation: 14.085
[OK] Archetype initialization complete (success: True)
[OK] Archetype initialization complete (PCHA: True, Inflation: 1.5)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Intel MKL WARNING: Support of Intel(R) Streaming SIMD Extensions 4.2 (Intel(R) SSE4.2) enabled only processors has been deprecated. Intel oneAPI Math Kernel Library 2025.0 will require Intel(R) Advanced Vector Extensions (Intel(R) AVX) instructions.
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0051, max=0.9407, mean=0.3333
Batch reconstruction MSE: 1.2068
Archetype stats: min=-2.4301, max=1.7323
Archetype gradients: norm=0.023669, mean=0.001415
Epoch 1/1
Average loss: 0.8774
Archetypal loss: 0.9717
KLD loss: 0.0287
Reconstruction loss: 0.9717
Archetype R²: -0.0201
Archetype transform grad norm: 0.236249
Archetype transform param norm: 5.7954
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.8774 (range: 0.8774 - 0.8774)
archetypal_loss: 0.9717 (range: 0.9717 - 0.9717)
kld_loss: 0.0287 (range: 0.0287 - 0.0287)
reconstruction_loss: 0.9717 (range: 0.9717 - 0.9717)
archetype_r2: -0.0201 (range: -0.0201 - -0.0201)
Archetype Transform Summary:
archetype_transform_mean: -0.000159 (range: -0.000159 - -0.000159)
archetype_transform_std: 0.081160 (range: 0.081160 - 0.081160)
archetype_transform_norm: 5.795409 (range: 5.795409 - 5.795409)
archetype_transform_grad_norm: 0.236249 (range: 0.236249 - 0.236249)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0108, max=0.9458, mean=0.3333
Batch reconstruction MSE: 1.0585
Archetype stats: min=-0.6534, max=0.6383
Archetype change since last debug: 6.217926
Archetype gradients: norm=0.004018, mean=0.000259
Epoch 1/1
Average loss: 0.8602
Archetypal loss: 0.9522
KLD loss: 0.0321
Reconstruction loss: 0.9522
Archetype R²: -0.0001
Archetype transform grad norm: 0.159415
Archetype transform param norm: 5.8063
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.8602 (range: 0.8602 - 0.8602)
archetypal_loss: 0.9522 (range: 0.9522 - 0.9522)
kld_loss: 0.0321 (range: 0.0321 - 0.0321)
reconstruction_loss: 0.9522 (range: 0.9522 - 0.9522)
archetype_r2: -0.0001 (range: -0.0001 - -0.0001)
Archetype Transform Summary:
archetype_transform_mean: -0.000190 (range: -0.000190 - -0.000190)
archetype_transform_std: 0.081313 (range: 0.081313 - 0.081313)
archetype_transform_norm: 5.806342 (range: 5.806342 - 5.806342)
archetype_transform_grad_norm: 0.159415 (range: 0.159415 - 0.159415)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0013, max=0.9541, mean=0.3333
Batch reconstruction MSE: 1.0654
Archetype stats: min=-1.1507, max=1.3390
Archetype change since last debug: 2.904037
Archetype gradients: norm=0.005697, mean=0.000366
Epoch 1/1
Average loss: 0.8540
Archetypal loss: 0.9434
KLD loss: 0.0494
Reconstruction loss: 0.9434
Archetype R²: 0.0092
Archetype transform grad norm: 0.181996
Archetype transform param norm: 5.8677
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.8540 (range: 0.8540 - 0.8540)
archetypal_loss: 0.9434 (range: 0.9434 - 0.9434)
kld_loss: 0.0494 (range: 0.0494 - 0.0494)
reconstruction_loss: 0.9434 (range: 0.9434 - 0.9434)
archetype_r2: 0.0092 (range: 0.0092 - 0.0092)
Archetype Transform Summary:
archetype_transform_mean: -0.000160 (range: -0.000160 - -0.000160)
archetype_transform_std: 0.082172 (range: 0.082172 - 0.082172)
archetype_transform_norm: 5.867705 (range: 5.867705 - 5.867705)
archetype_transform_grad_norm: 0.181996 (range: 0.181996 - 0.181996)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0125, max=0.9398, mean=0.3333
Batch reconstruction MSE: 1.1014
Archetype stats: min=-2.0126, max=2.1838
Archetype change since last debug: 3.766851
Archetype gradients: norm=0.009995, mean=0.000614
Epoch 1/1
Average loss: 0.8487
Archetypal loss: 0.9365
KLD loss: 0.0587
Reconstruction loss: 0.9365
Archetype R²: 0.0166
Archetype transform grad norm: 0.197532
Archetype transform param norm: 5.9616
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.8487 (range: 0.8487 - 0.8487)
archetypal_loss: 0.9365 (range: 0.9365 - 0.9365)
kld_loss: 0.0587 (range: 0.0587 - 0.0587)
reconstruction_loss: 0.9365 (range: 0.9365 - 0.9365)
archetype_r2: 0.0166 (range: 0.0166 - 0.0166)
Archetype Transform Summary:
archetype_transform_mean: -0.000116 (range: -0.000116 - -0.000116)
archetype_transform_std: 0.083487 (range: 0.083487 - 0.083487)
archetype_transform_norm: 5.961555 (range: 5.961555 - 5.961555)
archetype_transform_grad_norm: 0.197532 (range: 0.197532 - 0.197532)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0083, max=0.9449, mean=0.3333
Batch reconstruction MSE: 1.0981
Archetype stats: min=-2.4117, max=2.8348
Archetype change since last debug: 3.403530
Archetype gradients: norm=0.014385, mean=0.000927
Epoch 1/1
Average loss: 0.8401
Archetypal loss: 0.9251
KLD loss: 0.0753
Reconstruction loss: 0.9251
Archetype R²: 0.0285
Archetype transform grad norm: 0.209071
Archetype transform param norm: 6.1163
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.8401 (range: 0.8401 - 0.8401)
archetypal_loss: 0.9251 (range: 0.9251 - 0.9251)
kld_loss: 0.0753 (range: 0.0753 - 0.0753)
reconstruction_loss: 0.9251 (range: 0.9251 - 0.9251)
archetype_r2: 0.0285 (range: 0.0285 - 0.0285)
Archetype Transform Summary:
archetype_transform_mean: -0.000076 (range: -0.000076 - -0.000076)
archetype_transform_std: 0.085653 (range: 0.085653 - 0.085653)
archetype_transform_norm: 6.116278 (range: 6.116278 - 6.116278)
archetype_transform_grad_norm: 0.209071 (range: 0.209071 - 0.209071)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0121, max=0.8983, mean=0.3333
Batch reconstruction MSE: 1.1265
Archetype stats: min=-3.0149, max=3.7939
Archetype change since last debug: 4.503926
Archetype gradients: norm=0.032890, mean=0.001803
Epoch 1/1
Average loss: 0.8342
Archetypal loss: 0.9192
KLD loss: 0.0692
Reconstruction loss: 0.9192
Archetype R²: 0.0349
Archetype transform grad norm: 0.220123
Archetype transform param norm: 6.2510
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.8342 (range: 0.8342 - 0.8342)
archetypal_loss: 0.9192 (range: 0.9192 - 0.9192)
kld_loss: 0.0692 (range: 0.0692 - 0.0692)
reconstruction_loss: 0.9192 (range: 0.9192 - 0.9192)
archetype_r2: 0.0349 (range: 0.0349 - 0.0349)
Archetype Transform Summary:
archetype_transform_mean: -0.000001 (range: -0.000001 - -0.000001)
archetype_transform_std: 0.087540 (range: 0.087540 - 0.087540)
archetype_transform_norm: 6.251003 (range: 6.251003 - 6.251003)
archetype_transform_grad_norm: 0.220123 (range: 0.220123 - 0.220123)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0223, max=0.8256, mean=0.3333
Batch reconstruction MSE: 1.1139
Archetype stats: min=-3.6517, max=4.3046
Archetype change since last debug: 3.147903
Archetype gradients: norm=0.021785, mean=0.001328
Epoch 1/1
Average loss: 0.8301
Archetypal loss: 0.9151
KLD loss: 0.0647
Reconstruction loss: 0.9151
Archetype R²: 0.0391
Archetype transform grad norm: 0.227205
Archetype transform param norm: 6.3423
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.8301 (range: 0.8301 - 0.8301)
archetypal_loss: 0.9151 (range: 0.9151 - 0.9151)
kld_loss: 0.0647 (range: 0.0647 - 0.0647)
reconstruction_loss: 0.9151 (range: 0.9151 - 0.9151)
archetype_r2: 0.0391 (range: 0.0391 - 0.0391)
Archetype Transform Summary:
archetype_transform_mean: 0.000089 (range: 0.000089 - 0.000089)
archetype_transform_std: 0.088818 (range: 0.088818 - 0.088818)
archetype_transform_norm: 6.342287 (range: 6.342287 - 6.342287)
archetype_transform_grad_norm: 0.227205 (range: 0.227205 - 0.227205)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0215, max=0.7631, mean=0.3333
Batch reconstruction MSE: 1.1724
Archetype stats: min=-4.6148, max=5.0495
Archetype change since last debug: 2.642207
Archetype gradients: norm=0.041298, mean=0.002715
Epoch 1/1
Average loss: 0.8291
Archetypal loss: 0.9139
KLD loss: 0.0658
Reconstruction loss: 0.9139
Archetype R²: 0.0405
Archetype transform grad norm: 0.243060
Archetype transform param norm: 6.3993
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.8291 (range: 0.8291 - 0.8291)
archetypal_loss: 0.9139 (range: 0.9139 - 0.9139)
kld_loss: 0.0658 (range: 0.0658 - 0.0658)
reconstruction_loss: 0.9139 (range: 0.9139 - 0.9139)
archetype_r2: 0.0405 (range: 0.0405 - 0.0405)
Archetype Transform Summary:
archetype_transform_mean: 0.000109 (range: 0.000109 - 0.000109)
archetype_transform_std: 0.089617 (range: 0.089617 - 0.089617)
archetype_transform_norm: 6.399326 (range: 6.399326 - 6.399326)
archetype_transform_grad_norm: 0.243060 (range: 0.243060 - 0.243060)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0300, max=0.8341, mean=0.3333
Batch reconstruction MSE: 1.1481
Archetype stats: min=-5.1890, max=6.1399
Archetype change since last debug: 2.039524
Archetype gradients: norm=0.031102, mean=0.002086
Epoch 1/1
Average loss: 0.8268
Archetypal loss: 0.9115
KLD loss: 0.0642
Reconstruction loss: 0.9115
Archetype R²: 0.0431
Archetype transform grad norm: 0.247104
Archetype transform param norm: 6.4460
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.8268 (range: 0.8268 - 0.8268)
archetypal_loss: 0.9115 (range: 0.9115 - 0.9115)
kld_loss: 0.0642 (range: 0.0642 - 0.0642)
reconstruction_loss: 0.9115 (range: 0.9115 - 0.9115)
archetype_r2: 0.0431 (range: 0.0431 - 0.0431)
Archetype Transform Summary:
archetype_transform_mean: 0.000285 (range: 0.000285 - 0.000285)
archetype_transform_std: 0.090270 (range: 0.090270 - 0.090270)
archetype_transform_norm: 6.446003 (range: 6.446003 - 6.446003)
archetype_transform_grad_norm: 0.247104 (range: 0.247104 - 0.247104)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0315, max=0.6791, mean=0.3333
Batch reconstruction MSE: 1.0980
Archetype stats: min=-5.8031, max=7.1051
Archetype change since last debug: 1.785009
Archetype gradients: norm=0.026642, mean=0.001781
Epoch 1/1
Average loss: 0.8237
Archetypal loss: 0.9086
KLD loss: 0.0597
Reconstruction loss: 0.9086
Archetype R²: 0.0460
Archetype transform grad norm: 0.236193
Archetype transform param norm: 6.4987
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.8237 (range: 0.8237 - 0.8237)
archetypal_loss: 0.9086 (range: 0.9086 - 0.9086)
kld_loss: 0.0597 (range: 0.0597 - 0.0597)
reconstruction_loss: 0.9086 (range: 0.9086 - 0.9086)
archetype_r2: 0.0460 (range: 0.0460 - 0.0460)
Archetype Transform Summary:
archetype_transform_mean: 0.000306 (range: 0.000306 - 0.000306)
archetype_transform_std: 0.091009 (range: 0.091009 - 0.091009)
archetype_transform_norm: 6.498734 (range: 6.498734 - 6.498734)
archetype_transform_grad_norm: 0.236193 (range: 0.236193 - 0.236193)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0313, max=0.7045, mean=0.3333
Batch reconstruction MSE: 1.1034
Archetype stats: min=-6.3906, max=7.9969
Archetype change since last debug: 1.841724
Archetype gradients: norm=0.032562, mean=0.002001
Epoch 1/1
Average loss: 0.8228
Archetypal loss: 0.9079
KLD loss: 0.0568
Reconstruction loss: 0.9079
Archetype R²: 0.0469
Archetype transform grad norm: 0.241970
Archetype transform param norm: 6.5439
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.8228 (range: 0.8228 - 0.8228)
archetypal_loss: 0.9079 (range: 0.9079 - 0.9079)
kld_loss: 0.0568 (range: 0.0568 - 0.0568)
reconstruction_loss: 0.9079 (range: 0.9079 - 0.9079)
archetype_r2: 0.0469 (range: 0.0469 - 0.0469)
Archetype Transform Summary:
archetype_transform_mean: 0.000446 (range: 0.000446 - 0.000446)
archetype_transform_std: 0.091640 (range: 0.091640 - 0.091640)
archetype_transform_norm: 6.543867 (range: 6.543867 - 6.543867)
archetype_transform_grad_norm: 0.241970 (range: 0.241970 - 0.241970)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0480, max=0.7431, mean=0.3333
Batch reconstruction MSE: 1.1488
Archetype stats: min=-6.8642, max=8.6478
Archetype change since last debug: 1.474961
Archetype gradients: norm=0.039762, mean=0.001959
Epoch 1/1
Average loss: 0.8236
Archetypal loss: 0.9085
KLD loss: 0.0591
Reconstruction loss: 0.9085
Archetype R²: 0.0463
Archetype transform grad norm: 0.250686
Archetype transform param norm: 6.5657
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.8236 (range: 0.8236 - 0.8236)
archetypal_loss: 0.9085 (range: 0.9085 - 0.9085)
kld_loss: 0.0591 (range: 0.0591 - 0.0591)
reconstruction_loss: 0.9085 (range: 0.9085 - 0.9085)
archetype_r2: 0.0463 (range: 0.0463 - 0.0463)
Archetype Transform Summary:
archetype_transform_mean: 0.000400 (range: 0.000400 - 0.000400)
archetype_transform_std: 0.091946 (range: 0.091946 - 0.091946)
archetype_transform_norm: 6.565704 (range: 6.565704 - 6.565704)
archetype_transform_grad_norm: 0.250686 (range: 0.250686 - 0.250686)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0356, max=0.6743, mean=0.3333
Batch reconstruction MSE: 1.1237
Archetype stats: min=-6.7699, max=8.9247
Archetype change since last debug: 1.083089
Archetype gradients: norm=0.050349, mean=0.003142
Epoch 1/1
Average loss: 0.8221
Archetypal loss: 0.9072
KLD loss: 0.0560
Reconstruction loss: 0.9072
Archetype R²: 0.0476
Archetype transform grad norm: 0.249169
Archetype transform param norm: 6.5803
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.8221 (range: 0.8221 - 0.8221)
archetypal_loss: 0.9072 (range: 0.9072 - 0.9072)
kld_loss: 0.0560 (range: 0.0560 - 0.0560)
reconstruction_loss: 0.9072 (range: 0.9072 - 0.9072)
archetype_r2: 0.0476 (range: 0.0476 - 0.0476)
Archetype Transform Summary:
archetype_transform_mean: 0.000538 (range: 0.000538 - 0.000538)
archetype_transform_std: 0.092151 (range: 0.092151 - 0.092151)
archetype_transform_norm: 6.580347 (range: 6.580347 - 6.580347)
archetype_transform_grad_norm: 0.249169 (range: 0.249169 - 0.249169)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0563, max=0.6477, mean=0.3333
Batch reconstruction MSE: 1.0822
Archetype stats: min=-7.0762, max=9.2297
Archetype change since last debug: 0.977511
Archetype gradients: norm=0.023088, mean=0.001294
Epoch 1/1
Average loss: 0.8205
Archetypal loss: 0.9057
KLD loss: 0.0531
Reconstruction loss: 0.9057
Archetype R²: 0.0491
Archetype transform grad norm: 0.245571
Archetype transform param norm: 6.6172
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.8205 (range: 0.8205 - 0.8205)
archetypal_loss: 0.9057 (range: 0.9057 - 0.9057)
kld_loss: 0.0531 (range: 0.0531 - 0.0531)
reconstruction_loss: 0.9057 (range: 0.9057 - 0.9057)
archetype_r2: 0.0491 (range: 0.0491 - 0.0491)
Archetype Transform Summary:
archetype_transform_mean: 0.000503 (range: 0.000503 - 0.000503)
archetype_transform_std: 0.092668 (range: 0.092668 - 0.092668)
archetype_transform_norm: 6.617242 (range: 6.617242 - 6.617242)
archetype_transform_grad_norm: 0.245571 (range: 0.245571 - 0.245571)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0534, max=0.6351, mean=0.3333
Batch reconstruction MSE: 1.0561
Archetype stats: min=-7.2695, max=9.7461
Archetype change since last debug: 1.140037
Archetype gradients: norm=0.037280, mean=0.002167
Epoch 1/1
Average loss: 0.8197
Archetypal loss: 0.9050
KLD loss: 0.0521
Reconstruction loss: 0.9050
Archetype R²: 0.0498
Archetype transform grad norm: 0.248163
Archetype transform param norm: 6.6455
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.8197 (range: 0.8197 - 0.8197)
archetypal_loss: 0.9050 (range: 0.9050 - 0.9050)
kld_loss: 0.0521 (range: 0.0521 - 0.0521)
reconstruction_loss: 0.9050 (range: 0.9050 - 0.9050)
archetype_r2: 0.0498 (range: 0.0498 - 0.0498)
Archetype Transform Summary:
archetype_transform_mean: 0.000597 (range: 0.000597 - 0.000597)
archetype_transform_std: 0.093063 (range: 0.093063 - 0.093063)
archetype_transform_norm: 6.645506 (range: 6.645506 - 6.645506)
archetype_transform_grad_norm: 0.248163 (range: 0.248163 - 0.248163)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0624, max=0.7724, mean=0.3333
Batch reconstruction MSE: 1.1189
Archetype stats: min=-7.6629, max=10.0832
Archetype change since last debug: 1.058276
Archetype gradients: norm=0.032021, mean=0.002195
Epoch 1/1
Average loss: 0.8207
Archetypal loss: 0.9063
KLD loss: 0.0510
Reconstruction loss: 0.9063
Archetype R²: 0.0486
Archetype transform grad norm: 0.256189
Archetype transform param norm: 6.6682
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.8207 (range: 0.8207 - 0.8207)
archetypal_loss: 0.9063 (range: 0.9063 - 0.9063)
kld_loss: 0.0510 (range: 0.0510 - 0.0510)
reconstruction_loss: 0.9063 (range: 0.9063 - 0.9063)
archetype_r2: 0.0486 (range: 0.0486 - 0.0486)
Archetype Transform Summary:
archetype_transform_mean: 0.000579 (range: 0.000579 - 0.000579)
archetype_transform_std: 0.093381 (range: 0.093381 - 0.093381)
archetype_transform_norm: 6.668201 (range: 6.668201 - 6.668201)
archetype_transform_grad_norm: 0.256189 (range: 0.256189 - 0.256189)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0550, max=0.7251, mean=0.3333
Batch reconstruction MSE: 1.1103
Archetype stats: min=-7.7362, max=10.3344
Archetype change since last debug: 0.620498
Archetype gradients: norm=0.065869, mean=0.003437
Epoch 1/1
Average loss: 0.8203
Archetypal loss: 0.9060
KLD loss: 0.0495
Reconstruction loss: 0.9060
Archetype R²: 0.0489
Archetype transform grad norm: 0.250971
Archetype transform param norm: 6.6659
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.8203 (range: 0.8203 - 0.8203)
archetypal_loss: 0.9060 (range: 0.9060 - 0.9060)
kld_loss: 0.0495 (range: 0.0495 - 0.0495)
reconstruction_loss: 0.9060 (range: 0.9060 - 0.9060)
archetype_r2: 0.0489 (range: 0.0489 - 0.0489)
Archetype Transform Summary:
archetype_transform_mean: 0.000662 (range: 0.000662 - 0.000662)
archetype_transform_std: 0.093348 (range: 0.093348 - 0.093348)
archetype_transform_norm: 6.665925 (range: 6.665925 - 6.665925)
archetype_transform_grad_norm: 0.250971 (range: 0.250971 - 0.250971)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0655, max=0.6182, mean=0.3333
Batch reconstruction MSE: 1.0839
Archetype stats: min=-7.9768, max=10.2824
Archetype change since last debug: 0.668070
Archetype gradients: norm=0.043552, mean=0.002815
Epoch 1/1
Average loss: 0.8199
Archetypal loss: 0.9052
KLD loss: 0.0519
Reconstruction loss: 0.9052
Archetype R²: 0.0497
Archetype transform grad norm: 0.257534
Archetype transform param norm: 6.6896
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.8199 (range: 0.8199 - 0.8199)
archetypal_loss: 0.9052 (range: 0.9052 - 0.9052)
kld_loss: 0.0519 (range: 0.0519 - 0.0519)
reconstruction_loss: 0.9052 (range: 0.9052 - 0.9052)
archetype_r2: 0.0497 (range: 0.0497 - 0.0497)
Archetype Transform Summary:
archetype_transform_mean: 0.000610 (range: 0.000610 - 0.000610)
archetype_transform_std: 0.093680 (range: 0.093680 - 0.093680)
archetype_transform_norm: 6.689595 (range: 6.689595 - 6.689595)
archetype_transform_grad_norm: 0.257534 (range: 0.257534 - 0.257534)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0599, max=0.6281, mean=0.3333
Batch reconstruction MSE: 1.1276
Archetype stats: min=-7.9401, max=10.6215
Archetype change since last debug: 0.712289
Archetype gradients: norm=0.081322, mean=0.004395
Epoch 1/1
Average loss: 0.8203
Archetypal loss: 0.9060
KLD loss: 0.0483
Reconstruction loss: 0.9060
Archetype R²: 0.0489
Archetype transform grad norm: 0.256839
Archetype transform param norm: 6.6860
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.8203 (range: 0.8203 - 0.8203)
archetypal_loss: 0.9060 (range: 0.9060 - 0.9060)
kld_loss: 0.0483 (range: 0.0483 - 0.0483)
reconstruction_loss: 0.9060 (range: 0.9060 - 0.9060)
archetype_r2: 0.0489 (range: 0.0489 - 0.0489)
Archetype Transform Summary:
archetype_transform_mean: 0.000714 (range: 0.000714 - 0.000714)
archetype_transform_std: 0.093629 (range: 0.093629 - 0.093629)
archetype_transform_norm: 6.686020 (range: 6.686020 - 6.686020)
archetype_transform_grad_norm: 0.256839 (range: 0.256839 - 0.256839)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0648, max=0.6897, mean=0.3333
Batch reconstruction MSE: 1.0805
Archetype stats: min=-8.1110, max=10.5249
Archetype change since last debug: 0.553620
Archetype gradients: norm=0.045368, mean=0.003004
Epoch 1/1
Average loss: 0.8192
Archetypal loss: 0.9048
KLD loss: 0.0495
Reconstruction loss: 0.9048
Archetype R²: 0.0501
Archetype transform grad norm: 0.257301
Archetype transform param norm: 6.7082
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.8192 (range: 0.8192 - 0.8192)
archetypal_loss: 0.9048 (range: 0.9048 - 0.9048)
kld_loss: 0.0495 (range: 0.0495 - 0.0495)
reconstruction_loss: 0.9048 (range: 0.9048 - 0.9048)
archetype_r2: 0.0501 (range: 0.0501 - 0.0501)
Archetype Transform Summary:
archetype_transform_mean: 0.000657 (range: 0.000657 - 0.000657)
archetype_transform_std: 0.093941 (range: 0.093941 - 0.093941)
archetype_transform_norm: 6.708220 (range: 6.708220 - 6.708220)
archetype_transform_grad_norm: 0.257301 (range: 0.257301 - 0.257301)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0589, max=0.5820, mean=0.3333
Batch reconstruction MSE: 1.0786
Archetype stats: min=-8.0656, max=10.8505
Archetype change since last debug: 0.624644
Archetype gradients: norm=0.065852, mean=0.003439
Epoch 1/1
Average loss: 0.8187
Archetypal loss: 0.9045
KLD loss: 0.0462
Reconstruction loss: 0.9045
Archetype R²: 0.0504
Archetype transform grad norm: 0.251372
Archetype transform param norm: 6.7157
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.8187 (range: 0.8187 - 0.8187)
archetypal_loss: 0.9045 (range: 0.9045 - 0.9045)
kld_loss: 0.0462 (range: 0.0462 - 0.0462)
reconstruction_loss: 0.9045 (range: 0.9045 - 0.9045)
archetype_r2: 0.0504 (range: 0.0504 - 0.0504)
Archetype Transform Summary:
archetype_transform_mean: 0.000726 (range: 0.000726 - 0.000726)
archetype_transform_std: 0.094045 (range: 0.094045 - 0.094045)
archetype_transform_norm: 6.715669 (range: 6.715669 - 6.715669)
archetype_transform_grad_norm: 0.251372 (range: 0.251372 - 0.251372)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0678, max=0.6290, mean=0.3333
Batch reconstruction MSE: 1.0676
Archetype stats: min=-8.3834, max=10.8907
Archetype change since last debug: 0.803322
Archetype gradients: norm=0.040172, mean=0.002655
Epoch 1/1
Average loss: 0.8185
Archetypal loss: 0.9042
KLD loss: 0.0470
Reconstruction loss: 0.9042
Archetype R²: 0.0507
Archetype transform grad norm: 0.257768
Archetype transform param norm: 6.7405
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.8185 (range: 0.8185 - 0.8185)
archetypal_loss: 0.9042 (range: 0.9042 - 0.9042)
kld_loss: 0.0470 (range: 0.0470 - 0.0470)
reconstruction_loss: 0.9042 (range: 0.9042 - 0.9042)
archetype_r2: 0.0507 (range: 0.0507 - 0.0507)
Archetype Transform Summary:
archetype_transform_mean: 0.000711 (range: 0.000711 - 0.000711)
archetype_transform_std: 0.094393 (range: 0.094393 - 0.094393)
archetype_transform_norm: 6.740535 (range: 6.740535 - 6.740535)
archetype_transform_grad_norm: 0.257768 (range: 0.257768 - 0.257768)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0646, max=0.6209, mean=0.3333
Batch reconstruction MSE: 1.0637
Archetype stats: min=-8.4018, max=11.2094
Archetype change since last debug: 0.588792
Archetype gradients: norm=0.063733, mean=0.003281
Epoch 1/1
Average loss: 0.8181
Archetypal loss: 0.9041
KLD loss: 0.0448
Reconstruction loss: 0.9041
Archetype R²: 0.0508
Archetype transform grad norm: 0.255875
Archetype transform param norm: 6.7462
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.8181 (range: 0.8181 - 0.8181)
archetypal_loss: 0.9041 (range: 0.9041 - 0.9041)
kld_loss: 0.0448 (range: 0.0448 - 0.0448)
reconstruction_loss: 0.9041 (range: 0.9041 - 0.9041)
archetype_r2: 0.0508 (range: 0.0508 - 0.0508)
Archetype Transform Summary:
archetype_transform_mean: 0.000757 (range: 0.000757 - 0.000757)
archetype_transform_std: 0.094472 (range: 0.094472 - 0.094472)
archetype_transform_norm: 6.746233 (range: 6.746233 - 6.746233)
archetype_transform_grad_norm: 0.255875 (range: 0.255875 - 0.255875)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0683, max=0.5381, mean=0.3333
Batch reconstruction MSE: 1.0817
Archetype stats: min=-8.6769, max=11.2151
Archetype change since last debug: 0.763252
Archetype gradients: norm=0.041543, mean=0.002634
Epoch 1/1
Average loss: 0.8186
Archetypal loss: 0.9045
KLD loss: 0.0459
Reconstruction loss: 0.9045
Archetype R²: 0.0504
Archetype transform grad norm: 0.264746
Archetype transform param norm: 6.7664
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.8186 (range: 0.8186 - 0.8186)
archetypal_loss: 0.9045 (range: 0.9045 - 0.9045)
kld_loss: 0.0459 (range: 0.0459 - 0.0459)
reconstruction_loss: 0.9045 (range: 0.9045 - 0.9045)
archetype_r2: 0.0504 (range: 0.0504 - 0.0504)
Archetype Transform Summary:
archetype_transform_mean: 0.000763 (range: 0.000763 - 0.000763)
archetype_transform_std: 0.094755 (range: 0.094755 - 0.094755)
archetype_transform_norm: 6.766450 (range: 6.766450 - 6.766450)
archetype_transform_grad_norm: 0.264746 (range: 0.264746 - 0.264746)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0550, max=0.6114, mean=0.3333
Batch reconstruction MSE: 1.1257
Archetype stats: min=-8.6850, max=11.4656
Archetype change since last debug: 0.521575
Archetype gradients: norm=0.072111, mean=0.004206
Epoch 1/1
Average loss: 0.8194
Archetypal loss: 0.9054
KLD loss: 0.0449
Reconstruction loss: 0.9054
Archetype R²: 0.0495
Archetype transform grad norm: 0.261328
Archetype transform param norm: 6.7519
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.8194 (range: 0.8194 - 0.8194)
archetypal_loss: 0.9054 (range: 0.9054 - 0.9054)
kld_loss: 0.0449 (range: 0.0449 - 0.0449)
reconstruction_loss: 0.9054 (range: 0.9054 - 0.9054)
archetype_r2: 0.0495 (range: 0.0495 - 0.0495)
Archetype Transform Summary:
archetype_transform_mean: 0.000754 (range: 0.000754 - 0.000754)
archetype_transform_std: 0.094552 (range: 0.094552 - 0.094552)
archetype_transform_norm: 6.751886 (range: 6.751886 - 6.751886)
archetype_transform_grad_norm: 0.261328 (range: 0.261328 - 0.261328)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0385, max=0.6787, mean=0.3333
Batch reconstruction MSE: 1.1248
Archetype stats: min=-8.7526, max=11.2543
Archetype change since last debug: 0.519093
Archetype gradients: norm=0.024702, mean=0.001506
Epoch 1/1
Average loss: 0.8193
Archetypal loss: 0.9053
KLD loss: 0.0457
Reconstruction loss: 0.9053
Archetype R²: 0.0497
Archetype transform grad norm: 0.260956
Archetype transform param norm: 6.7588
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.8193 (range: 0.8193 - 0.8193)
archetypal_loss: 0.9053 (range: 0.9053 - 0.9053)
kld_loss: 0.0457 (range: 0.0457 - 0.0457)
reconstruction_loss: 0.9053 (range: 0.9053 - 0.9053)
archetype_r2: 0.0497 (range: 0.0497 - 0.0497)
Archetype Transform Summary:
archetype_transform_mean: 0.000803 (range: 0.000803 - 0.000803)
archetype_transform_std: 0.094647 (range: 0.094647 - 0.094647)
archetype_transform_norm: 6.758755 (range: 6.758755 - 6.758755)
archetype_transform_grad_norm: 0.260956 (range: 0.260956 - 0.260956)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0658, max=0.6211, mean=0.3333
Batch reconstruction MSE: 1.0868
Archetype stats: min=-8.7586, max=11.4193
Archetype change since last debug: 0.662611
Archetype gradients: norm=0.039215, mean=0.002691
Epoch 1/1
Average loss: 0.8184
Archetypal loss: 0.9042
KLD loss: 0.0462
Reconstruction loss: 0.9042
Archetype R²: 0.0507
Archetype transform grad norm: 0.253038
Archetype transform param norm: 6.7581
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.8184 (range: 0.8184 - 0.8184)
archetypal_loss: 0.9042 (range: 0.9042 - 0.9042)
kld_loss: 0.0462 (range: 0.0462 - 0.0462)
reconstruction_loss: 0.9042 (range: 0.9042 - 0.9042)
archetype_r2: 0.0507 (range: 0.0507 - 0.0507)
Archetype Transform Summary:
archetype_transform_mean: 0.000757 (range: 0.000757 - 0.000757)
archetype_transform_std: 0.094638 (range: 0.094638 - 0.094638)
archetype_transform_norm: 6.758070 (range: 6.758070 - 6.758070)
archetype_transform_grad_norm: 0.253038 (range: 0.253038 - 0.253038)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0443, max=0.5726, mean=0.3333
Batch reconstruction MSE: 1.0931
Archetype stats: min=-8.8417, max=11.4681
Archetype change since last debug: 0.453976
Archetype gradients: norm=0.017068, mean=0.001173
Epoch 1/1
Average loss: 0.8181
Archetypal loss: 0.9042
KLD loss: 0.0435
Reconstruction loss: 0.9042
Archetype R²: 0.0507
Archetype transform grad norm: 0.249473
Archetype transform param norm: 6.7708
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.8181 (range: 0.8181 - 0.8181)
archetypal_loss: 0.9042 (range: 0.9042 - 0.9042)
kld_loss: 0.0435 (range: 0.0435 - 0.0435)
reconstruction_loss: 0.9042 (range: 0.9042 - 0.9042)
archetype_r2: 0.0507 (range: 0.0507 - 0.0507)
Archetype Transform Summary:
archetype_transform_mean: 0.000827 (range: 0.000827 - 0.000827)
archetype_transform_std: 0.094816 (range: 0.094816 - 0.094816)
archetype_transform_norm: 6.770821 (range: 6.770821 - 6.770821)
archetype_transform_grad_norm: 0.249473 (range: 0.249473 - 0.249473)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0658, max=0.5684, mean=0.3333
Batch reconstruction MSE: 1.0462
Archetype stats: min=-8.9638, max=11.6145
Archetype change since last debug: 0.438184
Archetype gradients: norm=0.018866, mean=0.001276
Epoch 1/1
Average loss: 0.8171
Archetypal loss: 0.9030
KLD loss: 0.0443
Reconstruction loss: 0.9030
Archetype R²: 0.0519
Archetype transform grad norm: 0.246443
Archetype transform param norm: 6.7876
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.8171 (range: 0.8171 - 0.8171)
archetypal_loss: 0.9030 (range: 0.9030 - 0.9030)
kld_loss: 0.0443 (range: 0.0443 - 0.0443)
reconstruction_loss: 0.9030 (range: 0.9030 - 0.9030)
archetype_r2: 0.0519 (range: 0.0519 - 0.0519)
Archetype Transform Summary:
archetype_transform_mean: 0.000785 (range: 0.000785 - 0.000785)
archetype_transform_std: 0.095052 (range: 0.095052 - 0.095052)
archetype_transform_norm: 6.787635 (range: 6.787635 - 6.787635)
archetype_transform_grad_norm: 0.246443 (range: 0.246443 - 0.246443)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0713, max=0.5691, mean=0.3333
Batch reconstruction MSE: 1.0720
Archetype stats: min=-9.0524, max=11.8991
Archetype change since last debug: 0.711380
Archetype gradients: norm=0.013772, mean=0.000930
Epoch 1/1
Average loss: 0.8172
Archetypal loss: 0.9035
KLD loss: 0.0400
Reconstruction loss: 0.9035
Archetype R²: 0.0514
Archetype transform grad norm: 0.246576
Archetype transform param norm: 6.8044
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.8172 (range: 0.8172 - 0.8172)
archetypal_loss: 0.9035 (range: 0.9035 - 0.9035)
kld_loss: 0.0400 (range: 0.0400 - 0.0400)
reconstruction_loss: 0.9035 (range: 0.9035 - 0.9035)
archetype_r2: 0.0514 (range: 0.0514 - 0.0514)
Archetype Transform Summary:
archetype_transform_mean: 0.000840 (range: 0.000840 - 0.000840)
archetype_transform_std: 0.095286 (range: 0.095286 - 0.095286)
archetype_transform_norm: 6.804389 (range: 6.804389 - 6.804389)
archetype_transform_grad_norm: 0.246576 (range: 0.246576 - 0.246576)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0679, max=0.5544, mean=0.3333
Batch reconstruction MSE: 1.0428
Archetype stats: min=-9.2675, max=12.0681
Archetype change since last debug: 0.529376
Archetype gradients: norm=0.021142, mean=0.001272
Epoch 1/1
Average loss: 0.8169
Archetypal loss: 0.9029
KLD loss: 0.0429
Reconstruction loss: 0.9029
Archetype R²: 0.0520
Archetype transform grad norm: 0.251135
Archetype transform param norm: 6.8200
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.8169 (range: 0.8169 - 0.8169)
archetypal_loss: 0.9029 (range: 0.9029 - 0.9029)
kld_loss: 0.0429 (range: 0.0429 - 0.0429)
reconstruction_loss: 0.9029 (range: 0.9029 - 0.9029)
archetype_r2: 0.0520 (range: 0.0520 - 0.0520)
Archetype Transform Summary:
archetype_transform_mean: 0.000788 (range: 0.000788 - 0.000788)
archetype_transform_std: 0.095505 (range: 0.095505 - 0.095505)
archetype_transform_norm: 6.819977 (range: 6.819977 - 6.819977)
archetype_transform_grad_norm: 0.251135 (range: 0.251135 - 0.251135)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0689, max=0.5451, mean=0.3333
Batch reconstruction MSE: 1.0865
Archetype stats: min=-9.2838, max=12.3123
Archetype change since last debug: 0.650765
Archetype gradients: norm=0.019458, mean=0.001366
Epoch 1/1
Average loss: 0.8172
Archetypal loss: 0.9038
KLD loss: 0.0385
Reconstruction loss: 0.9038
Archetype R²: 0.0512
Archetype transform grad norm: 0.251734
Archetype transform param norm: 6.8308
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.8172 (range: 0.8172 - 0.8172)
archetypal_loss: 0.9038 (range: 0.9038 - 0.9038)
kld_loss: 0.0385 (range: 0.0385 - 0.0385)
reconstruction_loss: 0.9038 (range: 0.9038 - 0.9038)
archetype_r2: 0.0512 (range: 0.0512 - 0.0512)
Archetype Transform Summary:
archetype_transform_mean: 0.000860 (range: 0.000860 - 0.000860)
archetype_transform_std: 0.095656 (range: 0.095656 - 0.095656)
archetype_transform_norm: 6.830800 (range: 6.830800 - 6.830800)
archetype_transform_grad_norm: 0.251734 (range: 0.251734 - 0.251734)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0687, max=0.5393, mean=0.3333
Batch reconstruction MSE: 1.0423
Archetype stats: min=-9.4566, max=12.3863
Archetype change since last debug: 0.435684
Archetype gradients: norm=0.020777, mean=0.001391
Epoch 1/1
Average loss: 0.8167
Archetypal loss: 0.9028
KLD loss: 0.0413
Reconstruction loss: 0.9028
Archetype R²: 0.0520
Archetype transform grad norm: 0.252786
Archetype transform param norm: 6.8430
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.8167 (range: 0.8167 - 0.8167)
archetypal_loss: 0.9028 (range: 0.9028 - 0.9028)
kld_loss: 0.0413 (range: 0.0413 - 0.0413)
reconstruction_loss: 0.9028 (range: 0.9028 - 0.9028)
archetype_r2: 0.0520 (range: 0.0520 - 0.0520)
Archetype Transform Summary:
archetype_transform_mean: 0.000801 (range: 0.000801 - 0.000801)
archetype_transform_std: 0.095828 (range: 0.095828 - 0.095828)
archetype_transform_norm: 6.843034 (range: 6.843034 - 6.843034)
archetype_transform_grad_norm: 0.252786 (range: 0.252786 - 0.252786)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0729, max=0.5787, mean=0.3333
Batch reconstruction MSE: 1.0712
Archetype stats: min=-9.4499, max=12.5979
Archetype change since last debug: 0.626635
Archetype gradients: norm=0.017330, mean=0.001239
Epoch 1/1
Average loss: 0.8169
Archetypal loss: 0.9034
KLD loss: 0.0382
Reconstruction loss: 0.9034
Archetype R²: 0.0515
Archetype transform grad norm: 0.254687
Archetype transform param norm: 6.8561
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.8169 (range: 0.8169 - 0.8169)
archetypal_loss: 0.9034 (range: 0.9034 - 0.9034)
kld_loss: 0.0382 (range: 0.0382 - 0.0382)
reconstruction_loss: 0.9034 (range: 0.9034 - 0.9034)
archetype_r2: 0.0515 (range: 0.0515 - 0.0515)
Archetype Transform Summary:
archetype_transform_mean: 0.000872 (range: 0.000872 - 0.000872)
archetype_transform_std: 0.096010 (range: 0.096010 - 0.096010)
archetype_transform_norm: 6.856131 (range: 6.856131 - 6.856131)
archetype_transform_grad_norm: 0.254687 (range: 0.254687 - 0.254687)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0709, max=0.5446, mean=0.3333
Batch reconstruction MSE: 1.0592
Archetype stats: min=-9.6780, max=12.7097
Archetype change since last debug: 0.505646
Archetype gradients: norm=0.030868, mean=0.002182
Epoch 1/1
Average loss: 0.8168
Archetypal loss: 0.9032
KLD loss: 0.0392
Reconstruction loss: 0.9032
Archetype R²: 0.0517
Archetype transform grad norm: 0.258414
Archetype transform param norm: 6.8612
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.8168 (range: 0.8168 - 0.8168)
archetypal_loss: 0.9032 (range: 0.9032 - 0.9032)
kld_loss: 0.0392 (range: 0.0392 - 0.0392)
reconstruction_loss: 0.9032 (range: 0.9032 - 0.9032)
archetype_r2: 0.0517 (range: 0.0517 - 0.0517)
Archetype Transform Summary:
archetype_transform_mean: 0.000812 (range: 0.000812 - 0.000812)
archetype_transform_std: 0.096082 (range: 0.096082 - 0.096082)
archetype_transform_norm: 6.861187 (range: 6.861187 - 6.861187)
archetype_transform_grad_norm: 0.258414 (range: 0.258414 - 0.258414)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0732, max=0.5792, mean=0.3333
Batch reconstruction MSE: 1.0680
Archetype stats: min=-9.6993, max=12.8078
Archetype change since last debug: 0.445811
Archetype gradients: norm=0.019893, mean=0.001289
Epoch 1/1
Average loss: 0.8170
Archetypal loss: 0.9033
KLD loss: 0.0400
Reconstruction loss: 0.9033
Archetype R²: 0.0516
Archetype transform grad norm: 0.262455
Archetype transform param norm: 6.8757
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.8170 (range: 0.8170 - 0.8170)
archetypal_loss: 0.9033 (range: 0.9033 - 0.9033)
kld_loss: 0.0400 (range: 0.0400 - 0.0400)
reconstruction_loss: 0.9033 (range: 0.9033 - 0.9033)
archetype_r2: 0.0516 (range: 0.0516 - 0.0516)
Archetype Transform Summary:
archetype_transform_mean: 0.000889 (range: 0.000889 - 0.000889)
archetype_transform_std: 0.096285 (range: 0.096285 - 0.096285)
archetype_transform_norm: 6.875729 (range: 6.875729 - 6.875729)
archetype_transform_grad_norm: 0.262455 (range: 0.262455 - 0.262455)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0736, max=0.7527, mean=0.3333
Batch reconstruction MSE: 1.1295
Archetype stats: min=-9.9176, max=12.9722
Archetype change since last debug: 0.647293
Archetype gradients: norm=0.048111, mean=0.003391
Epoch 1/1
Average loss: 0.8183
Archetypal loss: 0.9050
KLD loss: 0.0385
Reconstruction loss: 0.9050
Archetype R²: 0.0500
Archetype transform grad norm: 0.268765
Archetype transform param norm: 6.8600
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.8183 (range: 0.8183 - 0.8183)
archetypal_loss: 0.9050 (range: 0.9050 - 0.9050)
kld_loss: 0.0385 (range: 0.0385 - 0.0385)
reconstruction_loss: 0.9050 (range: 0.9050 - 0.9050)
archetype_r2: 0.0500 (range: 0.0500 - 0.0500)
Archetype Transform Summary:
archetype_transform_mean: 0.000792 (range: 0.000792 - 0.000792)
archetype_transform_std: 0.096065 (range: 0.096065 - 0.096065)
archetype_transform_norm: 6.859966 (range: 6.859966 - 6.859966)
archetype_transform_grad_norm: 0.268765 (range: 0.268765 - 0.268765)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0747, max=0.6648, mean=0.3333
Batch reconstruction MSE: 1.0832
Archetype stats: min=-9.6444, max=12.7659
Archetype change since last debug: 0.718809
Archetype gradients: norm=0.023263, mean=0.001461
Epoch 1/1
Average loss: 0.8177
Archetypal loss: 0.9036
KLD loss: 0.0439
Reconstruction loss: 0.9036
Archetype R²: 0.0513
Archetype transform grad norm: 0.264629
Archetype transform param norm: 6.8649
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.8177 (range: 0.8177 - 0.8177)
archetypal_loss: 0.9036 (range: 0.9036 - 0.9036)
kld_loss: 0.0439 (range: 0.0439 - 0.0439)
reconstruction_loss: 0.9036 (range: 0.9036 - 0.9036)
archetype_r2: 0.0513 (range: 0.0513 - 0.0513)
Archetype Transform Summary:
archetype_transform_mean: 0.000884 (range: 0.000884 - 0.000884)
archetype_transform_std: 0.096134 (range: 0.096134 - 0.096134)
archetype_transform_norm: 6.864949 (range: 6.864949 - 6.864949)
archetype_transform_grad_norm: 0.264629 (range: 0.264629 - 0.264629)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0723, max=0.5838, mean=0.3333
Batch reconstruction MSE: 1.1101
Archetype stats: min=-9.8245, max=12.8799
Archetype change since last debug: 0.548707
Archetype gradients: norm=0.035938, mean=0.002351
Epoch 1/1
Average loss: 0.8176
Archetypal loss: 0.9042
KLD loss: 0.0380
Reconstruction loss: 0.9042
Archetype R²: 0.0507
Archetype transform grad norm: 0.263850
Archetype transform param norm: 6.8593
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.8176 (range: 0.8176 - 0.8176)
archetypal_loss: 0.9042 (range: 0.9042 - 0.9042)
kld_loss: 0.0380 (range: 0.0380 - 0.0380)
reconstruction_loss: 0.9042 (range: 0.9042 - 0.9042)
archetype_r2: 0.0507 (range: 0.0507 - 0.0507)
Archetype Transform Summary:
archetype_transform_mean: 0.000762 (range: 0.000762 - 0.000762)
archetype_transform_std: 0.096056 (range: 0.096056 - 0.096056)
archetype_transform_norm: 6.859349 (range: 6.859349 - 6.859349)
archetype_transform_grad_norm: 0.263850 (range: 0.263850 - 0.263850)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0779, max=0.5265, mean=0.3333
Batch reconstruction MSE: 1.0579
Archetype stats: min=-9.5445, max=12.8560
Archetype change since last debug: 0.659596
Archetype gradients: norm=0.031333, mean=0.002244
Epoch 1/1
Average loss: 0.8168
Archetypal loss: 0.9030
KLD loss: 0.0417
Reconstruction loss: 0.9030
Archetype R²: 0.0519
Archetype transform grad norm: 0.260665
Archetype transform param norm: 6.8688
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.8168 (range: 0.8168 - 0.8168)
archetypal_loss: 0.9030 (range: 0.9030 - 0.9030)
kld_loss: 0.0417 (range: 0.0417 - 0.0417)
reconstruction_loss: 0.9030 (range: 0.9030 - 0.9030)
archetype_r2: 0.0519 (range: 0.0519 - 0.0519)
Archetype Transform Summary:
archetype_transform_mean: 0.000834 (range: 0.000834 - 0.000834)
archetype_transform_std: 0.096189 (range: 0.096189 - 0.096189)
archetype_transform_norm: 6.868823 (range: 6.868823 - 6.868823)
archetype_transform_grad_norm: 0.260665 (range: 0.260665 - 0.260665)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0733, max=0.5719, mean=0.3333
Batch reconstruction MSE: 1.0974
Archetype stats: min=-9.8677, max=12.9594
Archetype change since last debug: 0.650376
Archetype gradients: norm=0.033095, mean=0.001873
Epoch 1/1
Average loss: 0.8174
Archetypal loss: 0.9039
KLD loss: 0.0386
Reconstruction loss: 0.9039
Archetype R²: 0.0510
Archetype transform grad norm: 0.260812
Archetype transform param norm: 6.8735
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.8174 (range: 0.8174 - 0.8174)
archetypal_loss: 0.9039 (range: 0.9039 - 0.9039)
kld_loss: 0.0386 (range: 0.0386 - 0.0386)
reconstruction_loss: 0.9039 (range: 0.9039 - 0.9039)
archetype_r2: 0.0510 (range: 0.0510 - 0.0510)
Archetype Transform Summary:
archetype_transform_mean: 0.000725 (range: 0.000725 - 0.000725)
archetype_transform_std: 0.096255 (range: 0.096255 - 0.096255)
archetype_transform_norm: 6.873517 (range: 6.873517 - 6.873517)
archetype_transform_grad_norm: 0.260812 (range: 0.260812 - 0.260812)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0775, max=0.5465, mean=0.3333
Batch reconstruction MSE: 1.0864
Archetype stats: min=-9.5934, max=13.0576
Archetype change since last debug: 0.570664
Archetype gradients: norm=0.062476, mean=0.003828
Epoch 1/1
Average loss: 0.8174
Archetypal loss: 0.9036
KLD loss: 0.0415
Reconstruction loss: 0.9036
Archetype R²: 0.0513
Archetype transform grad norm: 0.258154
Archetype transform param norm: 6.8659
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.8174 (range: 0.8174 - 0.8174)
archetypal_loss: 0.9036 (range: 0.9036 - 0.9036)
kld_loss: 0.0415 (range: 0.0415 - 0.0415)
reconstruction_loss: 0.9036 (range: 0.9036 - 0.9036)
archetype_r2: 0.0513 (range: 0.0513 - 0.0513)
Archetype Transform Summary:
archetype_transform_mean: 0.000844 (range: 0.000844 - 0.000844)
archetype_transform_std: 0.096148 (range: 0.096148 - 0.096148)
archetype_transform_norm: 6.865932 (range: 6.865932 - 6.865932)
archetype_transform_grad_norm: 0.258154 (range: 0.258154 - 0.258154)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0725, max=0.5604, mean=0.3333
Batch reconstruction MSE: 1.1207
Archetype stats: min=-9.9013, max=12.8318
Archetype change since last debug: 0.673903
Archetype gradients: norm=0.053920, mean=0.003457
Epoch 1/1
Average loss: 0.8179
Archetypal loss: 0.9044
KLD loss: 0.0397
Reconstruction loss: 0.9044
Archetype R²: 0.0505
Archetype transform grad norm: 0.262373
Archetype transform param norm: 6.8722
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.8179 (range: 0.8179 - 0.8179)
archetypal_loss: 0.9044 (range: 0.9044 - 0.9044)
kld_loss: 0.0397 (range: 0.0397 - 0.0397)
reconstruction_loss: 0.9044 (range: 0.9044 - 0.9044)
archetype_r2: 0.0505 (range: 0.0505 - 0.0505)
Archetype Transform Summary:
archetype_transform_mean: 0.000716 (range: 0.000716 - 0.000716)
archetype_transform_std: 0.096237 (range: 0.096237 - 0.096237)
archetype_transform_norm: 6.872240 (range: 6.872240 - 6.872240)
archetype_transform_grad_norm: 0.262373 (range: 0.262373 - 0.262373)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0785, max=0.5915, mean=0.3333
Batch reconstruction MSE: 1.0764
Archetype stats: min=-9.4498, max=13.0079
Archetype change since last debug: 0.831046
Archetype gradients: norm=0.091970, mean=0.005105
Epoch 1/1
Average loss: 0.8171
Archetypal loss: 0.9033
KLD loss: 0.0409
Reconstruction loss: 0.9033
Archetype R²: 0.0516
Archetype transform grad norm: 0.257514
Archetype transform param norm: 6.8602
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.8171 (range: 0.8171 - 0.8171)
archetypal_loss: 0.9033 (range: 0.9033 - 0.9033)
kld_loss: 0.0409 (range: 0.0409 - 0.0409)
reconstruction_loss: 0.9033 (range: 0.9033 - 0.9033)
archetype_r2: 0.0516 (range: 0.0516 - 0.0516)
Archetype Transform Summary:
archetype_transform_mean: 0.000829 (range: 0.000829 - 0.000829)
archetype_transform_std: 0.096068 (range: 0.096068 - 0.096068)
archetype_transform_norm: 6.860219 (range: 6.860219 - 6.860219)
archetype_transform_grad_norm: 0.257514 (range: 0.257514 - 0.257514)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0753, max=0.5266, mean=0.3333
Batch reconstruction MSE: 1.0997
Archetype stats: min=-9.8002, max=12.6949
Archetype change since last debug: 0.904750
Archetype gradients: norm=0.078851, mean=0.005050
Epoch 1/1
Average loss: 0.8177
Archetypal loss: 0.9040
KLD loss: 0.0411
Reconstruction loss: 0.9040
Archetype R²: 0.0509
Archetype transform grad norm: 0.268094
Archetype transform param norm: 6.8753
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.8177 (range: 0.8177 - 0.8177)
archetypal_loss: 0.9040 (range: 0.9040 - 0.9040)
kld_loss: 0.0411 (range: 0.0411 - 0.0411)
reconstruction_loss: 0.9040 (range: 0.9040 - 0.9040)
archetype_r2: 0.0509 (range: 0.0509 - 0.0509)
Archetype Transform Summary:
archetype_transform_mean: 0.000718 (range: 0.000718 - 0.000718)
archetype_transform_std: 0.096280 (range: 0.096280 - 0.096280)
archetype_transform_norm: 6.875293 (range: 6.875293 - 6.875293)
archetype_transform_grad_norm: 0.268094 (range: 0.268094 - 0.268094)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0703, max=0.5769, mean=0.3333
Batch reconstruction MSE: 1.1013
Archetype stats: min=-9.4123, max=12.9358
Archetype change since last debug: 0.787244
Archetype gradients: norm=0.109809, mean=0.005946
Epoch 1/1
Average loss: 0.8175
Archetypal loss: 0.9040
KLD loss: 0.0387
Reconstruction loss: 0.9040
Archetype R²: 0.0509
Archetype transform grad norm: 0.262690
Archetype transform param norm: 6.8569
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.8175 (range: 0.8175 - 0.8175)
archetypal_loss: 0.9040 (range: 0.9040 - 0.9040)
kld_loss: 0.0387 (range: 0.0387 - 0.0387)
reconstruction_loss: 0.9040 (range: 0.9040 - 0.9040)
archetype_r2: 0.0509 (range: 0.0509 - 0.0509)
Archetype Transform Summary:
archetype_transform_mean: 0.000796 (range: 0.000796 - 0.000796)
archetype_transform_std: 0.096021 (range: 0.096021 - 0.096021)
archetype_transform_norm: 6.856852 (range: 6.856852 - 6.856852)
archetype_transform_grad_norm: 0.262690 (range: 0.262690 - 0.262690)
Fold 2/3
Model input_dim: 50 (auto-detected from data)
Archetypes parameter registered: True
Archetypes requires_grad: True
Deep_AA (Deep Archetypal Analysis) initialized:
- Single-stage architecture (like Deep_2)
- Inflation factor: 1.5
- Direct archetypal coordinates (no bottleneck)
Consolidated Archetype Initialization
PCHA: True, Inflation: True (factor: 1.5)
Test inflation: False
Running PCHA initialization...
Input shape: (128, 50)
Target archetypes: 3
Running PCHA with 3 archetypes...
Data shape for PCHA: (50, 128)
PCHA Results:
Archetypes shape: (3, 50)
Archetype R²: 0.1173
SSE: 4410.1349
PCHA archetype R²: 0.1173
Archetype shape: (3, 50)
[OK] Initialized 3 archetypes using PCHA
Scalar Archetypal Inflation (factor: 1.50)
[OK] Inflation complete
[STATS] Positioning verification:
Data radius (max): 12.612
Data radius (mean): 5.803
Archetype distances: 3.082 to 11.914
Archetypes outside data: 0/3
Min archetype separation: 9.876
[OK] Archetype initialization complete (success: True)
[OK] Archetype initialization complete (PCHA: True, Inflation: 1.5)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0028, max=0.9472, mean=0.3333
Batch reconstruction MSE: 0.9423
Archetype stats: min=-1.2682, max=1.0585
Archetype gradients: norm=0.018612, mean=0.001118
Epoch 1/1
Average loss: 0.8590
Archetypal loss: 0.9519
KLD loss: 0.0222
Reconstruction loss: 0.9519
Archetype R²: -0.0132
Archetype transform grad norm: 0.143930
Archetype transform param norm: 5.8836
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.8590 (range: 0.8590 - 0.8590)
archetypal_loss: 0.9519 (range: 0.9519 - 0.9519)
kld_loss: 0.0222 (range: 0.0222 - 0.0222)
reconstruction_loss: 0.9519 (range: 0.9519 - 0.9519)
archetype_r2: -0.0132 (range: -0.0132 - -0.0132)
Archetype Transform Summary:
archetype_transform_mean: 0.000798 (range: 0.000798 - 0.000798)
archetype_transform_std: 0.082390 (range: 0.082390 - 0.082390)
archetype_transform_norm: 5.883601 (range: 5.883601 - 5.883601)
archetype_transform_grad_norm: 0.143930 (range: 0.143930 - 0.143930)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0043, max=0.9591, mean=0.3333
Batch reconstruction MSE: 0.8580
Archetype stats: min=-0.5519, max=0.4796
Archetype change since last debug: 3.772701
Archetype gradients: norm=0.003495, mean=0.000225
Epoch 1/1
Average loss: 0.8491
Archetypal loss: 0.9399
KLD loss: 0.0323
Reconstruction loss: 0.9399
Archetype R²: -0.0002
Archetype transform grad norm: 0.107960
Archetype transform param norm: 5.9083
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.8491 (range: 0.8491 - 0.8491)
archetypal_loss: 0.9399 (range: 0.9399 - 0.9399)
kld_loss: 0.0323 (range: 0.0323 - 0.0323)
reconstruction_loss: 0.9399 (range: 0.9399 - 0.9399)
archetype_r2: -0.0002 (range: -0.0002 - -0.0002)
Archetype Transform Summary:
archetype_transform_mean: 0.001125 (range: 0.001125 - 0.001125)
archetype_transform_std: 0.082733 (range: 0.082733 - 0.082733)
archetype_transform_norm: 5.908252 (range: 5.908252 - 5.908252)
archetype_transform_grad_norm: 0.107960 (range: 0.107960 - 0.107960)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0049, max=0.9704, mean=0.3333
Batch reconstruction MSE: 0.8658
Archetype stats: min=-0.9798, max=0.8587
Archetype change since last debug: 2.029221
Archetype gradients: norm=0.004893, mean=0.000318
Epoch 1/1
Average loss: 0.8416
Archetypal loss: 0.9278
KLD loss: 0.0656
Reconstruction loss: 0.9278
Archetype R²: 0.0128
Archetype transform grad norm: 0.130277
Archetype transform param norm: 6.0251
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.8416 (range: 0.8416 - 0.8416)
archetypal_loss: 0.9278 (range: 0.9278 - 0.9278)
kld_loss: 0.0656 (range: 0.0656 - 0.0656)
reconstruction_loss: 0.9278 (range: 0.9278 - 0.9278)
archetype_r2: 0.0128 (range: 0.0128 - 0.0128)
Archetype Transform Summary:
archetype_transform_mean: 0.001134 (range: 0.001134 - 0.001134)
archetype_transform_std: 0.084369 (range: 0.084369 - 0.084369)
archetype_transform_norm: 6.025081 (range: 6.025081 - 6.025081)
archetype_transform_grad_norm: 0.130277 (range: 0.130277 - 0.130277)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0064, max=0.9529, mean=0.3333
Batch reconstruction MSE: 0.9121
Archetype stats: min=-1.7898, max=1.7972
Archetype change since last debug: 4.112786
Archetype gradients: norm=0.015236, mean=0.001037
Epoch 1/1
Average loss: 0.8322
Archetypal loss: 0.9159
KLD loss: 0.0788
Reconstruction loss: 0.9159
Archetype R²: 0.0253
Archetype transform grad norm: 0.153296
Archetype transform param norm: 6.2284
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.8322 (range: 0.8322 - 0.8322)
archetypal_loss: 0.9159 (range: 0.9159 - 0.9159)
kld_loss: 0.0788 (range: 0.0788 - 0.0788)
reconstruction_loss: 0.9159 (range: 0.9159 - 0.9159)
archetype_r2: 0.0253 (range: 0.0253 - 0.0253)
Archetype Transform Summary:
archetype_transform_mean: 0.001192 (range: 0.001192 - 0.001192)
archetype_transform_std: 0.087215 (range: 0.087215 - 0.087215)
archetype_transform_norm: 6.228363 (range: 6.228363 - 6.228363)
archetype_transform_grad_norm: 0.153296 (range: 0.153296 - 0.153296)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0098, max=0.9438, mean=0.3333
Batch reconstruction MSE: 0.9633
Archetype stats: min=-2.5001, max=2.6391
Archetype change since last debug: 4.505923
Archetype gradients: norm=0.038167, mean=0.002253
Epoch 1/1
Average loss: 0.8263
Archetypal loss: 0.9098
KLD loss: 0.0743
Reconstruction loss: 0.9098
Archetype R²: 0.0318
Archetype transform grad norm: 0.169285
Archetype transform param norm: 6.3940
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.8263 (range: 0.8263 - 0.8263)
archetypal_loss: 0.9098 (range: 0.9098 - 0.9098)
kld_loss: 0.0743 (range: 0.0743 - 0.0743)
reconstruction_loss: 0.9098 (range: 0.9098 - 0.9098)
archetype_r2: 0.0318 (range: 0.0318 - 0.0318)
Archetype Transform Summary:
archetype_transform_mean: 0.001213 (range: 0.001213 - 0.001213)
archetype_transform_std: 0.089534 (range: 0.089534 - 0.089534)
archetype_transform_norm: 6.393961 (range: 6.393961 - 6.393961)
archetype_transform_grad_norm: 0.169285 (range: 0.169285 - 0.169285)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0150, max=0.8941, mean=0.3333
Batch reconstruction MSE: 0.9546
Archetype stats: min=-2.9325, max=3.2695
Archetype change since last debug: 3.140527
Archetype gradients: norm=0.021689, mean=0.001435
Epoch 1/1
Average loss: 0.8221
Archetypal loss: 0.9055
KLD loss: 0.0715
Reconstruction loss: 0.9055
Archetype R²: 0.0365
Archetype transform grad norm: 0.181523
Archetype transform param norm: 6.5105
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.8221 (range: 0.8221 - 0.8221)
archetypal_loss: 0.9055 (range: 0.9055 - 0.9055)
kld_loss: 0.0715 (range: 0.0715 - 0.0715)
reconstruction_loss: 0.9055 (range: 0.9055 - 0.9055)
archetype_r2: 0.0365 (range: 0.0365 - 0.0365)
Archetype Transform Summary:
archetype_transform_mean: 0.001217 (range: 0.001217 - 0.001217)
archetype_transform_std: 0.091167 (range: 0.091167 - 0.091167)
archetype_transform_norm: 6.510534 (range: 6.510534 - 6.510534)
archetype_transform_grad_norm: 0.181523 (range: 0.181523 - 0.181523)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0200, max=0.9248, mean=0.3333
Batch reconstruction MSE: 1.0000
Archetype stats: min=-3.4774, max=4.5222
Archetype change since last debug: 2.648125
Archetype gradients: norm=0.112562, mean=0.005276
Epoch 1/1
Average loss: 0.8208
Archetypal loss: 0.9036
KLD loss: 0.0757
Reconstruction loss: 0.9036
Archetype R²: 0.0384
Archetype transform grad norm: 0.195792
Archetype transform param norm: 6.5649
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.8208 (range: 0.8208 - 0.8208)
archetypal_loss: 0.9036 (range: 0.9036 - 0.9036)
kld_loss: 0.0757 (range: 0.0757 - 0.0757)
reconstruction_loss: 0.9036 (range: 0.9036 - 0.9036)
archetype_r2: 0.0384 (range: 0.0384 - 0.0384)
Archetype Transform Summary:
archetype_transform_mean: 0.001136 (range: 0.001136 - 0.001136)
archetype_transform_std: 0.091928 (range: 0.091928 - 0.091928)
archetype_transform_norm: 6.564866 (range: 6.564866 - 6.564866)
archetype_transform_grad_norm: 0.195792 (range: 0.195792 - 0.195792)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0227, max=0.8285, mean=0.3333
Batch reconstruction MSE: 1.0341
Archetype stats: min=-3.7708, max=5.4993
Archetype change since last debug: 2.024360
Archetype gradients: norm=0.051220, mean=0.003740
Epoch 1/1
Average loss: 0.8201
Archetypal loss: 0.9026
KLD loss: 0.0780
Reconstruction loss: 0.9026
Archetype R²: 0.0394
Archetype transform grad norm: 0.206991
Archetype transform param norm: 6.6013
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.8201 (range: 0.8201 - 0.8201)
archetypal_loss: 0.9026 (range: 0.9026 - 0.9026)
kld_loss: 0.0780 (range: 0.0780 - 0.0780)
reconstruction_loss: 0.9026 (range: 0.9026 - 0.9026)
archetype_r2: 0.0394 (range: 0.0394 - 0.0394)
Archetype Transform Summary:
archetype_transform_mean: 0.001194 (range: 0.001194 - 0.001194)
archetype_transform_std: 0.092438 (range: 0.092438 - 0.092438)
archetype_transform_norm: 6.601332 (range: 6.601332 - 6.601332)
archetype_transform_grad_norm: 0.206991 (range: 0.206991 - 0.206991)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0157, max=0.8536, mean=0.3333
Batch reconstruction MSE: 0.9665
Archetype stats: min=-3.9583, max=6.0865
Archetype change since last debug: 1.652941
Archetype gradients: norm=0.058199, mean=0.002801
Epoch 1/1
Average loss: 0.8162
Archetypal loss: 0.8988
KLD loss: 0.0725
Reconstruction loss: 0.8988
Archetype R²: 0.0436
Archetype transform grad norm: 0.191915
Archetype transform param norm: 6.6405
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.8162 (range: 0.8162 - 0.8162)
archetypal_loss: 0.8988 (range: 0.8988 - 0.8988)
kld_loss: 0.0725 (range: 0.0725 - 0.0725)
reconstruction_loss: 0.8988 (range: 0.8988 - 0.8988)
archetype_r2: 0.0436 (range: 0.0436 - 0.0436)
Archetype Transform Summary:
archetype_transform_mean: 0.001142 (range: 0.001142 - 0.001142)
archetype_transform_std: 0.092987 (range: 0.092987 - 0.092987)
archetype_transform_norm: 6.640457 (range: 6.640457 - 6.640457)
archetype_transform_grad_norm: 0.191915 (range: 0.191915 - 0.191915)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0440, max=0.8119, mean=0.3333
Batch reconstruction MSE: 0.9360
Archetype stats: min=-4.4103, max=6.7960
Archetype change since last debug: 1.634604
Archetype gradients: norm=0.023644, mean=0.001570
Epoch 1/1
Average loss: 0.8142
Archetypal loss: 0.8970
KLD loss: 0.0693
Reconstruction loss: 0.8970
Archetype R²: 0.0456
Archetype transform grad norm: 0.193815
Archetype transform param norm: 6.6970
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.8142 (range: 0.8142 - 0.8142)
archetypal_loss: 0.8970 (range: 0.8970 - 0.8970)
kld_loss: 0.0693 (range: 0.0693 - 0.0693)
reconstruction_loss: 0.8970 (range: 0.8970 - 0.8970)
archetype_r2: 0.0456 (range: 0.0456 - 0.0456)
Archetype Transform Summary:
archetype_transform_mean: 0.001172 (range: 0.001172 - 0.001172)
archetype_transform_std: 0.093778 (range: 0.093778 - 0.093778)
archetype_transform_norm: 6.696951 (range: 6.696951 - 6.696951)
archetype_transform_grad_norm: 0.193815 (range: 0.193815 - 0.193815)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0342, max=0.7371, mean=0.3333
Batch reconstruction MSE: 0.9387
Archetype stats: min=-4.8950, max=7.3875
Archetype change since last debug: 1.499420
Archetype gradients: norm=0.038958, mean=0.002144
Epoch 1/1
Average loss: 0.8129
Archetypal loss: 0.8959
KLD loss: 0.0656
Reconstruction loss: 0.8959
Archetype R²: 0.0468
Archetype transform grad norm: 0.196516
Archetype transform param norm: 6.7451
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.8129 (range: 0.8129 - 0.8129)
archetypal_loss: 0.8959 (range: 0.8959 - 0.8959)
kld_loss: 0.0656 (range: 0.0656 - 0.0656)
reconstruction_loss: 0.8959 (range: 0.8959 - 0.8959)
archetype_r2: 0.0468 (range: 0.0468 - 0.0468)
Archetype Transform Summary:
archetype_transform_mean: 0.001171 (range: 0.001171 - 0.001171)
archetype_transform_std: 0.094453 (range: 0.094453 - 0.094453)
archetype_transform_norm: 6.745127 (range: 6.745127 - 6.745127)
archetype_transform_grad_norm: 0.196516 (range: 0.196516 - 0.196516)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0738, max=0.6675, mean=0.3333
Batch reconstruction MSE: 0.8944
Archetype stats: min=-5.2540, max=7.9536
Archetype change since last debug: 1.356098
Archetype gradients: norm=0.027388, mean=0.001352
Epoch 1/1
Average loss: 0.8116
Archetypal loss: 0.8945
KLD loss: 0.0657
Reconstruction loss: 0.8945
Archetype R²: 0.0484
Archetype transform grad norm: 0.203192
Archetype transform param norm: 6.7978
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.8116 (range: 0.8116 - 0.8116)
archetypal_loss: 0.8945 (range: 0.8945 - 0.8945)
kld_loss: 0.0657 (range: 0.0657 - 0.0657)
reconstruction_loss: 0.8945 (range: 0.8945 - 0.8945)
archetype_r2: 0.0484 (range: 0.0484 - 0.0484)
Archetype Transform Summary:
archetype_transform_mean: 0.001202 (range: 0.001202 - 0.001202)
archetype_transform_std: 0.095189 (range: 0.095189 - 0.095189)
archetype_transform_norm: 6.797755 (range: 6.797755 - 6.797755)
archetype_transform_grad_norm: 0.203192 (range: 0.203192 - 0.203192)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0495, max=0.7197, mean=0.3333
Batch reconstruction MSE: 0.9930
Archetype stats: min=-5.6699, max=8.3894
Archetype change since last debug: 1.304672
Archetype gradients: norm=0.062574, mean=0.004468
Epoch 1/1
Average loss: 0.8136
Archetypal loss: 0.8969
KLD loss: 0.0647
Reconstruction loss: 0.8969
Archetype R²: 0.0457
Archetype transform grad norm: 0.226581
Archetype transform param norm: 6.8141
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.8136 (range: 0.8136 - 0.8136)
archetypal_loss: 0.8969 (range: 0.8969 - 0.8969)
kld_loss: 0.0647 (range: 0.0647 - 0.0647)
reconstruction_loss: 0.8969 (range: 0.8969 - 0.8969)
archetype_r2: 0.0457 (range: 0.0457 - 0.0457)
Archetype Transform Summary:
archetype_transform_mean: 0.001192 (range: 0.001192 - 0.001192)
archetype_transform_std: 0.095419 (range: 0.095419 - 0.095419)
archetype_transform_norm: 6.814132 (range: 6.814132 - 6.814132)
archetype_transform_grad_norm: 0.226581 (range: 0.226581 - 0.226581)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0883, max=0.7314, mean=0.3333
Batch reconstruction MSE: 1.0242
Archetype stats: min=-5.7743, max=8.6069
Archetype change since last debug: 0.831039
Archetype gradients: norm=0.085556, mean=0.004629
Epoch 1/1
Average loss: 0.8145
Archetypal loss: 0.8972
KLD loss: 0.0705
Reconstruction loss: 0.8972
Archetype R²: 0.0453
Archetype transform grad norm: 0.230059
Archetype transform param norm: 6.8172
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.8145 (range: 0.8145 - 0.8145)
archetypal_loss: 0.8972 (range: 0.8972 - 0.8972)
kld_loss: 0.0705 (range: 0.0705 - 0.0705)
reconstruction_loss: 0.8972 (range: 0.8972 - 0.8972)
archetype_r2: 0.0453 (range: 0.0453 - 0.0453)
Archetype Transform Summary:
archetype_transform_mean: 0.001222 (range: 0.001222 - 0.001222)
archetype_transform_std: 0.095462 (range: 0.095462 - 0.095462)
archetype_transform_norm: 6.817223 (range: 6.817223 - 6.817223)
archetype_transform_grad_norm: 0.230059 (range: 0.230059 - 0.230059)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0594, max=0.6924, mean=0.3333
Batch reconstruction MSE: 1.0261
Archetype stats: min=-5.9390, max=8.2790
Archetype change since last debug: 0.986019
Archetype gradients: norm=0.075456, mean=0.005311
Epoch 1/1
Average loss: 0.8137
Archetypal loss: 0.8966
KLD loss: 0.0675
Reconstruction loss: 0.8966
Archetype R²: 0.0458
Archetype transform grad norm: 0.225125
Archetype transform param norm: 6.8144
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.8137 (range: 0.8137 - 0.8137)
archetypal_loss: 0.8966 (range: 0.8966 - 0.8966)
kld_loss: 0.0675 (range: 0.0675 - 0.0675)
reconstruction_loss: 0.8966 (range: 0.8966 - 0.8966)
archetype_r2: 0.0458 (range: 0.0458 - 0.0458)
Archetype Transform Summary:
archetype_transform_mean: 0.001221 (range: 0.001221 - 0.001221)
archetype_transform_std: 0.095422 (range: 0.095422 - 0.095422)
archetype_transform_norm: 6.814375 (range: 6.814375 - 6.814375)
archetype_transform_grad_norm: 0.225125 (range: 0.225125 - 0.225125)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.1074, max=0.6687, mean=0.3333
Batch reconstruction MSE: 0.9145
Archetype stats: min=-5.9245, max=8.4443
Archetype change since last debug: 0.642281
Archetype gradients: norm=0.046242, mean=0.002985
Epoch 1/1
Average loss: 0.8104
Archetypal loss: 0.8933
KLD loss: 0.0644
Reconstruction loss: 0.8933
Archetype R²: 0.0496
Archetype transform grad norm: 0.200882
Archetype transform param norm: 6.8396
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.8104 (range: 0.8104 - 0.8104)
archetypal_loss: 0.8933 (range: 0.8933 - 0.8933)
kld_loss: 0.0644 (range: 0.0644 - 0.0644)
reconstruction_loss: 0.8933 (range: 0.8933 - 0.8933)
archetype_r2: 0.0496 (range: 0.0496 - 0.0496)
Archetype Transform Summary:
archetype_transform_mean: 0.001225 (range: 0.001225 - 0.001225)
archetype_transform_std: 0.095775 (range: 0.095775 - 0.095775)
archetype_transform_norm: 6.839591 (range: 6.839591 - 6.839591)
archetype_transform_grad_norm: 0.200882 (range: 0.200882 - 0.200882)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.1094, max=0.6933, mean=0.3333
Batch reconstruction MSE: 0.9259
Archetype stats: min=-6.1585, max=8.7054
Archetype change since last debug: 0.937777
Archetype gradients: norm=0.045125, mean=0.002832
Epoch 1/1
Average loss: 0.8107
Archetypal loss: 0.8937
KLD loss: 0.0637
Reconstruction loss: 0.8937
Archetype R²: 0.0492
Archetype transform grad norm: 0.216820
Archetype transform param norm: 6.8760
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.8107 (range: 0.8107 - 0.8107)
archetypal_loss: 0.8937 (range: 0.8937 - 0.8937)
kld_loss: 0.0637 (range: 0.0637 - 0.0637)
reconstruction_loss: 0.8937 (range: 0.8937 - 0.8937)
archetype_r2: 0.0492 (range: 0.0492 - 0.0492)
Archetype Transform Summary:
archetype_transform_mean: 0.001259 (range: 0.001259 - 0.001259)
archetype_transform_std: 0.096285 (range: 0.096285 - 0.096285)
archetype_transform_norm: 6.876048 (range: 6.876048 - 6.876048)
archetype_transform_grad_norm: 0.216820 (range: 0.216820 - 0.216820)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0563, max=0.8600, mean=0.3333
Batch reconstruction MSE: 0.9798
Archetype stats: min=-6.4461, max=9.0560
Archetype change since last debug: 0.780808
Archetype gradients: norm=0.125790, mean=0.006563
Epoch 1/1
Average loss: 0.8118
Archetypal loss: 0.8950
KLD loss: 0.0632
Reconstruction loss: 0.8950
Archetype R²: 0.0477
Archetype transform grad norm: 0.220887
Archetype transform param norm: 6.8644
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.8118 (range: 0.8118 - 0.8118)
archetypal_loss: 0.8950 (range: 0.8950 - 0.8950)
kld_loss: 0.0632 (range: 0.0632 - 0.0632)
reconstruction_loss: 0.8950 (range: 0.8950 - 0.8950)
archetype_r2: 0.0477 (range: 0.0477 - 0.0477)
Archetype Transform Summary:
archetype_transform_mean: 0.001231 (range: 0.001231 - 0.001231)
archetype_transform_std: 0.096123 (range: 0.096123 - 0.096123)
archetype_transform_norm: 6.864416 (range: 6.864416 - 6.864416)
archetype_transform_grad_norm: 0.220887 (range: 0.220887 - 0.220887)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.1035, max=0.6259, mean=0.3333
Batch reconstruction MSE: 0.9782
Archetype stats: min=-6.3776, max=9.2491
Archetype change since last debug: 0.716813
Archetype gradients: norm=0.057684, mean=0.004054
Epoch 1/1
Average loss: 0.8114
Archetypal loss: 0.8947
KLD loss: 0.0619
Reconstruction loss: 0.8947
Archetype R²: 0.0481
Archetype transform grad norm: 0.220624
Archetype transform param norm: 6.8802
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.8114 (range: 0.8114 - 0.8114)
archetypal_loss: 0.8947 (range: 0.8947 - 0.8947)
kld_loss: 0.0619 (range: 0.0619 - 0.0619)
reconstruction_loss: 0.8947 (range: 0.8947 - 0.8947)
archetype_r2: 0.0481 (range: 0.0481 - 0.0481)
Archetype Transform Summary:
archetype_transform_mean: 0.001333 (range: 0.001333 - 0.001333)
archetype_transform_std: 0.096343 (range: 0.096343 - 0.096343)
archetype_transform_norm: 6.880242 (range: 6.880242 - 6.880242)
archetype_transform_grad_norm: 0.220624 (range: 0.220624 - 0.220624)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0635, max=0.7663, mean=0.3333
Batch reconstruction MSE: 0.9210
Archetype stats: min=-6.5526, max=9.3586
Archetype change since last debug: 0.557542
Archetype gradients: norm=0.074969, mean=0.004013
Epoch 1/1
Average loss: 0.8097
Archetypal loss: 0.8930
KLD loss: 0.0603
Reconstruction loss: 0.8930
Archetype R²: 0.0500
Archetype transform grad norm: 0.208924
Archetype transform param norm: 6.8870
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.8097 (range: 0.8097 - 0.8097)
archetypal_loss: 0.8930 (range: 0.8930 - 0.8930)
kld_loss: 0.0603 (range: 0.0603 - 0.0603)
reconstruction_loss: 0.8930 (range: 0.8930 - 0.8930)
archetype_r2: 0.0500 (range: 0.0500 - 0.0500)
Archetype Transform Summary:
archetype_transform_mean: 0.001300 (range: 0.001300 - 0.001300)
archetype_transform_std: 0.096438 (range: 0.096438 - 0.096438)
archetype_transform_norm: 6.886985 (range: 6.886985 - 6.886985)
archetype_transform_grad_norm: 0.208924 (range: 0.208924 - 0.208924)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.1154, max=0.5766, mean=0.3333
Batch reconstruction MSE: 0.9047
Archetype stats: min=-6.5996, max=9.6215
Archetype change since last debug: 0.711022
Archetype gradients: norm=0.038363, mean=0.002433
Epoch 1/1
Average loss: 0.8091
Archetypal loss: 0.8926
KLD loss: 0.0581
Reconstruction loss: 0.8926
Archetype R²: 0.0505
Archetype transform grad norm: 0.218250
Archetype transform param norm: 6.9205
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.8091 (range: 0.8091 - 0.8091)
archetypal_loss: 0.8926 (range: 0.8926 - 0.8926)
kld_loss: 0.0581 (range: 0.0581 - 0.0581)
reconstruction_loss: 0.8926 (range: 0.8926 - 0.8926)
archetype_r2: 0.0505 (range: 0.0505 - 0.0505)
Archetype Transform Summary:
archetype_transform_mean: 0.001325 (range: 0.001325 - 0.001325)
archetype_transform_std: 0.096906 (range: 0.096906 - 0.096906)
archetype_transform_norm: 6.920461 (range: 6.920461 - 6.920461)
archetype_transform_grad_norm: 0.218250 (range: 0.218250 - 0.218250)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.1323, max=0.6360, mean=0.3333
Batch reconstruction MSE: 0.8950
Archetype stats: min=-6.8871, max=9.9410
Archetype change since last debug: 0.758200
Archetype gradients: norm=0.060991, mean=0.003708
Epoch 1/1
Average loss: 0.8087
Archetypal loss: 0.8922
KLD loss: 0.0577
Reconstruction loss: 0.8922
Archetype R²: 0.0509
Archetype transform grad norm: 0.214029
Archetype transform param norm: 6.9379
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.8087 (range: 0.8087 - 0.8087)
archetypal_loss: 0.8922 (range: 0.8922 - 0.8922)
kld_loss: 0.0577 (range: 0.0577 - 0.0577)
reconstruction_loss: 0.8922 (range: 0.8922 - 0.8922)
archetype_r2: 0.0509 (range: 0.0509 - 0.0509)
Archetype Transform Summary:
archetype_transform_mean: 0.001296 (range: 0.001296 - 0.001296)
archetype_transform_std: 0.097150 (range: 0.097150 - 0.097150)
archetype_transform_norm: 6.937864 (range: 6.937864 - 6.937864)
archetype_transform_grad_norm: 0.214029 (range: 0.214029 - 0.214029)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.1218, max=0.5893, mean=0.3333
Batch reconstruction MSE: 0.9146
Archetype stats: min=-7.0409, max=10.1878
Archetype change since last debug: 0.664320
Archetype gradients: norm=0.036256, mean=0.002363
Epoch 1/1
Average loss: 0.8088
Archetypal loss: 0.8926
KLD loss: 0.0545
Reconstruction loss: 0.8926
Archetype R²: 0.0504
Archetype transform grad norm: 0.221470
Archetype transform param norm: 6.9658
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.8088 (range: 0.8088 - 0.8088)
archetypal_loss: 0.8926 (range: 0.8926 - 0.8926)
kld_loss: 0.0545 (range: 0.0545 - 0.0545)
reconstruction_loss: 0.8926 (range: 0.8926 - 0.8926)
archetype_r2: 0.0504 (range: 0.0504 - 0.0504)
Archetype Transform Summary:
archetype_transform_mean: 0.001322 (range: 0.001322 - 0.001322)
archetype_transform_std: 0.097542 (range: 0.097542 - 0.097542)
archetype_transform_norm: 6.965832 (range: 6.965832 - 6.965832)
archetype_transform_grad_norm: 0.221470 (range: 0.221470 - 0.221470)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.1115, max=0.6476, mean=0.3333
Batch reconstruction MSE: 0.9237
Archetype stats: min=-7.2489, max=10.4283
Archetype change since last debug: 0.581006
Archetype gradients: norm=0.068005, mean=0.004409
Epoch 1/1
Average loss: 0.8092
Archetypal loss: 0.8928
KLD loss: 0.0564
Reconstruction loss: 0.8928
Archetype R²: 0.0501
Archetype transform grad norm: 0.218954
Archetype transform param norm: 6.9689
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.8092 (range: 0.8092 - 0.8092)
archetypal_loss: 0.8928 (range: 0.8928 - 0.8928)
kld_loss: 0.0564 (range: 0.0564 - 0.0564)
reconstruction_loss: 0.8928 (range: 0.8928 - 0.8928)
archetype_r2: 0.0501 (range: 0.0501 - 0.0501)
Archetype Transform Summary:
archetype_transform_mean: 0.001301 (range: 0.001301 - 0.001301)
archetype_transform_std: 0.097586 (range: 0.097586 - 0.097586)
archetype_transform_norm: 6.968944 (range: 6.968944 - 6.968944)
archetype_transform_grad_norm: 0.218954 (range: 0.218954 - 0.218954)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0753, max=0.6312, mean=0.3333
Batch reconstruction MSE: 1.0062
Archetype stats: min=-7.3046, max=10.4579
Archetype change since last debug: 0.394357
Archetype gradients: norm=0.039370, mean=0.002599
Epoch 1/1
Average loss: 0.8103
Archetypal loss: 0.8944
KLD loss: 0.0535
Reconstruction loss: 0.8944
Archetype R²: 0.0482
Archetype transform grad norm: 0.223519
Archetype transform param norm: 6.9684
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.8103 (range: 0.8103 - 0.8103)
archetypal_loss: 0.8944 (range: 0.8944 - 0.8944)
kld_loss: 0.0535 (range: 0.0535 - 0.0535)
reconstruction_loss: 0.8944 (range: 0.8944 - 0.8944)
archetype_r2: 0.0482 (range: 0.0482 - 0.0482)
Archetype Transform Summary:
archetype_transform_mean: 0.001319 (range: 0.001319 - 0.001319)
archetype_transform_std: 0.097578 (range: 0.097578 - 0.097578)
archetype_transform_norm: 6.968433 (range: 6.968433 - 6.968433)
archetype_transform_grad_norm: 0.223519 (range: 0.223519 - 0.223519)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0964, max=0.6229, mean=0.3333
Batch reconstruction MSE: 0.9047
Archetype stats: min=-7.2273, max=10.4412
Archetype change since last debug: 0.444899
Archetype gradients: norm=0.047305, mean=0.003280
Epoch 1/1
Average loss: 0.8084
Archetypal loss: 0.8920
KLD loss: 0.0562
Reconstruction loss: 0.8920
Archetype R²: 0.0511
Archetype transform grad norm: 0.213636
Archetype transform param norm: 6.9778
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.8084 (range: 0.8084 - 0.8084)
archetypal_loss: 0.8920 (range: 0.8920 - 0.8920)
kld_loss: 0.0562 (range: 0.0562 - 0.0562)
reconstruction_loss: 0.8920 (range: 0.8920 - 0.8920)
archetype_r2: 0.0511 (range: 0.0511 - 0.0511)
Archetype Transform Summary:
archetype_transform_mean: 0.001298 (range: 0.001298 - 0.001298)
archetype_transform_std: 0.097710 (range: 0.097710 - 0.097710)
archetype_transform_norm: 6.977798 (range: 6.977798 - 6.977798)
archetype_transform_grad_norm: 0.213636 (range: 0.213636 - 0.213636)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.1290, max=0.6402, mean=0.3333
Batch reconstruction MSE: 0.9219
Archetype stats: min=-7.3747, max=10.5717
Archetype change since last debug: 0.584065
Archetype gradients: norm=0.031564, mean=0.001922
Epoch 1/1
Average loss: 0.8085
Archetypal loss: 0.8925
KLD loss: 0.0527
Reconstruction loss: 0.8925
Archetype R²: 0.0505
Archetype transform grad norm: 0.220879
Archetype transform param norm: 6.9992
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.8085 (range: 0.8085 - 0.8085)
archetypal_loss: 0.8925 (range: 0.8925 - 0.8925)
kld_loss: 0.0527 (range: 0.0527 - 0.0527)
reconstruction_loss: 0.8925 (range: 0.8925 - 0.8925)
archetype_r2: 0.0505 (range: 0.0505 - 0.0505)
Archetype Transform Summary:
archetype_transform_mean: 0.001319 (range: 0.001319 - 0.001319)
archetype_transform_std: 0.098009 (range: 0.098009 - 0.098009)
archetype_transform_norm: 6.999165 (range: 6.999165 - 6.999165)
archetype_transform_grad_norm: 0.220879 (range: 0.220879 - 0.220879)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0921, max=0.6308, mean=0.3333
Batch reconstruction MSE: 0.9151
Archetype stats: min=-7.5379, max=10.8071
Archetype change since last debug: 0.515968
Archetype gradients: norm=0.043415, mean=0.002769
Epoch 1/1
Average loss: 0.8084
Archetypal loss: 0.8921
KLD loss: 0.0544
Reconstruction loss: 0.8921
Archetype R²: 0.0509
Archetype transform grad norm: 0.218946
Archetype transform param norm: 7.0092
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.8084 (range: 0.8084 - 0.8084)
archetypal_loss: 0.8921 (range: 0.8921 - 0.8921)
kld_loss: 0.0544 (range: 0.0544 - 0.0544)
reconstruction_loss: 0.8921 (range: 0.8921 - 0.8921)
archetype_r2: 0.0509 (range: 0.0509 - 0.0509)
Archetype Transform Summary:
archetype_transform_mean: 0.001315 (range: 0.001315 - 0.001315)
archetype_transform_std: 0.098150 (range: 0.098150 - 0.098150)
archetype_transform_norm: 7.009237 (range: 7.009237 - 7.009237)
archetype_transform_grad_norm: 0.218946 (range: 0.218946 - 0.218946)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0908, max=0.5963, mean=0.3333
Batch reconstruction MSE: 0.9547
Archetype stats: min=-7.6714, max=10.8411
Archetype change since last debug: 0.464743
Archetype gradients: norm=0.057147, mean=0.004200
Epoch 1/1
Average loss: 0.8092
Archetypal loss: 0.8933
KLD loss: 0.0522
Reconstruction loss: 0.8933
Archetype R²: 0.0496
Archetype transform grad norm: 0.233136
Archetype transform param norm: 7.0137
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.8092 (range: 0.8092 - 0.8092)
archetypal_loss: 0.8933 (range: 0.8933 - 0.8933)
kld_loss: 0.0522 (range: 0.0522 - 0.0522)
reconstruction_loss: 0.8933 (range: 0.8933 - 0.8933)
archetype_r2: 0.0496 (range: 0.0496 - 0.0496)
Archetype Transform Summary:
archetype_transform_mean: 0.001319 (range: 0.001319 - 0.001319)
archetype_transform_std: 0.098212 (range: 0.098212 - 0.098212)
archetype_transform_norm: 7.013673 (range: 7.013673 - 7.013673)
archetype_transform_grad_norm: 0.233136 (range: 0.233136 - 0.233136)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.1007, max=0.6789, mean=0.3333
Batch reconstruction MSE: 0.9457
Archetype stats: min=-7.6478, max=10.9297
Archetype change since last debug: 0.404423
Archetype gradients: norm=0.071447, mean=0.004364
Epoch 1/1
Average loss: 0.8093
Archetypal loss: 0.8931
KLD loss: 0.0550
Reconstruction loss: 0.8931
Archetype R²: 0.0498
Archetype transform grad norm: 0.230196
Archetype transform param norm: 7.0179
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.8093 (range: 0.8093 - 0.8093)
archetypal_loss: 0.8931 (range: 0.8931 - 0.8931)
kld_loss: 0.0550 (range: 0.0550 - 0.0550)
reconstruction_loss: 0.8931 (range: 0.8931 - 0.8931)
archetype_r2: 0.0498 (range: 0.0498 - 0.0498)
Archetype Transform Summary:
archetype_transform_mean: 0.001349 (range: 0.001349 - 0.001349)
archetype_transform_std: 0.098271 (range: 0.098271 - 0.098271)
archetype_transform_norm: 7.017930 (range: 7.017930 - 7.017930)
archetype_transform_grad_norm: 0.230196 (range: 0.230196 - 0.230196)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0401, max=0.6455, mean=0.3333
Batch reconstruction MSE: 1.0287
Archetype stats: min=-7.7345, max=10.6368
Archetype change since last debug: 0.638823
Archetype gradients: norm=0.123130, mean=0.007700
Epoch 1/1
Average loss: 0.8108
Archetypal loss: 0.8949
KLD loss: 0.0534
Reconstruction loss: 0.8949
Archetype R²: 0.0476
Archetype transform grad norm: 0.236313
Archetype transform param norm: 6.9900
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.8108 (range: 0.8108 - 0.8108)
archetypal_loss: 0.8949 (range: 0.8949 - 0.8949)
kld_loss: 0.0534 (range: 0.0534 - 0.0534)
reconstruction_loss: 0.8949 (range: 0.8949 - 0.8949)
archetype_r2: 0.0476 (range: 0.0476 - 0.0476)
Archetype Transform Summary:
archetype_transform_mean: 0.001329 (range: 0.001329 - 0.001329)
archetype_transform_std: 0.097880 (range: 0.097880 - 0.097880)
archetype_transform_norm: 6.990006 (range: 6.990006 - 6.990006)
archetype_transform_grad_norm: 0.236313 (range: 0.236313 - 0.236313)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.1092, max=0.6653, mean=0.3333
Batch reconstruction MSE: 0.9358
Archetype stats: min=-7.3173, max=10.5948
Archetype change since last debug: 0.810444
Archetype gradients: norm=0.072982, mean=0.004774
Epoch 1/1
Average loss: 0.8087
Archetypal loss: 0.8923
KLD loss: 0.0563
Reconstruction loss: 0.8923
Archetype R²: 0.0507
Archetype transform grad norm: 0.218480
Archetype transform param norm: 7.0036
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.8087 (range: 0.8087 - 0.8087)
archetypal_loss: 0.8923 (range: 0.8923 - 0.8923)
kld_loss: 0.0563 (range: 0.0563 - 0.0563)
reconstruction_loss: 0.8923 (range: 0.8923 - 0.8923)
archetype_r2: 0.0507 (range: 0.0507 - 0.0507)
Archetype Transform Summary:
archetype_transform_mean: 0.001393 (range: 0.001393 - 0.001393)
archetype_transform_std: 0.098070 (range: 0.098070 - 0.098070)
archetype_transform_norm: 7.003586 (range: 7.003586 - 7.003586)
archetype_transform_grad_norm: 0.218480 (range: 0.218480 - 0.218480)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0744, max=0.6776, mean=0.3333
Batch reconstruction MSE: 0.9739
Archetype stats: min=-7.5248, max=10.3841
Archetype change since last debug: 0.652327
Archetype gradients: norm=0.137401, mean=0.007478
Epoch 1/1
Average loss: 0.8094
Archetypal loss: 0.8934
KLD loss: 0.0537
Reconstruction loss: 0.8934
Archetype R²: 0.0494
Archetype transform grad norm: 0.226892
Archetype transform param norm: 6.9868
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.8094 (range: 0.8094 - 0.8094)
archetypal_loss: 0.8934 (range: 0.8934 - 0.8934)
kld_loss: 0.0537 (range: 0.0537 - 0.0537)
reconstruction_loss: 0.8934 (range: 0.8934 - 0.8934)
archetype_r2: 0.0494 (range: 0.0494 - 0.0494)
Archetype Transform Summary:
archetype_transform_mean: 0.001345 (range: 0.001345 - 0.001345)
archetype_transform_std: 0.097835 (range: 0.097835 - 0.097835)
archetype_transform_norm: 6.986811 (range: 6.986811 - 6.986811)
archetype_transform_grad_norm: 0.226892 (range: 0.226892 - 0.226892)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.1029, max=0.6801, mean=0.3333
Batch reconstruction MSE: 0.9944
Archetype stats: min=-7.2062, max=10.5405
Archetype change since last debug: 0.731766
Archetype gradients: norm=0.085296, mean=0.006014
Epoch 1/1
Average loss: 0.8098
Archetypal loss: 0.8936
KLD loss: 0.0561
Reconstruction loss: 0.8936
Archetype R²: 0.0492
Archetype transform grad norm: 0.226709
Archetype transform param norm: 6.9920
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.8098 (range: 0.8098 - 0.8098)
archetypal_loss: 0.8936 (range: 0.8936 - 0.8936)
kld_loss: 0.0561 (range: 0.0561 - 0.0561)
reconstruction_loss: 0.8936 (range: 0.8936 - 0.8936)
archetype_r2: 0.0492 (range: 0.0492 - 0.0492)
Archetype Transform Summary:
archetype_transform_mean: 0.001426 (range: 0.001426 - 0.001426)
archetype_transform_std: 0.097907 (range: 0.097907 - 0.097907)
archetype_transform_norm: 6.992032 (range: 6.992032 - 6.992032)
archetype_transform_grad_norm: 0.226709 (range: 0.226709 - 0.226709)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0745, max=0.7415, mean=0.3333
Batch reconstruction MSE: 0.9538
Archetype stats: min=-7.3267, max=10.3046
Archetype change since last debug: 0.553087
Archetype gradients: norm=0.097668, mean=0.004961
Epoch 1/1
Average loss: 0.8083
Archetypal loss: 0.8924
KLD loss: 0.0519
Reconstruction loss: 0.8924
Archetype R²: 0.0506
Archetype transform grad norm: 0.213153
Archetype transform param norm: 6.9835
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.8083 (range: 0.8083 - 0.8083)
archetypal_loss: 0.8924 (range: 0.8924 - 0.8924)
kld_loss: 0.0519 (range: 0.0519 - 0.0519)
reconstruction_loss: 0.8924 (range: 0.8924 - 0.8924)
archetype_r2: 0.0506 (range: 0.0506 - 0.0506)
Archetype Transform Summary:
archetype_transform_mean: 0.001376 (range: 0.001376 - 0.001376)
archetype_transform_std: 0.097788 (range: 0.097788 - 0.097788)
archetype_transform_norm: 6.983486 (range: 6.983486 - 6.983486)
archetype_transform_grad_norm: 0.213153 (range: 0.213153 - 0.213153)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.1537, max=0.6146, mean=0.3333
Batch reconstruction MSE: 0.8853
Archetype stats: min=-7.1730, max=10.5289
Archetype change since last debug: 0.641528
Archetype gradients: norm=0.042816, mean=0.002971
Epoch 1/1
Average loss: 0.8069
Archetypal loss: 0.8907
KLD loss: 0.0530
Reconstruction loss: 0.8907
Archetype R²: 0.0525
Archetype transform grad norm: 0.211314
Archetype transform param norm: 7.0112
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.8069 (range: 0.8069 - 0.8069)
archetypal_loss: 0.8907 (range: 0.8907 - 0.8907)
kld_loss: 0.0530 (range: 0.0530 - 0.0530)
reconstruction_loss: 0.8907 (range: 0.8907 - 0.8907)
archetype_r2: 0.0525 (range: 0.0525 - 0.0525)
Archetype Transform Summary:
archetype_transform_mean: 0.001408 (range: 0.001408 - 0.001408)
archetype_transform_std: 0.098176 (range: 0.098176 - 0.098176)
archetype_transform_norm: 7.011177 (range: 7.011177 - 7.011177)
archetype_transform_grad_norm: 0.211314 (range: 0.211314 - 0.211314)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.1317, max=0.6205, mean=0.3333
Batch reconstruction MSE: 0.8875
Archetype stats: min=-7.4305, max=10.6949
Archetype change since last debug: 0.656822
Archetype gradients: norm=0.069338, mean=0.003636
Epoch 1/1
Average loss: 0.8066
Archetypal loss: 0.8907
KLD loss: 0.0502
Reconstruction loss: 0.8907
Archetype R²: 0.0525
Archetype transform grad norm: 0.211574
Archetype transform param norm: 7.0274
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.8066 (range: 0.8066 - 0.8066)
archetypal_loss: 0.8907 (range: 0.8907 - 0.8907)
kld_loss: 0.0502 (range: 0.0502 - 0.0502)
reconstruction_loss: 0.8907 (range: 0.8907 - 0.8907)
archetype_r2: 0.0525 (range: 0.0525 - 0.0525)
Archetype Transform Summary:
archetype_transform_mean: 0.001375 (range: 0.001375 - 0.001375)
archetype_transform_std: 0.098403 (range: 0.098403 - 0.098403)
archetype_transform_norm: 7.027360 (range: 7.027360 - 7.027360)
archetype_transform_grad_norm: 0.211574 (range: 0.211574 - 0.211574)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.1644, max=0.6330, mean=0.3333
Batch reconstruction MSE: 0.9048
Archetype stats: min=-7.4961, max=10.9757
Archetype change since last debug: 0.667960
Archetype gradients: norm=0.046825, mean=0.003230
Epoch 1/1
Average loss: 0.8069
Archetypal loss: 0.8911
KLD loss: 0.0490
Reconstruction loss: 0.8911
Archetype R²: 0.0520
Archetype transform grad norm: 0.217201
Archetype transform param norm: 7.0515
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.8069 (range: 0.8069 - 0.8069)
archetypal_loss: 0.8911 (range: 0.8911 - 0.8911)
kld_loss: 0.0490 (range: 0.0490 - 0.0490)
reconstruction_loss: 0.8911 (range: 0.8911 - 0.8911)
archetype_r2: 0.0520 (range: 0.0520 - 0.0520)
Archetype Transform Summary:
archetype_transform_mean: 0.001407 (range: 0.001407 - 0.001407)
archetype_transform_std: 0.098741 (range: 0.098741 - 0.098741)
archetype_transform_norm: 7.051522 (range: 7.051522 - 7.051522)
archetype_transform_grad_norm: 0.217201 (range: 0.217201 - 0.217201)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.1281, max=0.5780, mean=0.3333
Batch reconstruction MSE: 0.9051
Archetype stats: min=-7.6993, max=11.1200
Archetype change since last debug: 0.475660
Archetype gradients: norm=0.083679, mean=0.004328
Epoch 1/1
Average loss: 0.8070
Archetypal loss: 0.8911
KLD loss: 0.0496
Reconstruction loss: 0.8911
Archetype R²: 0.0520
Archetype transform grad norm: 0.217231
Archetype transform param norm: 7.0562
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.8070 (range: 0.8070 - 0.8070)
archetypal_loss: 0.8911 (range: 0.8911 - 0.8911)
kld_loss: 0.0496 (range: 0.0496 - 0.0496)
reconstruction_loss: 0.8911 (range: 0.8911 - 0.8911)
archetype_r2: 0.0520 (range: 0.0520 - 0.0520)
Archetype Transform Summary:
archetype_transform_mean: 0.001371 (range: 0.001371 - 0.001371)
archetype_transform_std: 0.098806 (range: 0.098806 - 0.098806)
archetype_transform_norm: 7.056153 (range: 7.056153 - 7.056153)
archetype_transform_grad_norm: 0.217231 (range: 0.217231 - 0.217231)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.1360, max=0.6078, mean=0.3333
Batch reconstruction MSE: 0.9599
Archetype stats: min=-7.7008, max=11.3132
Archetype change since last debug: 0.486935
Archetype gradients: norm=0.052780, mean=0.003714
Epoch 1/1
Average loss: 0.8078
Archetypal loss: 0.8923
KLD loss: 0.0472
Reconstruction loss: 0.8923
Archetype R²: 0.0506
Archetype transform grad norm: 0.223443
Archetype transform param norm: 7.0657
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.8078 (range: 0.8078 - 0.8078)
archetypal_loss: 0.8923 (range: 0.8923 - 0.8923)
kld_loss: 0.0472 (range: 0.0472 - 0.0472)
reconstruction_loss: 0.8923 (range: 0.8923 - 0.8923)
archetype_r2: 0.0506 (range: 0.0506 - 0.0506)
Archetype Transform Summary:
archetype_transform_mean: 0.001415 (range: 0.001415 - 0.001415)
archetype_transform_std: 0.098940 (range: 0.098940 - 0.098940)
archetype_transform_norm: 7.065737 (range: 7.065737 - 7.065737)
archetype_transform_grad_norm: 0.223443 (range: 0.223443 - 0.223443)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.1121, max=0.6065, mean=0.3333
Batch reconstruction MSE: 0.9108
Archetype stats: min=-7.7921, max=11.2727
Archetype change since last debug: 0.377123
Archetype gradients: norm=0.078919, mean=0.004375
Epoch 1/1
Average loss: 0.8074
Archetypal loss: 0.8911
KLD loss: 0.0535
Reconstruction loss: 0.8911
Archetype R²: 0.0519
Archetype transform grad norm: 0.217126
Archetype transform param norm: 7.0625
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.8074 (range: 0.8074 - 0.8074)
archetypal_loss: 0.8911 (range: 0.8911 - 0.8911)
kld_loss: 0.0535 (range: 0.0535 - 0.0535)
reconstruction_loss: 0.8911 (range: 0.8911 - 0.8911)
archetype_r2: 0.0519 (range: 0.0519 - 0.0519)
Archetype Transform Summary:
archetype_transform_mean: 0.001377 (range: 0.001377 - 0.001377)
archetype_transform_std: 0.098895 (range: 0.098895 - 0.098895)
archetype_transform_norm: 7.062535 (range: 7.062535 - 7.062535)
archetype_transform_grad_norm: 0.217126 (range: 0.217126 - 0.217126)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0588, max=0.6188, mean=0.3333
Batch reconstruction MSE: 1.0018
Archetype stats: min=-7.7780, max=11.3939
Archetype change since last debug: 0.407288
Archetype gradients: norm=0.042761, mean=0.002731
Epoch 1/1
Average loss: 0.8084
Archetypal loss: 0.8931
KLD loss: 0.0463
Reconstruction loss: 0.8931
Archetype R²: 0.0497
Archetype transform grad norm: 0.224799
Archetype transform param norm: 7.0637
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.8084 (range: 0.8084 - 0.8084)
archetypal_loss: 0.8931 (range: 0.8931 - 0.8931)
kld_loss: 0.0463 (range: 0.0463 - 0.0463)
reconstruction_loss: 0.8931 (range: 0.8931 - 0.8931)
archetype_r2: 0.0497 (range: 0.0497 - 0.0497)
Archetype Transform Summary:
archetype_transform_mean: 0.001415 (range: 0.001415 - 0.001415)
archetype_transform_std: 0.098912 (range: 0.098912 - 0.098912)
archetype_transform_norm: 7.063738 (range: 7.063738 - 7.063738)
archetype_transform_grad_norm: 0.224799 (range: 0.224799 - 0.224799)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.1186, max=0.5656, mean=0.3333
Batch reconstruction MSE: 0.8980
Archetype stats: min=-7.7834, max=11.2776
Archetype change since last debug: 0.513730
Archetype gradients: norm=0.069071, mean=0.003986
Epoch 1/1
Average loss: 0.8068
Archetypal loss: 0.8907
KLD loss: 0.0521
Reconstruction loss: 0.8907
Archetype R²: 0.0525
Archetype transform grad norm: 0.214390
Archetype transform param norm: 7.0638
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.8068 (range: 0.8068 - 0.8068)
archetypal_loss: 0.8907 (range: 0.8907 - 0.8907)
kld_loss: 0.0521 (range: 0.0521 - 0.0521)
reconstruction_loss: 0.8907 (range: 0.8907 - 0.8907)
archetype_r2: 0.0525 (range: 0.0525 - 0.0525)
Archetype Transform Summary:
archetype_transform_mean: 0.001384 (range: 0.001384 - 0.001384)
archetype_transform_std: 0.098914 (range: 0.098914 - 0.098914)
archetype_transform_norm: 7.063845 (range: 7.063845 - 7.063845)
archetype_transform_grad_norm: 0.214390 (range: 0.214390 - 0.214390)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0977, max=0.5876, mean=0.3333
Batch reconstruction MSE: 0.9228
Archetype stats: min=-7.8412, max=11.4413
Archetype change since last debug: 0.499127
Archetype gradients: norm=0.043061, mean=0.002708
Epoch 1/1
Average loss: 0.8069
Archetypal loss: 0.8913
KLD loss: 0.0477
Reconstruction loss: 0.8913
Archetype R²: 0.0518
Archetype transform grad norm: 0.223955
Archetype transform param norm: 7.0829
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.8069 (range: 0.8069 - 0.8069)
archetypal_loss: 0.8913 (range: 0.8913 - 0.8913)
kld_loss: 0.0477 (range: 0.0477 - 0.0477)
reconstruction_loss: 0.8913 (range: 0.8913 - 0.8913)
archetype_r2: 0.0518 (range: 0.0518 - 0.0518)
Archetype Transform Summary:
archetype_transform_mean: 0.001416 (range: 0.001416 - 0.001416)
archetype_transform_std: 0.099180 (range: 0.099180 - 0.099180)
archetype_transform_norm: 7.082899 (range: 7.082899 - 7.082899)
archetype_transform_grad_norm: 0.223955 (range: 0.223955 - 0.223955)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.1318, max=0.6026, mean=0.3333
Batch reconstruction MSE: 0.9029
Archetype stats: min=-8.0054, max=11.5736
Archetype change since last debug: 0.429742
Archetype gradients: norm=0.057287, mean=0.003869
Epoch 1/1
Average loss: 0.8065
Archetypal loss: 0.8908
KLD loss: 0.0483
Reconstruction loss: 0.8908
Archetype R²: 0.0524
Archetype transform grad norm: 0.218620
Archetype transform param norm: 7.0869
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.8065 (range: 0.8065 - 0.8065)
archetypal_loss: 0.8908 (range: 0.8908 - 0.8908)
kld_loss: 0.0483 (range: 0.0483 - 0.0483)
reconstruction_loss: 0.8908 (range: 0.8908 - 0.8908)
archetype_r2: 0.0524 (range: 0.0524 - 0.0524)
Archetype Transform Summary:
archetype_transform_mean: 0.001388 (range: 0.001388 - 0.001388)
archetype_transform_std: 0.099236 (range: 0.099236 - 0.099236)
archetype_transform_norm: 7.086878 (range: 7.086878 - 7.086878)
archetype_transform_grad_norm: 0.218620 (range: 0.218620 - 0.218620)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.1661, max=0.5671, mean=0.3333
Batch reconstruction MSE: 0.9012
Archetype stats: min=-8.0956, max=11.6375
Archetype change since last debug: 0.422053
Archetype gradients: norm=0.036229, mean=0.002491
Epoch 1/1
Average loss: 0.8063
Archetypal loss: 0.8908
KLD loss: 0.0465
Reconstruction loss: 0.8908
Archetype R²: 0.0524
Archetype transform grad norm: 0.226795
Archetype transform param norm: 7.1067
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.8063 (range: 0.8063 - 0.8063)
archetypal_loss: 0.8908 (range: 0.8908 - 0.8908)
kld_loss: 0.0465 (range: 0.0465 - 0.0465)
reconstruction_loss: 0.8908 (range: 0.8908 - 0.8908)
archetype_r2: 0.0524 (range: 0.0524 - 0.0524)
Archetype Transform Summary:
archetype_transform_mean: 0.001418 (range: 0.001418 - 0.001418)
archetype_transform_std: 0.099513 (range: 0.099513 - 0.099513)
archetype_transform_norm: 7.106669 (range: 7.106669 - 7.106669)
archetype_transform_grad_norm: 0.226795 (range: 0.226795 - 0.226795)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.1492, max=0.5784, mean=0.3333
Batch reconstruction MSE: 0.8980
Archetype stats: min=-8.2758, max=11.8788
Archetype change since last debug: 0.541911
Archetype gradients: norm=0.056581, mean=0.003981
Epoch 1/1
Average loss: 0.8061
Archetypal loss: 0.8906
KLD loss: 0.0458
Reconstruction loss: 0.8906
Archetype R²: 0.0525
Archetype transform grad norm: 0.221598
Archetype transform param norm: 7.1120
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.8061 (range: 0.8061 - 0.8061)
archetypal_loss: 0.8906 (range: 0.8906 - 0.8906)
kld_loss: 0.0458 (range: 0.0458 - 0.0458)
reconstruction_loss: 0.8906 (range: 0.8906 - 0.8906)
archetype_r2: 0.0525 (range: 0.0525 - 0.0525)
Archetype Transform Summary:
archetype_transform_mean: 0.001393 (range: 0.001393 - 0.001393)
archetype_transform_std: 0.099588 (range: 0.099588 - 0.099588)
archetype_transform_norm: 7.112011 (range: 7.112011 - 7.112011)
archetype_transform_grad_norm: 0.221598 (range: 0.221598 - 0.221598)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.1367, max=0.5795, mean=0.3333
Batch reconstruction MSE: 0.9374
Archetype stats: min=-8.3476, max=11.8879
Archetype change since last debug: 0.449559
Archetype gradients: norm=0.045619, mean=0.003129
Epoch 1/1
Average loss: 0.8072
Archetypal loss: 0.8917
KLD loss: 0.0463
Reconstruction loss: 0.8917
Archetype R²: 0.0513
Archetype transform grad norm: 0.234992
Archetype transform param norm: 7.1248
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.8072 (range: 0.8072 - 0.8072)
archetypal_loss: 0.8917 (range: 0.8917 - 0.8917)
kld_loss: 0.0463 (range: 0.0463 - 0.0463)
reconstruction_loss: 0.8917 (range: 0.8917 - 0.8917)
archetype_r2: 0.0513 (range: 0.0513 - 0.0513)
Archetype Transform Summary:
archetype_transform_mean: 0.001412 (range: 0.001412 - 0.001412)
archetype_transform_std: 0.099767 (range: 0.099767 - 0.099767)
archetype_transform_norm: 7.124822 (range: 7.124822 - 7.124822)
archetype_transform_grad_norm: 0.234992 (range: 0.234992 - 0.234992)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.1341, max=0.6424, mean=0.3333
Batch reconstruction MSE: 0.9743
Archetype stats: min=-8.4389, max=12.0295
Archetype change since last debug: 0.443316
Archetype gradients: norm=0.087403, mean=0.006032
Epoch 1/1
Average loss: 0.8080
Archetypal loss: 0.8927
KLD loss: 0.0464
Reconstruction loss: 0.8927
Archetype R²: 0.0502
Archetype transform grad norm: 0.232737
Archetype transform param norm: 7.1017
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.8080 (range: 0.8080 - 0.8080)
archetypal_loss: 0.8927 (range: 0.8927 - 0.8927)
kld_loss: 0.0464 (range: 0.0464 - 0.0464)
reconstruction_loss: 0.8927 (range: 0.8927 - 0.8927)
archetype_r2: 0.0502 (range: 0.0502 - 0.0502)
Archetype Transform Summary:
archetype_transform_mean: 0.001370 (range: 0.001370 - 0.001370)
archetype_transform_std: 0.099443 (range: 0.099443 - 0.099443)
archetype_transform_norm: 7.101661 (range: 7.101661 - 7.101661)
archetype_transform_grad_norm: 0.232737 (range: 0.232737 - 0.232737)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0369, max=0.5895, mean=0.3333
Batch reconstruction MSE: 0.9806
Archetype stats: min=-8.3429, max=11.7736
Archetype change since last debug: 0.704142
Archetype gradients: norm=0.048703, mean=0.003028
Epoch 1/1
Average loss: 0.8082
Archetypal loss: 0.8928
KLD loss: 0.0469
Reconstruction loss: 0.8928
Archetype R²: 0.0501
Archetype transform grad norm: 0.238082
Archetype transform param norm: 7.0976
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.8082 (range: 0.8082 - 0.8082)
archetypal_loss: 0.8928 (range: 0.8928 - 0.8928)
kld_loss: 0.0469 (range: 0.0469 - 0.0469)
reconstruction_loss: 0.8928 (range: 0.8928 - 0.8928)
archetype_r2: 0.0501 (range: 0.0501 - 0.0501)
Archetype Transform Summary:
archetype_transform_mean: 0.001399 (range: 0.001399 - 0.001399)
archetype_transform_std: 0.099386 (range: 0.099386 - 0.099386)
archetype_transform_norm: 7.097620 (range: 7.097620 - 7.097620)
archetype_transform_grad_norm: 0.238082 (range: 0.238082 - 0.238082)
Fold 3/3
Model input_dim: 50 (auto-detected from data)
Archetypes parameter registered: True
Archetypes requires_grad: True
Deep_AA (Deep Archetypal Analysis) initialized:
- Single-stage architecture (like Deep_2)
- Inflation factor: 1.5
- Direct archetypal coordinates (no bottleneck)
Consolidated Archetype Initialization
PCHA: True, Inflation: True (factor: 1.5)
Test inflation: False
Running PCHA initialization...
Input shape: (128, 50)
Target archetypes: 3
Running PCHA with 3 archetypes...
Data shape for PCHA: (50, 128)
PCHA Results:
Archetypes shape: (3, 50)
Archetype R²: 0.2003
SSE: 5664.1298
PCHA archetype R²: 0.2003
Archetype shape: (3, 50)
[OK] Initialized 3 archetypes using PCHA
Scalar Archetypal Inflation (factor: 1.50)
[OK] Inflation complete
[STATS] Positioning verification:
Data radius (max): 24.766
Data radius (mean): 6.597
Archetype distances: 5.686 to 32.409
Archetypes outside data: 1/3
Min archetype separation: 25.796
[OK] Archetype initialization complete (success: True)
[OK] Archetype initialization complete (PCHA: True, Inflation: 1.5)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0016, max=0.9665, mean=0.3333
Batch reconstruction MSE: 1.0589
Archetype stats: min=-1.9268, max=2.1266
Archetype gradients: norm=0.024139, mean=0.001406
Epoch 1/1
Average loss: 0.8987
Archetypal loss: 0.9932
KLD loss: 0.0478
Reconstruction loss: 0.9932
Archetype R²: -0.0206
Archetype transform grad norm: 0.335561
Archetype transform param norm: 5.8275
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.8987 (range: 0.8987 - 0.8987)
archetypal_loss: 0.9932 (range: 0.9932 - 0.9932)
kld_loss: 0.0478 (range: 0.0478 - 0.0478)
reconstruction_loss: 0.9932 (range: 0.9932 - 0.9932)
archetype_r2: -0.0206 (range: -0.0206 - -0.0206)
Archetype Transform Summary:
archetype_transform_mean: -0.000366 (range: -0.000366 - -0.000366)
archetype_transform_std: 0.081609 (range: 0.081609 - 0.081609)
archetype_transform_norm: 5.827548 (range: 5.827548 - 5.827548)
archetype_transform_grad_norm: 0.335561 (range: 0.335561 - 0.335561)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0008, max=0.9849, mean=0.3333
Batch reconstruction MSE: 0.8738
Archetype stats: min=-0.9337, max=1.0190
Archetype change since last debug: 6.357085
Archetype gradients: norm=0.006061, mean=0.000393
Epoch 1/1
Average loss: 0.8748
Archetypal loss: 0.9654
KLD loss: 0.0598
Reconstruction loss: 0.9654
Archetype R²: 0.0081
Archetype transform grad norm: 0.247582
Archetype transform param norm: 5.8442
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.8748 (range: 0.8748 - 0.8748)
archetypal_loss: 0.9654 (range: 0.9654 - 0.9654)
kld_loss: 0.0598 (range: 0.0598 - 0.0598)
reconstruction_loss: 0.9654 (range: 0.9654 - 0.9654)
archetype_r2: 0.0081 (range: 0.0081 - 0.0081)
Archetype Transform Summary:
archetype_transform_mean: -0.000276 (range: -0.000276 - -0.000276)
archetype_transform_std: 0.081842 (range: 0.081842 - 0.081842)
archetype_transform_norm: 5.844181 (range: 5.844181 - 5.844181)
archetype_transform_grad_norm: 0.247582 (range: 0.247582 - 0.247582)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0025, max=0.9835, mean=0.3333
Batch reconstruction MSE: 0.9162
Archetype stats: min=-1.6034, max=1.7327
Archetype change since last debug: 3.367041
Archetype gradients: norm=0.010394, mean=0.000636
Epoch 1/1
Average loss: 0.8679
Archetypal loss: 0.9564
KLD loss: 0.0711
Reconstruction loss: 0.9564
Archetype R²: 0.0172
Archetype transform grad norm: 0.270622
Archetype transform param norm: 5.9016
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.8679 (range: 0.8679 - 0.8679)
archetypal_loss: 0.9564 (range: 0.9564 - 0.9564)
kld_loss: 0.0711 (range: 0.0711 - 0.0711)
reconstruction_loss: 0.9564 (range: 0.9564 - 0.9564)
archetype_r2: 0.0172 (range: 0.0172 - 0.0172)
Archetype Transform Summary:
archetype_transform_mean: -0.000095 (range: -0.000095 - -0.000095)
archetype_transform_std: 0.082647 (range: 0.082647 - 0.082647)
archetype_transform_norm: 5.901595 (range: 5.901595 - 5.901595)
archetype_transform_grad_norm: 0.270622 (range: 0.270622 - 0.270622)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0042, max=0.9812, mean=0.3333
Batch reconstruction MSE: 0.9421
Archetype stats: min=-1.9862, max=2.2805
Archetype change since last debug: 3.523509
Archetype gradients: norm=0.016889, mean=0.001051
Epoch 1/1
Average loss: 0.8603
Archetypal loss: 0.9470
KLD loss: 0.0806
Reconstruction loss: 0.9470
Archetype R²: 0.0269
Archetype transform grad norm: 0.284077
Archetype transform param norm: 5.9992
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.8603 (range: 0.8603 - 0.8603)
archetypal_loss: 0.9470 (range: 0.9470 - 0.9470)
kld_loss: 0.0806 (range: 0.0806 - 0.0806)
reconstruction_loss: 0.9470 (range: 0.9470 - 0.9470)
archetype_r2: 0.0269 (range: 0.0269 - 0.0269)
Archetype Transform Summary:
archetype_transform_mean: 0.000221 (range: 0.000221 - 0.000221)
archetype_transform_std: 0.084014 (range: 0.084014 - 0.084014)
archetype_transform_norm: 5.999220 (range: 5.999220 - 5.999220)
archetype_transform_grad_norm: 0.284077 (range: 0.284077 - 0.284077)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0054, max=0.9752, mean=0.3333
Batch reconstruction MSE: 0.9610
Archetype stats: min=-2.4534, max=2.7504
Archetype change since last debug: 3.638414
Archetype gradients: norm=0.031017, mean=0.001652
Epoch 1/1
Average loss: 0.8550
Archetypal loss: 0.9415
KLD loss: 0.0761
Reconstruction loss: 0.9415
Archetype R²: 0.0325
Archetype transform grad norm: 0.296678
Archetype transform param norm: 6.0848
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.8550 (range: 0.8550 - 0.8550)
archetypal_loss: 0.9415 (range: 0.9415 - 0.9415)
kld_loss: 0.0761 (range: 0.0761 - 0.0761)
reconstruction_loss: 0.9415 (range: 0.9415 - 0.9415)
archetype_r2: 0.0325 (range: 0.0325 - 0.0325)
Archetype Transform Summary:
archetype_transform_mean: 0.000471 (range: 0.000471 - 0.000471)
archetype_transform_std: 0.085211 (range: 0.085211 - 0.085211)
archetype_transform_norm: 6.084757 (range: 6.084757 - 6.084757)
archetype_transform_grad_norm: 0.296678 (range: 0.296678 - 0.296678)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0081, max=0.9645, mean=0.3333
Batch reconstruction MSE: 0.9494
Archetype stats: min=-3.1765, max=3.8773
Archetype change since last debug: 2.949788
Archetype gradients: norm=0.023990, mean=0.001401
Epoch 1/1
Average loss: 0.8508
Archetypal loss: 0.9374
KLD loss: 0.0718
Reconstruction loss: 0.9374
Archetype R²: 0.0367
Archetype transform grad norm: 0.308092
Archetype transform param norm: 6.1537
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.8508 (range: 0.8508 - 0.8508)
archetypal_loss: 0.9374 (range: 0.9374 - 0.9374)
kld_loss: 0.0718 (range: 0.0718 - 0.0718)
reconstruction_loss: 0.9374 (range: 0.9374 - 0.9374)
archetype_r2: 0.0367 (range: 0.0367 - 0.0367)
Archetype Transform Summary:
archetype_transform_mean: 0.000655 (range: 0.000655 - 0.000655)
archetype_transform_std: 0.086175 (range: 0.086175 - 0.086175)
archetype_transform_norm: 6.153720 (range: 6.153720 - 6.153720)
archetype_transform_grad_norm: 0.308092 (range: 0.308092 - 0.308092)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0098, max=0.9547, mean=0.3333
Batch reconstruction MSE: 0.9409
Archetype stats: min=-3.7864, max=5.0630
Archetype change since last debug: 2.700821
Archetype gradients: norm=0.022393, mean=0.001357
Epoch 1/1
Average loss: 0.8479
Archetypal loss: 0.9344
KLD loss: 0.0695
Reconstruction loss: 0.9344
Archetype R²: 0.0398
Archetype transform grad norm: 0.316911
Archetype transform param norm: 6.2110
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.8479 (range: 0.8479 - 0.8479)
archetypal_loss: 0.9344 (range: 0.9344 - 0.9344)
kld_loss: 0.0695 (range: 0.0695 - 0.0695)
reconstruction_loss: 0.9344 (range: 0.9344 - 0.9344)
archetype_r2: 0.0398 (range: 0.0398 - 0.0398)
Archetype Transform Summary:
archetype_transform_mean: 0.000802 (range: 0.000802 - 0.000802)
archetype_transform_std: 0.086976 (range: 0.086976 - 0.086976)
archetype_transform_norm: 6.210987 (range: 6.210987 - 6.210987)
archetype_transform_grad_norm: 0.316911 (range: 0.316911 - 0.316911)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0157, max=0.9241, mean=0.3333
Batch reconstruction MSE: 0.9818
Archetype stats: min=-4.2604, max=6.1011
Archetype change since last debug: 2.397792
Archetype gradients: norm=0.026430, mean=0.001587
Epoch 1/1
Average loss: 0.8466
Archetypal loss: 0.9331
KLD loss: 0.0680
Reconstruction loss: 0.9331
Archetype R²: 0.0409
Archetype transform grad norm: 0.321384
Archetype transform param norm: 6.2501
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.8466 (range: 0.8466 - 0.8466)
archetypal_loss: 0.9331 (range: 0.9331 - 0.9331)
kld_loss: 0.0680 (range: 0.0680 - 0.0680)
reconstruction_loss: 0.9331 (range: 0.9331 - 0.9331)
archetype_r2: 0.0409 (range: 0.0409 - 0.0409)
Archetype Transform Summary:
archetype_transform_mean: 0.000886 (range: 0.000886 - 0.000886)
archetype_transform_std: 0.087523 (range: 0.087523 - 0.087523)
archetype_transform_norm: 6.250123 (range: 6.250123 - 6.250123)
archetype_transform_grad_norm: 0.321384 (range: 0.321384 - 0.321384)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0200, max=0.8823, mean=0.3333
Batch reconstruction MSE: 0.9349
Archetype stats: min=-4.7355, max=6.8558
Archetype change since last debug: 1.847352
Archetype gradients: norm=0.018919, mean=0.001152
Epoch 1/1
Average loss: 0.8443
Archetypal loss: 0.9306
KLD loss: 0.0670
Reconstruction loss: 0.9306
Archetype R²: 0.0436
Archetype transform grad norm: 0.327636
Archetype transform param norm: 6.2919
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.8443 (range: 0.8443 - 0.8443)
archetypal_loss: 0.9306 (range: 0.9306 - 0.9306)
kld_loss: 0.0670 (range: 0.0670 - 0.0670)
reconstruction_loss: 0.9306 (range: 0.9306 - 0.9306)
archetype_r2: 0.0436 (range: 0.0436 - 0.0436)
Archetype Transform Summary:
archetype_transform_mean: 0.000986 (range: 0.000986 - 0.000986)
archetype_transform_std: 0.088107 (range: 0.088107 - 0.088107)
archetype_transform_norm: 6.291899 (range: 6.291899 - 6.291899)
archetype_transform_grad_norm: 0.327636 (range: 0.327636 - 0.327636)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0263, max=0.8112, mean=0.3333
Batch reconstruction MSE: 0.9422
Archetype stats: min=-5.3133, max=7.5350
Archetype change since last debug: 1.762599
Archetype gradients: norm=0.028786, mean=0.001748
Epoch 1/1
Average loss: 0.8435
Archetypal loss: 0.9299
KLD loss: 0.0664
Reconstruction loss: 0.9299
Archetype R²: 0.0444
Archetype transform grad norm: 0.333436
Archetype transform param norm: 6.3210
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.8435 (range: 0.8435 - 0.8435)
archetypal_loss: 0.9299 (range: 0.9299 - 0.9299)
kld_loss: 0.0664 (range: 0.0664 - 0.0664)
reconstruction_loss: 0.9299 (range: 0.9299 - 0.9299)
archetype_r2: 0.0444 (range: 0.0444 - 0.0444)
Archetype Transform Summary:
archetype_transform_mean: 0.001023 (range: 0.001023 - 0.001023)
archetype_transform_std: 0.088515 (range: 0.088515 - 0.088515)
archetype_transform_norm: 6.321037 (range: 6.321037 - 6.321037)
archetype_transform_grad_norm: 0.333436 (range: 0.333436 - 0.333436)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0221, max=0.7158, mean=0.3333
Batch reconstruction MSE: 0.9475
Archetype stats: min=-5.8207, max=7.9971
Archetype change since last debug: 1.383045
Archetype gradients: norm=0.021908, mean=0.001061
Epoch 1/1
Average loss: 0.8428
Archetypal loss: 0.9292
KLD loss: 0.0646
Reconstruction loss: 0.9292
Archetype R²: 0.0450
Archetype transform grad norm: 0.340937
Archetype transform param norm: 6.3540
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.8428 (range: 0.8428 - 0.8428)
archetypal_loss: 0.9292 (range: 0.9292 - 0.9292)
kld_loss: 0.0646 (range: 0.0646 - 0.0646)
reconstruction_loss: 0.9292 (range: 0.9292 - 0.9292)
archetype_r2: 0.0450 (range: 0.0450 - 0.0450)
Archetype Transform Summary:
archetype_transform_mean: 0.001097 (range: 0.001097 - 0.001097)
archetype_transform_std: 0.088976 (range: 0.088976 - 0.088976)
archetype_transform_norm: 6.353984 (range: 6.353984 - 6.353984)
archetype_transform_grad_norm: 0.340937 (range: 0.340937 - 0.340937)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0326, max=0.7615, mean=0.3333
Batch reconstruction MSE: 0.9565
Archetype stats: min=-6.1972, max=8.2101
Archetype change since last debug: 1.212597
Archetype gradients: norm=0.065636, mean=0.003415
Epoch 1/1
Average loss: 0.8426
Archetypal loss: 0.9289
KLD loss: 0.0663
Reconstruction loss: 0.9289
Archetype R²: 0.0453
Archetype transform grad norm: 0.335887
Archetype transform param norm: 6.3577
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.8426 (range: 0.8426 - 0.8426)
archetypal_loss: 0.9289 (range: 0.9289 - 0.9289)
kld_loss: 0.0663 (range: 0.0663 - 0.0663)
reconstruction_loss: 0.9289 (range: 0.9289 - 0.9289)
archetype_r2: 0.0453 (range: 0.0453 - 0.0453)
Archetype Transform Summary:
archetype_transform_mean: 0.001055 (range: 0.001055 - 0.001055)
archetype_transform_std: 0.089028 (range: 0.089028 - 0.089028)
archetype_transform_norm: 6.357703 (range: 6.357703 - 6.357703)
archetype_transform_grad_norm: 0.335887 (range: 0.335887 - 0.335887)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0340, max=0.6850, mean=0.3333
Batch reconstruction MSE: 0.9872
Archetype stats: min=-6.2781, max=8.5407
Archetype change since last debug: 0.976325
Archetype gradients: norm=0.025225, mean=0.001743
Epoch 1/1
Average loss: 0.8426
Archetypal loss: 0.9292
KLD loss: 0.0638
Reconstruction loss: 0.9292
Archetype R²: 0.0449
Archetype transform grad norm: 0.340135
Archetype transform param norm: 6.3789
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.8426 (range: 0.8426 - 0.8426)
archetypal_loss: 0.9292 (range: 0.9292 - 0.9292)
kld_loss: 0.0638 (range: 0.0638 - 0.0638)
reconstruction_loss: 0.9292 (range: 0.9292 - 0.9292)
archetype_r2: 0.0449 (range: 0.0449 - 0.0449)
Archetype Transform Summary:
archetype_transform_mean: 0.001138 (range: 0.001138 - 0.001138)
archetype_transform_std: 0.089324 (range: 0.089324 - 0.089324)
archetype_transform_norm: 6.378932 (range: 6.378932 - 6.378932)
archetype_transform_grad_norm: 0.340135 (range: 0.340135 - 0.340135)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0367, max=0.7219, mean=0.3333
Batch reconstruction MSE: 0.9281
Archetype stats: min=-6.5732, max=8.7147
Archetype change since last debug: 0.873795
Archetype gradients: norm=0.057405, mean=0.002869
Epoch 1/1
Average loss: 0.8409
Archetypal loss: 0.9274
KLD loss: 0.0628
Reconstruction loss: 0.9274
Archetype R²: 0.0469
Archetype transform grad norm: 0.327816
Archetype transform param norm: 6.3844
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.8409 (range: 0.8409 - 0.8409)
archetypal_loss: 0.9274 (range: 0.9274 - 0.9274)
kld_loss: 0.0628 (range: 0.0628 - 0.0628)
reconstruction_loss: 0.9274 (range: 0.9274 - 0.9274)
archetype_r2: 0.0469 (range: 0.0469 - 0.0469)
Archetype Transform Summary:
archetype_transform_mean: 0.001120 (range: 0.001120 - 0.001120)
archetype_transform_std: 0.089401 (range: 0.089401 - 0.089401)
archetype_transform_norm: 6.384387 (range: 6.384387 - 6.384387)
archetype_transform_grad_norm: 0.327816 (range: 0.327816 - 0.327816)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0687, max=0.7076, mean=0.3333
Batch reconstruction MSE: 0.9069
Archetype stats: min=-6.7485, max=9.0561
Archetype change since last debug: 0.914240
Archetype gradients: norm=0.024964, mean=0.001615
Epoch 1/1
Average loss: 0.8401
Archetypal loss: 0.9266
KLD loss: 0.0608
Reconstruction loss: 0.9266
Archetype R²: 0.0477
Archetype transform grad norm: 0.340841
Archetype transform param norm: 6.4139
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.8401 (range: 0.8401 - 0.8401)
archetypal_loss: 0.9266 (range: 0.9266 - 0.9266)
kld_loss: 0.0608 (range: 0.0608 - 0.0608)
reconstruction_loss: 0.9266 (range: 0.9266 - 0.9266)
archetype_r2: 0.0477 (range: 0.0477 - 0.0477)
Archetype Transform Summary:
archetype_transform_mean: 0.001189 (range: 0.001189 - 0.001189)
archetype_transform_std: 0.089813 (range: 0.089813 - 0.089813)
archetype_transform_norm: 6.413876 (range: 6.413876 - 6.413876)
archetype_transform_grad_norm: 0.340841 (range: 0.340841 - 0.340841)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0280, max=0.7269, mean=0.3333
Batch reconstruction MSE: 0.9180
Archetype stats: min=-7.1519, max=9.3905
Archetype change since last debug: 0.977377
Archetype gradients: norm=0.047879, mean=0.002612
Epoch 1/1
Average loss: 0.8397
Archetypal loss: 0.9266
KLD loss: 0.0582
Reconstruction loss: 0.9266
Archetype R²: 0.0477
Archetype transform grad norm: 0.334996
Archetype transform param norm: 6.4237
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.8397 (range: 0.8397 - 0.8397)
archetypal_loss: 0.9266 (range: 0.9266 - 0.9266)
kld_loss: 0.0582 (range: 0.0582 - 0.0582)
reconstruction_loss: 0.9266 (range: 0.9266 - 0.9266)
archetype_r2: 0.0477 (range: 0.0477 - 0.0477)
Archetype Transform Summary:
archetype_transform_mean: 0.001180 (range: 0.001180 - 0.001180)
archetype_transform_std: 0.089951 (range: 0.089951 - 0.089951)
archetype_transform_norm: 6.423733 (range: 6.423733 - 6.423733)
archetype_transform_grad_norm: 0.334996 (range: 0.334996 - 0.334996)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0589, max=0.8166, mean=0.3333
Batch reconstruction MSE: 0.8952
Archetype stats: min=-7.2707, max=9.6048
Archetype change since last debug: 0.831803
Archetype gradients: norm=0.020559, mean=0.001296
Epoch 1/1
Average loss: 0.8393
Archetypal loss: 0.9260
KLD loss: 0.0590
Reconstruction loss: 0.9260
Archetype R²: 0.0484
Archetype transform grad norm: 0.341134
Archetype transform param norm: 6.4489
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.8393 (range: 0.8393 - 0.8393)
archetypal_loss: 0.9260 (range: 0.9260 - 0.9260)
kld_loss: 0.0590 (range: 0.0590 - 0.0590)
reconstruction_loss: 0.9260 (range: 0.9260 - 0.9260)
archetype_r2: 0.0484 (range: 0.0484 - 0.0484)
Archetype Transform Summary:
archetype_transform_mean: 0.001222 (range: 0.001222 - 0.001222)
archetype_transform_std: 0.090303 (range: 0.090303 - 0.090303)
archetype_transform_norm: 6.448885 (range: 6.448885 - 6.448885)
archetype_transform_grad_norm: 0.341134 (range: 0.341134 - 0.341134)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0348, max=0.7805, mean=0.3333
Batch reconstruction MSE: 0.9081
Archetype stats: min=-7.6535, max=9.7971
Archetype change since last debug: 0.839591
Archetype gradients: norm=0.041234, mean=0.002457
Epoch 1/1
Average loss: 0.8391
Archetypal loss: 0.9261
KLD loss: 0.0562
Reconstruction loss: 0.9261
Archetype R²: 0.0482
Archetype transform grad norm: 0.344745
Archetype transform param norm: 6.4571
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.8391 (range: 0.8391 - 0.8391)
archetypal_loss: 0.9261 (range: 0.9261 - 0.9261)
kld_loss: 0.0562 (range: 0.0562 - 0.0562)
reconstruction_loss: 0.9261 (range: 0.9261 - 0.9261)
archetype_r2: 0.0482 (range: 0.0482 - 0.0482)
Archetype Transform Summary:
archetype_transform_mean: 0.001211 (range: 0.001211 - 0.001211)
archetype_transform_std: 0.090418 (range: 0.090418 - 0.090418)
archetype_transform_norm: 6.457114 (range: 6.457114 - 6.457114)
archetype_transform_grad_norm: 0.344745 (range: 0.344745 - 0.344745)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0945, max=0.7479, mean=0.3333
Batch reconstruction MSE: 0.8838
Archetype stats: min=-7.7598, max=9.8992
Archetype change since last debug: 0.700300
Archetype gradients: norm=0.015226, mean=0.000955
Epoch 1/1
Average loss: 0.8381
Archetypal loss: 0.9251
KLD loss: 0.0555
Reconstruction loss: 0.9251
Archetype R²: 0.0493
Archetype transform grad norm: 0.335440
Archetype transform param norm: 6.4788
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.8381 (range: 0.8381 - 0.8381)
archetypal_loss: 0.9251 (range: 0.9251 - 0.9251)
kld_loss: 0.0555 (range: 0.0555 - 0.0555)
reconstruction_loss: 0.9251 (range: 0.9251 - 0.9251)
archetype_r2: 0.0493 (range: 0.0493 - 0.0493)
Archetype Transform Summary:
archetype_transform_mean: 0.001240 (range: 0.001240 - 0.001240)
archetype_transform_std: 0.090721 (range: 0.090721 - 0.090721)
archetype_transform_norm: 6.478776 (range: 6.478776 - 6.478776)
archetype_transform_grad_norm: 0.335440 (range: 0.335440 - 0.335440)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0768, max=0.7060, mean=0.3333
Batch reconstruction MSE: 0.8929
Archetype stats: min=-8.0940, max=10.1137
Archetype change since last debug: 0.803858
Archetype gradients: norm=0.037583, mean=0.002155
Epoch 1/1
Average loss: 0.8382
Archetypal loss: 0.9253
KLD loss: 0.0542
Reconstruction loss: 0.9253
Archetype R²: 0.0490
Archetype transform grad norm: 0.338685
Archetype transform param norm: 6.4882
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.8382 (range: 0.8382 - 0.8382)
archetypal_loss: 0.9253 (range: 0.9253 - 0.9253)
kld_loss: 0.0542 (range: 0.0542 - 0.0542)
reconstruction_loss: 0.9253 (range: 0.9253 - 0.9253)
archetype_r2: 0.0490 (range: 0.0490 - 0.0490)
Archetype Transform Summary:
archetype_transform_mean: 0.001229 (range: 0.001229 - 0.001229)
archetype_transform_std: 0.090853 (range: 0.090853 - 0.090853)
archetype_transform_norm: 6.488188 (range: 6.488188 - 6.488188)
archetype_transform_grad_norm: 0.338685 (range: 0.338685 - 0.338685)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0987, max=0.7303, mean=0.3333
Batch reconstruction MSE: 0.8922
Archetype stats: min=-8.2062, max=10.2438
Archetype change since last debug: 0.698628
Archetype gradients: norm=0.012653, mean=0.000671
Epoch 1/1
Average loss: 0.8377
Archetypal loss: 0.9249
KLD loss: 0.0533
Reconstruction loss: 0.9249
Archetype R²: 0.0494
Archetype transform grad norm: 0.335379
Archetype transform param norm: 6.5036
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.8377 (range: 0.8377 - 0.8377)
archetypal_loss: 0.9249 (range: 0.9249 - 0.9249)
kld_loss: 0.0533 (range: 0.0533 - 0.0533)
reconstruction_loss: 0.9249 (range: 0.9249 - 0.9249)
archetype_r2: 0.0494 (range: 0.0494 - 0.0494)
Archetype Transform Summary:
archetype_transform_mean: 0.001246 (range: 0.001246 - 0.001246)
archetype_transform_std: 0.091069 (range: 0.091069 - 0.091069)
archetype_transform_norm: 6.503601 (range: 6.503601 - 6.503601)
archetype_transform_grad_norm: 0.335379 (range: 0.335379 - 0.335379)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.1053, max=0.7311, mean=0.3333
Batch reconstruction MSE: 0.8826
Archetype stats: min=-8.4583, max=10.3567
Archetype change since last debug: 0.625750
Archetype gradients: norm=0.034946, mean=0.002020
Epoch 1/1
Average loss: 0.8374
Archetypal loss: 0.9246
KLD loss: 0.0524
Reconstruction loss: 0.9246
Archetype R²: 0.0497
Archetype transform grad norm: 0.338251
Archetype transform param norm: 6.5119
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.8374 (range: 0.8374 - 0.8374)
archetypal_loss: 0.9246 (range: 0.9246 - 0.9246)
kld_loss: 0.0524 (range: 0.0524 - 0.0524)
reconstruction_loss: 0.9246 (range: 0.9246 - 0.9246)
archetype_r2: 0.0497 (range: 0.0497 - 0.0497)
Archetype Transform Summary:
archetype_transform_mean: 0.001240 (range: 0.001240 - 0.001240)
archetype_transform_std: 0.091185 (range: 0.091185 - 0.091185)
archetype_transform_norm: 6.511911 (range: 6.511911 - 6.511911)
archetype_transform_grad_norm: 0.338251 (range: 0.338251 - 0.338251)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.1023, max=0.7449, mean=0.3333
Batch reconstruction MSE: 0.8634
Archetype stats: min=-8.6035, max=10.4553
Archetype change since last debug: 0.631915
Archetype gradients: norm=0.013974, mean=0.000892
Epoch 1/1
Average loss: 0.8366
Archetypal loss: 0.9239
KLD loss: 0.0509
Reconstruction loss: 0.9239
Archetype R²: 0.0505
Archetype transform grad norm: 0.335424
Archetype transform param norm: 6.5344
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.8366 (range: 0.8366 - 0.8366)
archetypal_loss: 0.9239 (range: 0.9239 - 0.9239)
kld_loss: 0.0509 (range: 0.0509 - 0.0509)
reconstruction_loss: 0.9239 (range: 0.9239 - 0.9239)
archetype_r2: 0.0505 (range: 0.0505 - 0.0505)
Archetype Transform Summary:
archetype_transform_mean: 0.001279 (range: 0.001279 - 0.001279)
archetype_transform_std: 0.091500 (range: 0.091500 - 0.091500)
archetype_transform_norm: 6.534414 (range: 6.534414 - 6.534414)
archetype_transform_grad_norm: 0.335424 (range: 0.335424 - 0.335424)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0946, max=0.7273, mean=0.3333
Batch reconstruction MSE: 0.8903
Archetype stats: min=-8.9103, max=10.6992
Archetype change since last debug: 0.823898
Archetype gradients: norm=0.038959, mean=0.002379
Epoch 1/1
Average loss: 0.8374
Archetypal loss: 0.9248
KLD loss: 0.0509
Reconstruction loss: 0.9248
Archetype R²: 0.0495
Archetype transform grad norm: 0.348293
Archetype transform param norm: 6.5358
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.8374 (range: 0.8374 - 0.8374)
archetypal_loss: 0.9248 (range: 0.9248 - 0.9248)
kld_loss: 0.0509 (range: 0.0509 - 0.0509)
reconstruction_loss: 0.9248 (range: 0.9248 - 0.9248)
archetype_r2: 0.0495 (range: 0.0495 - 0.0495)
Archetype Transform Summary:
archetype_transform_mean: 0.001252 (range: 0.001252 - 0.001252)
archetype_transform_std: 0.091520 (range: 0.091520 - 0.091520)
archetype_transform_norm: 6.535830 (range: 6.535830 - 6.535830)
archetype_transform_grad_norm: 0.348293 (range: 0.348293 - 0.348293)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0941, max=0.7901, mean=0.3333
Batch reconstruction MSE: 0.9833
Archetype stats: min=-8.8783, max=10.5726
Archetype change since last debug: 0.574843
Archetype gradients: norm=0.017352, mean=0.000985
Epoch 1/1
Average loss: 0.8389
Archetypal loss: 0.9264
KLD loss: 0.0520
Reconstruction loss: 0.9264
Archetype R²: 0.0476
Archetype transform grad norm: 0.340751
Archetype transform param norm: 6.5313
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.8389 (range: 0.8389 - 0.8389)
archetypal_loss: 0.9264 (range: 0.9264 - 0.9264)
kld_loss: 0.0520 (range: 0.0520 - 0.0520)
reconstruction_loss: 0.9264 (range: 0.9264 - 0.9264)
archetype_r2: 0.0476 (range: 0.0476 - 0.0476)
Archetype Transform Summary:
archetype_transform_mean: 0.001224 (range: 0.001224 - 0.001224)
archetype_transform_std: 0.091457 (range: 0.091457 - 0.091457)
archetype_transform_norm: 6.531262 (range: 6.531262 - 6.531262)
archetype_transform_grad_norm: 0.340751 (range: 0.340751 - 0.340751)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0932, max=0.7206, mean=0.3333
Batch reconstruction MSE: 0.8902
Archetype stats: min=-8.7927, max=10.4485
Archetype change since last debug: 0.599573
Archetype gradients: norm=0.042445, mean=0.002178
Epoch 1/1
Average loss: 0.8369
Archetypal loss: 0.9240
KLD loss: 0.0528
Reconstruction loss: 0.9240
Archetype R²: 0.0502
Archetype transform grad norm: 0.329784
Archetype transform param norm: 6.5305
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.8369 (range: 0.8369 - 0.8369)
archetypal_loss: 0.9240 (range: 0.9240 - 0.9240)
kld_loss: 0.0528 (range: 0.0528 - 0.0528)
reconstruction_loss: 0.9240 (range: 0.9240 - 0.9240)
archetype_r2: 0.0502 (range: 0.0502 - 0.0502)
Archetype Transform Summary:
archetype_transform_mean: 0.001203 (range: 0.001203 - 0.001203)
archetype_transform_std: 0.091447 (range: 0.091447 - 0.091447)
archetype_transform_norm: 6.530514 (range: 6.530514 - 6.530514)
archetype_transform_grad_norm: 0.329784 (range: 0.329784 - 0.329784)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0918, max=0.7964, mean=0.3333
Batch reconstruction MSE: 0.8970
Archetype stats: min=-8.9283, max=10.4470
Archetype change since last debug: 0.527577
Archetype gradients: norm=0.013740, mean=0.000935
Epoch 1/1
Average loss: 0.8366
Archetypal loss: 0.9241
KLD loss: 0.0495
Reconstruction loss: 0.9241
Archetype R²: 0.0501
Archetype transform grad norm: 0.331422
Archetype transform param norm: 6.5484
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.8366 (range: 0.8366 - 0.8366)
archetypal_loss: 0.9241 (range: 0.9241 - 0.9241)
kld_loss: 0.0495 (range: 0.0495 - 0.0495)
reconstruction_loss: 0.9241 (range: 0.9241 - 0.9241)
archetype_r2: 0.0501 (range: 0.0501 - 0.0501)
Archetype Transform Summary:
archetype_transform_mean: 0.001234 (range: 0.001234 - 0.001234)
archetype_transform_std: 0.091697 (range: 0.091697 - 0.091697)
archetype_transform_norm: 6.548447 (range: 6.548447 - 6.548447)
archetype_transform_grad_norm: 0.331422 (range: 0.331422 - 0.331422)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0861, max=0.7599, mean=0.3333
Batch reconstruction MSE: 0.8526
Archetype stats: min=-9.2279, max=10.5120
Archetype change since last debug: 0.720392
Archetype gradients: norm=0.044141, mean=0.002360
Epoch 1/1
Average loss: 0.8357
Archetypal loss: 0.9229
KLD loss: 0.0517
Reconstruction loss: 0.9229
Archetype R²: 0.0515
Archetype transform grad norm: 0.335531
Archetype transform param norm: 6.5593
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.8357 (range: 0.8357 - 0.8357)
archetypal_loss: 0.9229 (range: 0.9229 - 0.9229)
kld_loss: 0.0517 (range: 0.0517 - 0.0517)
reconstruction_loss: 0.9229 (range: 0.9229 - 0.9229)
archetype_r2: 0.0515 (range: 0.0515 - 0.0515)
Archetype Transform Summary:
archetype_transform_mean: 0.001220 (range: 0.001220 - 0.001220)
archetype_transform_std: 0.091849 (range: 0.091849 - 0.091849)
archetype_transform_norm: 6.559291 (range: 6.559291 - 6.559291)
archetype_transform_grad_norm: 0.335531 (range: 0.335531 - 0.335531)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0874, max=0.7928, mean=0.3333
Batch reconstruction MSE: 0.8997
Archetype stats: min=-9.4460, max=10.7849
Archetype change since last debug: 0.914887
Archetype gradients: norm=0.044567, mean=0.002773
Epoch 1/1
Average loss: 0.8366
Archetypal loss: 0.9241
KLD loss: 0.0493
Reconstruction loss: 0.9241
Archetype R²: 0.0500
Archetype transform grad norm: 0.350019
Archetype transform param norm: 6.5806
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.8366 (range: 0.8366 - 0.8366)
archetypal_loss: 0.9241 (range: 0.9241 - 0.9241)
kld_loss: 0.0493 (range: 0.0493 - 0.0493)
reconstruction_loss: 0.9241 (range: 0.9241 - 0.9241)
archetype_r2: 0.0500 (range: 0.0500 - 0.0500)
Archetype Transform Summary:
archetype_transform_mean: 0.001276 (range: 0.001276 - 0.001276)
archetype_transform_std: 0.092148 (range: 0.092148 - 0.092148)
archetype_transform_norm: 6.580640 (range: 6.580640 - 6.580640)
archetype_transform_grad_norm: 0.350019 (range: 0.350019 - 0.350019)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0954, max=0.7487, mean=0.3333
Batch reconstruction MSE: 0.9073
Archetype stats: min=-9.6900, max=10.7156
Archetype change since last debug: 0.618333
Archetype gradients: norm=0.097365, mean=0.004923
Epoch 1/1
Average loss: 0.8369
Archetypal loss: 0.9242
KLD loss: 0.0511
Reconstruction loss: 0.9242
Archetype R²: 0.0499
Archetype transform grad norm: 0.347002
Archetype transform param norm: 6.5618
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.8369 (range: 0.8369 - 0.8369)
archetypal_loss: 0.9242 (range: 0.9242 - 0.9242)
kld_loss: 0.0511 (range: 0.0511 - 0.0511)
reconstruction_loss: 0.9242 (range: 0.9242 - 0.9242)
archetype_r2: 0.0499 (range: 0.0499 - 0.0499)
Archetype Transform Summary:
archetype_transform_mean: 0.001190 (range: 0.001190 - 0.001190)
archetype_transform_std: 0.091885 (range: 0.091885 - 0.091885)
archetype_transform_norm: 6.561841 (range: 6.561841 - 6.561841)
archetype_transform_grad_norm: 0.347002 (range: 0.347002 - 0.347002)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0645, max=0.7880, mean=0.3333
Batch reconstruction MSE: 1.0026
Archetype stats: min=-9.3842, max=10.9417
Archetype change since last debug: 0.934133
Archetype gradients: norm=0.073138, mean=0.004537
Epoch 1/1
Average loss: 0.8398
Archetypal loss: 0.9270
KLD loss: 0.0546
Reconstruction loss: 0.9270
Archetype R²: 0.0467
Archetype transform grad norm: 0.375539
Archetype transform param norm: 6.5650
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.8398 (range: 0.8398 - 0.8398)
archetypal_loss: 0.9270 (range: 0.9270 - 0.9270)
kld_loss: 0.0546 (range: 0.0546 - 0.0546)
reconstruction_loss: 0.9270 (range: 0.9270 - 0.9270)
archetype_r2: 0.0467 (range: 0.0467 - 0.0467)
Archetype Transform Summary:
archetype_transform_mean: 0.001218 (range: 0.001218 - 0.001218)
archetype_transform_std: 0.091929 (range: 0.091929 - 0.091929)
archetype_transform_norm: 6.565012 (range: 6.565012 - 6.565012)
archetype_transform_grad_norm: 0.375539 (range: 0.375539 - 0.375539)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.1016, max=0.7789, mean=0.3333
Batch reconstruction MSE: 0.9134
Archetype stats: min=-9.3265, max=10.1785
Archetype change since last debug: 1.324596
Archetype gradients: norm=0.072079, mean=0.003782
Epoch 1/1
Average loss: 0.8366
Archetypal loss: 0.9238
KLD loss: 0.0513
Reconstruction loss: 0.9238
Archetype R²: 0.0502
Archetype transform grad norm: 0.332600
Archetype transform param norm: 6.5444
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.8366 (range: 0.8366 - 0.8366)
archetypal_loss: 0.9238 (range: 0.9238 - 0.9238)
kld_loss: 0.0513 (range: 0.0513 - 0.0513)
reconstruction_loss: 0.9238 (range: 0.9238 - 0.9238)
archetype_r2: 0.0502 (range: 0.0502 - 0.0502)
Archetype Transform Summary:
archetype_transform_mean: 0.001130 (range: 0.001130 - 0.001130)
archetype_transform_std: 0.091642 (range: 0.091642 - 0.091642)
archetype_transform_norm: 6.544401 (range: 6.544401 - 6.544401)
archetype_transform_grad_norm: 0.332600 (range: 0.332600 - 0.332600)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.1048, max=0.7795, mean=0.3333
Batch reconstruction MSE: 0.8583
Archetype stats: min=-9.1081, max=10.4573
Archetype change since last debug: 0.866194
Archetype gradients: norm=0.034054, mean=0.002063
Epoch 1/1
Average loss: 0.8351
Archetypal loss: 0.9226
KLD loss: 0.0485
Reconstruction loss: 0.9226
Archetype R²: 0.0517
Archetype transform grad norm: 0.334690
Archetype transform param norm: 6.5698
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.8351 (range: 0.8351 - 0.8351)
archetypal_loss: 0.9226 (range: 0.9226 - 0.9226)
kld_loss: 0.0485 (range: 0.0485 - 0.0485)
reconstruction_loss: 0.9226 (range: 0.9226 - 0.9226)
archetype_r2: 0.0517 (range: 0.0517 - 0.0517)
Archetype Transform Summary:
archetype_transform_mean: 0.001186 (range: 0.001186 - 0.001186)
archetype_transform_std: 0.091996 (range: 0.091996 - 0.091996)
archetype_transform_norm: 6.569755 (range: 6.569755 - 6.569755)
archetype_transform_grad_norm: 0.334690 (range: 0.334690 - 0.334690)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.1003, max=0.7763, mean=0.3333
Batch reconstruction MSE: 0.8508
Archetype stats: min=-9.5335, max=10.3889
Archetype change since last debug: 0.868239
Archetype gradients: norm=0.047865, mean=0.002404
Epoch 1/1
Average loss: 0.8346
Archetypal loss: 0.9221
KLD loss: 0.0472
Reconstruction loss: 0.9221
Archetype R²: 0.0522
Archetype transform grad norm: 0.324245
Archetype transform param norm: 6.5790
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.8346 (range: 0.8346 - 0.8346)
archetypal_loss: 0.9221 (range: 0.9221 - 0.9221)
kld_loss: 0.0472 (range: 0.0472 - 0.0472)
reconstruction_loss: 0.9221 (range: 0.9221 - 0.9221)
archetype_r2: 0.0522 (range: 0.0522 - 0.0522)
Archetype Transform Summary:
archetype_transform_mean: 0.001183 (range: 0.001183 - 0.001183)
archetype_transform_std: 0.092126 (range: 0.092126 - 0.092126)
archetype_transform_norm: 6.579016 (range: 6.579016 - 6.579016)
archetype_transform_grad_norm: 0.324245 (range: 0.324245 - 0.324245)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.1053, max=0.7864, mean=0.3333
Batch reconstruction MSE: 0.8571
Archetype stats: min=-9.6274, max=10.7515
Archetype change since last debug: 0.867765
Archetype gradients: norm=0.032167, mean=0.001949
Epoch 1/1
Average loss: 0.8347
Archetypal loss: 0.9223
KLD loss: 0.0457
Reconstruction loss: 0.9223
Archetype R²: 0.0519
Archetype transform grad norm: 0.336386
Archetype transform param norm: 6.6030
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.8347 (range: 0.8347 - 0.8347)
archetypal_loss: 0.9223 (range: 0.9223 - 0.9223)
kld_loss: 0.0457 (range: 0.0457 - 0.0457)
reconstruction_loss: 0.9223 (range: 0.9223 - 0.9223)
archetype_r2: 0.0519 (range: 0.0519 - 0.0519)
Archetype Transform Summary:
archetype_transform_mean: 0.001240 (range: 0.001240 - 0.001240)
archetype_transform_std: 0.092461 (range: 0.092461 - 0.092461)
archetype_transform_norm: 6.602981 (range: 6.602981 - 6.602981)
archetype_transform_grad_norm: 0.336386 (range: 0.336386 - 0.336386)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0953, max=0.7890, mean=0.3333
Batch reconstruction MSE: 0.8684
Archetype stats: min=-9.9711, max=10.6945
Archetype change since last debug: 0.710773
Archetype gradients: norm=0.051274, mean=0.002577
Epoch 1/1
Average loss: 0.8346
Archetypal loss: 0.9223
KLD loss: 0.0452
Reconstruction loss: 0.9223
Archetype R²: 0.0519
Archetype transform grad norm: 0.327486
Archetype transform param norm: 6.6045
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.8346 (range: 0.8346 - 0.8346)
archetypal_loss: 0.9223 (range: 0.9223 - 0.9223)
kld_loss: 0.0452 (range: 0.0452 - 0.0452)
reconstruction_loss: 0.9223 (range: 0.9223 - 0.9223)
archetype_r2: 0.0519 (range: 0.0519 - 0.0519)
Archetype Transform Summary:
archetype_transform_mean: 0.001218 (range: 0.001218 - 0.001218)
archetype_transform_std: 0.092483 (range: 0.092483 - 0.092483)
archetype_transform_norm: 6.604510 (range: 6.604510 - 6.604510)
archetype_transform_grad_norm: 0.327486 (range: 0.327486 - 0.327486)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.1077, max=0.7783, mean=0.3333
Batch reconstruction MSE: 0.8597
Archetype stats: min=-9.9645, max=10.9501
Archetype change since last debug: 0.625641
Archetype gradients: norm=0.033528, mean=0.002013
Epoch 1/1
Average loss: 0.8345
Archetypal loss: 0.9222
KLD loss: 0.0449
Reconstruction loss: 0.9222
Archetype R²: 0.0520
Archetype transform grad norm: 0.338936
Archetype transform param norm: 6.6250
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.8345 (range: 0.8345 - 0.8345)
archetypal_loss: 0.9222 (range: 0.9222 - 0.9222)
kld_loss: 0.0449 (range: 0.0449 - 0.0449)
reconstruction_loss: 0.9222 (range: 0.9222 - 0.9222)
archetype_r2: 0.0520 (range: 0.0520 - 0.0520)
Archetype Transform Summary:
archetype_transform_mean: 0.001264 (range: 0.001264 - 0.001264)
archetype_transform_std: 0.092769 (range: 0.092769 - 0.092769)
archetype_transform_norm: 6.624997 (range: 6.624997 - 6.624997)
archetype_transform_grad_norm: 0.338936 (range: 0.338936 - 0.338936)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0838, max=0.8221, mean=0.3333
Batch reconstruction MSE: 0.8736
Archetype stats: min=-10.2775, max=10.8485
Archetype change since last debug: 0.659230
Archetype gradients: norm=0.058713, mean=0.003031
Epoch 1/1
Average loss: 0.8346
Archetypal loss: 0.9223
KLD loss: 0.0448
Reconstruction loss: 0.9223
Archetype R²: 0.0518
Archetype transform grad norm: 0.331509
Archetype transform param norm: 6.6214
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.8346 (range: 0.8346 - 0.8346)
archetypal_loss: 0.9223 (range: 0.9223 - 0.9223)
kld_loss: 0.0448 (range: 0.0448 - 0.0448)
reconstruction_loss: 0.9223 (range: 0.9223 - 0.9223)
archetype_r2: 0.0518 (range: 0.0518 - 0.0518)
Archetype Transform Summary:
archetype_transform_mean: 0.001219 (range: 0.001219 - 0.001219)
archetype_transform_std: 0.092719 (range: 0.092719 - 0.092719)
archetype_transform_norm: 6.621412 (range: 6.621412 - 6.621412)
archetype_transform_grad_norm: 0.331509 (range: 0.331509 - 0.331509)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.1211, max=0.7382, mean=0.3333
Batch reconstruction MSE: 0.9142
Archetype stats: min=-10.1867, max=11.0518
Archetype change since last debug: 0.560420
Archetype gradients: norm=0.029642, mean=0.001837
Epoch 1/1
Average loss: 0.8355
Archetypal loss: 0.9233
KLD loss: 0.0446
Reconstruction loss: 0.9233
Archetype R²: 0.0506
Archetype transform grad norm: 0.340619
Archetype transform param norm: 6.6306
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.8355 (range: 0.8355 - 0.8355)
archetypal_loss: 0.9233 (range: 0.9233 - 0.9233)
kld_loss: 0.0446 (range: 0.0446 - 0.0446)
reconstruction_loss: 0.9233 (range: 0.9233 - 0.9233)
archetype_r2: 0.0506 (range: 0.0506 - 0.0506)
Archetype Transform Summary:
archetype_transform_mean: 0.001246 (range: 0.001246 - 0.001246)
archetype_transform_std: 0.092848 (range: 0.092848 - 0.092848)
archetype_transform_norm: 6.630601 (range: 6.630601 - 6.630601)
archetype_transform_grad_norm: 0.340619 (range: 0.340619 - 0.340619)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0773, max=0.8330, mean=0.3333
Batch reconstruction MSE: 0.8868
Archetype stats: min=-10.3321, max=10.7916
Archetype change since last debug: 0.537708
Archetype gradients: norm=0.063030, mean=0.003149
Epoch 1/1
Average loss: 0.8348
Archetypal loss: 0.9224
KLD loss: 0.0463
Reconstruction loss: 0.9224
Archetype R²: 0.0517
Archetype transform grad norm: 0.326964
Archetype transform param norm: 6.6199
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.8348 (range: 0.8348 - 0.8348)
archetypal_loss: 0.9224 (range: 0.9224 - 0.9224)
kld_loss: 0.0463 (range: 0.0463 - 0.0463)
reconstruction_loss: 0.9224 (range: 0.9224 - 0.9224)
archetype_r2: 0.0517 (range: 0.0517 - 0.0517)
Archetype Transform Summary:
archetype_transform_mean: 0.001185 (range: 0.001185 - 0.001185)
archetype_transform_std: 0.092699 (range: 0.092699 - 0.092699)
archetype_transform_norm: 6.619913 (range: 6.619913 - 6.619913)
archetype_transform_grad_norm: 0.326964 (range: 0.326964 - 0.326964)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.1026, max=0.7589, mean=0.3333
Batch reconstruction MSE: 0.8966
Archetype stats: min=-10.1693, max=10.9860
Archetype change since last debug: 0.567042
Archetype gradients: norm=0.020118, mean=0.001221
Epoch 1/1
Average loss: 0.8346
Archetypal loss: 0.9226
KLD loss: 0.0424
Reconstruction loss: 0.9226
Archetype R²: 0.0514
Archetype transform grad norm: 0.331490
Archetype transform param norm: 6.6310
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.8346 (range: 0.8346 - 0.8346)
archetypal_loss: 0.9226 (range: 0.9226 - 0.9226)
kld_loss: 0.0424 (range: 0.0424 - 0.0424)
reconstruction_loss: 0.9226 (range: 0.9226 - 0.9226)
archetype_r2: 0.0514 (range: 0.0514 - 0.0514)
Archetype Transform Summary:
archetype_transform_mean: 0.001210 (range: 0.001210 - 0.001210)
archetype_transform_std: 0.092854 (range: 0.092854 - 0.092854)
archetype_transform_norm: 6.631043 (range: 6.631043 - 6.631043)
archetype_transform_grad_norm: 0.331490 (range: 0.331490 - 0.331490)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0647, max=0.8592, mean=0.3333
Batch reconstruction MSE: 0.8453
Archetype stats: min=-10.3604, max=10.8010
Archetype change since last debug: 0.517687
Archetype gradients: norm=0.035254, mean=0.001912
Epoch 1/1
Average loss: 0.8337
Archetypal loss: 0.9212
KLD loss: 0.0464
Reconstruction loss: 0.9212
Archetype R²: 0.0529
Archetype transform grad norm: 0.322244
Archetype transform param norm: 6.6374
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.8337 (range: 0.8337 - 0.8337)
archetypal_loss: 0.9212 (range: 0.9212 - 0.9212)
kld_loss: 0.0464 (range: 0.0464 - 0.0464)
reconstruction_loss: 0.9212 (range: 0.9212 - 0.9212)
archetype_r2: 0.0529 (range: 0.0529 - 0.0529)
Archetype Transform Summary:
archetype_transform_mean: 0.001198 (range: 0.001198 - 0.001198)
archetype_transform_std: 0.092944 (range: 0.092944 - 0.092944)
archetype_transform_norm: 6.637419 (range: 6.637419 - 6.637419)
archetype_transform_grad_norm: 0.322244 (range: 0.322244 - 0.322244)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0893, max=0.8053, mean=0.3333
Batch reconstruction MSE: 0.8831
Archetype stats: min=-10.4517, max=11.0132
Archetype change since last debug: 0.628978
Archetype gradients: norm=0.010856, mean=0.000512
Epoch 1/1
Average loss: 0.8340
Archetypal loss: 0.9221
KLD loss: 0.0410
Reconstruction loss: 0.9221
Archetype R²: 0.0519
Archetype transform grad norm: 0.325894
Archetype transform param norm: 6.6480
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.8340 (range: 0.8340 - 0.8340)
archetypal_loss: 0.9221 (range: 0.9221 - 0.9221)
kld_loss: 0.0410 (range: 0.0410 - 0.0410)
reconstruction_loss: 0.9221 (range: 0.9221 - 0.9221)
archetype_r2: 0.0519 (range: 0.0519 - 0.0519)
Archetype Transform Summary:
archetype_transform_mean: 0.001217 (range: 0.001217 - 0.001217)
archetype_transform_std: 0.093092 (range: 0.093092 - 0.093092)
archetype_transform_norm: 6.648045 (range: 6.648045 - 6.648045)
archetype_transform_grad_norm: 0.325894 (range: 0.325894 - 0.325894)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0679, max=0.8459, mean=0.3333
Batch reconstruction MSE: 0.8389
Archetype stats: min=-10.6102, max=10.9829
Archetype change since last debug: 0.428735
Archetype gradients: norm=0.007429, mean=0.000475
Epoch 1/1
Average loss: 0.8334
Archetypal loss: 0.9209
KLD loss: 0.0458
Reconstruction loss: 0.9209
Archetype R²: 0.0533
Archetype transform grad norm: 0.318498
Archetype transform param norm: 6.6596
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.8334 (range: 0.8334 - 0.8334)
archetypal_loss: 0.9209 (range: 0.9209 - 0.9209)
kld_loss: 0.0458 (range: 0.0458 - 0.0458)
reconstruction_loss: 0.9209 (range: 0.9209 - 0.9209)
archetype_r2: 0.0533 (range: 0.0533 - 0.0533)
Archetype Transform Summary:
archetype_transform_mean: 0.001231 (range: 0.001231 - 0.001231)
archetype_transform_std: 0.093254 (range: 0.093254 - 0.093254)
archetype_transform_norm: 6.659617 (range: 6.659617 - 6.659617)
archetype_transform_grad_norm: 0.318498 (range: 0.318498 - 0.318498)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.1316, max=0.6764, mean=0.3333
Batch reconstruction MSE: 0.8754
Archetype stats: min=-10.8229, max=11.2170
Archetype change since last debug: 0.562742
Archetype gradients: norm=0.026325, mean=0.001440
Epoch 1/1
Average loss: 0.8336
Archetypal loss: 0.9217
KLD loss: 0.0406
Reconstruction loss: 0.9217
Archetype R²: 0.0523
Archetype transform grad norm: 0.324060
Archetype transform param norm: 6.6659
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.8336 (range: 0.8336 - 0.8336)
archetypal_loss: 0.9217 (range: 0.9217 - 0.9217)
kld_loss: 0.0406 (range: 0.0406 - 0.0406)
reconstruction_loss: 0.9217 (range: 0.9217 - 0.9217)
archetype_r2: 0.0523 (range: 0.0523 - 0.0523)
Archetype Transform Summary:
archetype_transform_mean: 0.001233 (range: 0.001233 - 0.001233)
archetype_transform_std: 0.093342 (range: 0.093342 - 0.093342)
archetype_transform_norm: 6.665859 (range: 6.665859 - 6.665859)
archetype_transform_grad_norm: 0.324060 (range: 0.324060 - 0.324060)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0474, max=0.8787, mean=0.3333
Batch reconstruction MSE: 0.8420
Archetype stats: min=-10.8937, max=11.2847
Archetype change since last debug: 0.404040
Archetype gradients: norm=0.017934, mean=0.001125
Epoch 1/1
Average loss: 0.8333
Archetypal loss: 0.9210
KLD loss: 0.0439
Reconstruction loss: 0.9210
Archetype R²: 0.0532
Archetype transform grad norm: 0.329037
Archetype transform param norm: 6.6805
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.8333 (range: 0.8333 - 0.8333)
archetypal_loss: 0.9210 (range: 0.9210 - 0.9210)
kld_loss: 0.0439 (range: 0.0439 - 0.0439)
reconstruction_loss: 0.9210 (range: 0.9210 - 0.9210)
archetype_r2: 0.0532 (range: 0.0532 - 0.0532)
Archetype Transform Summary:
archetype_transform_mean: 0.001259 (range: 0.001259 - 0.001259)
archetype_transform_std: 0.093547 (range: 0.093547 - 0.093547)
archetype_transform_norm: 6.680528 (range: 6.680528 - 6.680528)
archetype_transform_grad_norm: 0.329037 (range: 0.329037 - 0.329037)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0633, max=0.7929, mean=0.3333
Batch reconstruction MSE: 0.9055
Archetype stats: min=-11.1735, max=11.5638
Archetype change since last debug: 0.537585
Archetype gradients: norm=0.062939, mean=0.003365
Epoch 1/1
Average loss: 0.8344
Archetypal loss: 0.9225
KLD loss: 0.0411
Reconstruction loss: 0.9225
Archetype R²: 0.0513
Archetype transform grad norm: 0.340235
Archetype transform param norm: 6.6702
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.8344 (range: 0.8344 - 0.8344)
archetypal_loss: 0.9225 (range: 0.9225 - 0.9225)
kld_loss: 0.0411 (range: 0.0411 - 0.0411)
reconstruction_loss: 0.9225 (range: 0.9225 - 0.9225)
archetype_r2: 0.0513 (range: 0.0513 - 0.0513)
Archetype Transform Summary:
archetype_transform_mean: 0.001219 (range: 0.001219 - 0.001219)
archetype_transform_std: 0.093403 (range: 0.093403 - 0.093403)
archetype_transform_norm: 6.670191 (range: 6.670191 - 6.670191)
archetype_transform_grad_norm: 0.340235 (range: 0.340235 - 0.340235)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0428, max=0.9124, mean=0.3333
Batch reconstruction MSE: 0.8574
Archetype stats: min=-10.9329, max=11.2840
Archetype change since last debug: 0.612672
Archetype gradients: norm=0.043642, mean=0.002642
Epoch 1/1
Average loss: 0.8340
Archetypal loss: 0.9215
KLD loss: 0.0467
Reconstruction loss: 0.9215
Archetype R²: 0.0525
Archetype transform grad norm: 0.341145
Archetype transform param norm: 6.6848
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.8340 (range: 0.8340 - 0.8340)
archetypal_loss: 0.9215 (range: 0.9215 - 0.9215)
kld_loss: 0.0467 (range: 0.0467 - 0.0467)
reconstruction_loss: 0.9215 (range: 0.9215 - 0.9215)
archetype_r2: 0.0525 (range: 0.0525 - 0.0525)
Archetype Transform Summary:
archetype_transform_mean: 0.001265 (range: 0.001265 - 0.001265)
archetype_transform_std: 0.093607 (range: 0.093607 - 0.093607)
archetype_transform_norm: 6.684799 (range: 6.684799 - 6.684799)
archetype_transform_grad_norm: 0.341145 (range: 0.341145 - 0.341145)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0829, max=0.8259, mean=0.3333
Batch reconstruction MSE: 0.8986
Archetype stats: min=-11.2500, max=11.6042
Archetype change since last debug: 0.697031
Archetype gradients: norm=0.094367, mean=0.004842
Epoch 1/1
Average loss: 0.8346
Archetypal loss: 0.9226
KLD loss: 0.0425
Reconstruction loss: 0.9226
Archetype R²: 0.0513
Archetype transform grad norm: 0.351537
Archetype transform param norm: 6.6656
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.8346 (range: 0.8346 - 0.8346)
archetypal_loss: 0.9226 (range: 0.9226 - 0.9226)
kld_loss: 0.0425 (range: 0.0425 - 0.0425)
reconstruction_loss: 0.9226 (range: 0.9226 - 0.9226)
archetype_r2: 0.0513 (range: 0.0513 - 0.0513)
Archetype Transform Summary:
archetype_transform_mean: 0.001195 (range: 0.001195 - 0.001195)
archetype_transform_std: 0.093339 (range: 0.093339 - 0.093339)
archetype_transform_norm: 6.665640 (range: 6.665640 - 6.665640)
archetype_transform_grad_norm: 0.351537 (range: 0.351537 - 0.351537)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0741, max=0.8416, mean=0.3333
Batch reconstruction MSE: 0.9415
Archetype stats: min=-10.8760, max=11.2548
Archetype change since last debug: 0.882940
Archetype gradients: norm=0.078441, mean=0.004681
Epoch 1/1
Average loss: 0.8364
Archetypal loss: 0.9241
KLD loss: 0.0474
Reconstruction loss: 0.9241
Archetype R²: 0.0496
Archetype transform grad norm: 0.374690
Archetype transform param norm: 6.6728
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.8364 (range: 0.8364 - 0.8364)
archetypal_loss: 0.9241 (range: 0.9241 - 0.9241)
kld_loss: 0.0474 (range: 0.0474 - 0.0474)
reconstruction_loss: 0.9241 (range: 0.9241 - 0.9241)
archetype_r2: 0.0496 (range: 0.0496 - 0.0496)
Archetype Transform Summary:
archetype_transform_mean: 0.001235 (range: 0.001235 - 0.001235)
archetype_transform_std: 0.093439 (range: 0.093439 - 0.093439)
archetype_transform_norm: 6.672793 (range: 6.672793 - 6.672793)
archetype_transform_grad_norm: 0.374690 (range: 0.374690 - 0.374690)
[OK] Completed in 37.9s
[STATS] Mean archetype R²: 0.0542
[STATS] Mean validation R²: 0.0542
đź§Ş Configuration 2/20: {'n_archetypes': 3, 'hidden_dims': [256, 128, 64], 'inflation_factor': 1.5, 'use_pcha_init': True, 'use_inflation': True}
Fold 1/3
Model input_dim: 50 (auto-detected from data)
Archetypes parameter registered: True
Archetypes requires_grad: True
Deep_AA (Deep Archetypal Analysis) initialized:
- Single-stage architecture (like Deep_2)
- Inflation factor: 1.5
- Direct archetypal coordinates (no bottleneck)
Consolidated Archetype Initialization
PCHA: True, Inflation: True (factor: 1.5)
Test inflation: False
Running PCHA initialization...
Input shape: (128, 50)
Target archetypes: 3
Running PCHA with 3 archetypes...
Data shape for PCHA: (50, 128)
PCHA Results:
Archetypes shape: (3, 50)
Archetype R²: 0.3230
SSE: 5366.8473
PCHA archetype R²: 0.3230
Archetype shape: (3, 50)
[OK] Initialized 3 archetypes using PCHA
Scalar Archetypal Inflation (factor: 1.50)
[OK] Inflation complete
[STATS] Positioning verification:
Data radius (max): 43.759
Data radius (mean): 6.629
Archetype distances: 8.562 to 58.808
Archetypes outside data: 1/3
Min archetype separation: 20.168
[OK] Archetype initialization complete (success: True)
[OK] Archetype initialization complete (PCHA: True, Inflation: 1.5)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0069, max=0.9307, mean=0.3333
Batch reconstruction MSE: 1.6364
Archetype stats: min=-5.3649, max=5.3540
Archetype gradients: norm=0.039254, mean=0.002488
Epoch 1/1
Average loss: 0.9052
Archetypal loss: 0.9992
KLD loss: 0.0594
Reconstruction loss: 0.9992
Archetype R²: -0.0477
Archetype transform grad norm: 0.649419
Archetype transform param norm: 5.7581
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.9052 (range: 0.9052 - 0.9052)
archetypal_loss: 0.9992 (range: 0.9992 - 0.9992)
kld_loss: 0.0594 (range: 0.0594 - 0.0594)
reconstruction_loss: 0.9992 (range: 0.9992 - 0.9992)
archetype_r2: -0.0477 (range: -0.0477 - -0.0477)
Archetype Transform Summary:
archetype_transform_mean: -0.001697 (range: -0.001697 - -0.001697)
archetype_transform_std: 0.080619 (range: 0.080619 - 0.080619)
archetype_transform_norm: 5.758102 (range: 5.758102 - 5.758102)
archetype_transform_grad_norm: 0.649419 (range: 0.649419 - 0.649419)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0050, max=0.9814, mean=0.3333
Batch reconstruction MSE: 1.0743
Archetype stats: min=-1.4714, max=1.2905
Archetype change since last debug: 11.510160
Archetype gradients: norm=0.006743, mean=0.000427
Epoch 1/1
Average loss: 0.8600
Archetypal loss: 0.9509
KLD loss: 0.0417
Reconstruction loss: 0.9509
Archetype R²: 0.0014
Archetype transform grad norm: 0.317762
Archetype transform param norm: 5.7541
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.8600 (range: 0.8600 - 0.8600)
archetypal_loss: 0.9509 (range: 0.9509 - 0.9509)
kld_loss: 0.0417 (range: 0.0417 - 0.0417)
reconstruction_loss: 0.9509 (range: 0.9509 - 0.9509)
archetype_r2: 0.0014 (range: 0.0014 - 0.0014)
Archetype Transform Summary:
archetype_transform_mean: -0.001699 (range: -0.001699 - -0.001699)
archetype_transform_std: 0.080563 (range: 0.080563 - 0.080563)
archetype_transform_norm: 5.754065 (range: 5.754065 - 5.754065)
archetype_transform_grad_norm: 0.317762 (range: 0.317762 - 0.317762)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0067, max=0.9504, mean=0.3333
Batch reconstruction MSE: 1.0789
Archetype stats: min=-2.2904, max=2.0281
Archetype change since last debug: 2.708651
Archetype gradients: norm=0.007008, mean=0.000446
Epoch 1/1
Average loss: 0.8480
Archetypal loss: 0.9354
KLD loss: 0.0619
Reconstruction loss: 0.9354
Archetype R²: 0.0178
Archetype transform grad norm: 0.365503
Archetype transform param norm: 5.7800
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.8480 (range: 0.8480 - 0.8480)
archetypal_loss: 0.9354 (range: 0.9354 - 0.9354)
kld_loss: 0.0619 (range: 0.0619 - 0.0619)
reconstruction_loss: 0.9354 (range: 0.9354 - 0.9354)
archetype_r2: 0.0178 (range: 0.0178 - 0.0178)
Archetype Transform Summary:
archetype_transform_mean: -0.001573 (range: -0.001573 - -0.001573)
archetype_transform_std: 0.080929 (range: 0.080929 - 0.080929)
archetype_transform_norm: 5.779996 (range: 5.779996 - 5.779996)
archetype_transform_grad_norm: 0.365503 (range: 0.365503 - 0.365503)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0097, max=0.9393, mean=0.3333
Batch reconstruction MSE: 1.1038
Archetype stats: min=-3.9684, max=3.6421
Archetype change since last debug: 4.278895
Archetype gradients: norm=0.009659, mean=0.000587
Epoch 1/1
Average loss: 0.8397
Archetypal loss: 0.9256
KLD loss: 0.0665
Reconstruction loss: 0.9256
Archetype R²: 0.0282
Archetype transform grad norm: 0.377896
Archetype transform param norm: 5.8298
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.8397 (range: 0.8397 - 0.8397)
archetypal_loss: 0.9256 (range: 0.9256 - 0.9256)
kld_loss: 0.0665 (range: 0.0665 - 0.0665)
reconstruction_loss: 0.9256 (range: 0.9256 - 0.9256)
archetype_r2: 0.0282 (range: 0.0282 - 0.0282)
Archetype Transform Summary:
archetype_transform_mean: -0.001508 (range: -0.001508 - -0.001508)
archetype_transform_std: 0.081627 (range: 0.081627 - 0.081627)
archetype_transform_norm: 5.829786 (range: 5.829786 - 5.829786)
archetype_transform_grad_norm: 0.377896 (range: 0.377896 - 0.377896)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0136, max=0.9139, mean=0.3333
Batch reconstruction MSE: 1.1101
Archetype stats: min=-5.7607, max=5.1187
Archetype change since last debug: 4.313300
Archetype gradients: norm=0.012989, mean=0.000724
Epoch 1/1
Average loss: 0.8318
Archetypal loss: 0.9159
KLD loss: 0.0755
Reconstruction loss: 0.9159
Archetype R²: 0.0385
Archetype transform grad norm: 0.392456
Archetype transform param norm: 5.9129
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.8318 (range: 0.8318 - 0.8318)
archetypal_loss: 0.9159 (range: 0.9159 - 0.9159)
kld_loss: 0.0755 (range: 0.0755 - 0.0755)
reconstruction_loss: 0.9159 (range: 0.9159 - 0.9159)
archetype_r2: 0.0385 (range: 0.0385 - 0.0385)
Archetype Transform Summary:
archetype_transform_mean: -0.001559 (range: -0.001559 - -0.001559)
archetype_transform_std: 0.082791 (range: 0.082791 - 0.082791)
archetype_transform_norm: 5.912931 (range: 5.912931 - 5.912931)
archetype_transform_grad_norm: 0.392456 (range: 0.392456 - 0.392456)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0125, max=0.8926, mean=0.3333
Batch reconstruction MSE: 1.1365
Archetype stats: min=-7.4129, max=6.3733
Archetype change since last debug: 4.509531
Archetype gradients: norm=0.021396, mean=0.001091
Epoch 1/1
Average loss: 0.8275
Archetypal loss: 0.9119
KLD loss: 0.0680
Reconstruction loss: 0.9119
Archetype R²: 0.0427
Archetype transform grad norm: 0.407995
Archetype transform param norm: 5.9855
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.8275 (range: 0.8275 - 0.8275)
archetypal_loss: 0.9119 (range: 0.9119 - 0.9119)
kld_loss: 0.0680 (range: 0.0680 - 0.0680)
reconstruction_loss: 0.9119 (range: 0.9119 - 0.9119)
archetype_r2: 0.0427 (range: 0.0427 - 0.0427)
Archetype Transform Summary:
archetype_transform_mean: -0.001620 (range: -0.001620 - -0.001620)
archetype_transform_std: 0.083807 (range: 0.083807 - 0.083807)
archetype_transform_norm: 5.985548 (range: 5.985548 - 5.985548)
archetype_transform_grad_norm: 0.407995 (range: 0.407995 - 0.407995)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0321, max=0.8807, mean=0.3333
Batch reconstruction MSE: 1.1486
Archetype stats: min=-8.6291, max=7.1715
Archetype change since last debug: 3.110740
Archetype gradients: norm=0.017073, mean=0.000956
Epoch 1/1
Average loss: 0.8256
Archetypal loss: 0.9104
KLD loss: 0.0629
Reconstruction loss: 0.9104
Archetype R²: 0.0444
Archetype transform grad norm: 0.420339
Archetype transform param norm: 6.0323
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.8256 (range: 0.8256 - 0.8256)
archetypal_loss: 0.9104 (range: 0.9104 - 0.9104)
kld_loss: 0.0629 (range: 0.0629 - 0.0629)
reconstruction_loss: 0.9104 (range: 0.9104 - 0.9104)
archetype_r2: 0.0444 (range: 0.0444 - 0.0444)
Archetype Transform Summary:
archetype_transform_mean: -0.001684 (range: -0.001684 - -0.001684)
archetype_transform_std: 0.084461 (range: 0.084461 - 0.084461)
archetype_transform_norm: 6.032312 (range: 6.032312 - 6.032312)
archetype_transform_grad_norm: 0.420339 (range: 0.420339 - 0.420339)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0293, max=0.8530, mean=0.3333
Batch reconstruction MSE: 1.2144
Archetype stats: min=-9.1990, max=7.6192
Archetype change since last debug: 2.040550
Archetype gradients: norm=0.019723, mean=0.001189
Epoch 1/1
Average loss: 0.8258
Archetypal loss: 0.9108
KLD loss: 0.0613
Reconstruction loss: 0.9108
Archetype R²: 0.0441
Archetype transform grad norm: 0.415256
Archetype transform param norm: 6.0568
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.8258 (range: 0.8258 - 0.8258)
archetypal_loss: 0.9108 (range: 0.9108 - 0.9108)
kld_loss: 0.0613 (range: 0.0613 - 0.0613)
reconstruction_loss: 0.9108 (range: 0.9108 - 0.9108)
archetype_r2: 0.0441 (range: 0.0441 - 0.0441)
Archetype Transform Summary:
archetype_transform_mean: -0.001697 (range: -0.001697 - -0.001697)
archetype_transform_std: 0.084804 (range: 0.084804 - 0.084804)
archetype_transform_norm: 6.056818 (range: 6.056818 - 6.056818)
archetype_transform_grad_norm: 0.415256 (range: 0.415256 - 0.415256)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0288, max=0.9011, mean=0.3333
Batch reconstruction MSE: 1.2239
Archetype stats: min=-9.4089, max=7.6422
Archetype change since last debug: 1.256815
Archetype gradients: norm=0.019830, mean=0.001185
Epoch 1/1
Average loss: 0.8267
Archetypal loss: 0.9112
KLD loss: 0.0661
Reconstruction loss: 0.9112
Archetype R²: 0.0436
Archetype transform grad norm: 0.446483
Archetype transform param norm: 6.0652
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.8267 (range: 0.8267 - 0.8267)
archetypal_loss: 0.9112 (range: 0.9112 - 0.9112)
kld_loss: 0.0661 (range: 0.0661 - 0.0661)
reconstruction_loss: 0.9112 (range: 0.9112 - 0.9112)
archetype_r2: 0.0436 (range: 0.0436 - 0.0436)
Archetype Transform Summary:
archetype_transform_mean: -0.001750 (range: -0.001750 - -0.001750)
archetype_transform_std: 0.084920 (range: 0.084920 - 0.084920)
archetype_transform_norm: 6.065206 (range: 6.065206 - 6.065206)
archetype_transform_grad_norm: 0.446483 (range: 0.446483 - 0.446483)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0500, max=0.7522, mean=0.3333
Batch reconstruction MSE: 1.2092
Archetype stats: min=-8.9935, max=7.4667
Archetype change since last debug: 1.206594
Archetype gradients: norm=0.026912, mean=0.001578
Epoch 1/1
Average loss: 0.8250
Archetypal loss: 0.9097
KLD loss: 0.0622
Reconstruction loss: 0.9097
Archetype R²: 0.0451
Archetype transform grad norm: 0.405048
Archetype transform param norm: 6.0782
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.8250 (range: 0.8250 - 0.8250)
archetypal_loss: 0.9097 (range: 0.9097 - 0.9097)
kld_loss: 0.0622 (range: 0.0622 - 0.0622)
reconstruction_loss: 0.9097 (range: 0.9097 - 0.9097)
archetype_r2: 0.0451 (range: 0.0451 - 0.0451)
Archetype Transform Summary:
archetype_transform_mean: -0.001704 (range: -0.001704 - -0.001704)
archetype_transform_std: 0.085103 (range: 0.085103 - 0.085103)
archetype_transform_norm: 6.078182 (range: 6.078182 - 6.078182)
archetype_transform_grad_norm: 0.405048 (range: 0.405048 - 0.405048)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0384, max=0.7724, mean=0.3333
Batch reconstruction MSE: 1.1013
Archetype stats: min=-9.1882, max=7.6006
Archetype change since last debug: 0.932530
Archetype gradients: norm=0.011157, mean=0.000671
Epoch 1/1
Average loss: 0.8220
Archetypal loss: 0.9067
KLD loss: 0.0593
Reconstruction loss: 0.9067
Archetype R²: 0.0481
Archetype transform grad norm: 0.408057
Archetype transform param norm: 6.1062
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.8220 (range: 0.8220 - 0.8220)
archetypal_loss: 0.9067 (range: 0.9067 - 0.9067)
kld_loss: 0.0593 (range: 0.0593 - 0.0593)
reconstruction_loss: 0.9067 (range: 0.9067 - 0.9067)
archetype_r2: 0.0481 (range: 0.0481 - 0.0481)
Archetype Transform Summary:
archetype_transform_mean: -0.001742 (range: -0.001742 - -0.001742)
archetype_transform_std: 0.085495 (range: 0.085495 - 0.085495)
archetype_transform_norm: 6.106221 (range: 6.106221 - 6.106221)
archetype_transform_grad_norm: 0.408057 (range: 0.408057 - 0.408057)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0424, max=0.6476, mean=0.3333
Batch reconstruction MSE: 1.0721
Archetype stats: min=-9.8410, max=8.0152
Archetype change since last debug: 1.537304
Archetype gradients: norm=0.008882, mean=0.000552
Epoch 1/1
Average loss: 0.8205
Archetypal loss: 0.9057
KLD loss: 0.0542
Reconstruction loss: 0.9057
Archetype R²: 0.0491
Archetype transform grad norm: 0.409810
Archetype transform param norm: 6.1365
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.8205 (range: 0.8205 - 0.8205)
archetypal_loss: 0.9057 (range: 0.9057 - 0.9057)
kld_loss: 0.0542 (range: 0.0542 - 0.0542)
reconstruction_loss: 0.9057 (range: 0.9057 - 0.9057)
archetype_r2: 0.0491 (range: 0.0491 - 0.0491)
Archetype Transform Summary:
archetype_transform_mean: -0.001749 (range: -0.001749 - -0.001749)
archetype_transform_std: 0.085918 (range: 0.085918 - 0.085918)
archetype_transform_norm: 6.136463 (range: 6.136463 - 6.136463)
archetype_transform_grad_norm: 0.409810 (range: 0.409810 - 0.409810)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0504, max=0.6571, mean=0.3333
Batch reconstruction MSE: 1.0791
Archetype stats: min=-10.5445, max=8.4699
Archetype change since last debug: 1.581282
Archetype gradients: norm=0.006507, mean=0.000420
Epoch 1/1
Average loss: 0.8204
Archetypal loss: 0.9059
KLD loss: 0.0516
Reconstruction loss: 0.9059
Archetype R²: 0.0489
Archetype transform grad norm: 0.426361
Archetype transform param norm: 6.1592
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.8204 (range: 0.8204 - 0.8204)
archetypal_loss: 0.9059 (range: 0.9059 - 0.9059)
kld_loss: 0.0516 (range: 0.0516 - 0.0516)
reconstruction_loss: 0.9059 (range: 0.9059 - 0.9059)
archetype_r2: 0.0489 (range: 0.0489 - 0.0489)
Archetype Transform Summary:
archetype_transform_mean: -0.001780 (range: -0.001780 - -0.001780)
archetype_transform_std: 0.086236 (range: 0.086236 - 0.086236)
archetype_transform_norm: 6.159179 (range: 6.159179 - 6.159179)
archetype_transform_grad_norm: 0.426361 (range: 0.426361 - 0.426361)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0601, max=0.6560, mean=0.3333
Batch reconstruction MSE: 1.1254
Archetype stats: min=-10.9040, max=8.7334
Archetype change since last debug: 0.994891
Archetype gradients: norm=0.020113, mean=0.001163
Epoch 1/1
Average loss: 0.8211
Archetypal loss: 0.9066
KLD loss: 0.0515
Reconstruction loss: 0.9066
Archetype R²: 0.0482
Archetype transform grad norm: 0.417001
Archetype transform param norm: 6.1675
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.8211 (range: 0.8211 - 0.8211)
archetypal_loss: 0.9066 (range: 0.9066 - 0.9066)
kld_loss: 0.0515 (range: 0.0515 - 0.0515)
reconstruction_loss: 0.9066 (range: 0.9066 - 0.9066)
archetype_r2: 0.0482 (range: 0.0482 - 0.0482)
Archetype Transform Summary:
archetype_transform_mean: -0.001759 (range: -0.001759 - -0.001759)
archetype_transform_std: 0.086352 (range: 0.086352 - 0.086352)
archetype_transform_norm: 6.167460 (range: 6.167460 - 6.167460)
archetype_transform_grad_norm: 0.417001 (range: 0.417001 - 0.417001)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0653, max=0.6837, mean=0.3333
Batch reconstruction MSE: 1.1634
Archetype stats: min=-11.0949, max=8.7660
Archetype change since last debug: 0.583988
Archetype gradients: norm=0.011952, mean=0.000689
Epoch 1/1
Average loss: 0.8220
Archetypal loss: 0.9075
KLD loss: 0.0518
Reconstruction loss: 0.9075
Archetype R²: 0.0473
Archetype transform grad norm: 0.443882
Archetype transform param norm: 6.1700
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.8220 (range: 0.8220 - 0.8220)
archetypal_loss: 0.9075 (range: 0.9075 - 0.9075)
kld_loss: 0.0518 (range: 0.0518 - 0.0518)
reconstruction_loss: 0.9075 (range: 0.9075 - 0.9075)
archetype_r2: 0.0473 (range: 0.0473 - 0.0473)
Archetype Transform Summary:
archetype_transform_mean: -0.001811 (range: -0.001811 - -0.001811)
archetype_transform_std: 0.086387 (range: 0.086387 - 0.086387)
archetype_transform_norm: 6.170048 (range: 6.170048 - 6.170048)
archetype_transform_grad_norm: 0.443882 (range: 0.443882 - 0.443882)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0573, max=0.7348, mean=0.3333
Batch reconstruction MSE: 1.0999
Archetype stats: min=-10.7862, max=8.6296
Archetype change since last debug: 0.670460
Archetype gradients: norm=0.029761, mean=0.001662
Epoch 1/1
Average loss: 0.8206
Archetypal loss: 0.9058
KLD loss: 0.0540
Reconstruction loss: 0.9058
Archetype R²: 0.0490
Archetype transform grad norm: 0.419854
Archetype transform param norm: 6.1726
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.8206 (range: 0.8206 - 0.8206)
archetypal_loss: 0.9058 (range: 0.9058 - 0.9058)
kld_loss: 0.0540 (range: 0.0540 - 0.0540)
reconstruction_loss: 0.9058 (range: 0.9058 - 0.9058)
archetype_r2: 0.0490 (range: 0.0490 - 0.0490)
Archetype Transform Summary:
archetype_transform_mean: -0.001737 (range: -0.001737 - -0.001737)
archetype_transform_std: 0.086425 (range: 0.086425 - 0.086425)
archetype_transform_norm: 6.172638 (range: 6.172638 - 6.172638)
archetype_transform_grad_norm: 0.419854 (range: 0.419854 - 0.419854)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0949, max=0.6175, mean=0.3333
Batch reconstruction MSE: 1.1191
Archetype stats: min=-11.1194, max=8.8897
Archetype change since last debug: 0.802866
Archetype gradients: norm=0.019332, mean=0.001177
Epoch 1/1
Average loss: 0.8211
Archetypal loss: 0.9066
KLD loss: 0.0512
Reconstruction loss: 0.9066
Archetype R²: 0.0482
Archetype transform grad norm: 0.460439
Archetype transform param norm: 6.1873
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.8211 (range: 0.8211 - 0.8211)
archetypal_loss: 0.9066 (range: 0.9066 - 0.9066)
kld_loss: 0.0512 (range: 0.0512 - 0.0512)
reconstruction_loss: 0.9066 (range: 0.9066 - 0.9066)
archetype_r2: 0.0482 (range: 0.0482 - 0.0482)
Archetype Transform Summary:
archetype_transform_mean: -0.001821 (range: -0.001821 - -0.001821)
archetype_transform_std: 0.086630 (range: 0.086630 - 0.086630)
archetype_transform_norm: 6.187348 (range: 6.187348 - 6.187348)
archetype_transform_grad_norm: 0.460439 (range: 0.460439 - 0.460439)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0876, max=0.6888, mean=0.3333
Batch reconstruction MSE: 1.1009
Archetype stats: min=-10.8888, max=8.8676
Archetype change since last debug: 0.640381
Archetype gradients: norm=0.036800, mean=0.002110
Epoch 1/1
Average loss: 0.8204
Archetypal loss: 0.9058
KLD loss: 0.0525
Reconstruction loss: 0.9058
Archetype R²: 0.0490
Archetype transform grad norm: 0.430198
Archetype transform param norm: 6.1869
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.8204 (range: 0.8204 - 0.8204)
archetypal_loss: 0.9058 (range: 0.9058 - 0.9058)
kld_loss: 0.0525 (range: 0.0525 - 0.0525)
reconstruction_loss: 0.9058 (range: 0.9058 - 0.9058)
archetype_r2: 0.0490 (range: 0.0490 - 0.0490)
Archetype Transform Summary:
archetype_transform_mean: -0.001730 (range: -0.001730 - -0.001730)
archetype_transform_std: 0.086625 (range: 0.086625 - 0.086625)
archetype_transform_norm: 6.186906 (range: 6.186906 - 6.186906)
archetype_transform_grad_norm: 0.430198 (range: 0.430198 - 0.430198)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0963, max=0.6056, mean=0.3333
Batch reconstruction MSE: 1.1162
Archetype stats: min=-11.3324, max=9.0076
Archetype change since last debug: 0.797797
Archetype gradients: norm=0.024954, mean=0.001566
Epoch 1/1
Average loss: 0.8217
Archetypal loss: 0.9073
KLD loss: 0.0521
Reconstruction loss: 0.9073
Archetype R²: 0.0475
Archetype transform grad norm: 0.508035
Archetype transform param norm: 6.1992
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.8217 (range: 0.8217 - 0.8217)
archetypal_loss: 0.9073 (range: 0.9073 - 0.9073)
kld_loss: 0.0521 (range: 0.0521 - 0.0521)
reconstruction_loss: 0.9073 (range: 0.9073 - 0.9073)
archetype_r2: 0.0475 (range: 0.0475 - 0.0475)
Archetype Transform Summary:
archetype_transform_mean: -0.001832 (range: -0.001832 - -0.001832)
archetype_transform_std: 0.086795 (range: 0.086795 - 0.086795)
archetype_transform_norm: 6.199206 (range: 6.199206 - 6.199206)
archetype_transform_grad_norm: 0.508035 (range: 0.508035 - 0.508035)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0887, max=0.6562, mean=0.3333
Batch reconstruction MSE: 1.1315
Archetype stats: min=-10.8246, max=8.9985
Archetype change since last debug: 0.912998
Archetype gradients: norm=0.035033, mean=0.002226
Epoch 1/1
Average loss: 0.8206
Archetypal loss: 0.9063
KLD loss: 0.0500
Reconstruction loss: 0.9063
Archetype R²: 0.0485
Archetype transform grad norm: 0.430912
Archetype transform param norm: 6.1923
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.8206 (range: 0.8206 - 0.8206)
archetypal_loss: 0.9063 (range: 0.9063 - 0.9063)
kld_loss: 0.0500 (range: 0.0500 - 0.0500)
reconstruction_loss: 0.9063 (range: 0.9063 - 0.9063)
archetype_r2: 0.0485 (range: 0.0485 - 0.0485)
Archetype Transform Summary:
archetype_transform_mean: -0.001731 (range: -0.001731 - -0.001731)
archetype_transform_std: 0.086700 (range: 0.086700 - 0.086700)
archetype_transform_norm: 6.192281 (range: 6.192281 - 6.192281)
archetype_transform_grad_norm: 0.430912 (range: 0.430912 - 0.430912)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0936, max=0.5611, mean=0.3333
Batch reconstruction MSE: 1.0840
Archetype stats: min=-11.1065, max=8.8786
Archetype change since last debug: 0.556716
Archetype gradients: norm=0.013972, mean=0.000899
Epoch 1/1
Average loss: 0.8204
Archetypal loss: 0.9059
KLD loss: 0.0513
Reconstruction loss: 0.9059
Archetype R²: 0.0488
Archetype transform grad norm: 0.489277
Archetype transform param norm: 6.2072
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.8204 (range: 0.8204 - 0.8204)
archetypal_loss: 0.9059 (range: 0.9059 - 0.9059)
kld_loss: 0.0513 (range: 0.0513 - 0.0513)
reconstruction_loss: 0.9059 (range: 0.9059 - 0.9059)
archetype_r2: 0.0488 (range: 0.0488 - 0.0488)
Archetype Transform Summary:
archetype_transform_mean: -0.001789 (range: -0.001789 - -0.001789)
archetype_transform_std: 0.086908 (range: 0.086908 - 0.086908)
archetype_transform_norm: 6.207167 (range: 6.207167 - 6.207167)
archetype_transform_grad_norm: 0.489277 (range: 0.489277 - 0.489277)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0891, max=0.6948, mean=0.3333
Batch reconstruction MSE: 1.1249
Archetype stats: min=-11.1297, max=8.9815
Archetype change since last debug: 0.619717
Archetype gradients: norm=0.022412, mean=0.001286
Epoch 1/1
Average loss: 0.8198
Archetypal loss: 0.9057
KLD loss: 0.0467
Reconstruction loss: 0.9057
Archetype R²: 0.0491
Archetype transform grad norm: 0.416889
Archetype transform param norm: 6.2078
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.8198 (range: 0.8198 - 0.8198)
archetypal_loss: 0.9057 (range: 0.9057 - 0.9057)
kld_loss: 0.0467 (range: 0.0467 - 0.0467)
reconstruction_loss: 0.9057 (range: 0.9057 - 0.9057)
archetype_r2: 0.0491 (range: 0.0491 - 0.0491)
Archetype Transform Summary:
archetype_transform_mean: -0.001746 (range: -0.001746 - -0.001746)
archetype_transform_std: 0.086917 (range: 0.086917 - 0.086917)
archetype_transform_norm: 6.207782 (range: 6.207782 - 6.207782)
archetype_transform_grad_norm: 0.416889 (range: 0.416889 - 0.416889)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0948, max=0.6583, mean=0.3333
Batch reconstruction MSE: 1.0961
Archetype stats: min=-11.2956, max=8.8586
Archetype change since last debug: 0.613642
Archetype gradients: norm=0.018839, mean=0.001234
Epoch 1/1
Average loss: 0.8198
Archetypal loss: 0.9055
KLD loss: 0.0487
Reconstruction loss: 0.9055
Archetype R²: 0.0493
Archetype transform grad norm: 0.466074
Archetype transform param norm: 6.2129
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.8198 (range: 0.8198 - 0.8198)
archetypal_loss: 0.9055 (range: 0.9055 - 0.9055)
kld_loss: 0.0487 (range: 0.0487 - 0.0487)
reconstruction_loss: 0.9055 (range: 0.9055 - 0.9055)
archetype_r2: 0.0493 (range: 0.0493 - 0.0493)
Archetype Transform Summary:
archetype_transform_mean: -0.001776 (range: -0.001776 - -0.001776)
archetype_transform_std: 0.086989 (range: 0.086989 - 0.086989)
archetype_transform_norm: 6.212911 (range: 6.212911 - 6.212911)
archetype_transform_grad_norm: 0.466074 (range: 0.466074 - 0.466074)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.1018, max=0.5703, mean=0.3333
Batch reconstruction MSE: 1.0930
Archetype stats: min=-11.2950, max=9.0369
Archetype change since last debug: 0.488460
Archetype gradients: norm=0.016787, mean=0.000966
Epoch 1/1
Average loss: 0.8189
Archetypal loss: 0.9048
KLD loss: 0.0454
Reconstruction loss: 0.9048
Archetype R²: 0.0500
Archetype transform grad norm: 0.415489
Archetype transform param norm: 6.2224
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.8189 (range: 0.8189 - 0.8189)
archetypal_loss: 0.9048 (range: 0.9048 - 0.9048)
kld_loss: 0.0454 (range: 0.0454 - 0.0454)
reconstruction_loss: 0.9048 (range: 0.9048 - 0.9048)
archetype_r2: 0.0500 (range: 0.0500 - 0.0500)
Archetype Transform Summary:
archetype_transform_mean: -0.001744 (range: -0.001744 - -0.001744)
archetype_transform_std: 0.087122 (range: 0.087122 - 0.087122)
archetype_transform_norm: 6.222400 (range: 6.222400 - 6.222400)
archetype_transform_grad_norm: 0.415489 (range: 0.415489 - 0.415489)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0908, max=0.5910, mean=0.3333
Batch reconstruction MSE: 1.0661
Archetype stats: min=-11.6560, max=9.0899
Archetype change since last debug: 0.757315
Archetype gradients: norm=0.014611, mean=0.000972
Epoch 1/1
Average loss: 0.8185
Archetypal loss: 0.9043
KLD loss: 0.0460
Reconstruction loss: 0.9043
Archetype R²: 0.0504
Archetype transform grad norm: 0.442435
Archetype transform param norm: 6.2324
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.8185 (range: 0.8185 - 0.8185)
archetypal_loss: 0.9043 (range: 0.9043 - 0.9043)
kld_loss: 0.0460 (range: 0.0460 - 0.0460)
reconstruction_loss: 0.9043 (range: 0.9043 - 0.9043)
archetype_r2: 0.0504 (range: 0.0504 - 0.0504)
Archetype Transform Summary:
archetype_transform_mean: -0.001770 (range: -0.001770 - -0.001770)
archetype_transform_std: 0.087261 (range: 0.087261 - 0.087261)
archetype_transform_norm: 6.232378 (range: 6.232378 - 6.232378)
archetype_transform_grad_norm: 0.442435 (range: 0.442435 - 0.442435)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.1130, max=0.5635, mean=0.3333
Batch reconstruction MSE: 1.0779
Archetype stats: min=-11.6618, max=9.3444
Archetype change since last debug: 0.688229
Archetype gradients: norm=0.015070, mean=0.000866
Epoch 1/1
Average loss: 0.8180
Archetypal loss: 0.9041
KLD loss: 0.0429
Reconstruction loss: 0.9041
Archetype R²: 0.0506
Archetype transform grad norm: 0.406909
Archetype transform param norm: 6.2447
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.8180 (range: 0.8180 - 0.8180)
archetypal_loss: 0.9041 (range: 0.9041 - 0.9041)
kld_loss: 0.0429 (range: 0.0429 - 0.0429)
reconstruction_loss: 0.9041 (range: 0.9041 - 0.9041)
archetype_r2: 0.0506 (range: 0.0506 - 0.0506)
Archetype Transform Summary:
archetype_transform_mean: -0.001745 (range: -0.001745 - -0.001745)
archetype_transform_std: 0.087435 (range: 0.087435 - 0.087435)
archetype_transform_norm: 6.244748 (range: 6.244748 - 6.244748)
archetype_transform_grad_norm: 0.406909 (range: 0.406909 - 0.406909)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.1204, max=0.5899, mean=0.3333
Batch reconstruction MSE: 1.0590
Archetype stats: min=-12.0792, max=9.4008
Archetype change since last debug: 0.942824
Archetype gradients: norm=0.013096, mean=0.000873
Epoch 1/1
Average loss: 0.8181
Archetypal loss: 0.9041
KLD loss: 0.0441
Reconstruction loss: 0.9041
Archetype R²: 0.0506
Archetype transform grad norm: 0.439446
Archetype transform param norm: 6.2545
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.8181 (range: 0.8181 - 0.8181)
archetypal_loss: 0.9041 (range: 0.9041 - 0.9041)
kld_loss: 0.0441 (range: 0.0441 - 0.0441)
reconstruction_loss: 0.9041 (range: 0.9041 - 0.9041)
archetype_r2: 0.0506 (range: 0.0506 - 0.0506)
Archetype Transform Summary:
archetype_transform_mean: -0.001773 (range: -0.001773 - -0.001773)
archetype_transform_std: 0.087571 (range: 0.087571 - 0.087571)
archetype_transform_norm: 6.254484 (range: 6.254484 - 6.254484)
archetype_transform_grad_norm: 0.439446 (range: 0.439446 - 0.439446)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.1302, max=0.5540, mean=0.3333
Batch reconstruction MSE: 1.0946
Archetype stats: min=-11.9193, max=9.5722
Archetype change since last debug: 0.590734
Archetype gradients: norm=0.017191, mean=0.001057
Epoch 1/1
Average loss: 0.8180
Archetypal loss: 0.9044
KLD loss: 0.0402
Reconstruction loss: 0.9044
Archetype R²: 0.0503
Archetype transform grad norm: 0.413578
Archetype transform param norm: 6.2606
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.8180 (range: 0.8180 - 0.8180)
archetypal_loss: 0.9044 (range: 0.9044 - 0.9044)
kld_loss: 0.0402 (range: 0.0402 - 0.0402)
reconstruction_loss: 0.9044 (range: 0.9044 - 0.9044)
archetype_r2: 0.0503 (range: 0.0503 - 0.0503)
Archetype Transform Summary:
archetype_transform_mean: -0.001733 (range: -0.001733 - -0.001733)
archetype_transform_std: 0.087657 (range: 0.087657 - 0.087657)
archetype_transform_norm: 6.260603 (range: 6.260603 - 6.260603)
archetype_transform_grad_norm: 0.413578 (range: 0.413578 - 0.413578)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.1336, max=0.5864, mean=0.3333
Batch reconstruction MSE: 1.0546
Archetype stats: min=-12.2659, max=9.4629
Archetype change since last debug: 0.662265
Archetype gradients: norm=0.009627, mean=0.000615
Epoch 1/1
Average loss: 0.8179
Archetypal loss: 0.9038
KLD loss: 0.0446
Reconstruction loss: 0.9038
Archetype R²: 0.0509
Archetype transform grad norm: 0.430712
Archetype transform param norm: 6.2708
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.8179 (range: 0.8179 - 0.8179)
archetypal_loss: 0.9038 (range: 0.9038 - 0.9038)
kld_loss: 0.0446 (range: 0.0446 - 0.0446)
reconstruction_loss: 0.9038 (range: 0.9038 - 0.9038)
archetype_r2: 0.0509 (range: 0.0509 - 0.0509)
Archetype Transform Summary:
archetype_transform_mean: -0.001761 (range: -0.001761 - -0.001761)
archetype_transform_std: 0.087800 (range: 0.087800 - 0.087800)
archetype_transform_norm: 6.270799 (range: 6.270799 - 6.270799)
archetype_transform_grad_norm: 0.430712 (range: 0.430712 - 0.430712)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0902, max=0.6008, mean=0.3333
Batch reconstruction MSE: 1.1521
Archetype stats: min=-12.1201, max=9.6297
Archetype change since last debug: 0.575621
Archetype gradients: norm=0.026088, mean=0.001536
Epoch 1/1
Average loss: 0.8187
Archetypal loss: 0.9055
KLD loss: 0.0377
Reconstruction loss: 0.9055
Archetype R²: 0.0493
Archetype transform grad norm: 0.400274
Archetype transform param norm: 6.2598
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.8187 (range: 0.8187 - 0.8187)
archetypal_loss: 0.9055 (range: 0.9055 - 0.9055)
kld_loss: 0.0377 (range: 0.0377 - 0.0377)
reconstruction_loss: 0.9055 (range: 0.9055 - 0.9055)
archetype_r2: 0.0493 (range: 0.0493 - 0.0493)
Archetype Transform Summary:
archetype_transform_mean: -0.001719 (range: -0.001719 - -0.001719)
archetype_transform_std: 0.087646 (range: 0.087646 - 0.087646)
archetype_transform_norm: 6.259764 (range: 6.259764 - 6.259764)
archetype_transform_grad_norm: 0.400274 (range: 0.400274 - 0.400274)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.1261, max=0.6323, mean=0.3333
Batch reconstruction MSE: 1.0718
Archetype stats: min=-12.1050, max=9.3945
Archetype change since last debug: 0.681603
Archetype gradients: norm=0.007935, mean=0.000534
Epoch 1/1
Average loss: 0.8179
Archetypal loss: 0.9035
KLD loss: 0.0467
Reconstruction loss: 0.9035
Archetype R²: 0.0512
Archetype transform grad norm: 0.396311
Archetype transform param norm: 6.2672
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.8179 (range: 0.8179 - 0.8179)
archetypal_loss: 0.9035 (range: 0.9035 - 0.9035)
kld_loss: 0.0467 (range: 0.0467 - 0.0467)
reconstruction_loss: 0.9035 (range: 0.9035 - 0.9035)
archetype_r2: 0.0512 (range: 0.0512 - 0.0512)
Archetype Transform Summary:
archetype_transform_mean: -0.001745 (range: -0.001745 - -0.001745)
archetype_transform_std: 0.087750 (range: 0.087750 - 0.087750)
archetype_transform_norm: 6.267207 (range: 6.267207 - 6.267207)
archetype_transform_grad_norm: 0.396311 (range: 0.396311 - 0.396311)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.1076, max=0.5870, mean=0.3333
Batch reconstruction MSE: 1.1156
Archetype stats: min=-12.2200, max=9.6006
Archetype change since last debug: 0.544788
Archetype gradients: norm=0.020740, mean=0.001014
Epoch 1/1
Average loss: 0.8177
Archetypal loss: 0.9043
KLD loss: 0.0384
Reconstruction loss: 0.9043
Archetype R²: 0.0504
Archetype transform grad norm: 0.388851
Archetype transform param norm: 6.2632
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.8177 (range: 0.8177 - 0.8177)
archetypal_loss: 0.9043 (range: 0.9043 - 0.9043)
kld_loss: 0.0384 (range: 0.0384 - 0.0384)
reconstruction_loss: 0.9043 (range: 0.9043 - 0.9043)
archetype_r2: 0.0504 (range: 0.0504 - 0.0504)
Archetype Transform Summary:
archetype_transform_mean: -0.001726 (range: -0.001726 - -0.001726)
archetype_transform_std: 0.087694 (range: 0.087694 - 0.087694)
archetype_transform_norm: 6.263219 (range: 6.263219 - 6.263219)
archetype_transform_grad_norm: 0.388851 (range: 0.388851 - 0.388851)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.1141, max=0.6060, mean=0.3333
Batch reconstruction MSE: 1.0558
Archetype stats: min=-12.2670, max=9.6578
Archetype change since last debug: 0.337972
Archetype gradients: norm=0.008704, mean=0.000541
Epoch 1/1
Average loss: 0.8171
Archetypal loss: 0.9031
KLD loss: 0.0429
Reconstruction loss: 0.9031
Archetype R²: 0.0516
Archetype transform grad norm: 0.394285
Archetype transform param norm: 6.2757
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.8171 (range: 0.8171 - 0.8171)
archetypal_loss: 0.9031 (range: 0.9031 - 0.9031)
kld_loss: 0.0429 (range: 0.0429 - 0.0429)
reconstruction_loss: 0.9031 (range: 0.9031 - 0.9031)
archetype_r2: 0.0516 (range: 0.0516 - 0.0516)
Archetype Transform Summary:
archetype_transform_mean: -0.001736 (range: -0.001736 - -0.001736)
archetype_transform_std: 0.087869 (range: 0.087869 - 0.087869)
archetype_transform_norm: 6.275701 (range: 6.275701 - 6.275701)
archetype_transform_grad_norm: 0.394285 (range: 0.394285 - 0.394285)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.1776, max=0.5469, mean=0.3333
Batch reconstruction MSE: 1.0675
Archetype stats: min=-12.5797, max=9.8023
Archetype change since last debug: 0.709338
Archetype gradients: norm=0.014802, mean=0.000864
Epoch 1/1
Average loss: 0.8168
Archetypal loss: 0.9033
KLD loss: 0.0388
Reconstruction loss: 0.9033
Archetype R²: 0.0514
Archetype transform grad norm: 0.398165
Archetype transform param norm: 6.2814
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.8168 (range: 0.8168 - 0.8168)
archetypal_loss: 0.9033 (range: 0.9033 - 0.9033)
kld_loss: 0.0388 (range: 0.0388 - 0.0388)
reconstruction_loss: 0.9033 (range: 0.9033 - 0.9033)
archetype_r2: 0.0514 (range: 0.0514 - 0.0514)
Archetype Transform Summary:
archetype_transform_mean: -0.001733 (range: -0.001733 - -0.001733)
archetype_transform_std: 0.087948 (range: 0.087948 - 0.087948)
archetype_transform_norm: 6.281356 (range: 6.281356 - 6.281356)
archetype_transform_grad_norm: 0.398165 (range: 0.398165 - 0.398165)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.1766, max=0.5447, mean=0.3333
Batch reconstruction MSE: 1.0477
Archetype stats: min=-12.6354, max=9.9978
Archetype change since last debug: 0.457675
Archetype gradients: norm=0.016755, mean=0.001047
Epoch 1/1
Average loss: 0.8169
Archetypal loss: 0.9031
KLD loss: 0.0412
Reconstruction loss: 0.9031
Archetype R²: 0.0516
Archetype transform grad norm: 0.411695
Archetype transform param norm: 6.2943
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.8169 (range: 0.8169 - 0.8169)
archetypal_loss: 0.9031 (range: 0.9031 - 0.9031)
kld_loss: 0.0412 (range: 0.0412 - 0.0412)
reconstruction_loss: 0.9031 (range: 0.9031 - 0.9031)
archetype_r2: 0.0516 (range: 0.0516 - 0.0516)
Archetype Transform Summary:
archetype_transform_mean: -0.001729 (range: -0.001729 - -0.001729)
archetype_transform_std: 0.088130 (range: 0.088130 - 0.088130)
archetype_transform_norm: 6.294312 (range: 6.294312 - 6.294312)
archetype_transform_grad_norm: 0.411695 (range: 0.411695 - 0.411695)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.1639, max=0.5397, mean=0.3333
Batch reconstruction MSE: 1.0835
Archetype stats: min=-13.0496, max=10.0249
Archetype change since last debug: 0.767083
Archetype gradients: norm=0.023750, mean=0.001537
Epoch 1/1
Average loss: 0.8175
Archetypal loss: 0.9039
KLD loss: 0.0394
Reconstruction loss: 0.9039
Archetype R²: 0.0507
Archetype transform grad norm: 0.430075
Archetype transform param norm: 6.2951
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.8175 (range: 0.8175 - 0.8175)
archetypal_loss: 0.9039 (range: 0.9039 - 0.9039)
kld_loss: 0.0394 (range: 0.0394 - 0.0394)
reconstruction_loss: 0.9039 (range: 0.9039 - 0.9039)
archetype_r2: 0.0507 (range: 0.0507 - 0.0507)
Archetype Transform Summary:
archetype_transform_mean: -0.001741 (range: -0.001741 - -0.001741)
archetype_transform_std: 0.088141 (range: 0.088141 - 0.088141)
archetype_transform_norm: 6.295120 (range: 6.295120 - 6.295120)
archetype_transform_grad_norm: 0.430075 (range: 0.430075 - 0.430075)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.1284, max=0.6026, mean=0.3333
Batch reconstruction MSE: 1.0914
Archetype stats: min=-12.7829, max=10.1452
Archetype change since last debug: 0.512163
Archetype gradients: norm=0.026933, mean=0.001594
Epoch 1/1
Average loss: 0.8185
Archetypal loss: 0.9049
KLD loss: 0.0410
Reconstruction loss: 0.9049
Archetype R²: 0.0497
Archetype transform grad norm: 0.456787
Archetype transform param norm: 6.2979
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.8185 (range: 0.8185 - 0.8185)
archetypal_loss: 0.9049 (range: 0.9049 - 0.9049)
kld_loss: 0.0410 (range: 0.0410 - 0.0410)
reconstruction_loss: 0.9049 (range: 0.9049 - 0.9049)
archetype_r2: 0.0497 (range: 0.0497 - 0.0497)
Archetype Transform Summary:
archetype_transform_mean: -0.001705 (range: -0.001705 - -0.001705)
archetype_transform_std: 0.088180 (range: 0.088180 - 0.088180)
archetype_transform_norm: 6.297869 (range: 6.297869 - 6.297869)
archetype_transform_grad_norm: 0.456787 (range: 0.456787 - 0.456787)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.1671, max=0.5425, mean=0.3333
Batch reconstruction MSE: 1.1113
Archetype stats: min=-13.0459, max=9.6619
Archetype change since last debug: 0.932959
Archetype gradients: norm=0.027847, mean=0.001854
Epoch 1/1
Average loss: 0.8189
Archetypal loss: 0.9052
KLD loss: 0.0424
Reconstruction loss: 0.9052
Archetype R²: 0.0494
Archetype transform grad norm: 0.469950
Archetype transform param norm: 6.2898
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.8189 (range: 0.8189 - 0.8189)
archetypal_loss: 0.9052 (range: 0.9052 - 0.9052)
kld_loss: 0.0424 (range: 0.0424 - 0.0424)
reconstruction_loss: 0.9052 (range: 0.9052 - 0.9052)
archetype_r2: 0.0494 (range: 0.0494 - 0.0494)
Archetype Transform Summary:
archetype_transform_mean: -0.001725 (range: -0.001725 - -0.001725)
archetype_transform_std: 0.088067 (range: 0.088067 - 0.088067)
archetype_transform_norm: 6.289843 (range: 6.289843 - 6.289843)
archetype_transform_grad_norm: 0.469950 (range: 0.469950 - 0.469950)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.1445, max=0.5778, mean=0.3333
Batch reconstruction MSE: 1.0938
Archetype stats: min=-12.3304, max=9.6766
Archetype change since last debug: 1.062363
Archetype gradients: norm=0.021752, mean=0.001291
Epoch 1/1
Average loss: 0.8179
Archetypal loss: 0.9043
KLD loss: 0.0409
Reconstruction loss: 0.9043
Archetype R²: 0.0504
Archetype transform grad norm: 0.431044
Archetype transform param norm: 6.2907
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.8179 (range: 0.8179 - 0.8179)
archetypal_loss: 0.9043 (range: 0.9043 - 0.9043)
kld_loss: 0.0409 (range: 0.0409 - 0.0409)
reconstruction_loss: 0.9043 (range: 0.9043 - 0.9043)
archetype_r2: 0.0504 (range: 0.0504 - 0.0504)
Archetype Transform Summary:
archetype_transform_mean: -0.001668 (range: -0.001668 - -0.001668)
archetype_transform_std: 0.088081 (range: 0.088081 - 0.088081)
archetype_transform_norm: 6.290743 (range: 6.290743 - 6.290743)
archetype_transform_grad_norm: 0.431044 (range: 0.431044 - 0.431044)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0920, max=0.5327, mean=0.3333
Batch reconstruction MSE: 1.0714
Archetype stats: min=-12.7029, max=9.3650
Archetype change since last debug: 0.825484
Archetype gradients: norm=0.014344, mean=0.000924
Epoch 1/1
Average loss: 0.8172
Archetypal loss: 0.9035
KLD loss: 0.0410
Reconstruction loss: 0.9035
Archetype R²: 0.0512
Archetype transform grad norm: 0.420779
Archetype transform param norm: 6.2959
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.8172 (range: 0.8172 - 0.8172)
archetypal_loss: 0.9035 (range: 0.9035 - 0.9035)
kld_loss: 0.0410 (range: 0.0410 - 0.0410)
reconstruction_loss: 0.9035 (range: 0.9035 - 0.9035)
archetype_r2: 0.0512 (range: 0.0512 - 0.0512)
Archetype Transform Summary:
archetype_transform_mean: -0.001708 (range: -0.001708 - -0.001708)
archetype_transform_std: 0.088153 (range: 0.088153 - 0.088153)
archetype_transform_norm: 6.295915 (range: 6.295915 - 6.295915)
archetype_transform_grad_norm: 0.420779 (range: 0.420779 - 0.420779)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.1508, max=0.6383, mean=0.3333
Batch reconstruction MSE: 1.0837
Archetype stats: min=-12.4606, max=9.6466
Archetype change since last debug: 0.655788
Archetype gradients: norm=0.023541, mean=0.001548
Epoch 1/1
Average loss: 0.8171
Archetypal loss: 0.9036
KLD loss: 0.0391
Reconstruction loss: 0.9036
Archetype R²: 0.0511
Archetype transform grad norm: 0.416623
Archetype transform param norm: 6.2969
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.8171 (range: 0.8171 - 0.8171)
archetypal_loss: 0.9036 (range: 0.9036 - 0.9036)
kld_loss: 0.0391 (range: 0.0391 - 0.0391)
reconstruction_loss: 0.9036 (range: 0.9036 - 0.9036)
archetype_r2: 0.0511 (range: 0.0511 - 0.0511)
Archetype Transform Summary:
archetype_transform_mean: -0.001650 (range: -0.001650 - -0.001650)
archetype_transform_std: 0.088167 (range: 0.088167 - 0.088167)
archetype_transform_norm: 6.296862 (range: 6.296862 - 6.296862)
archetype_transform_grad_norm: 0.416623 (range: 0.416623 - 0.416623)
Fold 2/3
Model input_dim: 50 (auto-detected from data)
Archetypes parameter registered: True
Archetypes requires_grad: True
Deep_AA (Deep Archetypal Analysis) initialized:
- Single-stage architecture (like Deep_2)
- Inflation factor: 1.5
- Direct archetypal coordinates (no bottleneck)
Consolidated Archetype Initialization
PCHA: True, Inflation: True (factor: 1.5)
Test inflation: False
Running PCHA initialization...
Input shape: (128, 50)
Target archetypes: 3
Running PCHA with 3 archetypes...
Data shape for PCHA: (50, 128)
PCHA Results:
Archetypes shape: (3, 50)
Archetype R²: 0.1173
SSE: 4410.1349
PCHA archetype R²: 0.1173
Archetype shape: (3, 50)
[OK] Initialized 3 archetypes using PCHA
Scalar Archetypal Inflation (factor: 1.50)
[OK] Inflation complete
[STATS] Positioning verification:
Data radius (max): 12.612
Data radius (mean): 5.803
Archetype distances: 3.082 to 11.914
Archetypes outside data: 0/3
Min archetype separation: 9.876
[OK] Archetype initialization complete (success: True)
[OK] Archetype initialization complete (PCHA: True, Inflation: 1.5)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0030, max=0.9705, mean=0.3333
Batch reconstruction MSE: 0.9631
Archetype stats: min=-0.9113, max=1.0136
Archetype gradients: norm=0.021666, mean=0.001320
Epoch 1/1
Average loss: 0.8601
Archetypal loss: 0.9540
KLD loss: 0.0156
Reconstruction loss: 0.9540
Archetype R²: -0.0155
Archetype transform grad norm: 0.144239
Archetype transform param norm: 5.8699
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.8601 (range: 0.8601 - 0.8601)
archetypal_loss: 0.9540 (range: 0.9540 - 0.9540)
kld_loss: 0.0156 (range: 0.0156 - 0.0156)
reconstruction_loss: 0.9540 (range: 0.9540 - 0.9540)
archetype_r2: -0.0155 (range: -0.0155 - -0.0155)
Archetype Transform Summary:
archetype_transform_mean: -0.000027 (range: -0.000027 - -0.000027)
archetype_transform_std: 0.082203 (range: 0.082203 - 0.082203)
archetype_transform_norm: 5.869944 (range: 5.869944 - 5.869944)
archetype_transform_grad_norm: 0.144239 (range: 0.144239 - 0.144239)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0002, max=0.9994, mean=0.3333
Batch reconstruction MSE: 0.8539
Archetype stats: min=-0.5896, max=0.4220
Archetype change since last debug: 4.009146
Archetype gradients: norm=0.003717, mean=0.000247
Epoch 1/1
Average loss: 0.8525
Archetypal loss: 0.9435
KLD loss: 0.0341
Reconstruction loss: 0.9435
Archetype R²: -0.0040
Archetype transform grad norm: 0.103924
Archetype transform param norm: 5.8731
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.8525 (range: 0.8525 - 0.8525)
archetypal_loss: 0.9435 (range: 0.9435 - 0.9435)
kld_loss: 0.0341 (range: 0.0341 - 0.0341)
reconstruction_loss: 0.9435 (range: 0.9435 - 0.9435)
archetype_r2: -0.0040 (range: -0.0040 - -0.0040)
Archetype Transform Summary:
archetype_transform_mean: -0.000245 (range: -0.000245 - -0.000245)
archetype_transform_std: 0.082247 (range: 0.082247 - 0.082247)
archetype_transform_norm: 5.873096 (range: 5.873096 - 5.873096)
archetype_transform_grad_norm: 0.103924 (range: 0.103924 - 0.103924)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0041, max=0.9672, mean=0.3333
Batch reconstruction MSE: 0.8659
Archetype stats: min=-0.9679, max=0.7234
Archetype change since last debug: 1.388763
Archetype gradients: norm=0.004806, mean=0.000288
Epoch 1/1
Average loss: 0.8446
Archetypal loss: 0.9330
KLD loss: 0.0488
Reconstruction loss: 0.9330
Archetype R²: 0.0073
Archetype transform grad norm: 0.129195
Archetype transform param norm: 5.9280
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.8446 (range: 0.8446 - 0.8446)
archetypal_loss: 0.9330 (range: 0.9330 - 0.9330)
kld_loss: 0.0488 (range: 0.0488 - 0.0488)
reconstruction_loss: 0.9330 (range: 0.9330 - 0.9330)
archetype_r2: 0.0073 (range: 0.0073 - 0.0073)
Archetype Transform Summary:
archetype_transform_mean: -0.000205 (range: -0.000205 - -0.000205)
archetype_transform_std: 0.083017 (range: 0.083017 - 0.083017)
archetype_transform_norm: 5.928013 (range: 5.928013 - 5.928013)
archetype_transform_grad_norm: 0.129195 (range: 0.129195 - 0.129195)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0066, max=0.9657, mean=0.3333
Batch reconstruction MSE: 0.9063
Archetype stats: min=-2.1005, max=2.0621
Archetype change since last debug: 4.340060
Archetype gradients: norm=0.016391, mean=0.000793
Epoch 1/1
Average loss: 0.8372
Archetypal loss: 0.9236
KLD loss: 0.0589
Reconstruction loss: 0.9236
Archetype R²: 0.0173
Archetype transform grad norm: 0.155093
Archetype transform param norm: 6.0423
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.8372 (range: 0.8372 - 0.8372)
archetypal_loss: 0.9236 (range: 0.9236 - 0.9236)
kld_loss: 0.0589 (range: 0.0589 - 0.0589)
reconstruction_loss: 0.9236 (range: 0.9236 - 0.9236)
archetype_r2: 0.0173 (range: 0.0173 - 0.0173)
Archetype Transform Summary:
archetype_transform_mean: 0.000012 (range: 0.000012 - 0.000012)
archetype_transform_std: 0.084617 (range: 0.084617 - 0.084617)
archetype_transform_norm: 6.042263 (range: 6.042263 - 6.042263)
archetype_transform_grad_norm: 0.155093 (range: 0.155093 - 0.155093)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0104, max=0.9683, mean=0.3333
Batch reconstruction MSE: 0.9750
Archetype stats: min=-2.7277, max=3.8432
Archetype change since last debug: 3.772915
Archetype gradients: norm=0.035104, mean=0.001733
Epoch 1/1
Average loss: 0.8321
Archetypal loss: 0.9151
KLD loss: 0.0845
Reconstruction loss: 0.9151
Archetype R²: 0.0264
Archetype transform grad norm: 0.189173
Archetype transform param norm: 6.1719
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.8321 (range: 0.8321 - 0.8321)
archetypal_loss: 0.9151 (range: 0.9151 - 0.9151)
kld_loss: 0.0845 (range: 0.0845 - 0.0845)
reconstruction_loss: 0.9151 (range: 0.9151 - 0.9151)
archetype_r2: 0.0264 (range: 0.0264 - 0.0264)
Archetype Transform Summary:
archetype_transform_mean: 0.000198 (range: 0.000198 - 0.000198)
archetype_transform_std: 0.086432 (range: 0.086432 - 0.086432)
archetype_transform_norm: 6.171907 (range: 6.171907 - 6.171907)
archetype_transform_grad_norm: 0.189173 (range: 0.189173 - 0.189173)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0015, max=0.9940, mean=0.3333
Batch reconstruction MSE: 1.0590
Archetype stats: min=-3.0758, max=5.1999
Archetype change since last debug: 3.746421
Archetype gradients: norm=0.077456, mean=0.004648
Epoch 1/1
Average loss: 0.8279
Archetypal loss: 0.9083
KLD loss: 0.1043
Reconstruction loss: 0.9083
Archetype R²: 0.0335
Archetype transform grad norm: 0.192727
Archetype transform param norm: 6.2883
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.8279 (range: 0.8279 - 0.8279)
archetypal_loss: 0.9083 (range: 0.9083 - 0.9083)
kld_loss: 0.1043 (range: 0.1043 - 0.1043)
reconstruction_loss: 0.9083 (range: 0.9083 - 0.9083)
archetype_r2: 0.0335 (range: 0.0335 - 0.0335)
Archetype Transform Summary:
archetype_transform_mean: 0.000269 (range: 0.000269 - 0.000269)
archetype_transform_std: 0.088062 (range: 0.088062 - 0.088062)
archetype_transform_norm: 6.288290 (range: 6.288290 - 6.288290)
archetype_transform_grad_norm: 0.192727 (range: 0.192727 - 0.192727)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0077, max=0.9818, mean=0.3333
Batch reconstruction MSE: 1.0519
Archetype stats: min=-3.2661, max=5.9330
Archetype change since last debug: 2.455747
Archetype gradients: norm=0.049779, mean=0.002500
Epoch 1/1
Average loss: 0.8223
Archetypal loss: 0.9037
KLD loss: 0.0901
Reconstruction loss: 0.9037
Archetype R²: 0.0385
Archetype transform grad norm: 0.199852
Archetype transform param norm: 6.3891
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.8223 (range: 0.8223 - 0.8223)
archetypal_loss: 0.9037 (range: 0.9037 - 0.9037)
kld_loss: 0.0901 (range: 0.0901 - 0.0901)
reconstruction_loss: 0.9037 (range: 0.9037 - 0.9037)
archetype_r2: 0.0385 (range: 0.0385 - 0.0385)
Archetype Transform Summary:
archetype_transform_mean: 0.000293 (range: 0.000293 - 0.000293)
archetype_transform_std: 0.089474 (range: 0.089474 - 0.089474)
archetype_transform_norm: 6.389108 (range: 6.389108 - 6.389108)
archetype_transform_grad_norm: 0.199852 (range: 0.199852 - 0.199852)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0096, max=0.9476, mean=0.3333
Batch reconstruction MSE: 1.0987
Archetype stats: min=-3.5914, max=6.4483
Archetype change since last debug: 2.227549
Archetype gradients: norm=0.137694, mean=0.007181
Epoch 1/1
Average loss: 0.8226
Archetypal loss: 0.9029
KLD loss: 0.1001
Reconstruction loss: 0.9029
Archetype R²: 0.0392
Archetype transform grad norm: 0.199071
Archetype transform param norm: 6.4281
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.8226 (range: 0.8226 - 0.8226)
archetypal_loss: 0.9029 (range: 0.9029 - 0.9029)
kld_loss: 0.1001 (range: 0.1001 - 0.1001)
reconstruction_loss: 0.9029 (range: 0.9029 - 0.9029)
archetype_r2: 0.0392 (range: 0.0392 - 0.0392)
Archetype Transform Summary:
archetype_transform_mean: 0.000218 (range: 0.000218 - 0.000218)
archetype_transform_std: 0.090020 (range: 0.090020 - 0.090020)
archetype_transform_norm: 6.428103 (range: 6.428103 - 6.428103)
archetype_transform_grad_norm: 0.199071 (range: 0.199071 - 0.199071)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0064, max=0.9009, mean=0.3333
Batch reconstruction MSE: 0.9500
Archetype stats: min=-3.7794, max=6.8319
Archetype change since last debug: 1.197495
Archetype gradients: norm=0.034131, mean=0.001934
Epoch 1/1
Average loss: 0.8166
Archetypal loss: 0.8980
KLD loss: 0.0846
Reconstruction loss: 0.8980
Archetype R²: 0.0448
Archetype transform grad norm: 0.199580
Archetype transform param norm: 6.4987
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.8166 (range: 0.8166 - 0.8166)
archetypal_loss: 0.8980 (range: 0.8980 - 0.8980)
kld_loss: 0.0846 (range: 0.0846 - 0.0846)
reconstruction_loss: 0.8980 (range: 0.8980 - 0.8980)
archetype_r2: 0.0448 (range: 0.0448 - 0.0448)
Archetype Transform Summary:
archetype_transform_mean: 0.000214 (range: 0.000214 - 0.000214)
archetype_transform_std: 0.091009 (range: 0.091009 - 0.091009)
archetype_transform_norm: 6.498729 (range: 6.498729 - 6.498729)
archetype_transform_grad_norm: 0.199580 (range: 0.199580 - 0.199580)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0118, max=0.9608, mean=0.3333
Batch reconstruction MSE: 0.9932
Archetype stats: min=-4.1281, max=7.3187
Archetype change since last debug: 1.748957
Archetype gradients: norm=0.081520, mean=0.004816
Epoch 1/1
Average loss: 0.8166
Archetypal loss: 0.8985
KLD loss: 0.0792
Reconstruction loss: 0.8985
Archetype R²: 0.0442
Archetype transform grad norm: 0.205048
Archetype transform param norm: 6.5414
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.8166 (range: 0.8166 - 0.8166)
archetypal_loss: 0.8985 (range: 0.8985 - 0.8985)
kld_loss: 0.0792 (range: 0.0792 - 0.0792)
reconstruction_loss: 0.8985 (range: 0.8985 - 0.8985)
archetype_r2: 0.0442 (range: 0.0442 - 0.0442)
Archetype Transform Summary:
archetype_transform_mean: 0.000189 (range: 0.000189 - 0.000189)
archetype_transform_std: 0.091607 (range: 0.091607 - 0.091607)
archetype_transform_norm: 6.541405 (range: 6.541405 - 6.541405)
archetype_transform_grad_norm: 0.205048 (range: 0.205048 - 0.205048)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0158, max=0.9398, mean=0.3333
Batch reconstruction MSE: 1.0691
Archetype stats: min=-4.2769, max=7.7407
Archetype change since last debug: 0.995128
Archetype gradients: norm=0.055834, mean=0.003421
Epoch 1/1
Average loss: 0.8177
Archetypal loss: 0.8997
KLD loss: 0.0797
Reconstruction loss: 0.8997
Archetype R²: 0.0427
Archetype transform grad norm: 0.216279
Archetype transform param norm: 6.5713
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.8177 (range: 0.8177 - 0.8177)
archetypal_loss: 0.8997 (range: 0.8997 - 0.8997)
kld_loss: 0.0797 (range: 0.0797 - 0.0797)
reconstruction_loss: 0.8997 (range: 0.8997 - 0.8997)
archetype_r2: 0.0427 (range: 0.0427 - 0.0427)
Archetype Transform Summary:
archetype_transform_mean: 0.000227 (range: 0.000227 - 0.000227)
archetype_transform_std: 0.092025 (range: 0.092025 - 0.092025)
archetype_transform_norm: 6.571291 (range: 6.571291 - 6.571291)
archetype_transform_grad_norm: 0.216279 (range: 0.216279 - 0.216279)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0284, max=0.9222, mean=0.3333
Batch reconstruction MSE: 1.0941
Archetype stats: min=-4.4536, max=7.7314
Archetype change since last debug: 0.833893
Archetype gradients: norm=0.159769, mean=0.007871
Epoch 1/1
Average loss: 0.8176
Archetypal loss: 0.8995
KLD loss: 0.0799
Reconstruction loss: 0.8995
Archetype R²: 0.0429
Archetype transform grad norm: 0.206461
Archetype transform param norm: 6.5677
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.8176 (range: 0.8176 - 0.8176)
archetypal_loss: 0.8995 (range: 0.8995 - 0.8995)
kld_loss: 0.0799 (range: 0.0799 - 0.0799)
reconstruction_loss: 0.8995 (range: 0.8995 - 0.8995)
archetype_r2: 0.0429 (range: 0.0429 - 0.0429)
Archetype Transform Summary:
archetype_transform_mean: 0.000197 (range: 0.000197 - 0.000197)
archetype_transform_std: 0.091975 (range: 0.091975 - 0.091975)
archetype_transform_norm: 6.567669 (range: 6.567669 - 6.567669)
archetype_transform_grad_norm: 0.206461 (range: 0.206461 - 0.206461)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0519, max=0.7717, mean=0.3333
Batch reconstruction MSE: 1.0107
Archetype stats: min=-4.3725, max=8.0130
Archetype change since last debug: 0.821909
Archetype gradients: norm=0.045624, mean=0.003199
Epoch 1/1
Average loss: 0.8150
Archetypal loss: 0.8972
KLD loss: 0.0751
Reconstruction loss: 0.8972
Archetype R²: 0.0455
Archetype transform grad norm: 0.203847
Archetype transform param norm: 6.5955
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.8150 (range: 0.8150 - 0.8150)
archetypal_loss: 0.8972 (range: 0.8972 - 0.8972)
kld_loss: 0.0751 (range: 0.0751 - 0.0751)
reconstruction_loss: 0.8972 (range: 0.8972 - 0.8972)
archetype_r2: 0.0455 (range: 0.0455 - 0.0455)
Archetype Transform Summary:
archetype_transform_mean: 0.000204 (range: 0.000204 - 0.000204)
archetype_transform_std: 0.092365 (range: 0.092365 - 0.092365)
archetype_transform_norm: 6.595532 (range: 6.595532 - 6.595532)
archetype_transform_grad_norm: 0.203847 (range: 0.203847 - 0.203847)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0538, max=0.8285, mean=0.3333
Batch reconstruction MSE: 0.9170
Archetype stats: min=-4.5909, max=8.1686
Archetype change since last debug: 0.781950
Archetype gradients: norm=0.068316, mean=0.003217
Epoch 1/1
Average loss: 0.8120
Archetypal loss: 0.8944
KLD loss: 0.0705
Reconstruction loss: 0.8944
Archetype R²: 0.0487
Archetype transform grad norm: 0.194796
Archetype transform param norm: 6.6362
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.8120 (range: 0.8120 - 0.8120)
archetypal_loss: 0.8944 (range: 0.8944 - 0.8944)
kld_loss: 0.0705 (range: 0.0705 - 0.0705)
reconstruction_loss: 0.8944 (range: 0.8944 - 0.8944)
archetype_r2: 0.0487 (range: 0.0487 - 0.0487)
Archetype Transform Summary:
archetype_transform_mean: 0.000175 (range: 0.000175 - 0.000175)
archetype_transform_std: 0.092935 (range: 0.092935 - 0.092935)
archetype_transform_norm: 6.636246 (range: 6.636246 - 6.636246)
archetype_transform_grad_norm: 0.194796 (range: 0.194796 - 0.194796)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0716, max=0.8313, mean=0.3333
Batch reconstruction MSE: 0.9309
Archetype stats: min=-4.7981, max=8.7825
Archetype change since last debug: 1.351845
Archetype gradients: norm=0.044666, mean=0.003056
Epoch 1/1
Average loss: 0.8122
Archetypal loss: 0.8949
KLD loss: 0.0683
Reconstruction loss: 0.8949
Archetype R²: 0.0481
Archetype transform grad norm: 0.205768
Archetype transform param norm: 6.6766
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.8122 (range: 0.8122 - 0.8122)
archetypal_loss: 0.8949 (range: 0.8949 - 0.8949)
kld_loss: 0.0683 (range: 0.0683 - 0.0683)
reconstruction_loss: 0.8949 (range: 0.8949 - 0.8949)
archetype_r2: 0.0481 (range: 0.0481 - 0.0481)
Archetype Transform Summary:
archetype_transform_mean: 0.000168 (range: 0.000168 - 0.000168)
archetype_transform_std: 0.093501 (range: 0.093501 - 0.093501)
archetype_transform_norm: 6.676645 (range: 6.676645 - 6.676645)
archetype_transform_grad_norm: 0.205768 (range: 0.205768 - 0.205768)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0546, max=0.8584, mean=0.3333
Batch reconstruction MSE: 0.9930
Archetype stats: min=-5.0870, max=9.0459
Archetype change since last debug: 0.849064
Archetype gradients: norm=0.114073, mean=0.005926
Epoch 1/1
Average loss: 0.8132
Archetypal loss: 0.8960
KLD loss: 0.0679
Reconstruction loss: 0.8960
Archetype R²: 0.0468
Archetype transform grad norm: 0.213012
Archetype transform param norm: 6.6910
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.8132 (range: 0.8132 - 0.8132)
archetypal_loss: 0.8960 (range: 0.8960 - 0.8960)
kld_loss: 0.0679 (range: 0.0679 - 0.0679)
reconstruction_loss: 0.8960 (range: 0.8960 - 0.8960)
archetype_r2: 0.0468 (range: 0.0468 - 0.0468)
Archetype Transform Summary:
archetype_transform_mean: 0.000174 (range: 0.000174 - 0.000174)
archetype_transform_std: 0.093702 (range: 0.093702 - 0.093702)
archetype_transform_norm: 6.690986 (range: 6.690986 - 6.690986)
archetype_transform_grad_norm: 0.213012 (range: 0.213012 - 0.213012)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0287, max=0.9135, mean=0.3333
Batch reconstruction MSE: 1.0626
Archetype stats: min=-5.1605, max=9.4000
Archetype change since last debug: 0.672072
Archetype gradients: norm=0.095301, mean=0.005561
Epoch 1/1
Average loss: 0.8156
Archetypal loss: 0.8982
KLD loss: 0.0716
Reconstruction loss: 0.8982
Archetype R²: 0.0443
Archetype transform grad norm: 0.222669
Archetype transform param norm: 6.6876
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.8156 (range: 0.8156 - 0.8156)
archetypal_loss: 0.8982 (range: 0.8982 - 0.8982)
kld_loss: 0.0716 (range: 0.0716 - 0.0716)
reconstruction_loss: 0.8982 (range: 0.8982 - 0.8982)
archetype_r2: 0.0443 (range: 0.0443 - 0.0443)
Archetype Transform Summary:
archetype_transform_mean: 0.000194 (range: 0.000194 - 0.000194)
archetype_transform_std: 0.093655 (range: 0.093655 - 0.093655)
archetype_transform_norm: 6.687645 (range: 6.687645 - 6.687645)
archetype_transform_grad_norm: 0.222669 (range: 0.222669 - 0.222669)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0321, max=0.8462, mean=0.3333
Batch reconstruction MSE: 1.0975
Archetype stats: min=-5.3615, max=9.3788
Archetype change since last debug: 1.132402
Archetype gradients: norm=0.090857, mean=0.005747
Epoch 1/1
Average loss: 0.8148
Archetypal loss: 0.8981
KLD loss: 0.0653
Reconstruction loss: 0.8981
Archetype R²: 0.0443
Archetype transform grad norm: 0.213996
Archetype transform param norm: 6.6746
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.8148 (range: 0.8148 - 0.8148)
archetypal_loss: 0.8981 (range: 0.8981 - 0.8981)
kld_loss: 0.0653 (range: 0.0653 - 0.0653)
reconstruction_loss: 0.8981 (range: 0.8981 - 0.8981)
archetype_r2: 0.0443 (range: 0.0443 - 0.0443)
Archetype Transform Summary:
archetype_transform_mean: 0.000252 (range: 0.000252 - 0.000252)
archetype_transform_std: 0.093472 (range: 0.093472 - 0.093472)
archetype_transform_norm: 6.674596 (range: 6.674596 - 6.674596)
archetype_transform_grad_norm: 0.213996 (range: 0.213996 - 0.213996)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0594, max=0.7762, mean=0.3333
Batch reconstruction MSE: 0.9209
Archetype stats: min=-5.3730, max=9.2431
Archetype change since last debug: 0.490165
Archetype gradients: norm=0.057003, mean=0.003241
Epoch 1/1
Average loss: 0.8110
Archetypal loss: 0.8936
KLD loss: 0.0676
Reconstruction loss: 0.8936
Archetype R²: 0.0496
Archetype transform grad norm: 0.196428
Archetype transform param norm: 6.6997
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.8110 (range: 0.8110 - 0.8110)
archetypal_loss: 0.8936 (range: 0.8936 - 0.8936)
kld_loss: 0.0676 (range: 0.0676 - 0.0676)
reconstruction_loss: 0.8936 (range: 0.8936 - 0.8936)
archetype_r2: 0.0496 (range: 0.0496 - 0.0496)
Archetype Transform Summary:
archetype_transform_mean: 0.000226 (range: 0.000226 - 0.000226)
archetype_transform_std: 0.093823 (range: 0.093823 - 0.093823)
archetype_transform_norm: 6.699675 (range: 6.699675 - 6.699675)
archetype_transform_grad_norm: 0.196428 (range: 0.196428 - 0.196428)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0573, max=0.7288, mean=0.3333
Batch reconstruction MSE: 0.9792
Archetype stats: min=-5.5676, max=9.7356
Archetype change since last debug: 1.017182
Archetype gradients: norm=0.050967, mean=0.003223
Epoch 1/1
Average loss: 0.8117
Archetypal loss: 0.8950
KLD loss: 0.0619
Reconstruction loss: 0.8950
Archetype R²: 0.0479
Archetype transform grad norm: 0.213736
Archetype transform param norm: 6.7321
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.8117 (range: 0.8117 - 0.8117)
archetypal_loss: 0.8950 (range: 0.8950 - 0.8950)
kld_loss: 0.0619 (range: 0.0619 - 0.0619)
reconstruction_loss: 0.8950 (range: 0.8950 - 0.8950)
archetype_r2: 0.0479 (range: 0.0479 - 0.0479)
Archetype Transform Summary:
archetype_transform_mean: 0.000238 (range: 0.000238 - 0.000238)
archetype_transform_std: 0.094277 (range: 0.094277 - 0.094277)
archetype_transform_norm: 6.732081 (range: 6.732081 - 6.732081)
archetype_transform_grad_norm: 0.213736 (range: 0.213736 - 0.213736)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0392, max=0.7581, mean=0.3333
Batch reconstruction MSE: 0.9928
Archetype stats: min=-5.7111, max=9.6351
Archetype change since last debug: 0.765867
Archetype gradients: norm=0.093439, mean=0.006103
Epoch 1/1
Average loss: 0.8130
Archetypal loss: 0.8956
KLD loss: 0.0697
Reconstruction loss: 0.8956
Archetype R²: 0.0473
Archetype transform grad norm: 0.218228
Archetype transform param norm: 6.7348
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.8130 (range: 0.8130 - 0.8130)
archetypal_loss: 0.8956 (range: 0.8956 - 0.8956)
kld_loss: 0.0697 (range: 0.0697 - 0.0697)
reconstruction_loss: 0.8956 (range: 0.8956 - 0.8956)
archetype_r2: 0.0473 (range: 0.0473 - 0.0473)
Archetype Transform Summary:
archetype_transform_mean: 0.000208 (range: 0.000208 - 0.000208)
archetype_transform_std: 0.094315 (range: 0.094315 - 0.094315)
archetype_transform_norm: 6.734804 (range: 6.734804 - 6.734804)
archetype_transform_grad_norm: 0.218228 (range: 0.218228 - 0.218228)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0377, max=0.7465, mean=0.3333
Batch reconstruction MSE: 1.0366
Archetype stats: min=-5.6553, max=9.8929
Archetype change since last debug: 0.569928
Archetype gradients: norm=0.065426, mean=0.004010
Epoch 1/1
Average loss: 0.8130
Archetypal loss: 0.8966
KLD loss: 0.0606
Reconstruction loss: 0.8966
Archetype R²: 0.0460
Archetype transform grad norm: 0.230636
Archetype transform param norm: 6.7451
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.8130 (range: 0.8130 - 0.8130)
archetypal_loss: 0.8966 (range: 0.8966 - 0.8966)
kld_loss: 0.0606 (range: 0.0606 - 0.0606)
reconstruction_loss: 0.8966 (range: 0.8966 - 0.8966)
archetype_r2: 0.0460 (range: 0.0460 - 0.0460)
Archetype Transform Summary:
archetype_transform_mean: 0.000246 (range: 0.000246 - 0.000246)
archetype_transform_std: 0.094459 (range: 0.094459 - 0.094459)
archetype_transform_norm: 6.745051 (range: 6.745051 - 6.745051)
archetype_transform_grad_norm: 0.230636 (range: 0.230636 - 0.230636)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0605, max=0.6983, mean=0.3333
Batch reconstruction MSE: 0.9692
Archetype stats: min=-5.7747, max=9.4147
Archetype change since last debug: 0.970672
Archetype gradients: norm=0.092486, mean=0.005642
Epoch 1/1
Average loss: 0.8117
Archetypal loss: 0.8946
KLD loss: 0.0651
Reconstruction loss: 0.8946
Archetype R²: 0.0483
Archetype transform grad norm: 0.213491
Archetype transform param norm: 6.7489
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.8117 (range: 0.8117 - 0.8117)
archetypal_loss: 0.8946 (range: 0.8946 - 0.8946)
kld_loss: 0.0651 (range: 0.0651 - 0.0651)
reconstruction_loss: 0.8946 (range: 0.8946 - 0.8946)
archetype_r2: 0.0483 (range: 0.0483 - 0.0483)
Archetype Transform Summary:
archetype_transform_mean: 0.000204 (range: 0.000204 - 0.000204)
archetype_transform_std: 0.094513 (range: 0.094513 - 0.094513)
archetype_transform_norm: 6.748897 (range: 6.748897 - 6.748897)
archetype_transform_grad_norm: 0.213491 (range: 0.213491 - 0.213491)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0920, max=0.6381, mean=0.3333
Batch reconstruction MSE: 0.9391
Archetype stats: min=-5.7482, max=9.8462
Archetype change since last debug: 0.735052
Archetype gradients: norm=0.045545, mean=0.002966
Epoch 1/1
Average loss: 0.8103
Archetypal loss: 0.8937
KLD loss: 0.0600
Reconstruction loss: 0.8937
Archetype R²: 0.0494
Archetype transform grad norm: 0.216309
Archetype transform param norm: 6.7782
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.8103 (range: 0.8103 - 0.8103)
archetypal_loss: 0.8937 (range: 0.8937 - 0.8937)
kld_loss: 0.0600 (range: 0.0600 - 0.0600)
reconstruction_loss: 0.8937 (range: 0.8937 - 0.8937)
archetype_r2: 0.0494 (range: 0.0494 - 0.0494)
Archetype Transform Summary:
archetype_transform_mean: 0.000214 (range: 0.000214 - 0.000214)
archetype_transform_std: 0.094922 (range: 0.094922 - 0.094922)
archetype_transform_norm: 6.778155 (range: 6.778155 - 6.778155)
archetype_transform_grad_norm: 0.216309 (range: 0.216309 - 0.216309)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0735, max=0.6703, mean=0.3333
Batch reconstruction MSE: 0.9585
Archetype stats: min=-5.9469, max=9.7048
Archetype change since last debug: 0.820447
Archetype gradients: norm=0.071238, mean=0.004892
Epoch 1/1
Average loss: 0.8109
Archetypal loss: 0.8942
KLD loss: 0.0615
Reconstruction loss: 0.8942
Archetype R²: 0.0488
Archetype transform grad norm: 0.216078
Archetype transform param norm: 6.7895
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.8109 (range: 0.8109 - 0.8109)
archetypal_loss: 0.8942 (range: 0.8942 - 0.8942)
kld_loss: 0.0615 (range: 0.0615 - 0.0615)
reconstruction_loss: 0.8942 (range: 0.8942 - 0.8942)
archetype_r2: 0.0488 (range: 0.0488 - 0.0488)
Archetype Transform Summary:
archetype_transform_mean: 0.000191 (range: 0.000191 - 0.000191)
archetype_transform_std: 0.095082 (range: 0.095082 - 0.095082)
archetype_transform_norm: 6.789544 (range: 6.789544 - 6.789544)
archetype_transform_grad_norm: 0.216078 (range: 0.216078 - 0.216078)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0862, max=0.6895, mean=0.3333
Batch reconstruction MSE: 0.9810
Archetype stats: min=-5.9951, max=10.0875
Archetype change since last debug: 0.684316
Archetype gradients: norm=0.051628, mean=0.003558
Epoch 1/1
Average loss: 0.8107
Archetypal loss: 0.8944
KLD loss: 0.0568
Reconstruction loss: 0.8944
Archetype R²: 0.0485
Archetype transform grad norm: 0.218189
Archetype transform param norm: 6.8023
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.8107 (range: 0.8107 - 0.8107)
archetypal_loss: 0.8944 (range: 0.8944 - 0.8944)
kld_loss: 0.0568 (range: 0.0568 - 0.0568)
reconstruction_loss: 0.8944 (range: 0.8944 - 0.8944)
archetype_r2: 0.0485 (range: 0.0485 - 0.0485)
Archetype Transform Summary:
archetype_transform_mean: 0.000230 (range: 0.000230 - 0.000230)
archetype_transform_std: 0.095260 (range: 0.095260 - 0.095260)
archetype_transform_norm: 6.802291 (range: 6.802291 - 6.802291)
archetype_transform_grad_norm: 0.218189 (range: 0.218189 - 0.218189)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0818, max=0.7604, mean=0.3333
Batch reconstruction MSE: 0.9197
Archetype stats: min=-6.1358, max=9.8635
Archetype change since last debug: 0.567727
Archetype gradients: norm=0.046615, mean=0.002588
Epoch 1/1
Average loss: 0.8097
Archetypal loss: 0.8930
KLD loss: 0.0603
Reconstruction loss: 0.8930
Archetype R²: 0.0501
Archetype transform grad norm: 0.211623
Archetype transform param norm: 6.8225
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.8097 (range: 0.8097 - 0.8097)
archetypal_loss: 0.8930 (range: 0.8930 - 0.8930)
kld_loss: 0.0603 (range: 0.0603 - 0.0603)
reconstruction_loss: 0.8930 (range: 0.8930 - 0.8930)
archetype_r2: 0.0501 (range: 0.0501 - 0.0501)
Archetype Transform Summary:
archetype_transform_mean: 0.000212 (range: 0.000212 - 0.000212)
archetype_transform_std: 0.095543 (range: 0.095543 - 0.095543)
archetype_transform_norm: 6.822514 (range: 6.822514 - 6.822514)
archetype_transform_grad_norm: 0.211623 (range: 0.211623 - 0.211623)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0848, max=0.7027, mean=0.3333
Batch reconstruction MSE: 0.9981
Archetype stats: min=-6.3060, max=10.3174
Archetype change since last debug: 0.842252
Archetype gradients: norm=0.082180, mean=0.005425
Epoch 1/1
Average loss: 0.8107
Archetypal loss: 0.8947
KLD loss: 0.0552
Reconstruction loss: 0.8947
Archetype R²: 0.0481
Archetype transform grad norm: 0.218199
Archetype transform param norm: 6.8234
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.8107 (range: 0.8107 - 0.8107)
archetypal_loss: 0.8947 (range: 0.8947 - 0.8947)
kld_loss: 0.0552 (range: 0.0552 - 0.0552)
reconstruction_loss: 0.8947 (range: 0.8947 - 0.8947)
archetype_r2: 0.0481 (range: 0.0481 - 0.0481)
Archetype Transform Summary:
archetype_transform_mean: 0.000245 (range: 0.000245 - 0.000245)
archetype_transform_std: 0.095555 (range: 0.095555 - 0.095555)
archetype_transform_norm: 6.823380 (range: 6.823380 - 6.823380)
archetype_transform_grad_norm: 0.218199 (range: 0.218199 - 0.218199)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0798, max=0.6785, mean=0.3333
Batch reconstruction MSE: 0.9244
Archetype stats: min=-6.3247, max=10.1645
Archetype change since last debug: 0.421455
Archetype gradients: norm=0.057087, mean=0.003480
Epoch 1/1
Average loss: 0.8095
Archetypal loss: 0.8928
KLD loss: 0.0595
Reconstruction loss: 0.8928
Archetype R²: 0.0502
Archetype transform grad norm: 0.211042
Archetype transform param norm: 6.8444
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.8095 (range: 0.8095 - 0.8095)
archetypal_loss: 0.8928 (range: 0.8928 - 0.8928)
kld_loss: 0.0595 (range: 0.0595 - 0.0595)
reconstruction_loss: 0.8928 (range: 0.8928 - 0.8928)
archetype_r2: 0.0502 (range: 0.0502 - 0.0502)
Archetype Transform Summary:
archetype_transform_mean: 0.000228 (range: 0.000228 - 0.000228)
archetype_transform_std: 0.095849 (range: 0.095849 - 0.095849)
archetype_transform_norm: 6.844362 (range: 6.844362 - 6.844362)
archetype_transform_grad_norm: 0.211042 (range: 0.211042 - 0.211042)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0696, max=0.8045, mean=0.3333
Batch reconstruction MSE: 1.0040
Archetype stats: min=-6.5281, max=10.5226
Archetype change since last debug: 0.738421
Archetype gradients: norm=0.126661, mean=0.006823
Epoch 1/1
Average loss: 0.8104
Archetypal loss: 0.8945
KLD loss: 0.0537
Reconstruction loss: 0.8945
Archetype R²: 0.0483
Archetype transform grad norm: 0.214329
Archetype transform param norm: 6.8348
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.8104 (range: 0.8104 - 0.8104)
archetypal_loss: 0.8945 (range: 0.8945 - 0.8945)
kld_loss: 0.0537 (range: 0.0537 - 0.0537)
reconstruction_loss: 0.8945 (range: 0.8945 - 0.8945)
archetype_r2: 0.0483 (range: 0.0483 - 0.0483)
Archetype Transform Summary:
archetype_transform_mean: 0.000240 (range: 0.000240 - 0.000240)
archetype_transform_std: 0.095715 (range: 0.095715 - 0.095715)
archetype_transform_norm: 6.834753 (range: 6.834753 - 6.834753)
archetype_transform_grad_norm: 0.214329 (range: 0.214329 - 0.214329)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0835, max=0.6410, mean=0.3333
Batch reconstruction MSE: 0.8882
Archetype stats: min=-6.4237, max=10.5730
Archetype change since last debug: 0.538458
Archetype gradients: norm=0.054893, mean=0.003569
Epoch 1/1
Average loss: 0.8082
Archetypal loss: 0.8916
KLD loss: 0.0568
Reconstruction loss: 0.8916
Archetype R²: 0.0516
Archetype transform grad norm: 0.206570
Archetype transform param norm: 6.8637
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.8082 (range: 0.8082 - 0.8082)
archetypal_loss: 0.8916 (range: 0.8916 - 0.8916)
kld_loss: 0.0568 (range: 0.0568 - 0.0568)
reconstruction_loss: 0.8916 (range: 0.8916 - 0.8916)
archetype_r2: 0.0516 (range: 0.0516 - 0.0516)
Archetype Transform Summary:
archetype_transform_mean: 0.000229 (range: 0.000229 - 0.000229)
archetype_transform_std: 0.096120 (range: 0.096120 - 0.096120)
archetype_transform_norm: 6.863677 (range: 6.863677 - 6.863677)
archetype_transform_grad_norm: 0.206570 (range: 0.206570 - 0.206570)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0911, max=0.7168, mean=0.3333
Batch reconstruction MSE: 0.9282
Archetype stats: min=-6.6814, max=10.8016
Archetype change since last debug: 0.768202
Archetype gradients: norm=0.115723, mean=0.005970
Epoch 1/1
Average loss: 0.8087
Archetypal loss: 0.8927
KLD loss: 0.0527
Reconstruction loss: 0.8927
Archetype R²: 0.0504
Archetype transform grad norm: 0.213600
Archetype transform param norm: 6.8713
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.8087 (range: 0.8087 - 0.8087)
archetypal_loss: 0.8927 (range: 0.8927 - 0.8927)
kld_loss: 0.0527 (range: 0.0527 - 0.0527)
reconstruction_loss: 0.8927 (range: 0.8927 - 0.8927)
archetype_r2: 0.0504 (range: 0.0504 - 0.0504)
Archetype Transform Summary:
archetype_transform_mean: 0.000211 (range: 0.000211 - 0.000211)
archetype_transform_std: 0.096227 (range: 0.096227 - 0.096227)
archetype_transform_norm: 6.871304 (range: 6.871304 - 6.871304)
archetype_transform_grad_norm: 0.213600 (range: 0.213600 - 0.213600)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0828, max=0.5915, mean=0.3333
Batch reconstruction MSE: 0.9612
Archetype stats: min=-6.5977, max=11.1784
Archetype change since last debug: 0.795655
Archetype gradients: norm=0.082381, mean=0.005525
Epoch 1/1
Average loss: 0.8100
Archetypal loss: 0.8936
KLD loss: 0.0570
Reconstruction loss: 0.8936
Archetype R²: 0.0493
Archetype transform grad norm: 0.224541
Archetype transform param norm: 6.8853
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.8100 (range: 0.8100 - 0.8100)
archetypal_loss: 0.8936 (range: 0.8936 - 0.8936)
kld_loss: 0.0570 (range: 0.0570 - 0.0570)
reconstruction_loss: 0.8936 (range: 0.8936 - 0.8936)
archetype_r2: 0.0493 (range: 0.0493 - 0.0493)
Archetype Transform Summary:
archetype_transform_mean: 0.000215 (range: 0.000215 - 0.000215)
archetype_transform_std: 0.096423 (range: 0.096423 - 0.096423)
archetype_transform_norm: 6.885293 (range: 6.885293 - 6.885293)
archetype_transform_grad_norm: 0.224541 (range: 0.224541 - 0.224541)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0598, max=0.7989, mean=0.3333
Batch reconstruction MSE: 1.1015
Archetype stats: min=-6.7120, max=10.9669
Archetype change since last debug: 0.548941
Archetype gradients: norm=0.141947, mean=0.007406
Epoch 1/1
Average loss: 0.8117
Archetypal loss: 0.8962
KLD loss: 0.0511
Reconstruction loss: 0.8962
Archetype R²: 0.0463
Archetype transform grad norm: 0.215063
Archetype transform param norm: 6.8522
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.8117 (range: 0.8117 - 0.8117)
archetypal_loss: 0.8962 (range: 0.8962 - 0.8962)
kld_loss: 0.0511 (range: 0.0511 - 0.0511)
reconstruction_loss: 0.8962 (range: 0.8962 - 0.8962)
archetype_r2: 0.0463 (range: 0.0463 - 0.0463)
Archetype Transform Summary:
archetype_transform_mean: 0.000245 (range: 0.000245 - 0.000245)
archetype_transform_std: 0.095959 (range: 0.095959 - 0.095959)
archetype_transform_norm: 6.852211 (range: 6.852211 - 6.852211)
archetype_transform_grad_norm: 0.215063 (range: 0.215063 - 0.215063)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0803, max=0.5641, mean=0.3333
Batch reconstruction MSE: 0.8842
Archetype stats: min=-6.4370, max=11.0304
Archetype change since last debug: 0.856953
Archetype gradients: norm=0.036568, mean=0.002262
Epoch 1/1
Average loss: 0.8081
Archetypal loss: 0.8913
KLD loss: 0.0591
Reconstruction loss: 0.8913
Archetype R²: 0.0519
Archetype transform grad norm: 0.206858
Archetype transform param norm: 6.8759
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.8081 (range: 0.8081 - 0.8081)
archetypal_loss: 0.8913 (range: 0.8913 - 0.8913)
kld_loss: 0.0591 (range: 0.0591 - 0.0591)
reconstruction_loss: 0.8913 (range: 0.8913 - 0.8913)
archetype_r2: 0.0519 (range: 0.0519 - 0.0519)
Archetype Transform Summary:
archetype_transform_mean: 0.000259 (range: 0.000259 - 0.000259)
archetype_transform_std: 0.096292 (range: 0.096292 - 0.096292)
archetype_transform_norm: 6.875941 (range: 6.875941 - 6.875941)
archetype_transform_grad_norm: 0.206858 (range: 0.206858 - 0.206858)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0760, max=0.7425, mean=0.3333
Batch reconstruction MSE: 0.9333
Archetype stats: min=-6.6782, max=11.0365
Archetype change since last debug: 0.781618
Archetype gradients: norm=0.068092, mean=0.003903
Epoch 1/1
Average loss: 0.8079
Archetypal loss: 0.8922
KLD loss: 0.0494
Reconstruction loss: 0.8922
Archetype R²: 0.0509
Archetype transform grad norm: 0.205164
Archetype transform param norm: 6.8881
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.8079 (range: 0.8079 - 0.8079)
archetypal_loss: 0.8922 (range: 0.8922 - 0.8922)
kld_loss: 0.0494 (range: 0.0494 - 0.0494)
reconstruction_loss: 0.8922 (range: 0.8922 - 0.8922)
archetype_r2: 0.0509 (range: 0.0509 - 0.0509)
Archetype Transform Summary:
archetype_transform_mean: 0.000242 (range: 0.000242 - 0.000242)
archetype_transform_std: 0.096463 (range: 0.096463 - 0.096463)
archetype_transform_norm: 6.888149 (range: 6.888149 - 6.888149)
archetype_transform_grad_norm: 0.205164 (range: 0.205164 - 0.205164)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0801, max=0.5361, mean=0.3333
Batch reconstruction MSE: 0.8723
Archetype stats: min=-6.7201, max=11.3398
Archetype change since last debug: 0.517088
Archetype gradients: norm=0.034990, mean=0.002349
Epoch 1/1
Average loss: 0.8077
Archetypal loss: 0.8910
KLD loss: 0.0580
Reconstruction loss: 0.8910
Archetype R²: 0.0523
Archetype transform grad norm: 0.210379
Archetype transform param norm: 6.9194
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.8077 (range: 0.8077 - 0.8077)
archetypal_loss: 0.8910 (range: 0.8910 - 0.8910)
kld_loss: 0.0580 (range: 0.0580 - 0.0580)
reconstruction_loss: 0.8910 (range: 0.8910 - 0.8910)
archetype_r2: 0.0523 (range: 0.0523 - 0.0523)
Archetype Transform Summary:
archetype_transform_mean: 0.000251 (range: 0.000251 - 0.000251)
archetype_transform_std: 0.096900 (range: 0.096900 - 0.096900)
archetype_transform_norm: 6.919368 (range: 6.919368 - 6.919368)
archetype_transform_grad_norm: 0.210379 (range: 0.210379 - 0.210379)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0606, max=0.7269, mean=0.3333
Batch reconstruction MSE: 1.0543
Archetype stats: min=-6.9584, max=11.3806
Archetype change since last debug: 0.773121
Archetype gradients: norm=0.081175, mean=0.005054
Epoch 1/1
Average loss: 0.8098
Archetypal loss: 0.8948
KLD loss: 0.0455
Reconstruction loss: 0.8948
Archetype R²: 0.0479
Archetype transform grad norm: 0.209274
Archetype transform param norm: 6.9023
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.8098 (range: 0.8098 - 0.8098)
archetypal_loss: 0.8948 (range: 0.8948 - 0.8948)
kld_loss: 0.0455 (range: 0.0455 - 0.0455)
reconstruction_loss: 0.8948 (range: 0.8948 - 0.8948)
archetype_r2: 0.0479 (range: 0.0479 - 0.0479)
Archetype Transform Summary:
archetype_transform_mean: 0.000256 (range: 0.000256 - 0.000256)
archetype_transform_std: 0.096661 (range: 0.096661 - 0.096661)
archetype_transform_norm: 6.902330 (range: 6.902330 - 6.902330)
archetype_transform_grad_norm: 0.209274 (range: 0.209274 - 0.209274)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0687, max=0.5947, mean=0.3333
Batch reconstruction MSE: 0.8795
Archetype stats: min=-6.8273, max=11.3890
Archetype change since last debug: 0.759022
Archetype gradients: norm=0.027371, mean=0.001427
Epoch 1/1
Average loss: 0.8079
Archetypal loss: 0.8909
KLD loss: 0.0612
Reconstruction loss: 0.8909
Archetype R²: 0.0524
Archetype transform grad norm: 0.198299
Archetype transform param norm: 6.9186
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.8079 (range: 0.8079 - 0.8079)
archetypal_loss: 0.8909 (range: 0.8909 - 0.8909)
kld_loss: 0.0612 (range: 0.0612 - 0.0612)
reconstruction_loss: 0.8909 (range: 0.8909 - 0.8909)
archetype_r2: 0.0524 (range: 0.0524 - 0.0524)
Archetype Transform Summary:
archetype_transform_mean: 0.000259 (range: 0.000259 - 0.000259)
archetype_transform_std: 0.096889 (range: 0.096889 - 0.096889)
archetype_transform_norm: 6.918609 (range: 6.918609 - 6.918609)
archetype_transform_grad_norm: 0.198299 (range: 0.198299 - 0.198299)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0633, max=0.6511, mean=0.3333
Batch reconstruction MSE: 1.1085
Archetype stats: min=-6.9761, max=11.5368
Archetype change since last debug: 0.698787
Archetype gradients: norm=0.040662, mean=0.002347
Epoch 1/1
Average loss: 0.8109
Archetypal loss: 0.8959
KLD loss: 0.0457
Reconstruction loss: 0.8959
Archetype R²: 0.0466
Archetype transform grad norm: 0.210445
Archetype transform param norm: 6.9017
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.8109 (range: 0.8109 - 0.8109)
archetypal_loss: 0.8959 (range: 0.8959 - 0.8959)
kld_loss: 0.0457 (range: 0.0457 - 0.0457)
reconstruction_loss: 0.8959 (range: 0.8959 - 0.8959)
archetype_r2: 0.0466 (range: 0.0466 - 0.0466)
Archetype Transform Summary:
archetype_transform_mean: 0.000300 (range: 0.000300 - 0.000300)
archetype_transform_std: 0.096652 (range: 0.096652 - 0.096652)
archetype_transform_norm: 6.901683 (range: 6.901683 - 6.901683)
archetype_transform_grad_norm: 0.210445 (range: 0.210445 - 0.210445)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0747, max=0.5548, mean=0.3333
Batch reconstruction MSE: 0.9008
Archetype stats: min=-6.8166, max=11.0067
Archetype change since last debug: 1.037107
Archetype gradients: norm=0.038688, mean=0.002650
Epoch 1/1
Average loss: 0.8083
Archetypal loss: 0.8913
KLD loss: 0.0612
Reconstruction loss: 0.8913
Archetype R²: 0.0519
Archetype transform grad norm: 0.203306
Archetype transform param norm: 6.9073
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.8083 (range: 0.8083 - 0.8083)
archetypal_loss: 0.8913 (range: 0.8913 - 0.8913)
kld_loss: 0.0612 (range: 0.0612 - 0.0612)
reconstruction_loss: 0.8913 (range: 0.8913 - 0.8913)
archetype_r2: 0.0519 (range: 0.0519 - 0.0519)
Archetype Transform Summary:
archetype_transform_mean: 0.000285 (range: 0.000285 - 0.000285)
archetype_transform_std: 0.096731 (range: 0.096731 - 0.096731)
archetype_transform_norm: 6.907345 (range: 6.907345 - 6.907345)
archetype_transform_grad_norm: 0.203306 (range: 0.203306 - 0.203306)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0751, max=0.6369, mean=0.3333
Batch reconstruction MSE: 0.9750
Archetype stats: min=-6.9123, max=11.3794
Archetype change since last debug: 0.704379
Archetype gradients: norm=0.042553, mean=0.002398
Epoch 1/1
Average loss: 0.8086
Archetypal loss: 0.8931
KLD loss: 0.0479
Reconstruction loss: 0.8931
Archetype R²: 0.0498
Archetype transform grad norm: 0.216200
Archetype transform param norm: 6.9203
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.8086 (range: 0.8086 - 0.8086)
archetypal_loss: 0.8931 (range: 0.8931 - 0.8931)
kld_loss: 0.0479 (range: 0.0479 - 0.0479)
reconstruction_loss: 0.8931 (range: 0.8931 - 0.8931)
archetype_r2: 0.0498 (range: 0.0498 - 0.0498)
Archetype Transform Summary:
archetype_transform_mean: 0.000314 (range: 0.000314 - 0.000314)
archetype_transform_std: 0.096913 (range: 0.096913 - 0.096913)
archetype_transform_norm: 6.920303 (range: 6.920303 - 6.920303)
archetype_transform_grad_norm: 0.216200 (range: 0.216200 - 0.216200)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0706, max=0.5299, mean=0.3333
Batch reconstruction MSE: 0.8767
Archetype stats: min=-7.0286, max=11.0705
Archetype change since last debug: 0.620624
Archetype gradients: norm=0.060876, mean=0.003973
Epoch 1/1
Average loss: 0.8074
Archetypal loss: 0.8908
KLD loss: 0.0566
Reconstruction loss: 0.8908
Archetype R²: 0.0525
Archetype transform grad norm: 0.210092
Archetype transform param norm: 6.9362
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.8074 (range: 0.8074 - 0.8074)
archetypal_loss: 0.8908 (range: 0.8908 - 0.8908)
kld_loss: 0.0566 (range: 0.0566 - 0.0566)
reconstruction_loss: 0.8908 (range: 0.8908 - 0.8908)
archetype_r2: 0.0525 (range: 0.0525 - 0.0525)
Archetype Transform Summary:
archetype_transform_mean: 0.000280 (range: 0.000280 - 0.000280)
archetype_transform_std: 0.097135 (range: 0.097135 - 0.097135)
archetype_transform_norm: 6.936157 (range: 6.936157 - 6.936157)
archetype_transform_grad_norm: 0.210092 (range: 0.210092 - 0.210092)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0844, max=0.6518, mean=0.3333
Batch reconstruction MSE: 0.9648
Archetype stats: min=-7.0771, max=11.6263
Archetype change since last debug: 0.943723
Archetype gradients: norm=0.068485, mean=0.004647
Epoch 1/1
Average loss: 0.8088
Archetypal loss: 0.8932
KLD loss: 0.0486
Reconstruction loss: 0.8932
Archetype R²: 0.0497
Archetype transform grad norm: 0.231957
Archetype transform param norm: 6.9558
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.8088 (range: 0.8088 - 0.8088)
archetypal_loss: 0.8932 (range: 0.8932 - 0.8932)
kld_loss: 0.0486 (range: 0.0486 - 0.0486)
reconstruction_loss: 0.8932 (range: 0.8932 - 0.8932)
archetype_r2: 0.0497 (range: 0.0497 - 0.0497)
Archetype Transform Summary:
archetype_transform_mean: 0.000307 (range: 0.000307 - 0.000307)
archetype_transform_std: 0.097410 (range: 0.097410 - 0.097410)
archetype_transform_norm: 6.955801 (range: 6.955801 - 6.955801)
archetype_transform_grad_norm: 0.231957 (range: 0.231957 - 0.231957)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0709, max=0.6062, mean=0.3333
Batch reconstruction MSE: 0.9845
Archetype stats: min=-7.1936, max=11.1506
Archetype change since last debug: 0.852340
Archetype gradients: norm=0.094435, mean=0.006602
Epoch 1/1
Average loss: 0.8099
Archetypal loss: 0.8937
KLD loss: 0.0557
Reconstruction loss: 0.8937
Archetype R²: 0.0491
Archetype transform grad norm: 0.228506
Archetype transform param norm: 6.9395
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.8099 (range: 0.8099 - 0.8099)
archetypal_loss: 0.8937 (range: 0.8937 - 0.8937)
kld_loss: 0.0557 (range: 0.0557 - 0.0557)
reconstruction_loss: 0.8937 (range: 0.8937 - 0.8937)
archetype_r2: 0.0491 (range: 0.0491 - 0.0491)
Archetype Transform Summary:
archetype_transform_mean: 0.000288 (range: 0.000288 - 0.000288)
archetype_transform_std: 0.097182 (range: 0.097182 - 0.097182)
archetype_transform_norm: 6.939498 (range: 6.939498 - 6.939498)
archetype_transform_grad_norm: 0.228506 (range: 0.228506 - 0.228506)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0778, max=0.6680, mean=0.3333
Batch reconstruction MSE: 1.0176
Archetype stats: min=-7.0090, max=11.4732
Archetype change since last debug: 0.815601
Archetype gradients: norm=0.058865, mean=0.003596
Epoch 1/1
Average loss: 0.8097
Archetypal loss: 0.8943
KLD loss: 0.0487
Reconstruction loss: 0.8943
Archetype R²: 0.0484
Archetype transform grad norm: 0.229977
Archetype transform param norm: 6.9385
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.8097 (range: 0.8097 - 0.8097)
archetypal_loss: 0.8943 (range: 0.8943 - 0.8943)
kld_loss: 0.0487 (range: 0.0487 - 0.0487)
reconstruction_loss: 0.8943 (range: 0.8943 - 0.8943)
archetype_r2: 0.0484 (range: 0.0484 - 0.0484)
Archetype Transform Summary:
archetype_transform_mean: 0.000351 (range: 0.000351 - 0.000351)
archetype_transform_std: 0.097167 (range: 0.097167 - 0.097167)
archetype_transform_norm: 6.938462 (range: 6.938462 - 6.938462)
archetype_transform_grad_norm: 0.229977 (range: 0.229977 - 0.229977)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0671, max=0.7802, mean=0.3333
Batch reconstruction MSE: 0.9261
Archetype stats: min=-7.1228, max=10.9102
Archetype change since last debug: 0.912608
Archetype gradients: norm=0.062434, mean=0.004152
Epoch 1/1
Average loss: 0.8077
Archetypal loss: 0.8917
KLD loss: 0.0518
Reconstruction loss: 0.8917
Archetype R²: 0.0514
Archetype transform grad norm: 0.207027
Archetype transform param norm: 6.9412
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.8077 (range: 0.8077 - 0.8077)
archetypal_loss: 0.8917 (range: 0.8917 - 0.8917)
kld_loss: 0.0518 (range: 0.0518 - 0.0518)
reconstruction_loss: 0.8917 (range: 0.8917 - 0.8917)
archetype_r2: 0.0514 (range: 0.0514 - 0.0514)
Archetype Transform Summary:
archetype_transform_mean: 0.000331 (range: 0.000331 - 0.000331)
archetype_transform_std: 0.097206 (range: 0.097206 - 0.097206)
archetype_transform_norm: 6.941229 (range: 6.941229 - 6.941229)
archetype_transform_grad_norm: 0.207027 (range: 0.207027 - 0.207027)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0780, max=0.5284, mean=0.3333
Batch reconstruction MSE: 0.8852
Archetype stats: min=-7.1496, max=11.3529
Archetype change since last debug: 0.691977
Archetype gradients: norm=0.036991, mean=0.002458
Epoch 1/1
Average loss: 0.8065
Archetypal loss: 0.8906
KLD loss: 0.0493
Reconstruction loss: 0.8906
Archetype R²: 0.0526
Archetype transform grad norm: 0.208779
Archetype transform param norm: 6.9705
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.8065 (range: 0.8065 - 0.8065)
archetypal_loss: 0.8906 (range: 0.8906 - 0.8906)
kld_loss: 0.0493 (range: 0.0493 - 0.0493)
reconstruction_loss: 0.8906 (range: 0.8906 - 0.8906)
archetype_r2: 0.0526 (range: 0.0526 - 0.0526)
Archetype Transform Summary:
archetype_transform_mean: 0.000333 (range: 0.000333 - 0.000333)
archetype_transform_std: 0.097615 (range: 0.097615 - 0.097615)
archetype_transform_norm: 6.970496 (range: 6.970496 - 6.970496)
archetype_transform_grad_norm: 0.208779 (range: 0.208779 - 0.208779)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0735, max=0.5597, mean=0.3333
Batch reconstruction MSE: 0.8685
Archetype stats: min=-7.3560, max=11.3071
Archetype change since last debug: 0.760264
Archetype gradients: norm=0.049072, mean=0.003267
Epoch 1/1
Average loss: 0.8061
Archetypal loss: 0.8903
KLD loss: 0.0490
Reconstruction loss: 0.8903
Archetype R²: 0.0530
Archetype transform grad norm: 0.208714
Archetype transform param norm: 6.9909
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.8061 (range: 0.8061 - 0.8061)
archetypal_loss: 0.8903 (range: 0.8903 - 0.8903)
kld_loss: 0.0490 (range: 0.0490 - 0.0490)
reconstruction_loss: 0.8903 (range: 0.8903 - 0.8903)
archetype_r2: 0.0530 (range: 0.0530 - 0.0530)
Archetype Transform Summary:
archetype_transform_mean: 0.000298 (range: 0.000298 - 0.000298)
archetype_transform_std: 0.097901 (range: 0.097901 - 0.097901)
archetype_transform_norm: 6.990853 (range: 6.990853 - 6.990853)
archetype_transform_grad_norm: 0.208714 (range: 0.208714 - 0.208714)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0775, max=0.5576, mean=0.3333
Batch reconstruction MSE: 0.8767
Archetype stats: min=-7.4365, max=11.7809
Archetype change since last debug: 0.850134
Archetype gradients: norm=0.044671, mean=0.003097
Epoch 1/1
Average loss: 0.8062
Archetypal loss: 0.8906
KLD loss: 0.0463
Reconstruction loss: 0.8906
Archetype R²: 0.0526
Archetype transform grad norm: 0.219004
Archetype transform param norm: 7.0223
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.8062 (range: 0.8062 - 0.8062)
archetypal_loss: 0.8906 (range: 0.8906 - 0.8906)
kld_loss: 0.0463 (range: 0.0463 - 0.0463)
reconstruction_loss: 0.8906 (range: 0.8906 - 0.8906)
archetype_r2: 0.0526 (range: 0.0526 - 0.0526)
Archetype Transform Summary:
archetype_transform_mean: 0.000307 (range: 0.000307 - 0.000307)
archetype_transform_std: 0.098340 (range: 0.098340 - 0.098340)
archetype_transform_norm: 7.022251 (range: 7.022251 - 7.022251)
archetype_transform_grad_norm: 0.219004 (range: 0.219004 - 0.219004)
Fold 3/3
Model input_dim: 50 (auto-detected from data)
Archetypes parameter registered: True
Archetypes requires_grad: True
Deep_AA (Deep Archetypal Analysis) initialized:
- Single-stage architecture (like Deep_2)
- Inflation factor: 1.5
- Direct archetypal coordinates (no bottleneck)
Consolidated Archetype Initialization
PCHA: True, Inflation: True (factor: 1.5)
Test inflation: False
Running PCHA initialization...
Input shape: (128, 50)
Target archetypes: 3
Running PCHA with 3 archetypes...
Data shape for PCHA: (50, 128)
PCHA Results:
Archetypes shape: (3, 50)
Archetype R²: 0.2003
SSE: 5664.1298
PCHA archetype R²: 0.2003
Archetype shape: (3, 50)
[OK] Initialized 3 archetypes using PCHA
Scalar Archetypal Inflation (factor: 1.50)
[OK] Inflation complete
[STATS] Positioning verification:
Data radius (max): 24.766
Data radius (mean): 6.597
Archetype distances: 5.686 to 32.409
Archetypes outside data: 1/3
Min archetype separation: 25.796
[OK] Archetype initialization complete (success: True)
[OK] Archetype initialization complete (PCHA: True, Inflation: 1.5)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0017, max=0.9462, mean=0.3333
Batch reconstruction MSE: 1.3711
Archetype stats: min=-3.1890, max=3.8075
Archetype gradients: norm=0.041529, mean=0.002545
Epoch 1/1
Average loss: 0.9275
Archetypal loss: 1.0260
KLD loss: 0.0406
Reconstruction loss: 1.0260
Archetype R²: -0.0546
Archetype transform grad norm: 0.570964
Archetype transform param norm: 5.8179
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.9275 (range: 0.9275 - 0.9275)
archetypal_loss: 1.0260 (range: 1.0260 - 1.0260)
kld_loss: 0.0406 (range: 0.0406 - 0.0406)
reconstruction_loss: 1.0260 (range: 1.0260 - 1.0260)
archetype_r2: -0.0546 (range: -0.0546 - -0.0546)
Archetype Transform Summary:
archetype_transform_mean: 0.000172 (range: 0.000172 - 0.000172)
archetype_transform_std: 0.081474 (range: 0.081474 - 0.081474)
archetype_transform_norm: 5.817926 (range: 5.817926 - 5.817926)
archetype_transform_grad_norm: 0.570964 (range: 0.570964 - 0.570964)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0011, max=0.9943, mean=0.3333
Batch reconstruction MSE: 0.8797
Archetype stats: min=-1.0061, max=0.9721
Archetype change since last debug: 10.376164
Archetype gradients: norm=0.005107, mean=0.000308
Epoch 1/1
Average loss: 0.8811
Archetypal loss: 0.9763
KLD loss: 0.0239
Reconstruction loss: 0.9763
Archetype R²: -0.0031
Archetype transform grad norm: 0.260101
Archetype transform param norm: 5.8101
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.8811 (range: 0.8811 - 0.8811)
archetypal_loss: 0.9763 (range: 0.9763 - 0.9763)
kld_loss: 0.0239 (range: 0.0239 - 0.0239)
reconstruction_loss: 0.9763 (range: 0.9763 - 0.9763)
archetype_r2: -0.0031 (range: -0.0031 - -0.0031)
Archetype Transform Summary:
archetype_transform_mean: -0.000137 (range: -0.000137 - -0.000137)
archetype_transform_std: 0.081366 (range: 0.081366 - 0.081366)
archetype_transform_norm: 5.810129 (range: 5.810129 - 5.810129)
archetype_transform_grad_norm: 0.260101 (range: 0.260101 - 0.260101)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0008, max=0.9849, mean=0.3333
Batch reconstruction MSE: 0.8711
Archetype stats: min=-1.3584, max=1.2610
Archetype change since last debug: 1.533313
Archetype gradients: norm=0.004363, mean=0.000261
Epoch 1/1
Average loss: 0.8744
Archetypal loss: 0.9662
KLD loss: 0.0480
Reconstruction loss: 0.9662
Archetype R²: 0.0072
Archetype transform grad norm: 0.280943
Archetype transform param norm: 5.8236
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.8744 (range: 0.8744 - 0.8744)
archetypal_loss: 0.9662 (range: 0.9662 - 0.9662)
kld_loss: 0.0480 (range: 0.0480 - 0.0480)
reconstruction_loss: 0.9662 (range: 0.9662 - 0.9662)
archetype_r2: 0.0072 (range: 0.0072 - 0.0072)
Archetype Transform Summary:
archetype_transform_mean: -0.000050 (range: -0.000050 - -0.000050)
archetype_transform_std: 0.081555 (range: 0.081555 - 0.081555)
archetype_transform_norm: 5.823642 (range: 5.823642 - 5.823642)
archetype_transform_grad_norm: 0.280943 (range: 0.280943 - 0.280943)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0018, max=0.9520, mean=0.3333
Batch reconstruction MSE: 0.8987
Archetype stats: min=-2.1310, max=2.0064
Archetype change since last debug: 3.418662
Archetype gradients: norm=0.006791, mean=0.000368
Epoch 1/1
Average loss: 0.8690
Archetypal loss: 0.9605
KLD loss: 0.0449
Reconstruction loss: 0.9605
Archetype R²: 0.0129
Archetype transform grad norm: 0.290872
Archetype transform param norm: 5.8508
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.8690 (range: 0.8690 - 0.8690)
archetypal_loss: 0.9605 (range: 0.9605 - 0.9605)
kld_loss: 0.0449 (range: 0.0449 - 0.0449)
reconstruction_loss: 0.9605 (range: 0.9605 - 0.9605)
archetype_r2: 0.0129 (range: 0.0129 - 0.0129)
Archetype Transform Summary:
archetype_transform_mean: 0.000023 (range: 0.000023 - 0.000023)
archetype_transform_std: 0.081935 (range: 0.081935 - 0.081935)
archetype_transform_norm: 5.850790 (range: 5.850790 - 5.850790)
archetype_transform_grad_norm: 0.290872 (range: 0.290872 - 0.290872)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0017, max=0.9237, mean=0.3333
Batch reconstruction MSE: 0.8765
Archetype stats: min=-2.9070, max=2.8325
Archetype change since last debug: 2.922873
Archetype gradients: norm=0.004922, mean=0.000314
Epoch 1/1
Average loss: 0.8628
Archetypal loss: 0.9520
KLD loss: 0.0603
Reconstruction loss: 0.9520
Archetype R²: 0.0218
Archetype transform grad norm: 0.297280
Archetype transform param norm: 5.9037
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.8628 (range: 0.8628 - 0.8628)
archetypal_loss: 0.9520 (range: 0.9520 - 0.9520)
kld_loss: 0.0603 (range: 0.0603 - 0.0603)
reconstruction_loss: 0.9520 (range: 0.9520 - 0.9520)
archetype_r2: 0.0218 (range: 0.0218 - 0.0218)
Archetype Transform Summary:
archetype_transform_mean: 0.000131 (range: 0.000131 - 0.000131)
archetype_transform_std: 0.082677 (range: 0.082677 - 0.082677)
archetype_transform_norm: 5.903732 (range: 5.903732 - 5.903732)
archetype_transform_grad_norm: 0.297280 (range: 0.297280 - 0.297280)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0027, max=0.9142, mean=0.3333
Batch reconstruction MSE: 0.9130
Archetype stats: min=-4.0199, max=3.5867
Archetype change since last debug: 3.717526
Archetype gradients: norm=0.012218, mean=0.000676
Epoch 1/1
Average loss: 0.8551
Archetypal loss: 0.9418
KLD loss: 0.0742
Reconstruction loss: 0.9418
Archetype R²: 0.0321
Archetype transform grad norm: 0.307562
Archetype transform param norm: 6.0113
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.8551 (range: 0.8551 - 0.8551)
archetypal_loss: 0.9418 (range: 0.9418 - 0.9418)
kld_loss: 0.0742 (range: 0.0742 - 0.0742)
reconstruction_loss: 0.9418 (range: 0.9418 - 0.9418)
archetype_r2: 0.0321 (range: 0.0321 - 0.0321)
Archetype Transform Summary:
archetype_transform_mean: 0.000311 (range: 0.000311 - 0.000311)
archetype_transform_std: 0.084183 (range: 0.084183 - 0.084183)
archetype_transform_norm: 6.011313 (range: 6.011313 - 6.011313)
archetype_transform_grad_norm: 0.307562 (range: 0.307562 - 0.307562)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0022, max=0.9249, mean=0.3333
Batch reconstruction MSE: 1.0060
Archetype stats: min=-5.1335, max=5.0086
Archetype change since last debug: 4.534347
Archetype gradients: norm=0.029252, mean=0.001717
Epoch 1/1
Average loss: 0.8525
Archetypal loss: 0.9387
KLD loss: 0.0769
Reconstruction loss: 0.9387
Archetype R²: 0.0351
Archetype transform grad norm: 0.323070
Archetype transform param norm: 6.0935
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.8525 (range: 0.8525 - 0.8525)
archetypal_loss: 0.9387 (range: 0.9387 - 0.9387)
kld_loss: 0.0769 (range: 0.0769 - 0.0769)
reconstruction_loss: 0.9387 (range: 0.9387 - 0.9387)
archetype_r2: 0.0351 (range: 0.0351 - 0.0351)
Archetype Transform Summary:
archetype_transform_mean: 0.000421 (range: 0.000421 - 0.000421)
archetype_transform_std: 0.085333 (range: 0.085333 - 0.085333)
archetype_transform_norm: 6.093461 (range: 6.093461 - 6.093461)
archetype_transform_grad_norm: 0.323070 (range: 0.323070 - 0.323070)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0043, max=0.7989, mean=0.3333
Batch reconstruction MSE: 1.0190
Archetype stats: min=-5.5695, max=5.9584
Archetype change since last debug: 2.735458
Archetype gradients: norm=0.037966, mean=0.001921
Epoch 1/1
Average loss: 0.8489
Archetypal loss: 0.9356
KLD loss: 0.0689
Reconstruction loss: 0.9356
Archetype R²: 0.0384
Archetype transform grad norm: 0.315078
Archetype transform param norm: 6.1439
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.8489 (range: 0.8489 - 0.8489)
archetypal_loss: 0.9356 (range: 0.9356 - 0.9356)
kld_loss: 0.0689 (range: 0.0689 - 0.0689)
reconstruction_loss: 0.9356 (range: 0.9356 - 0.9356)
archetype_r2: 0.0384 (range: 0.0384 - 0.0384)
Archetype Transform Summary:
archetype_transform_mean: 0.000459 (range: 0.000459 - 0.000459)
archetype_transform_std: 0.086039 (range: 0.086039 - 0.086039)
archetype_transform_norm: 6.143906 (range: 6.143906 - 6.143906)
archetype_transform_grad_norm: 0.315078 (range: 0.315078 - 0.315078)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0052, max=0.9191, mean=0.3333
Batch reconstruction MSE: 0.9228
Archetype stats: min=-5.9937, max=6.8964
Archetype change since last debug: 2.226328
Archetype gradients: norm=0.020504, mean=0.001142
Epoch 1/1
Average loss: 0.8450
Archetypal loss: 0.9316
KLD loss: 0.0660
Reconstruction loss: 0.9316
Archetype R²: 0.0428
Archetype transform grad norm: 0.320909
Archetype transform param norm: 6.1963
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.8450 (range: 0.8450 - 0.8450)
archetypal_loss: 0.9316 (range: 0.9316 - 0.9316)
kld_loss: 0.0660 (range: 0.0660 - 0.0660)
reconstruction_loss: 0.9316 (range: 0.9316 - 0.9316)
archetype_r2: 0.0428 (range: 0.0428 - 0.0428)
Archetype Transform Summary:
archetype_transform_mean: 0.000530 (range: 0.000530 - 0.000530)
archetype_transform_std: 0.086773 (range: 0.086773 - 0.086773)
archetype_transform_norm: 6.196328 (range: 6.196328 - 6.196328)
archetype_transform_grad_norm: 0.320909 (range: 0.320909 - 0.320909)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0080, max=0.7347, mean=0.3333
Batch reconstruction MSE: 0.9184
Archetype stats: min=-6.3465, max=7.7747
Archetype change since last debug: 2.202367
Archetype gradients: norm=0.018999, mean=0.001006
Epoch 1/1
Average loss: 0.8435
Archetypal loss: 0.9302
KLD loss: 0.0630
Reconstruction loss: 0.9302
Archetype R²: 0.0443
Archetype transform grad norm: 0.324501
Archetype transform param norm: 6.2425
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.8435 (range: 0.8435 - 0.8435)
archetypal_loss: 0.9302 (range: 0.9302 - 0.9302)
kld_loss: 0.0630 (range: 0.0630 - 0.0630)
reconstruction_loss: 0.9302 (range: 0.9302 - 0.9302)
archetype_r2: 0.0443 (range: 0.0443 - 0.0443)
Archetype Transform Summary:
archetype_transform_mean: 0.000594 (range: 0.000594 - 0.000594)
archetype_transform_std: 0.087419 (range: 0.087419 - 0.087419)
archetype_transform_norm: 6.242471 (range: 6.242471 - 6.242471)
archetype_transform_grad_norm: 0.324501 (range: 0.324501 - 0.324501)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0069, max=0.7874, mean=0.3333
Batch reconstruction MSE: 0.9641
Archetype stats: min=-6.6874, max=8.5924
Archetype change since last debug: 1.911924
Archetype gradients: norm=0.022180, mean=0.001363
Epoch 1/1
Average loss: 0.8435
Archetypal loss: 0.9304
KLD loss: 0.0610
Reconstruction loss: 0.9304
Archetype R²: 0.0439
Archetype transform grad norm: 0.329499
Archetype transform param norm: 6.2646
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.8435 (range: 0.8435 - 0.8435)
archetypal_loss: 0.9304 (range: 0.9304 - 0.9304)
kld_loss: 0.0610 (range: 0.0610 - 0.0610)
reconstruction_loss: 0.9304 (range: 0.9304 - 0.9304)
archetype_r2: 0.0439 (range: 0.0439 - 0.0439)
Archetype Transform Summary:
archetype_transform_mean: 0.000615 (range: 0.000615 - 0.000615)
archetype_transform_std: 0.087729 (range: 0.087729 - 0.087729)
archetype_transform_norm: 6.264612 (range: 6.264612 - 6.264612)
archetype_transform_grad_norm: 0.329499 (range: 0.329499 - 0.329499)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0104, max=0.7388, mean=0.3333
Batch reconstruction MSE: 0.9137
Archetype stats: min=-6.6034, max=8.8406
Archetype change since last debug: 1.162434
Archetype gradients: norm=0.021192, mean=0.001067
Epoch 1/1
Average loss: 0.8419
Archetypal loss: 0.9288
KLD loss: 0.0598
Reconstruction loss: 0.9288
Archetype R²: 0.0458
Archetype transform grad norm: 0.329928
Archetype transform param norm: 6.2925
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.8419 (range: 0.8419 - 0.8419)
archetypal_loss: 0.9288 (range: 0.9288 - 0.9288)
kld_loss: 0.0598 (range: 0.0598 - 0.0598)
reconstruction_loss: 0.9288 (range: 0.9288 - 0.9288)
archetype_r2: 0.0458 (range: 0.0458 - 0.0458)
Archetype Transform Summary:
archetype_transform_mean: 0.000650 (range: 0.000650 - 0.000650)
archetype_transform_std: 0.088118 (range: 0.088118 - 0.088118)
archetype_transform_norm: 6.292475 (range: 6.292475 - 6.292475)
archetype_transform_grad_norm: 0.329928 (range: 0.329928 - 0.329928)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0171, max=0.8216, mean=0.3333
Batch reconstruction MSE: 0.9579
Archetype stats: min=-6.8569, max=9.4531
Archetype change since last debug: 1.383239
Archetype gradients: norm=0.016780, mean=0.000892
Epoch 1/1
Average loss: 0.8426
Archetypal loss: 0.9298
KLD loss: 0.0583
Reconstruction loss: 0.9298
Archetype R²: 0.0447
Archetype transform grad norm: 0.342641
Archetype transform param norm: 6.3110
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.8426 (range: 0.8426 - 0.8426)
archetypal_loss: 0.9298 (range: 0.9298 - 0.9298)
kld_loss: 0.0583 (range: 0.0583 - 0.0583)
reconstruction_loss: 0.9298 (range: 0.9298 - 0.9298)
archetype_r2: 0.0447 (range: 0.0447 - 0.0447)
Archetype Transform Summary:
archetype_transform_mean: 0.000672 (range: 0.000672 - 0.000672)
archetype_transform_std: 0.088378 (range: 0.088378 - 0.088378)
archetype_transform_norm: 6.311045 (range: 6.311045 - 6.311045)
archetype_transform_grad_norm: 0.342641 (range: 0.342641 - 0.342641)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0095, max=0.6999, mean=0.3333
Batch reconstruction MSE: 0.9297
Archetype stats: min=-6.6531, max=9.3827
Archetype change since last debug: 0.962399
Archetype gradients: norm=0.057877, mean=0.002735
Epoch 1/1
Average loss: 0.8421
Archetypal loss: 0.9289
KLD loss: 0.0609
Reconstruction loss: 0.9289
Archetype R²: 0.0457
Archetype transform grad norm: 0.340614
Archetype transform param norm: 6.3144
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.8421 (range: 0.8421 - 0.8421)
archetypal_loss: 0.9289 (range: 0.9289 - 0.9289)
kld_loss: 0.0609 (range: 0.0609 - 0.0609)
reconstruction_loss: 0.9289 (range: 0.9289 - 0.9289)
archetype_r2: 0.0457 (range: 0.0457 - 0.0457)
Archetype Transform Summary:
archetype_transform_mean: 0.000657 (range: 0.000657 - 0.000657)
archetype_transform_std: 0.088425 (range: 0.088425 - 0.088425)
archetype_transform_norm: 6.314370 (range: 6.314370 - 6.314370)
archetype_transform_grad_norm: 0.340614 (range: 0.340614 - 0.340614)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0121, max=0.6973, mean=0.3333
Batch reconstruction MSE: 0.9556
Archetype stats: min=-6.7667, max=9.7431
Archetype change since last debug: 0.919648
Archetype gradients: norm=0.030328, mean=0.001973
Epoch 1/1
Average loss: 0.8419
Archetypal loss: 0.9289
KLD loss: 0.0594
Reconstruction loss: 0.9289
Archetype R²: 0.0457
Archetype transform grad norm: 0.348688
Archetype transform param norm: 6.3334
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.8419 (range: 0.8419 - 0.8419)
archetypal_loss: 0.9289 (range: 0.9289 - 0.9289)
kld_loss: 0.0594 (range: 0.0594 - 0.0594)
reconstruction_loss: 0.9289 (range: 0.9289 - 0.9289)
archetype_r2: 0.0457 (range: 0.0457 - 0.0457)
Archetype Transform Summary:
archetype_transform_mean: 0.000706 (range: 0.000706 - 0.000706)
archetype_transform_std: 0.088691 (range: 0.088691 - 0.088691)
archetype_transform_norm: 6.333355 (range: 6.333355 - 6.333355)
archetype_transform_grad_norm: 0.348688 (range: 0.348688 - 0.348688)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0209, max=0.6244, mean=0.3333
Batch reconstruction MSE: 0.9079
Archetype stats: min=-6.7727, max=9.8565
Archetype change since last debug: 0.613678
Archetype gradients: norm=0.049626, mean=0.002303
Epoch 1/1
Average loss: 0.8405
Archetypal loss: 0.9275
KLD loss: 0.0575
Reconstruction loss: 0.9275
Archetype R²: 0.0472
Archetype transform grad norm: 0.329909
Archetype transform param norm: 6.3360
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.8405 (range: 0.8405 - 0.8405)
archetypal_loss: 0.9275 (range: 0.9275 - 0.9275)
kld_loss: 0.0575 (range: 0.0575 - 0.0575)
reconstruction_loss: 0.9275 (range: 0.9275 - 0.9275)
archetype_r2: 0.0472 (range: 0.0472 - 0.0472)
Archetype Transform Summary:
archetype_transform_mean: 0.000682 (range: 0.000682 - 0.000682)
archetype_transform_std: 0.088728 (range: 0.088728 - 0.088728)
archetype_transform_norm: 6.336009 (range: 6.336009 - 6.336009)
archetype_transform_grad_norm: 0.329909 (range: 0.329909 - 0.329909)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0193, max=0.7067, mean=0.3333
Batch reconstruction MSE: 0.9139
Archetype stats: min=-7.1463, max=10.3706
Archetype change since last debug: 1.007296
Archetype gradients: norm=0.026010, mean=0.001620
Epoch 1/1
Average loss: 0.8404
Archetypal loss: 0.9275
KLD loss: 0.0562
Reconstruction loss: 0.9275
Archetype R²: 0.0472
Archetype transform grad norm: 0.344261
Archetype transform param norm: 6.3615
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.8404 (range: 0.8404 - 0.8404)
archetypal_loss: 0.9275 (range: 0.9275 - 0.9275)
kld_loss: 0.0562 (range: 0.0562 - 0.0562)
reconstruction_loss: 0.9275 (range: 0.9275 - 0.9275)
archetype_r2: 0.0472 (range: 0.0472 - 0.0472)
Archetype Transform Summary:
archetype_transform_mean: 0.000742 (range: 0.000742 - 0.000742)
archetype_transform_std: 0.089085 (range: 0.089085 - 0.089085)
archetype_transform_norm: 6.361527 (range: 6.361527 - 6.361527)
archetype_transform_grad_norm: 0.344261 (range: 0.344261 - 0.344261)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0195, max=0.6003, mean=0.3333
Batch reconstruction MSE: 0.9013
Archetype stats: min=-7.1499, max=10.4654
Archetype change since last debug: 0.680973
Archetype gradients: norm=0.046958, mean=0.002386
Epoch 1/1
Average loss: 0.8397
Archetypal loss: 0.9268
KLD loss: 0.0556
Reconstruction loss: 0.9268
Archetype R²: 0.0479
Archetype transform grad norm: 0.334566
Archetype transform param norm: 6.3650
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.8397 (range: 0.8397 - 0.8397)
archetypal_loss: 0.9268 (range: 0.9268 - 0.9268)
kld_loss: 0.0556 (range: 0.0556 - 0.0556)
reconstruction_loss: 0.9268 (range: 0.9268 - 0.9268)
archetype_r2: 0.0479 (range: 0.0479 - 0.0479)
Archetype Transform Summary:
archetype_transform_mean: 0.000731 (range: 0.000731 - 0.000731)
archetype_transform_std: 0.089134 (range: 0.089134 - 0.089134)
archetype_transform_norm: 6.365048 (range: 6.365048 - 6.365048)
archetype_transform_grad_norm: 0.334566 (range: 0.334566 - 0.334566)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0286, max=0.7267, mean=0.3333
Batch reconstruction MSE: 0.9006
Archetype stats: min=-7.4324, max=10.7771
Archetype change since last debug: 0.779891
Archetype gradients: norm=0.023157, mean=0.001372
Epoch 1/1
Average loss: 0.8396
Archetypal loss: 0.9270
KLD loss: 0.0536
Reconstruction loss: 0.9270
Archetype R²: 0.0478
Archetype transform grad norm: 0.347359
Archetype transform param norm: 6.3872
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.8396 (range: 0.8396 - 0.8396)
archetypal_loss: 0.9270 (range: 0.9270 - 0.9270)
kld_loss: 0.0536 (range: 0.0536 - 0.0536)
reconstruction_loss: 0.9270 (range: 0.9270 - 0.9270)
archetype_r2: 0.0478 (range: 0.0478 - 0.0478)
Archetype Transform Summary:
archetype_transform_mean: 0.000784 (range: 0.000784 - 0.000784)
archetype_transform_std: 0.089444 (range: 0.089444 - 0.089444)
archetype_transform_norm: 6.387177 (range: 6.387177 - 6.387177)
archetype_transform_grad_norm: 0.347359 (range: 0.347359 - 0.347359)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0177, max=0.6862, mean=0.3333
Batch reconstruction MSE: 0.9620
Archetype stats: min=-7.5016, max=10.7697
Archetype change since last debug: 0.650597
Archetype gradients: norm=0.036539, mean=0.002351
Epoch 1/1
Average loss: 0.8414
Archetypal loss: 0.9286
KLD loss: 0.0560
Reconstruction loss: 0.9286
Archetype R²: 0.0459
Archetype transform grad norm: 0.360086
Archetype transform param norm: 6.3823
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.8414 (range: 0.8414 - 0.8414)
archetypal_loss: 0.9286 (range: 0.9286 - 0.9286)
kld_loss: 0.0560 (range: 0.0560 - 0.0560)
reconstruction_loss: 0.9286 (range: 0.9286 - 0.9286)
archetype_r2: 0.0459 (range: 0.0459 - 0.0459)
Archetype Transform Summary:
archetype_transform_mean: 0.000763 (range: 0.000763 - 0.000763)
archetype_transform_std: 0.089376 (range: 0.089376 - 0.089376)
archetype_transform_norm: 6.382309 (range: 6.382309 - 6.382309)
archetype_transform_grad_norm: 0.360086 (range: 0.360086 - 0.360086)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0330, max=0.7695, mean=0.3333
Batch reconstruction MSE: 0.9728
Archetype stats: min=-7.2767, max=10.8148
Archetype change since last debug: 0.597581
Archetype gradients: norm=0.038511, mean=0.002418
Epoch 1/1
Average loss: 0.8416
Archetypal loss: 0.9288
KLD loss: 0.0566
Reconstruction loss: 0.9288
Archetype R²: 0.0457
Archetype transform grad norm: 0.354075
Archetype transform param norm: 6.3780
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.8416 (range: 0.8416 - 0.8416)
archetypal_loss: 0.9288 (range: 0.9288 - 0.9288)
kld_loss: 0.0566 (range: 0.0566 - 0.0566)
reconstruction_loss: 0.9288 (range: 0.9288 - 0.9288)
archetype_r2: 0.0457 (range: 0.0457 - 0.0457)
Archetype Transform Summary:
archetype_transform_mean: 0.000737 (range: 0.000737 - 0.000737)
archetype_transform_std: 0.089316 (range: 0.089316 - 0.089316)
archetype_transform_norm: 6.378003 (range: 6.378003 - 6.378003)
archetype_transform_grad_norm: 0.354075 (range: 0.354075 - 0.354075)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0302, max=0.6837, mean=0.3333
Batch reconstruction MSE: 0.9347
Archetype stats: min=-7.2202, max=10.4540
Archetype change since last debug: 0.652851
Archetype gradients: norm=0.020820, mean=0.001361
Epoch 1/1
Average loss: 0.8400
Archetypal loss: 0.9274
KLD loss: 0.0532
Reconstruction loss: 0.9274
Archetype R²: 0.0472
Archetype transform grad norm: 0.345405
Archetype transform param norm: 6.3844
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.8400 (range: 0.8400 - 0.8400)
archetypal_loss: 0.9274 (range: 0.9274 - 0.9274)
kld_loss: 0.0532 (range: 0.0532 - 0.0532)
reconstruction_loss: 0.9274 (range: 0.9274 - 0.9274)
archetype_r2: 0.0472 (range: 0.0472 - 0.0472)
Archetype Transform Summary:
archetype_transform_mean: 0.000758 (range: 0.000758 - 0.000758)
archetype_transform_std: 0.089405 (range: 0.089405 - 0.089405)
archetype_transform_norm: 6.384378 (range: 6.384378 - 6.384378)
archetype_transform_grad_norm: 0.345405 (range: 0.345405 - 0.345405)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0270, max=0.6388, mean=0.3333
Batch reconstruction MSE: 0.8744
Archetype stats: min=-7.2087, max=10.7741
Archetype change since last debug: 0.625857
Archetype gradients: norm=0.017787, mean=0.001002
Epoch 1/1
Average loss: 0.8394
Archetypal loss: 0.9266
KLD loss: 0.0547
Reconstruction loss: 0.9266
Archetype R²: 0.0483
Archetype transform grad norm: 0.355053
Archetype transform param norm: 6.3995
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.8394 (range: 0.8394 - 0.8394)
archetypal_loss: 0.9266 (range: 0.9266 - 0.9266)
kld_loss: 0.0547 (range: 0.0547 - 0.0547)
reconstruction_loss: 0.9266 (range: 0.9266 - 0.9266)
archetype_r2: 0.0483 (range: 0.0483 - 0.0483)
Archetype Transform Summary:
archetype_transform_mean: 0.000777 (range: 0.000777 - 0.000777)
archetype_transform_std: 0.089617 (range: 0.089617 - 0.089617)
archetype_transform_norm: 6.399527 (range: 6.399527 - 6.399527)
archetype_transform_grad_norm: 0.355053 (range: 0.355053 - 0.355053)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0313, max=0.6168, mean=0.3333
Batch reconstruction MSE: 0.8939
Archetype stats: min=-7.4224, max=10.7316
Archetype change since last debug: 0.792761
Archetype gradients: norm=0.022512, mean=0.001441
Epoch 1/1
Average loss: 0.8387
Archetypal loss: 0.9263
KLD loss: 0.0503
Reconstruction loss: 0.9263
Archetype R²: 0.0485
Archetype transform grad norm: 0.335744
Archetype transform param norm: 6.4123
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.8387 (range: 0.8387 - 0.8387)
archetypal_loss: 0.9263 (range: 0.9263 - 0.9263)
kld_loss: 0.0503 (range: 0.0503 - 0.0503)
reconstruction_loss: 0.9263 (range: 0.9263 - 0.9263)
archetype_r2: 0.0485 (range: 0.0485 - 0.0485)
Archetype Transform Summary:
archetype_transform_mean: 0.000794 (range: 0.000794 - 0.000794)
archetype_transform_std: 0.089795 (range: 0.089795 - 0.089795)
archetype_transform_norm: 6.412292 (range: 6.412292 - 6.412292)
archetype_transform_grad_norm: 0.335744 (range: 0.335744 - 0.335744)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0436, max=0.6931, mean=0.3333
Batch reconstruction MSE: 0.8583
Archetype stats: min=-7.3242, max=11.0921
Archetype change since last debug: 0.724324
Archetype gradients: norm=0.011811, mean=0.000711
Epoch 1/1
Average loss: 0.8378
Archetypal loss: 0.9253
KLD loss: 0.0501
Reconstruction loss: 0.9253
Archetype R²: 0.0496
Archetype transform grad norm: 0.331749
Archetype transform param norm: 6.4327
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.8378 (range: 0.8378 - 0.8378)
archetypal_loss: 0.9253 (range: 0.9253 - 0.9253)
kld_loss: 0.0501 (range: 0.0501 - 0.0501)
reconstruction_loss: 0.9253 (range: 0.9253 - 0.9253)
archetype_r2: 0.0496 (range: 0.0496 - 0.0496)
Archetype Transform Summary:
archetype_transform_mean: 0.000827 (range: 0.000827 - 0.000827)
archetype_transform_std: 0.090081 (range: 0.090081 - 0.090081)
archetype_transform_norm: 6.432714 (range: 6.432714 - 6.432714)
archetype_transform_grad_norm: 0.331749 (range: 0.331749 - 0.331749)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0518, max=0.7569, mean=0.3333
Batch reconstruction MSE: 0.8961
Archetype stats: min=-7.6600, max=11.1489
Archetype change since last debug: 0.887939
Archetype gradients: norm=0.019361, mean=0.001196
Epoch 1/1
Average loss: 0.8379
Archetypal loss: 0.9259
KLD loss: 0.0458
Reconstruction loss: 0.9259
Archetype R²: 0.0488
Archetype transform grad norm: 0.330385
Archetype transform param norm: 6.4421
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.8379 (range: 0.8379 - 0.8379)
archetypal_loss: 0.9259 (range: 0.9259 - 0.9259)
kld_loss: 0.0458 (range: 0.0458 - 0.0458)
reconstruction_loss: 0.9259 (range: 0.9259 - 0.9259)
archetype_r2: 0.0488 (range: 0.0488 - 0.0488)
Archetype Transform Summary:
archetype_transform_mean: 0.000837 (range: 0.000837 - 0.000837)
archetype_transform_std: 0.090212 (range: 0.090212 - 0.090212)
archetype_transform_norm: 6.442107 (range: 6.442107 - 6.442107)
archetype_transform_grad_norm: 0.330385 (range: 0.330385 - 0.330385)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0501, max=0.6821, mean=0.3333
Batch reconstruction MSE: 0.8531
Archetype stats: min=-7.7180, max=11.5200
Archetype change since last debug: 0.615124
Archetype gradients: norm=0.014891, mean=0.000900
Epoch 1/1
Average loss: 0.8374
Archetypal loss: 0.9250
KLD loss: 0.0493
Reconstruction loss: 0.9250
Archetype R²: 0.0500
Archetype transform grad norm: 0.332023
Archetype transform param norm: 6.4617
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.8374 (range: 0.8374 - 0.8374)
archetypal_loss: 0.9250 (range: 0.9250 - 0.9250)
kld_loss: 0.0493 (range: 0.0493 - 0.0493)
reconstruction_loss: 0.9250 (range: 0.9250 - 0.9250)
archetype_r2: 0.0500 (range: 0.0500 - 0.0500)
Archetype Transform Summary:
archetype_transform_mean: 0.000880 (range: 0.000880 - 0.000880)
archetype_transform_std: 0.090487 (range: 0.090487 - 0.090487)
archetype_transform_norm: 6.461702 (range: 6.461702 - 6.461702)
archetype_transform_grad_norm: 0.332023 (range: 0.332023 - 0.332023)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0811, max=0.5858, mean=0.3333
Batch reconstruction MSE: 0.9017
Archetype stats: min=-7.9667, max=11.5754
Archetype change since last debug: 0.816306
Archetype gradients: norm=0.038941, mean=0.002061
Epoch 1/1
Average loss: 0.8377
Archetypal loss: 0.9259
KLD loss: 0.0439
Reconstruction loss: 0.9259
Archetype R²: 0.0488
Archetype transform grad norm: 0.332148
Archetype transform param norm: 6.4609
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.8377 (range: 0.8377 - 0.8377)
archetypal_loss: 0.9259 (range: 0.9259 - 0.9259)
kld_loss: 0.0439 (range: 0.0439 - 0.0439)
reconstruction_loss: 0.9259 (range: 0.9259 - 0.9259)
archetype_r2: 0.0488 (range: 0.0488 - 0.0488)
Archetype Transform Summary:
archetype_transform_mean: 0.000857 (range: 0.000857 - 0.000857)
archetype_transform_std: 0.090476 (range: 0.090476 - 0.090476)
archetype_transform_norm: 6.460939 (range: 6.460939 - 6.460939)
archetype_transform_grad_norm: 0.332148 (range: 0.332148 - 0.332148)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0699, max=0.6623, mean=0.3333
Batch reconstruction MSE: 0.8747
Archetype stats: min=-7.9883, max=11.8825
Archetype change since last debug: 0.529856
Archetype gradients: norm=0.026757, mean=0.001610
Epoch 1/1
Average loss: 0.8379
Archetypal loss: 0.9255
KLD loss: 0.0493
Reconstruction loss: 0.9255
Archetype R²: 0.0493
Archetype transform grad norm: 0.340359
Archetype transform param norm: 6.4822
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.8379 (range: 0.8379 - 0.8379)
archetypal_loss: 0.9255 (range: 0.9255 - 0.9255)
kld_loss: 0.0493 (range: 0.0493 - 0.0493)
reconstruction_loss: 0.9255 (range: 0.9255 - 0.9255)
archetype_r2: 0.0493 (range: 0.0493 - 0.0493)
Archetype Transform Summary:
archetype_transform_mean: 0.000917 (range: 0.000917 - 0.000917)
archetype_transform_std: 0.090773 (range: 0.090773 - 0.090773)
archetype_transform_norm: 6.482185 (range: 6.482185 - 6.482185)
archetype_transform_grad_norm: 0.340359 (range: 0.340359 - 0.340359)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0920, max=0.5949, mean=0.3333
Batch reconstruction MSE: 0.9534
Archetype stats: min=-8.1474, max=11.8019
Archetype change since last debug: 0.610360
Archetype gradients: norm=0.061775, mean=0.002848
Epoch 1/1
Average loss: 0.8390
Archetypal loss: 0.9273
KLD loss: 0.0439
Reconstruction loss: 0.9273
Archetype R²: 0.0472
Archetype transform grad norm: 0.337534
Archetype transform param norm: 6.4607
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.8390 (range: 0.8390 - 0.8390)
archetypal_loss: 0.9273 (range: 0.9273 - 0.9273)
kld_loss: 0.0439 (range: 0.0439 - 0.0439)
reconstruction_loss: 0.9273 (range: 0.9273 - 0.9273)
archetype_r2: 0.0472 (range: 0.0472 - 0.0472)
Archetype Transform Summary:
archetype_transform_mean: 0.000836 (range: 0.000836 - 0.000836)
archetype_transform_std: 0.090473 (range: 0.090473 - 0.090473)
archetype_transform_norm: 6.460693 (range: 6.460693 - 6.460693)
archetype_transform_grad_norm: 0.337534 (range: 0.337534 - 0.337534)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.1140, max=0.6275, mean=0.3333
Batch reconstruction MSE: 0.8935
Archetype stats: min=-8.1281, max=11.8834
Archetype change since last debug: 0.703126
Archetype gradients: norm=0.038316, mean=0.002288
Epoch 1/1
Average loss: 0.8383
Archetypal loss: 0.9260
KLD loss: 0.0493
Reconstruction loss: 0.9260
Archetype R²: 0.0488
Archetype transform grad norm: 0.344010
Archetype transform param norm: 6.4765
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.8383 (range: 0.8383 - 0.8383)
archetypal_loss: 0.9260 (range: 0.9260 - 0.9260)
kld_loss: 0.0493 (range: 0.0493 - 0.0493)
reconstruction_loss: 0.9260 (range: 0.9260 - 0.9260)
archetype_r2: 0.0488 (range: 0.0488 - 0.0488)
Archetype Transform Summary:
archetype_transform_mean: 0.000899 (range: 0.000899 - 0.000899)
archetype_transform_std: 0.090694 (range: 0.090694 - 0.090694)
archetype_transform_norm: 6.476510 (range: 6.476510 - 6.476510)
archetype_transform_grad_norm: 0.344010 (range: 0.344010 - 0.344010)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.1351, max=0.5649, mean=0.3333
Batch reconstruction MSE: 0.9206
Archetype stats: min=-8.2017, max=11.7624
Archetype change since last debug: 0.509975
Archetype gradients: norm=0.058313, mean=0.002797
Epoch 1/1
Average loss: 0.8382
Archetypal loss: 0.9263
KLD loss: 0.0460
Reconstruction loss: 0.9263
Archetype R²: 0.0484
Archetype transform grad norm: 0.329918
Archetype transform param norm: 6.4624
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.8382 (range: 0.8382 - 0.8382)
archetypal_loss: 0.9263 (range: 0.9263 - 0.9263)
kld_loss: 0.0460 (range: 0.0460 - 0.0460)
reconstruction_loss: 0.9263 (range: 0.9263 - 0.9263)
archetype_r2: 0.0484 (range: 0.0484 - 0.0484)
Archetype Transform Summary:
archetype_transform_mean: 0.000829 (range: 0.000829 - 0.000829)
archetype_transform_std: 0.090497 (range: 0.090497 - 0.090497)
archetype_transform_norm: 6.462384 (range: 6.462384 - 6.462384)
archetype_transform_grad_norm: 0.329918 (range: 0.329918 - 0.329918)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.1163, max=0.5579, mean=0.3333
Batch reconstruction MSE: 0.9034
Archetype stats: min=-8.2322, max=12.0369
Archetype change since last debug: 0.607922
Archetype gradients: norm=0.032003, mean=0.001942
Epoch 1/1
Average loss: 0.8381
Archetypal loss: 0.9259
KLD loss: 0.0478
Reconstruction loss: 0.9259
Archetype R²: 0.0488
Archetype transform grad norm: 0.340874
Archetype transform param norm: 6.4795
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.8381 (range: 0.8381 - 0.8381)
archetypal_loss: 0.9259 (range: 0.9259 - 0.9259)
kld_loss: 0.0478 (range: 0.0478 - 0.0478)
reconstruction_loss: 0.9259 (range: 0.9259 - 0.9259)
archetype_r2: 0.0488 (range: 0.0488 - 0.0488)
Archetype Transform Summary:
archetype_transform_mean: 0.000879 (range: 0.000879 - 0.000879)
archetype_transform_std: 0.090736 (range: 0.090736 - 0.090736)
archetype_transform_norm: 6.479543 (range: 6.479543 - 6.479543)
archetype_transform_grad_norm: 0.340874 (range: 0.340874 - 0.340874)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.1107, max=0.6279, mean=0.3333
Batch reconstruction MSE: 0.9018
Archetype stats: min=-8.2134, max=11.9297
Archetype change since last debug: 0.547251
Archetype gradients: norm=0.053880, mean=0.002791
Epoch 1/1
Average loss: 0.8379
Archetypal loss: 0.9258
KLD loss: 0.0466
Reconstruction loss: 0.9258
Archetype R²: 0.0489
Archetype transform grad norm: 0.332618
Archetype transform param norm: 6.4705
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.8379 (range: 0.8379 - 0.8379)
archetypal_loss: 0.9258 (range: 0.9258 - 0.9258)
kld_loss: 0.0466 (range: 0.0466 - 0.0466)
reconstruction_loss: 0.9258 (range: 0.9258 - 0.9258)
archetype_r2: 0.0489 (range: 0.0489 - 0.0489)
Archetype Transform Summary:
archetype_transform_mean: 0.000823 (range: 0.000823 - 0.000823)
archetype_transform_std: 0.090610 (range: 0.090610 - 0.090610)
archetype_transform_norm: 6.470495 (range: 6.470495 - 6.470495)
archetype_transform_grad_norm: 0.332618 (range: 0.332618 - 0.332618)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.1638, max=0.5492, mean=0.3333
Batch reconstruction MSE: 0.8790
Archetype stats: min=-8.3556, max=12.1539
Archetype change since last debug: 0.538117
Archetype gradients: norm=0.028881, mean=0.001759
Epoch 1/1
Average loss: 0.8376
Archetypal loss: 0.9254
KLD loss: 0.0470
Reconstruction loss: 0.9254
Archetype R²: 0.0494
Archetype transform grad norm: 0.350517
Archetype transform param norm: 6.4920
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.8376 (range: 0.8376 - 0.8376)
archetypal_loss: 0.9254 (range: 0.9254 - 0.9254)
kld_loss: 0.0470 (range: 0.0470 - 0.0470)
reconstruction_loss: 0.9254 (range: 0.9254 - 0.9254)
archetype_r2: 0.0494 (range: 0.0494 - 0.0494)
Archetype Transform Summary:
archetype_transform_mean: 0.000882 (range: 0.000882 - 0.000882)
archetype_transform_std: 0.090911 (range: 0.090911 - 0.090911)
archetype_transform_norm: 6.491985 (range: 6.491985 - 6.491985)
archetype_transform_grad_norm: 0.350517 (range: 0.350517 - 0.350517)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.1491, max=0.5200, mean=0.3333
Batch reconstruction MSE: 0.8832
Archetype stats: min=-8.2565, max=12.2280
Archetype change since last debug: 0.607024
Archetype gradients: norm=0.039118, mean=0.002365
Epoch 1/1
Average loss: 0.8380
Archetypal loss: 0.9260
KLD loss: 0.0462
Reconstruction loss: 0.9260
Archetype R²: 0.0488
Archetype transform grad norm: 0.358031
Archetype transform param norm: 6.4891
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.8380 (range: 0.8380 - 0.8380)
archetypal_loss: 0.9260 (range: 0.9260 - 0.9260)
kld_loss: 0.0462 (range: 0.0462 - 0.0462)
reconstruction_loss: 0.9260 (range: 0.9260 - 0.9260)
archetype_r2: 0.0488 (range: 0.0488 - 0.0488)
Archetype Transform Summary:
archetype_transform_mean: 0.000847 (range: 0.000847 - 0.000847)
archetype_transform_std: 0.090871 (range: 0.090871 - 0.090871)
archetype_transform_norm: 6.489104 (range: 6.489104 - 6.489104)
archetype_transform_grad_norm: 0.358031 (range: 0.358031 - 0.358031)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.1670, max=0.5451, mean=0.3333
Batch reconstruction MSE: 0.8638
Archetype stats: min=-8.4253, max=12.2086
Archetype change since last debug: 0.467202
Archetype gradients: norm=0.019392, mean=0.001257
Epoch 1/1
Average loss: 0.8371
Archetypal loss: 0.9251
KLD loss: 0.0458
Reconstruction loss: 0.9251
Archetype R²: 0.0498
Archetype transform grad norm: 0.341313
Archetype transform param norm: 6.5069
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.8371 (range: 0.8371 - 0.8371)
archetypal_loss: 0.9251 (range: 0.9251 - 0.9251)
kld_loss: 0.0458 (range: 0.0458 - 0.0458)
reconstruction_loss: 0.9251 (range: 0.9251 - 0.9251)
archetype_r2: 0.0498 (range: 0.0498 - 0.0498)
Archetype Transform Summary:
archetype_transform_mean: 0.000891 (range: 0.000891 - 0.000891)
archetype_transform_std: 0.091119 (range: 0.091119 - 0.091119)
archetype_transform_norm: 6.506893 (range: 6.506893 - 6.506893)
archetype_transform_grad_norm: 0.341313 (range: 0.341313 - 0.341313)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.1463, max=0.5580, mean=0.3333
Batch reconstruction MSE: 0.8938
Archetype stats: min=-8.2202, max=12.5159
Archetype change since last debug: 0.738051
Archetype gradients: norm=0.030039, mean=0.001962
Epoch 1/1
Average loss: 0.8379
Archetypal loss: 0.9261
KLD loss: 0.0443
Reconstruction loss: 0.9261
Archetype R²: 0.0487
Archetype transform grad norm: 0.354392
Archetype transform param norm: 6.5082
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.8379 (range: 0.8379 - 0.8379)
archetypal_loss: 0.9261 (range: 0.9261 - 0.9261)
kld_loss: 0.0443 (range: 0.0443 - 0.0443)
reconstruction_loss: 0.9261 (range: 0.9261 - 0.9261)
archetype_r2: 0.0487 (range: 0.0487 - 0.0487)
Archetype Transform Summary:
archetype_transform_mean: 0.000861 (range: 0.000861 - 0.000861)
archetype_transform_std: 0.091138 (range: 0.091138 - 0.091138)
archetype_transform_norm: 6.508206 (range: 6.508206 - 6.508206)
archetype_transform_grad_norm: 0.354392 (range: 0.354392 - 0.354392)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.1349, max=0.5436, mean=0.3333
Batch reconstruction MSE: 0.8977
Archetype stats: min=-8.5012, max=12.2174
Archetype change since last debug: 0.758926
Archetype gradients: norm=0.026597, mean=0.001798
Epoch 1/1
Average loss: 0.8379
Archetypal loss: 0.9259
KLD loss: 0.0457
Reconstruction loss: 0.9259
Archetype R²: 0.0488
Archetype transform grad norm: 0.351835
Archetype transform param norm: 6.5116
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.8379 (range: 0.8379 - 0.8379)
archetypal_loss: 0.9259 (range: 0.9259 - 0.9259)
kld_loss: 0.0457 (range: 0.0457 - 0.0457)
reconstruction_loss: 0.9259 (range: 0.9259 - 0.9259)
archetype_r2: 0.0488 (range: 0.0488 - 0.0488)
Archetype Transform Summary:
archetype_transform_mean: 0.000855 (range: 0.000855 - 0.000855)
archetype_transform_std: 0.091186 (range: 0.091186 - 0.091186)
archetype_transform_norm: 6.511597 (range: 6.511597 - 6.511597)
archetype_transform_grad_norm: 0.351835 (range: 0.351835 - 0.351835)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.1162, max=0.6289, mean=0.3333
Batch reconstruction MSE: 0.9112
Archetype stats: min=-8.1473, max=12.6035
Archetype change since last debug: 0.881018
Archetype gradients: norm=0.030705, mean=0.001752
Epoch 1/1
Average loss: 0.8383
Archetypal loss: 0.9264
KLD loss: 0.0452
Reconstruction loss: 0.9264
Archetype R²: 0.0483
Archetype transform grad norm: 0.355184
Archetype transform param norm: 6.5149
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.8383 (range: 0.8383 - 0.8383)
archetypal_loss: 0.9264 (range: 0.9264 - 0.9264)
kld_loss: 0.0452 (range: 0.0452 - 0.0452)
reconstruction_loss: 0.9264 (range: 0.9264 - 0.9264)
archetype_r2: 0.0483 (range: 0.0483 - 0.0483)
Archetype Transform Summary:
archetype_transform_mean: 0.000864 (range: 0.000864 - 0.000864)
archetype_transform_std: 0.091232 (range: 0.091232 - 0.091232)
archetype_transform_norm: 6.514923 (range: 6.514923 - 6.514923)
archetype_transform_grad_norm: 0.355184 (range: 0.355184 - 0.355184)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.1386, max=0.5516, mean=0.3333
Batch reconstruction MSE: 0.9389
Archetype stats: min=-8.3851, max=11.9519
Archetype change since last debug: 1.119547
Archetype gradients: norm=0.056682, mean=0.003322
Epoch 1/1
Average loss: 0.8388
Archetypal loss: 0.9269
KLD loss: 0.0460
Reconstruction loss: 0.9269
Archetype R²: 0.0477
Archetype transform grad norm: 0.349046
Archetype transform param norm: 6.5012
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.8388 (range: 0.8388 - 0.8388)
archetypal_loss: 0.9269 (range: 0.9269 - 0.9269)
kld_loss: 0.0460 (range: 0.0460 - 0.0460)
reconstruction_loss: 0.9269 (range: 0.9269 - 0.9269)
archetype_r2: 0.0477 (range: 0.0477 - 0.0477)
Archetype Transform Summary:
archetype_transform_mean: 0.000805 (range: 0.000805 - 0.000805)
archetype_transform_std: 0.091041 (range: 0.091041 - 0.091041)
archetype_transform_norm: 6.501231 (range: 6.501231 - 6.501231)
archetype_transform_grad_norm: 0.349046 (range: 0.349046 - 0.349046)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.1260, max=0.6344, mean=0.3333
Batch reconstruction MSE: 0.9026
Archetype stats: min=-8.0503, max=12.3105
Archetype change since last debug: 0.947098
Archetype gradients: norm=0.030888, mean=0.001878
Epoch 1/1
Average loss: 0.8373
Archetypal loss: 0.9254
KLD loss: 0.0441
Reconstruction loss: 0.9254
Archetype R²: 0.0493
Archetype transform grad norm: 0.330106
Archetype transform param norm: 6.5137
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.8373 (range: 0.8373 - 0.8373)
archetypal_loss: 0.9254 (range: 0.9254 - 0.9254)
kld_loss: 0.0441 (range: 0.0441 - 0.0441)
reconstruction_loss: 0.9254 (range: 0.9254 - 0.9254)
archetype_r2: 0.0493 (range: 0.0493 - 0.0493)
Archetype Transform Summary:
archetype_transform_mean: 0.000842 (range: 0.000842 - 0.000842)
archetype_transform_std: 0.091216 (range: 0.091216 - 0.091216)
archetype_transform_norm: 6.513735 (range: 6.513735 - 6.513735)
archetype_transform_grad_norm: 0.330106 (range: 0.330106 - 0.330106)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.1632, max=0.6229, mean=0.3333
Batch reconstruction MSE: 0.8828
Archetype stats: min=-8.3451, max=11.7981
Archetype change since last debug: 1.088519
Archetype gradients: norm=0.044829, mean=0.002578
Epoch 1/1
Average loss: 0.8374
Archetypal loss: 0.9254
KLD loss: 0.0456
Reconstruction loss: 0.9254
Archetype R²: 0.0493
Archetype transform grad norm: 0.340307
Archetype transform param norm: 6.5099
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.8374 (range: 0.8374 - 0.8374)
archetypal_loss: 0.9254 (range: 0.9254 - 0.9254)
kld_loss: 0.0456 (range: 0.0456 - 0.0456)
reconstruction_loss: 0.9254 (range: 0.9254 - 0.9254)
archetype_r2: 0.0493 (range: 0.0493 - 0.0493)
Archetype Transform Summary:
archetype_transform_mean: 0.000808 (range: 0.000808 - 0.000808)
archetype_transform_std: 0.091162 (range: 0.091162 - 0.091162)
archetype_transform_norm: 6.509852 (range: 6.509852 - 6.509852)
archetype_transform_grad_norm: 0.340307 (range: 0.340307 - 0.340307)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.1344, max=0.6802, mean=0.3333
Batch reconstruction MSE: 0.8926
Archetype stats: min=-8.3072, max=12.3478
Archetype change since last debug: 0.924291
Archetype gradients: norm=0.025862, mean=0.001577
Epoch 1/1
Average loss: 0.8370
Archetypal loss: 0.9252
KLD loss: 0.0431
Reconstruction loss: 0.9252
Archetype R²: 0.0495
Archetype transform grad norm: 0.334113
Archetype transform param norm: 6.5221
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.8370 (range: 0.8370 - 0.8370)
archetypal_loss: 0.9252 (range: 0.9252 - 0.9252)
kld_loss: 0.0431 (range: 0.0431 - 0.0431)
reconstruction_loss: 0.9252 (range: 0.9252 - 0.9252)
archetype_r2: 0.0495 (range: 0.0495 - 0.0495)
Archetype Transform Summary:
archetype_transform_mean: 0.000836 (range: 0.000836 - 0.000836)
archetype_transform_std: 0.091333 (range: 0.091333 - 0.091333)
archetype_transform_norm: 6.522125 (range: 6.522125 - 6.522125)
archetype_transform_grad_norm: 0.334113 (range: 0.334113 - 0.334113)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0652, max=0.6610, mean=0.3333
Batch reconstruction MSE: 0.8904
Archetype stats: min=-8.5268, max=11.9490
Archetype change since last debug: 0.917195
Archetype gradients: norm=0.044772, mean=0.002493
Epoch 1/1
Average loss: 0.8372
Archetypal loss: 0.9251
KLD loss: 0.0458
Reconstruction loss: 0.9251
Archetype R²: 0.0496
Archetype transform grad norm: 0.327946
Archetype transform param norm: 6.5175
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.8372 (range: 0.8372 - 0.8372)
archetypal_loss: 0.9251 (range: 0.9251 - 0.9251)
kld_loss: 0.0458 (range: 0.0458 - 0.0458)
reconstruction_loss: 0.9251 (range: 0.9251 - 0.9251)
archetype_r2: 0.0496 (range: 0.0496 - 0.0496)
Archetype Transform Summary:
archetype_transform_mean: 0.000802 (range: 0.000802 - 0.000802)
archetype_transform_std: 0.091268 (range: 0.091268 - 0.091268)
archetype_transform_norm: 6.517464 (range: 6.517464 - 6.517464)
archetype_transform_grad_norm: 0.327946 (range: 0.327946 - 0.327946)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.1686, max=0.5908, mean=0.3333
Batch reconstruction MSE: 0.9103
Archetype stats: min=-8.4795, max=12.3364
Archetype change since last debug: 0.756727
Archetype gradients: norm=0.032526, mean=0.001958
Epoch 1/1
Average loss: 0.8371
Archetypal loss: 0.9254
KLD loss: 0.0424
Reconstruction loss: 0.9254
Archetype R²: 0.0492
Archetype transform grad norm: 0.334773
Archetype transform param norm: 6.5294
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.8371 (range: 0.8371 - 0.8371)
archetypal_loss: 0.9254 (range: 0.9254 - 0.9254)
kld_loss: 0.0424 (range: 0.0424 - 0.0424)
reconstruction_loss: 0.9254 (range: 0.9254 - 0.9254)
archetype_r2: 0.0492 (range: 0.0492 - 0.0492)
Archetype Transform Summary:
archetype_transform_mean: 0.000843 (range: 0.000843 - 0.000843)
archetype_transform_std: 0.091434 (range: 0.091434 - 0.091434)
archetype_transform_norm: 6.529367 (range: 6.529367 - 6.529367)
archetype_transform_grad_norm: 0.334773 (range: 0.334773 - 0.334773)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.1574, max=0.5729, mean=0.3333
Batch reconstruction MSE: 0.8625
Archetype stats: min=-8.6682, max=11.9839
Archetype change since last debug: 0.858700
Archetype gradients: norm=0.034517, mean=0.002015
Epoch 1/1
Average loss: 0.8363
Archetypal loss: 0.9242
KLD loss: 0.0446
Reconstruction loss: 0.9242
Archetype R²: 0.0506
Archetype transform grad norm: 0.322814
Archetype transform param norm: 6.5311
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.8363 (range: 0.8363 - 0.8363)
archetypal_loss: 0.9242 (range: 0.9242 - 0.9242)
kld_loss: 0.0446 (range: 0.0446 - 0.0446)
reconstruction_loss: 0.9242 (range: 0.9242 - 0.9242)
archetype_r2: 0.0506 (range: 0.0506 - 0.0506)
Archetype Transform Summary:
archetype_transform_mean: 0.000829 (range: 0.000829 - 0.000829)
archetype_transform_std: 0.091459 (range: 0.091459 - 0.091459)
archetype_transform_norm: 6.531135 (range: 6.531135 - 6.531135)
archetype_transform_grad_norm: 0.322814 (range: 0.322814 - 0.322814)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.1707, max=0.5437, mean=0.3333
Batch reconstruction MSE: 0.8598
Archetype stats: min=-8.6270, max=12.4561
Archetype change since last debug: 0.763966
Archetype gradients: norm=0.021260, mean=0.001317
Epoch 1/1
Average loss: 0.8359
Archetypal loss: 0.9243
KLD loss: 0.0405
Reconstruction loss: 0.9243
Archetype R²: 0.0505
Archetype transform grad norm: 0.333934
Archetype transform param norm: 6.5488
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.8359 (range: 0.8359 - 0.8359)
archetypal_loss: 0.9243 (range: 0.9243 - 0.9243)
kld_loss: 0.0405 (range: 0.0405 - 0.0405)
reconstruction_loss: 0.9243 (range: 0.9243 - 0.9243)
archetype_r2: 0.0505 (range: 0.0505 - 0.0505)
Archetype Transform Summary:
archetype_transform_mean: 0.000862 (range: 0.000862 - 0.000862)
archetype_transform_std: 0.091707 (range: 0.091707 - 0.091707)
archetype_transform_norm: 6.548832 (range: 6.548832 - 6.548832)
archetype_transform_grad_norm: 0.333934 (range: 0.333934 - 0.333934)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.1421, max=0.5089, mean=0.3333
Batch reconstruction MSE: 0.8545
Archetype stats: min=-8.9404, max=12.3404
Archetype change since last debug: 0.788452
Archetype gradients: norm=0.030099, mean=0.001775
Epoch 1/1
Average loss: 0.8359
Archetypal loss: 0.9240
KLD loss: 0.0428
Reconstruction loss: 0.9240
Archetype R²: 0.0508
Archetype transform grad norm: 0.323586
Archetype transform param norm: 6.5539
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.8359 (range: 0.8359 - 0.8359)
archetypal_loss: 0.9240 (range: 0.9240 - 0.9240)
kld_loss: 0.0428 (range: 0.0428 - 0.0428)
reconstruction_loss: 0.9240 (range: 0.9240 - 0.9240)
archetype_r2: 0.0508 (range: 0.0508 - 0.0508)
Archetype Transform Summary:
archetype_transform_mean: 0.000846 (range: 0.000846 - 0.000846)
archetype_transform_std: 0.091778 (range: 0.091778 - 0.091778)
archetype_transform_norm: 6.553919 (range: 6.553919 - 6.553919)
archetype_transform_grad_norm: 0.323586 (range: 0.323586 - 0.323586)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.1483, max=0.5376, mean=0.3333
Batch reconstruction MSE: 0.8817
Archetype stats: min=-8.8774, max=12.7511
Archetype change since last debug: 0.662221
Archetype gradients: norm=0.019982, mean=0.001203
Epoch 1/1
Average loss: 0.8360
Archetypal loss: 0.9246
KLD loss: 0.0387
Reconstruction loss: 0.9246
Archetype R²: 0.0501
Archetype transform grad norm: 0.331848
Archetype transform param norm: 6.5654
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.8360 (range: 0.8360 - 0.8360)
archetypal_loss: 0.9246 (range: 0.9246 - 0.9246)
kld_loss: 0.0387 (range: 0.0387 - 0.0387)
reconstruction_loss: 0.9246 (range: 0.9246 - 0.9246)
archetype_r2: 0.0501 (range: 0.0501 - 0.0501)
Archetype Transform Summary:
archetype_transform_mean: 0.000868 (range: 0.000868 - 0.000868)
archetype_transform_std: 0.091939 (range: 0.091939 - 0.091939)
archetype_transform_norm: 6.565421 (range: 6.565421 - 6.565421)
archetype_transform_grad_norm: 0.331848 (range: 0.331848 - 0.331848)
[OK] Completed in 48.3s
[STATS] Mean archetype R²: 0.0554
[STATS] Mean validation R²: 0.0554
đź§Ş Configuration 3/20: {'n_archetypes': 3, 'hidden_dims': [128], 'inflation_factor': 1.5, 'use_pcha_init': True, 'use_inflation': True}
Fold 1/3
Model input_dim: 50 (auto-detected from data)
Archetypes parameter registered: True
Archetypes requires_grad: True
Deep_AA (Deep Archetypal Analysis) initialized:
- Single-stage architecture (like Deep_2)
- Inflation factor: 1.5
- Direct archetypal coordinates (no bottleneck)
Consolidated Archetype Initialization
PCHA: True, Inflation: True (factor: 1.5)
Test inflation: False
Running PCHA initialization...
Input shape: (128, 50)
Target archetypes: 3
Running PCHA with 3 archetypes...
Data shape for PCHA: (50, 128)
PCHA Results:
Archetypes shape: (3, 50)
Archetype R²: 0.3230
SSE: 5366.8473
PCHA archetype R²: 0.3230
Archetype shape: (3, 50)
[OK] Initialized 3 archetypes using PCHA
Scalar Archetypal Inflation (factor: 1.50)
[OK] Inflation complete
[STATS] Positioning verification:
Data radius (max): 43.759
Data radius (mean): 6.629
Archetype distances: 8.562 to 58.808
Archetypes outside data: 1/3
Min archetype separation: 20.168
[OK] Archetype initialization complete (success: True)
[OK] Archetype initialization complete (PCHA: True, Inflation: 1.5)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0100, max=0.9230, mean=0.3333
Batch reconstruction MSE: 1.9670
Archetype stats: min=-6.2393, max=5.4240
Archetype gradients: norm=0.052285, mean=0.002964
Epoch 1/1
Average loss: 0.9383
Archetypal loss: 1.0182
KLD loss: 0.2198
Reconstruction loss: 1.0182
Archetype R²: -0.0667
Archetype transform grad norm: 0.738966
Archetype transform param norm: 5.8225
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.9383 (range: 0.9383 - 0.9383)
archetypal_loss: 1.0182 (range: 1.0182 - 1.0182)
kld_loss: 0.2198 (range: 0.2198 - 0.2198)
reconstruction_loss: 1.0182 (range: 1.0182 - 1.0182)
archetype_r2: -0.0667 (range: -0.0667 - -0.0667)
Archetype Transform Summary:
archetype_transform_mean: 0.000581 (range: 0.000581 - 0.000581)
archetype_transform_std: 0.081537 (range: 0.081537 - 0.081537)
archetype_transform_norm: 5.822507 (range: 5.822507 - 5.822507)
archetype_transform_grad_norm: 0.738966 (range: 0.738966 - 0.738966)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0086, max=0.9424, mean=0.3333
Batch reconstruction MSE: 1.0742
Archetype stats: min=-1.4661, max=1.6406
Archetype change since last debug: 15.146564
Archetype gradients: norm=0.005618, mean=0.000364
Epoch 1/1
Average loss: 0.8593
Archetypal loss: 0.9462
KLD loss: 0.0779
Reconstruction loss: 0.9462
Archetype R²: 0.0064
Archetype transform grad norm: 0.304402
Archetype transform param norm: 5.8338
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.8593 (range: 0.8593 - 0.8593)
archetypal_loss: 0.9462 (range: 0.9462 - 0.9462)
kld_loss: 0.0779 (range: 0.0779 - 0.0779)
reconstruction_loss: 0.9462 (range: 0.9462 - 0.9462)
archetype_r2: 0.0064 (range: 0.0064 - 0.0064)
Archetype Transform Summary:
archetype_transform_mean: 0.000515 (range: 0.000515 - 0.000515)
archetype_transform_std: 0.081696 (range: 0.081696 - 0.081696)
archetype_transform_norm: 5.833813 (range: 5.833813 - 5.833813)
archetype_transform_grad_norm: 0.304402 (range: 0.304402 - 0.304402)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0090, max=0.9603, mean=0.3333
Batch reconstruction MSE: 1.0925
Archetype stats: min=-1.6518, max=1.8357
Archetype change since last debug: 2.621238
Archetype gradients: norm=0.007573, mean=0.000494
Epoch 1/1
Average loss: 0.8493
Archetypal loss: 0.9341
KLD loss: 0.0860
Reconstruction loss: 0.9341
Archetype R²: 0.0191
Archetype transform grad norm: 0.346957
Archetype transform param norm: 5.8901
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.8493 (range: 0.8493 - 0.8493)
archetypal_loss: 0.9341 (range: 0.9341 - 0.9341)
kld_loss: 0.0860 (range: 0.0860 - 0.0860)
reconstruction_loss: 0.9341 (range: 0.9341 - 0.9341)
archetype_r2: 0.0191 (range: 0.0191 - 0.0191)
Archetype Transform Summary:
archetype_transform_mean: 0.000476 (range: 0.000476 - 0.000476)
archetype_transform_std: 0.082484 (range: 0.082484 - 0.082484)
archetype_transform_norm: 5.890062 (range: 5.890062 - 5.890062)
archetype_transform_grad_norm: 0.346957 (range: 0.346957 - 0.346957)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0061, max=0.9668, mean=0.3333
Batch reconstruction MSE: 1.1501
Archetype stats: min=-2.0866, max=2.2339
Archetype change since last debug: 3.668069
Archetype gradients: norm=0.015592, mean=0.000968
Epoch 1/1
Average loss: 0.8450
Archetypal loss: 0.9288
KLD loss: 0.0906
Reconstruction loss: 0.9288
Archetype R²: 0.0248
Archetype transform grad norm: 0.373533
Archetype transform param norm: 5.9566
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.8450 (range: 0.8450 - 0.8450)
archetypal_loss: 0.9288 (range: 0.9288 - 0.9288)
kld_loss: 0.0906 (range: 0.0906 - 0.0906)
reconstruction_loss: 0.9288 (range: 0.9288 - 0.9288)
archetype_r2: 0.0248 (range: 0.0248 - 0.0248)
Archetype Transform Summary:
archetype_transform_mean: 0.000489 (range: 0.000489 - 0.000489)
archetype_transform_std: 0.083416 (range: 0.083416 - 0.083416)
archetype_transform_norm: 5.956642 (range: 5.956642 - 5.956642)
archetype_transform_grad_norm: 0.373533 (range: 0.373533 - 0.373533)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0069, max=0.9648, mean=0.3333
Batch reconstruction MSE: 1.2043
Archetype stats: min=-2.4377, max=2.4318
Archetype change since last debug: 2.690183
Archetype gradients: norm=0.022970, mean=0.001387
Epoch 1/1
Average loss: 0.8431
Archetypal loss: 0.9276
KLD loss: 0.0827
Reconstruction loss: 0.9276
Archetype R²: 0.0262
Archetype transform grad norm: 0.383772
Archetype transform param norm: 5.9938
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.8431 (range: 0.8431 - 0.8431)
archetypal_loss: 0.9276 (range: 0.9276 - 0.9276)
kld_loss: 0.0827 (range: 0.0827 - 0.0827)
reconstruction_loss: 0.9276 (range: 0.9276 - 0.9276)
archetype_r2: 0.0262 (range: 0.0262 - 0.0262)
Archetype Transform Summary:
archetype_transform_mean: 0.000490 (range: 0.000490 - 0.000490)
archetype_transform_std: 0.083937 (range: 0.083937 - 0.083937)
archetype_transform_norm: 5.993848 (range: 5.993848 - 5.993848)
archetype_transform_grad_norm: 0.383772 (range: 0.383772 - 0.383772)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0081, max=0.9625, mean=0.3333
Batch reconstruction MSE: 1.2258
Archetype stats: min=-2.6882, max=2.4573
Archetype change since last debug: 1.759757
Archetype gradients: norm=0.025217, mean=0.001519
Epoch 1/1
Average loss: 0.8411
Archetypal loss: 0.9257
KLD loss: 0.0795
Reconstruction loss: 0.9257
Archetype R²: 0.0282
Archetype transform grad norm: 0.389676
Archetype transform param norm: 6.0154
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.8411 (range: 0.8411 - 0.8411)
archetypal_loss: 0.9257 (range: 0.9257 - 0.9257)
kld_loss: 0.0795 (range: 0.0795 - 0.0795)
reconstruction_loss: 0.9257 (range: 0.9257 - 0.9257)
archetype_r2: 0.0282 (range: 0.0282 - 0.0282)
Archetype Transform Summary:
archetype_transform_mean: 0.000495 (range: 0.000495 - 0.000495)
archetype_transform_std: 0.084239 (range: 0.084239 - 0.084239)
archetype_transform_norm: 6.015375 (range: 6.015375 - 6.015375)
archetype_transform_grad_norm: 0.389676 (range: 0.389676 - 0.389676)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0093, max=0.9589, mean=0.3333
Batch reconstruction MSE: 1.2353
Archetype stats: min=-3.1271, max=2.6806
Archetype change since last debug: 1.693748
Archetype gradients: norm=0.026044, mean=0.001568
Epoch 1/1
Average loss: 0.8389
Archetypal loss: 0.9234
KLD loss: 0.0782
Reconstruction loss: 0.9234
Archetype R²: 0.0307
Archetype transform grad norm: 0.393011
Archetype transform param norm: 6.0316
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.8389 (range: 0.8389 - 0.8389)
archetypal_loss: 0.9234 (range: 0.9234 - 0.9234)
kld_loss: 0.0782 (range: 0.0782 - 0.0782)
reconstruction_loss: 0.9234 (range: 0.9234 - 0.9234)
archetype_r2: 0.0307 (range: 0.0307 - 0.0307)
Archetype Transform Summary:
archetype_transform_mean: 0.000496 (range: 0.000496 - 0.000496)
archetype_transform_std: 0.084466 (range: 0.084466 - 0.084466)
archetype_transform_norm: 6.031609 (range: 6.031609 - 6.031609)
archetype_transform_grad_norm: 0.393011 (range: 0.393011 - 0.393011)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0104, max=0.9542, mean=0.3333
Batch reconstruction MSE: 1.2427
Archetype stats: min=-3.9456, max=3.0942
Archetype change since last debug: 1.790389
Archetype gradients: norm=0.026371, mean=0.001592
Epoch 1/1
Average loss: 0.8365
Archetypal loss: 0.9208
KLD loss: 0.0777
Reconstruction loss: 0.9208
Archetype R²: 0.0335
Archetype transform grad norm: 0.393850
Archetype transform param norm: 6.0469
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.8365 (range: 0.8365 - 0.8365)
archetypal_loss: 0.9208 (range: 0.9208 - 0.9208)
kld_loss: 0.0777 (range: 0.0777 - 0.0777)
reconstruction_loss: 0.9208 (range: 0.9208 - 0.9208)
archetype_r2: 0.0335 (range: 0.0335 - 0.0335)
Archetype Transform Summary:
archetype_transform_mean: 0.000444 (range: 0.000444 - 0.000444)
archetype_transform_std: 0.084681 (range: 0.084681 - 0.084681)
archetype_transform_norm: 6.046925 (range: 6.046925 - 6.046925)
archetype_transform_grad_norm: 0.393850 (range: 0.393850 - 0.393850)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0118, max=0.9475, mean=0.3333
Batch reconstruction MSE: 1.2471
Archetype stats: min=-4.7787, max=3.7293
Archetype change since last debug: 1.880088
Archetype gradients: norm=0.026513, mean=0.001602
Epoch 1/1
Average loss: 0.8341
Archetypal loss: 0.9182
KLD loss: 0.0775
Reconstruction loss: 0.9182
Archetype R²: 0.0362
Archetype transform grad norm: 0.396871
Archetype transform param norm: 6.0614
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.8341 (range: 0.8341 - 0.8341)
archetypal_loss: 0.9182 (range: 0.9182 - 0.9182)
kld_loss: 0.0775 (range: 0.0775 - 0.0775)
reconstruction_loss: 0.9182 (range: 0.9182 - 0.9182)
archetype_r2: 0.0362 (range: 0.0362 - 0.0362)
Archetype Transform Summary:
archetype_transform_mean: 0.000392 (range: 0.000392 - 0.000392)
archetype_transform_std: 0.084884 (range: 0.084884 - 0.084884)
archetype_transform_norm: 6.061370 (range: 6.061370 - 6.061370)
archetype_transform_grad_norm: 0.396871 (range: 0.396871 - 0.396871)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0131, max=0.9390, mean=0.3333
Batch reconstruction MSE: 1.2489
Archetype stats: min=-5.6046, max=4.3291
Archetype change since last debug: 1.909791
Archetype gradients: norm=0.026251, mean=0.001592
Epoch 1/1
Average loss: 0.8319
Archetypal loss: 0.9158
KLD loss: 0.0771
Reconstruction loss: 0.9158
Archetype R²: 0.0388
Archetype transform grad norm: 0.392612
Archetype transform param norm: 6.0755
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.8319 (range: 0.8319 - 0.8319)
archetypal_loss: 0.9158 (range: 0.9158 - 0.9158)
kld_loss: 0.0771 (range: 0.0771 - 0.0771)
reconstruction_loss: 0.9158 (range: 0.9158 - 0.9158)
archetype_r2: 0.0388 (range: 0.0388 - 0.0388)
Archetype Transform Summary:
archetype_transform_mean: 0.000310 (range: 0.000310 - 0.000310)
archetype_transform_std: 0.085082 (range: 0.085082 - 0.085082)
archetype_transform_norm: 6.075484 (range: 6.075484 - 6.075484)
archetype_transform_grad_norm: 0.392612 (range: 0.392612 - 0.392612)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0147, max=0.9279, mean=0.3333
Batch reconstruction MSE: 1.2461
Archetype stats: min=-6.3080, max=4.8476
Archetype change since last debug: 1.836920
Archetype gradients: norm=0.025468, mean=0.001554
Epoch 1/1
Average loss: 0.8300
Archetypal loss: 0.9137
KLD loss: 0.0765
Reconstruction loss: 0.9137
Archetype R²: 0.0411
Archetype transform grad norm: 0.391497
Archetype transform param norm: 6.0894
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.8300 (range: 0.8300 - 0.8300)
archetypal_loss: 0.9137 (range: 0.9137 - 0.9137)
kld_loss: 0.0765 (range: 0.0765 - 0.0765)
reconstruction_loss: 0.9137 (range: 0.9137 - 0.9137)
archetype_r2: 0.0411 (range: 0.0411 - 0.0411)
Archetype Transform Summary:
archetype_transform_mean: 0.000235 (range: 0.000235 - 0.000235)
archetype_transform_std: 0.085276 (range: 0.085276 - 0.085276)
archetype_transform_norm: 6.089358 (range: 6.089358 - 6.089358)
archetype_transform_grad_norm: 0.391497 (range: 0.391497 - 0.391497)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0163, max=0.9148, mean=0.3333
Batch reconstruction MSE: 1.2412
Archetype stats: min=-6.9078, max=5.2697
Archetype change since last debug: 1.698850
Archetype gradients: norm=0.024347, mean=0.001496
Epoch 1/1
Average loss: 0.8285
Archetypal loss: 0.9122
KLD loss: 0.0753
Reconstruction loss: 0.9122
Archetype R²: 0.0427
Archetype transform grad norm: 0.391756
Archetype transform param norm: 6.1029
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.8285 (range: 0.8285 - 0.8285)
archetypal_loss: 0.9122 (range: 0.9122 - 0.9122)
kld_loss: 0.0753 (range: 0.0753 - 0.0753)
reconstruction_loss: 0.9122 (range: 0.9122 - 0.9122)
archetype_r2: 0.0427 (range: 0.0427 - 0.0427)
Archetype Transform Summary:
archetype_transform_mean: 0.000172 (range: 0.000172 - 0.000172)
archetype_transform_std: 0.085466 (range: 0.085466 - 0.085466)
archetype_transform_norm: 6.102925 (range: 6.102925 - 6.102925)
archetype_transform_grad_norm: 0.391756 (range: 0.391756 - 0.391756)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0181, max=0.8989, mean=0.3333
Batch reconstruction MSE: 1.2341
Archetype stats: min=-7.3838, max=5.5950
Archetype change since last debug: 1.416123
Archetype gradients: norm=0.023077, mean=0.001427
Epoch 1/1
Average loss: 0.8273
Archetypal loss: 0.9110
KLD loss: 0.0738
Reconstruction loss: 0.9110
Archetype R²: 0.0438
Archetype transform grad norm: 0.391590
Archetype transform param norm: 6.1151
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.8273 (range: 0.8273 - 0.8273)
archetypal_loss: 0.9110 (range: 0.9110 - 0.9110)
kld_loss: 0.0738 (range: 0.0738 - 0.0738)
reconstruction_loss: 0.9110 (range: 0.9110 - 0.9110)
archetype_r2: 0.0438 (range: 0.0438 - 0.0438)
Archetype Transform Summary:
archetype_transform_mean: 0.000121 (range: 0.000121 - 0.000121)
archetype_transform_std: 0.085636 (range: 0.085636 - 0.085636)
archetype_transform_norm: 6.115057 (range: 6.115057 - 6.115057)
archetype_transform_grad_norm: 0.391590 (range: 0.391590 - 0.391590)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0199, max=0.8813, mean=0.3333
Batch reconstruction MSE: 1.2235
Archetype stats: min=-7.7504, max=5.8439
Archetype change since last debug: 1.175987
Archetype gradients: norm=0.021346, mean=0.001334
Epoch 1/1
Average loss: 0.8264
Archetypal loss: 0.9102
KLD loss: 0.0724
Reconstruction loss: 0.9102
Archetype R²: 0.0447
Archetype transform grad norm: 0.389471
Archetype transform param norm: 6.1259
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.8264 (range: 0.8264 - 0.8264)
archetypal_loss: 0.9102 (range: 0.9102 - 0.9102)
kld_loss: 0.0724 (range: 0.0724 - 0.0724)
reconstruction_loss: 0.9102 (range: 0.9102 - 0.9102)
archetype_r2: 0.0447 (range: 0.0447 - 0.0447)
Archetype Transform Summary:
archetype_transform_mean: 0.000079 (range: 0.000079 - 0.000079)
archetype_transform_std: 0.085788 (range: 0.085788 - 0.085788)
archetype_transform_norm: 6.125858 (range: 6.125858 - 6.125858)
archetype_transform_grad_norm: 0.389471 (range: 0.389471 - 0.389471)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0218, max=0.8569, mean=0.3333
Batch reconstruction MSE: 1.2118
Archetype stats: min=-8.0574, max=6.0450
Archetype change since last debug: 0.995078
Archetype gradients: norm=0.019873, mean=0.001249
Epoch 1/1
Average loss: 0.8256
Archetypal loss: 0.9094
KLD loss: 0.0709
Reconstruction loss: 0.9094
Archetype R²: 0.0455
Archetype transform grad norm: 0.383894
Archetype transform param norm: 6.1359
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.8256 (range: 0.8256 - 0.8256)
archetypal_loss: 0.9094 (range: 0.9094 - 0.9094)
kld_loss: 0.0709 (range: 0.0709 - 0.0709)
reconstruction_loss: 0.9094 (range: 0.9094 - 0.9094)
archetype_r2: 0.0455 (range: 0.0455 - 0.0455)
Archetype Transform Summary:
archetype_transform_mean: 0.000038 (range: 0.000038 - 0.000038)
archetype_transform_std: 0.085928 (range: 0.085928 - 0.085928)
archetype_transform_norm: 6.135920 (range: 6.135920 - 6.135920)
archetype_transform_grad_norm: 0.383894 (range: 0.383894 - 0.383894)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0237, max=0.8343, mean=0.3333
Batch reconstruction MSE: 1.1973
Archetype stats: min=-8.3120, max=6.2085
Archetype change since last debug: 0.857094
Archetype gradients: norm=0.018153, mean=0.001148
Epoch 1/1
Average loss: 0.8248
Archetypal loss: 0.9088
KLD loss: 0.0692
Reconstruction loss: 0.9088
Archetype R²: 0.0462
Archetype transform grad norm: 0.383414
Archetype transform param norm: 6.1463
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.8248 (range: 0.8248 - 0.8248)
archetypal_loss: 0.9088 (range: 0.9088 - 0.9088)
kld_loss: 0.0692 (range: 0.0692 - 0.0692)
reconstruction_loss: 0.9088 (range: 0.9088 - 0.9088)
archetype_r2: 0.0462 (range: 0.0462 - 0.0462)
Archetype Transform Summary:
archetype_transform_mean: 0.000005 (range: 0.000005 - 0.000005)
archetype_transform_std: 0.086074 (range: 0.086074 - 0.086074)
archetype_transform_norm: 6.146306 (range: 6.146306 - 6.146306)
archetype_transform_grad_norm: 0.383414 (range: 0.383414 - 0.383414)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0248, max=0.7989, mean=0.3333
Batch reconstruction MSE: 1.1862
Archetype stats: min=-8.5884, max=6.3684
Archetype change since last debug: 0.779096
Archetype gradients: norm=0.016796, mean=0.001066
Epoch 1/1
Average loss: 0.8242
Archetypal loss: 0.9083
KLD loss: 0.0678
Reconstruction loss: 0.9083
Archetype R²: 0.0467
Archetype transform grad norm: 0.382155
Archetype transform param norm: 6.1561
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.8242 (range: 0.8242 - 0.8242)
archetypal_loss: 0.9083 (range: 0.9083 - 0.9083)
kld_loss: 0.0678 (range: 0.0678 - 0.0678)
reconstruction_loss: 0.9083 (range: 0.9083 - 0.9083)
archetype_r2: 0.0467 (range: 0.0467 - 0.0467)
Archetype Transform Summary:
archetype_transform_mean: -0.000020 (range: -0.000020 - -0.000020)
archetype_transform_std: 0.086211 (range: 0.086211 - 0.086211)
archetype_transform_norm: 6.156102 (range: 6.156102 - 6.156102)
archetype_transform_grad_norm: 0.382155 (range: 0.382155 - 0.382155)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0279, max=0.7696, mean=0.3333
Batch reconstruction MSE: 1.1744
Archetype stats: min=-8.8064, max=6.5069
Archetype change since last debug: 0.686612
Archetype gradients: norm=0.015685, mean=0.001005
Epoch 1/1
Average loss: 0.8237
Archetypal loss: 0.9078
KLD loss: 0.0666
Reconstruction loss: 0.9078
Archetype R²: 0.0471
Archetype transform grad norm: 0.383362
Archetype transform param norm: 6.1655
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.8237 (range: 0.8237 - 0.8237)
archetypal_loss: 0.9078 (range: 0.9078 - 0.9078)
kld_loss: 0.0666 (range: 0.0666 - 0.0666)
reconstruction_loss: 0.9078 (range: 0.9078 - 0.9078)
archetype_r2: 0.0471 (range: 0.0471 - 0.0471)
Archetype Transform Summary:
archetype_transform_mean: -0.000042 (range: -0.000042 - -0.000042)
archetype_transform_std: 0.086343 (range: 0.086343 - 0.086343)
archetype_transform_norm: 6.165532 (range: 6.165532 - 6.165532)
archetype_transform_grad_norm: 0.383362 (range: 0.383362 - 0.383362)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0261, max=0.7318, mean=0.3333
Batch reconstruction MSE: 1.1675
Archetype stats: min=-9.0486, max=6.6506
Archetype change since last debug: 0.670279
Archetype gradients: norm=0.015169, mean=0.000958
Epoch 1/1
Average loss: 0.8232
Archetypal loss: 0.9074
KLD loss: 0.0651
Reconstruction loss: 0.9074
Archetype R²: 0.0476
Archetype transform grad norm: 0.382295
Archetype transform param norm: 6.1746
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.8232 (range: 0.8232 - 0.8232)
archetypal_loss: 0.9074 (range: 0.9074 - 0.9074)
kld_loss: 0.0651 (range: 0.0651 - 0.0651)
reconstruction_loss: 0.9074 (range: 0.9074 - 0.9074)
archetype_r2: 0.0476 (range: 0.0476 - 0.0476)
Archetype Transform Summary:
archetype_transform_mean: -0.000061 (range: -0.000061 - -0.000061)
archetype_transform_std: 0.086471 (range: 0.086471 - 0.086471)
archetype_transform_norm: 6.174644 (range: 6.174644 - 6.174644)
archetype_transform_grad_norm: 0.382295 (range: 0.382295 - 0.382295)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0340, max=0.7427, mean=0.3333
Batch reconstruction MSE: 1.1607
Archetype stats: min=-9.2655, max=6.7883
Archetype change since last debug: 0.617754
Archetype gradients: norm=0.014128, mean=0.000915
Epoch 1/1
Average loss: 0.8228
Archetypal loss: 0.9071
KLD loss: 0.0645
Reconstruction loss: 0.9071
Archetype R²: 0.0478
Archetype transform grad norm: 0.382532
Archetype transform param norm: 6.1826
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.8228 (range: 0.8228 - 0.8228)
archetypal_loss: 0.9071 (range: 0.9071 - 0.9071)
kld_loss: 0.0645 (range: 0.0645 - 0.0645)
reconstruction_loss: 0.9071 (range: 0.9071 - 0.9071)
archetype_r2: 0.0478 (range: 0.0478 - 0.0478)
Archetype Transform Summary:
archetype_transform_mean: -0.000077 (range: -0.000077 - -0.000077)
archetype_transform_std: 0.086583 (range: 0.086583 - 0.086583)
archetype_transform_norm: 6.182635 (range: 6.182635 - 6.182635)
archetype_transform_grad_norm: 0.382532 (range: 0.382532 - 0.382532)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0248, max=0.7077, mean=0.3333
Batch reconstruction MSE: 1.1506
Archetype stats: min=-9.4720, max=6.9081
Archetype change since last debug: 0.602812
Archetype gradients: norm=0.014005, mean=0.000875
Epoch 1/1
Average loss: 0.8225
Archetypal loss: 0.9068
KLD loss: 0.0636
Reconstruction loss: 0.9068
Archetype R²: 0.0481
Archetype transform grad norm: 0.384054
Archetype transform param norm: 6.1900
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.8225 (range: 0.8225 - 0.8225)
archetypal_loss: 0.9068 (range: 0.9068 - 0.9068)
kld_loss: 0.0636 (range: 0.0636 - 0.0636)
reconstruction_loss: 0.9068 (range: 0.9068 - 0.9068)
archetype_r2: 0.0481 (range: 0.0481 - 0.0481)
Archetype Transform Summary:
archetype_transform_mean: -0.000074 (range: -0.000074 - -0.000074)
archetype_transform_std: 0.086686 (range: 0.086686 - 0.086686)
archetype_transform_norm: 6.190006 (range: 6.190006 - 6.190006)
archetype_transform_grad_norm: 0.384054 (range: 0.384054 - 0.384054)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0346, max=0.7283, mean=0.3333
Batch reconstruction MSE: 1.1461
Archetype stats: min=-9.6723, max=6.9862
Archetype change since last debug: 0.592381
Archetype gradients: norm=0.013348, mean=0.000861
Epoch 1/1
Average loss: 0.8223
Archetypal loss: 0.9067
KLD loss: 0.0629
Reconstruction loss: 0.9067
Archetype R²: 0.0482
Archetype transform grad norm: 0.382453
Archetype transform param norm: 6.1968
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.8223 (range: 0.8223 - 0.8223)
archetypal_loss: 0.9067 (range: 0.9067 - 0.9067)
kld_loss: 0.0629 (range: 0.0629 - 0.0629)
reconstruction_loss: 0.9067 (range: 0.9067 - 0.9067)
archetype_r2: 0.0482 (range: 0.0482 - 0.0482)
Archetype Transform Summary:
archetype_transform_mean: -0.000107 (range: -0.000107 - -0.000107)
archetype_transform_std: 0.086781 (range: 0.086781 - 0.086781)
archetype_transform_norm: 6.196767 (range: 6.196767 - 6.196767)
archetype_transform_grad_norm: 0.382453 (range: 0.382453 - 0.382453)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0293, max=0.6733, mean=0.3333
Batch reconstruction MSE: 1.1414
Archetype stats: min=-9.8535, max=7.0504
Archetype change since last debug: 0.495570
Archetype gradients: norm=0.012690, mean=0.000810
Epoch 1/1
Average loss: 0.8220
Archetypal loss: 0.9064
KLD loss: 0.0623
Reconstruction loss: 0.9064
Archetype R²: 0.0485
Archetype transform grad norm: 0.377662
Archetype transform param norm: 6.2019
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.8220 (range: 0.8220 - 0.8220)
archetypal_loss: 0.9064 (range: 0.9064 - 0.9064)
kld_loss: 0.0623 (range: 0.0623 - 0.0623)
reconstruction_loss: 0.9064 (range: 0.9064 - 0.9064)
archetype_r2: 0.0485 (range: 0.0485 - 0.0485)
Archetype Transform Summary:
archetype_transform_mean: -0.000109 (range: -0.000109 - -0.000109)
archetype_transform_std: 0.086852 (range: 0.086852 - 0.086852)
archetype_transform_norm: 6.201901 (range: 6.201901 - 6.201901)
archetype_transform_grad_norm: 0.377662 (range: 0.377662 - 0.377662)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0303, max=0.7078, mean=0.3333
Batch reconstruction MSE: 1.1273
Archetype stats: min=-10.0001, max=7.1072
Archetype change since last debug: 0.497042
Archetype gradients: norm=0.013008, mean=0.000780
Epoch 1/1
Average loss: 0.8217
Archetypal loss: 0.9061
KLD loss: 0.0620
Reconstruction loss: 0.9061
Archetype R²: 0.0488
Archetype transform grad norm: 0.383612
Archetype transform param norm: 6.2099
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.8217 (range: 0.8217 - 0.8217)
archetypal_loss: 0.9061 (range: 0.9061 - 0.9061)
kld_loss: 0.0620 (range: 0.0620 - 0.0620)
reconstruction_loss: 0.9061 (range: 0.9061 - 0.9061)
archetype_r2: 0.0488 (range: 0.0488 - 0.0488)
Archetype Transform Summary:
archetype_transform_mean: -0.000120 (range: -0.000120 - -0.000120)
archetype_transform_std: 0.086964 (range: 0.086964 - 0.086964)
archetype_transform_norm: 6.209881 (range: 6.209881 - 6.209881)
archetype_transform_grad_norm: 0.383612 (range: 0.383612 - 0.383612)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0320, max=0.6573, mean=0.3333
Batch reconstruction MSE: 1.1359
Archetype stats: min=-10.2574, max=7.2212
Archetype change since last debug: 0.589486
Archetype gradients: norm=0.011686, mean=0.000690
Epoch 1/1
Average loss: 0.8219
Archetypal loss: 0.9063
KLD loss: 0.0619
Reconstruction loss: 0.9063
Archetype R²: 0.0486
Archetype transform grad norm: 0.379953
Archetype transform param norm: 6.2131
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.8219 (range: 0.8219 - 0.8219)
archetypal_loss: 0.9063 (range: 0.9063 - 0.9063)
kld_loss: 0.0619 (range: 0.0619 - 0.0619)
reconstruction_loss: 0.9063 (range: 0.9063 - 0.9063)
archetype_r2: 0.0486 (range: 0.0486 - 0.0486)
Archetype Transform Summary:
archetype_transform_mean: -0.000128 (range: -0.000128 - -0.000128)
archetype_transform_std: 0.087010 (range: 0.087010 - 0.087010)
archetype_transform_norm: 6.213147 (range: 6.213147 - 6.213147)
archetype_transform_grad_norm: 0.379953 (range: 0.379953 - 0.379953)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0282, max=0.7648, mean=0.3333
Batch reconstruction MSE: 1.1327
Archetype stats: min=-10.2275, max=7.2755
Archetype change since last debug: 0.371935
Archetype gradients: norm=0.019727, mean=0.001008
Epoch 1/1
Average loss: 0.8218
Archetypal loss: 0.9062
KLD loss: 0.0620
Reconstruction loss: 0.9062
Archetype R²: 0.0487
Archetype transform grad norm: 0.387760
Archetype transform param norm: 6.2170
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.8218 (range: 0.8218 - 0.8218)
archetypal_loss: 0.9062 (range: 0.9062 - 0.9062)
kld_loss: 0.0620 (range: 0.0620 - 0.0620)
reconstruction_loss: 0.9062 (range: 0.9062 - 0.9062)
archetype_r2: 0.0487 (range: 0.0487 - 0.0487)
Archetype Transform Summary:
archetype_transform_mean: -0.000137 (range: -0.000137 - -0.000137)
archetype_transform_std: 0.087063 (range: 0.087063 - 0.087063)
archetype_transform_norm: 6.216967 (range: 6.216967 - 6.216967)
archetype_transform_grad_norm: 0.387760 (range: 0.387760 - 0.387760)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0302, max=0.6313, mean=0.3333
Batch reconstruction MSE: 1.1313
Archetype stats: min=-10.3644, max=7.3259
Archetype change since last debug: 0.372604
Archetype gradients: norm=0.014011, mean=0.000718
Epoch 1/1
Average loss: 0.8218
Archetypal loss: 0.9062
KLD loss: 0.0621
Reconstruction loss: 0.9062
Archetype R²: 0.0486
Archetype transform grad norm: 0.386723
Archetype transform param norm: 6.2184
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.8218 (range: 0.8218 - 0.8218)
archetypal_loss: 0.9062 (range: 0.9062 - 0.9062)
kld_loss: 0.0621 (range: 0.0621 - 0.0621)
reconstruction_loss: 0.9062 (range: 0.9062 - 0.9062)
archetype_r2: 0.0486 (range: 0.0486 - 0.0486)
Archetype Transform Summary:
archetype_transform_mean: -0.000130 (range: -0.000130 - -0.000130)
archetype_transform_std: 0.087084 (range: 0.087084 - 0.087084)
archetype_transform_norm: 6.218409 (range: 6.218409 - 6.218409)
archetype_transform_grad_norm: 0.386723 (range: 0.386723 - 0.386723)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0315, max=0.6983, mean=0.3333
Batch reconstruction MSE: 1.1276
Archetype stats: min=-10.2773, max=7.3280
Archetype change since last debug: 0.354916
Archetype gradients: norm=0.020458, mean=0.001053
Epoch 1/1
Average loss: 0.8215
Archetypal loss: 0.9060
KLD loss: 0.0612
Reconstruction loss: 0.9060
Archetype R²: 0.0489
Archetype transform grad norm: 0.384634
Archetype transform param norm: 6.2205
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.8215 (range: 0.8215 - 0.8215)
archetypal_loss: 0.9060 (range: 0.9060 - 0.9060)
kld_loss: 0.0612 (range: 0.0612 - 0.0612)
reconstruction_loss: 0.9060 (range: 0.9060 - 0.9060)
archetype_r2: 0.0489 (range: 0.0489 - 0.0489)
Archetype Transform Summary:
archetype_transform_mean: -0.000138 (range: -0.000138 - -0.000138)
archetype_transform_std: 0.087112 (range: 0.087112 - 0.087112)
archetype_transform_norm: 6.220457 (range: 6.220457 - 6.220457)
archetype_transform_grad_norm: 0.384634 (range: 0.384634 - 0.384634)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0305, max=0.6515, mean=0.3333
Batch reconstruction MSE: 1.1333
Archetype stats: min=-10.4497, max=7.3117
Archetype change since last debug: 0.397164
Archetype gradients: norm=0.013152, mean=0.000704
Epoch 1/1
Average loss: 0.8214
Archetypal loss: 0.9058
KLD loss: 0.0613
Reconstruction loss: 0.9058
Archetype R²: 0.0490
Archetype transform grad norm: 0.375476
Archetype transform param norm: 6.2217
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.8214 (range: 0.8214 - 0.8214)
archetypal_loss: 0.9058 (range: 0.9058 - 0.9058)
kld_loss: 0.0613 (range: 0.0613 - 0.0613)
reconstruction_loss: 0.9058 (range: 0.9058 - 0.9058)
archetype_r2: 0.0490 (range: 0.0490 - 0.0490)
Archetype Transform Summary:
archetype_transform_mean: -0.000125 (range: -0.000125 - -0.000125)
archetype_transform_std: 0.087130 (range: 0.087130 - 0.087130)
archetype_transform_norm: 6.221705 (range: 6.221705 - 6.221705)
archetype_transform_grad_norm: 0.375476 (range: 0.375476 - 0.375476)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0328, max=0.6634, mean=0.3333
Batch reconstruction MSE: 1.1213
Archetype stats: min=-10.4093, max=7.3245
Archetype change since last debug: 0.391365
Archetype gradients: norm=0.016007, mean=0.000876
Epoch 1/1
Average loss: 0.8208
Archetypal loss: 0.9053
KLD loss: 0.0600
Reconstruction loss: 0.9053
Archetype R²: 0.0496
Archetype transform grad norm: 0.382661
Archetype transform param norm: 6.2276
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.8208 (range: 0.8208 - 0.8208)
archetypal_loss: 0.9053 (range: 0.9053 - 0.9053)
kld_loss: 0.0600 (range: 0.0600 - 0.0600)
reconstruction_loss: 0.9053 (range: 0.9053 - 0.9053)
archetype_r2: 0.0496 (range: 0.0496 - 0.0496)
Archetype Transform Summary:
archetype_transform_mean: -0.000132 (range: -0.000132 - -0.000132)
archetype_transform_std: 0.087213 (range: 0.087213 - 0.087213)
archetype_transform_norm: 6.227625 (range: 6.227625 - 6.227625)
archetype_transform_grad_norm: 0.382661 (range: 0.382661 - 0.382661)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0356, max=0.6279, mean=0.3333
Batch reconstruction MSE: 1.1224
Archetype stats: min=-10.6317, max=7.4388
Archetype change since last debug: 0.487229
Archetype gradients: norm=0.013640, mean=0.000693
Epoch 1/1
Average loss: 0.8208
Archetypal loss: 0.9054
KLD loss: 0.0600
Reconstruction loss: 0.9054
Archetype R²: 0.0495
Archetype transform grad norm: 0.376315
Archetype transform param norm: 6.2330
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.8208 (range: 0.8208 - 0.8208)
archetypal_loss: 0.9054 (range: 0.9054 - 0.9054)
kld_loss: 0.0600 (range: 0.0600 - 0.0600)
reconstruction_loss: 0.9054 (range: 0.9054 - 0.9054)
archetype_r2: 0.0495 (range: 0.0495 - 0.0495)
Archetype Transform Summary:
archetype_transform_mean: -0.000126 (range: -0.000126 - -0.000126)
archetype_transform_std: 0.087288 (range: 0.087288 - 0.087288)
archetype_transform_norm: 6.233030 (range: 6.233030 - 6.233030)
archetype_transform_grad_norm: 0.376315 (range: 0.376315 - 0.376315)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0270, max=0.6428, mean=0.3333
Batch reconstruction MSE: 1.1309
Archetype stats: min=-10.6645, max=7.5031
Archetype change since last debug: 0.394987
Archetype gradients: norm=0.019555, mean=0.001081
Epoch 1/1
Average loss: 0.8211
Archetypal loss: 0.9057
KLD loss: 0.0596
Reconstruction loss: 0.9057
Archetype R²: 0.0492
Archetype transform grad norm: 0.390025
Archetype transform param norm: 6.2344
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.8211 (range: 0.8211 - 0.8211)
archetypal_loss: 0.9057 (range: 0.9057 - 0.9057)
kld_loss: 0.0596 (range: 0.0596 - 0.0596)
reconstruction_loss: 0.9057 (range: 0.9057 - 0.9057)
archetype_r2: 0.0492 (range: 0.0492 - 0.0492)
Archetype Transform Summary:
archetype_transform_mean: -0.000133 (range: -0.000133 - -0.000133)
archetype_transform_std: 0.087307 (range: 0.087307 - 0.087307)
archetype_transform_norm: 6.234388 (range: 6.234388 - 6.234388)
archetype_transform_grad_norm: 0.390025 (range: 0.390025 - 0.390025)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0295, max=0.6350, mean=0.3333
Batch reconstruction MSE: 1.1212
Archetype stats: min=-10.7186, max=7.4771
Archetype change since last debug: 0.389342
Archetype gradients: norm=0.013909, mean=0.000728
Epoch 1/1
Average loss: 0.8207
Archetypal loss: 0.9051
KLD loss: 0.0604
Reconstruction loss: 0.9051
Archetype R²: 0.0497
Archetype transform grad norm: 0.374414
Archetype transform param norm: 6.2362
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.8207 (range: 0.8207 - 0.8207)
archetypal_loss: 0.9051 (range: 0.9051 - 0.9051)
kld_loss: 0.0604 (range: 0.0604 - 0.0604)
reconstruction_loss: 0.9051 (range: 0.9051 - 0.9051)
archetype_r2: 0.0497 (range: 0.0497 - 0.0497)
Archetype Transform Summary:
archetype_transform_mean: -0.000105 (range: -0.000105 - -0.000105)
archetype_transform_std: 0.087332 (range: 0.087332 - 0.087332)
archetype_transform_norm: 6.236163 (range: 6.236163 - 6.236163)
archetype_transform_grad_norm: 0.374414 (range: 0.374414 - 0.374414)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0323, max=0.6694, mean=0.3333
Batch reconstruction MSE: 1.1241
Archetype stats: min=-10.7322, max=7.5116
Archetype change since last debug: 0.494428
Archetype gradients: norm=0.017721, mean=0.001024
Epoch 1/1
Average loss: 0.8205
Archetypal loss: 0.9051
KLD loss: 0.0587
Reconstruction loss: 0.9051
Archetype R²: 0.0498
Archetype transform grad norm: 0.384907
Archetype transform param norm: 6.2412
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.8205 (range: 0.8205 - 0.8205)
archetypal_loss: 0.9051 (range: 0.9051 - 0.9051)
kld_loss: 0.0587 (range: 0.0587 - 0.0587)
reconstruction_loss: 0.9051 (range: 0.9051 - 0.9051)
archetype_r2: 0.0498 (range: 0.0498 - 0.0498)
Archetype Transform Summary:
archetype_transform_mean: -0.000136 (range: -0.000136 - -0.000136)
archetype_transform_std: 0.087403 (range: 0.087403 - 0.087403)
archetype_transform_norm: 6.241230 (range: 6.241230 - 6.241230)
archetype_transform_grad_norm: 0.384907 (range: 0.384907 - 0.384907)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0382, max=0.6339, mean=0.3333
Batch reconstruction MSE: 1.1197
Archetype stats: min=-10.8583, max=7.5692
Archetype change since last debug: 0.354451
Archetype gradients: norm=0.015225, mean=0.000792
Epoch 1/1
Average loss: 0.8204
Archetypal loss: 0.9051
KLD loss: 0.0588
Reconstruction loss: 0.9051
Archetype R²: 0.0498
Archetype transform grad norm: 0.378899
Archetype transform param norm: 6.2441
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.8204 (range: 0.8204 - 0.8204)
archetypal_loss: 0.9051 (range: 0.9051 - 0.9051)
kld_loss: 0.0588 (range: 0.0588 - 0.0588)
reconstruction_loss: 0.9051 (range: 0.9051 - 0.9051)
archetype_r2: 0.0498 (range: 0.0498 - 0.0498)
Archetype Transform Summary:
archetype_transform_mean: -0.000124 (range: -0.000124 - -0.000124)
archetype_transform_std: 0.087443 (range: 0.087443 - 0.087443)
archetype_transform_norm: 6.244090 (range: 6.244090 - 6.244090)
archetype_transform_grad_norm: 0.378899 (range: 0.378899 - 0.378899)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0257, max=0.6402, mean=0.3333
Batch reconstruction MSE: 1.1343
Archetype stats: min=-10.8888, max=7.5842
Archetype change since last debug: 0.384642
Archetype gradients: norm=0.019164, mean=0.001160
Epoch 1/1
Average loss: 0.8211
Archetypal loss: 0.9056
KLD loss: 0.0604
Reconstruction loss: 0.9056
Archetype R²: 0.0492
Archetype transform grad norm: 0.398027
Archetype transform param norm: 6.2449
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.8211 (range: 0.8211 - 0.8211)
archetypal_loss: 0.9056 (range: 0.9056 - 0.9056)
kld_loss: 0.0604 (range: 0.0604 - 0.0604)
reconstruction_loss: 0.9056 (range: 0.9056 - 0.9056)
archetype_r2: 0.0492 (range: 0.0492 - 0.0492)
Archetype Transform Summary:
archetype_transform_mean: -0.000134 (range: -0.000134 - -0.000134)
archetype_transform_std: 0.087454 (range: 0.087454 - 0.087454)
archetype_transform_norm: 6.244882 (range: 6.244882 - 6.244882)
archetype_transform_grad_norm: 0.398027 (range: 0.398027 - 0.398027)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0421, max=0.6803, mean=0.3333
Batch reconstruction MSE: 1.1368
Archetype stats: min=-10.9004, max=7.6417
Archetype change since last debug: 0.408865
Archetype gradients: norm=0.019322, mean=0.000922
Epoch 1/1
Average loss: 0.8212
Archetypal loss: 0.9057
KLD loss: 0.0607
Reconstruction loss: 0.9057
Archetype R²: 0.0492
Archetype transform grad norm: 0.384071
Archetype transform param norm: 6.2409
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.8212 (range: 0.8212 - 0.8212)
archetypal_loss: 0.9057 (range: 0.9057 - 0.9057)
kld_loss: 0.0607 (range: 0.0607 - 0.0607)
reconstruction_loss: 0.9057 (range: 0.9057 - 0.9057)
archetype_r2: 0.0492 (range: 0.0492 - 0.0492)
Archetype Transform Summary:
archetype_transform_mean: -0.000113 (range: -0.000113 - -0.000113)
archetype_transform_std: 0.087399 (range: 0.087399 - 0.087399)
archetype_transform_norm: 6.240923 (range: 6.240923 - 6.240923)
archetype_transform_grad_norm: 0.384071 (range: 0.384071 - 0.384071)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0246, max=0.6995, mean=0.3333
Batch reconstruction MSE: 1.1380
Archetype stats: min=-10.7146, max=7.4825
Archetype change since last debug: 0.431853
Archetype gradients: norm=0.023909, mean=0.001358
Epoch 1/1
Average loss: 0.8211
Archetypal loss: 0.9055
KLD loss: 0.0609
Reconstruction loss: 0.9055
Archetype R²: 0.0494
Archetype transform grad norm: 0.389556
Archetype transform param norm: 6.2400
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.8211 (range: 0.8211 - 0.8211)
archetypal_loss: 0.9055 (range: 0.9055 - 0.9055)
kld_loss: 0.0609 (range: 0.0609 - 0.0609)
reconstruction_loss: 0.9055 (range: 0.9055 - 0.9055)
archetype_r2: 0.0494 (range: 0.0494 - 0.0494)
Archetype Transform Summary:
archetype_transform_mean: -0.000112 (range: -0.000112 - -0.000112)
archetype_transform_std: 0.087386 (range: 0.087386 - 0.087386)
archetype_transform_norm: 6.240033 (range: 6.240033 - 6.240033)
archetype_transform_grad_norm: 0.389556 (range: 0.389556 - 0.389556)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0384, max=0.7369, mean=0.3333
Batch reconstruction MSE: 1.1253
Archetype stats: min=-10.7328, max=7.5134
Archetype change since last debug: 0.275777
Archetype gradients: norm=0.017217, mean=0.000815
Epoch 1/1
Average loss: 0.8205
Archetypal loss: 0.9049
KLD loss: 0.0604
Reconstruction loss: 0.9049
Archetype R²: 0.0499
Archetype transform grad norm: 0.372304
Archetype transform param norm: 6.2427
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.8205 (range: 0.8205 - 0.8205)
archetypal_loss: 0.9049 (range: 0.9049 - 0.9049)
kld_loss: 0.0604 (range: 0.0604 - 0.0604)
reconstruction_loss: 0.9049 (range: 0.9049 - 0.9049)
archetype_r2: 0.0499 (range: 0.0499 - 0.0499)
Archetype Transform Summary:
archetype_transform_mean: -0.000097 (range: -0.000097 - -0.000097)
archetype_transform_std: 0.087424 (range: 0.087424 - 0.087424)
archetype_transform_norm: 6.242699 (range: 6.242699 - 6.242699)
archetype_transform_grad_norm: 0.372304 (range: 0.372304 - 0.372304)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0250, max=0.6812, mean=0.3333
Batch reconstruction MSE: 1.1196
Archetype stats: min=-10.7659, max=7.4948
Archetype change since last debug: 0.369620
Archetype gradients: norm=0.016735, mean=0.000983
Epoch 1/1
Average loss: 0.8202
Archetypal loss: 0.9047
KLD loss: 0.0594
Reconstruction loss: 0.9047
Archetype R²: 0.0501
Archetype transform grad norm: 0.383114
Archetype transform param norm: 6.2478
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.8202 (range: 0.8202 - 0.8202)
archetypal_loss: 0.9047 (range: 0.9047 - 0.9047)
kld_loss: 0.0594 (range: 0.0594 - 0.0594)
reconstruction_loss: 0.9047 (range: 0.9047 - 0.9047)
archetype_r2: 0.0501 (range: 0.0501 - 0.0501)
Archetype Transform Summary:
archetype_transform_mean: -0.000100 (range: -0.000100 - -0.000100)
archetype_transform_std: 0.087495 (range: 0.087495 - 0.087495)
archetype_transform_norm: 6.247773 (range: 6.247773 - 6.247773)
archetype_transform_grad_norm: 0.383114 (range: 0.383114 - 0.383114)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0361, max=0.6529, mean=0.3333
Batch reconstruction MSE: 1.1126
Archetype stats: min=-10.9072, max=7.6450
Archetype change since last debug: 0.399957
Archetype gradients: norm=0.013542, mean=0.000760
Epoch 1/1
Average loss: 0.8197
Archetypal loss: 0.9043
KLD loss: 0.0583
Reconstruction loss: 0.9043
Archetype R²: 0.0505
Archetype transform grad norm: 0.361481
Archetype transform param norm: 6.2538
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.8197 (range: 0.8197 - 0.8197)
archetypal_loss: 0.9043 (range: 0.9043 - 0.9043)
kld_loss: 0.0583 (range: 0.0583 - 0.0583)
reconstruction_loss: 0.9043 (range: 0.9043 - 0.9043)
archetype_r2: 0.0505 (range: 0.0505 - 0.0505)
Archetype Transform Summary:
archetype_transform_mean: -0.000086 (range: -0.000086 - -0.000086)
archetype_transform_std: 0.087580 (range: 0.087580 - 0.087580)
archetype_transform_norm: 6.253844 (range: 6.253844 - 6.253844)
archetype_transform_grad_norm: 0.361481 (range: 0.361481 - 0.361481)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0306, max=0.7173, mean=0.3333
Batch reconstruction MSE: 1.1155
Archetype stats: min=-11.0657, max=7.6970
Archetype change since last debug: 0.467447
Archetype gradients: norm=0.011482, mean=0.000689
Epoch 1/1
Average loss: 0.8200
Archetypal loss: 0.9046
KLD loss: 0.0591
Reconstruction loss: 0.9046
Archetype R²: 0.0503
Archetype transform grad norm: 0.379023
Archetype transform param norm: 6.2593
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.8200 (range: 0.8200 - 0.8200)
archetypal_loss: 0.9046 (range: 0.9046 - 0.9046)
kld_loss: 0.0591 (range: 0.0591 - 0.0591)
reconstruction_loss: 0.9046 (range: 0.9046 - 0.9046)
archetype_r2: 0.0503 (range: 0.0503 - 0.0503)
Archetype Transform Summary:
archetype_transform_mean: -0.000088 (range: -0.000088 - -0.000088)
archetype_transform_std: 0.087656 (range: 0.087656 - 0.087656)
archetype_transform_norm: 6.259258 (range: 6.259258 - 6.259258)
archetype_transform_grad_norm: 0.379023 (range: 0.379023 - 0.379023)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0402, max=0.6495, mean=0.3333
Batch reconstruction MSE: 1.1371
Archetype stats: min=-11.1947, max=7.7962
Archetype change since last debug: 0.336175
Archetype gradients: norm=0.015540, mean=0.000848
Epoch 1/1
Average loss: 0.8204
Archetypal loss: 0.9051
KLD loss: 0.0583
Reconstruction loss: 0.9051
Archetype R²: 0.0498
Archetype transform grad norm: 0.362253
Archetype transform param norm: 6.2569
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.8204 (range: 0.8204 - 0.8204)
archetypal_loss: 0.9051 (range: 0.9051 - 0.9051)
kld_loss: 0.0583 (range: 0.0583 - 0.0583)
reconstruction_loss: 0.9051 (range: 0.9051 - 0.9051)
archetype_r2: 0.0498 (range: 0.0498 - 0.0498)
Archetype Transform Summary:
archetype_transform_mean: -0.000077 (range: -0.000077 - -0.000077)
archetype_transform_std: 0.087622 (range: 0.087622 - 0.087622)
archetype_transform_norm: 6.256868 (range: 6.256868 - 6.256868)
archetype_transform_grad_norm: 0.362253 (range: 0.362253 - 0.362253)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0253, max=0.7303, mean=0.3333
Batch reconstruction MSE: 1.1191
Archetype stats: min=-11.0923, max=7.6706
Archetype change since last debug: 0.316487
Archetype gradients: norm=0.014929, mean=0.000854
Epoch 1/1
Average loss: 0.8200
Archetypal loss: 0.9046
KLD loss: 0.0591
Reconstruction loss: 0.9046
Archetype R²: 0.0503
Archetype transform grad norm: 0.373607
Archetype transform param norm: 6.2569
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.8200 (range: 0.8200 - 0.8200)
archetypal_loss: 0.9046 (range: 0.9046 - 0.9046)
kld_loss: 0.0591 (range: 0.0591 - 0.0591)
reconstruction_loss: 0.9046 (range: 0.9046 - 0.9046)
archetype_r2: 0.0503 (range: 0.0503 - 0.0503)
Archetype Transform Summary:
archetype_transform_mean: -0.000079 (range: -0.000079 - -0.000079)
archetype_transform_std: 0.087623 (range: 0.087623 - 0.087623)
archetype_transform_norm: 6.256894 (range: 6.256894 - 6.256894)
archetype_transform_grad_norm: 0.373607 (range: 0.373607 - 0.373607)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0429, max=0.6475, mean=0.3333
Batch reconstruction MSE: 1.1188
Archetype stats: min=-11.1699, max=7.7074
Archetype change since last debug: 0.263822
Archetype gradients: norm=0.015227, mean=0.000831
Epoch 1/1
Average loss: 0.8198
Archetypal loss: 0.9044
KLD loss: 0.0586
Reconstruction loss: 0.9044
Archetype R²: 0.0504
Archetype transform grad norm: 0.360530
Archetype transform param norm: 6.2592
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.8198 (range: 0.8198 - 0.8198)
archetypal_loss: 0.9044 (range: 0.9044 - 0.9044)
kld_loss: 0.0586 (range: 0.0586 - 0.0586)
reconstruction_loss: 0.9044 (range: 0.9044 - 0.9044)
archetype_r2: 0.0504 (range: 0.0504 - 0.0504)
Archetype Transform Summary:
archetype_transform_mean: -0.000068 (range: -0.000068 - -0.000068)
archetype_transform_std: 0.087655 (range: 0.087655 - 0.087655)
archetype_transform_norm: 6.259179 (range: 6.259179 - 6.259179)
archetype_transform_grad_norm: 0.360530 (range: 0.360530 - 0.360530)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0332, max=0.5968, mean=0.3333
Batch reconstruction MSE: 1.1247
Archetype stats: min=-11.2060, max=7.6685
Archetype change since last debug: 0.351459
Archetype gradients: norm=0.016805, mean=0.000989
Epoch 1/1
Average loss: 0.8200
Archetypal loss: 0.9046
KLD loss: 0.0585
Reconstruction loss: 0.9046
Archetype R²: 0.0503
Archetype transform grad norm: 0.376791
Archetype transform param norm: 6.2616
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.8200 (range: 0.8200 - 0.8200)
archetypal_loss: 0.9046 (range: 0.9046 - 0.9046)
kld_loss: 0.0585 (range: 0.0585 - 0.0585)
reconstruction_loss: 0.9046 (range: 0.9046 - 0.9046)
archetype_r2: 0.0503 (range: 0.0503 - 0.0503)
Archetype Transform Summary:
archetype_transform_mean: -0.000059 (range: -0.000059 - -0.000059)
archetype_transform_std: 0.087688 (range: 0.087688 - 0.087688)
archetype_transform_norm: 6.261558 (range: 6.261558 - 6.261558)
archetype_transform_grad_norm: 0.376791 (range: 0.376791 - 0.376791)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0442, max=0.6659, mean=0.3333
Batch reconstruction MSE: 1.1246
Archetype stats: min=-11.1821, max=7.7617
Archetype change since last debug: 0.422695
Archetype gradients: norm=0.015861, mean=0.000778
Epoch 1/1
Average loss: 0.8201
Archetypal loss: 0.9046
KLD loss: 0.0595
Reconstruction loss: 0.9046
Archetype R²: 0.0502
Archetype transform grad norm: 0.359172
Archetype transform param norm: 6.2632
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.8201 (range: 0.8201 - 0.8201)
archetypal_loss: 0.9046 (range: 0.9046 - 0.9046)
kld_loss: 0.0595 (range: 0.0595 - 0.0595)
reconstruction_loss: 0.9046 (range: 0.9046 - 0.9046)
archetype_r2: 0.0502 (range: 0.0502 - 0.0502)
Archetype Transform Summary:
archetype_transform_mean: -0.000058 (range: -0.000058 - -0.000058)
archetype_transform_std: 0.087710 (range: 0.087710 - 0.087710)
archetype_transform_norm: 6.263165 (range: 6.263165 - 6.263165)
archetype_transform_grad_norm: 0.359172 (range: 0.359172 - 0.359172)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0272, max=0.6378, mean=0.3333
Batch reconstruction MSE: 1.1302
Archetype stats: min=-11.1990, max=7.7395
Archetype change since last debug: 0.419087
Archetype gradients: norm=0.021324, mean=0.001240
Epoch 1/1
Average loss: 0.8205
Archetypal loss: 0.9052
KLD loss: 0.0590
Reconstruction loss: 0.9052
Archetype R²: 0.0497
Archetype transform grad norm: 0.389141
Archetype transform param norm: 6.2603
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.8205 (range: 0.8205 - 0.8205)
archetypal_loss: 0.9052 (range: 0.9052 - 0.9052)
kld_loss: 0.0590 (range: 0.0590 - 0.0590)
reconstruction_loss: 0.9052 (range: 0.9052 - 0.9052)
archetype_r2: 0.0497 (range: 0.0497 - 0.0497)
Archetype Transform Summary:
archetype_transform_mean: -0.000060 (range: -0.000060 - -0.000060)
archetype_transform_std: 0.087670 (range: 0.087670 - 0.087670)
archetype_transform_norm: 6.260284 (range: 6.260284 - 6.260284)
archetype_transform_grad_norm: 0.389141 (range: 0.389141 - 0.389141)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0378, max=0.6741, mean=0.3333
Batch reconstruction MSE: 1.1178
Archetype stats: min=-11.1218, max=7.6801
Archetype change since last debug: 0.285621
Archetype gradients: norm=0.013478, mean=0.000669
Epoch 1/1
Average loss: 0.8199
Archetypal loss: 0.9042
KLD loss: 0.0607
Reconstruction loss: 0.9042
Archetype R²: 0.0506
Archetype transform grad norm: 0.352354
Archetype transform param norm: 6.2601
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.8199 (range: 0.8199 - 0.8199)
archetypal_loss: 0.9042 (range: 0.9042 - 0.9042)
kld_loss: 0.0607 (range: 0.0607 - 0.0607)
reconstruction_loss: 0.9042 (range: 0.9042 - 0.9042)
archetype_r2: 0.0506 (range: 0.0506 - 0.0506)
Archetype Transform Summary:
archetype_transform_mean: -0.000049 (range: -0.000049 - -0.000049)
archetype_transform_std: 0.087668 (range: 0.087668 - 0.087668)
archetype_transform_norm: 6.260112 (range: 6.260112 - 6.260112)
archetype_transform_grad_norm: 0.352354 (range: 0.352354 - 0.352354)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0414, max=0.6127, mean=0.3333
Batch reconstruction MSE: 1.1123
Archetype stats: min=-11.1989, max=7.6177
Archetype change since last debug: 0.331902
Archetype gradients: norm=0.013902, mean=0.000772
Epoch 1/1
Average loss: 0.8194
Archetypal loss: 0.9039
KLD loss: 0.0583
Reconstruction loss: 0.9039
Archetype R²: 0.0509
Archetype transform grad norm: 0.356567
Archetype transform param norm: 6.2649
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.8194 (range: 0.8194 - 0.8194)
archetypal_loss: 0.9039 (range: 0.9039 - 0.9039)
kld_loss: 0.0583 (range: 0.0583 - 0.0583)
reconstruction_loss: 0.9039 (range: 0.9039 - 0.9039)
archetype_r2: 0.0509 (range: 0.0509 - 0.0509)
Archetype Transform Summary:
archetype_transform_mean: -0.000042 (range: -0.000042 - -0.000042)
archetype_transform_std: 0.087735 (range: 0.087735 - 0.087735)
archetype_transform_norm: 6.264937 (range: 6.264937 - 6.264937)
archetype_transform_grad_norm: 0.356567 (range: 0.356567 - 0.356567)
Fold 2/3
Model input_dim: 50 (auto-detected from data)
Archetypes parameter registered: True
Archetypes requires_grad: True
Deep_AA (Deep Archetypal Analysis) initialized:
- Single-stage architecture (like Deep_2)
- Inflation factor: 1.5
- Direct archetypal coordinates (no bottleneck)
Consolidated Archetype Initialization
PCHA: True, Inflation: True (factor: 1.5)
Test inflation: False
Running PCHA initialization...
Input shape: (128, 50)
Target archetypes: 3
Running PCHA with 3 archetypes...
Data shape for PCHA: (50, 128)
PCHA Results:
Archetypes shape: (3, 50)
Archetype R²: 0.1330
SSE: 5061.5825
PCHA archetype R²: 0.1330
Archetype shape: (3, 50)
[OK] Initialized 3 archetypes using PCHA
Scalar Archetypal Inflation (factor: 1.50)
[OK] Inflation complete
[STATS] Positioning verification:
Data radius (max): 18.704
Data radius (mean): 6.201
Archetype distances: 4.520 to 23.760
Archetypes outside data: 1/3
Min archetype separation: 10.663
[OK] Archetype initialization complete (success: True)
[OK] Archetype initialization complete (PCHA: True, Inflation: 1.5)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0113, max=0.9289, mean=0.3333
Batch reconstruction MSE: 0.9831
Archetype stats: min=-1.4269, max=1.3252
Archetype gradients: norm=0.019799, mean=0.001154
Epoch 1/1
Average loss: 0.8634
Archetypal loss: 0.9512
KLD loss: 0.0732
Reconstruction loss: 0.9512
Archetype R²: -0.0124
Archetype transform grad norm: 0.208010
Archetype transform param norm: 5.8536
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.8634 (range: 0.8634 - 0.8634)
archetypal_loss: 0.9512 (range: 0.9512 - 0.9512)
kld_loss: 0.0732 (range: 0.0732 - 0.0732)
reconstruction_loss: 0.9512 (range: 0.9512 - 0.9512)
archetype_r2: -0.0124 (range: -0.0124 - -0.0124)
Archetype Transform Summary:
archetype_transform_mean: -0.000138 (range: -0.000138 - -0.000138)
archetype_transform_std: 0.081974 (range: 0.081974 - 0.081974)
archetype_transform_norm: 5.853633 (range: 5.853633 - 5.853633)
archetype_transform_grad_norm: 0.208010 (range: 0.208010 - 0.208010)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0050, max=0.9782, mean=0.3333
Batch reconstruction MSE: 0.8681
Archetype stats: min=-0.6487, max=0.6325
Archetype change since last debug: 4.714546
Archetype gradients: norm=0.003776, mean=0.000250
Epoch 1/1
Average loss: 0.8441
Archetypal loss: 0.9304
KLD loss: 0.0675
Reconstruction loss: 0.9304
Archetype R²: 0.0099
Archetype transform grad norm: 0.159987
Archetype transform param norm: 5.9215
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.8441 (range: 0.8441 - 0.8441)
archetypal_loss: 0.9304 (range: 0.9304 - 0.9304)
kld_loss: 0.0675 (range: 0.0675 - 0.0675)
reconstruction_loss: 0.9304 (range: 0.9304 - 0.9304)
archetype_r2: 0.0099 (range: 0.0099 - 0.0099)
Archetype Transform Summary:
archetype_transform_mean: 0.000481 (range: 0.000481 - 0.000481)
archetype_transform_std: 0.082924 (range: 0.082924 - 0.082924)
archetype_transform_norm: 5.921513 (range: 5.921513 - 5.921513)
archetype_transform_grad_norm: 0.159987 (range: 0.159987 - 0.159987)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0021, max=0.9951, mean=0.3333
Batch reconstruction MSE: 0.9164
Archetype stats: min=-1.7076, max=1.7969
Archetype change since last debug: 4.343395
Archetype gradients: norm=0.013130, mean=0.000874
Epoch 1/1
Average loss: 0.8318
Archetypal loss: 0.9134
KLD loss: 0.0975
Reconstruction loss: 0.9134
Archetype R²: 0.0281
Archetype transform grad norm: 0.194148
Archetype transform param norm: 6.0964
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.8318 (range: 0.8318 - 0.8318)
archetypal_loss: 0.9134 (range: 0.9134 - 0.9134)
kld_loss: 0.0975 (range: 0.0975 - 0.0975)
reconstruction_loss: 0.9134 (range: 0.9134 - 0.9134)
archetype_r2: 0.0281 (range: 0.0281 - 0.0281)
Archetype Transform Summary:
archetype_transform_mean: 0.001034 (range: 0.001034 - 0.001034)
archetype_transform_std: 0.085368 (range: 0.085368 - 0.085368)
archetype_transform_norm: 6.096366 (range: 6.096366 - 6.096366)
archetype_transform_grad_norm: 0.194148 (range: 0.194148 - 0.194148)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0077, max=0.9779, mean=0.3333
Batch reconstruction MSE: 1.0408
Archetype stats: min=-3.5268, max=3.3500
Archetype change since last debug: 5.428080
Archetype gradients: norm=0.035058, mean=0.002374
Epoch 1/1
Average loss: 0.8262
Archetypal loss: 0.9079
KLD loss: 0.0905
Reconstruction loss: 0.9079
Archetype R²: 0.0337
Archetype transform grad norm: 0.217056
Archetype transform param norm: 6.2295
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.8262 (range: 0.8262 - 0.8262)
archetypal_loss: 0.9079 (range: 0.9079 - 0.9079)
kld_loss: 0.0905 (range: 0.0905 - 0.0905)
reconstruction_loss: 0.9079 (range: 0.9079 - 0.9079)
archetype_r2: 0.0337 (range: 0.0337 - 0.0337)
Archetype Transform Summary:
archetype_transform_mean: 0.001384 (range: 0.001384 - 0.001384)
archetype_transform_std: 0.087228 (range: 0.087228 - 0.087228)
archetype_transform_norm: 6.229532 (range: 6.229532 - 6.229532)
archetype_transform_grad_norm: 0.217056 (range: 0.217056 - 0.217056)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0108, max=0.9616, mean=0.3333
Batch reconstruction MSE: 1.0782
Archetype stats: min=-4.7919, max=4.1490
Archetype change since last debug: 3.077830
Archetype gradients: norm=0.043171, mean=0.002917
Epoch 1/1
Average loss: 0.8225
Archetypal loss: 0.9043
KLD loss: 0.0863
Reconstruction loss: 0.9043
Archetype R²: 0.0376
Archetype transform grad norm: 0.221956
Archetype transform param norm: 6.2997
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.8225 (range: 0.8225 - 0.8225)
archetypal_loss: 0.9043 (range: 0.9043 - 0.9043)
kld_loss: 0.0863 (range: 0.0863 - 0.0863)
reconstruction_loss: 0.9043 (range: 0.9043 - 0.9043)
archetype_r2: 0.0376 (range: 0.0376 - 0.0376)
Archetype Transform Summary:
archetype_transform_mean: 0.001571 (range: 0.001571 - 0.001571)
archetype_transform_std: 0.088208 (range: 0.088208 - 0.088208)
archetype_transform_norm: 6.299692 (range: 6.299692 - 6.299692)
archetype_transform_grad_norm: 0.221956 (range: 0.221956 - 0.221956)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0120, max=0.9502, mean=0.3333
Batch reconstruction MSE: 1.0899
Archetype stats: min=-5.7198, max=4.7071
Archetype change since last debug: 2.362552
Archetype gradients: norm=0.046690, mean=0.003136
Epoch 1/1
Average loss: 0.8200
Archetypal loss: 0.9019
KLD loss: 0.0833
Reconstruction loss: 0.9019
Archetype R²: 0.0401
Archetype transform grad norm: 0.224417
Archetype transform param norm: 6.3451
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.8200 (range: 0.8200 - 0.8200)
archetypal_loss: 0.9019 (range: 0.9019 - 0.9019)
kld_loss: 0.0833 (range: 0.0833 - 0.0833)
reconstruction_loss: 0.9019 (range: 0.9019 - 0.9019)
archetype_r2: 0.0401 (range: 0.0401 - 0.0401)
Archetype Transform Summary:
archetype_transform_mean: 0.001675 (range: 0.001675 - 0.001675)
archetype_transform_std: 0.088841 (range: 0.088841 - 0.088841)
archetype_transform_norm: 6.345060 (range: 6.345060 - 6.345060)
archetype_transform_grad_norm: 0.224417 (range: 0.224417 - 0.224417)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0138, max=0.9364, mean=0.3333
Batch reconstruction MSE: 1.0893
Archetype stats: min=-6.3191, max=5.0685
Archetype change since last debug: 1.700605
Archetype gradients: norm=0.047798, mean=0.003191
Epoch 1/1
Average loss: 0.8184
Archetypal loss: 0.9004
KLD loss: 0.0806
Reconstruction loss: 0.9004
Archetype R²: 0.0418
Archetype transform grad norm: 0.225444
Archetype transform param norm: 6.3763
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.8184 (range: 0.8184 - 0.8184)
archetypal_loss: 0.9004 (range: 0.9004 - 0.9004)
kld_loss: 0.0806 (range: 0.0806 - 0.0806)
reconstruction_loss: 0.9004 (range: 0.9004 - 0.9004)
archetype_r2: 0.0418 (range: 0.0418 - 0.0418)
Archetype Transform Summary:
archetype_transform_mean: 0.001739 (range: 0.001739 - 0.001739)
archetype_transform_std: 0.089277 (range: 0.089277 - 0.089277)
archetype_transform_norm: 6.376253 (range: 6.376253 - 6.376253)
archetype_transform_grad_norm: 0.225444 (range: 0.225444 - 0.225444)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0151, max=0.9182, mean=0.3333
Batch reconstruction MSE: 1.0809
Archetype stats: min=-6.7360, max=5.3168
Archetype change since last debug: 1.272416
Archetype gradients: norm=0.047164, mean=0.003141
Epoch 1/1
Average loss: 0.8172
Archetypal loss: 0.8993
KLD loss: 0.0781
Reconstruction loss: 0.8993
Archetype R²: 0.0429
Archetype transform grad norm: 0.225732
Archetype transform param norm: 6.4004
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.8172 (range: 0.8172 - 0.8172)
archetypal_loss: 0.8993 (range: 0.8993 - 0.8993)
kld_loss: 0.0781 (range: 0.0781 - 0.0781)
reconstruction_loss: 0.8993 (range: 0.8993 - 0.8993)
archetype_r2: 0.0429 (range: 0.0429 - 0.0429)
Archetype Transform Summary:
archetype_transform_mean: 0.001783 (range: 0.001783 - 0.001783)
archetype_transform_std: 0.089615 (range: 0.089615 - 0.089615)
archetype_transform_norm: 6.400408 (range: 6.400408 - 6.400408)
archetype_transform_grad_norm: 0.225732 (range: 0.225732 - 0.225732)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0165, max=0.8945, mean=0.3333
Batch reconstruction MSE: 1.0679
Archetype stats: min=-7.0556, max=5.5140
Archetype change since last debug: 0.982178
Archetype gradients: norm=0.045628, mean=0.003030
Epoch 1/1
Average loss: 0.8162
Archetypal loss: 0.8985
KLD loss: 0.0760
Reconstruction loss: 0.8985
Archetype R²: 0.0438
Archetype transform grad norm: 0.225699
Archetype transform param norm: 6.4210
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.8162 (range: 0.8162 - 0.8162)
archetypal_loss: 0.8985 (range: 0.8985 - 0.8985)
kld_loss: 0.0760 (range: 0.0760 - 0.0760)
reconstruction_loss: 0.8985 (range: 0.8985 - 0.8985)
archetype_r2: 0.0438 (range: 0.0438 - 0.0438)
Archetype Transform Summary:
archetype_transform_mean: 0.001815 (range: 0.001815 - 0.001815)
archetype_transform_std: 0.089903 (range: 0.089903 - 0.089903)
archetype_transform_norm: 6.421026 (range: 6.421026 - 6.421026)
archetype_transform_grad_norm: 0.225699 (range: 0.225699 - 0.225699)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0185, max=0.8703, mean=0.3333
Batch reconstruction MSE: 1.0513
Archetype stats: min=-7.3202, max=5.6800
Archetype change since last debug: 0.803735
Archetype gradients: norm=0.043833, mean=0.002891
Epoch 1/1
Average loss: 0.8153
Archetypal loss: 0.8977
KLD loss: 0.0741
Reconstruction loss: 0.8977
Archetype R²: 0.0447
Archetype transform grad norm: 0.225752
Archetype transform param norm: 6.4401
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.8153 (range: 0.8153 - 0.8153)
archetypal_loss: 0.8977 (range: 0.8977 - 0.8977)
kld_loss: 0.0741 (range: 0.0741 - 0.0741)
reconstruction_loss: 0.8977 (range: 0.8977 - 0.8977)
archetype_r2: 0.0447 (range: 0.0447 - 0.0447)
Archetype Transform Summary:
archetype_transform_mean: 0.001853 (range: 0.001853 - 0.001853)
archetype_transform_std: 0.090169 (range: 0.090169 - 0.090169)
archetype_transform_norm: 6.440085 (range: 6.440085 - 6.440085)
archetype_transform_grad_norm: 0.225752 (range: 0.225752 - 0.225752)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0210, max=0.8534, mean=0.3333
Batch reconstruction MSE: 1.0320
Archetype stats: min=-7.5544, max=5.8225
Archetype change since last debug: 0.700636
Archetype gradients: norm=0.040973, mean=0.002698
Epoch 1/1
Average loss: 0.8145
Archetypal loss: 0.8970
KLD loss: 0.0722
Reconstruction loss: 0.8970
Archetype R²: 0.0455
Archetype transform grad norm: 0.224239
Archetype transform param norm: 6.4595
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.8145 (range: 0.8145 - 0.8145)
archetypal_loss: 0.8970 (range: 0.8970 - 0.8970)
kld_loss: 0.0722 (range: 0.0722 - 0.0722)
reconstruction_loss: 0.8970 (range: 0.8970 - 0.8970)
archetype_r2: 0.0455 (range: 0.0455 - 0.0455)
Archetype Transform Summary:
archetype_transform_mean: 0.001888 (range: 0.001888 - 0.001888)
archetype_transform_std: 0.090441 (range: 0.090441 - 0.090441)
archetype_transform_norm: 6.459522 (range: 6.459522 - 6.459522)
archetype_transform_grad_norm: 0.224239 (range: 0.224239 - 0.224239)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0253, max=0.8238, mean=0.3333
Batch reconstruction MSE: 1.0124
Archetype stats: min=-7.7951, max=5.9646
Archetype change since last debug: 0.664885
Archetype gradients: norm=0.037861, mean=0.002490
Epoch 1/1
Average loss: 0.8137
Archetypal loss: 0.8963
KLD loss: 0.0706
Reconstruction loss: 0.8963
Archetype R²: 0.0463
Archetype transform grad norm: 0.223679
Archetype transform param norm: 6.4800
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.8137 (range: 0.8137 - 0.8137)
archetypal_loss: 0.8963 (range: 0.8963 - 0.8963)
kld_loss: 0.0706 (range: 0.0706 - 0.0706)
reconstruction_loss: 0.8963 (range: 0.8963 - 0.8963)
archetype_r2: 0.0463 (range: 0.0463 - 0.0463)
Archetype Transform Summary:
archetype_transform_mean: 0.001926 (range: 0.001926 - 0.001926)
archetype_transform_std: 0.090726 (range: 0.090726 - 0.090726)
archetype_transform_norm: 6.479987 (range: 6.479987 - 6.479987)
archetype_transform_grad_norm: 0.223679 (range: 0.223679 - 0.223679)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0267, max=0.8107, mean=0.3333
Batch reconstruction MSE: 0.9932
Archetype stats: min=-8.0361, max=6.1084
Archetype change since last debug: 0.651602
Archetype gradients: norm=0.034874, mean=0.002293
Epoch 1/1
Average loss: 0.8129
Archetypal loss: 0.8956
KLD loss: 0.0688
Reconstruction loss: 0.8956
Archetype R²: 0.0470
Archetype transform grad norm: 0.224158
Archetype transform param norm: 6.5018
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.8129 (range: 0.8129 - 0.8129)
archetypal_loss: 0.8956 (range: 0.8956 - 0.8956)
kld_loss: 0.0688 (range: 0.0688 - 0.0688)
reconstruction_loss: 0.8956 (range: 0.8956 - 0.8956)
archetype_r2: 0.0470 (range: 0.0470 - 0.0470)
Archetype Transform Summary:
archetype_transform_mean: 0.001966 (range: 0.001966 - 0.001966)
archetype_transform_std: 0.091031 (range: 0.091031 - 0.091031)
archetype_transform_norm: 6.501798 (range: 6.501798 - 6.501798)
archetype_transform_grad_norm: 0.224158 (range: 0.224158 - 0.224158)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0274, max=0.7713, mean=0.3333
Batch reconstruction MSE: 0.9788
Archetype stats: min=-8.2862, max=6.2373
Archetype change since last debug: 0.652267
Archetype gradients: norm=0.031892, mean=0.002098
Epoch 1/1
Average loss: 0.8124
Archetypal loss: 0.8951
KLD loss: 0.0677
Reconstruction loss: 0.8951
Archetype R²: 0.0475
Archetype transform grad norm: 0.225639
Archetype transform param norm: 6.5226
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.8124 (range: 0.8124 - 0.8124)
archetypal_loss: 0.8951 (range: 0.8951 - 0.8951)
kld_loss: 0.0677 (range: 0.0677 - 0.0677)
reconstruction_loss: 0.8951 (range: 0.8951 - 0.8951)
archetype_r2: 0.0475 (range: 0.0475 - 0.0475)
Archetype Transform Summary:
archetype_transform_mean: 0.002006 (range: 0.002006 - 0.002006)
archetype_transform_std: 0.091321 (range: 0.091321 - 0.091321)
archetype_transform_norm: 6.522560 (range: 6.522560 - 6.522560)
archetype_transform_grad_norm: 0.225639 (range: 0.225639 - 0.225639)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0294, max=0.8071, mean=0.3333
Batch reconstruction MSE: 0.9719
Archetype stats: min=-8.5435, max=6.3745
Archetype change since last debug: 0.631895
Archetype gradients: norm=0.035913, mean=0.002223
Epoch 1/1
Average loss: 0.8122
Archetypal loss: 0.8950
KLD loss: 0.0668
Reconstruction loss: 0.8950
Archetype R²: 0.0477
Archetype transform grad norm: 0.227094
Archetype transform param norm: 6.5403
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.8122 (range: 0.8122 - 0.8122)
archetypal_loss: 0.8950 (range: 0.8950 - 0.8950)
kld_loss: 0.0668 (range: 0.0668 - 0.0668)
reconstruction_loss: 0.8950 (range: 0.8950 - 0.8950)
archetype_r2: 0.0477 (range: 0.0477 - 0.0477)
Archetype Transform Summary:
archetype_transform_mean: 0.002040 (range: 0.002040 - 0.002040)
archetype_transform_std: 0.091568 (range: 0.091568 - 0.091568)
archetype_transform_norm: 6.540256 (range: 6.540256 - 6.540256)
archetype_transform_grad_norm: 0.227094 (range: 0.227094 - 0.227094)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0304, max=0.8516, mean=0.3333
Batch reconstruction MSE: 0.9706
Archetype stats: min=-8.6913, max=6.4483
Archetype change since last debug: 0.541465
Archetype gradients: norm=0.027245, mean=0.001748
Epoch 1/1
Average loss: 0.8121
Archetypal loss: 0.8949
KLD loss: 0.0669
Reconstruction loss: 0.8949
Archetype R²: 0.0478
Archetype transform grad norm: 0.230128
Archetype transform param norm: 6.5530
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.8121 (range: 0.8121 - 0.8121)
archetypal_loss: 0.8949 (range: 0.8949 - 0.8949)
kld_loss: 0.0669 (range: 0.0669 - 0.0669)
reconstruction_loss: 0.8949 (range: 0.8949 - 0.8949)
archetype_r2: 0.0478 (range: 0.0478 - 0.0478)
Archetype Transform Summary:
archetype_transform_mean: 0.002059 (range: 0.002059 - 0.002059)
archetype_transform_std: 0.091746 (range: 0.091746 - 0.091746)
archetype_transform_norm: 6.553004 (range: 6.553004 - 6.553004)
archetype_transform_grad_norm: 0.230128 (range: 0.230128 - 0.230128)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0349, max=0.7425, mean=0.3333
Batch reconstruction MSE: 0.9744
Archetype stats: min=-8.9076, max=6.5885
Archetype change since last debug: 0.521692
Archetype gradients: norm=0.049708, mean=0.002610
Epoch 1/1
Average loss: 0.8125
Archetypal loss: 0.8953
KLD loss: 0.0677
Reconstruction loss: 0.8953
Archetype R²: 0.0474
Archetype transform grad norm: 0.235469
Archetype transform param norm: 6.5592
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.8125 (range: 0.8125 - 0.8125)
archetypal_loss: 0.8953 (range: 0.8953 - 0.8953)
kld_loss: 0.0677 (range: 0.0677 - 0.0677)
reconstruction_loss: 0.8953 (range: 0.8953 - 0.8953)
archetype_r2: 0.0474 (range: 0.0474 - 0.0474)
Archetype Transform Summary:
archetype_transform_mean: 0.002068 (range: 0.002068 - 0.002068)
archetype_transform_std: 0.091833 (range: 0.091833 - 0.091833)
archetype_transform_norm: 6.559233 (range: 6.559233 - 6.559233)
archetype_transform_grad_norm: 0.235469 (range: 0.235469 - 0.235469)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0322, max=0.7976, mean=0.3333
Batch reconstruction MSE: 0.9671
Archetype stats: min=-8.8447, max=6.5335
Archetype change since last debug: 0.437197
Archetype gradients: norm=0.032098, mean=0.001942
Epoch 1/1
Average loss: 0.8121
Archetypal loss: 0.8950
KLD loss: 0.0668
Reconstruction loss: 0.8950
Archetype R²: 0.0478
Archetype transform grad norm: 0.241907
Archetype transform param norm: 6.5622
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.8121 (range: 0.8121 - 0.8121)
archetypal_loss: 0.8950 (range: 0.8950 - 0.8950)
kld_loss: 0.0668 (range: 0.0668 - 0.0668)
reconstruction_loss: 0.8950 (range: 0.8950 - 0.8950)
archetype_r2: 0.0478 (range: 0.0478 - 0.0478)
Archetype Transform Summary:
archetype_transform_mean: 0.002063 (range: 0.002063 - 0.002063)
archetype_transform_std: 0.091875 (range: 0.091875 - 0.091875)
archetype_transform_norm: 6.562188 (range: 6.562188 - 6.562188)
archetype_transform_grad_norm: 0.241907 (range: 0.241907 - 0.241907)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0397, max=0.7096, mean=0.3333
Batch reconstruction MSE: 0.9391
Archetype stats: min=-9.0599, max=6.7063
Archetype change since last debug: 0.610611
Archetype gradients: norm=0.046300, mean=0.002330
Epoch 1/1
Average loss: 0.8110
Archetypal loss: 0.8938
KLD loss: 0.0659
Reconstruction loss: 0.8938
Archetype R²: 0.0490
Archetype transform grad norm: 0.230530
Archetype transform param norm: 6.5778
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.8110 (range: 0.8110 - 0.8110)
archetypal_loss: 0.8938 (range: 0.8938 - 0.8938)
kld_loss: 0.0659 (range: 0.0659 - 0.0659)
reconstruction_loss: 0.8938 (range: 0.8938 - 0.8938)
archetype_r2: 0.0490 (range: 0.0490 - 0.0490)
Archetype Transform Summary:
archetype_transform_mean: 0.002102 (range: 0.002102 - 0.002102)
archetype_transform_std: 0.092092 (range: 0.092092 - 0.092092)
archetype_transform_norm: 6.577784 (range: 6.577784 - 6.577784)
archetype_transform_grad_norm: 0.230530 (range: 0.230530 - 0.230530)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0378, max=0.7950, mean=0.3333
Batch reconstruction MSE: 0.9484
Archetype stats: min=-9.1761, max=6.8280
Archetype change since last debug: 0.692183
Archetype gradients: norm=0.025688, mean=0.001675
Epoch 1/1
Average loss: 0.8109
Archetypal loss: 0.8939
KLD loss: 0.0639
Reconstruction loss: 0.8939
Archetype R²: 0.0489
Archetype transform grad norm: 0.238545
Archetype transform param norm: 6.5932
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.8109 (range: 0.8109 - 0.8109)
archetypal_loss: 0.8939 (range: 0.8939 - 0.8939)
kld_loss: 0.0639 (range: 0.0639 - 0.0639)
reconstruction_loss: 0.8939 (range: 0.8939 - 0.8939)
archetype_r2: 0.0489 (range: 0.0489 - 0.0489)
Archetype Transform Summary:
archetype_transform_mean: 0.002157 (range: 0.002157 - 0.002157)
archetype_transform_std: 0.092307 (range: 0.092307 - 0.092307)
archetype_transform_norm: 6.593192 (range: 6.593192 - 6.593192)
archetype_transform_grad_norm: 0.238545 (range: 0.238545 - 0.238545)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0378, max=0.7639, mean=0.3333
Batch reconstruction MSE: 0.9436
Archetype stats: min=-9.4332, max=6.8945
Archetype change since last debug: 0.523094
Archetype gradients: norm=0.053781, mean=0.002635
Epoch 1/1
Average loss: 0.8110
Archetypal loss: 0.8938
KLD loss: 0.0652
Reconstruction loss: 0.8938
Archetype R²: 0.0489
Archetype transform grad norm: 0.234844
Archetype transform param norm: 6.6014
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.8110 (range: 0.8110 - 0.8110)
archetypal_loss: 0.8938 (range: 0.8938 - 0.8938)
kld_loss: 0.0652 (range: 0.0652 - 0.0652)
reconstruction_loss: 0.8938 (range: 0.8938 - 0.8938)
archetype_r2: 0.0489 (range: 0.0489 - 0.0489)
Archetype Transform Summary:
archetype_transform_mean: 0.002179 (range: 0.002179 - 0.002179)
archetype_transform_std: 0.092421 (range: 0.092421 - 0.092421)
archetype_transform_norm: 6.601385 (range: 6.601385 - 6.601385)
archetype_transform_grad_norm: 0.234844 (range: 0.234844 - 0.234844)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0354, max=0.8866, mean=0.3333
Batch reconstruction MSE: 0.9650
Archetype stats: min=-9.4274, max=6.9195
Archetype change since last debug: 0.423210
Archetype gradients: norm=0.029970, mean=0.002063
Epoch 1/1
Average loss: 0.8109
Archetypal loss: 0.8939
KLD loss: 0.0634
Reconstruction loss: 0.8939
Archetype R²: 0.0488
Archetype transform grad norm: 0.238841
Archetype transform param norm: 6.6079
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.8109 (range: 0.8109 - 0.8109)
archetypal_loss: 0.8939 (range: 0.8939 - 0.8939)
kld_loss: 0.0634 (range: 0.0634 - 0.0634)
reconstruction_loss: 0.8939 (range: 0.8939 - 0.8939)
archetype_r2: 0.0488 (range: 0.0488 - 0.0488)
Archetype Transform Summary:
archetype_transform_mean: 0.002197 (range: 0.002197 - 0.002197)
archetype_transform_std: 0.092512 (range: 0.092512 - 0.092512)
archetype_transform_norm: 6.607863 (range: 6.607863 - 6.607863)
archetype_transform_grad_norm: 0.238841 (range: 0.238841 - 0.238841)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0420, max=0.8612, mean=0.3333
Batch reconstruction MSE: 0.9307
Archetype stats: min=-9.5730, max=6.8963
Archetype change since last debug: 0.349822
Archetype gradients: norm=0.044414, mean=0.002266
Epoch 1/1
Average loss: 0.8100
Archetypal loss: 0.8930
KLD loss: 0.0631
Reconstruction loss: 0.8930
Archetype R²: 0.0498
Archetype transform grad norm: 0.231277
Archetype transform param norm: 6.6199
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.8100 (range: 0.8100 - 0.8100)
archetypal_loss: 0.8930 (range: 0.8930 - 0.8930)
kld_loss: 0.0631 (range: 0.0631 - 0.0631)
reconstruction_loss: 0.8930 (range: 0.8930 - 0.8930)
archetype_r2: 0.0498 (range: 0.0498 - 0.0498)
Archetype Transform Summary:
archetype_transform_mean: 0.002223 (range: 0.002223 - 0.002223)
archetype_transform_std: 0.092680 (range: 0.092680 - 0.092680)
archetype_transform_norm: 6.619942 (range: 6.619942 - 6.619942)
archetype_transform_grad_norm: 0.231277 (range: 0.231277 - 0.231277)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0443, max=0.7123, mean=0.3333
Batch reconstruction MSE: 0.9306
Archetype stats: min=-9.6424, max=6.9978
Archetype change since last debug: 0.538003
Archetype gradients: norm=0.020494, mean=0.001327
Epoch 1/1
Average loss: 0.8096
Archetypal loss: 0.8928
KLD loss: 0.0613
Reconstruction loss: 0.8928
Archetype R²: 0.0501
Archetype transform grad norm: 0.234170
Archetype transform param norm: 6.6367
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.8096 (range: 0.8096 - 0.8096)
archetypal_loss: 0.8928 (range: 0.8928 - 0.8928)
kld_loss: 0.0613 (range: 0.0613 - 0.0613)
reconstruction_loss: 0.8928 (range: 0.8928 - 0.8928)
archetype_r2: 0.0501 (range: 0.0501 - 0.0501)
Archetype Transform Summary:
archetype_transform_mean: 0.002264 (range: 0.002264 - 0.002264)
archetype_transform_std: 0.092915 (range: 0.092915 - 0.092915)
archetype_transform_norm: 6.636750 (range: 6.636750 - 6.636750)
archetype_transform_grad_norm: 0.234170 (range: 0.234170 - 0.234170)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0531, max=0.7712, mean=0.3333
Batch reconstruction MSE: 0.9355
Archetype stats: min=-9.9201, max=7.1021
Archetype change since last debug: 0.540147
Archetype gradients: norm=0.043497, mean=0.002265
Epoch 1/1
Average loss: 0.8101
Archetypal loss: 0.8932
KLD loss: 0.0627
Reconstruction loss: 0.8932
Archetype R²: 0.0496
Archetype transform grad norm: 0.231576
Archetype transform param norm: 6.6457
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.8101 (range: 0.8101 - 0.8101)
archetypal_loss: 0.8932 (range: 0.8932 - 0.8932)
kld_loss: 0.0627 (range: 0.0627 - 0.0627)
reconstruction_loss: 0.8932 (range: 0.8932 - 0.8932)
archetype_r2: 0.0496 (range: 0.0496 - 0.0496)
Archetype Transform Summary:
archetype_transform_mean: 0.002273 (range: 0.002273 - 0.002273)
archetype_transform_std: 0.093040 (range: 0.093040 - 0.093040)
archetype_transform_norm: 6.645701 (range: 6.645701 - 6.645701)
archetype_transform_grad_norm: 0.231576 (range: 0.231576 - 0.231576)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0472, max=0.6946, mean=0.3333
Batch reconstruction MSE: 0.9494
Archetype stats: min=-9.9295, max=7.1809
Archetype change since last debug: 0.315850
Archetype gradients: norm=0.024707, mean=0.001661
Epoch 1/1
Average loss: 0.8101
Archetypal loss: 0.8933
KLD loss: 0.0616
Reconstruction loss: 0.8933
Archetype R²: 0.0495
Archetype transform grad norm: 0.235993
Archetype transform param norm: 6.6515
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.8101 (range: 0.8101 - 0.8101)
archetypal_loss: 0.8933 (range: 0.8933 - 0.8933)
kld_loss: 0.0616 (range: 0.0616 - 0.0616)
reconstruction_loss: 0.8933 (range: 0.8933 - 0.8933)
archetype_r2: 0.0495 (range: 0.0495 - 0.0495)
Archetype Transform Summary:
archetype_transform_mean: 0.002287 (range: 0.002287 - 0.002287)
archetype_transform_std: 0.093121 (range: 0.093121 - 0.093121)
archetype_transform_norm: 6.651494 (range: 6.651494 - 6.651494)
archetype_transform_grad_norm: 0.235993 (range: 0.235993 - 0.235993)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0312, max=0.8325, mean=0.3333
Batch reconstruction MSE: 0.9337
Archetype stats: min=-10.0620, max=7.1692
Archetype change since last debug: 0.333205
Archetype gradients: norm=0.041501, mean=0.002178
Epoch 1/1
Average loss: 0.8098
Archetypal loss: 0.8929
KLD loss: 0.0618
Reconstruction loss: 0.8929
Archetype R²: 0.0499
Archetype transform grad norm: 0.230137
Archetype transform param norm: 6.6590
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.8098 (range: 0.8098 - 0.8098)
archetypal_loss: 0.8929 (range: 0.8929 - 0.8929)
kld_loss: 0.0618 (range: 0.0618 - 0.0618)
reconstruction_loss: 0.8929 (range: 0.8929 - 0.8929)
archetype_r2: 0.0499 (range: 0.0499 - 0.0499)
Archetype Transform Summary:
archetype_transform_mean: 0.002286 (range: 0.002286 - 0.002286)
archetype_transform_std: 0.093225 (range: 0.093225 - 0.093225)
archetype_transform_norm: 6.658958 (range: 6.658958 - 6.658958)
archetype_transform_grad_norm: 0.230137 (range: 0.230137 - 0.230137)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0485, max=0.7382, mean=0.3333
Batch reconstruction MSE: 0.9319
Archetype stats: min=-10.0615, max=7.2364
Archetype change since last debug: 0.352483
Archetype gradients: norm=0.022028, mean=0.001529
Epoch 1/1
Average loss: 0.8095
Archetypal loss: 0.8927
KLD loss: 0.0606
Reconstruction loss: 0.8927
Archetype R²: 0.0502
Archetype transform grad norm: 0.234510
Archetype transform param norm: 6.6675
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.8095 (range: 0.8095 - 0.8095)
archetypal_loss: 0.8927 (range: 0.8927 - 0.8927)
kld_loss: 0.0606 (range: 0.0606 - 0.0606)
reconstruction_loss: 0.8927 (range: 0.8927 - 0.8927)
archetype_r2: 0.0502 (range: 0.0502 - 0.0502)
Archetype Transform Summary:
archetype_transform_mean: 0.002301 (range: 0.002301 - 0.002301)
archetype_transform_std: 0.093345 (range: 0.093345 - 0.093345)
archetype_transform_norm: 6.667515 (range: 6.667515 - 6.667515)
archetype_transform_grad_norm: 0.234510 (range: 0.234510 - 0.234510)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0495, max=0.7038, mean=0.3333
Batch reconstruction MSE: 0.9188
Archetype stats: min=-10.2137, max=7.2331
Archetype change since last debug: 0.340628
Archetype gradients: norm=0.048529, mean=0.002317
Epoch 1/1
Average loss: 0.8095
Archetypal loss: 0.8926
KLD loss: 0.0614
Reconstruction loss: 0.8926
Archetype R²: 0.0503
Archetype transform grad norm: 0.238070
Archetype transform param norm: 6.6745
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.8095 (range: 0.8095 - 0.8095)
archetypal_loss: 0.8926 (range: 0.8926 - 0.8926)
kld_loss: 0.0614 (range: 0.0614 - 0.0614)
reconstruction_loss: 0.8926 (range: 0.8926 - 0.8926)
archetype_r2: 0.0503 (range: 0.0503 - 0.0503)
Archetype Transform Summary:
archetype_transform_mean: 0.002309 (range: 0.002309 - 0.002309)
archetype_transform_std: 0.093443 (range: 0.093443 - 0.093443)
archetype_transform_norm: 6.674548 (range: 6.674548 - 6.674548)
archetype_transform_grad_norm: 0.238070 (range: 0.238070 - 0.238070)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0377, max=0.8572, mean=0.3333
Batch reconstruction MSE: 0.9463
Archetype stats: min=-10.2185, max=7.2599
Archetype change since last debug: 0.341388
Archetype gradients: norm=0.026791, mean=0.001905
Epoch 1/1
Average loss: 0.8098
Archetypal loss: 0.8930
KLD loss: 0.0608
Reconstruction loss: 0.8930
Archetype R²: 0.0499
Archetype transform grad norm: 0.238170
Archetype transform param norm: 6.6762
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.8098 (range: 0.8098 - 0.8098)
archetypal_loss: 0.8930 (range: 0.8930 - 0.8930)
kld_loss: 0.0608 (range: 0.0608 - 0.0608)
reconstruction_loss: 0.8930 (range: 0.8930 - 0.8930)
archetype_r2: 0.0499 (range: 0.0499 - 0.0499)
Archetype Transform Summary:
archetype_transform_mean: 0.002316 (range: 0.002316 - 0.002316)
archetype_transform_std: 0.093466 (range: 0.093466 - 0.093466)
archetype_transform_norm: 6.676219 (range: 6.676219 - 6.676219)
archetype_transform_grad_norm: 0.238170 (range: 0.238170 - 0.238170)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0429, max=0.7149, mean=0.3333
Batch reconstruction MSE: 0.9314
Archetype stats: min=-10.2634, max=7.1857
Archetype change since last debug: 0.273189
Archetype gradients: norm=0.047534, mean=0.002418
Epoch 1/1
Average loss: 0.8095
Archetypal loss: 0.8926
KLD loss: 0.0614
Reconstruction loss: 0.8926
Archetype R²: 0.0503
Archetype transform grad norm: 0.231906
Archetype transform param norm: 6.6783
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.8095 (range: 0.8095 - 0.8095)
archetypal_loss: 0.8926 (range: 0.8926 - 0.8926)
kld_loss: 0.0614 (range: 0.0614 - 0.0614)
reconstruction_loss: 0.8926 (range: 0.8926 - 0.8926)
archetype_r2: 0.0503 (range: 0.0503 - 0.0503)
Archetype Transform Summary:
archetype_transform_mean: 0.002317 (range: 0.002317 - 0.002317)
archetype_transform_std: 0.093495 (range: 0.093495 - 0.093495)
archetype_transform_norm: 6.678273 (range: 6.678273 - 6.678273)
archetype_transform_grad_norm: 0.231906 (range: 0.231906 - 0.231906)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0479, max=0.6975, mean=0.3333
Batch reconstruction MSE: 0.9266
Archetype stats: min=-10.2562, max=7.2092
Archetype change since last debug: 0.289427
Archetype gradients: norm=0.018506, mean=0.001216
Epoch 1/1
Average loss: 0.8089
Archetypal loss: 0.8922
KLD loss: 0.0598
Reconstruction loss: 0.8922
Archetype R²: 0.0508
Archetype transform grad norm: 0.230807
Archetype transform param norm: 6.6867
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.8089 (range: 0.8089 - 0.8089)
archetypal_loss: 0.8922 (range: 0.8922 - 0.8922)
kld_loss: 0.0598 (range: 0.0598 - 0.0598)
reconstruction_loss: 0.8922 (range: 0.8922 - 0.8922)
archetype_r2: 0.0508 (range: 0.0508 - 0.0508)
Archetype Transform Summary:
archetype_transform_mean: 0.002333 (range: 0.002333 - 0.002333)
archetype_transform_std: 0.093612 (range: 0.093612 - 0.093612)
archetype_transform_norm: 6.686673 (range: 6.686673 - 6.686673)
archetype_transform_grad_norm: 0.230807 (range: 0.230807 - 0.230807)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0598, max=0.7008, mean=0.3333
Batch reconstruction MSE: 0.9131
Archetype stats: min=-10.4075, max=7.2328
Archetype change since last debug: 0.349698
Archetype gradients: norm=0.034959, mean=0.001870
Epoch 1/1
Average loss: 0.8088
Archetypal loss: 0.8920
KLD loss: 0.0602
Reconstruction loss: 0.8920
Archetype R²: 0.0510
Archetype transform grad norm: 0.230217
Archetype transform param norm: 6.6980
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.8088 (range: 0.8088 - 0.8088)
archetypal_loss: 0.8920 (range: 0.8920 - 0.8920)
kld_loss: 0.0602 (range: 0.0602 - 0.0602)
reconstruction_loss: 0.8920 (range: 0.8920 - 0.8920)
archetype_r2: 0.0510 (range: 0.0510 - 0.0510)
Archetype Transform Summary:
archetype_transform_mean: 0.002360 (range: 0.002360 - 0.002360)
archetype_transform_std: 0.093770 (range: 0.093770 - 0.093770)
archetype_transform_norm: 6.698014 (range: 6.698014 - 6.698014)
archetype_transform_grad_norm: 0.230217 (range: 0.230217 - 0.230217)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0570, max=0.6691, mean=0.3333
Batch reconstruction MSE: 0.9325
Archetype stats: min=-10.4838, max=7.3099
Archetype change since last debug: 0.403516
Archetype gradients: norm=0.014576, mean=0.000953
Epoch 1/1
Average loss: 0.8090
Archetypal loss: 0.8923
KLD loss: 0.0595
Reconstruction loss: 0.8923
Archetype R²: 0.0506
Archetype transform grad norm: 0.230622
Archetype transform param norm: 6.7028
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.8090 (range: 0.8090 - 0.8090)
archetypal_loss: 0.8923 (range: 0.8923 - 0.8923)
kld_loss: 0.0595 (range: 0.0595 - 0.0595)
reconstruction_loss: 0.8923 (range: 0.8923 - 0.8923)
archetype_r2: 0.0506 (range: 0.0506 - 0.0506)
Archetype Transform Summary:
archetype_transform_mean: 0.002370 (range: 0.002370 - 0.002370)
archetype_transform_std: 0.093837 (range: 0.093837 - 0.093837)
archetype_transform_norm: 6.702779 (range: 6.702779 - 6.702779)
archetype_transform_grad_norm: 0.230622 (range: 0.230622 - 0.230622)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0445, max=0.7159, mean=0.3333
Batch reconstruction MSE: 0.9406
Archetype stats: min=-10.5505, max=7.3106
Archetype change since last debug: 0.287010
Archetype gradients: norm=0.033098, mean=0.002003
Epoch 1/1
Average loss: 0.8093
Archetypal loss: 0.8925
KLD loss: 0.0608
Reconstruction loss: 0.8925
Archetype R²: 0.0504
Archetype transform grad norm: 0.227072
Archetype transform param norm: 6.7030
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.8093 (range: 0.8093 - 0.8093)
archetypal_loss: 0.8925 (range: 0.8925 - 0.8925)
kld_loss: 0.0608 (range: 0.0608 - 0.0608)
reconstruction_loss: 0.8925 (range: 0.8925 - 0.8925)
archetype_r2: 0.0504 (range: 0.0504 - 0.0504)
Archetype Transform Summary:
archetype_transform_mean: 0.002373 (range: 0.002373 - 0.002373)
archetype_transform_std: 0.093840 (range: 0.093840 - 0.093840)
archetype_transform_norm: 6.702981 (range: 6.702981 - 6.702981)
archetype_transform_grad_norm: 0.227072 (range: 0.227072 - 0.227072)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0302, max=0.8423, mean=0.3333
Batch reconstruction MSE: 0.9391
Archetype stats: min=-10.5200, max=7.2467
Archetype change since last debug: 0.220634
Archetype gradients: norm=0.019209, mean=0.001240
Epoch 1/1
Average loss: 0.8091
Archetypal loss: 0.8923
KLD loss: 0.0600
Reconstruction loss: 0.8923
Archetype R²: 0.0506
Archetype transform grad norm: 0.232600
Archetype transform param norm: 6.7048
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.8091 (range: 0.8091 - 0.8091)
archetypal_loss: 0.8923 (range: 0.8923 - 0.8923)
kld_loss: 0.0600 (range: 0.0600 - 0.0600)
reconstruction_loss: 0.8923 (range: 0.8923 - 0.8923)
archetype_r2: 0.0506 (range: 0.0506 - 0.0506)
Archetype Transform Summary:
archetype_transform_mean: 0.002409 (range: 0.002409 - 0.002409)
archetype_transform_std: 0.093864 (range: 0.093864 - 0.093864)
archetype_transform_norm: 6.704781 (range: 6.704781 - 6.704781)
archetype_transform_grad_norm: 0.232600 (range: 0.232600 - 0.232600)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0433, max=0.7608, mean=0.3333
Batch reconstruction MSE: 0.9072
Archetype stats: min=-10.5967, max=7.2549
Archetype change since last debug: 0.250054
Archetype gradients: norm=0.032377, mean=0.001782
Epoch 1/1
Average loss: 0.8084
Archetypal loss: 0.8916
KLD loss: 0.0596
Reconstruction loss: 0.8916
Archetype R²: 0.0514
Archetype transform grad norm: 0.227335
Archetype transform param norm: 6.7150
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.8084 (range: 0.8084 - 0.8084)
archetypal_loss: 0.8916 (range: 0.8916 - 0.8916)
kld_loss: 0.0596 (range: 0.0596 - 0.0596)
reconstruction_loss: 0.8916 (range: 0.8916 - 0.8916)
archetype_r2: 0.0514 (range: 0.0514 - 0.0514)
Archetype Transform Summary:
archetype_transform_mean: 0.002441 (range: 0.002441 - 0.002441)
archetype_transform_std: 0.094006 (range: 0.094006 - 0.094006)
archetype_transform_norm: 6.715000 (range: 6.715000 - 6.715000)
archetype_transform_grad_norm: 0.227335 (range: 0.227335 - 0.227335)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0609, max=0.6739, mean=0.3333
Batch reconstruction MSE: 0.9278
Archetype stats: min=-10.6982, max=7.3624
Archetype change since last debug: 0.446935
Archetype gradients: norm=0.014476, mean=0.000894
Epoch 1/1
Average loss: 0.8086
Archetypal loss: 0.8919
KLD loss: 0.0590
Reconstruction loss: 0.8919
Archetype R²: 0.0510
Archetype transform grad norm: 0.229124
Archetype transform param norm: 6.7226
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.8086 (range: 0.8086 - 0.8086)
archetypal_loss: 0.8919 (range: 0.8919 - 0.8919)
kld_loss: 0.0590 (range: 0.0590 - 0.0590)
reconstruction_loss: 0.8919 (range: 0.8919 - 0.8919)
archetype_r2: 0.0510 (range: 0.0510 - 0.0510)
Archetype Transform Summary:
archetype_transform_mean: 0.002446 (range: 0.002446 - 0.002446)
archetype_transform_std: 0.094112 (range: 0.094112 - 0.094112)
archetype_transform_norm: 6.722581 (range: 6.722581 - 6.722581)
archetype_transform_grad_norm: 0.229124 (range: 0.229124 - 0.229124)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0468, max=0.7270, mean=0.3333
Batch reconstruction MSE: 0.9358
Archetype stats: min=-10.8045, max=7.3419
Archetype change since last debug: 0.252414
Archetype gradients: norm=0.031538, mean=0.001952
Epoch 1/1
Average loss: 0.8090
Archetypal loss: 0.8922
KLD loss: 0.0600
Reconstruction loss: 0.8922
Archetype R²: 0.0507
Archetype transform grad norm: 0.226986
Archetype transform param norm: 6.7229
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.8090 (range: 0.8090 - 0.8090)
archetypal_loss: 0.8922 (range: 0.8922 - 0.8922)
kld_loss: 0.0600 (range: 0.0600 - 0.0600)
reconstruction_loss: 0.8922 (range: 0.8922 - 0.8922)
archetype_r2: 0.0507 (range: 0.0507 - 0.0507)
Archetype Transform Summary:
archetype_transform_mean: 0.002443 (range: 0.002443 - 0.002443)
archetype_transform_std: 0.094117 (range: 0.094117 - 0.094117)
archetype_transform_norm: 6.722932 (range: 6.722932 - 6.722932)
archetype_transform_grad_norm: 0.226986 (range: 0.226986 - 0.226986)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0645, max=0.6961, mean=0.3333
Batch reconstruction MSE: 0.9269
Archetype stats: min=-10.7371, max=7.3298
Archetype change since last debug: 0.216750
Archetype gradients: norm=0.019378, mean=0.001359
Epoch 1/1
Average loss: 0.8086
Archetypal loss: 0.8918
KLD loss: 0.0591
Reconstruction loss: 0.8918
Archetype R²: 0.0511
Archetype transform grad norm: 0.231059
Archetype transform param norm: 6.7276
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.8086 (range: 0.8086 - 0.8086)
archetypal_loss: 0.8918 (range: 0.8918 - 0.8918)
kld_loss: 0.0591 (range: 0.0591 - 0.0591)
reconstruction_loss: 0.8918 (range: 0.8918 - 0.8918)
archetype_r2: 0.0511 (range: 0.0511 - 0.0511)
Archetype Transform Summary:
archetype_transform_mean: 0.002449 (range: 0.002449 - 0.002449)
archetype_transform_std: 0.094183 (range: 0.094183 - 0.094183)
archetype_transform_norm: 6.727619 (range: 6.727619 - 6.727619)
archetype_transform_grad_norm: 0.231059 (range: 0.231059 - 0.231059)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0580, max=0.7091, mean=0.3333
Batch reconstruction MSE: 0.9047
Archetype stats: min=-10.8504, max=7.3311
Archetype change since last debug: 0.248863
Archetype gradients: norm=0.038271, mean=0.001955
Epoch 1/1
Average loss: 0.8083
Archetypal loss: 0.8915
KLD loss: 0.0594
Reconstruction loss: 0.8915
Archetype R²: 0.0515
Archetype transform grad norm: 0.231167
Archetype transform param norm: 6.7357
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.8083 (range: 0.8083 - 0.8083)
archetypal_loss: 0.8915 (range: 0.8915 - 0.8915)
kld_loss: 0.0594 (range: 0.0594 - 0.0594)
reconstruction_loss: 0.8915 (range: 0.8915 - 0.8915)
archetype_r2: 0.0515 (range: 0.0515 - 0.0515)
Archetype Transform Summary:
archetype_transform_mean: 0.002458 (range: 0.002458 - 0.002458)
archetype_transform_std: 0.094296 (range: 0.094296 - 0.094296)
archetype_transform_norm: 6.735733 (range: 6.735733 - 6.735733)
archetype_transform_grad_norm: 0.231167 (range: 0.231167 - 0.231167)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0707, max=0.6629, mean=0.3333
Batch reconstruction MSE: 0.9260
Archetype stats: min=-10.9050, max=7.4218
Archetype change since last debug: 0.366723
Archetype gradients: norm=0.018841, mean=0.001320
Epoch 1/1
Average loss: 0.8084
Archetypal loss: 0.8918
KLD loss: 0.0584
Reconstruction loss: 0.8918
Archetype R²: 0.0512
Archetype transform grad norm: 0.229434
Archetype transform param norm: 6.7417
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.8084 (range: 0.8084 - 0.8084)
archetypal_loss: 0.8918 (range: 0.8918 - 0.8918)
kld_loss: 0.0584 (range: 0.0584 - 0.0584)
reconstruction_loss: 0.8918 (range: 0.8918 - 0.8918)
archetype_r2: 0.0512 (range: 0.0512 - 0.0512)
Archetype Transform Summary:
archetype_transform_mean: 0.002468 (range: 0.002468 - 0.002468)
archetype_transform_std: 0.094380 (range: 0.094380 - 0.094380)
archetype_transform_norm: 6.741724 (range: 6.741724 - 6.741724)
archetype_transform_grad_norm: 0.229434 (range: 0.229434 - 0.229434)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0492, max=0.7179, mean=0.3333
Batch reconstruction MSE: 0.9306
Archetype stats: min=-11.0142, max=7.3941
Archetype change since last debug: 0.242949
Archetype gradients: norm=0.049260, mean=0.002467
Epoch 1/1
Average loss: 0.8094
Archetypal loss: 0.8925
KLD loss: 0.0612
Reconstruction loss: 0.8925
Archetype R²: 0.0504
Archetype transform grad norm: 0.232001
Archetype transform param norm: 6.7381
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.8094 (range: 0.8094 - 0.8094)
archetypal_loss: 0.8925 (range: 0.8925 - 0.8925)
kld_loss: 0.0612 (range: 0.0612 - 0.0612)
reconstruction_loss: 0.8925 (range: 0.8925 - 0.8925)
archetype_r2: 0.0504 (range: 0.0504 - 0.0504)
Archetype Transform Summary:
archetype_transform_mean: 0.002454 (range: 0.002454 - 0.002454)
archetype_transform_std: 0.094329 (range: 0.094329 - 0.094329)
archetype_transform_norm: 6.738079 (range: 6.738079 - 6.738079)
archetype_transform_grad_norm: 0.232001 (range: 0.232001 - 0.232001)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0603, max=0.6958, mean=0.3333
Batch reconstruction MSE: 0.9554
Archetype stats: min=-10.8805, max=7.3668
Archetype change since last debug: 0.336304
Archetype gradients: norm=0.032785, mean=0.002320
Epoch 1/1
Average loss: 0.8097
Archetypal loss: 0.8928
KLD loss: 0.0616
Reconstruction loss: 0.8928
Archetype R²: 0.0500
Archetype transform grad norm: 0.240279
Archetype transform param norm: 6.7230
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.8097 (range: 0.8097 - 0.8097)
archetypal_loss: 0.8928 (range: 0.8928 - 0.8928)
kld_loss: 0.0616 (range: 0.0616 - 0.0616)
reconstruction_loss: 0.8928 (range: 0.8928 - 0.8928)
archetype_r2: 0.0500 (range: 0.0500 - 0.0500)
Archetype Transform Summary:
archetype_transform_mean: 0.002410 (range: 0.002410 - 0.002410)
archetype_transform_std: 0.094120 (range: 0.094120 - 0.094120)
archetype_transform_norm: 6.723035 (range: 6.723035 - 6.723035)
archetype_transform_grad_norm: 0.240279 (range: 0.240279 - 0.240279)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0497, max=0.6641, mean=0.3333
Batch reconstruction MSE: 0.9285
Archetype stats: min=-10.6971, max=7.1967
Archetype change since last debug: 0.516254
Archetype gradients: norm=0.061823, mean=0.002836
Epoch 1/1
Average loss: 0.8090
Archetypal loss: 0.8921
KLD loss: 0.0616
Reconstruction loss: 0.8921
Archetype R²: 0.0508
Archetype transform grad norm: 0.237705
Archetype transform param norm: 6.7174
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.8090 (range: 0.8090 - 0.8090)
archetypal_loss: 0.8921 (range: 0.8921 - 0.8921)
kld_loss: 0.0616 (range: 0.0616 - 0.0616)
reconstruction_loss: 0.8921 (range: 0.8921 - 0.8921)
archetype_r2: 0.0508 (range: 0.0508 - 0.0508)
Archetype Transform Summary:
archetype_transform_mean: 0.002386 (range: 0.002386 - 0.002386)
archetype_transform_std: 0.094042 (range: 0.094042 - 0.094042)
archetype_transform_norm: 6.717417 (range: 6.717417 - 6.717417)
archetype_transform_grad_norm: 0.237705 (range: 0.237705 - 0.237705)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0663, max=0.7279, mean=0.3333
Batch reconstruction MSE: 0.9381
Archetype stats: min=-10.5559, max=7.1776
Archetype change since last debug: 0.407915
Archetype gradients: norm=0.024932, mean=0.001777
Epoch 1/1
Average loss: 0.8085
Archetypal loss: 0.8918
KLD loss: 0.0593
Reconstruction loss: 0.8918
Archetype R²: 0.0511
Archetype transform grad norm: 0.233537
Archetype transform param norm: 6.7219
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.8085 (range: 0.8085 - 0.8085)
archetypal_loss: 0.8918 (range: 0.8918 - 0.8918)
kld_loss: 0.0593 (range: 0.0593 - 0.0593)
reconstruction_loss: 0.8918 (range: 0.8918 - 0.8918)
archetype_r2: 0.0511 (range: 0.0511 - 0.0511)
Archetype Transform Summary:
archetype_transform_mean: 0.002396 (range: 0.002396 - 0.002396)
archetype_transform_std: 0.094104 (range: 0.094104 - 0.094104)
archetype_transform_norm: 6.721918 (range: 6.721918 - 6.721918)
archetype_transform_grad_norm: 0.233537 (range: 0.233537 - 0.233537)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0468, max=0.6952, mean=0.3333
Batch reconstruction MSE: 0.9169
Archetype stats: min=-10.7219, max=7.1671
Archetype change since last debug: 0.373986
Archetype gradients: norm=0.041971, mean=0.002044
Epoch 1/1
Average loss: 0.8082
Archetypal loss: 0.8913
KLD loss: 0.0602
Reconstruction loss: 0.8913
Archetype R²: 0.0517
Archetype transform grad norm: 0.226130
Archetype transform param norm: 6.7311
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.8082 (range: 0.8082 - 0.8082)
archetypal_loss: 0.8913 (range: 0.8913 - 0.8913)
kld_loss: 0.0602 (range: 0.0602 - 0.0602)
reconstruction_loss: 0.8913 (range: 0.8913 - 0.8913)
archetype_r2: 0.0517 (range: 0.0517 - 0.0517)
Archetype Transform Summary:
archetype_transform_mean: 0.002412 (range: 0.002412 - 0.002412)
archetype_transform_std: 0.094233 (range: 0.094233 - 0.094233)
archetype_transform_norm: 6.731123 (range: 6.731123 - 6.731123)
archetype_transform_grad_norm: 0.226130 (range: 0.226130 - 0.226130)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0690, max=0.8164, mean=0.3333
Batch reconstruction MSE: 0.9247
Archetype stats: min=-10.7995, max=7.2751
Archetype change since last debug: 0.380187
Archetype gradients: norm=0.022578, mean=0.001623
Epoch 1/1
Average loss: 0.8082
Archetypal loss: 0.8915
KLD loss: 0.0583
Reconstruction loss: 0.8915
Archetype R²: 0.0514
Archetype transform grad norm: 0.235271
Archetype transform param norm: 6.7415
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.8082 (range: 0.8082 - 0.8082)
archetypal_loss: 0.8915 (range: 0.8915 - 0.8915)
kld_loss: 0.0583 (range: 0.0583 - 0.0583)
reconstruction_loss: 0.8915 (range: 0.8915 - 0.8915)
archetype_r2: 0.0514 (range: 0.0514 - 0.0514)
Archetype Transform Summary:
archetype_transform_mean: 0.002448 (range: 0.002448 - 0.002448)
archetype_transform_std: 0.094377 (range: 0.094377 - 0.094377)
archetype_transform_norm: 6.741459 (range: 6.741459 - 6.741459)
archetype_transform_grad_norm: 0.235271 (range: 0.235271 - 0.235271)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0527, max=0.6474, mean=0.3333
Batch reconstruction MSE: 0.9180
Archetype stats: min=-10.9473, max=7.2210
Archetype change since last debug: 0.317502
Archetype gradients: norm=0.043466, mean=0.002100
Epoch 1/1
Average loss: 0.8081
Archetypal loss: 0.8913
KLD loss: 0.0591
Reconstruction loss: 0.8913
Archetype R²: 0.0516
Archetype transform grad norm: 0.230556
Archetype transform param norm: 6.7474
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.8081 (range: 0.8081 - 0.8081)
archetypal_loss: 0.8913 (range: 0.8913 - 0.8913)
kld_loss: 0.0591 (range: 0.0591 - 0.0591)
reconstruction_loss: 0.8913 (range: 0.8913 - 0.8913)
archetype_r2: 0.0516 (range: 0.0516 - 0.0516)
Archetype Transform Summary:
archetype_transform_mean: 0.002449 (range: 0.002449 - 0.002449)
archetype_transform_std: 0.094460 (range: 0.094460 - 0.094460)
archetype_transform_norm: 6.747380 (range: 6.747380 - 6.747380)
archetype_transform_grad_norm: 0.230556 (range: 0.230556 - 0.230556)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0690, max=0.7861, mean=0.3333
Batch reconstruction MSE: 0.9307
Archetype stats: min=-10.9786, max=7.3026
Archetype change since last debug: 0.267707
Archetype gradients: norm=0.026181, mean=0.001853
Epoch 1/1
Average loss: 0.8082
Archetypal loss: 0.8916
KLD loss: 0.0578
Reconstruction loss: 0.8916
Archetype R²: 0.0513
Archetype transform grad norm: 0.231960
Archetype transform param norm: 6.7525
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.8082 (range: 0.8082 - 0.8082)
archetypal_loss: 0.8916 (range: 0.8916 - 0.8916)
kld_loss: 0.0578 (range: 0.0578 - 0.0578)
reconstruction_loss: 0.8916 (range: 0.8916 - 0.8916)
archetype_r2: 0.0513 (range: 0.0513 - 0.0513)
Archetype Transform Summary:
archetype_transform_mean: 0.002465 (range: 0.002465 - 0.002465)
archetype_transform_std: 0.094531 (range: 0.094531 - 0.094531)
archetype_transform_norm: 6.752468 (range: 6.752468 - 6.752468)
archetype_transform_grad_norm: 0.231960 (range: 0.231960 - 0.231960)
Fold 3/3
Model input_dim: 50 (auto-detected from data)
Archetypes parameter registered: True
Archetypes requires_grad: True
Deep_AA (Deep Archetypal Analysis) initialized:
- Single-stage architecture (like Deep_2)
- Inflation factor: 1.5
- Direct archetypal coordinates (no bottleneck)
Consolidated Archetype Initialization
PCHA: True, Inflation: True (factor: 1.5)
Test inflation: False
Running PCHA initialization...
Input shape: (128, 50)
Target archetypes: 3
Running PCHA with 3 archetypes...
Data shape for PCHA: (50, 128)
PCHA Results:
Archetypes shape: (3, 50)
Archetype R²: 0.2003
SSE: 5664.1298
PCHA archetype R²: 0.2003
Archetype shape: (3, 50)
[OK] Initialized 3 archetypes using PCHA
Scalar Archetypal Inflation (factor: 1.50)
[OK] Inflation complete
[STATS] Positioning verification:
Data radius (max): 24.766
Data radius (mean): 6.597
Archetype distances: 5.686 to 32.409
Archetypes outside data: 1/3
Min archetype separation: 25.796
[OK] Archetype initialization complete (success: True)
[OK] Archetype initialization complete (PCHA: True, Inflation: 1.5)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0015, max=0.9775, mean=0.3333
Batch reconstruction MSE: 1.1249
Archetype stats: min=-2.6876, max=2.2289
Archetype gradients: norm=0.027713, mean=0.001660
Epoch 1/1
Average loss: 0.9030
Archetypal loss: 0.9937
KLD loss: 0.0871
Reconstruction loss: 0.9937
Archetype R²: -0.0209
Archetype transform grad norm: 0.401134
Archetype transform param norm: 5.8449
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.9030 (range: 0.9030 - 0.9030)
archetypal_loss: 0.9937 (range: 0.9937 - 0.9937)
kld_loss: 0.0871 (range: 0.0871 - 0.0871)
reconstruction_loss: 0.9937 (range: 0.9937 - 0.9937)
archetype_r2: -0.0209 (range: -0.0209 - -0.0209)
Archetype Transform Summary:
archetype_transform_mean: -0.000571 (range: -0.000571 - -0.000571)
archetype_transform_std: 0.081851 (range: 0.081851 - 0.081851)
archetype_transform_norm: 5.844944 (range: 5.844944 - 5.844944)
archetype_transform_grad_norm: 0.401134 (range: 0.401134 - 0.401134)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0045, max=0.9693, mean=0.3333
Batch reconstruction MSE: 0.8779
Archetype stats: min=-1.3521, max=1.2184
Archetype change since last debug: 6.332064
Archetype gradients: norm=0.005129, mean=0.000312
Epoch 1/1
Average loss: 0.8736
Archetypal loss: 0.9620
KLD loss: 0.0780
Reconstruction loss: 0.9620
Archetype R²: 0.0117
Archetype transform grad norm: 0.260539
Archetype transform param norm: 5.8683
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.8736 (range: 0.8736 - 0.8736)
archetypal_loss: 0.9620 (range: 0.9620 - 0.9620)
kld_loss: 0.0780 (range: 0.0780 - 0.0780)
reconstruction_loss: 0.9620 (range: 0.9620 - 0.9620)
archetype_r2: 0.0117 (range: 0.0117 - 0.0117)
Archetype Transform Summary:
archetype_transform_mean: -0.000563 (range: -0.000563 - -0.000563)
archetype_transform_std: 0.082179 (range: 0.082179 - 0.082179)
archetype_transform_norm: 5.868297 (range: 5.868297 - 5.868297)
archetype_transform_grad_norm: 0.260539 (range: 0.260539 - 0.260539)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0025, max=0.9847, mean=0.3333
Batch reconstruction MSE: 0.9118
Archetype stats: min=-2.0572, max=1.7306
Archetype change since last debug: 3.195292
Archetype gradients: norm=0.008951, mean=0.000584
Epoch 1/1
Average loss: 0.8644
Archetypal loss: 0.9496
KLD loss: 0.0974
Reconstruction loss: 0.9496
Archetype R²: 0.0244
Archetype transform grad norm: 0.282494
Archetype transform param norm: 5.9610
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.8644 (range: 0.8644 - 0.8644)
archetypal_loss: 0.9496 (range: 0.9496 - 0.9496)
kld_loss: 0.0974 (range: 0.0974 - 0.0974)
reconstruction_loss: 0.9496 (range: 0.9496 - 0.9496)
archetype_r2: 0.0244 (range: 0.0244 - 0.0244)
Archetype Transform Summary:
archetype_transform_mean: -0.000216 (range: -0.000216 - -0.000216)
archetype_transform_std: 0.083479 (range: 0.083479 - 0.083479)
archetype_transform_norm: 5.961043 (range: 5.961043 - 5.961043)
archetype_transform_grad_norm: 0.282494 (range: 0.282494 - 0.282494)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0031, max=0.9857, mean=0.3333
Batch reconstruction MSE: 0.9883
Archetype stats: min=-2.3715, max=3.3640
Archetype change since last debug: 4.380436
Archetype gradients: norm=0.022254, mean=0.001383
Epoch 1/1
Average loss: 0.8575
Archetypal loss: 0.9420
KLD loss: 0.0970
Reconstruction loss: 0.9420
Archetype R²: 0.0320
Archetype transform grad norm: 0.298279
Archetype transform param norm: 6.0681
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.8575 (range: 0.8575 - 0.8575)
archetypal_loss: 0.9420 (range: 0.9420 - 0.9420)
kld_loss: 0.0970 (range: 0.0970 - 0.0970)
reconstruction_loss: 0.9420 (range: 0.9420 - 0.9420)
archetype_r2: 0.0320 (range: 0.0320 - 0.0320)
Archetype Transform Summary:
archetype_transform_mean: 0.000059 (range: 0.000059 - 0.000059)
archetype_transform_std: 0.084979 (range: 0.084979 - 0.084979)
archetype_transform_norm: 6.068130 (range: 6.068130 - 6.068130)
archetype_transform_grad_norm: 0.298279 (range: 0.298279 - 0.298279)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0044, max=0.9796, mean=0.3333
Batch reconstruction MSE: 1.0509
Archetype stats: min=-2.9649, max=4.8108
Archetype change since last debug: 3.457071
Archetype gradients: norm=0.035529, mean=0.002103
Epoch 1/1
Average loss: 0.8538
Archetypal loss: 0.9386
KLD loss: 0.0910
Reconstruction loss: 0.9386
Archetype R²: 0.0353
Archetype transform grad norm: 0.308817
Archetype transform param norm: 6.1317
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.8538 (range: 0.8538 - 0.8538)
archetypal_loss: 0.9386 (range: 0.9386 - 0.9386)
kld_loss: 0.0910 (range: 0.0910 - 0.0910)
reconstruction_loss: 0.9386 (range: 0.9386 - 0.9386)
archetype_r2: 0.0353 (range: 0.0353 - 0.0353)
Archetype Transform Summary:
archetype_transform_mean: 0.000157 (range: 0.000157 - 0.000157)
archetype_transform_std: 0.085870 (range: 0.085870 - 0.085870)
archetype_transform_norm: 6.131737 (range: 6.131737 - 6.131737)
archetype_transform_grad_norm: 0.308817 (range: 0.308817 - 0.308817)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0060, max=0.9728, mean=0.3333
Batch reconstruction MSE: 1.0734
Archetype stats: min=-3.4969, max=5.8323
Archetype change since last debug: 2.359943
Archetype gradients: norm=0.039657, mean=0.002357
Epoch 1/1
Average loss: 0.8513
Archetypal loss: 0.9363
KLD loss: 0.0870
Reconstruction loss: 0.9363
Archetype R²: 0.0377
Archetype transform grad norm: 0.312546
Archetype transform param norm: 6.1697
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.8513 (range: 0.8513 - 0.8513)
archetypal_loss: 0.9363 (range: 0.9363 - 0.9363)
kld_loss: 0.0870 (range: 0.0870 - 0.0870)
reconstruction_loss: 0.9363 (range: 0.9363 - 0.9363)
archetype_r2: 0.0377 (range: 0.0377 - 0.0377)
Archetype Transform Summary:
archetype_transform_mean: 0.000184 (range: 0.000184 - 0.000184)
archetype_transform_std: 0.086401 (range: 0.086401 - 0.086401)
archetype_transform_norm: 6.169689 (range: 6.169689 - 6.169689)
archetype_transform_grad_norm: 0.312546 (range: 0.312546 - 0.312546)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0068, max=0.9653, mean=0.3333
Batch reconstruction MSE: 1.0807
Archetype stats: min=-3.8509, max=6.5171
Archetype change since last debug: 1.763351
Archetype gradients: norm=0.040600, mean=0.002429
Epoch 1/1
Average loss: 0.8496
Archetypal loss: 0.9347
KLD loss: 0.0839
Reconstruction loss: 0.9347
Archetype R²: 0.0392
Archetype transform grad norm: 0.314023
Archetype transform param norm: 6.1967
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.8496 (range: 0.8496 - 0.8496)
archetypal_loss: 0.9347 (range: 0.9347 - 0.9347)
kld_loss: 0.0839 (range: 0.0839 - 0.0839)
reconstruction_loss: 0.9347 (range: 0.9347 - 0.9347)
archetype_r2: 0.0392 (range: 0.0392 - 0.0392)
Archetype Transform Summary:
archetype_transform_mean: 0.000195 (range: 0.000195 - 0.000195)
archetype_transform_std: 0.086779 (range: 0.086779 - 0.086779)
archetype_transform_norm: 6.196696 (range: 6.196696 - 6.196696)
archetype_transform_grad_norm: 0.314023 (range: 0.314023 - 0.314023)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0075, max=0.9575, mean=0.3333
Batch reconstruction MSE: 1.0779
Archetype stats: min=-4.0837, max=6.9582
Archetype change since last debug: 1.339405
Archetype gradients: norm=0.040671, mean=0.002433
Epoch 1/1
Average loss: 0.8485
Archetypal loss: 0.9337
KLD loss: 0.0814
Reconstruction loss: 0.9337
Archetype R²: 0.0403
Archetype transform grad norm: 0.314750
Archetype transform param norm: 6.2172
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.8485 (range: 0.8485 - 0.8485)
archetypal_loss: 0.9337 (range: 0.9337 - 0.9337)
kld_loss: 0.0814 (range: 0.0814 - 0.0814)
reconstruction_loss: 0.9337 (range: 0.9337 - 0.9337)
archetype_r2: 0.0403 (range: 0.0403 - 0.0403)
Archetype Transform Summary:
archetype_transform_mean: 0.000199 (range: 0.000199 - 0.000199)
archetype_transform_std: 0.087067 (range: 0.087067 - 0.087067)
archetype_transform_norm: 6.217247 (range: 6.217247 - 6.217247)
archetype_transform_grad_norm: 0.314750 (range: 0.314750 - 0.314750)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0083, max=0.9488, mean=0.3333
Batch reconstruction MSE: 1.0688
Archetype stats: min=-4.2646, max=7.2905
Archetype change since last debug: 1.053318
Archetype gradients: norm=0.038845, mean=0.002345
Epoch 1/1
Average loss: 0.8474
Archetypal loss: 0.9327
KLD loss: 0.0796
Reconstruction loss: 0.9327
Archetype R²: 0.0413
Archetype transform grad norm: 0.313704
Archetype transform param norm: 6.2337
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.8474 (range: 0.8474 - 0.8474)
archetypal_loss: 0.9327 (range: 0.9327 - 0.9327)
kld_loss: 0.0796 (range: 0.0796 - 0.0796)
reconstruction_loss: 0.9327 (range: 0.9327 - 0.9327)
archetype_r2: 0.0413 (range: 0.0413 - 0.0413)
Archetype Transform Summary:
archetype_transform_mean: 0.000196 (range: 0.000196 - 0.000196)
archetype_transform_std: 0.087298 (range: 0.087298 - 0.087298)
archetype_transform_norm: 6.233723 (range: 6.233723 - 6.233723)
archetype_transform_grad_norm: 0.313704 (range: 0.313704 - 0.313704)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0091, max=0.9388, mean=0.3333
Batch reconstruction MSE: 1.0565
Archetype stats: min=-4.4064, max=7.5349
Archetype change since last debug: 0.869539
Archetype gradients: norm=0.038458, mean=0.002301
Epoch 1/1
Average loss: 0.8467
Archetypal loss: 0.9322
KLD loss: 0.0775
Reconstruction loss: 0.9322
Archetype R²: 0.0419
Archetype transform grad norm: 0.313171
Archetype transform param norm: 6.2489
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.8467 (range: 0.8467 - 0.8467)
archetypal_loss: 0.9322 (range: 0.9322 - 0.9322)
kld_loss: 0.0775 (range: 0.0775 - 0.0775)
reconstruction_loss: 0.9322 (range: 0.9322 - 0.9322)
archetype_r2: 0.0419 (range: 0.0419 - 0.0419)
Archetype Transform Summary:
archetype_transform_mean: 0.000200 (range: 0.000200 - 0.000200)
archetype_transform_std: 0.087510 (range: 0.087510 - 0.087510)
archetype_transform_norm: 6.248878 (range: 6.248878 - 6.248878)
archetype_transform_grad_norm: 0.313171 (range: 0.313171 - 0.313171)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0099, max=0.9215, mean=0.3333
Batch reconstruction MSE: 1.0426
Archetype stats: min=-4.5011, max=7.7166
Archetype change since last debug: 0.745347
Archetype gradients: norm=0.035780, mean=0.002167
Epoch 1/1
Average loss: 0.8458
Archetypal loss: 0.9313
KLD loss: 0.0756
Reconstruction loss: 0.9313
Archetype R²: 0.0428
Archetype transform grad norm: 0.313666
Archetype transform param norm: 6.2637
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.8458 (range: 0.8458 - 0.8458)
archetypal_loss: 0.9313 (range: 0.9313 - 0.9313)
kld_loss: 0.0756 (range: 0.0756 - 0.0756)
reconstruction_loss: 0.9313 (range: 0.9313 - 0.9313)
archetype_r2: 0.0428 (range: 0.0428 - 0.0428)
Archetype Transform Summary:
archetype_transform_mean: 0.000202 (range: 0.000202 - 0.000202)
archetype_transform_std: 0.087718 (range: 0.087718 - 0.087718)
archetype_transform_norm: 6.263735 (range: 6.263735 - 6.263735)
archetype_transform_grad_norm: 0.313666 (range: 0.313666 - 0.313666)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0109, max=0.9058, mean=0.3333
Batch reconstruction MSE: 1.0282
Archetype stats: min=-4.6365, max=7.9349
Archetype change since last debug: 0.699860
Archetype gradients: norm=0.034892, mean=0.002083
Epoch 1/1
Average loss: 0.8450
Archetypal loss: 0.9307
KLD loss: 0.0739
Reconstruction loss: 0.9307
Archetype R²: 0.0436
Archetype transform grad norm: 0.313045
Archetype transform param norm: 6.2788
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.8450 (range: 0.8450 - 0.8450)
archetypal_loss: 0.9307 (range: 0.9307 - 0.9307)
kld_loss: 0.0739 (range: 0.0739 - 0.0739)
reconstruction_loss: 0.9307 (range: 0.9307 - 0.9307)
archetype_r2: 0.0436 (range: 0.0436 - 0.0436)
Archetype Transform Summary:
archetype_transform_mean: 0.000204 (range: 0.000204 - 0.000204)
archetype_transform_std: 0.087929 (range: 0.087929 - 0.087929)
archetype_transform_norm: 6.278766 (range: 6.278766 - 6.278766)
archetype_transform_grad_norm: 0.313045 (range: 0.313045 - 0.313045)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0120, max=0.8822, mean=0.3333
Batch reconstruction MSE: 1.0136
Archetype stats: min=-4.7664, max=8.1489
Archetype change since last debug: 0.679054
Archetype gradients: norm=0.031826, mean=0.001930
Epoch 1/1
Average loss: 0.8446
Archetypal loss: 0.9304
KLD loss: 0.0728
Reconstruction loss: 0.9304
Archetype R²: 0.0439
Archetype transform grad norm: 0.314431
Archetype transform param norm: 6.2934
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.8446 (range: 0.8446 - 0.8446)
archetypal_loss: 0.9304 (range: 0.9304 - 0.9304)
kld_loss: 0.0728 (range: 0.0728 - 0.0728)
reconstruction_loss: 0.9304 (range: 0.9304 - 0.9304)
archetype_r2: 0.0439 (range: 0.0439 - 0.0439)
Archetype Transform Summary:
archetype_transform_mean: 0.000203 (range: 0.000203 - 0.000203)
archetype_transform_std: 0.088133 (range: 0.088133 - 0.088133)
archetype_transform_norm: 6.293380 (range: 6.293380 - 6.293380)
archetype_transform_grad_norm: 0.314431 (range: 0.314431 - 0.314431)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0128, max=0.8539, mean=0.3333
Batch reconstruction MSE: 0.9956
Archetype stats: min=-4.8458, max=8.2980
Archetype change since last debug: 0.578292
Archetype gradients: norm=0.029865, mean=0.001791
Epoch 1/1
Average loss: 0.8437
Archetypal loss: 0.9296
KLD loss: 0.0714
Reconstruction loss: 0.9296
Archetype R²: 0.0448
Archetype transform grad norm: 0.312116
Archetype transform param norm: 6.3080
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.8437 (range: 0.8437 - 0.8437)
archetypal_loss: 0.9296 (range: 0.9296 - 0.9296)
kld_loss: 0.0714 (range: 0.0714 - 0.0714)
reconstruction_loss: 0.9296 (range: 0.9296 - 0.9296)
archetype_r2: 0.0448 (range: 0.0448 - 0.0448)
Archetype Transform Summary:
archetype_transform_mean: 0.000208 (range: 0.000208 - 0.000208)
archetype_transform_std: 0.088338 (range: 0.088338 - 0.088338)
archetype_transform_norm: 6.308020 (range: 6.308020 - 6.308020)
archetype_transform_grad_norm: 0.312116 (range: 0.312116 - 0.312116)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0112, max=0.7956, mean=0.3333
Batch reconstruction MSE: 0.9812
Archetype stats: min=-4.9723, max=8.5077
Archetype change since last debug: 0.657688
Archetype gradients: norm=0.028681, mean=0.001706
Epoch 1/1
Average loss: 0.8431
Archetypal loss: 0.9290
KLD loss: 0.0700
Reconstruction loss: 0.9290
Archetype R²: 0.0454
Archetype transform grad norm: 0.312050
Archetype transform param norm: 6.3240
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.8431 (range: 0.8431 - 0.8431)
archetypal_loss: 0.9290 (range: 0.9290 - 0.9290)
kld_loss: 0.0700 (range: 0.0700 - 0.0700)
reconstruction_loss: 0.9290 (range: 0.9290 - 0.9290)
archetype_r2: 0.0454 (range: 0.0454 - 0.0454)
Archetype Transform Summary:
archetype_transform_mean: 0.000209 (range: 0.000209 - 0.000209)
archetype_transform_std: 0.088562 (range: 0.088562 - 0.088562)
archetype_transform_norm: 6.323962 (range: 6.323962 - 6.323962)
archetype_transform_grad_norm: 0.312050 (range: 0.312050 - 0.312050)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0127, max=0.7500, mean=0.3333
Batch reconstruction MSE: 0.9690
Archetype stats: min=-5.1037, max=8.7304
Archetype change since last debug: 0.676974
Archetype gradients: norm=0.027933, mean=0.001624
Epoch 1/1
Average loss: 0.8427
Archetypal loss: 0.9286
KLD loss: 0.0690
Reconstruction loss: 0.9286
Archetype R²: 0.0458
Archetype transform grad norm: 0.314392
Archetype transform param norm: 6.3395
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.8427 (range: 0.8427 - 0.8427)
archetypal_loss: 0.9286 (range: 0.9286 - 0.9286)
kld_loss: 0.0690 (range: 0.0690 - 0.0690)
reconstruction_loss: 0.9286 (range: 0.9286 - 0.9286)
archetype_r2: 0.0458 (range: 0.0458 - 0.0458)
Archetype Transform Summary:
archetype_transform_mean: 0.000208 (range: 0.000208 - 0.000208)
archetype_transform_std: 0.088780 (range: 0.088780 - 0.088780)
archetype_transform_norm: 6.339532 (range: 6.339532 - 6.339532)
archetype_transform_grad_norm: 0.314392 (range: 0.314392 - 0.314392)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0120, max=0.7105, mean=0.3333
Batch reconstruction MSE: 0.9642
Archetype stats: min=-5.2112, max=8.9295
Archetype change since last debug: 0.616110
Archetype gradients: norm=0.024869, mean=0.001515
Epoch 1/1
Average loss: 0.8427
Archetypal loss: 0.9287
KLD loss: 0.0687
Reconstruction loss: 0.9287
Archetype R²: 0.0458
Archetype transform grad norm: 0.314686
Archetype transform param norm: 6.3523
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.8427 (range: 0.8427 - 0.8427)
archetypal_loss: 0.9287 (range: 0.9287 - 0.9287)
kld_loss: 0.0687 (range: 0.0687 - 0.0687)
reconstruction_loss: 0.9287 (range: 0.9287 - 0.9287)
archetype_r2: 0.0458 (range: 0.0458 - 0.0458)
Archetype Transform Summary:
archetype_transform_mean: 0.000203 (range: 0.000203 - 0.000203)
archetype_transform_std: 0.088958 (range: 0.088958 - 0.088958)
archetype_transform_norm: 6.352281 (range: 6.352281 - 6.352281)
archetype_transform_grad_norm: 0.314686 (range: 0.314686 - 0.314686)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0146, max=0.7080, mean=0.3333
Batch reconstruction MSE: 0.9573
Archetype stats: min=-5.2701, max=9.0409
Archetype change since last debug: 0.543199
Archetype gradients: norm=0.026767, mean=0.001530
Epoch 1/1
Average loss: 0.8425
Archetypal loss: 0.9284
KLD loss: 0.0686
Reconstruction loss: 0.9284
Archetype R²: 0.0461
Archetype transform grad norm: 0.316880
Archetype transform param norm: 6.3623
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.8425 (range: 0.8425 - 0.8425)
archetypal_loss: 0.9284 (range: 0.9284 - 0.9284)
kld_loss: 0.0686 (range: 0.0686 - 0.0686)
reconstruction_loss: 0.9284 (range: 0.9284 - 0.9284)
archetype_r2: 0.0461 (range: 0.0461 - 0.0461)
Archetype Transform Summary:
archetype_transform_mean: 0.000202 (range: 0.000202 - 0.000202)
archetype_transform_std: 0.089099 (range: 0.089099 - 0.089099)
archetype_transform_norm: 6.362327 (range: 6.362327 - 6.362327)
archetype_transform_grad_norm: 0.316880 (range: 0.316880 - 0.316880)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0129, max=0.6974, mean=0.3333
Batch reconstruction MSE: 0.9619
Archetype stats: min=-5.3280, max=9.1605
Archetype change since last debug: 0.432960
Archetype gradients: norm=0.023953, mean=0.001474
Epoch 1/1
Average loss: 0.8424
Archetypal loss: 0.9283
KLD loss: 0.0689
Reconstruction loss: 0.9283
Archetype R²: 0.0462
Archetype transform grad norm: 0.312538
Archetype transform param norm: 6.3698
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.8424 (range: 0.8424 - 0.8424)
archetypal_loss: 0.9283 (range: 0.9283 - 0.9283)
kld_loss: 0.0689 (range: 0.0689 - 0.0689)
reconstruction_loss: 0.9283 (range: 0.9283 - 0.9283)
archetype_r2: 0.0462 (range: 0.0462 - 0.0462)
Archetype Transform Summary:
archetype_transform_mean: 0.000189 (range: 0.000189 - 0.000189)
archetype_transform_std: 0.089204 (range: 0.089204 - 0.089204)
archetype_transform_norm: 6.369845 (range: 6.369845 - 6.369845)
archetype_transform_grad_norm: 0.312538 (range: 0.312538 - 0.312538)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0142, max=0.6516, mean=0.3333
Batch reconstruction MSE: 0.9559
Archetype stats: min=-5.3683, max=9.2386
Archetype change since last debug: 0.475751
Archetype gradients: norm=0.030628, mean=0.001647
Epoch 1/1
Average loss: 0.8417
Archetypal loss: 0.9277
KLD loss: 0.0678
Reconstruction loss: 0.9277
Archetype R²: 0.0468
Archetype transform grad norm: 0.310430
Archetype transform param norm: 6.3798
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.8417 (range: 0.8417 - 0.8417)
archetypal_loss: 0.9277 (range: 0.9277 - 0.9277)
kld_loss: 0.0678 (range: 0.0678 - 0.0678)
reconstruction_loss: 0.9277 (range: 0.9277 - 0.9277)
archetype_r2: 0.0468 (range: 0.0468 - 0.0468)
Archetype Transform Summary:
archetype_transform_mean: 0.000174 (range: 0.000174 - 0.000174)
archetype_transform_std: 0.089343 (range: 0.089343 - 0.089343)
archetype_transform_norm: 6.379785 (range: 6.379785 - 6.379785)
archetype_transform_grad_norm: 0.310430 (range: 0.310430 - 0.310430)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0145, max=0.7098, mean=0.3333
Batch reconstruction MSE: 0.9415
Archetype stats: min=-5.4662, max=9.4292
Archetype change since last debug: 0.531514
Archetype gradients: norm=0.015137, mean=0.001024
Epoch 1/1
Average loss: 0.8413
Archetypal loss: 0.9273
KLD loss: 0.0669
Reconstruction loss: 0.9273
Archetype R²: 0.0472
Archetype transform grad norm: 0.315794
Archetype transform param norm: 6.3934
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.8413 (range: 0.8413 - 0.8413)
archetypal_loss: 0.9273 (range: 0.9273 - 0.9273)
kld_loss: 0.0669 (range: 0.0669 - 0.0669)
reconstruction_loss: 0.9273 (range: 0.9273 - 0.9273)
archetype_r2: 0.0472 (range: 0.0472 - 0.0472)
Archetype Transform Summary:
archetype_transform_mean: 0.000164 (range: 0.000164 - 0.000164)
archetype_transform_std: 0.089534 (range: 0.089534 - 0.089534)
archetype_transform_norm: 6.393366 (range: 6.393366 - 6.393366)
archetype_transform_grad_norm: 0.315794 (range: 0.315794 - 0.315794)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0129, max=0.6542, mean=0.3333
Batch reconstruction MSE: 0.9421
Archetype stats: min=-5.5513, max=9.5832
Archetype change since last debug: 0.541454
Archetype gradients: norm=0.036393, mean=0.001790
Epoch 1/1
Average loss: 0.8413
Archetypal loss: 0.9274
KLD loss: 0.0661
Reconstruction loss: 0.9274
Archetype R²: 0.0471
Archetype transform grad norm: 0.311531
Archetype transform param norm: 6.4033
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.8413 (range: 0.8413 - 0.8413)
archetypal_loss: 0.9274 (range: 0.9274 - 0.9274)
kld_loss: 0.0661 (range: 0.0661 - 0.0661)
reconstruction_loss: 0.9274 (range: 0.9274 - 0.9274)
archetype_r2: 0.0471 (range: 0.0471 - 0.0471)
Archetype Transform Summary:
archetype_transform_mean: 0.000149 (range: 0.000149 - 0.000149)
archetype_transform_std: 0.089673 (range: 0.089673 - 0.089673)
archetype_transform_norm: 6.403293 (range: 6.403293 - 6.403293)
archetype_transform_grad_norm: 0.311531 (range: 0.311531 - 0.311531)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0212, max=0.7391, mean=0.3333
Batch reconstruction MSE: 0.9582
Archetype stats: min=-5.6526, max=9.7580
Archetype change since last debug: 0.487242
Archetype gradients: norm=0.014123, mean=0.000831
Epoch 1/1
Average loss: 0.8416
Archetypal loss: 0.9277
KLD loss: 0.0665
Reconstruction loss: 0.9277
Archetype R²: 0.0467
Archetype transform grad norm: 0.322401
Archetype transform param norm: 6.4071
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.8416 (range: 0.8416 - 0.8416)
archetypal_loss: 0.9277 (range: 0.9277 - 0.9277)
kld_loss: 0.0665 (range: 0.0665 - 0.0665)
reconstruction_loss: 0.9277 (range: 0.9277 - 0.9277)
archetype_r2: 0.0467 (range: 0.0467 - 0.0467)
Archetype Transform Summary:
archetype_transform_mean: 0.000129 (range: 0.000129 - 0.000129)
archetype_transform_std: 0.089726 (range: 0.089726 - 0.089726)
archetype_transform_norm: 6.407118 (range: 6.407118 - 6.407118)
archetype_transform_grad_norm: 0.322401 (range: 0.322401 - 0.322401)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0145, max=0.6807, mean=0.3333
Batch reconstruction MSE: 0.9527
Archetype stats: min=-5.6484, max=9.7821
Archetype change since last debug: 0.382542
Archetype gradients: norm=0.051107, mean=0.002362
Epoch 1/1
Average loss: 0.8415
Archetypal loss: 0.9276
KLD loss: 0.0664
Reconstruction loss: 0.9276
Archetype R²: 0.0469
Archetype transform grad norm: 0.317532
Archetype transform param norm: 6.4097
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.8415 (range: 0.8415 - 0.8415)
archetypal_loss: 0.9276 (range: 0.9276 - 0.9276)
kld_loss: 0.0664 (range: 0.0664 - 0.0664)
reconstruction_loss: 0.9276 (range: 0.9276 - 0.9276)
archetype_r2: 0.0469 (range: 0.0469 - 0.0469)
Archetype Transform Summary:
archetype_transform_mean: 0.000097 (range: 0.000097 - 0.000097)
archetype_transform_std: 0.089762 (range: 0.089762 - 0.089762)
archetype_transform_norm: 6.409665 (range: 6.409665 - 6.409665)
archetype_transform_grad_norm: 0.317532 (range: 0.317532 - 0.317532)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0212, max=0.6791, mean=0.3333
Batch reconstruction MSE: 0.9583
Archetype stats: min=-5.7439, max=9.9538
Archetype change since last debug: 0.481310
Archetype gradients: norm=0.016585, mean=0.001119
Epoch 1/1
Average loss: 0.8412
Archetypal loss: 0.9274
KLD loss: 0.0659
Reconstruction loss: 0.9274
Archetype R²: 0.0471
Archetype transform grad norm: 0.319604
Archetype transform param norm: 6.4154
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.8412 (range: 0.8412 - 0.8412)
archetypal_loss: 0.9274 (range: 0.9274 - 0.9274)
kld_loss: 0.0659 (range: 0.0659 - 0.0659)
reconstruction_loss: 0.9274 (range: 0.9274 - 0.9274)
archetype_r2: 0.0471 (range: 0.0471 - 0.0471)
Archetype Transform Summary:
archetype_transform_mean: 0.000075 (range: 0.000075 - 0.000075)
archetype_transform_std: 0.089843 (range: 0.089843 - 0.089843)
archetype_transform_norm: 6.415414 (range: 6.415414 - 6.415414)
archetype_transform_grad_norm: 0.319604 (range: 0.319604 - 0.319604)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0153, max=0.6452, mean=0.3333
Batch reconstruction MSE: 0.9344
Archetype stats: min=-5.7484, max=9.9427
Archetype change since last debug: 0.401226
Archetype gradients: norm=0.043514, mean=0.002013
Epoch 1/1
Average loss: 0.8408
Archetypal loss: 0.9270
KLD loss: 0.0653
Reconstruction loss: 0.9270
Archetype R²: 0.0475
Archetype transform grad norm: 0.316046
Archetype transform param norm: 6.4240
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.8408 (range: 0.8408 - 0.8408)
archetypal_loss: 0.9270 (range: 0.9270 - 0.9270)
kld_loss: 0.0653 (range: 0.0653 - 0.0653)
reconstruction_loss: 0.9270 (range: 0.9270 - 0.9270)
archetype_r2: 0.0475 (range: 0.0475 - 0.0475)
Archetype Transform Summary:
archetype_transform_mean: 0.000042 (range: 0.000042 - 0.000042)
archetype_transform_std: 0.089963 (range: 0.089963 - 0.089963)
archetype_transform_norm: 6.424010 (range: 6.424010 - 6.424010)
archetype_transform_grad_norm: 0.316046 (range: 0.316046 - 0.316046)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0222, max=0.6461, mean=0.3333
Batch reconstruction MSE: 0.9356
Archetype stats: min=-5.8112, max=10.1549
Archetype change since last debug: 0.473588
Archetype gradients: norm=0.012121, mean=0.000711
Epoch 1/1
Average loss: 0.8403
Archetypal loss: 0.9265
KLD loss: 0.0648
Reconstruction loss: 0.9265
Archetype R²: 0.0480
Archetype transform grad norm: 0.314331
Archetype transform param norm: 6.4316
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.8403 (range: 0.8403 - 0.8403)
archetypal_loss: 0.9265 (range: 0.9265 - 0.9265)
kld_loss: 0.0648 (range: 0.0648 - 0.0648)
reconstruction_loss: 0.9265 (range: 0.9265 - 0.9265)
archetype_r2: 0.0480 (range: 0.0480 - 0.0480)
Archetype Transform Summary:
archetype_transform_mean: 0.000031 (range: 0.000031 - 0.000031)
archetype_transform_std: 0.090069 (range: 0.090069 - 0.090069)
archetype_transform_norm: 6.431575 (range: 6.431575 - 6.431575)
archetype_transform_grad_norm: 0.314331 (range: 0.314331 - 0.314331)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0161, max=0.7543, mean=0.3333
Batch reconstruction MSE: 0.9410
Archetype stats: min=-5.8574, max=10.1618
Archetype change since last debug: 0.503309
Archetype gradients: norm=0.034497, mean=0.001759
Epoch 1/1
Average loss: 0.8409
Archetypal loss: 0.9270
KLD loss: 0.0657
Reconstruction loss: 0.9270
Archetype R²: 0.0475
Archetype transform grad norm: 0.315746
Archetype transform param norm: 6.4381
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.8409 (range: 0.8409 - 0.8409)
archetypal_loss: 0.9270 (range: 0.9270 - 0.9270)
kld_loss: 0.0657 (range: 0.0657 - 0.0657)
reconstruction_loss: 0.9270 (range: 0.9270 - 0.9270)
archetype_r2: 0.0475 (range: 0.0475 - 0.0475)
Archetype Transform Summary:
archetype_transform_mean: 0.000018 (range: 0.000018 - 0.000018)
archetype_transform_std: 0.090160 (range: 0.090160 - 0.090160)
archetype_transform_norm: 6.438095 (range: 6.438095 - 6.438095)
archetype_transform_grad_norm: 0.315746 (range: 0.315746 - 0.315746)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0257, max=0.6626, mean=0.3333
Batch reconstruction MSE: 0.9522
Archetype stats: min=-5.9005, max=10.2668
Archetype change since last debug: 0.320020
Archetype gradients: norm=0.014359, mean=0.000781
Epoch 1/1
Average loss: 0.8408
Archetypal loss: 0.9270
KLD loss: 0.0656
Reconstruction loss: 0.9270
Archetype R²: 0.0475
Archetype transform grad norm: 0.317468
Archetype transform param norm: 6.4402
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.8408 (range: 0.8408 - 0.8408)
archetypal_loss: 0.9270 (range: 0.9270 - 0.9270)
kld_loss: 0.0656 (range: 0.0656 - 0.0656)
reconstruction_loss: 0.9270 (range: 0.9270 - 0.9270)
archetype_r2: 0.0475 (range: 0.0475 - 0.0475)
Archetype Transform Summary:
archetype_transform_mean: -0.000007 (range: -0.000007 - -0.000007)
archetype_transform_std: 0.090190 (range: 0.090190 - 0.090190)
archetype_transform_norm: 6.440208 (range: 6.440208 - 6.440208)
archetype_transform_grad_norm: 0.317468 (range: 0.317468 - 0.317468)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0207, max=0.7427, mean=0.3333
Batch reconstruction MSE: 0.9333
Archetype stats: min=-5.8629, max=10.1657
Archetype change since last debug: 0.351250
Archetype gradients: norm=0.027559, mean=0.001522
Epoch 1/1
Average loss: 0.8405
Archetypal loss: 0.9267
KLD loss: 0.0653
Reconstruction loss: 0.9267
Archetype R²: 0.0478
Archetype transform grad norm: 0.319687
Archetype transform param norm: 6.4452
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.8405 (range: 0.8405 - 0.8405)
archetypal_loss: 0.9267 (range: 0.9267 - 0.9267)
kld_loss: 0.0653 (range: 0.0653 - 0.0653)
reconstruction_loss: 0.9267 (range: 0.9267 - 0.9267)
archetype_r2: 0.0478 (range: 0.0478 - 0.0478)
Archetype Transform Summary:
archetype_transform_mean: -0.000020 (range: -0.000020 - -0.000020)
archetype_transform_std: 0.090260 (range: 0.090260 - 0.090260)
archetype_transform_norm: 6.445207 (range: 6.445207 - 6.445207)
archetype_transform_grad_norm: 0.319687 (range: 0.319687 - 0.319687)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0261, max=0.6128, mean=0.3333
Batch reconstruction MSE: 0.9439
Archetype stats: min=-5.9085, max=10.2691
Archetype change since last debug: 0.320780
Archetype gradients: norm=0.023597, mean=0.001369
Epoch 1/1
Average loss: 0.8404
Archetypal loss: 0.9266
KLD loss: 0.0651
Reconstruction loss: 0.9266
Archetype R²: 0.0479
Archetype transform grad norm: 0.318081
Archetype transform param norm: 6.4488
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.8404 (range: 0.8404 - 0.8404)
archetypal_loss: 0.9266 (range: 0.9266 - 0.9266)
kld_loss: 0.0651 (range: 0.0651 - 0.0651)
reconstruction_loss: 0.9266 (range: 0.9266 - 0.9266)
archetype_r2: 0.0479 (range: 0.0479 - 0.0479)
Archetype Transform Summary:
archetype_transform_mean: -0.000042 (range: -0.000042 - -0.000042)
archetype_transform_std: 0.090310 (range: 0.090310 - 0.090310)
archetype_transform_norm: 6.448828 (range: 6.448828 - 6.448828)
archetype_transform_grad_norm: 0.318081 (range: 0.318081 - 0.318081)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0232, max=0.7347, mean=0.3333
Batch reconstruction MSE: 0.9295
Archetype stats: min=-5.9512, max=10.3278
Archetype change since last debug: 0.281763
Archetype gradients: norm=0.016238, mean=0.000976
Epoch 1/1
Average loss: 0.8403
Archetypal loss: 0.9265
KLD loss: 0.0647
Reconstruction loss: 0.9265
Archetype R²: 0.0480
Archetype transform grad norm: 0.321647
Archetype transform param norm: 6.4550
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.8403 (range: 0.8403 - 0.8403)
archetypal_loss: 0.9265 (range: 0.9265 - 0.9265)
kld_loss: 0.0647 (range: 0.0647 - 0.0647)
reconstruction_loss: 0.9265 (range: 0.9265 - 0.9265)
archetype_r2: 0.0480 (range: 0.0480 - 0.0480)
Archetype Transform Summary:
archetype_transform_mean: -0.000050 (range: -0.000050 - -0.000050)
archetype_transform_std: 0.090397 (range: 0.090397 - 0.090397)
archetype_transform_norm: 6.454988 (range: 6.454988 - 6.454988)
archetype_transform_grad_norm: 0.321647 (range: 0.321647 - 0.321647)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0293, max=0.5860, mean=0.3333
Batch reconstruction MSE: 0.9327
Archetype stats: min=-5.9770, max=10.3837
Archetype change since last debug: 0.359076
Archetype gradients: norm=0.033266, mean=0.001841
Epoch 1/1
Average loss: 0.8401
Archetypal loss: 0.9263
KLD loss: 0.0640
Reconstruction loss: 0.9263
Archetype R²: 0.0482
Archetype transform grad norm: 0.318335
Archetype transform param norm: 6.4605
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.8401 (range: 0.8401 - 0.8401)
archetypal_loss: 0.9263 (range: 0.9263 - 0.9263)
kld_loss: 0.0640 (range: 0.0640 - 0.0640)
reconstruction_loss: 0.9263 (range: 0.9263 - 0.9263)
archetype_r2: 0.0482 (range: 0.0482 - 0.0482)
Archetype Transform Summary:
archetype_transform_mean: -0.000069 (range: -0.000069 - -0.000069)
archetype_transform_std: 0.090474 (range: 0.090474 - 0.090474)
archetype_transform_norm: 6.460483 (range: 6.460483 - 6.460483)
archetype_transform_grad_norm: 0.318335 (range: 0.318335 - 0.318335)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0321, max=0.7529, mean=0.3333
Batch reconstruction MSE: 0.9421
Archetype stats: min=-6.0770, max=10.5749
Archetype change since last debug: 0.435342
Archetype gradients: norm=0.014709, mean=0.000747
Epoch 1/1
Average loss: 0.8407
Archetypal loss: 0.9269
KLD loss: 0.0645
Reconstruction loss: 0.9269
Archetype R²: 0.0475
Archetype transform grad norm: 0.331269
Archetype transform param norm: 6.4600
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.8407 (range: 0.8407 - 0.8407)
archetypal_loss: 0.9269 (range: 0.9269 - 0.9269)
kld_loss: 0.0645 (range: 0.0645 - 0.0645)
reconstruction_loss: 0.9269 (range: 0.9269 - 0.9269)
archetype_r2: 0.0475 (range: 0.0475 - 0.0475)
Archetype Transform Summary:
archetype_transform_mean: -0.000089 (range: -0.000089 - -0.000089)
archetype_transform_std: 0.090467 (range: 0.090467 - 0.090467)
archetype_transform_norm: 6.459986 (range: 6.459986 - 6.459986)
archetype_transform_grad_norm: 0.331269 (range: 0.331269 - 0.331269)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0214, max=0.6262, mean=0.3333
Batch reconstruction MSE: 0.9549
Archetype stats: min=-6.0239, max=10.4929
Archetype change since last debug: 0.343567
Archetype gradients: norm=0.045816, mean=0.002458
Epoch 1/1
Average loss: 0.8407
Archetypal loss: 0.9269
KLD loss: 0.0652
Reconstruction loss: 0.9269
Archetype R²: 0.0475
Archetype transform grad norm: 0.327958
Archetype transform param norm: 6.4568
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.8407 (range: 0.8407 - 0.8407)
archetypal_loss: 0.9269 (range: 0.9269 - 0.9269)
kld_loss: 0.0652 (range: 0.0652 - 0.0652)
reconstruction_loss: 0.9269 (range: 0.9269 - 0.9269)
archetype_r2: 0.0475 (range: 0.0475 - 0.0475)
Archetype Transform Summary:
archetype_transform_mean: -0.000128 (range: -0.000128 - -0.000128)
archetype_transform_std: 0.090422 (range: 0.090422 - 0.090422)
archetype_transform_norm: 6.456813 (range: 6.456813 - 6.456813)
archetype_transform_grad_norm: 0.327958 (range: 0.327958 - 0.327958)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0399, max=0.7265, mean=0.3333
Batch reconstruction MSE: 0.9469
Archetype stats: min=-6.0723, max=10.5832
Archetype change since last debug: 0.336039
Archetype gradients: norm=0.015910, mean=0.000822
Epoch 1/1
Average loss: 0.8407
Archetypal loss: 0.9268
KLD loss: 0.0655
Reconstruction loss: 0.9268
Archetype R²: 0.0476
Archetype transform grad norm: 0.326481
Archetype transform param norm: 6.4554
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.8407 (range: 0.8407 - 0.8407)
archetypal_loss: 0.9268 (range: 0.9268 - 0.9268)
kld_loss: 0.0655 (range: 0.0655 - 0.0655)
reconstruction_loss: 0.9268 (range: 0.9268 - 0.9268)
archetype_r2: 0.0476 (range: 0.0476 - 0.0476)
Archetype Transform Summary:
archetype_transform_mean: -0.000149 (range: -0.000149 - -0.000149)
archetype_transform_std: 0.090403 (range: 0.090403 - 0.090403)
archetype_transform_norm: 6.455422 (range: 6.455422 - 6.455422)
archetype_transform_grad_norm: 0.326481 (range: 0.326481 - 0.326481)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0249, max=0.6230, mean=0.3333
Batch reconstruction MSE: 0.9434
Archetype stats: min=-6.0586, max=10.5848
Archetype change since last debug: 0.342895
Archetype gradients: norm=0.044868, mean=0.002392
Epoch 1/1
Average loss: 0.8401
Archetypal loss: 0.9263
KLD loss: 0.0646
Reconstruction loss: 0.9263
Archetype R²: 0.0481
Archetype transform grad norm: 0.318214
Archetype transform param norm: 6.4564
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.8401 (range: 0.8401 - 0.8401)
archetypal_loss: 0.9263 (range: 0.9263 - 0.9263)
kld_loss: 0.0646 (range: 0.0646 - 0.0646)
reconstruction_loss: 0.9263 (range: 0.9263 - 0.9263)
archetype_r2: 0.0481 (range: 0.0481 - 0.0481)
Archetype Transform Summary:
archetype_transform_mean: -0.000195 (range: -0.000195 - -0.000195)
archetype_transform_std: 0.090417 (range: 0.090417 - 0.090417)
archetype_transform_norm: 6.456422 (range: 6.456422 - 6.456422)
archetype_transform_grad_norm: 0.318214 (range: 0.318214 - 0.318214)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0356, max=0.7552, mean=0.3333
Batch reconstruction MSE: 0.9404
Archetype stats: min=-6.1427, max=10.7339
Archetype change since last debug: 0.484739
Archetype gradients: norm=0.015135, mean=0.000727
Epoch 1/1
Average loss: 0.8398
Archetypal loss: 0.9260
KLD loss: 0.0641
Reconstruction loss: 0.9260
Archetype R²: 0.0484
Archetype transform grad norm: 0.322991
Archetype transform param norm: 6.4636
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.8398 (range: 0.8398 - 0.8398)
archetypal_loss: 0.9260 (range: 0.9260 - 0.9260)
kld_loss: 0.0641 (range: 0.0641 - 0.0641)
reconstruction_loss: 0.9260 (range: 0.9260 - 0.9260)
archetype_r2: 0.0484 (range: 0.0484 - 0.0484)
Archetype Transform Summary:
archetype_transform_mean: -0.000199 (range: -0.000199 - -0.000199)
archetype_transform_std: 0.090517 (range: 0.090517 - 0.090517)
archetype_transform_norm: 6.463594 (range: 6.463594 - 6.463594)
archetype_transform_grad_norm: 0.322991 (range: 0.322991 - 0.322991)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0247, max=0.6509, mean=0.3333
Batch reconstruction MSE: 0.9370
Archetype stats: min=-6.1866, max=10.8344
Archetype change since last debug: 0.426277
Archetype gradients: norm=0.036632, mean=0.002074
Epoch 1/1
Average loss: 0.8397
Archetypal loss: 0.9259
KLD loss: 0.0636
Reconstruction loss: 0.9259
Archetype R²: 0.0486
Archetype transform grad norm: 0.310830
Archetype transform param norm: 6.4698
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.8397 (range: 0.8397 - 0.8397)
archetypal_loss: 0.9259 (range: 0.9259 - 0.9259)
kld_loss: 0.0636 (range: 0.0636 - 0.0636)
reconstruction_loss: 0.9259 (range: 0.9259 - 0.9259)
archetype_r2: 0.0486 (range: 0.0486 - 0.0486)
Archetype Transform Summary:
archetype_transform_mean: -0.000204 (range: -0.000204 - -0.000204)
archetype_transform_std: 0.090604 (range: 0.090604 - 0.090604)
archetype_transform_norm: 6.469835 (range: 6.469835 - 6.469835)
archetype_transform_grad_norm: 0.310830 (range: 0.310830 - 0.310830)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0318, max=0.6800, mean=0.3333
Batch reconstruction MSE: 0.9387
Archetype stats: min=-6.2266, max=10.9371
Archetype change since last debug: 0.428411
Archetype gradients: norm=0.013125, mean=0.000660
Epoch 1/1
Average loss: 0.8397
Archetypal loss: 0.9260
KLD loss: 0.0630
Reconstruction loss: 0.9260
Archetype R²: 0.0485
Archetype transform grad norm: 0.315371
Archetype transform param norm: 6.4748
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.8397 (range: 0.8397 - 0.8397)
archetypal_loss: 0.9260 (range: 0.9260 - 0.9260)
kld_loss: 0.0630 (range: 0.0630 - 0.0630)
reconstruction_loss: 0.9260 (range: 0.9260 - 0.9260)
archetype_r2: 0.0485 (range: 0.0485 - 0.0485)
Archetype Transform Summary:
archetype_transform_mean: -0.000219 (range: -0.000219 - -0.000219)
archetype_transform_std: 0.090674 (range: 0.090674 - 0.090674)
archetype_transform_norm: 6.474803 (range: 6.474803 - 6.474803)
archetype_transform_grad_norm: 0.315371 (range: 0.315371 - 0.315371)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0304, max=0.7471, mean=0.3333
Batch reconstruction MSE: 0.9521
Archetype stats: min=-6.2294, max=10.9416
Archetype change since last debug: 0.279892
Archetype gradients: norm=0.039536, mean=0.002179
Epoch 1/1
Average loss: 0.8400
Archetypal loss: 0.9262
KLD loss: 0.0645
Reconstruction loss: 0.9262
Archetype R²: 0.0482
Archetype transform grad norm: 0.310387
Archetype transform param norm: 6.4764
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.8400 (range: 0.8400 - 0.8400)
archetypal_loss: 0.9262 (range: 0.9262 - 0.9262)
kld_loss: 0.0645 (range: 0.0645 - 0.0645)
reconstruction_loss: 0.9262 (range: 0.9262 - 0.9262)
archetype_r2: 0.0482 (range: 0.0482 - 0.0482)
Archetype Transform Summary:
archetype_transform_mean: -0.000245 (range: -0.000245 - -0.000245)
archetype_transform_std: 0.090696 (range: 0.090696 - 0.090696)
archetype_transform_norm: 6.476368 (range: 6.476368 - 6.476368)
archetype_transform_grad_norm: 0.310387 (range: 0.310387 - 0.310387)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0346, max=0.6308, mean=0.3333
Batch reconstruction MSE: 0.9358
Archetype stats: min=-6.2268, max=10.9550
Archetype change since last debug: 0.243286
Archetype gradients: norm=0.013350, mean=0.000761
Epoch 1/1
Average loss: 0.8393
Archetypal loss: 0.9256
KLD loss: 0.0623
Reconstruction loss: 0.9256
Archetype R²: 0.0488
Archetype transform grad norm: 0.310842
Archetype transform param norm: 6.4817
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.8393 (range: 0.8393 - 0.8393)
archetypal_loss: 0.9256 (range: 0.9256 - 0.9256)
kld_loss: 0.0623 (range: 0.0623 - 0.0623)
reconstruction_loss: 0.9256 (range: 0.9256 - 0.9256)
archetype_r2: 0.0488 (range: 0.0488 - 0.0488)
Archetype Transform Summary:
archetype_transform_mean: -0.000254 (range: -0.000254 - -0.000254)
archetype_transform_std: 0.090770 (range: 0.090770 - 0.090770)
archetype_transform_norm: 6.481690 (range: 6.481690 - 6.481690)
archetype_transform_grad_norm: 0.310842 (range: 0.310842 - 0.310842)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0292, max=0.6766, mean=0.3333
Batch reconstruction MSE: 0.9269
Archetype stats: min=-6.2657, max=11.0314
Archetype change since last debug: 0.318079
Archetype gradients: norm=0.040277, mean=0.001993
Epoch 1/1
Average loss: 0.8393
Archetypal loss: 0.9254
KLD loss: 0.0639
Reconstruction loss: 0.9254
Archetype R²: 0.0491
Archetype transform grad norm: 0.303205
Archetype transform param norm: 6.4881
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.8393 (range: 0.8393 - 0.8393)
archetypal_loss: 0.9254 (range: 0.9254 - 0.9254)
kld_loss: 0.0639 (range: 0.0639 - 0.0639)
reconstruction_loss: 0.9254 (range: 0.9254 - 0.9254)
archetype_r2: 0.0491 (range: 0.0491 - 0.0491)
Archetype Transform Summary:
archetype_transform_mean: -0.000270 (range: -0.000270 - -0.000270)
archetype_transform_std: 0.090860 (range: 0.090860 - 0.090860)
archetype_transform_norm: 6.488128 (range: 6.488128 - 6.488128)
archetype_transform_grad_norm: 0.303205 (range: 0.303205 - 0.303205)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0320, max=0.7142, mean=0.3333
Batch reconstruction MSE: 0.9430
Archetype stats: min=-6.3143, max=11.1426
Archetype change since last debug: 0.426315
Archetype gradients: norm=0.013076, mean=0.000828
Epoch 1/1
Average loss: 0.8398
Archetypal loss: 0.9261
KLD loss: 0.0632
Reconstruction loss: 0.9261
Archetype R²: 0.0484
Archetype transform grad norm: 0.310079
Archetype transform param norm: 6.4907
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.8398 (range: 0.8398 - 0.8398)
archetypal_loss: 0.9261 (range: 0.9261 - 0.9261)
kld_loss: 0.0632 (range: 0.0632 - 0.0632)
reconstruction_loss: 0.9261 (range: 0.9261 - 0.9261)
archetype_r2: 0.0484 (range: 0.0484 - 0.0484)
Archetype Transform Summary:
archetype_transform_mean: -0.000287 (range: -0.000287 - -0.000287)
archetype_transform_std: 0.090897 (range: 0.090897 - 0.090897)
archetype_transform_norm: 6.490749 (range: 6.490749 - 6.490749)
archetype_transform_grad_norm: 0.310079 (range: 0.310079 - 0.310079)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0274, max=0.6307, mean=0.3333
Batch reconstruction MSE: 0.9601
Archetype stats: min=-6.2964, max=11.1054
Archetype change since last debug: 0.421215
Archetype gradients: norm=0.054638, mean=0.002477
Epoch 1/1
Average loss: 0.8403
Archetypal loss: 0.9265
KLD loss: 0.0650
Reconstruction loss: 0.9265
Archetype R²: 0.0479
Archetype transform grad norm: 0.307963
Archetype transform param norm: 6.4833
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.8403 (range: 0.8403 - 0.8403)
archetypal_loss: 0.9265 (range: 0.9265 - 0.9265)
kld_loss: 0.0650 (range: 0.0650 - 0.0650)
reconstruction_loss: 0.9265 (range: 0.9265 - 0.9265)
archetype_r2: 0.0479 (range: 0.0479 - 0.0479)
Archetype Transform Summary:
archetype_transform_mean: -0.000325 (range: -0.000325 - -0.000325)
archetype_transform_std: 0.090792 (range: 0.090792 - 0.090792)
archetype_transform_norm: 6.483284 (range: 6.483284 - 6.483284)
archetype_transform_grad_norm: 0.307963 (range: 0.307963 - 0.307963)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0297, max=0.7794, mean=0.3333
Batch reconstruction MSE: 0.9596
Archetype stats: min=-6.2855, max=11.1079
Archetype change since last debug: 0.432617
Archetype gradients: norm=0.017748, mean=0.001176
Epoch 1/1
Average loss: 0.8401
Archetypal loss: 0.9264
KLD loss: 0.0643
Reconstruction loss: 0.9264
Archetype R²: 0.0480
Archetype transform grad norm: 0.314246
Archetype transform param norm: 6.4821
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.8401 (range: 0.8401 - 0.8401)
archetypal_loss: 0.9264 (range: 0.9264 - 0.9264)
kld_loss: 0.0643 (range: 0.0643 - 0.0643)
reconstruction_loss: 0.9264 (range: 0.9264 - 0.9264)
archetype_r2: 0.0480 (range: 0.0480 - 0.0480)
Archetype Transform Summary:
archetype_transform_mean: -0.000354 (range: -0.000354 - -0.000354)
archetype_transform_std: 0.090775 (range: 0.090775 - 0.090775)
archetype_transform_norm: 6.482057 (range: 6.482057 - 6.482057)
archetype_transform_grad_norm: 0.314246 (range: 0.314246 - 0.314246)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0328, max=0.7043, mean=0.3333
Batch reconstruction MSE: 0.9403
Archetype stats: min=-6.1860, max=10.9205
Archetype change since last debug: 0.364802
Archetype gradients: norm=0.042837, mean=0.002005
Epoch 1/1
Average loss: 0.8397
Archetypal loss: 0.9259
KLD loss: 0.0640
Reconstruction loss: 0.9259
Archetype R²: 0.0486
Archetype transform grad norm: 0.303870
Archetype transform param norm: 6.4840
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.8397 (range: 0.8397 - 0.8397)
archetypal_loss: 0.9259 (range: 0.9259 - 0.9259)
kld_loss: 0.0640 (range: 0.0640 - 0.0640)
reconstruction_loss: 0.9259 (range: 0.9259 - 0.9259)
archetype_r2: 0.0486 (range: 0.0486 - 0.0486)
Archetype Transform Summary:
archetype_transform_mean: -0.000378 (range: -0.000378 - -0.000378)
archetype_transform_std: 0.090802 (range: 0.090802 - 0.090802)
archetype_transform_norm: 6.483980 (range: 6.483980 - 6.483980)
archetype_transform_grad_norm: 0.303870 (range: 0.303870 - 0.303870)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0361, max=0.7329, mean=0.3333
Batch reconstruction MSE: 0.9282
Archetype stats: min=-6.2163, max=10.9866
Archetype change since last debug: 0.293182
Archetype gradients: norm=0.011788, mean=0.000643
Epoch 1/1
Average loss: 0.8386
Archetypal loss: 0.9248
KLD loss: 0.0627
Reconstruction loss: 0.9248
Archetype R²: 0.0497
Archetype transform grad norm: 0.292992
Archetype transform param norm: 6.4936
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.8386 (range: 0.8386 - 0.8386)
archetypal_loss: 0.9248 (range: 0.9248 - 0.9248)
kld_loss: 0.0627 (range: 0.0627 - 0.0627)
reconstruction_loss: 0.9248 (range: 0.9248 - 0.9248)
archetype_r2: 0.0497 (range: 0.0497 - 0.0497)
Archetype Transform Summary:
archetype_transform_mean: -0.000377 (range: -0.000377 - -0.000377)
archetype_transform_std: 0.090937 (range: 0.090937 - 0.090937)
archetype_transform_norm: 6.493612 (range: 6.493612 - 6.493612)
archetype_transform_grad_norm: 0.292992 (range: 0.292992 - 0.292992)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0311, max=0.6107, mean=0.3333
Batch reconstruction MSE: 0.9284
Archetype stats: min=-6.2562, max=11.0856
Archetype change since last debug: 0.536063
Archetype gradients: norm=0.035559, mean=0.001717
Epoch 1/1
Average loss: 0.8388
Archetypal loss: 0.9250
KLD loss: 0.0629
Reconstruction loss: 0.9250
Archetype R²: 0.0494
Archetype transform grad norm: 0.301037
Archetype transform param norm: 6.5026
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.8388 (range: 0.8388 - 0.8388)
archetypal_loss: 0.9250 (range: 0.9250 - 0.9250)
kld_loss: 0.0629 (range: 0.0629 - 0.0629)
reconstruction_loss: 0.9250 (range: 0.9250 - 0.9250)
archetype_r2: 0.0494 (range: 0.0494 - 0.0494)
Archetype Transform Summary:
archetype_transform_mean: -0.000384 (range: -0.000384 - -0.000384)
archetype_transform_std: 0.091063 (range: 0.091063 - 0.091063)
archetype_transform_norm: 6.502620 (range: 6.502620 - 6.502620)
archetype_transform_grad_norm: 0.301037 (range: 0.301037 - 0.301037)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0379, max=0.7989, mean=0.3333
Batch reconstruction MSE: 0.9367
Archetype stats: min=-6.3460, max=11.2540
Archetype change since last debug: 0.439100
Archetype gradients: norm=0.014383, mean=0.000731
Epoch 1/1
Average loss: 0.8388
Archetypal loss: 0.9252
KLD loss: 0.0613
Reconstruction loss: 0.9252
Archetype R²: 0.0492
Archetype transform grad norm: 0.306895
Archetype transform param norm: 6.5106
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.8388 (range: 0.8388 - 0.8388)
archetypal_loss: 0.9252 (range: 0.9252 - 0.9252)
kld_loss: 0.0613 (range: 0.0613 - 0.0613)
reconstruction_loss: 0.9252 (range: 0.9252 - 0.9252)
archetype_r2: 0.0492 (range: 0.0492 - 0.0492)
Archetype Transform Summary:
archetype_transform_mean: -0.000388 (range: -0.000388 - -0.000388)
archetype_transform_std: 0.091174 (range: 0.091174 - 0.091174)
archetype_transform_norm: 6.510565 (range: 6.510565 - 6.510565)
archetype_transform_grad_norm: 0.306895 (range: 0.306895 - 0.306895)
[OK] Completed in 33.2s
[STATS] Mean archetype R²: 0.0543
[STATS] Mean validation R²: 0.0543
đź§Ş Configuration 4/20: {'n_archetypes': 3, 'hidden_dims': [512, 256, 128], 'inflation_factor': 1.5, 'use_pcha_init': True, 'use_inflation': True}
Fold 1/3
Model input_dim: 50 (auto-detected from data)
Archetypes parameter registered: True
Archetypes requires_grad: True
Deep_AA (Deep Archetypal Analysis) initialized:
- Single-stage architecture (like Deep_2)
- Inflation factor: 1.5
- Direct archetypal coordinates (no bottleneck)
Consolidated Archetype Initialization
PCHA: True, Inflation: True (factor: 1.5)
Test inflation: False
Running PCHA initialization...
Input shape: (128, 50)
Target archetypes: 3
Running PCHA with 3 archetypes...
Data shape for PCHA: (50, 128)
PCHA Results:
Archetypes shape: (3, 50)
Archetype R²: 0.3230
SSE: 5366.8473
PCHA archetype R²: 0.3230
Archetype shape: (3, 50)
[OK] Initialized 3 archetypes using PCHA
Scalar Archetypal Inflation (factor: 1.50)
[OK] Inflation complete
[STATS] Positioning verification:
Data radius (max): 43.759
Data radius (mean): 6.629
Archetype distances: 8.562 to 58.808
Archetypes outside data: 1/3
Min archetype separation: 20.168
[OK] Archetype initialization complete (success: True)
[OK] Archetype initialization complete (PCHA: True, Inflation: 1.5)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0014, max=0.9576, mean=0.3333
Batch reconstruction MSE: 1.6387
Archetype stats: min=-3.0307, max=4.4626
Archetype gradients: norm=0.043865, mean=0.002862
Epoch 1/1
Average loss: 0.9145
Archetypal loss: 1.0083
KLD loss: 0.0704
Reconstruction loss: 1.0083
Archetype R²: -0.0571
Archetype transform grad norm: 0.629662
Archetype transform param norm: 5.8057
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.9145 (range: 0.9145 - 0.9145)
archetypal_loss: 1.0083 (range: 1.0083 - 1.0083)
kld_loss: 0.0704 (range: 0.0704 - 0.0704)
reconstruction_loss: 1.0083 (range: 1.0083 - 1.0083)
archetype_r2: -0.0571 (range: -0.0571 - -0.0571)
Archetype Transform Summary:
archetype_transform_mean: 0.000313 (range: 0.000313 - 0.000313)
archetype_transform_std: 0.081303 (range: 0.081303 - 0.081303)
archetype_transform_norm: 5.805666 (range: 5.805666 - 5.805666)
archetype_transform_grad_norm: 0.629662 (range: 0.629662 - 0.629662)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0047, max=0.9778, mean=0.3333
Batch reconstruction MSE: 1.0740
Archetype stats: min=-0.8386, max=0.9140
Archetype change since last debug: 11.679336
Archetype gradients: norm=0.008108, mean=0.000500
Epoch 1/1
Average loss: 0.8595
Archetypal loss: 0.9489
KLD loss: 0.0550
Reconstruction loss: 0.9489
Archetype R²: 0.0036
Archetype transform grad norm: 0.276808
Archetype transform param norm: 5.8091
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.8595 (range: 0.8595 - 0.8595)
archetypal_loss: 0.9489 (range: 0.9489 - 0.9489)
kld_loss: 0.0550 (range: 0.0550 - 0.0550)
reconstruction_loss: 0.9489 (range: 0.9489 - 0.9489)
archetype_r2: 0.0036 (range: 0.0036 - 0.0036)
Archetype Transform Summary:
archetype_transform_mean: 0.000382 (range: 0.000382 - 0.000382)
archetype_transform_std: 0.081351 (range: 0.081351 - 0.081351)
archetype_transform_norm: 5.809108 (range: 5.809108 - 5.809108)
archetype_transform_grad_norm: 0.276808 (range: 0.276808 - 0.276808)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0061, max=0.9433, mean=0.3333
Batch reconstruction MSE: 1.0831
Archetype stats: min=-1.2682, max=1.3309
Archetype change since last debug: 2.851267
Archetype gradients: norm=0.007758, mean=0.000444
Epoch 1/1
Average loss: 0.8479
Archetypal loss: 0.9336
KLD loss: 0.0764
Reconstruction loss: 0.9336
Archetype R²: 0.0197
Archetype transform grad norm: 0.313863
Archetype transform param norm: 5.8637
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.8479 (range: 0.8479 - 0.8479)
archetypal_loss: 0.9336 (range: 0.9336 - 0.9336)
kld_loss: 0.0764 (range: 0.0764 - 0.0764)
reconstruction_loss: 0.9336 (range: 0.9336 - 0.9336)
archetype_r2: 0.0197 (range: 0.0197 - 0.0197)
Archetype Transform Summary:
archetype_transform_mean: 0.000307 (range: 0.000307 - 0.000307)
archetype_transform_std: 0.082115 (range: 0.082115 - 0.082115)
archetype_transform_norm: 5.863652 (range: 5.863652 - 5.863652)
archetype_transform_grad_norm: 0.313863 (range: 0.313863 - 0.313863)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0119, max=0.9042, mean=0.3333
Batch reconstruction MSE: 1.1354
Archetype stats: min=-2.4139, max=1.8466
Archetype change since last debug: 5.083974
Archetype gradients: norm=0.013491, mean=0.000787
Epoch 1/1
Average loss: 0.8414
Archetypal loss: 0.9272
KLD loss: 0.0691
Reconstruction loss: 0.9272
Archetype R²: 0.0265
Archetype transform grad norm: 0.345515
Archetype transform param norm: 5.9402
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.8414 (range: 0.8414 - 0.8414)
archetypal_loss: 0.9272 (range: 0.9272 - 0.9272)
kld_loss: 0.0691 (range: 0.0691 - 0.0691)
reconstruction_loss: 0.9272 (range: 0.9272 - 0.9272)
archetype_r2: 0.0265 (range: 0.0265 - 0.0265)
Archetype Transform Summary:
archetype_transform_mean: 0.000304 (range: 0.000304 - 0.000304)
archetype_transform_std: 0.083187 (range: 0.083187 - 0.083187)
archetype_transform_norm: 5.940185 (range: 5.940185 - 5.940185)
archetype_transform_grad_norm: 0.345515 (range: 0.345515 - 0.345515)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0111, max=0.8576, mean=0.3333
Batch reconstruction MSE: 1.1588
Archetype stats: min=-3.1834, max=2.3579
Archetype change since last debug: 3.471736
Archetype gradients: norm=0.013349, mean=0.000876
Epoch 1/1
Average loss: 0.8388
Archetypal loss: 0.9245
KLD loss: 0.0675
Reconstruction loss: 0.9245
Archetype R²: 0.0294
Archetype transform grad norm: 0.361670
Archetype transform param norm: 5.9956
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.8388 (range: 0.8388 - 0.8388)
archetypal_loss: 0.9245 (range: 0.9245 - 0.9245)
kld_loss: 0.0675 (range: 0.0675 - 0.0675)
reconstruction_loss: 0.9245 (range: 0.9245 - 0.9245)
archetype_r2: 0.0294 (range: 0.0294 - 0.0294)
Archetype Transform Summary:
archetype_transform_mean: 0.000298 (range: 0.000298 - 0.000298)
archetype_transform_std: 0.083962 (range: 0.083962 - 0.083962)
archetype_transform_norm: 5.995561 (range: 5.995561 - 5.995561)
archetype_transform_grad_norm: 0.361670 (range: 0.361670 - 0.361670)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0284, max=0.9081, mean=0.3333
Batch reconstruction MSE: 1.2657
Archetype stats: min=-3.6153, max=2.7078
Archetype change since last debug: 2.426393
Archetype gradients: norm=0.022418, mean=0.001426
Epoch 1/1
Average loss: 0.8392
Archetypal loss: 0.9252
KLD loss: 0.0650
Reconstruction loss: 0.9252
Archetype R²: 0.0288
Archetype transform grad norm: 0.369135
Archetype transform param norm: 6.0215
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.8392 (range: 0.8392 - 0.8392)
archetypal_loss: 0.9252 (range: 0.9252 - 0.9252)
kld_loss: 0.0650 (range: 0.0650 - 0.0650)
reconstruction_loss: 0.9252 (range: 0.9252 - 0.9252)
archetype_r2: 0.0288 (range: 0.0288 - 0.0288)
Archetype Transform Summary:
archetype_transform_mean: 0.000292 (range: 0.000292 - 0.000292)
archetype_transform_std: 0.084326 (range: 0.084326 - 0.084326)
archetype_transform_norm: 6.021516 (range: 6.021516 - 6.021516)
archetype_transform_grad_norm: 0.369135 (range: 0.369135 - 0.369135)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0216, max=0.9017, mean=0.3333
Batch reconstruction MSE: 1.1598
Archetype stats: min=-3.6409, max=2.7293
Archetype change since last debug: 1.695257
Archetype gradients: norm=0.025305, mean=0.001326
Epoch 1/1
Average loss: 0.8347
Archetypal loss: 0.9203
KLD loss: 0.0646
Reconstruction loss: 0.9203
Archetype R²: 0.0338
Archetype transform grad norm: 0.360621
Archetype transform param norm: 6.0461
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.8347 (range: 0.8347 - 0.8347)
archetypal_loss: 0.9203 (range: 0.9203 - 0.9203)
kld_loss: 0.0646 (range: 0.0646 - 0.0646)
reconstruction_loss: 0.9203 (range: 0.9203 - 0.9203)
archetype_r2: 0.0338 (range: 0.0338 - 0.0338)
Archetype Transform Summary:
archetype_transform_mean: 0.000240 (range: 0.000240 - 0.000240)
archetype_transform_std: 0.084671 (range: 0.084671 - 0.084671)
archetype_transform_norm: 6.046149 (range: 6.046149 - 6.046149)
archetype_transform_grad_norm: 0.360621 (range: 0.360621 - 0.360621)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0465, max=0.6803, mean=0.3333
Batch reconstruction MSE: 1.1208
Archetype stats: min=-3.9310, max=3.3847
Archetype change since last debug: 2.066444
Archetype gradients: norm=0.010314, mean=0.000719
Epoch 1/1
Average loss: 0.8312
Archetypal loss: 0.9167
KLD loss: 0.0614
Reconstruction loss: 0.9167
Archetype R²: 0.0375
Archetype transform grad norm: 0.374284
Archetype transform param norm: 6.0855
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.8312 (range: 0.8312 - 0.8312)
archetypal_loss: 0.9167 (range: 0.9167 - 0.9167)
kld_loss: 0.0614 (range: 0.0614 - 0.0614)
reconstruction_loss: 0.9167 (range: 0.9167 - 0.9167)
archetype_r2: 0.0375 (range: 0.0375 - 0.0375)
Archetype Transform Summary:
archetype_transform_mean: 0.000216 (range: 0.000216 - 0.000216)
archetype_transform_std: 0.085222 (range: 0.085222 - 0.085222)
archetype_transform_norm: 6.085473 (range: 6.085473 - 6.085473)
archetype_transform_grad_norm: 0.374284 (range: 0.374284 - 0.374284)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0141, max=0.7447, mean=0.3333
Batch reconstruction MSE: 1.1524
Archetype stats: min=-4.3006, max=4.5815
Archetype change since last debug: 2.399418
Archetype gradients: norm=0.048715, mean=0.002325
Epoch 1/1
Average loss: 0.8299
Archetypal loss: 0.9152
KLD loss: 0.0616
Reconstruction loss: 0.9152
Archetype R²: 0.0391
Archetype transform grad norm: 0.374639
Archetype transform param norm: 6.0999
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.8299 (range: 0.8299 - 0.8299)
archetypal_loss: 0.9152 (range: 0.9152 - 0.9152)
kld_loss: 0.0616 (range: 0.0616 - 0.0616)
reconstruction_loss: 0.9152 (range: 0.9152 - 0.9152)
archetype_r2: 0.0391 (range: 0.0391 - 0.0391)
Archetype Transform Summary:
archetype_transform_mean: 0.000150 (range: 0.000150 - 0.000150)
archetype_transform_std: 0.085424 (range: 0.085424 - 0.085424)
archetype_transform_norm: 6.099887 (range: 6.099887 - 6.099887)
archetype_transform_grad_norm: 0.374639 (range: 0.374639 - 0.374639)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0261, max=0.7802, mean=0.3333
Batch reconstruction MSE: 1.1701
Archetype stats: min=-4.5357, max=5.7506
Archetype change since last debug: 2.140676
Archetype gradients: norm=0.026850, mean=0.001780
Epoch 1/1
Average loss: 0.8294
Archetypal loss: 0.9144
KLD loss: 0.0645
Reconstruction loss: 0.9144
Archetype R²: 0.0400
Archetype transform grad norm: 0.420659
Archetype transform param norm: 6.1243
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.8294 (range: 0.8294 - 0.8294)
archetypal_loss: 0.9144 (range: 0.9144 - 0.9144)
kld_loss: 0.0645 (range: 0.0645 - 0.0645)
reconstruction_loss: 0.9144 (range: 0.9144 - 0.9144)
archetype_r2: 0.0400 (range: 0.0400 - 0.0400)
Archetype Transform Summary:
archetype_transform_mean: 0.000117 (range: 0.000117 - 0.000117)
archetype_transform_std: 0.085766 (range: 0.085766 - 0.085766)
archetype_transform_norm: 6.124288 (range: 6.124288 - 6.124288)
archetype_transform_grad_norm: 0.420659 (range: 0.420659 - 0.420659)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0275, max=0.8233, mean=0.3333
Batch reconstruction MSE: 1.1791
Archetype stats: min=-4.9251, max=6.7538
Archetype change since last debug: 1.990207
Archetype gradients: norm=0.034548, mean=0.002002
Epoch 1/1
Average loss: 0.8274
Archetypal loss: 0.9125
KLD loss: 0.0608
Reconstruction loss: 0.9125
Archetype R²: 0.0420
Archetype transform grad norm: 0.387574
Archetype transform param norm: 6.1302
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.8274 (range: 0.8274 - 0.8274)
archetypal_loss: 0.9125 (range: 0.9125 - 0.9125)
kld_loss: 0.0608 (range: 0.0608 - 0.0608)
reconstruction_loss: 0.9125 (range: 0.9125 - 0.9125)
archetype_r2: 0.0420 (range: 0.0420 - 0.0420)
Archetype Transform Summary:
archetype_transform_mean: 0.000035 (range: 0.000035 - 0.000035)
archetype_transform_std: 0.085848 (range: 0.085848 - 0.085848)
archetype_transform_norm: 6.130206 (range: 6.130206 - 6.130206)
archetype_transform_grad_norm: 0.387574 (range: 0.387574 - 0.387574)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0219, max=0.7656, mean=0.3333
Batch reconstruction MSE: 1.1123
Archetype stats: min=-5.1139, max=7.4634
Archetype change since last debug: 1.667846
Archetype gradients: norm=0.008912, mean=0.000558
Epoch 1/1
Average loss: 0.8241
Archetypal loss: 0.9091
KLD loss: 0.0583
Reconstruction loss: 0.9091
Archetype R²: 0.0455
Archetype transform grad norm: 0.377762
Archetype transform param norm: 6.1579
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.8241 (range: 0.8241 - 0.8241)
archetypal_loss: 0.9091 (range: 0.9091 - 0.9091)
kld_loss: 0.0583 (range: 0.0583 - 0.0583)
reconstruction_loss: 0.9091 (range: 0.9091 - 0.9091)
archetype_r2: 0.0455 (range: 0.0455 - 0.0455)
Archetype Transform Summary:
archetype_transform_mean: -0.000035 (range: -0.000035 - -0.000035)
archetype_transform_std: 0.086236 (range: 0.086236 - 0.086236)
archetype_transform_norm: 6.157875 (range: 6.157875 - 6.157875)
archetype_transform_grad_norm: 0.377762 (range: 0.377762 - 0.377762)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0228, max=0.7078, mean=0.3333
Batch reconstruction MSE: 1.1013
Archetype stats: min=-5.3415, max=8.2010
Archetype change since last debug: 1.850547
Archetype gradients: norm=0.035011, mean=0.001670
Epoch 1/1
Average loss: 0.8231
Archetypal loss: 0.9080
KLD loss: 0.0593
Reconstruction loss: 0.9080
Archetype R²: 0.0466
Archetype transform grad norm: 0.381425
Archetype transform param norm: 6.1764
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.8231 (range: 0.8231 - 0.8231)
archetypal_loss: 0.9080 (range: 0.9080 - 0.9080)
kld_loss: 0.0593 (range: 0.0593 - 0.0593)
reconstruction_loss: 0.9080 (range: 0.9080 - 0.9080)
archetype_r2: 0.0466 (range: 0.0466 - 0.0466)
Archetype Transform Summary:
archetype_transform_mean: -0.000098 (range: -0.000098 - -0.000098)
archetype_transform_std: 0.086495 (range: 0.086495 - 0.086495)
archetype_transform_norm: 6.176362 (range: 6.176362 - 6.176362)
archetype_transform_grad_norm: 0.381425 (range: 0.381425 - 0.381425)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0233, max=0.7444, mean=0.3333
Batch reconstruction MSE: 1.2443
Archetype stats: min=-5.5871, max=8.8976
Archetype change since last debug: 1.602397
Archetype gradients: norm=0.025699, mean=0.001634
Epoch 1/1
Average loss: 0.8245
Archetypal loss: 0.9102
KLD loss: 0.0536
Reconstruction loss: 0.9102
Archetype R²: 0.0446
Archetype transform grad norm: 0.393674
Archetype transform param norm: 6.1838
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.8245 (range: 0.8245 - 0.8245)
archetypal_loss: 0.9102 (range: 0.9102 - 0.9102)
kld_loss: 0.0536 (range: 0.0536 - 0.0536)
reconstruction_loss: 0.9102 (range: 0.9102 - 0.9102)
archetype_r2: 0.0446 (range: 0.0446 - 0.0446)
Archetype Transform Summary:
archetype_transform_mean: -0.000087 (range: -0.000087 - -0.000087)
archetype_transform_std: 0.086599 (range: 0.086599 - 0.086599)
archetype_transform_norm: 6.183833 (range: 6.183833 - 6.183833)
archetype_transform_grad_norm: 0.393674 (range: 0.393674 - 0.393674)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0265, max=0.6903, mean=0.3333
Batch reconstruction MSE: 1.1117
Archetype stats: min=-5.5256, max=8.9623
Archetype change since last debug: 1.152653
Archetype gradients: norm=0.014688, mean=0.000970
Epoch 1/1
Average loss: 0.8231
Archetypal loss: 0.9074
KLD loss: 0.0645
Reconstruction loss: 0.9074
Archetype R²: 0.0473
Archetype transform grad norm: 0.410897
Archetype transform param norm: 6.1947
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.8231 (range: 0.8231 - 0.8231)
archetypal_loss: 0.9074 (range: 0.9074 - 0.9074)
kld_loss: 0.0645 (range: 0.0645 - 0.0645)
reconstruction_loss: 0.9074 (range: 0.9074 - 0.9074)
archetype_r2: 0.0473 (range: 0.0473 - 0.0473)
Archetype Transform Summary:
archetype_transform_mean: -0.000169 (range: -0.000169 - -0.000169)
archetype_transform_std: 0.086751 (range: 0.086751 - 0.086751)
archetype_transform_norm: 6.194696 (range: 6.194696 - 6.194696)
archetype_transform_grad_norm: 0.410897 (range: 0.410897 - 0.410897)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0286, max=0.7196, mean=0.3333
Batch reconstruction MSE: 1.2223
Archetype stats: min=-5.6212, max=9.3377
Archetype change since last debug: 1.164138
Archetype gradients: norm=0.030208, mean=0.001707
Epoch 1/1
Average loss: 0.8239
Archetypal loss: 0.9093
KLD loss: 0.0554
Reconstruction loss: 0.9093
Archetype R²: 0.0455
Archetype transform grad norm: 0.393868
Archetype transform param norm: 6.2002
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.8239 (range: 0.8239 - 0.8239)
archetypal_loss: 0.9093 (range: 0.9093 - 0.9093)
kld_loss: 0.0554 (range: 0.0554 - 0.0554)
reconstruction_loss: 0.9093 (range: 0.9093 - 0.9093)
archetype_r2: 0.0455 (range: 0.0455 - 0.0455)
Archetype Transform Summary:
archetype_transform_mean: -0.000171 (range: -0.000171 - -0.000171)
archetype_transform_std: 0.086829 (range: 0.086829 - 0.086829)
archetype_transform_norm: 6.200218 (range: 6.200218 - 6.200218)
archetype_transform_grad_norm: 0.393868 (range: 0.393868 - 0.393868)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0229, max=0.6883, mean=0.3333
Batch reconstruction MSE: 1.0836
Archetype stats: min=-5.5470, max=9.3076
Archetype change since last debug: 0.933981
Archetype gradients: norm=0.033123, mean=0.001705
Epoch 1/1
Average loss: 0.8207
Archetypal loss: 0.9056
KLD loss: 0.0573
Reconstruction loss: 0.9056
Archetype R²: 0.0491
Archetype transform grad norm: 0.373752
Archetype transform param norm: 6.2136
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.8207 (range: 0.8207 - 0.8207)
archetypal_loss: 0.9056 (range: 0.9056 - 0.9056)
kld_loss: 0.0573 (range: 0.0573 - 0.0573)
reconstruction_loss: 0.9056 (range: 0.9056 - 0.9056)
archetype_r2: 0.0491 (range: 0.0491 - 0.0491)
Archetype Transform Summary:
archetype_transform_mean: -0.000226 (range: -0.000226 - -0.000226)
archetype_transform_std: 0.087017 (range: 0.087017 - 0.087017)
archetype_transform_norm: 6.213650 (range: 6.213650 - 6.213650)
archetype_transform_grad_norm: 0.373752 (range: 0.373752 - 0.373752)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0277, max=0.6777, mean=0.3333
Batch reconstruction MSE: 1.1247
Archetype stats: min=-5.7412, max=9.7933
Archetype change since last debug: 1.262509
Archetype gradients: norm=0.033198, mean=0.002094
Epoch 1/1
Average loss: 0.8210
Archetypal loss: 0.9063
KLD loss: 0.0535
Reconstruction loss: 0.9063
Archetype R²: 0.0485
Archetype transform grad norm: 0.387603
Archetype transform param norm: 6.2380
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.8210 (range: 0.8210 - 0.8210)
archetypal_loss: 0.9063 (range: 0.9063 - 0.9063)
kld_loss: 0.0535 (range: 0.0535 - 0.0535)
reconstruction_loss: 0.9063 (range: 0.9063 - 0.9063)
archetype_r2: 0.0485 (range: 0.0485 - 0.0485)
Archetype Transform Summary:
archetype_transform_mean: -0.000194 (range: -0.000194 - -0.000194)
archetype_transform_std: 0.087358 (range: 0.087358 - 0.087358)
archetype_transform_norm: 6.238001 (range: 6.238001 - 6.238001)
archetype_transform_grad_norm: 0.387603 (range: 0.387603 - 0.387603)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0271, max=0.7580, mean=0.3333
Batch reconstruction MSE: 1.1238
Archetype stats: min=-5.7996, max=10.0496
Archetype change since last debug: 1.002282
Archetype gradients: norm=0.064455, mean=0.003278
Epoch 1/1
Average loss: 0.8214
Archetypal loss: 0.9066
KLD loss: 0.0547
Reconstruction loss: 0.9066
Archetype R²: 0.0481
Archetype transform grad norm: 0.395647
Archetype transform param norm: 6.2294
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.8214 (range: 0.8214 - 0.8214)
archetypal_loss: 0.9066 (range: 0.9066 - 0.9066)
kld_loss: 0.0547 (range: 0.0547 - 0.0547)
reconstruction_loss: 0.9066 (range: 0.9066 - 0.9066)
archetype_r2: 0.0481 (range: 0.0481 - 0.0481)
Archetype Transform Summary:
archetype_transform_mean: -0.000245 (range: -0.000245 - -0.000245)
archetype_transform_std: 0.087237 (range: 0.087237 - 0.087237)
archetype_transform_norm: 6.229410 (range: 6.229410 - 6.229410)
archetype_transform_grad_norm: 0.395647 (range: 0.395647 - 0.395647)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0237, max=0.7786, mean=0.3333
Batch reconstruction MSE: 1.1485
Archetype stats: min=-5.9005, max=10.3448
Archetype change since last debug: 0.821682
Archetype gradients: norm=0.046437, mean=0.002970
Epoch 1/1
Average loss: 0.8224
Archetypal loss: 0.9075
KLD loss: 0.0569
Reconstruction loss: 0.9075
Archetype R²: 0.0472
Archetype transform grad norm: 0.419857
Archetype transform param norm: 6.2402
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.8224 (range: 0.8224 - 0.8224)
archetypal_loss: 0.9075 (range: 0.9075 - 0.9075)
kld_loss: 0.0569 (range: 0.0569 - 0.0569)
reconstruction_loss: 0.9075 (range: 0.9075 - 0.9075)
archetype_r2: 0.0472 (range: 0.0472 - 0.0472)
Archetype Transform Summary:
archetype_transform_mean: -0.000198 (range: -0.000198 - -0.000198)
archetype_transform_std: 0.087388 (range: 0.087388 - 0.087388)
archetype_transform_norm: 6.240181 (range: 6.240181 - 6.240181)
archetype_transform_grad_norm: 0.419857 (range: 0.419857 - 0.419857)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0303, max=0.6283, mean=0.3333
Batch reconstruction MSE: 1.1758
Archetype stats: min=-5.8135, max=10.2526
Archetype change since last debug: 0.596429
Archetype gradients: norm=0.051772, mean=0.002683
Epoch 1/1
Average loss: 0.8216
Archetypal loss: 0.9073
KLD loss: 0.0500
Reconstruction loss: 0.9073
Archetype R²: 0.0475
Archetype transform grad norm: 0.391546
Archetype transform param norm: 6.2274
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.8216 (range: 0.8216 - 0.8216)
archetypal_loss: 0.9073 (range: 0.9073 - 0.9073)
kld_loss: 0.0500 (range: 0.0500 - 0.0500)
reconstruction_loss: 0.9073 (range: 0.9073 - 0.9073)
archetype_r2: 0.0475 (range: 0.0475 - 0.0475)
Archetype Transform Summary:
archetype_transform_mean: -0.000265 (range: -0.000265 - -0.000265)
archetype_transform_std: 0.087209 (range: 0.087209 - 0.087209)
archetype_transform_norm: 6.227415 (range: 6.227415 - 6.227415)
archetype_transform_grad_norm: 0.391546 (range: 0.391546 - 0.391546)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0260, max=0.5669, mean=0.3333
Batch reconstruction MSE: 1.0470
Archetype stats: min=-5.8628, max=10.4089
Archetype change since last debug: 0.543913
Archetype gradients: norm=0.011340, mean=0.000730
Epoch 1/1
Average loss: 0.8185
Archetypal loss: 0.9038
KLD loss: 0.0507
Reconstruction loss: 0.9038
Archetype R²: 0.0509
Archetype transform grad norm: 0.373315
Archetype transform param norm: 6.2522
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.8185 (range: 0.8185 - 0.8185)
archetypal_loss: 0.9038 (range: 0.9038 - 0.9038)
kld_loss: 0.0507 (range: 0.0507 - 0.0507)
reconstruction_loss: 0.9038 (range: 0.9038 - 0.9038)
archetype_r2: 0.0509 (range: 0.0509 - 0.0509)
Archetype Transform Summary:
archetype_transform_mean: -0.000248 (range: -0.000248 - -0.000248)
archetype_transform_std: 0.087557 (range: 0.087557 - 0.087557)
archetype_transform_norm: 6.252248 (range: 6.252248 - 6.252248)
archetype_transform_grad_norm: 0.373315 (range: 0.373315 - 0.373315)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0275, max=0.5867, mean=0.3333
Batch reconstruction MSE: 1.0651
Archetype stats: min=-6.0632, max=10.7666
Archetype change since last debug: 1.280464
Archetype gradients: norm=0.021768, mean=0.001124
Epoch 1/1
Average loss: 0.8183
Archetypal loss: 0.9041
KLD loss: 0.0461
Reconstruction loss: 0.9041
Archetype R²: 0.0506
Archetype transform grad norm: 0.376485
Archetype transform param norm: 6.2679
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.8183 (range: 0.8183 - 0.8183)
archetypal_loss: 0.9041 (range: 0.9041 - 0.9041)
kld_loss: 0.0461 (range: 0.0461 - 0.0461)
reconstruction_loss: 0.9041 (range: 0.9041 - 0.9041)
archetype_r2: 0.0506 (range: 0.0506 - 0.0506)
Archetype Transform Summary:
archetype_transform_mean: -0.000272 (range: -0.000272 - -0.000272)
archetype_transform_std: 0.087777 (range: 0.087777 - 0.087777)
archetype_transform_norm: 6.267929 (range: 6.267929 - 6.267929)
archetype_transform_grad_norm: 0.376485 (range: 0.376485 - 0.376485)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0239, max=0.5495, mean=0.3333
Batch reconstruction MSE: 1.0496
Archetype stats: min=-6.2846, max=11.1951
Archetype change since last debug: 0.893894
Archetype gradients: norm=0.016438, mean=0.001028
Epoch 1/1
Average loss: 0.8182
Archetypal loss: 0.9036
KLD loss: 0.0496
Reconstruction loss: 0.9036
Archetype R²: 0.0511
Archetype transform grad norm: 0.381595
Archetype transform param norm: 6.2885
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.8182 (range: 0.8182 - 0.8182)
archetypal_loss: 0.9036 (range: 0.9036 - 0.9036)
kld_loss: 0.0496 (range: 0.0496 - 0.0496)
reconstruction_loss: 0.9036 (range: 0.9036 - 0.9036)
archetype_r2: 0.0511 (range: 0.0511 - 0.0511)
Archetype Transform Summary:
archetype_transform_mean: -0.000258 (range: -0.000258 - -0.000258)
archetype_transform_std: 0.088065 (range: 0.088065 - 0.088065)
archetype_transform_norm: 6.288528 (range: 6.288528 - 6.288528)
archetype_transform_grad_norm: 0.381595 (range: 0.381595 - 0.381595)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0297, max=0.6368, mean=0.3333
Batch reconstruction MSE: 1.2077
Archetype stats: min=-6.4130, max=11.4702
Archetype change since last debug: 0.928546
Archetype gradients: norm=0.027669, mean=0.001628
Epoch 1/1
Average loss: 0.8207
Archetypal loss: 0.9072
KLD loss: 0.0429
Reconstruction loss: 0.9072
Archetype R²: 0.0476
Archetype transform grad norm: 0.402087
Archetype transform param norm: 6.2761
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.8207 (range: 0.8207 - 0.8207)
archetypal_loss: 0.9072 (range: 0.9072 - 0.9072)
kld_loss: 0.0429 (range: 0.0429 - 0.0429)
reconstruction_loss: 0.9072 (range: 0.9072 - 0.9072)
archetype_r2: 0.0476 (range: 0.0476 - 0.0476)
Archetype Transform Summary:
archetype_transform_mean: -0.000302 (range: -0.000302 - -0.000302)
archetype_transform_std: 0.087891 (range: 0.087891 - 0.087891)
archetype_transform_norm: 6.276129 (range: 6.276129 - 6.276129)
archetype_transform_grad_norm: 0.402087 (range: 0.402087 - 0.402087)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0255, max=0.5537, mean=0.3333
Batch reconstruction MSE: 1.0746
Archetype stats: min=-6.2717, max=11.2392
Archetype change since last debug: 1.151653
Archetype gradients: norm=0.021947, mean=0.001439
Epoch 1/1
Average loss: 0.8192
Archetypal loss: 0.9041
KLD loss: 0.0547
Reconstruction loss: 0.9041
Archetype R²: 0.0506
Archetype transform grad norm: 0.384634
Archetype transform param norm: 6.2820
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.8192 (range: 0.8192 - 0.8192)
archetypal_loss: 0.9041 (range: 0.9041 - 0.9041)
kld_loss: 0.0547 (range: 0.0547 - 0.0547)
reconstruction_loss: 0.9041 (range: 0.9041 - 0.9041)
archetype_r2: 0.0506 (range: 0.0506 - 0.0506)
Archetype Transform Summary:
archetype_transform_mean: -0.000283 (range: -0.000283 - -0.000283)
archetype_transform_std: 0.087974 (range: 0.087974 - 0.087974)
archetype_transform_norm: 6.282048 (range: 6.282048 - 6.282048)
archetype_transform_grad_norm: 0.384634 (range: 0.384634 - 0.384634)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0318, max=0.6977, mean=0.3333
Batch reconstruction MSE: 1.1949
Archetype stats: min=-6.3947, max=11.4563
Archetype change since last debug: 0.732280
Archetype gradients: norm=0.018826, mean=0.001146
Epoch 1/1
Average loss: 0.8210
Archetypal loss: 0.9071
KLD loss: 0.0464
Reconstruction loss: 0.9071
Archetype R²: 0.0477
Archetype transform grad norm: 0.425803
Archetype transform param norm: 6.2832
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.8210 (range: 0.8210 - 0.8210)
archetypal_loss: 0.9071 (range: 0.9071 - 0.9071)
kld_loss: 0.0464 (range: 0.0464 - 0.0464)
reconstruction_loss: 0.9071 (range: 0.9071 - 0.9071)
archetype_r2: 0.0477 (range: 0.0477 - 0.0477)
Archetype Transform Summary:
archetype_transform_mean: -0.000322 (range: -0.000322 - -0.000322)
archetype_transform_std: 0.087990 (range: 0.087990 - 0.087990)
archetype_transform_norm: 6.283196 (range: 6.283196 - 6.283196)
archetype_transform_grad_norm: 0.425803 (range: 0.425803 - 0.425803)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0257, max=0.5458, mean=0.3333
Batch reconstruction MSE: 1.0355
Archetype stats: min=-6.2972, max=11.2917
Archetype change since last debug: 0.861166
Archetype gradients: norm=0.012040, mean=0.000796
Epoch 1/1
Average loss: 0.8175
Archetypal loss: 0.9030
KLD loss: 0.0476
Reconstruction loss: 0.9030
Archetype R²: 0.0516
Archetype transform grad norm: 0.379195
Archetype transform param norm: 6.2938
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.8175 (range: 0.8175 - 0.8175)
archetypal_loss: 0.9030 (range: 0.9030 - 0.9030)
kld_loss: 0.0476 (range: 0.0476 - 0.0476)
reconstruction_loss: 0.9030 (range: 0.9030 - 0.9030)
archetype_r2: 0.0516 (range: 0.0516 - 0.0516)
Archetype Transform Summary:
archetype_transform_mean: -0.000306 (range: -0.000306 - -0.000306)
archetype_transform_std: 0.088139 (range: 0.088139 - 0.088139)
archetype_transform_norm: 6.293772 (range: 6.293772 - 6.293772)
archetype_transform_grad_norm: 0.379195 (range: 0.379195 - 0.379195)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0259, max=0.5595, mean=0.3333
Batch reconstruction MSE: 1.0323
Archetype stats: min=-6.5298, max=11.7500
Archetype change since last debug: 1.123466
Archetype gradients: norm=0.007697, mean=0.000502
Epoch 1/1
Average loss: 0.8170
Archetypal loss: 0.9029
KLD loss: 0.0434
Reconstruction loss: 0.9029
Archetype R²: 0.0517
Archetype transform grad norm: 0.393961
Archetype transform param norm: 6.3174
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.8170 (range: 0.8170 - 0.8170)
archetypal_loss: 0.9029 (range: 0.9029 - 0.9029)
kld_loss: 0.0434 (range: 0.0434 - 0.0434)
reconstruction_loss: 0.9029 (range: 0.9029 - 0.9029)
archetype_r2: 0.0517 (range: 0.0517 - 0.0517)
Archetype Transform Summary:
archetype_transform_mean: -0.000334 (range: -0.000334 - -0.000334)
archetype_transform_std: 0.088470 (range: 0.088470 - 0.088470)
archetype_transform_norm: 6.317433 (range: 6.317433 - 6.317433)
archetype_transform_grad_norm: 0.393961 (range: 0.393961 - 0.393961)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0260, max=0.5918, mean=0.3333
Batch reconstruction MSE: 1.0544
Archetype stats: min=-6.7252, max=12.1074
Archetype change since last debug: 1.090082
Archetype gradients: norm=0.019855, mean=0.001332
Epoch 1/1
Average loss: 0.8177
Archetypal loss: 0.9037
KLD loss: 0.0435
Reconstruction loss: 0.9037
Archetype R²: 0.0510
Archetype transform grad norm: 0.403316
Archetype transform param norm: 6.3276
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.8177 (range: 0.8177 - 0.8177)
archetypal_loss: 0.9037 (range: 0.9037 - 0.9037)
kld_loss: 0.0435 (range: 0.0435 - 0.0435)
reconstruction_loss: 0.9037 (range: 0.9037 - 0.9037)
archetype_r2: 0.0510 (range: 0.0510 - 0.0510)
Archetype Transform Summary:
archetype_transform_mean: -0.000314 (range: -0.000314 - -0.000314)
archetype_transform_std: 0.088612 (range: 0.088612 - 0.088612)
archetype_transform_norm: 6.327579 (range: 6.327579 - 6.327579)
archetype_transform_grad_norm: 0.403316 (range: 0.403316 - 0.403316)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0273, max=0.7076, mean=0.3333
Batch reconstruction MSE: 1.1296
Archetype stats: min=-6.8864, max=12.2538
Archetype change since last debug: 0.557528
Archetype gradients: norm=0.021188, mean=0.001377
Epoch 1/1
Average loss: 0.8205
Archetypal loss: 0.9065
KLD loss: 0.0465
Reconstruction loss: 0.9065
Archetype R²: 0.0482
Archetype transform grad norm: 0.476849
Archetype transform param norm: 6.3299
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.8205 (range: 0.8205 - 0.8205)
archetypal_loss: 0.9065 (range: 0.9065 - 0.9065)
kld_loss: 0.0465 (range: 0.0465 - 0.0465)
reconstruction_loss: 0.9065 (range: 0.9065 - 0.9065)
archetype_r2: 0.0482 (range: 0.0482 - 0.0482)
Archetype Transform Summary:
archetype_transform_mean: -0.000369 (range: -0.000369 - -0.000369)
archetype_transform_std: 0.088644 (range: 0.088644 - 0.088644)
archetype_transform_norm: 6.329861 (range: 6.329861 - 6.329861)
archetype_transform_grad_norm: 0.476849 (range: 0.476849 - 0.476849)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0287, max=0.6747, mean=0.3333
Batch reconstruction MSE: 1.2333
Archetype stats: min=-6.9068, max=12.0795
Archetype change since last debug: 0.827874
Archetype gradients: norm=0.053456, mean=0.003434
Epoch 1/1
Average loss: 0.8221
Archetypal loss: 0.9082
KLD loss: 0.0470
Reconstruction loss: 0.9082
Archetype R²: 0.0466
Archetype transform grad norm: 0.435946
Archetype transform param norm: 6.2995
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.8221 (range: 0.8221 - 0.8221)
archetypal_loss: 0.9082 (range: 0.9082 - 0.9082)
kld_loss: 0.0470 (range: 0.0470 - 0.0470)
reconstruction_loss: 0.9082 (range: 0.9082 - 0.9082)
archetype_r2: 0.0466 (range: 0.0466 - 0.0466)
Archetype Transform Summary:
archetype_transform_mean: -0.000337 (range: -0.000337 - -0.000337)
archetype_transform_std: 0.088219 (range: 0.088219 - 0.088219)
archetype_transform_norm: 6.299500 (range: 6.299500 - 6.299500)
archetype_transform_grad_norm: 0.435946 (range: 0.435946 - 0.435946)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0286, max=0.5821, mean=0.3333
Batch reconstruction MSE: 1.1051
Archetype stats: min=-6.7417, max=11.4191
Archetype change since last debug: 1.570800
Archetype gradients: norm=0.012368, mean=0.000767
Epoch 1/1
Average loss: 0.8194
Archetypal loss: 0.9048
KLD loss: 0.0504
Reconstruction loss: 0.9048
Archetype R²: 0.0499
Archetype transform grad norm: 0.420241
Archetype transform param norm: 6.3052
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.8194 (range: 0.8194 - 0.8194)
archetypal_loss: 0.9048 (range: 0.9048 - 0.9048)
kld_loss: 0.0504 (range: 0.0504 - 0.0504)
reconstruction_loss: 0.9048 (range: 0.9048 - 0.9048)
archetype_r2: 0.0499 (range: 0.0499 - 0.0499)
Archetype Transform Summary:
archetype_transform_mean: -0.000373 (range: -0.000373 - -0.000373)
archetype_transform_std: 0.088299 (range: 0.088299 - 0.088299)
archetype_transform_norm: 6.305238 (range: 6.305238 - 6.305238)
archetype_transform_grad_norm: 0.420241 (range: 0.420241 - 0.420241)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0280, max=0.6949, mean=0.3333
Batch reconstruction MSE: 1.1372
Archetype stats: min=-6.8841, max=11.6110
Archetype change since last debug: 0.507904
Archetype gradients: norm=0.024080, mean=0.001386
Epoch 1/1
Average loss: 0.8189
Archetypal loss: 0.9050
KLD loss: 0.0447
Reconstruction loss: 0.9050
Archetype R²: 0.0498
Archetype transform grad norm: 0.381078
Archetype transform param norm: 6.3041
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.8189 (range: 0.8189 - 0.8189)
archetypal_loss: 0.9050 (range: 0.9050 - 0.9050)
kld_loss: 0.0447 (range: 0.0447 - 0.0447)
reconstruction_loss: 0.9050 (range: 0.9050 - 0.9050)
archetype_r2: 0.0498 (range: 0.0498 - 0.0498)
Archetype Transform Summary:
archetype_transform_mean: -0.000322 (range: -0.000322 - -0.000322)
archetype_transform_std: 0.088283 (range: 0.088283 - 0.088283)
archetype_transform_norm: 6.304090 (range: 6.304090 - 6.304090)
archetype_transform_grad_norm: 0.381078 (range: 0.381078 - 0.381078)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0263, max=0.5734, mean=0.3333
Batch reconstruction MSE: 1.0336
Archetype stats: min=-6.7495, max=11.4124
Archetype change since last debug: 0.699526
Archetype gradients: norm=0.010358, mean=0.000652
Epoch 1/1
Average loss: 0.8171
Archetypal loss: 0.9026
KLD loss: 0.0481
Reconstruction loss: 0.9026
Archetype R²: 0.0520
Archetype transform grad norm: 0.393105
Archetype transform param norm: 6.3204
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.8171 (range: 0.8171 - 0.8171)
archetypal_loss: 0.9026 (range: 0.9026 - 0.9026)
kld_loss: 0.0481 (range: 0.0481 - 0.0481)
reconstruction_loss: 0.9026 (range: 0.9026 - 0.9026)
archetype_r2: 0.0520 (range: 0.0520 - 0.0520)
Archetype Transform Summary:
archetype_transform_mean: -0.000350 (range: -0.000350 - -0.000350)
archetype_transform_std: 0.088511 (range: 0.088511 - 0.088511)
archetype_transform_norm: 6.320403 (range: 6.320403 - 6.320403)
archetype_transform_grad_norm: 0.393105 (range: 0.393105 - 0.393105)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0279, max=0.6580, mean=0.3333
Batch reconstruction MSE: 1.0745
Archetype stats: min=-6.9946, max=11.8951
Archetype change since last debug: 1.113603
Archetype gradients: norm=0.018780, mean=0.001233
Epoch 1/1
Average loss: 0.8172
Archetypal loss: 0.9034
KLD loss: 0.0417
Reconstruction loss: 0.9034
Archetype R²: 0.0513
Archetype transform grad norm: 0.383635
Archetype transform param norm: 6.3309
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.8172 (range: 0.8172 - 0.8172)
archetypal_loss: 0.9034 (range: 0.9034 - 0.9034)
kld_loss: 0.0417 (range: 0.0417 - 0.0417)
reconstruction_loss: 0.9034 (range: 0.9034 - 0.9034)
archetype_r2: 0.0513 (range: 0.0513 - 0.0513)
Archetype Transform Summary:
archetype_transform_mean: -0.000326 (range: -0.000326 - -0.000326)
archetype_transform_std: 0.088658 (range: 0.088658 - 0.088658)
archetype_transform_norm: 6.330875 (range: 6.330875 - 6.330875)
archetype_transform_grad_norm: 0.383635 (range: 0.383635 - 0.383635)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0273, max=0.5261, mean=0.3333
Batch reconstruction MSE: 1.0284
Archetype stats: min=-7.1291, max=12.0097
Archetype change since last debug: 0.596918
Archetype gradients: norm=0.009816, mean=0.000653
Epoch 1/1
Average loss: 0.8166
Archetypal loss: 0.9024
KLD loss: 0.0447
Reconstruction loss: 0.9024
Archetype R²: 0.0522
Archetype transform grad norm: 0.394695
Archetype transform param norm: 6.3492
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.8166 (range: 0.8166 - 0.8166)
archetypal_loss: 0.9024 (range: 0.9024 - 0.9024)
kld_loss: 0.0447 (range: 0.0447 - 0.0447)
reconstruction_loss: 0.9024 (range: 0.9024 - 0.9024)
archetype_r2: 0.0522 (range: 0.0522 - 0.0522)
Archetype Transform Summary:
archetype_transform_mean: -0.000348 (range: -0.000348 - -0.000348)
archetype_transform_std: 0.088914 (range: 0.088914 - 0.088914)
archetype_transform_norm: 6.349164 (range: 6.349164 - 6.349164)
archetype_transform_grad_norm: 0.394695 (range: 0.394695 - 0.394695)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0319, max=0.5773, mean=0.3333
Batch reconstruction MSE: 1.1035
Archetype stats: min=-7.3166, max=12.4335
Archetype change since last debug: 0.896505
Archetype gradients: norm=0.024870, mean=0.001577
Epoch 1/1
Average loss: 0.8173
Archetypal loss: 0.9039
KLD loss: 0.0383
Reconstruction loss: 0.9039
Archetype R²: 0.0508
Archetype transform grad norm: 0.380223
Archetype transform param norm: 6.3484
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.8173 (range: 0.8173 - 0.8173)
archetypal_loss: 0.9039 (range: 0.9039 - 0.9039)
kld_loss: 0.0383 (range: 0.0383 - 0.0383)
reconstruction_loss: 0.9039 (range: 0.9039 - 0.9039)
archetype_r2: 0.0508 (range: 0.0508 - 0.0508)
Archetype Transform Summary:
archetype_transform_mean: -0.000320 (range: -0.000320 - -0.000320)
archetype_transform_std: 0.088903 (range: 0.088903 - 0.088903)
archetype_transform_norm: 6.348363 (range: 6.348363 - 6.348363)
archetype_transform_grad_norm: 0.380223 (range: 0.380223 - 0.380223)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0262, max=0.5602, mean=0.3333
Batch reconstruction MSE: 1.0493
Archetype stats: min=-7.2913, max=12.4207
Archetype change since last debug: 0.414815
Archetype gradients: norm=0.012750, mean=0.000823
Epoch 1/1
Average loss: 0.8171
Archetypal loss: 0.9028
KLD loss: 0.0455
Reconstruction loss: 0.9028
Archetype R²: 0.0518
Archetype transform grad norm: 0.395438
Archetype transform param norm: 6.3606
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.8171 (range: 0.8171 - 0.8171)
archetypal_loss: 0.9028 (range: 0.9028 - 0.9028)
kld_loss: 0.0455 (range: 0.0455 - 0.0455)
reconstruction_loss: 0.9028 (range: 0.9028 - 0.9028)
archetype_r2: 0.0518 (range: 0.0518 - 0.0518)
Archetype Transform Summary:
archetype_transform_mean: -0.000333 (range: -0.000333 - -0.000333)
archetype_transform_std: 0.089074 (range: 0.089074 - 0.089074)
archetype_transform_norm: 6.360557 (range: 6.360557 - 6.360557)
archetype_transform_grad_norm: 0.395438 (range: 0.395438 - 0.395438)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0300, max=0.6646, mean=0.3333
Batch reconstruction MSE: 1.1625
Archetype stats: min=-7.4156, max=12.6588
Archetype change since last debug: 0.523879
Archetype gradients: norm=0.033924, mean=0.001887
Epoch 1/1
Average loss: 0.8181
Archetypal loss: 0.9049
KLD loss: 0.0368
Reconstruction loss: 0.9049
Archetype R²: 0.0498
Archetype transform grad norm: 0.370634
Archetype transform param norm: 6.3453
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.8181 (range: 0.8181 - 0.8181)
archetypal_loss: 0.9049 (range: 0.9049 - 0.9049)
kld_loss: 0.0368 (range: 0.0368 - 0.0368)
reconstruction_loss: 0.9049 (range: 0.9049 - 0.9049)
archetype_r2: 0.0498 (range: 0.0498 - 0.0498)
Archetype Transform Summary:
archetype_transform_mean: -0.000307 (range: -0.000307 - -0.000307)
archetype_transform_std: 0.088861 (range: 0.088861 - 0.088861)
archetype_transform_norm: 6.345327 (range: 6.345327 - 6.345327)
archetype_transform_grad_norm: 0.370634 (range: 0.370634 - 0.370634)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0290, max=0.5675, mean=0.3333
Batch reconstruction MSE: 1.0304
Archetype stats: min=-7.2240, max=12.4356
Archetype change since last debug: 0.722506
Archetype gradients: norm=0.008744, mean=0.000586
Epoch 1/1
Average loss: 0.8162
Archetypal loss: 0.9020
KLD loss: 0.0444
Reconstruction loss: 0.9020
Archetype R²: 0.0527
Archetype transform grad norm: 0.367524
Archetype transform param norm: 6.3609
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.8162 (range: 0.8162 - 0.8162)
archetypal_loss: 0.9020 (range: 0.9020 - 0.9020)
kld_loss: 0.0444 (range: 0.0444 - 0.0444)
reconstruction_loss: 0.9020 (range: 0.9020 - 0.9020)
archetype_r2: 0.0527 (range: 0.0527 - 0.0527)
Archetype Transform Summary:
archetype_transform_mean: -0.000313 (range: -0.000313 - -0.000313)
archetype_transform_std: 0.089079 (range: 0.089079 - 0.089079)
archetype_transform_norm: 6.360931 (range: 6.360931 - 6.360931)
archetype_transform_grad_norm: 0.367524 (range: 0.367524 - 0.367524)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0318, max=0.5587, mean=0.3333
Batch reconstruction MSE: 1.0989
Archetype stats: min=-7.4588, max=12.7637
Archetype change since last debug: 0.843783
Archetype gradients: norm=0.016569, mean=0.000880
Epoch 1/1
Average loss: 0.8167
Archetypal loss: 0.9034
KLD loss: 0.0365
Reconstruction loss: 0.9034
Archetype R²: 0.0513
Archetype transform grad norm: 0.360938
Archetype transform param norm: 6.3634
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.8167 (range: 0.8167 - 0.8167)
archetypal_loss: 0.9034 (range: 0.9034 - 0.9034)
kld_loss: 0.0365 (range: 0.0365 - 0.0365)
reconstruction_loss: 0.9034 (range: 0.9034 - 0.9034)
archetype_r2: 0.0513 (range: 0.0513 - 0.0513)
Archetype Transform Summary:
archetype_transform_mean: -0.000332 (range: -0.000332 - -0.000332)
archetype_transform_std: 0.089113 (range: 0.089113 - 0.089113)
archetype_transform_norm: 6.363361 (range: 6.363361 - 6.363361)
archetype_transform_grad_norm: 0.360938 (range: 0.360938 - 0.360938)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0338, max=0.5669, mean=0.3333
Batch reconstruction MSE: 1.0422
Archetype stats: min=-7.4982, max=12.8021
Archetype change since last debug: 0.293230
Archetype gradients: norm=0.010040, mean=0.000628
Epoch 1/1
Average loss: 0.8165
Archetypal loss: 0.9023
KLD loss: 0.0435
Reconstruction loss: 0.9023
Archetype R²: 0.0523
Archetype transform grad norm: 0.366988
Archetype transform param norm: 6.3745
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.8165 (range: 0.8165 - 0.8165)
archetypal_loss: 0.9023 (range: 0.9023 - 0.9023)
kld_loss: 0.0435 (range: 0.0435 - 0.0435)
reconstruction_loss: 0.9023 (range: 0.9023 - 0.9023)
archetype_r2: 0.0523 (range: 0.0523 - 0.0523)
Archetype Transform Summary:
archetype_transform_mean: -0.000322 (range: -0.000322 - -0.000322)
archetype_transform_std: 0.089269 (range: 0.089269 - 0.089269)
archetype_transform_norm: 6.374488 (range: 6.374488 - 6.374488)
archetype_transform_grad_norm: 0.366988 (range: 0.366988 - 0.366988)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0364, max=0.6523, mean=0.3333
Batch reconstruction MSE: 1.1582
Archetype stats: min=-7.6465, max=12.9907
Archetype change since last debug: 0.636810
Archetype gradients: norm=0.014290, mean=0.000854
Epoch 1/1
Average loss: 0.8183
Archetypal loss: 0.9051
KLD loss: 0.0373
Reconstruction loss: 0.9051
Archetype R²: 0.0496
Archetype transform grad norm: 0.407915
Archetype transform param norm: 6.3704
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.8183 (range: 0.8183 - 0.8183)
archetypal_loss: 0.9051 (range: 0.9051 - 0.9051)
kld_loss: 0.0373 (range: 0.0373 - 0.0373)
reconstruction_loss: 0.9051 (range: 0.9051 - 0.9051)
archetype_r2: 0.0496 (range: 0.0496 - 0.0496)
Archetype Transform Summary:
archetype_transform_mean: -0.000338 (range: -0.000338 - -0.000338)
archetype_transform_std: 0.089212 (range: 0.089212 - 0.089212)
archetype_transform_norm: 6.370409 (range: 6.370409 - 6.370409)
archetype_transform_grad_norm: 0.407915 (range: 0.407915 - 0.407915)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0357, max=0.6744, mean=0.3333
Batch reconstruction MSE: 1.0676
Archetype stats: min=-7.6230, max=12.8463
Archetype change since last debug: 1.100391
Archetype gradients: norm=0.023582, mean=0.001567
Epoch 1/1
Average loss: 0.8171
Archetypal loss: 0.9030
KLD loss: 0.0441
Reconstruction loss: 0.9030
Archetype R²: 0.0516
Archetype transform grad norm: 0.385402
Archetype transform param norm: 6.3669
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.8171 (range: 0.8171 - 0.8171)
archetypal_loss: 0.9030 (range: 0.9030 - 0.9030)
kld_loss: 0.0441 (range: 0.0441 - 0.0441)
reconstruction_loss: 0.9030 (range: 0.9030 - 0.9030)
archetype_r2: 0.0516 (range: 0.0516 - 0.0516)
Archetype Transform Summary:
archetype_transform_mean: -0.000309 (range: -0.000309 - -0.000309)
archetype_transform_std: 0.089163 (range: 0.089163 - 0.089163)
archetype_transform_norm: 6.366936 (range: 6.366936 - 6.366936)
archetype_transform_grad_norm: 0.385402 (range: 0.385402 - 0.385402)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0358, max=0.6487, mean=0.3333
Batch reconstruction MSE: 1.1328
Archetype stats: min=-7.6872, max=12.8882
Archetype change since last debug: 0.581393
Archetype gradients: norm=0.018761, mean=0.001216
Epoch 1/1
Average loss: 0.8187
Archetypal loss: 0.9051
KLD loss: 0.0412
Reconstruction loss: 0.9051
Archetype R²: 0.0496
Archetype transform grad norm: 0.436346
Archetype transform param norm: 6.3691
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.8187 (range: 0.8187 - 0.8187)
archetypal_loss: 0.9051 (range: 0.9051 - 0.9051)
kld_loss: 0.0412 (range: 0.0412 - 0.0412)
reconstruction_loss: 0.9051 (range: 0.9051 - 0.9051)
archetype_r2: 0.0496 (range: 0.0496 - 0.0496)
Archetype Transform Summary:
archetype_transform_mean: -0.000336 (range: -0.000336 - -0.000336)
archetype_transform_std: 0.089193 (range: 0.089193 - 0.089193)
archetype_transform_norm: 6.369058 (range: 6.369058 - 6.369058)
archetype_transform_grad_norm: 0.436346 (range: 0.436346 - 0.436346)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0331, max=0.6295, mean=0.3333
Batch reconstruction MSE: 1.0847
Archetype stats: min=-7.6548, max=12.7947
Archetype change since last debug: 0.814566
Archetype gradients: norm=0.030715, mean=0.001966
Epoch 1/1
Average loss: 0.8173
Archetypal loss: 0.9034
KLD loss: 0.0425
Reconstruction loss: 0.9034
Archetype R²: 0.0513
Archetype transform grad norm: 0.388888
Archetype transform param norm: 6.3644
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.8173 (range: 0.8173 - 0.8173)
archetypal_loss: 0.9034 (range: 0.9034 - 0.9034)
kld_loss: 0.0425 (range: 0.0425 - 0.0425)
reconstruction_loss: 0.9034 (range: 0.9034 - 0.9034)
archetype_r2: 0.0513 (range: 0.0513 - 0.0513)
Archetype Transform Summary:
archetype_transform_mean: -0.000303 (range: -0.000303 - -0.000303)
archetype_transform_std: 0.089128 (range: 0.089128 - 0.089128)
archetype_transform_norm: 6.364436 (range: 6.364436 - 6.364436)
archetype_transform_grad_norm: 0.388888 (range: 0.388888 - 0.388888)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0345, max=0.5532, mean=0.3333
Batch reconstruction MSE: 1.0683
Archetype stats: min=-7.7832, max=12.7961
Archetype change since last debug: 0.512343
Archetype gradients: norm=0.025918, mean=0.001624
Epoch 1/1
Average loss: 0.8173
Archetypal loss: 0.9035
KLD loss: 0.0422
Reconstruction loss: 0.9035
Archetype R²: 0.0511
Archetype transform grad norm: 0.437910
Archetype transform param norm: 6.3798
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.8173 (range: 0.8173 - 0.8173)
archetypal_loss: 0.9035 (range: 0.9035 - 0.9035)
kld_loss: 0.0422 (range: 0.0422 - 0.0422)
reconstruction_loss: 0.9035 (range: 0.9035 - 0.9035)
archetype_r2: 0.0511 (range: 0.0511 - 0.0511)
Archetype Transform Summary:
archetype_transform_mean: -0.000335 (range: -0.000335 - -0.000335)
archetype_transform_std: 0.089343 (range: 0.089343 - 0.089343)
archetype_transform_norm: 6.379803 (range: 6.379803 - 6.379803)
archetype_transform_grad_norm: 0.437910 (range: 0.437910 - 0.437910)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0390, max=0.5506, mean=0.3333
Batch reconstruction MSE: 1.1031
Archetype stats: min=-7.9374, max=13.0087
Archetype change since last debug: 0.521671
Archetype gradients: norm=0.043248, mean=0.002475
Epoch 1/1
Average loss: 0.8176
Archetypal loss: 0.9040
KLD loss: 0.0406
Reconstruction loss: 0.9040
Archetype R²: 0.0507
Archetype transform grad norm: 0.409110
Archetype transform param norm: 6.3697
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.8176 (range: 0.8176 - 0.8176)
archetypal_loss: 0.9040 (range: 0.9040 - 0.9040)
kld_loss: 0.0406 (range: 0.0406 - 0.0406)
reconstruction_loss: 0.9040 (range: 0.9040 - 0.9040)
archetype_r2: 0.0507 (range: 0.0507 - 0.0507)
Archetype Transform Summary:
archetype_transform_mean: -0.000309 (range: -0.000309 - -0.000309)
archetype_transform_std: 0.089201 (range: 0.089201 - 0.089201)
archetype_transform_norm: 6.369664 (range: 6.369664 - 6.369664)
archetype_transform_grad_norm: 0.409110 (range: 0.409110 - 0.409110)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0426, max=0.5453, mean=0.3333
Batch reconstruction MSE: 1.0606
Archetype stats: min=-7.9405, max=13.0263
Archetype change since last debug: 0.352428
Archetype gradients: norm=0.027951, mean=0.001678
Epoch 1/1
Average loss: 0.8164
Archetypal loss: 0.9027
KLD loss: 0.0401
Reconstruction loss: 0.9027
Archetype R²: 0.0520
Archetype transform grad norm: 0.399729
Archetype transform param norm: 6.3886
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.8164 (range: 0.8164 - 0.8164)
archetypal_loss: 0.9027 (range: 0.9027 - 0.9027)
kld_loss: 0.0401 (range: 0.0401 - 0.0401)
reconstruction_loss: 0.9027 (range: 0.9027 - 0.9027)
archetype_r2: 0.0520 (range: 0.0520 - 0.0520)
Archetype Transform Summary:
archetype_transform_mean: -0.000315 (range: -0.000315 - -0.000315)
archetype_transform_std: 0.089467 (range: 0.089467 - 0.089467)
archetype_transform_norm: 6.388605 (range: 6.388605 - 6.388605)
archetype_transform_grad_norm: 0.399729 (range: 0.399729 - 0.399729)
Fold 2/3
Model input_dim: 50 (auto-detected from data)
Archetypes parameter registered: True
Archetypes requires_grad: True
Deep_AA (Deep Archetypal Analysis) initialized:
- Single-stage architecture (like Deep_2)
- Inflation factor: 1.5
- Direct archetypal coordinates (no bottleneck)
Consolidated Archetype Initialization
PCHA: True, Inflation: True (factor: 1.5)
Test inflation: False
Running PCHA initialization...
Input shape: (128, 50)
Target archetypes: 3
Running PCHA with 3 archetypes...
Data shape for PCHA: (50, 128)
PCHA Results:
Archetypes shape: (3, 50)
Archetype R²: 0.1330
SSE: 5061.5825
PCHA archetype R²: 0.1330
Archetype shape: (3, 50)
[OK] Initialized 3 archetypes using PCHA
Scalar Archetypal Inflation (factor: 1.50)
[OK] Inflation complete
[STATS] Positioning verification:
Data radius (max): 18.704
Data radius (mean): 6.201
Archetype distances: 4.520 to 23.760
Archetypes outside data: 1/3
Min archetype separation: 10.663
[OK] Archetype initialization complete (success: True)
[OK] Archetype initialization complete (PCHA: True, Inflation: 1.5)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0015, max=0.9782, mean=0.3333
Batch reconstruction MSE: 1.0667
Archetype stats: min=-2.1190, max=1.7094
Archetype gradients: norm=0.025937, mean=0.001373
Epoch 1/1
Average loss: 0.8654
Archetypal loss: 0.9577
KLD loss: 0.0351
Reconstruction loss: 0.9577
Archetype R²: -0.0195
Archetype transform grad norm: 0.228741
Archetype transform param norm: 5.8086
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.8654 (range: 0.8654 - 0.8654)
archetypal_loss: 0.9577 (range: 0.9577 - 0.9577)
kld_loss: 0.0351 (range: 0.0351 - 0.0351)
reconstruction_loss: 0.9577 (range: 0.9577 - 0.9577)
archetype_r2: -0.0195 (range: -0.0195 - -0.0195)
Archetype Transform Summary:
archetype_transform_mean: -0.000434 (range: -0.000434 - -0.000434)
archetype_transform_std: 0.081343 (range: 0.081343 - 0.081343)
archetype_transform_norm: 5.808597 (range: 5.808597 - 5.808597)
archetype_transform_grad_norm: 0.228741 (range: 0.228741 - 0.228741)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0000, max=0.9981, mean=0.3333
Batch reconstruction MSE: 0.8604
Archetype stats: min=-0.5790, max=0.6306
Archetype change since last debug: 6.044684
Archetype gradients: norm=0.009131, mean=0.000521
Epoch 1/1
Average loss: 0.8573
Archetypal loss: 0.9429
KLD loss: 0.0865
Reconstruction loss: 0.9429
Archetype R²: -0.0035
Archetype transform grad norm: 0.152993
Archetype transform param norm: 5.8128
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.8573 (range: 0.8573 - 0.8573)
archetypal_loss: 0.9429 (range: 0.9429 - 0.9429)
kld_loss: 0.0865 (range: 0.0865 - 0.0865)
reconstruction_loss: 0.9429 (range: 0.9429 - 0.9429)
archetype_r2: -0.0035 (range: -0.0035 - -0.0035)
Archetype Transform Summary:
archetype_transform_mean: -0.000183 (range: -0.000183 - -0.000183)
archetype_transform_std: 0.081403 (range: 0.081403 - 0.081403)
archetype_transform_norm: 5.812815 (range: 5.812815 - 5.812815)
archetype_transform_grad_norm: 0.152993 (range: 0.152993 - 0.152993)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0015, max=0.9895, mean=0.3333
Batch reconstruction MSE: 0.8680
Archetype stats: min=-0.8230, max=0.9715
Archetype change since last debug: 1.463101
Archetype gradients: norm=0.005586, mean=0.000363
Epoch 1/1
Average loss: 0.8436
Archetypal loss: 0.9294
KLD loss: 0.0713
Reconstruction loss: 0.9294
Archetype R²: 0.0109
Archetype transform grad norm: 0.172121
Archetype transform param norm: 5.8807
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.8436 (range: 0.8436 - 0.8436)
archetypal_loss: 0.9294 (range: 0.9294 - 0.9294)
kld_loss: 0.0713 (range: 0.0713 - 0.0713)
reconstruction_loss: 0.9294 (range: 0.9294 - 0.9294)
archetype_r2: 0.0109 (range: 0.0109 - 0.0109)
Archetype Transform Summary:
archetype_transform_mean: -0.000139 (range: -0.000139 - -0.000139)
archetype_transform_std: 0.082355 (range: 0.082355 - 0.082355)
archetype_transform_norm: 5.880725 (range: 5.880725 - 5.880725)
archetype_transform_grad_norm: 0.172121 (range: 0.172121 - 0.172121)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0016, max=0.9416, mean=0.3333
Batch reconstruction MSE: 0.9276
Archetype stats: min=-1.6899, max=2.0007
Archetype change since last debug: 4.412339
Archetype gradients: norm=0.019389, mean=0.000993
Epoch 1/1
Average loss: 0.8353
Archetypal loss: 0.9179
KLD loss: 0.0919
Reconstruction loss: 0.9179
Archetype R²: 0.0232
Archetype transform grad norm: 0.199014
Archetype transform param norm: 6.0326
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.8353 (range: 0.8353 - 0.8353)
archetypal_loss: 0.9179 (range: 0.9179 - 0.9179)
kld_loss: 0.0919 (range: 0.0919 - 0.0919)
reconstruction_loss: 0.9179 (range: 0.9179 - 0.9179)
archetype_r2: 0.0232 (range: 0.0232 - 0.0232)
Archetype Transform Summary:
archetype_transform_mean: 0.000065 (range: 0.000065 - 0.000065)
archetype_transform_std: 0.084481 (range: 0.084481 - 0.084481)
archetype_transform_norm: 6.032559 (range: 6.032559 - 6.032559)
archetype_transform_grad_norm: 0.199014 (range: 0.199014 - 0.199014)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0059, max=0.9742, mean=0.3333
Batch reconstruction MSE: 1.0242
Archetype stats: min=-2.3058, max=2.6908
Archetype change since last debug: 4.651152
Archetype gradients: norm=0.035145, mean=0.002056
Epoch 1/1
Average loss: 0.8316
Archetypal loss: 0.9139
KLD loss: 0.0914
Reconstruction loss: 0.9139
Archetype R²: 0.0272
Archetype transform grad norm: 0.230575
Archetype transform param norm: 6.1491
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.8316 (range: 0.8316 - 0.8316)
archetypal_loss: 0.9139 (range: 0.9139 - 0.9139)
kld_loss: 0.0914 (range: 0.0914 - 0.0914)
reconstruction_loss: 0.9139 (range: 0.9139 - 0.9139)
archetype_r2: 0.0272 (range: 0.0272 - 0.0272)
Archetype Transform Summary:
archetype_transform_mean: 0.000180 (range: 0.000180 - 0.000180)
archetype_transform_std: 0.086113 (range: 0.086113 - 0.086113)
archetype_transform_norm: 6.149134 (range: 6.149134 - 6.149134)
archetype_transform_grad_norm: 0.230575 (range: 0.230575 - 0.230575)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0064, max=0.9762, mean=0.3333
Batch reconstruction MSE: 1.2665
Archetype stats: min=-3.1435, max=3.0211
Archetype change since last debug: 2.691127
Archetype gradients: norm=0.123685, mean=0.005223
Epoch 1/1
Average loss: 0.8347
Archetypal loss: 0.9157
KLD loss: 0.1055
Reconstruction loss: 0.9157
Archetype R²: 0.0248
Archetype transform grad norm: 0.246398
Archetype transform param norm: 6.1954
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.8347 (range: 0.8347 - 0.8347)
archetypal_loss: 0.9157 (range: 0.9157 - 0.9157)
kld_loss: 0.1055 (range: 0.1055 - 0.1055)
reconstruction_loss: 0.9157 (range: 0.9157 - 0.9157)
archetype_r2: 0.0248 (range: 0.0248 - 0.0248)
Archetype Transform Summary:
archetype_transform_mean: 0.000245 (range: 0.000245 - 0.000245)
archetype_transform_std: 0.086761 (range: 0.086761 - 0.086761)
archetype_transform_norm: 6.195382 (range: 6.195382 - 6.195382)
archetype_transform_grad_norm: 0.246398 (range: 0.246398 - 0.246398)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0042, max=0.9914, mean=0.3333
Batch reconstruction MSE: 1.2632
Archetype stats: min=-3.7624, max=3.2776
Archetype change since last debug: 2.757004
Archetype gradients: norm=0.137968, mean=0.007015
Epoch 1/1
Average loss: 0.8349
Archetypal loss: 0.9133
KLD loss: 0.1284
Reconstruction loss: 0.9133
Archetype R²: 0.0275
Archetype transform grad norm: 0.240730
Archetype transform param norm: 6.1823
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.8349 (range: 0.8349 - 0.8349)
archetypal_loss: 0.9133 (range: 0.9133 - 0.9133)
kld_loss: 0.1284 (range: 0.1284 - 0.1284)
reconstruction_loss: 0.9133 (range: 0.9133 - 0.9133)
archetype_r2: 0.0275 (range: 0.0275 - 0.0275)
Archetype Transform Summary:
archetype_transform_mean: 0.000029 (range: 0.000029 - 0.000029)
archetype_transform_std: 0.086578 (range: 0.086578 - 0.086578)
archetype_transform_norm: 6.182286 (range: 6.182286 - 6.182286)
archetype_transform_grad_norm: 0.240730 (range: 0.240730 - 0.240730)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0088, max=0.9342, mean=0.3333
Batch reconstruction MSE: 1.0259
Archetype stats: min=-4.3581, max=3.0624
Archetype change since last debug: 2.001745
Archetype gradients: norm=0.035494, mean=0.002392
Epoch 1/1
Average loss: 0.8234
Archetypal loss: 0.9044
KLD loss: 0.0950
Reconstruction loss: 0.9044
Archetype R²: 0.0376
Archetype transform grad norm: 0.227965
Archetype transform param norm: 6.2201
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.8234 (range: 0.8234 - 0.8234)
archetypal_loss: 0.9044 (range: 0.9044 - 0.9044)
kld_loss: 0.0950 (range: 0.0950 - 0.0950)
reconstruction_loss: 0.9044 (range: 0.9044 - 0.9044)
archetype_r2: 0.0376 (range: 0.0376 - 0.0376)
Archetype Transform Summary:
archetype_transform_mean: 0.000145 (range: 0.000145 - 0.000145)
archetype_transform_std: 0.087107 (range: 0.087107 - 0.087107)
archetype_transform_norm: 6.220109 (range: 6.220109 - 6.220109)
archetype_transform_grad_norm: 0.227965 (range: 0.227965 - 0.227965)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0289, max=0.9064, mean=0.3333
Batch reconstruction MSE: 1.0113
Archetype stats: min=-5.2874, max=3.4391
Archetype change since last debug: 2.147430
Archetype gradients: norm=0.074401, mean=0.003997
Epoch 1/1
Average loss: 0.8190
Archetypal loss: 0.9010
KLD loss: 0.0808
Reconstruction loss: 0.9010
Archetype R²: 0.0413
Archetype transform grad norm: 0.219709
Archetype transform param norm: 6.2604
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.8190 (range: 0.8190 - 0.8190)
archetypal_loss: 0.9010 (range: 0.9010 - 0.9010)
kld_loss: 0.0808 (range: 0.0808 - 0.0808)
reconstruction_loss: 0.9010 (range: 0.9010 - 0.9010)
archetype_r2: 0.0413 (range: 0.0413 - 0.0413)
Archetype Transform Summary:
archetype_transform_mean: 0.000078 (range: 0.000078 - 0.000078)
archetype_transform_std: 0.087671 (range: 0.087671 - 0.087671)
archetype_transform_norm: 6.260382 (range: 6.260382 - 6.260382)
archetype_transform_grad_norm: 0.219709 (range: 0.219709 - 0.219709)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0342, max=0.8180, mean=0.3333
Batch reconstruction MSE: 0.9815
Archetype stats: min=-6.2101, max=3.8772
Archetype change since last debug: 2.045033
Archetype gradients: norm=0.022583, mean=0.001465
Epoch 1/1
Average loss: 0.8168
Archetypal loss: 0.8989
KLD loss: 0.0786
Reconstruction loss: 0.8989
Archetype R²: 0.0437
Archetype transform grad norm: 0.246345
Archetype transform param norm: 6.3101
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.8168 (range: 0.8168 - 0.8168)
archetypal_loss: 0.8989 (range: 0.8989 - 0.8989)
kld_loss: 0.0786 (range: 0.0786 - 0.0786)
reconstruction_loss: 0.8989 (range: 0.8989 - 0.8989)
archetype_r2: 0.0437 (range: 0.0437 - 0.0437)
Archetype Transform Summary:
archetype_transform_mean: 0.000172 (range: 0.000172 - 0.000172)
archetype_transform_std: 0.088368 (range: 0.088368 - 0.088368)
archetype_transform_norm: 6.310106 (range: 6.310106 - 6.310106)
archetype_transform_grad_norm: 0.246345 (range: 0.246345 - 0.246345)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0077, max=0.8406, mean=0.3333
Batch reconstruction MSE: 0.9419
Archetype stats: min=-6.9100, max=4.3732
Archetype change since last debug: 1.849512
Archetype gradients: norm=0.060141, mean=0.003671
Epoch 1/1
Average loss: 0.8147
Archetypal loss: 0.8964
KLD loss: 0.0795
Reconstruction loss: 0.8964
Archetype R²: 0.0465
Archetype transform grad norm: 0.235525
Archetype transform param norm: 6.3501
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.8147 (range: 0.8147 - 0.8147)
archetypal_loss: 0.8964 (range: 0.8964 - 0.8964)
kld_loss: 0.0795 (range: 0.0795 - 0.0795)
reconstruction_loss: 0.8964 (range: 0.8964 - 0.8964)
archetype_r2: 0.0465 (range: 0.0465 - 0.0465)
Archetype Transform Summary:
archetype_transform_mean: 0.000138 (range: 0.000138 - 0.000138)
archetype_transform_std: 0.088928 (range: 0.088928 - 0.088928)
archetype_transform_norm: 6.350150 (range: 6.350150 - 6.350150)
archetype_transform_grad_norm: 0.235525 (range: 0.235525 - 0.235525)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0169, max=0.9357, mean=0.3333
Batch reconstruction MSE: 1.1483
Archetype stats: min=-7.6712, max=4.8466
Archetype change since last debug: 1.689520
Archetype gradients: norm=0.064161, mean=0.003944
Epoch 1/1
Average loss: 0.8203
Archetypal loss: 0.9019
KLD loss: 0.0858
Reconstruction loss: 0.9019
Archetype R²: 0.0401
Archetype transform grad norm: 0.305617
Archetype transform param norm: 6.3681
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.8203 (range: 0.8203 - 0.8203)
archetypal_loss: 0.9019 (range: 0.9019 - 0.9019)
kld_loss: 0.0858 (range: 0.0858 - 0.0858)
reconstruction_loss: 0.9019 (range: 0.9019 - 0.9019)
archetype_r2: 0.0401 (range: 0.0401 - 0.0401)
Archetype Transform Summary:
archetype_transform_mean: 0.000187 (range: 0.000187 - 0.000187)
archetype_transform_std: 0.089180 (range: 0.089180 - 0.089180)
archetype_transform_norm: 6.368112 (range: 6.368112 - 6.368112)
archetype_transform_grad_norm: 0.305617 (range: 0.305617 - 0.305617)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0142, max=0.9176, mean=0.3333
Batch reconstruction MSE: 1.2338
Archetype stats: min=-7.2029, max=4.7565
Archetype change since last debug: 1.732388
Archetype gradients: norm=0.111202, mean=0.006708
Epoch 1/1
Average loss: 0.8197
Archetypal loss: 0.9014
KLD loss: 0.0838
Reconstruction loss: 0.9014
Archetype R²: 0.0404
Archetype transform grad norm: 0.240529
Archetype transform param norm: 6.3359
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.8197 (range: 0.8197 - 0.8197)
archetypal_loss: 0.9014 (range: 0.9014 - 0.9014)
kld_loss: 0.0838 (range: 0.0838 - 0.0838)
reconstruction_loss: 0.9014 (range: 0.9014 - 0.9014)
archetype_r2: 0.0404 (range: 0.0404 - 0.0404)
Archetype Transform Summary:
archetype_transform_mean: 0.000098 (range: 0.000098 - 0.000098)
archetype_transform_std: 0.088729 (range: 0.088729 - 0.088729)
archetype_transform_norm: 6.335885 (range: 6.335885 - 6.335885)
archetype_transform_grad_norm: 0.240529 (range: 0.240529 - 0.240529)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0191, max=0.7915, mean=0.3333
Batch reconstruction MSE: 1.0218
Archetype stats: min=-7.1208, max=4.5308
Archetype change since last debug: 1.138483
Archetype gradients: norm=0.048355, mean=0.002691
Epoch 1/1
Average loss: 0.8135
Archetypal loss: 0.8958
KLD loss: 0.0727
Reconstruction loss: 0.8958
Archetype R²: 0.0470
Archetype transform grad norm: 0.221167
Archetype transform param norm: 6.3601
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.8135 (range: 0.8135 - 0.8135)
archetypal_loss: 0.8958 (range: 0.8958 - 0.8958)
kld_loss: 0.0727 (range: 0.0727 - 0.0727)
reconstruction_loss: 0.8958 (range: 0.8958 - 0.8958)
archetype_r2: 0.0470 (range: 0.0470 - 0.0470)
Archetype Transform Summary:
archetype_transform_mean: 0.000084 (range: 0.000084 - 0.000084)
archetype_transform_std: 0.089068 (range: 0.089068 - 0.089068)
archetype_transform_norm: 6.360141 (range: 6.360141 - 6.360141)
archetype_transform_grad_norm: 0.221167 (range: 0.221167 - 0.221167)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0142, max=0.7810, mean=0.3333
Batch reconstruction MSE: 0.9469
Archetype stats: min=-7.5212, max=4.8420
Archetype change since last debug: 1.131843
Archetype gradients: norm=0.035052, mean=0.002102
Epoch 1/1
Average loss: 0.8113
Archetypal loss: 0.8935
KLD loss: 0.0722
Reconstruction loss: 0.8935
Archetype R²: 0.0496
Archetype transform grad norm: 0.220322
Archetype transform param norm: 6.3991
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.8113 (range: 0.8113 - 0.8113)
archetypal_loss: 0.8935 (range: 0.8935 - 0.8935)
kld_loss: 0.0722 (range: 0.0722 - 0.0722)
reconstruction_loss: 0.8935 (range: 0.8935 - 0.8935)
archetype_r2: 0.0496 (range: 0.0496 - 0.0496)
Archetype Transform Summary:
archetype_transform_mean: 0.000131 (range: 0.000131 - 0.000131)
archetype_transform_std: 0.089614 (range: 0.089614 - 0.089614)
archetype_transform_norm: 6.399096 (range: 6.399096 - 6.399096)
archetype_transform_grad_norm: 0.220322 (range: 0.220322 - 0.220322)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0376, max=0.7072, mean=0.3333
Batch reconstruction MSE: 0.9639
Archetype stats: min=-8.0543, max=5.1241
Archetype change since last debug: 1.278585
Archetype gradients: norm=0.020160, mean=0.001363
Epoch 1/1
Average loss: 0.8107
Archetypal loss: 0.8933
KLD loss: 0.0666
Reconstruction loss: 0.8933
Archetype R²: 0.0497
Archetype transform grad norm: 0.224622
Archetype transform param norm: 6.4340
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.8107 (range: 0.8107 - 0.8107)
archetypal_loss: 0.8933 (range: 0.8933 - 0.8933)
kld_loss: 0.0666 (range: 0.0666 - 0.0666)
reconstruction_loss: 0.8933 (range: 0.8933 - 0.8933)
archetype_r2: 0.0497 (range: 0.0497 - 0.0497)
Archetype Transform Summary:
archetype_transform_mean: 0.000177 (range: 0.000177 - 0.000177)
archetype_transform_std: 0.090102 (range: 0.090102 - 0.090102)
archetype_transform_norm: 6.433982 (range: 6.433982 - 6.433982)
archetype_transform_grad_norm: 0.224622 (range: 0.224622 - 0.224622)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0652, max=0.8414, mean=0.3333
Batch reconstruction MSE: 0.9141
Archetype stats: min=-8.4561, max=5.4337
Archetype change since last debug: 1.008699
Archetype gradients: norm=0.025401, mean=0.001337
Epoch 1/1
Average loss: 0.8096
Archetypal loss: 0.8922
KLD loss: 0.0658
Reconstruction loss: 0.8922
Archetype R²: 0.0510
Archetype transform grad norm: 0.230554
Archetype transform param norm: 6.4646
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.8096 (range: 0.8096 - 0.8096)
archetypal_loss: 0.8922 (range: 0.8922 - 0.8922)
kld_loss: 0.0658 (range: 0.0658 - 0.0658)
reconstruction_loss: 0.8922 (range: 0.8922 - 0.8922)
archetype_r2: 0.0510 (range: 0.0510 - 0.0510)
Archetype Transform Summary:
archetype_transform_mean: 0.000212 (range: 0.000212 - 0.000212)
archetype_transform_std: 0.090531 (range: 0.090531 - 0.090531)
archetype_transform_norm: 6.464568 (range: 6.464568 - 6.464568)
archetype_transform_grad_norm: 0.230554 (range: 0.230554 - 0.230554)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0550, max=0.6844, mean=0.3333
Batch reconstruction MSE: 0.9373
Archetype stats: min=-9.0289, max=5.7427
Archetype change since last debug: 1.137166
Archetype gradients: norm=0.027380, mean=0.001820
Epoch 1/1
Average loss: 0.8106
Archetypal loss: 0.8934
KLD loss: 0.0658
Reconstruction loss: 0.8934
Archetype R²: 0.0497
Archetype transform grad norm: 0.252197
Archetype transform param norm: 6.4871
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.8106 (range: 0.8106 - 0.8106)
archetypal_loss: 0.8934 (range: 0.8934 - 0.8934)
kld_loss: 0.0658 (range: 0.0658 - 0.0658)
reconstruction_loss: 0.8934 (range: 0.8934 - 0.8934)
archetype_r2: 0.0497 (range: 0.0497 - 0.0497)
Archetype Transform Summary:
archetype_transform_mean: 0.000188 (range: 0.000188 - 0.000188)
archetype_transform_std: 0.090846 (range: 0.090846 - 0.090846)
archetype_transform_norm: 6.487061 (range: 6.487061 - 6.487061)
archetype_transform_grad_norm: 0.252197 (range: 0.252197 - 0.252197)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0113, max=0.7984, mean=0.3333
Batch reconstruction MSE: 1.0086
Archetype stats: min=-9.2440, max=5.9264
Archetype change since last debug: 0.649651
Archetype gradients: norm=0.072384, mean=0.003774
Epoch 1/1
Average loss: 0.8123
Archetypal loss: 0.8950
KLD loss: 0.0677
Reconstruction loss: 0.8950
Archetype R²: 0.0479
Archetype transform grad norm: 0.262673
Archetype transform param norm: 6.4916
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.8123 (range: 0.8123 - 0.8123)
archetypal_loss: 0.8950 (range: 0.8950 - 0.8950)
kld_loss: 0.0677 (range: 0.0677 - 0.0677)
reconstruction_loss: 0.8950 (range: 0.8950 - 0.8950)
archetype_r2: 0.0479 (range: 0.0479 - 0.0479)
Archetype Transform Summary:
archetype_transform_mean: 0.000217 (range: 0.000217 - 0.000217)
archetype_transform_std: 0.090909 (range: 0.090909 - 0.090909)
archetype_transform_norm: 6.491611 (range: 6.491611 - 6.491611)
archetype_transform_grad_norm: 0.262673 (range: 0.262673 - 0.262673)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0114, max=0.9296, mean=0.3333
Batch reconstruction MSE: 1.1780
Archetype stats: min=-9.4543, max=5.7211
Archetype change since last debug: 0.909663
Archetype gradients: norm=0.060940, mean=0.003815
Epoch 1/1
Average loss: 0.8170
Archetypal loss: 0.8992
KLD loss: 0.0768
Reconstruction loss: 0.8992
Archetype R²: 0.0430
Archetype transform grad norm: 0.301477
Archetype transform param norm: 6.4782
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.8170 (range: 0.8170 - 0.8170)
archetypal_loss: 0.8992 (range: 0.8992 - 0.8992)
kld_loss: 0.0768 (range: 0.0768 - 0.0768)
reconstruction_loss: 0.8992 (range: 0.8992 - 0.8992)
archetype_r2: 0.0430 (range: 0.0430 - 0.0430)
Archetype Transform Summary:
archetype_transform_mean: 0.000144 (range: 0.000144 - 0.000144)
archetype_transform_std: 0.090722 (range: 0.090722 - 0.090722)
archetype_transform_norm: 6.478248 (range: 6.478248 - 6.478248)
archetype_transform_grad_norm: 0.301477 (range: 0.301477 - 0.301477)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0194, max=0.8285, mean=0.3333
Batch reconstruction MSE: 1.0606
Archetype stats: min=-8.6564, max=5.4122
Archetype change since last debug: 1.562082
Archetype gradients: norm=0.092267, mean=0.005753
Epoch 1/1
Average loss: 0.8128
Archetypal loss: 0.8954
KLD loss: 0.0690
Reconstruction loss: 0.8954
Archetype R²: 0.0473
Archetype transform grad norm: 0.242970
Archetype transform param norm: 6.4516
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.8128 (range: 0.8128 - 0.8128)
archetypal_loss: 0.8954 (range: 0.8954 - 0.8954)
kld_loss: 0.0690 (range: 0.0690 - 0.0690)
reconstruction_loss: 0.8954 (range: 0.8954 - 0.8954)
archetype_r2: 0.0473 (range: 0.0473 - 0.0473)
Archetype Transform Summary:
archetype_transform_mean: 0.000113 (range: 0.000113 - 0.000113)
archetype_transform_std: 0.090349 (range: 0.090349 - 0.090349)
archetype_transform_norm: 6.451556 (range: 6.451556 - 6.451556)
archetype_transform_grad_norm: 0.242970 (range: 0.242970 - 0.242970)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0292, max=0.7358, mean=0.3333
Batch reconstruction MSE: 0.9936
Archetype stats: min=-8.8780, max=5.3682
Archetype change since last debug: 0.511015
Archetype gradients: norm=0.035043, mean=0.002477
Epoch 1/1
Average loss: 0.8110
Archetypal loss: 0.8939
KLD loss: 0.0649
Reconstruction loss: 0.8939
Archetype R²: 0.0491
Archetype transform grad norm: 0.254292
Archetype transform param norm: 6.4752
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.8110 (range: 0.8110 - 0.8110)
archetypal_loss: 0.8939 (range: 0.8939 - 0.8939)
kld_loss: 0.0649 (range: 0.0649 - 0.0649)
reconstruction_loss: 0.8939 (range: 0.8939 - 0.8939)
archetype_r2: 0.0491 (range: 0.0491 - 0.0491)
Archetype Transform Summary:
archetype_transform_mean: 0.000214 (range: 0.000214 - 0.000214)
archetype_transform_std: 0.090679 (range: 0.090679 - 0.090679)
archetype_transform_norm: 6.475176 (range: 6.475176 - 6.475176)
archetype_transform_grad_norm: 0.254292 (range: 0.254292 - 0.254292)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0145, max=0.8344, mean=0.3333
Batch reconstruction MSE: 0.9717
Archetype stats: min=-8.8428, max=5.5094
Archetype change since last debug: 0.586224
Archetype gradients: norm=0.100704, mean=0.004949
Epoch 1/1
Average loss: 0.8108
Archetypal loss: 0.8933
KLD loss: 0.0690
Reconstruction loss: 0.8933
Archetype R²: 0.0498
Archetype transform grad norm: 0.240822
Archetype transform param norm: 6.4725
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.8108 (range: 0.8108 - 0.8108)
archetypal_loss: 0.8933 (range: 0.8933 - 0.8933)
kld_loss: 0.0690 (range: 0.0690 - 0.0690)
reconstruction_loss: 0.8933 (range: 0.8933 - 0.8933)
archetype_r2: 0.0498 (range: 0.0498 - 0.0498)
Archetype Transform Summary:
archetype_transform_mean: 0.000129 (range: 0.000129 - 0.000129)
archetype_transform_std: 0.090642 (range: 0.090642 - 0.090642)
archetype_transform_norm: 6.472475 (range: 6.472475 - 6.472475)
archetype_transform_grad_norm: 0.240822 (range: 0.240822 - 0.240822)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0220, max=0.9014, mean=0.3333
Batch reconstruction MSE: 1.0397
Archetype stats: min=-9.2285, max=5.7690
Archetype change since last debug: 0.939938
Archetype gradients: norm=0.052740, mean=0.003729
Epoch 1/1
Average loss: 0.8114
Archetypal loss: 0.8945
KLD loss: 0.0629
Reconstruction loss: 0.8945
Archetype R²: 0.0483
Archetype transform grad norm: 0.253273
Archetype transform param norm: 6.4820
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.8114 (range: 0.8114 - 0.8114)
archetypal_loss: 0.8945 (range: 0.8945 - 0.8945)
kld_loss: 0.0629 (range: 0.0629 - 0.0629)
reconstruction_loss: 0.8945 (range: 0.8945 - 0.8945)
archetype_r2: 0.0483 (range: 0.0483 - 0.0483)
Archetype Transform Summary:
archetype_transform_mean: 0.000248 (range: 0.000248 - 0.000248)
archetype_transform_std: 0.090775 (range: 0.090775 - 0.090775)
archetype_transform_norm: 6.482045 (range: 6.482045 - 6.482045)
archetype_transform_grad_norm: 0.253273 (range: 0.253273 - 0.253273)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0446, max=0.7339, mean=0.3333
Batch reconstruction MSE: 0.9059
Archetype stats: min=-9.1313, max=5.8210
Archetype change since last debug: 0.363334
Archetype gradients: norm=0.025420, mean=0.001469
Epoch 1/1
Average loss: 0.8078
Archetypal loss: 0.8909
KLD loss: 0.0593
Reconstruction loss: 0.8909
Archetype R²: 0.0525
Archetype transform grad norm: 0.223253
Archetype transform param norm: 6.4958
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.8078 (range: 0.8078 - 0.8078)
archetypal_loss: 0.8909 (range: 0.8909 - 0.8909)
kld_loss: 0.0593 (range: 0.0593 - 0.0593)
reconstruction_loss: 0.8909 (range: 0.8909 - 0.8909)
archetype_r2: 0.0525 (range: 0.0525 - 0.0525)
Archetype Transform Summary:
archetype_transform_mean: 0.000191 (range: 0.000191 - 0.000191)
archetype_transform_std: 0.090968 (range: 0.090968 - 0.090968)
archetype_transform_norm: 6.495789 (range: 6.495789 - 6.495789)
archetype_transform_grad_norm: 0.223253 (range: 0.223253 - 0.223253)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0447, max=0.6799, mean=0.3333
Batch reconstruction MSE: 0.8886
Archetype stats: min=-9.6516, max=6.1213
Archetype change since last debug: 1.052473
Archetype gradients: norm=0.021693, mean=0.001519
Epoch 1/1
Average loss: 0.8074
Archetypal loss: 0.8907
KLD loss: 0.0576
Reconstruction loss: 0.8907
Archetype R²: 0.0527
Archetype transform grad norm: 0.239617
Archetype transform param norm: 6.5281
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.8074 (range: 0.8074 - 0.8074)
archetypal_loss: 0.8907 (range: 0.8907 - 0.8907)
kld_loss: 0.0576 (range: 0.0576 - 0.0576)
reconstruction_loss: 0.8907 (range: 0.8907 - 0.8907)
archetype_r2: 0.0527 (range: 0.0527 - 0.0527)
Archetype Transform Summary:
archetype_transform_mean: 0.000254 (range: 0.000254 - 0.000254)
archetype_transform_std: 0.091420 (range: 0.091420 - 0.091420)
archetype_transform_norm: 6.528052 (range: 6.528052 - 6.528052)
archetype_transform_grad_norm: 0.239617 (range: 0.239617 - 0.239617)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0966, max=0.7246, mean=0.3333
Batch reconstruction MSE: 0.9090
Archetype stats: min=-9.9448, max=6.3467
Archetype change since last debug: 0.845584
Archetype gradients: norm=0.055248, mean=0.003179
Epoch 1/1
Average loss: 0.8078
Archetypal loss: 0.8913
KLD loss: 0.0564
Reconstruction loss: 0.8913
Archetype R²: 0.0520
Archetype transform grad norm: 0.246748
Archetype transform param norm: 6.5421
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.8078 (range: 0.8078 - 0.8078)
archetypal_loss: 0.8913 (range: 0.8913 - 0.8913)
kld_loss: 0.0564 (range: 0.0564 - 0.0564)
reconstruction_loss: 0.8913 (range: 0.8913 - 0.8913)
archetype_r2: 0.0520 (range: 0.0520 - 0.0520)
Archetype Transform Summary:
archetype_transform_mean: 0.000230 (range: 0.000230 - 0.000230)
archetype_transform_std: 0.091616 (range: 0.091616 - 0.091616)
archetype_transform_norm: 6.542090 (range: 6.542090 - 6.542090)
archetype_transform_grad_norm: 0.246748 (range: 0.246748 - 0.246748)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0666, max=0.7929, mean=0.3333
Batch reconstruction MSE: 0.9926
Archetype stats: min=-10.4139, max=6.5255
Archetype change since last debug: 0.830830
Archetype gradients: norm=0.053589, mean=0.003264
Epoch 1/1
Average loss: 0.8104
Archetypal loss: 0.8940
KLD loss: 0.0578
Reconstruction loss: 0.8940
Archetype R²: 0.0490
Archetype transform grad norm: 0.286253
Archetype transform param norm: 6.5537
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.8104 (range: 0.8104 - 0.8104)
archetypal_loss: 0.8940 (range: 0.8940 - 0.8940)
kld_loss: 0.0578 (range: 0.0578 - 0.0578)
reconstruction_loss: 0.8940 (range: 0.8940 - 0.8940)
archetype_r2: 0.0490 (range: 0.0490 - 0.0490)
Archetype Transform Summary:
archetype_transform_mean: 0.000303 (range: 0.000303 - 0.000303)
archetype_transform_std: 0.091779 (range: 0.091779 - 0.091779)
archetype_transform_norm: 6.553749 (range: 6.553749 - 6.553749)
archetype_transform_grad_norm: 0.286253 (range: 0.286253 - 0.286253)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0638, max=0.7779, mean=0.3333
Batch reconstruction MSE: 1.0830
Archetype stats: min=-9.9661, max=6.4809
Archetype change since last debug: 0.803718
Archetype gradients: norm=0.123646, mean=0.006905
Epoch 1/1
Average loss: 0.8118
Archetypal loss: 0.8955
KLD loss: 0.0592
Reconstruction loss: 0.8955
Archetype R²: 0.0473
Archetype transform grad norm: 0.256103
Archetype transform param norm: 6.5173
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.8118 (range: 0.8118 - 0.8118)
archetypal_loss: 0.8955 (range: 0.8955 - 0.8955)
kld_loss: 0.0592 (range: 0.0592 - 0.0592)
reconstruction_loss: 0.8955 (range: 0.8955 - 0.8955)
archetype_r2: 0.0473 (range: 0.0473 - 0.0473)
Archetype Transform Summary:
archetype_transform_mean: 0.000170 (range: 0.000170 - 0.000170)
archetype_transform_std: 0.091269 (range: 0.091269 - 0.091269)
archetype_transform_norm: 6.517285 (range: 6.517285 - 6.517285)
archetype_transform_grad_norm: 0.256103 (range: 0.256103 - 0.256103)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0458, max=0.8345, mean=0.3333
Batch reconstruction MSE: 1.0244
Archetype stats: min=-10.0820, max=6.3488
Archetype change since last debug: 0.761032
Archetype gradients: norm=0.025573, mean=0.001665
Epoch 1/1
Average loss: 0.8097
Archetypal loss: 0.8935
KLD loss: 0.0553
Reconstruction loss: 0.8935
Archetype R²: 0.0494
Archetype transform grad norm: 0.249720
Archetype transform param norm: 6.5233
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.8097 (range: 0.8097 - 0.8097)
archetypal_loss: 0.8935 (range: 0.8935 - 0.8935)
kld_loss: 0.0553 (range: 0.0553 - 0.0553)
reconstruction_loss: 0.8935 (range: 0.8935 - 0.8935)
archetype_r2: 0.0494 (range: 0.0494 - 0.0494)
Archetype Transform Summary:
archetype_transform_mean: 0.000248 (range: 0.000248 - 0.000248)
archetype_transform_std: 0.091353 (range: 0.091353 - 0.091353)
archetype_transform_norm: 6.523272 (range: 6.523272 - 6.523272)
archetype_transform_grad_norm: 0.249720 (range: 0.249720 - 0.249720)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.1141, max=0.7310, mean=0.3333
Batch reconstruction MSE: 0.8620
Archetype stats: min=-9.7335, max=6.4317
Archetype change since last debug: 0.620854
Archetype gradients: norm=0.024287, mean=0.001593
Epoch 1/1
Average loss: 0.8068
Archetypal loss: 0.8898
KLD loss: 0.0604
Reconstruction loss: 0.8898
Archetype R²: 0.0538
Archetype transform grad norm: 0.230050
Archetype transform param norm: 6.5450
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.8068 (range: 0.8068 - 0.8068)
archetypal_loss: 0.8898 (range: 0.8898 - 0.8898)
kld_loss: 0.0604 (range: 0.0604 - 0.0604)
reconstruction_loss: 0.8898 (range: 0.8898 - 0.8898)
archetype_r2: 0.0538 (range: 0.0538 - 0.0538)
Archetype Transform Summary:
archetype_transform_mean: 0.000253 (range: 0.000253 - 0.000253)
archetype_transform_std: 0.091657 (range: 0.091657 - 0.091657)
archetype_transform_norm: 6.544985 (range: 6.544985 - 6.544985)
archetype_transform_grad_norm: 0.230050 (range: 0.230050 - 0.230050)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0624, max=0.7926, mean=0.3333
Batch reconstruction MSE: 0.9686
Archetype stats: min=-10.3264, max=6.6505
Archetype change since last debug: 1.186885
Archetype gradients: norm=0.017682, mean=0.000966
Epoch 1/1
Average loss: 0.8079
Archetypal loss: 0.8921
KLD loss: 0.0504
Reconstruction loss: 0.8921
Archetype R²: 0.0511
Archetype transform grad norm: 0.243714
Archetype transform param norm: 6.5632
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.8079 (range: 0.8079 - 0.8079)
archetypal_loss: 0.8921 (range: 0.8921 - 0.8921)
kld_loss: 0.0504 (range: 0.0504 - 0.0504)
reconstruction_loss: 0.8921 (range: 0.8921 - 0.8921)
archetype_r2: 0.0511 (range: 0.0511 - 0.0511)
Archetype Transform Summary:
archetype_transform_mean: 0.000278 (range: 0.000278 - 0.000278)
archetype_transform_std: 0.091912 (range: 0.091912 - 0.091912)
archetype_transform_norm: 6.563213 (range: 6.563213 - 6.563213)
archetype_transform_grad_norm: 0.243714 (range: 0.243714 - 0.243714)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0945, max=0.7078, mean=0.3333
Batch reconstruction MSE: 0.8944
Archetype stats: min=-10.2476, max=6.6953
Archetype change since last debug: 0.314582
Archetype gradients: norm=0.027022, mean=0.001396
Epoch 1/1
Average loss: 0.8083
Archetypal loss: 0.8907
KLD loss: 0.0662
Reconstruction loss: 0.8907
Archetype R²: 0.0527
Archetype transform grad norm: 0.231764
Archetype transform param norm: 6.5772
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.8083 (range: 0.8083 - 0.8083)
archetypal_loss: 0.8907 (range: 0.8907 - 0.8907)
kld_loss: 0.0662 (range: 0.0662 - 0.0662)
reconstruction_loss: 0.8907 (range: 0.8907 - 0.8907)
archetype_r2: 0.0527 (range: 0.0527 - 0.0527)
Archetype Transform Summary:
archetype_transform_mean: 0.000266 (range: 0.000266 - 0.000266)
archetype_transform_std: 0.092108 (range: 0.092108 - 0.092108)
archetype_transform_norm: 6.577229 (range: 6.577229 - 6.577229)
archetype_transform_grad_norm: 0.231764 (range: 0.231764 - 0.231764)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0271, max=0.7995, mean=0.3333
Batch reconstruction MSE: 1.2425
Archetype stats: min=-10.5995, max=6.8182
Archetype change since last debug: 0.732854
Archetype gradients: norm=0.065197, mean=0.004077
Epoch 1/1
Average loss: 0.8131
Archetypal loss: 0.8979
KLD loss: 0.0502
Reconstruction loss: 0.8979
Archetype R²: 0.0443
Archetype transform grad norm: 0.241363
Archetype transform param norm: 6.5337
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.8131 (range: 0.8131 - 0.8131)
archetypal_loss: 0.8979 (range: 0.8979 - 0.8979)
kld_loss: 0.0502 (range: 0.0502 - 0.0502)
reconstruction_loss: 0.8979 (range: 0.8979 - 0.8979)
archetype_r2: 0.0443 (range: 0.0443 - 0.0443)
Archetype Transform Summary:
archetype_transform_mean: 0.000243 (range: 0.000243 - 0.000243)
archetype_transform_std: 0.091498 (range: 0.091498 - 0.091498)
archetype_transform_norm: 6.533667 (range: 6.533667 - 6.533667)
archetype_transform_grad_norm: 0.241363 (range: 0.241363 - 0.241363)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0629, max=0.6914, mean=0.3333
Batch reconstruction MSE: 0.8847
Archetype stats: min=-9.7809, max=6.2409
Archetype change since last debug: 1.979535
Archetype gradients: norm=0.018107, mean=0.001041
Epoch 1/1
Average loss: 0.8069
Archetypal loss: 0.8900
KLD loss: 0.0589
Reconstruction loss: 0.8900
Archetype R²: 0.0535
Archetype transform grad norm: 0.223778
Archetype transform param norm: 6.5433
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.8069 (range: 0.8069 - 0.8069)
archetypal_loss: 0.8900 (range: 0.8900 - 0.8900)
kld_loss: 0.0589 (range: 0.0589 - 0.0589)
reconstruction_loss: 0.8900 (range: 0.8900 - 0.8900)
archetype_r2: 0.0535 (range: 0.0535 - 0.0535)
Archetype Transform Summary:
archetype_transform_mean: 0.000228 (range: 0.000228 - 0.000228)
archetype_transform_std: 0.091633 (range: 0.091633 - 0.091633)
archetype_transform_norm: 6.543318 (range: 6.543318 - 6.543318)
archetype_transform_grad_norm: 0.223778 (range: 0.223778 - 0.223778)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0877, max=0.6589, mean=0.3333
Batch reconstruction MSE: 0.8877
Archetype stats: min=-10.2172, max=6.5185
Archetype change since last debug: 0.986527
Archetype gradients: norm=0.015201, mean=0.001038
Epoch 1/1
Average loss: 0.8064
Archetypal loss: 0.8901
KLD loss: 0.0532
Reconstruction loss: 0.8901
Archetype R²: 0.0534
Archetype transform grad norm: 0.232153
Archetype transform param norm: 6.5717
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.8064 (range: 0.8064 - 0.8064)
archetypal_loss: 0.8901 (range: 0.8901 - 0.8901)
kld_loss: 0.0532 (range: 0.0532 - 0.0532)
reconstruction_loss: 0.8901 (range: 0.8901 - 0.8901)
archetype_r2: 0.0534 (range: 0.0534 - 0.0534)
Archetype Transform Summary:
archetype_transform_mean: 0.000250 (range: 0.000250 - 0.000250)
archetype_transform_std: 0.092031 (range: 0.092031 - 0.092031)
archetype_transform_norm: 6.571709 (range: 6.571709 - 6.571709)
archetype_transform_grad_norm: 0.232153 (range: 0.232153 - 0.232153)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.1149, max=0.6647, mean=0.3333
Batch reconstruction MSE: 0.8585
Archetype stats: min=-10.5235, max=6.7735
Archetype change since last debug: 0.811702
Archetype gradients: norm=0.030243, mean=0.001579
Epoch 1/1
Average loss: 0.8063
Archetypal loss: 0.8897
KLD loss: 0.0553
Reconstruction loss: 0.8897
Archetype R²: 0.0539
Archetype transform grad norm: 0.238101
Archetype transform param norm: 6.5968
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.8063 (range: 0.8063 - 0.8063)
archetypal_loss: 0.8897 (range: 0.8897 - 0.8897)
kld_loss: 0.0553 (range: 0.0553 - 0.0553)
reconstruction_loss: 0.8897 (range: 0.8897 - 0.8897)
archetype_r2: 0.0539 (range: 0.0539 - 0.0539)
Archetype Transform Summary:
archetype_transform_mean: 0.000307 (range: 0.000307 - 0.000307)
archetype_transform_std: 0.092383 (range: 0.092383 - 0.092383)
archetype_transform_norm: 6.596843 (range: 6.596843 - 6.596843)
archetype_transform_grad_norm: 0.238101 (range: 0.238101 - 0.238101)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0714, max=0.7092, mean=0.3333
Batch reconstruction MSE: 0.9855
Archetype stats: min=-10.9947, max=6.9196
Archetype change since last debug: 0.947671
Archetype gradients: norm=0.047013, mean=0.003132
Epoch 1/1
Average loss: 0.8094
Archetypal loss: 0.8931
KLD loss: 0.0554
Reconstruction loss: 0.8931
Archetype R²: 0.0500
Archetype transform grad norm: 0.279825
Archetype transform param norm: 6.6080
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.8094 (range: 0.8094 - 0.8094)
archetypal_loss: 0.8931 (range: 0.8931 - 0.8931)
kld_loss: 0.0554 (range: 0.0554 - 0.0554)
reconstruction_loss: 0.8931 (range: 0.8931 - 0.8931)
archetype_r2: 0.0500 (range: 0.0500 - 0.0500)
Archetype Transform Summary:
archetype_transform_mean: 0.000259 (range: 0.000259 - 0.000259)
archetype_transform_std: 0.092540 (range: 0.092540 - 0.092540)
archetype_transform_norm: 6.608031 (range: 6.608031 - 6.608031)
archetype_transform_grad_norm: 0.279825 (range: 0.279825 - 0.279825)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0754, max=0.8086, mean=0.3333
Batch reconstruction MSE: 1.1016
Archetype stats: min=-10.6108, max=6.8260
Archetype change since last debug: 0.670841
Archetype gradients: norm=0.104818, mean=0.005994
Epoch 1/1
Average loss: 0.8122
Archetypal loss: 0.8958
KLD loss: 0.0600
Reconstruction loss: 0.8958
Archetype R²: 0.0469
Archetype transform grad norm: 0.269602
Archetype transform param norm: 6.5714
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.8122 (range: 0.8122 - 0.8122)
archetypal_loss: 0.8958 (range: 0.8958 - 0.8958)
kld_loss: 0.0600 (range: 0.0600 - 0.0600)
reconstruction_loss: 0.8958 (range: 0.8958 - 0.8958)
archetype_r2: 0.0469 (range: 0.0469 - 0.0469)
Archetype Transform Summary:
archetype_transform_mean: 0.000246 (range: 0.000246 - 0.000246)
archetype_transform_std: 0.092027 (range: 0.092027 - 0.092027)
archetype_transform_norm: 6.571420 (range: 6.571420 - 6.571420)
archetype_transform_grad_norm: 0.269602 (range: 0.269602 - 0.269602)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0826, max=0.8116, mean=0.3333
Batch reconstruction MSE: 1.0289
Archetype stats: min=-10.5002, max=6.5713
Archetype change since last debug: 1.486941
Archetype gradients: norm=0.040740, mean=0.002647
Epoch 1/1
Average loss: 0.8099
Archetypal loss: 0.8936
KLD loss: 0.0568
Reconstruction loss: 0.8936
Archetype R²: 0.0494
Archetype transform grad norm: 0.264541
Archetype transform param norm: 6.5744
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.8099 (range: 0.8099 - 0.8099)
archetypal_loss: 0.8936 (range: 0.8936 - 0.8936)
kld_loss: 0.0568 (range: 0.0568 - 0.0568)
reconstruction_loss: 0.8936 (range: 0.8936 - 0.8936)
archetype_r2: 0.0494 (range: 0.0494 - 0.0494)
Archetype Transform Summary:
archetype_transform_mean: 0.000211 (range: 0.000211 - 0.000211)
archetype_transform_std: 0.092068 (range: 0.092068 - 0.092068)
archetype_transform_norm: 6.574371 (range: 6.574371 - 6.574371)
archetype_transform_grad_norm: 0.264541 (range: 0.264541 - 0.264541)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0772, max=0.7378, mean=0.3333
Batch reconstruction MSE: 0.9343
Archetype stats: min=-9.9667, max=6.5907
Archetype change since last debug: 0.874008
Archetype gradients: norm=0.049883, mean=0.003273
Epoch 1/1
Average loss: 0.8076
Archetypal loss: 0.8912
KLD loss: 0.0552
Reconstruction loss: 0.8912
Archetype R²: 0.0521
Archetype transform grad norm: 0.236040
Archetype transform param norm: 6.5722
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.8076 (range: 0.8076 - 0.8076)
archetypal_loss: 0.8912 (range: 0.8912 - 0.8912)
kld_loss: 0.0552 (range: 0.0552 - 0.0552)
reconstruction_loss: 0.8912 (range: 0.8912 - 0.8912)
archetype_r2: 0.0521 (range: 0.0521 - 0.0521)
Archetype Transform Summary:
archetype_transform_mean: 0.000226 (range: 0.000226 - 0.000226)
archetype_transform_std: 0.092038 (range: 0.092038 - 0.092038)
archetype_transform_norm: 6.572169 (range: 6.572169 - 6.572169)
archetype_transform_grad_norm: 0.236040 (range: 0.236040 - 0.236040)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.1356, max=0.6475, mean=0.3333
Batch reconstruction MSE: 0.8962
Archetype stats: min=-10.3954, max=6.6602
Archetype change since last debug: 0.686947
Archetype gradients: norm=0.031602, mean=0.002175
Epoch 1/1
Average loss: 0.8072
Archetypal loss: 0.8906
KLD loss: 0.0574
Reconstruction loss: 0.8906
Archetype R²: 0.0529
Archetype transform grad norm: 0.257282
Archetype transform param norm: 6.6035
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.8072 (range: 0.8072 - 0.8072)
archetypal_loss: 0.8906 (range: 0.8906 - 0.8906)
kld_loss: 0.0574 (range: 0.0574 - 0.0574)
reconstruction_loss: 0.8906 (range: 0.8906 - 0.8906)
archetype_r2: 0.0529 (range: 0.0529 - 0.0529)
Archetype Transform Summary:
archetype_transform_mean: 0.000277 (range: 0.000277 - 0.000277)
archetype_transform_std: 0.092476 (range: 0.092476 - 0.092476)
archetype_transform_norm: 6.603482 (range: 6.603482 - 6.603482)
archetype_transform_grad_norm: 0.257282 (range: 0.257282 - 0.257282)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0892, max=0.7230, mean=0.3333
Batch reconstruction MSE: 1.0127
Archetype stats: min=-10.4447, max=6.8927
Archetype change since last debug: 0.723166
Archetype gradients: norm=0.081434, mean=0.005254
Epoch 1/1
Average loss: 0.8091
Archetypal loss: 0.8932
KLD loss: 0.0527
Reconstruction loss: 0.8932
Archetype R²: 0.0499
Archetype transform grad norm: 0.252143
Archetype transform param norm: 6.5850
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.8091 (range: 0.8091 - 0.8091)
archetypal_loss: 0.8932 (range: 0.8932 - 0.8932)
kld_loss: 0.0527 (range: 0.0527 - 0.0527)
reconstruction_loss: 0.8932 (range: 0.8932 - 0.8932)
archetype_r2: 0.0499 (range: 0.0499 - 0.0499)
Archetype Transform Summary:
archetype_transform_mean: 0.000234 (range: 0.000234 - 0.000234)
archetype_transform_std: 0.092218 (range: 0.092218 - 0.092218)
archetype_transform_norm: 6.585035 (range: 6.585035 - 6.585035)
archetype_transform_grad_norm: 0.252143 (range: 0.252143 - 0.252143)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.1238, max=0.7329, mean=0.3333
Batch reconstruction MSE: 0.9166
Archetype stats: min=-10.6323, max=6.7530
Archetype change since last debug: 0.534397
Archetype gradients: norm=0.014084, mean=0.000740
Epoch 1/1
Average loss: 0.8065
Archetypal loss: 0.8905
KLD loss: 0.0511
Reconstruction loss: 0.8905
Archetype R²: 0.0530
Archetype transform grad norm: 0.233781
Archetype transform param norm: 6.6093
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.8065 (range: 0.8065 - 0.8065)
archetypal_loss: 0.8905 (range: 0.8905 - 0.8905)
kld_loss: 0.0511 (range: 0.0511 - 0.0511)
reconstruction_loss: 0.8905 (range: 0.8905 - 0.8905)
archetype_r2: 0.0530 (range: 0.0530 - 0.0530)
Archetype Transform Summary:
archetype_transform_mean: 0.000294 (range: 0.000294 - 0.000294)
archetype_transform_std: 0.092557 (range: 0.092557 - 0.092557)
archetype_transform_norm: 6.609271 (range: 6.609271 - 6.609271)
archetype_transform_grad_norm: 0.233781 (range: 0.233781 - 0.233781)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.1045, max=0.6285, mean=0.3333
Batch reconstruction MSE: 0.8551
Archetype stats: min=-10.5419, max=6.9466
Archetype change since last debug: 0.704873
Archetype gradients: norm=0.022969, mean=0.001487
Epoch 1/1
Average loss: 0.8056
Archetypal loss: 0.8892
KLD loss: 0.0530
Reconstruction loss: 0.8892
Archetype R²: 0.0544
Archetype transform grad norm: 0.232228
Archetype transform param norm: 6.6299
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.8056 (range: 0.8056 - 0.8056)
archetypal_loss: 0.8892 (range: 0.8892 - 0.8892)
kld_loss: 0.0530 (range: 0.0530 - 0.0530)
reconstruction_loss: 0.8892 (range: 0.8892 - 0.8892)
archetype_r2: 0.0544 (range: 0.0544 - 0.0544)
Archetype Transform Summary:
archetype_transform_mean: 0.000322 (range: 0.000322 - 0.000322)
archetype_transform_std: 0.092845 (range: 0.092845 - 0.092845)
archetype_transform_norm: 6.629854 (range: 6.629854 - 6.629854)
archetype_transform_grad_norm: 0.232228 (range: 0.232228 - 0.232228)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.1271, max=0.6933, mean=0.3333
Batch reconstruction MSE: 0.9078
Archetype stats: min=-11.0637, max=7.1489
Archetype change since last debug: 0.977146
Archetype gradients: norm=0.020485, mean=0.001331
Epoch 1/1
Average loss: 0.8060
Archetypal loss: 0.8904
KLD loss: 0.0468
Reconstruction loss: 0.8904
Archetype R²: 0.0531
Archetype transform grad norm: 0.247026
Archetype transform param norm: 6.6523
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.8060 (range: 0.8060 - 0.8060)
archetypal_loss: 0.8904 (range: 0.8904 - 0.8904)
kld_loss: 0.0468 (range: 0.0468 - 0.0468)
reconstruction_loss: 0.8904 (range: 0.8904 - 0.8904)
archetype_r2: 0.0531 (range: 0.0531 - 0.0531)
Archetype Transform Summary:
archetype_transform_mean: 0.000355 (range: 0.000355 - 0.000355)
archetype_transform_std: 0.093160 (range: 0.093160 - 0.093160)
archetype_transform_norm: 6.652330 (range: 6.652330 - 6.652330)
archetype_transform_grad_norm: 0.247026 (range: 0.247026 - 0.247026)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0807, max=0.6462, mean=0.3333
Batch reconstruction MSE: 0.8749
Archetype stats: min=-11.0737, max=7.2642
Archetype change since last debug: 0.451485
Archetype gradients: norm=0.039631, mean=0.002567
Epoch 1/1
Average loss: 0.8062
Archetypal loss: 0.8899
KLD loss: 0.0532
Reconstruction loss: 0.8899
Archetype R²: 0.0537
Archetype transform grad norm: 0.242422
Archetype transform param norm: 6.6589
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.8062 (range: 0.8062 - 0.8062)
archetypal_loss: 0.8899 (range: 0.8899 - 0.8899)
kld_loss: 0.0532 (range: 0.0532 - 0.0532)
reconstruction_loss: 0.8899 (range: 0.8899 - 0.8899)
archetype_r2: 0.0537 (range: 0.0537 - 0.0537)
Archetype Transform Summary:
archetype_transform_mean: 0.000343 (range: 0.000343 - 0.000343)
archetype_transform_std: 0.093252 (range: 0.093252 - 0.093252)
archetype_transform_norm: 6.658933 (range: 6.658933 - 6.658933)
archetype_transform_grad_norm: 0.242422 (range: 0.242422 - 0.242422)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0297, max=0.8051, mean=0.3333
Batch reconstruction MSE: 1.1150
Archetype stats: min=-11.4818, max=7.3846
Archetype change since last debug: 0.698710
Archetype gradients: norm=0.031123, mean=0.001372
Epoch 1/1
Average loss: 0.8100
Archetypal loss: 0.8950
KLD loss: 0.0452
Reconstruction loss: 0.8950
Archetype R²: 0.0477
Archetype transform grad norm: 0.263369
Archetype transform param norm: 6.6385
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.8100 (range: 0.8100 - 0.8100)
archetypal_loss: 0.8950 (range: 0.8950 - 0.8950)
kld_loss: 0.0452 (range: 0.0452 - 0.0452)
reconstruction_loss: 0.8950 (range: 0.8950 - 0.8950)
archetype_r2: 0.0477 (range: 0.0477 - 0.0477)
Archetype Transform Summary:
archetype_transform_mean: 0.000345 (range: 0.000345 - 0.000345)
archetype_transform_std: 0.092967 (range: 0.092967 - 0.092967)
archetype_transform_norm: 6.638546 (range: 6.638546 - 6.638546)
archetype_transform_grad_norm: 0.263369 (range: 0.263369 - 0.263369)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.1072, max=0.6440, mean=0.3333
Batch reconstruction MSE: 0.8951
Archetype stats: min=-10.6829, max=6.9595
Archetype change since last debug: 1.674107
Archetype gradients: norm=0.022072, mean=0.001546
Epoch 1/1
Average loss: 0.8071
Archetypal loss: 0.8902
KLD loss: 0.0591
Reconstruction loss: 0.8902
Archetype R²: 0.0533
Archetype transform grad norm: 0.232827
Archetype transform param norm: 6.6343
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.8071 (range: 0.8071 - 0.8071)
archetypal_loss: 0.8902 (range: 0.8902 - 0.8902)
kld_loss: 0.0591 (range: 0.0591 - 0.0591)
reconstruction_loss: 0.8902 (range: 0.8902 - 0.8902)
archetype_r2: 0.0533 (range: 0.0533 - 0.0533)
Archetype Transform Summary:
archetype_transform_mean: 0.000338 (range: 0.000338 - 0.000338)
archetype_transform_std: 0.092907 (range: 0.092907 - 0.092907)
archetype_transform_norm: 6.634305 (range: 6.634305 - 6.634305)
archetype_transform_grad_norm: 0.232827 (range: 0.232827 - 0.232827)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0531, max=0.7926, mean=0.3333
Batch reconstruction MSE: 1.1264
Archetype stats: min=-10.9895, max=7.0469
Archetype change since last debug: 0.536944
Archetype gradients: norm=0.100922, mean=0.005473
Epoch 1/1
Average loss: 0.8102
Archetypal loss: 0.8950
KLD loss: 0.0476
Reconstruction loss: 0.8950
Archetype R²: 0.0477
Archetype transform grad norm: 0.234295
Archetype transform param norm: 6.5917
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.8102 (range: 0.8102 - 0.8102)
archetypal_loss: 0.8950 (range: 0.8950 - 0.8950)
kld_loss: 0.0476 (range: 0.0476 - 0.0476)
reconstruction_loss: 0.8950 (range: 0.8950 - 0.8950)
archetype_r2: 0.0477 (range: 0.0477 - 0.0477)
Archetype Transform Summary:
archetype_transform_mean: 0.000201 (range: 0.000201 - 0.000201)
archetype_transform_std: 0.092311 (range: 0.092311 - 0.092311)
archetype_transform_norm: 6.591692 (range: 6.591692 - 6.591692)
archetype_transform_grad_norm: 0.234295 (range: 0.234295 - 0.234295)
Fold 3/3
Model input_dim: 50 (auto-detected from data)
Archetypes parameter registered: True
Archetypes requires_grad: True
Deep_AA (Deep Archetypal Analysis) initialized:
- Single-stage architecture (like Deep_2)
- Inflation factor: 1.5
- Direct archetypal coordinates (no bottleneck)
Consolidated Archetype Initialization
PCHA: True, Inflation: True (factor: 1.5)
Test inflation: False
Running PCHA initialization...
Input shape: (128, 50)
Target archetypes: 3
Running PCHA with 3 archetypes...
Data shape for PCHA: (50, 128)
PCHA Results:
Archetypes shape: (3, 50)
Archetype R²: 0.2003
SSE: 5664.1298
PCHA archetype R²: 0.2003
Archetype shape: (3, 50)
[OK] Initialized 3 archetypes using PCHA
Scalar Archetypal Inflation (factor: 1.50)
[OK] Inflation complete
[STATS] Positioning verification:
Data radius (max): 24.766
Data radius (mean): 6.597
Archetype distances: 5.686 to 32.409
Archetypes outside data: 1/3
Min archetype separation: 25.796
[OK] Archetype initialization complete (success: True)
[OK] Archetype initialization complete (PCHA: True, Inflation: 1.5)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0002, max=0.9821, mean=0.3333
Batch reconstruction MSE: 1.0815
Archetype stats: min=-2.0324, max=1.7215
Archetype gradients: norm=0.028438, mean=0.001773
Epoch 1/1
Average loss: 0.8988
Archetypal loss: 0.9943
KLD loss: 0.0393
Reconstruction loss: 0.9943
Archetype R²: -0.0217
Archetype transform grad norm: 0.372549
Archetype transform param norm: 5.7630
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.8988 (range: 0.8988 - 0.8988)
archetypal_loss: 0.9943 (range: 0.9943 - 0.9943)
kld_loss: 0.0393 (range: 0.0393 - 0.0393)
reconstruction_loss: 0.9943 (range: 0.9943 - 0.9943)
archetype_r2: -0.0217 (range: -0.0217 - -0.0217)
Archetype Transform Summary:
archetype_transform_mean: -0.000675 (range: -0.000675 - -0.000675)
archetype_transform_std: 0.080703 (range: 0.080703 - 0.080703)
archetype_transform_norm: 5.763001 (range: 5.763001 - 5.763001)
archetype_transform_grad_norm: 0.372549 (range: 0.372549 - 0.372549)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0026, max=0.9932, mean=0.3333
Batch reconstruction MSE: 0.8601
Archetype stats: min=-0.8657, max=0.9507
Archetype change since last debug: 6.961783
Archetype gradients: norm=0.004396, mean=0.000289
Epoch 1/1
Average loss: 0.8761
Archetypal loss: 0.9660
KLD loss: 0.0669
Reconstruction loss: 0.9660
Archetype R²: 0.0074
Archetype transform grad norm: 0.240110
Archetype transform param norm: 5.7797
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.8761 (range: 0.8761 - 0.8761)
archetypal_loss: 0.9660 (range: 0.9660 - 0.9660)
kld_loss: 0.0669 (range: 0.0669 - 0.0669)
reconstruction_loss: 0.9660 (range: 0.9660 - 0.9660)
archetype_r2: 0.0074 (range: 0.0074 - 0.0074)
Archetype Transform Summary:
archetype_transform_mean: -0.000613 (range: -0.000613 - -0.000613)
archetype_transform_std: 0.080938 (range: 0.080938 - 0.080938)
archetype_transform_norm: 5.779729 (range: 5.779729 - 5.779729)
archetype_transform_grad_norm: 0.240110 (range: 0.240110 - 0.240110)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0025, max=0.9712, mean=0.3333
Batch reconstruction MSE: 0.9249
Archetype stats: min=-1.6550, max=1.7987
Archetype change since last debug: 3.978965
Archetype gradients: norm=0.008308, mean=0.000533
Epoch 1/1
Average loss: 0.8661
Archetypal loss: 0.9542
KLD loss: 0.0732
Reconstruction loss: 0.9542
Archetype R²: 0.0194
Archetype transform grad norm: 0.267962
Archetype transform param norm: 5.8563
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.8661 (range: 0.8661 - 0.8661)
archetypal_loss: 0.9542 (range: 0.9542 - 0.9542)
kld_loss: 0.0732 (range: 0.0732 - 0.0732)
reconstruction_loss: 0.9542 (range: 0.9542 - 0.9542)
archetype_r2: 0.0194 (range: 0.0194 - 0.0194)
Archetype Transform Summary:
archetype_transform_mean: -0.000290 (range: -0.000290 - -0.000290)
archetype_transform_std: 0.082012 (range: 0.082012 - 0.082012)
archetype_transform_norm: 5.856311 (range: 5.856311 - 5.856311)
archetype_transform_grad_norm: 0.267962 (range: 0.267962 - 0.267962)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0086, max=0.8950, mean=0.3333
Batch reconstruction MSE: 0.9390
Archetype stats: min=-2.7821, max=2.6558
Archetype change since last debug: 4.525414
Archetype gradients: norm=0.020538, mean=0.001195
Epoch 1/1
Average loss: 0.8574
Archetypal loss: 0.9433
KLD loss: 0.0840
Reconstruction loss: 0.9433
Archetype R²: 0.0306
Archetype transform grad norm: 0.293371
Archetype transform param norm: 5.9787
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.8574 (range: 0.8574 - 0.8574)
archetypal_loss: 0.9433 (range: 0.9433 - 0.9433)
kld_loss: 0.0840 (range: 0.0840 - 0.0840)
reconstruction_loss: 0.9433 (range: 0.9433 - 0.9433)
archetype_r2: 0.0306 (range: 0.0306 - 0.0306)
Archetype Transform Summary:
archetype_transform_mean: 0.000161 (range: 0.000161 - 0.000161)
archetype_transform_std: 0.083726 (range: 0.083726 - 0.083726)
archetype_transform_norm: 5.978677 (range: 5.978677 - 5.978677)
archetype_transform_grad_norm: 0.293371 (range: 0.293371 - 0.293371)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0079, max=0.9507, mean=0.3333
Batch reconstruction MSE: 1.0508
Archetype stats: min=-4.5156, max=3.5934
Archetype change since last debug: 4.418350
Archetype gradients: norm=0.029249, mean=0.001759
Epoch 1/1
Average loss: 0.8534
Archetypal loss: 0.9395
KLD loss: 0.0782
Reconstruction loss: 0.9395
Archetype R²: 0.0342
Archetype transform grad norm: 0.303576
Archetype transform param norm: 6.0677
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.8534 (range: 0.8534 - 0.8534)
archetypal_loss: 0.9395 (range: 0.9395 - 0.9395)
kld_loss: 0.0782 (range: 0.0782 - 0.0782)
reconstruction_loss: 0.9395 (range: 0.9395 - 0.9395)
archetype_r2: 0.0342 (range: 0.0342 - 0.0342)
Archetype Transform Summary:
archetype_transform_mean: 0.000482 (range: 0.000482 - 0.000482)
archetype_transform_std: 0.084971 (range: 0.084971 - 0.084971)
archetype_transform_norm: 6.067682 (range: 6.067682 - 6.067682)
archetype_transform_grad_norm: 0.303576 (range: 0.303576 - 0.303576)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0100, max=0.9222, mean=0.3333
Batch reconstruction MSE: 0.9929
Archetype stats: min=-5.6707, max=4.2028
Archetype change since last debug: 3.064281
Archetype gradients: norm=0.033672, mean=0.001935
Epoch 1/1
Average loss: 0.8493
Archetypal loss: 0.9348
KLD loss: 0.0799
Reconstruction loss: 0.9348
Archetype R²: 0.0393
Archetype transform grad norm: 0.311251
Archetype transform param norm: 6.1243
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.8493 (range: 0.8493 - 0.8493)
archetypal_loss: 0.9348 (range: 0.9348 - 0.9348)
kld_loss: 0.0799 (range: 0.0799 - 0.0799)
reconstruction_loss: 0.9348 (range: 0.9348 - 0.9348)
archetype_r2: 0.0393 (range: 0.0393 - 0.0393)
Archetype Transform Summary:
archetype_transform_mean: 0.000692 (range: 0.000692 - 0.000692)
archetype_transform_std: 0.085763 (range: 0.085763 - 0.085763)
archetype_transform_norm: 6.124317 (range: 6.124317 - 6.124317)
archetype_transform_grad_norm: 0.311251 (range: 0.311251 - 0.311251)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0353, max=0.7648, mean=0.3333
Batch reconstruction MSE: 1.0368
Archetype stats: min=-6.6637, max=4.7105
Archetype change since last debug: 2.507955
Archetype gradients: norm=0.025619, mean=0.001550
Epoch 1/1
Average loss: 0.8467
Archetypal loss: 0.9328
KLD loss: 0.0717
Reconstruction loss: 0.9328
Archetype R²: 0.0412
Archetype transform grad norm: 0.314982
Archetype transform param norm: 6.1703
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.8467 (range: 0.8467 - 0.8467)
archetypal_loss: 0.9328 (range: 0.9328 - 0.9328)
kld_loss: 0.0717 (range: 0.0717 - 0.0717)
reconstruction_loss: 0.9328 (range: 0.9328 - 0.9328)
archetype_r2: 0.0412 (range: 0.0412 - 0.0412)
Archetype Transform Summary:
archetype_transform_mean: 0.000863 (range: 0.000863 - 0.000863)
archetype_transform_std: 0.086405 (range: 0.086405 - 0.086405)
archetype_transform_norm: 6.170278 (range: 6.170278 - 6.170278)
archetype_transform_grad_norm: 0.314982 (range: 0.314982 - 0.314982)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0234, max=0.9238, mean=0.3333
Batch reconstruction MSE: 0.9848
Archetype stats: min=-7.5141, max=5.1529
Archetype change since last debug: 2.099261
Archetype gradients: norm=0.043839, mean=0.002481
Epoch 1/1
Average loss: 0.8456
Archetypal loss: 0.9307
KLD loss: 0.0795
Reconstruction loss: 0.9307
Archetype R²: 0.0435
Archetype transform grad norm: 0.321476
Archetype transform param norm: 6.1999
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.8456 (range: 0.8456 - 0.8456)
archetypal_loss: 0.9307 (range: 0.9307 - 0.9307)
kld_loss: 0.0795 (range: 0.0795 - 0.0795)
reconstruction_loss: 0.9307 (range: 0.9307 - 0.9307)
archetype_r2: 0.0435 (range: 0.0435 - 0.0435)
Archetype Transform Summary:
archetype_transform_mean: 0.000969 (range: 0.000969 - 0.000969)
archetype_transform_std: 0.086818 (range: 0.086818 - 0.086818)
archetype_transform_norm: 6.199851 (range: 6.199851 - 6.199851)
archetype_transform_grad_norm: 0.321476 (range: 0.321476 - 0.321476)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0354, max=0.7160, mean=0.3333
Batch reconstruction MSE: 1.0050
Archetype stats: min=-7.9753, max=5.2675
Archetype change since last debug: 1.455931
Archetype gradients: norm=0.027840, mean=0.001769
Epoch 1/1
Average loss: 0.8443
Archetypal loss: 0.9303
KLD loss: 0.0698
Reconstruction loss: 0.9303
Archetype R²: 0.0438
Archetype transform grad norm: 0.337833
Archetype transform param norm: 6.2320
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.8443 (range: 0.8443 - 0.8443)
archetypal_loss: 0.9303 (range: 0.9303 - 0.9303)
kld_loss: 0.0698 (range: 0.0698 - 0.0698)
reconstruction_loss: 0.9303 (range: 0.9303 - 0.9303)
archetype_r2: 0.0438 (range: 0.0438 - 0.0438)
Archetype Transform Summary:
archetype_transform_mean: 0.001138 (range: 0.001138 - 0.001138)
archetype_transform_std: 0.087267 (range: 0.087267 - 0.087267)
archetype_transform_norm: 6.232012 (range: 6.232012 - 6.232012)
archetype_transform_grad_norm: 0.337833 (range: 0.337833 - 0.337833)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0278, max=0.7559, mean=0.3333
Batch reconstruction MSE: 0.9392
Archetype stats: min=-8.4165, max=5.4074
Archetype change since last debug: 1.398787
Archetype gradients: norm=0.040493, mean=0.002408
Epoch 1/1
Average loss: 0.8422
Archetypal loss: 0.9278
KLD loss: 0.0715
Reconstruction loss: 0.9278
Archetype R²: 0.0466
Archetype transform grad norm: 0.331749
Archetype transform param norm: 6.2596
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.8422 (range: 0.8422 - 0.8422)
archetypal_loss: 0.9278 (range: 0.9278 - 0.9278)
kld_loss: 0.0715 (range: 0.0715 - 0.0715)
reconstruction_loss: 0.9278 (range: 0.9278 - 0.9278)
archetype_r2: 0.0466 (range: 0.0466 - 0.0466)
Archetype Transform Summary:
archetype_transform_mean: 0.001209 (range: 0.001209 - 0.001209)
archetype_transform_std: 0.087652 (range: 0.087652 - 0.087652)
archetype_transform_norm: 6.259619 (range: 6.259619 - 6.259619)
archetype_transform_grad_norm: 0.331749 (range: 0.331749 - 0.331749)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0392, max=0.7818, mean=0.3333
Batch reconstruction MSE: 0.9551
Archetype stats: min=-8.8809, max=5.5758
Archetype change since last debug: 1.207538
Archetype gradients: norm=0.023779, mean=0.001296
Epoch 1/1
Average loss: 0.8415
Archetypal loss: 0.9277
KLD loss: 0.0665
Reconstruction loss: 0.9277
Archetype R²: 0.0467
Archetype transform grad norm: 0.343743
Archetype transform param norm: 6.2907
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.8415 (range: 0.8415 - 0.8415)
archetypal_loss: 0.9277 (range: 0.9277 - 0.9277)
kld_loss: 0.0665 (range: 0.0665 - 0.0665)
reconstruction_loss: 0.9277 (range: 0.9277 - 0.9277)
archetype_r2: 0.0467 (range: 0.0467 - 0.0467)
Archetype Transform Summary:
archetype_transform_mean: 0.001372 (range: 0.001372 - 0.001372)
archetype_transform_std: 0.088086 (range: 0.088086 - 0.088086)
archetype_transform_norm: 6.290727 (range: 6.290727 - 6.290727)
archetype_transform_grad_norm: 0.343743 (range: 0.343743 - 0.343743)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0342, max=0.8423, mean=0.3333
Batch reconstruction MSE: 0.9715
Archetype stats: min=-9.3968, max=5.6834
Archetype change since last debug: 1.182747
Archetype gradients: norm=0.041852, mean=0.002629
Epoch 1/1
Average loss: 0.8415
Archetypal loss: 0.9276
KLD loss: 0.0664
Reconstruction loss: 0.9276
Archetype R²: 0.0466
Archetype transform grad norm: 0.339085
Archetype transform param norm: 6.3045
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.8415 (range: 0.8415 - 0.8415)
archetypal_loss: 0.9276 (range: 0.9276 - 0.9276)
kld_loss: 0.0664 (range: 0.0664 - 0.0664)
reconstruction_loss: 0.9276 (range: 0.9276 - 0.9276)
archetype_r2: 0.0466 (range: 0.0466 - 0.0466)
Archetype Transform Summary:
archetype_transform_mean: 0.001387 (range: 0.001387 - 0.001387)
archetype_transform_std: 0.088278 (range: 0.088278 - 0.088278)
archetype_transform_norm: 6.304484 (range: 6.304484 - 6.304484)
archetype_transform_grad_norm: 0.339085 (range: 0.339085 - 0.339085)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0481, max=0.7759, mean=0.3333
Batch reconstruction MSE: 0.9594
Archetype stats: min=-9.4808, max=5.7122
Archetype change since last debug: 0.698828
Archetype gradients: norm=0.049417, mean=0.002962
Epoch 1/1
Average loss: 0.8408
Archetypal loss: 0.9268
KLD loss: 0.0661
Reconstruction loss: 0.9268
Archetype R²: 0.0475
Archetype transform grad norm: 0.332126
Archetype transform param norm: 6.3168
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.8408 (range: 0.8408 - 0.8408)
archetypal_loss: 0.9268 (range: 0.9268 - 0.9268)
kld_loss: 0.0661 (range: 0.0661 - 0.0661)
reconstruction_loss: 0.9268 (range: 0.9268 - 0.9268)
archetype_r2: 0.0475 (range: 0.0475 - 0.0475)
Archetype Transform Summary:
archetype_transform_mean: 0.001491 (range: 0.001491 - 0.001491)
archetype_transform_std: 0.088449 (range: 0.088449 - 0.088449)
archetype_transform_norm: 6.316792 (range: 6.316792 - 6.316792)
archetype_transform_grad_norm: 0.332126 (range: 0.332126 - 0.332126)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0394, max=0.8320, mean=0.3333
Batch reconstruction MSE: 1.0597
Archetype stats: min=-9.8370, max=5.8554
Archetype change since last debug: 0.884514
Archetype gradients: norm=0.038924, mean=0.002047
Epoch 1/1
Average loss: 0.8428
Archetypal loss: 0.9293
KLD loss: 0.0639
Reconstruction loss: 0.9293
Archetype R²: 0.0447
Archetype transform grad norm: 0.347833
Archetype transform param norm: 6.3248
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.8428 (range: 0.8428 - 0.8428)
archetypal_loss: 0.9293 (range: 0.9293 - 0.9293)
kld_loss: 0.0639 (range: 0.0639 - 0.0639)
reconstruction_loss: 0.9293 (range: 0.9293 - 0.9293)
archetype_r2: 0.0447 (range: 0.0447 - 0.0447)
Archetype Transform Summary:
archetype_transform_mean: 0.001553 (range: 0.001553 - 0.001553)
archetype_transform_std: 0.088560 (range: 0.088560 - 0.088560)
archetype_transform_norm: 6.324769 (range: 6.324769 - 6.324769)
archetype_transform_grad_norm: 0.347833 (range: 0.347833 - 0.347833)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0425, max=0.8145, mean=0.3333
Batch reconstruction MSE: 0.9780
Archetype stats: min=-9.4255, max=5.7994
Archetype change since last debug: 0.952670
Archetype gradients: norm=0.062680, mean=0.003539
Epoch 1/1
Average loss: 0.8408
Archetypal loss: 0.9270
KLD loss: 0.0645
Reconstruction loss: 0.9270
Archetype R²: 0.0472
Archetype transform grad norm: 0.329932
Archetype transform param norm: 6.3116
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.8408 (range: 0.8408 - 0.8408)
archetypal_loss: 0.9270 (range: 0.9270 - 0.9270)
kld_loss: 0.0645 (range: 0.0645 - 0.0645)
reconstruction_loss: 0.9270 (range: 0.9270 - 0.9270)
archetype_r2: 0.0472 (range: 0.0472 - 0.0472)
Archetype Transform Summary:
archetype_transform_mean: 0.001552 (range: 0.001552 - 0.001552)
archetype_transform_std: 0.088375 (range: 0.088375 - 0.088375)
archetype_transform_norm: 6.311602 (range: 6.311602 - 6.311602)
archetype_transform_grad_norm: 0.329932 (range: 0.329932 - 0.329932)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0598, max=0.7055, mean=0.3333
Batch reconstruction MSE: 0.9569
Archetype stats: min=-9.7335, max=5.9561
Archetype change since last debug: 0.743638
Archetype gradients: norm=0.027718, mean=0.001581
Epoch 1/1
Average loss: 0.8396
Archetypal loss: 0.9261
KLD loss: 0.0605
Reconstruction loss: 0.9261
Archetype R²: 0.0482
Archetype transform grad norm: 0.328171
Archetype transform param norm: 6.3387
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.8396 (range: 0.8396 - 0.8396)
archetypal_loss: 0.9261 (range: 0.9261 - 0.9261)
kld_loss: 0.0605 (range: 0.0605 - 0.0605)
reconstruction_loss: 0.9261 (range: 0.9261 - 0.9261)
archetype_r2: 0.0482 (range: 0.0482 - 0.0482)
Archetype Transform Summary:
archetype_transform_mean: 0.001631 (range: 0.001631 - 0.001631)
archetype_transform_std: 0.088753 (range: 0.088753 - 0.088753)
archetype_transform_norm: 6.338671 (range: 6.338671 - 6.338671)
archetype_transform_grad_norm: 0.328171 (range: 0.328171 - 0.328171)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0485, max=0.7543, mean=0.3333
Batch reconstruction MSE: 0.9077
Archetype stats: min=-9.7360, max=5.9686
Archetype change since last debug: 0.740857
Archetype gradients: norm=0.070004, mean=0.003612
Epoch 1/1
Average loss: 0.8394
Archetypal loss: 0.9257
KLD loss: 0.0633
Reconstruction loss: 0.9257
Archetype R²: 0.0488
Archetype transform grad norm: 0.340697
Archetype transform param norm: 6.3402
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.8394 (range: 0.8394 - 0.8394)
archetypal_loss: 0.9257 (range: 0.9257 - 0.9257)
kld_loss: 0.0633 (range: 0.0633 - 0.0633)
reconstruction_loss: 0.9257 (range: 0.9257 - 0.9257)
archetype_r2: 0.0488 (range: 0.0488 - 0.0488)
Archetype Transform Summary:
archetype_transform_mean: 0.001650 (range: 0.001650 - 0.001650)
archetype_transform_std: 0.088773 (range: 0.088773 - 0.088773)
archetype_transform_norm: 6.340155 (range: 6.340155 - 6.340155)
archetype_transform_grad_norm: 0.340697 (range: 0.340697 - 0.340697)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0635, max=0.6715, mean=0.3333
Batch reconstruction MSE: 0.9257
Archetype stats: min=-10.1434, max=6.1525
Archetype change since last debug: 0.848550
Archetype gradients: norm=0.042990, mean=0.002580
Epoch 1/1
Average loss: 0.8390
Archetypal loss: 0.9255
KLD loss: 0.0604
Reconstruction loss: 0.9255
Archetype R²: 0.0489
Archetype transform grad norm: 0.343328
Archetype transform param norm: 6.3695
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.8390 (range: 0.8390 - 0.8390)
archetypal_loss: 0.9255 (range: 0.9255 - 0.9255)
kld_loss: 0.0604 (range: 0.0604 - 0.0604)
reconstruction_loss: 0.9255 (range: 0.9255 - 0.9255)
archetype_r2: 0.0489 (range: 0.0489 - 0.0489)
Archetype Transform Summary:
archetype_transform_mean: 0.001773 (range: 0.001773 - 0.001773)
archetype_transform_std: 0.089182 (range: 0.089182 - 0.089182)
archetype_transform_norm: 6.369509 (range: 6.369509 - 6.369509)
archetype_transform_grad_norm: 0.343328 (range: 0.343328 - 0.343328)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0249, max=0.7507, mean=0.3333
Batch reconstruction MSE: 0.9750
Archetype stats: min=-10.2039, max=6.2973
Archetype change since last debug: 0.617961
Archetype gradients: norm=0.067585, mean=0.003506
Epoch 1/1
Average loss: 0.8389
Archetypal loss: 0.9262
KLD loss: 0.0534
Reconstruction loss: 0.9262
Archetype R²: 0.0481
Archetype transform grad norm: 0.328063
Archetype transform param norm: 6.3581
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.8389 (range: 0.8389 - 0.8389)
archetypal_loss: 0.9262 (range: 0.9262 - 0.9262)
kld_loss: 0.0534 (range: 0.0534 - 0.0534)
reconstruction_loss: 0.9262 (range: 0.9262 - 0.9262)
archetype_r2: 0.0481 (range: 0.0481 - 0.0481)
Archetype Transform Summary:
archetype_transform_mean: 0.001718 (range: 0.001718 - 0.001718)
archetype_transform_std: 0.089024 (range: 0.089024 - 0.089024)
archetype_transform_norm: 6.358141 (range: 6.358141 - 6.358141)
archetype_transform_grad_norm: 0.328063 (range: 0.328063 - 0.328063)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0434, max=0.7049, mean=0.3333
Batch reconstruction MSE: 0.8850
Archetype stats: min=-10.4782, max=6.3118
Archetype change since last debug: 0.542507
Archetype gradients: norm=0.020699, mean=0.001194
Epoch 1/1
Average loss: 0.8381
Archetypal loss: 0.9241
KLD loss: 0.0643
Reconstruction loss: 0.9241
Archetype R²: 0.0505
Archetype transform grad norm: 0.322010
Archetype transform param norm: 6.3851
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.8381 (range: 0.8381 - 0.8381)
archetypal_loss: 0.9241 (range: 0.9241 - 0.9241)
kld_loss: 0.0643 (range: 0.0643 - 0.0643)
reconstruction_loss: 0.9241 (range: 0.9241 - 0.9241)
archetype_r2: 0.0505 (range: 0.0505 - 0.0505)
Archetype Transform Summary:
archetype_transform_mean: 0.001817 (range: 0.001817 - 0.001817)
archetype_transform_std: 0.089399 (range: 0.089399 - 0.089399)
archetype_transform_norm: 6.385075 (range: 6.385075 - 6.385075)
archetype_transform_grad_norm: 0.322010 (range: 0.322010 - 0.322010)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0403, max=0.6608, mean=0.3333
Batch reconstruction MSE: 1.0691
Archetype stats: min=-10.5491, max=6.3853
Archetype change since last debug: 0.735702
Archetype gradients: norm=0.050438, mean=0.002786
Epoch 1/1
Average loss: 0.8400
Archetypal loss: 0.9278
KLD loss: 0.0502
Reconstruction loss: 0.9278
Archetype R²: 0.0461
Archetype transform grad norm: 0.323480
Archetype transform param norm: 6.3724
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.8400 (range: 0.8400 - 0.8400)
archetypal_loss: 0.9278 (range: 0.9278 - 0.9278)
kld_loss: 0.0502 (range: 0.0502 - 0.0502)
reconstruction_loss: 0.9278 (range: 0.9278 - 0.9278)
archetype_r2: 0.0461 (range: 0.0461 - 0.0461)
Archetype Transform Summary:
archetype_transform_mean: 0.001780 (range: 0.001780 - 0.001780)
archetype_transform_std: 0.089222 (range: 0.089222 - 0.089222)
archetype_transform_norm: 6.372404 (range: 6.372404 - 6.372404)
archetype_transform_grad_norm: 0.323480 (range: 0.323480 - 0.323480)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0528, max=0.7760, mean=0.3333
Batch reconstruction MSE: 0.8535
Archetype stats: min=-10.4021, max=6.0543
Archetype change since last debug: 0.826853
Archetype gradients: norm=0.028484, mean=0.001359
Epoch 1/1
Average loss: 0.8367
Archetypal loss: 0.9229
KLD loss: 0.0608
Reconstruction loss: 0.9229
Archetype R²: 0.0518
Archetype transform grad norm: 0.307980
Archetype transform param norm: 6.3931
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.8367 (range: 0.8367 - 0.8367)
archetypal_loss: 0.9229 (range: 0.9229 - 0.9229)
kld_loss: 0.0608 (range: 0.0608 - 0.0608)
reconstruction_loss: 0.9229 (range: 0.9229 - 0.9229)
archetype_r2: 0.0518 (range: 0.0518 - 0.0518)
Archetype Transform Summary:
archetype_transform_mean: 0.001826 (range: 0.001826 - 0.001826)
archetype_transform_std: 0.089511 (range: 0.089511 - 0.089511)
archetype_transform_norm: 6.393090 (range: 6.393090 - 6.393090)
archetype_transform_grad_norm: 0.307980 (range: 0.307980 - 0.307980)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0684, max=0.6375, mean=0.3333
Batch reconstruction MSE: 0.9123
Archetype stats: min=-10.8407, max=6.3617
Archetype change since last debug: 1.175887
Archetype gradients: norm=0.016429, mean=0.001124
Epoch 1/1
Average loss: 0.8369
Archetypal loss: 0.9242
KLD loss: 0.0509
Reconstruction loss: 0.9242
Archetype R²: 0.0502
Archetype transform grad norm: 0.329478
Archetype transform param norm: 6.4158
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.8369 (range: 0.8369 - 0.8369)
archetypal_loss: 0.9242 (range: 0.9242 - 0.9242)
kld_loss: 0.0509 (range: 0.0509 - 0.0509)
reconstruction_loss: 0.9242 (range: 0.9242 - 0.9242)
archetype_r2: 0.0502 (range: 0.0502 - 0.0502)
Archetype Transform Summary:
archetype_transform_mean: 0.001936 (range: 0.001936 - 0.001936)
archetype_transform_std: 0.089828 (range: 0.089828 - 0.089828)
archetype_transform_norm: 6.415833 (range: 6.415833 - 6.415833)
archetype_transform_grad_norm: 0.329478 (range: 0.329478 - 0.329478)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0521, max=0.7439, mean=0.3333
Batch reconstruction MSE: 0.8550
Archetype stats: min=-11.0669, max=6.4830
Archetype change since last debug: 0.550738
Archetype gradients: norm=0.021269, mean=0.001121
Epoch 1/1
Average loss: 0.8360
Archetypal loss: 0.9229
KLD loss: 0.0537
Reconstruction loss: 0.9229
Archetype R²: 0.0518
Archetype transform grad norm: 0.318319
Archetype transform param norm: 6.4296
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.8360 (range: 0.8360 - 0.8360)
archetypal_loss: 0.9229 (range: 0.9229 - 0.9229)
kld_loss: 0.0537 (range: 0.0537 - 0.0537)
reconstruction_loss: 0.9229 (range: 0.9229 - 0.9229)
archetype_r2: 0.0518 (range: 0.0518 - 0.0518)
Archetype Transform Summary:
archetype_transform_mean: 0.001949 (range: 0.001949 - 0.001949)
archetype_transform_std: 0.090020 (range: 0.090020 - 0.090020)
archetype_transform_norm: 6.429600 (range: 6.429600 - 6.429600)
archetype_transform_grad_norm: 0.318319 (range: 0.318319 - 0.318319)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0755, max=0.6200, mean=0.3333
Batch reconstruction MSE: 0.9203
Archetype stats: min=-11.4337, max=6.6872
Archetype change since last debug: 0.929930
Archetype gradients: norm=0.013693, mean=0.000905
Epoch 1/1
Average loss: 0.8366
Archetypal loss: 0.9243
KLD loss: 0.0478
Reconstruction loss: 0.9243
Archetype R²: 0.0501
Archetype transform grad norm: 0.329234
Archetype transform param norm: 6.4480
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.8366 (range: 0.8366 - 0.8366)
archetypal_loss: 0.9243 (range: 0.9243 - 0.9243)
kld_loss: 0.0478 (range: 0.0478 - 0.0478)
reconstruction_loss: 0.9243 (range: 0.9243 - 0.9243)
archetype_r2: 0.0501 (range: 0.0501 - 0.0501)
Archetype Transform Summary:
archetype_transform_mean: 0.002038 (range: 0.002038 - 0.002038)
archetype_transform_std: 0.090276 (range: 0.090276 - 0.090276)
archetype_transform_norm: 6.447991 (range: 6.447991 - 6.447991)
archetype_transform_grad_norm: 0.329234 (range: 0.329234 - 0.329234)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0961, max=0.6502, mean=0.3333
Batch reconstruction MSE: 0.8835
Archetype stats: min=-11.4536, max=6.6482
Archetype change since last debug: 0.503458
Archetype gradients: norm=0.052942, mean=0.002690
Epoch 1/1
Average loss: 0.8367
Archetypal loss: 0.9236
KLD loss: 0.0550
Reconstruction loss: 0.9236
Archetype R²: 0.0509
Archetype transform grad norm: 0.327897
Archetype transform param norm: 6.4492
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.8367 (range: 0.8367 - 0.8367)
archetypal_loss: 0.9236 (range: 0.9236 - 0.9236)
kld_loss: 0.0550 (range: 0.0550 - 0.0550)
reconstruction_loss: 0.9236 (range: 0.9236 - 0.9236)
archetype_r2: 0.0509 (range: 0.0509 - 0.0509)
Archetype Transform Summary:
archetype_transform_mean: 0.001987 (range: 0.001987 - 0.001987)
archetype_transform_std: 0.090294 (range: 0.090294 - 0.090294)
archetype_transform_norm: 6.449247 (range: 6.449247 - 6.449247)
archetype_transform_grad_norm: 0.327897 (range: 0.327897 - 0.327897)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0844, max=0.6212, mean=0.3333
Batch reconstruction MSE: 0.9782
Archetype stats: min=-11.6655, max=6.7742
Archetype change since last debug: 0.521760
Archetype gradients: norm=0.043030, mean=0.002747
Epoch 1/1
Average loss: 0.8383
Archetypal loss: 0.9258
KLD loss: 0.0504
Reconstruction loss: 0.9258
Archetype R²: 0.0484
Archetype transform grad norm: 0.352584
Archetype transform param norm: 6.4641
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.8383 (range: 0.8383 - 0.8383)
archetypal_loss: 0.9258 (range: 0.9258 - 0.9258)
kld_loss: 0.0504 (range: 0.0504 - 0.0504)
reconstruction_loss: 0.9258 (range: 0.9258 - 0.9258)
archetype_r2: 0.0484 (range: 0.0484 - 0.0484)
Archetype Transform Summary:
archetype_transform_mean: 0.002112 (range: 0.002112 - 0.002112)
archetype_transform_std: 0.090499 (range: 0.090499 - 0.090499)
archetype_transform_norm: 6.464053 (range: 6.464053 - 6.464053)
archetype_transform_grad_norm: 0.352584 (range: 0.352584 - 0.352584)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0807, max=0.7090, mean=0.3333
Batch reconstruction MSE: 0.9338
Archetype stats: min=-11.4989, max=6.6655
Archetype change since last debug: 0.522562
Archetype gradients: norm=0.077419, mean=0.003927
Epoch 1/1
Average loss: 0.8381
Archetypal loss: 0.9251
KLD loss: 0.0549
Reconstruction loss: 0.9251
Archetype R²: 0.0492
Archetype transform grad norm: 0.345196
Archetype transform param norm: 6.4392
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.8381 (range: 0.8381 - 0.8381)
archetypal_loss: 0.9251 (range: 0.9251 - 0.9251)
kld_loss: 0.0549 (range: 0.0549 - 0.0549)
reconstruction_loss: 0.9251 (range: 0.9251 - 0.9251)
archetype_r2: 0.0492 (range: 0.0492 - 0.0492)
Archetype Transform Summary:
archetype_transform_mean: 0.001948 (range: 0.001948 - 0.001948)
archetype_transform_std: 0.090155 (range: 0.090155 - 0.090155)
archetype_transform_norm: 6.439221 (range: 6.439221 - 6.439221)
archetype_transform_grad_norm: 0.345196 (range: 0.345196 - 0.345196)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.1128, max=0.6040, mean=0.3333
Batch reconstruction MSE: 0.9265
Archetype stats: min=-11.5646, max=6.7025
Archetype change since last debug: 0.575106
Archetype gradients: norm=0.037490, mean=0.002327
Epoch 1/1
Average loss: 0.8371
Archetypal loss: 0.9244
KLD loss: 0.0515
Reconstruction loss: 0.9244
Archetype R²: 0.0500
Archetype transform grad norm: 0.342528
Archetype transform param norm: 6.4576
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.8371 (range: 0.8371 - 0.8371)
archetypal_loss: 0.9244 (range: 0.9244 - 0.9244)
kld_loss: 0.0515 (range: 0.0515 - 0.0515)
reconstruction_loss: 0.9244 (range: 0.9244 - 0.9244)
archetype_r2: 0.0500 (range: 0.0500 - 0.0500)
Archetype Transform Summary:
archetype_transform_mean: 0.002071 (range: 0.002071 - 0.002071)
archetype_transform_std: 0.090410 (range: 0.090410 - 0.090410)
archetype_transform_norm: 6.457595 (range: 6.457595 - 6.457595)
archetype_transform_grad_norm: 0.342528 (range: 0.342528 - 0.342528)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0905, max=0.6755, mean=0.3333
Batch reconstruction MSE: 0.9010
Archetype stats: min=-11.6095, max=6.7302
Archetype change since last debug: 0.436432
Archetype gradients: norm=0.067112, mean=0.003343
Epoch 1/1
Average loss: 0.8366
Archetypal loss: 0.9238
KLD loss: 0.0523
Reconstruction loss: 0.9238
Archetype R²: 0.0506
Archetype transform grad norm: 0.328176
Archetype transform param norm: 6.4475
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.8366 (range: 0.8366 - 0.8366)
archetypal_loss: 0.9238 (range: 0.9238 - 0.9238)
kld_loss: 0.0523 (range: 0.0523 - 0.0523)
reconstruction_loss: 0.9238 (range: 0.9238 - 0.9238)
archetype_r2: 0.0506 (range: 0.0506 - 0.0506)
Archetype Transform Summary:
archetype_transform_mean: 0.001969 (range: 0.001969 - 0.001969)
archetype_transform_std: 0.090271 (range: 0.090271 - 0.090271)
archetype_transform_norm: 6.447519 (range: 6.447519 - 6.447519)
archetype_transform_grad_norm: 0.328176 (range: 0.328176 - 0.328176)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.1273, max=0.5967, mean=0.3333
Batch reconstruction MSE: 0.9008
Archetype stats: min=-11.7964, max=6.8443
Archetype change since last debug: 0.551721
Archetype gradients: norm=0.038950, mean=0.002352
Epoch 1/1
Average loss: 0.8364
Archetypal loss: 0.9237
KLD loss: 0.0505
Reconstruction loss: 0.9237
Archetype R²: 0.0507
Archetype transform grad norm: 0.344846
Archetype transform param norm: 6.4718
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.8364 (range: 0.8364 - 0.8364)
archetypal_loss: 0.9237 (range: 0.9237 - 0.9237)
kld_loss: 0.0505 (range: 0.0505 - 0.0505)
reconstruction_loss: 0.9237 (range: 0.9237 - 0.9237)
archetype_r2: 0.0507 (range: 0.0507 - 0.0507)
Archetype Transform Summary:
archetype_transform_mean: 0.002102 (range: 0.002102 - 0.002102)
archetype_transform_std: 0.090608 (range: 0.090608 - 0.090608)
archetype_transform_norm: 6.471841 (range: 6.471841 - 6.471841)
archetype_transform_grad_norm: 0.344846 (range: 0.344846 - 0.344846)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.1116, max=0.6882, mean=0.3333
Batch reconstruction MSE: 0.9106
Archetype stats: min=-11.9480, max=6.9401
Archetype change since last debug: 0.553130
Archetype gradients: norm=0.057260, mean=0.003069
Epoch 1/1
Average loss: 0.8367
Archetypal loss: 0.9243
KLD loss: 0.0486
Reconstruction loss: 0.9243
Archetype R²: 0.0501
Archetype transform grad norm: 0.341360
Archetype transform param norm: 6.4636
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.8367 (range: 0.8367 - 0.8367)
archetypal_loss: 0.9243 (range: 0.9243 - 0.9243)
kld_loss: 0.0486 (range: 0.0486 - 0.0486)
reconstruction_loss: 0.9243 (range: 0.9243 - 0.9243)
archetype_r2: 0.0501 (range: 0.0501 - 0.0501)
Archetype Transform Summary:
archetype_transform_mean: 0.002006 (range: 0.002006 - 0.002006)
archetype_transform_std: 0.090496 (range: 0.090496 - 0.090496)
archetype_transform_norm: 6.463649 (range: 6.463649 - 6.463649)
archetype_transform_grad_norm: 0.341360 (range: 0.341360 - 0.341360)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0851, max=0.5624, mean=0.3333
Batch reconstruction MSE: 0.8801
Archetype stats: min=-11.9526, max=6.9532
Archetype change since last debug: 0.336214
Archetype gradients: norm=0.023210, mean=0.001504
Epoch 1/1
Average loss: 0.8358
Archetypal loss: 0.9231
KLD loss: 0.0507
Reconstruction loss: 0.9231
Archetype R²: 0.0514
Archetype transform grad norm: 0.333998
Archetype transform param norm: 6.4841
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.8358 (range: 0.8358 - 0.8358)
archetypal_loss: 0.9231 (range: 0.9231 - 0.9231)
kld_loss: 0.0507 (range: 0.0507 - 0.0507)
reconstruction_loss: 0.9231 (range: 0.9231 - 0.9231)
archetype_r2: 0.0514 (range: 0.0514 - 0.0514)
Archetype Transform Summary:
archetype_transform_mean: 0.002108 (range: 0.002108 - 0.002108)
archetype_transform_std: 0.090780 (range: 0.090780 - 0.090780)
archetype_transform_norm: 6.484095 (range: 6.484095 - 6.484095)
archetype_transform_grad_norm: 0.333998 (range: 0.333998 - 0.333998)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0790, max=0.6882, mean=0.3333
Batch reconstruction MSE: 0.9551
Archetype stats: min=-12.2354, max=7.1226
Archetype change since last debug: 0.678293
Archetype gradients: norm=0.044610, mean=0.002678
Epoch 1/1
Average loss: 0.8370
Archetypal loss: 0.9249
KLD loss: 0.0461
Reconstruction loss: 0.9249
Archetype R²: 0.0493
Archetype transform grad norm: 0.340929
Archetype transform param norm: 6.4741
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.8370 (range: 0.8370 - 0.8370)
archetypal_loss: 0.9249 (range: 0.9249 - 0.9249)
kld_loss: 0.0461 (range: 0.0461 - 0.0461)
reconstruction_loss: 0.9249 (range: 0.9249 - 0.9249)
archetype_r2: 0.0493 (range: 0.0493 - 0.0493)
Archetype Transform Summary:
archetype_transform_mean: 0.002024 (range: 0.002024 - 0.002024)
archetype_transform_std: 0.090642 (range: 0.090642 - 0.090642)
archetype_transform_norm: 6.474091 (range: 6.474091 - 6.474091)
archetype_transform_grad_norm: 0.340929 (range: 0.340929 - 0.340929)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0860, max=0.5652, mean=0.3333
Batch reconstruction MSE: 0.9071
Archetype stats: min=-11.9231, max=6.9556
Archetype change since last debug: 0.606677
Archetype gradients: norm=0.019623, mean=0.001146
Epoch 1/1
Average loss: 0.8366
Archetypal loss: 0.9235
KLD loss: 0.0543
Reconstruction loss: 0.9235
Archetype R²: 0.0508
Archetype transform grad norm: 0.332182
Archetype transform param norm: 6.4846
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.8366 (range: 0.8366 - 0.8366)
archetypal_loss: 0.9235 (range: 0.9235 - 0.9235)
kld_loss: 0.0543 (range: 0.0543 - 0.0543)
reconstruction_loss: 0.9235 (range: 0.9235 - 0.9235)
archetype_r2: 0.0508 (range: 0.0508 - 0.0508)
Archetype Transform Summary:
archetype_transform_mean: 0.002097 (range: 0.002097 - 0.002097)
archetype_transform_std: 0.090787 (range: 0.090787 - 0.090787)
archetype_transform_norm: 6.484605 (range: 6.484605 - 6.484605)
archetype_transform_grad_norm: 0.332182 (range: 0.332182 - 0.332182)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0835, max=0.6561, mean=0.3333
Batch reconstruction MSE: 1.0049
Archetype stats: min=-12.1901, max=7.1152
Archetype change since last debug: 0.581960
Archetype gradients: norm=0.036429, mean=0.002301
Epoch 1/1
Average loss: 0.8379
Archetypal loss: 0.9259
KLD loss: 0.0463
Reconstruction loss: 0.9259
Archetype R²: 0.0481
Archetype transform grad norm: 0.346662
Archetype transform param norm: 6.4749
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.8379 (range: 0.8379 - 0.8379)
archetypal_loss: 0.9259 (range: 0.9259 - 0.9259)
kld_loss: 0.0463 (range: 0.0463 - 0.0463)
reconstruction_loss: 0.9259 (range: 0.9259 - 0.9259)
archetype_r2: 0.0481 (range: 0.0481 - 0.0481)
Archetype Transform Summary:
archetype_transform_mean: 0.002016 (range: 0.002016 - 0.002016)
archetype_transform_std: 0.090653 (range: 0.090653 - 0.090653)
archetype_transform_norm: 6.474903 (range: 6.474903 - 6.474903)
archetype_transform_grad_norm: 0.346662 (range: 0.346662 - 0.346662)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0780, max=0.6948, mean=0.3333
Batch reconstruction MSE: 0.8741
Archetype stats: min=-11.5481, max=6.7530
Archetype change since last debug: 1.038798
Archetype gradients: norm=0.038861, mean=0.002396
Epoch 1/1
Average loss: 0.8357
Archetypal loss: 0.9225
KLD loss: 0.0540
Reconstruction loss: 0.9225
Archetype R²: 0.0519
Archetype transform grad norm: 0.318604
Archetype transform param norm: 6.4783
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.8357 (range: 0.8357 - 0.8357)
archetypal_loss: 0.9225 (range: 0.9225 - 0.9225)
kld_loss: 0.0540 (range: 0.0540 - 0.0540)
reconstruction_loss: 0.9225 (range: 0.9225 - 0.9225)
archetype_r2: 0.0519 (range: 0.0519 - 0.0519)
Archetype Transform Summary:
archetype_transform_mean: 0.002039 (range: 0.002039 - 0.002039)
archetype_transform_std: 0.090701 (range: 0.090701 - 0.090701)
archetype_transform_norm: 6.478316 (range: 6.478316 - 6.478316)
archetype_transform_grad_norm: 0.318604 (range: 0.318604 - 0.318604)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.1283, max=0.6260, mean=0.3333
Batch reconstruction MSE: 0.9453
Archetype stats: min=-12.0765, max=7.0546
Archetype change since last debug: 0.904162
Archetype gradients: norm=0.039394, mean=0.002381
Epoch 1/1
Average loss: 0.8370
Archetypal loss: 0.9246
KLD loss: 0.0489
Reconstruction loss: 0.9246
Archetype R²: 0.0496
Archetype transform grad norm: 0.351147
Archetype transform param norm: 6.4948
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.8370 (range: 0.8370 - 0.8370)
archetypal_loss: 0.9246 (range: 0.9246 - 0.9246)
kld_loss: 0.0489 (range: 0.0489 - 0.0489)
reconstruction_loss: 0.9246 (range: 0.9246 - 0.9246)
archetype_r2: 0.0496 (range: 0.0496 - 0.0496)
Archetype Transform Summary:
archetype_transform_mean: 0.002058 (range: 0.002058 - 0.002058)
archetype_transform_std: 0.090930 (range: 0.090930 - 0.090930)
archetype_transform_norm: 6.494757 (range: 6.494757 - 6.494757)
archetype_transform_grad_norm: 0.351147 (range: 0.351147 - 0.351147)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.1120, max=0.7489, mean=0.3333
Batch reconstruction MSE: 0.9510
Archetype stats: min=-11.5632, max=6.7729
Archetype change since last debug: 0.858913
Archetype gradients: norm=0.068094, mean=0.004129
Epoch 1/1
Average loss: 0.8371
Archetypal loss: 0.9244
KLD loss: 0.0513
Reconstruction loss: 0.9244
Archetype R²: 0.0497
Archetype transform grad norm: 0.338614
Archetype transform param norm: 6.4806
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.8371 (range: 0.8371 - 0.8371)
archetypal_loss: 0.9244 (range: 0.9244 - 0.9244)
kld_loss: 0.0513 (range: 0.0513 - 0.0513)
reconstruction_loss: 0.9244 (range: 0.9244 - 0.9244)
archetype_r2: 0.0497 (range: 0.0497 - 0.0497)
Archetype Transform Summary:
archetype_transform_mean: 0.002023 (range: 0.002023 - 0.002023)
archetype_transform_std: 0.090733 (range: 0.090733 - 0.090733)
archetype_transform_norm: 6.480615 (range: 6.480615 - 6.480615)
archetype_transform_grad_norm: 0.338614 (range: 0.338614 - 0.338614)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.1377, max=0.6094, mean=0.3333
Batch reconstruction MSE: 0.9149
Archetype stats: min=-11.9420, max=6.9831
Archetype change since last debug: 0.721962
Archetype gradients: norm=0.049489, mean=0.003065
Epoch 1/1
Average loss: 0.8371
Archetypal loss: 0.9244
KLD loss: 0.0513
Reconstruction loss: 0.9244
Archetype R²: 0.0498
Archetype transform grad norm: 0.367187
Archetype transform param norm: 6.5018
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.8371 (range: 0.8371 - 0.8371)
archetypal_loss: 0.9244 (range: 0.9244 - 0.9244)
kld_loss: 0.0513 (range: 0.0513 - 0.0513)
reconstruction_loss: 0.9244 (range: 0.9244 - 0.9244)
archetype_r2: 0.0498 (range: 0.0498 - 0.0498)
Archetype Transform Summary:
archetype_transform_mean: 0.002079 (range: 0.002079 - 0.002079)
archetype_transform_std: 0.091028 (range: 0.091028 - 0.091028)
archetype_transform_norm: 6.501777 (range: 6.501777 - 6.501777)
archetype_transform_grad_norm: 0.367187 (range: 0.367187 - 0.367187)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.1099, max=0.7029, mean=0.3333
Batch reconstruction MSE: 0.9914
Archetype stats: min=-11.3987, max=6.7129
Archetype change since last debug: 0.986618
Archetype gradients: norm=0.080685, mean=0.004694
Epoch 1/1
Average loss: 0.8378
Archetypal loss: 0.9254
KLD loss: 0.0494
Reconstruction loss: 0.9254
Archetype R²: 0.0485
Archetype transform grad norm: 0.344426
Archetype transform param norm: 6.4791
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.8378 (range: 0.8378 - 0.8378)
archetypal_loss: 0.9254 (range: 0.9254 - 0.9254)
kld_loss: 0.0494 (range: 0.0494 - 0.0494)
reconstruction_loss: 0.9254 (range: 0.9254 - 0.9254)
archetype_r2: 0.0485 (range: 0.0485 - 0.0485)
Archetype Transform Summary:
archetype_transform_mean: 0.002023 (range: 0.002023 - 0.002023)
archetype_transform_std: 0.090712 (range: 0.090712 - 0.090712)
archetype_transform_norm: 6.479107 (range: 6.479107 - 6.479107)
archetype_transform_grad_norm: 0.344426 (range: 0.344426 - 0.344426)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0863, max=0.5142, mean=0.3333
Batch reconstruction MSE: 0.8780
Archetype stats: min=-11.5695, max=6.8051
Archetype change since last debug: 0.725856
Archetype gradients: norm=0.020024, mean=0.001183
Epoch 1/1
Average loss: 0.8347
Archetypal loss: 0.9221
KLD loss: 0.0482
Reconstruction loss: 0.9221
Archetype R²: 0.0523
Archetype transform grad norm: 0.304293
Archetype transform param norm: 6.5044
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.8347 (range: 0.8347 - 0.8347)
archetypal_loss: 0.9221 (range: 0.9221 - 0.9221)
kld_loss: 0.0482 (range: 0.0482 - 0.0482)
reconstruction_loss: 0.9221 (range: 0.9221 - 0.9221)
archetype_r2: 0.0523 (range: 0.0523 - 0.0523)
Archetype Transform Summary:
archetype_transform_mean: 0.002082 (range: 0.002082 - 0.002082)
archetype_transform_std: 0.091065 (range: 0.091065 - 0.091065)
archetype_transform_norm: 6.504382 (range: 6.504382 - 6.504382)
archetype_transform_grad_norm: 0.304293 (range: 0.304293 - 0.304293)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0767, max=0.6808, mean=0.3333
Batch reconstruction MSE: 0.8817
Archetype stats: min=-11.5756, max=6.8275
Archetype change since last debug: 0.963192
Archetype gradients: norm=0.038268, mean=0.002152
Epoch 1/1
Average loss: 0.8346
Archetypal loss: 0.9223
KLD loss: 0.0458
Reconstruction loss: 0.9223
Archetype R²: 0.0521
Archetype transform grad norm: 0.308305
Archetype transform param norm: 6.5079
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.8346 (range: 0.8346 - 0.8346)
archetypal_loss: 0.9223 (range: 0.9223 - 0.9223)
kld_loss: 0.0458 (range: 0.0458 - 0.0458)
reconstruction_loss: 0.9223 (range: 0.9223 - 0.9223)
archetype_r2: 0.0521 (range: 0.0521 - 0.0521)
Archetype Transform Summary:
archetype_transform_mean: 0.002078 (range: 0.002078 - 0.002078)
archetype_transform_std: 0.091114 (range: 0.091114 - 0.091114)
archetype_transform_norm: 6.507888 (range: 6.507888 - 6.507888)
archetype_transform_grad_norm: 0.308305 (range: 0.308305 - 0.308305)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.1783, max=0.5486, mean=0.3333
Batch reconstruction MSE: 0.8526
Archetype stats: min=-12.0320, max=7.0914
Archetype change since last debug: 0.728471
Archetype gradients: norm=0.023642, mean=0.001383
Epoch 1/1
Average loss: 0.8342
Archetypal loss: 0.9216
KLD loss: 0.0479
Reconstruction loss: 0.9216
Archetype R²: 0.0528
Archetype transform grad norm: 0.314194
Archetype transform param norm: 6.5343
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.8342 (range: 0.8342 - 0.8342)
archetypal_loss: 0.9216 (range: 0.9216 - 0.9216)
kld_loss: 0.0479 (range: 0.0479 - 0.0479)
reconstruction_loss: 0.9216 (range: 0.9216 - 0.9216)
archetype_r2: 0.0528 (range: 0.0528 - 0.0528)
Archetype Transform Summary:
archetype_transform_mean: 0.002136 (range: 0.002136 - 0.002136)
archetype_transform_std: 0.091482 (range: 0.091482 - 0.091482)
archetype_transform_norm: 6.534252 (range: 6.534252 - 6.534252)
archetype_transform_grad_norm: 0.314194 (range: 0.314194 - 0.314194)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0953, max=0.6154, mean=0.3333
Batch reconstruction MSE: 0.9168
Archetype stats: min=-12.1492, max=7.1725
Archetype change since last debug: 0.868865
Archetype gradients: norm=0.052420, mean=0.002869
Epoch 1/1
Average loss: 0.8350
Archetypal loss: 0.9231
KLD loss: 0.0421
Reconstruction loss: 0.9231
Archetype R²: 0.0512
Archetype transform grad norm: 0.315524
Archetype transform param norm: 6.5290
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.8350 (range: 0.8350 - 0.8350)
archetypal_loss: 0.9231 (range: 0.9231 - 0.9231)
kld_loss: 0.0421 (range: 0.0421 - 0.0421)
reconstruction_loss: 0.9231 (range: 0.9231 - 0.9231)
archetype_r2: 0.0512 (range: 0.0512 - 0.0512)
Archetype Transform Summary:
archetype_transform_mean: 0.002090 (range: 0.002090 - 0.002090)
archetype_transform_std: 0.091410 (range: 0.091410 - 0.091410)
archetype_transform_norm: 6.529039 (range: 6.529039 - 6.529039)
archetype_transform_grad_norm: 0.315524 (range: 0.315524 - 0.315524)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.1004, max=0.5742, mean=0.3333
Batch reconstruction MSE: 0.8507
Archetype stats: min=-12.4182, max=7.3328
Archetype change since last debug: 0.499230
Archetype gradients: norm=0.026286, mean=0.001602
Epoch 1/1
Average loss: 0.8343
Archetypal loss: 0.9217
KLD loss: 0.0475
Reconstruction loss: 0.9217
Archetype R²: 0.0528
Archetype transform grad norm: 0.321640
Archetype transform param norm: 6.5536
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.8343 (range: 0.8343 - 0.8343)
archetypal_loss: 0.9217 (range: 0.9217 - 0.9217)
kld_loss: 0.0475 (range: 0.0475 - 0.0475)
reconstruction_loss: 0.9217 (range: 0.9217 - 0.9217)
archetype_r2: 0.0528 (range: 0.0528 - 0.0528)
Archetype Transform Summary:
archetype_transform_mean: 0.002160 (range: 0.002160 - 0.002160)
archetype_transform_std: 0.091753 (range: 0.091753 - 0.091753)
archetype_transform_norm: 6.553620 (range: 6.553620 - 6.553620)
archetype_transform_grad_norm: 0.321640 (range: 0.321640 - 0.321640)
[OK] Completed in 66.9s
[STATS] Mean archetype R²: 0.0544
[STATS] Mean validation R²: 0.0544
đź§Ş Configuration 5/20: {'n_archetypes': 4, 'hidden_dims': [64, 128], 'inflation_factor': 1.5, 'use_pcha_init': True, 'use_inflation': True}
Fold 1/3
Model input_dim: 50 (auto-detected from data)
Archetypes parameter registered: True
Archetypes requires_grad: True
Deep_AA (Deep Archetypal Analysis) initialized:
- Single-stage architecture (like Deep_2)
- Inflation factor: 1.5
- Direct archetypal coordinates (no bottleneck)
Consolidated Archetype Initialization
PCHA: True, Inflation: True (factor: 1.5)
Test inflation: False
Running PCHA initialization...
Input shape: (128, 50)
Target archetypes: 4
Running PCHA with 4 archetypes...
Data shape for PCHA: (50, 128)
PCHA Results:
Archetypes shape: (4, 50)
Archetype R²: 0.1896
SSE: 4293.9107
PCHA archetype R²: 0.1896
Archetype shape: (4, 50)
[OK] Initialized 4 archetypes using PCHA
Scalar Archetypal Inflation (factor: 1.50)
[OK] Inflation complete
[STATS] Positioning verification:
Data radius (max): 18.645
Data radius (mean): 5.840
Archetype distances: 4.375 to 24.118
Archetypes outside data: 1/4
Min archetype separation: 12.597
[OK] Archetype initialization complete (success: True)
[OK] Archetype initialization complete (PCHA: True, Inflation: 1.5)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0006, max=0.9915, mean=0.2500
Batch reconstruction MSE: 1.1626
Archetype stats: min=-2.3549, max=1.9096
Archetype gradients: norm=0.014479, mean=0.000809
Epoch 1/1
Average loss: 0.8723
Archetypal loss: 0.9651
KLD loss: 0.0366
Reconstruction loss: 0.9651
Archetype R²: -0.0133
Archetype transform grad norm: 0.205875
Archetype transform param norm: 5.7813
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.8723 (range: 0.8723 - 0.8723)
archetypal_loss: 0.9651 (range: 0.9651 - 0.9651)
kld_loss: 0.0366 (range: 0.0366 - 0.0366)
reconstruction_loss: 0.9651 (range: 0.9651 - 0.9651)
archetype_r2: -0.0133 (range: -0.0133 - -0.0133)
Archetype Transform Summary:
archetype_transform_mean: -0.000834 (range: -0.000834 - -0.000834)
archetype_transform_std: 0.080958 (range: 0.080958 - 0.080958)
archetype_transform_norm: 5.781276 (range: 5.781276 - 5.781276)
archetype_transform_grad_norm: 0.205875 (range: 0.205875 - 0.205875)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0059, max=0.9502, mean=0.2500
Batch reconstruction MSE: 1.0560
Archetype stats: min=-0.7853, max=1.0812
Archetype change since last debug: 5.606904
Archetype gradients: norm=0.003699, mean=0.000198
Epoch 1/1
Average loss: 0.8581
Archetypal loss: 0.9481
KLD loss: 0.0487
Reconstruction loss: 0.9481
Archetype R²: 0.0043
Archetype transform grad norm: 0.165118
Archetype transform param norm: 5.8148
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.8581 (range: 0.8581 - 0.8581)
archetypal_loss: 0.9481 (range: 0.9481 - 0.9481)
kld_loss: 0.0487 (range: 0.0487 - 0.0487)
reconstruction_loss: 0.9481 (range: 0.9481 - 0.9481)
archetype_r2: 0.0043 (range: 0.0043 - 0.0043)
Archetype Transform Summary:
archetype_transform_mean: -0.000773 (range: -0.000773 - -0.000773)
archetype_transform_std: 0.081428 (range: 0.081428 - 0.081428)
archetype_transform_norm: 5.814792 (range: 5.814792 - 5.814792)
archetype_transform_grad_norm: 0.165118 (range: 0.165118 - 0.165118)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0002, max=0.9978, mean=0.2500
Batch reconstruction MSE: 1.0610
Archetype stats: min=-1.7118, max=1.7947
Archetype change since last debug: 3.826160
Archetype gradients: norm=0.005712, mean=0.000305
Epoch 1/1
Average loss: 0.8459
Archetypal loss: 0.9285
KLD loss: 0.1025
Reconstruction loss: 0.9285
Archetype R²: 0.0250
Archetype transform grad norm: 0.196036
Archetype transform param norm: 5.9559
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.8459 (range: 0.8459 - 0.8459)
archetypal_loss: 0.9285 (range: 0.9285 - 0.9285)
kld_loss: 0.1025 (range: 0.1025 - 0.1025)
reconstruction_loss: 0.9285 (range: 0.9285 - 0.9285)
archetype_r2: 0.0250 (range: 0.0250 - 0.0250)
Archetype Transform Summary:
archetype_transform_mean: -0.000721 (range: -0.000721 - -0.000721)
archetype_transform_std: 0.083405 (range: 0.083405 - 0.083405)
archetype_transform_norm: 5.955934 (range: 5.955934 - 5.955934)
archetype_transform_grad_norm: 0.196036 (range: 0.196036 - 0.196036)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0063, max=0.9432, mean=0.2500
Batch reconstruction MSE: 1.1337
Archetype stats: min=-3.1784, max=2.8828
Archetype change since last debug: 6.835279
Archetype gradients: norm=0.016974, mean=0.000905
Epoch 1/1
Average loss: 0.8335
Archetypal loss: 0.9132
KLD loss: 0.1159
Reconstruction loss: 0.9132
Archetype R²: 0.0413
Archetype transform grad norm: 0.220571
Archetype transform param norm: 6.1667
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.8335 (range: 0.8335 - 0.8335)
archetypal_loss: 0.9132 (range: 0.9132 - 0.9132)
kld_loss: 0.1159 (range: 0.1159 - 0.1159)
reconstruction_loss: 0.9132 (range: 0.9132 - 0.9132)
archetype_r2: 0.0413 (range: 0.0413 - 0.0413)
Archetype Transform Summary:
archetype_transform_mean: -0.000516 (range: -0.000516 - -0.000516)
archetype_transform_std: 0.086358 (range: 0.086358 - 0.086358)
archetype_transform_norm: 6.166705 (range: 6.166705 - 6.166705)
archetype_transform_grad_norm: 0.220571 (range: 0.220571 - 0.220571)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0108, max=0.8570, mean=0.2500
Batch reconstruction MSE: 1.1660
Archetype stats: min=-4.1102, max=3.6017
Archetype change since last debug: 6.347361
Archetype gradients: norm=0.028512, mean=0.001350
Epoch 1/1
Average loss: 0.8246
Archetypal loss: 0.9040
KLD loss: 0.1099
Reconstruction loss: 0.9040
Archetype R²: 0.0510
Archetype transform grad norm: 0.238259
Archetype transform param norm: 6.3584
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.8246 (range: 0.8246 - 0.8246)
archetypal_loss: 0.9040 (range: 0.9040 - 0.9040)
kld_loss: 0.1099 (range: 0.1099 - 0.1099)
reconstruction_loss: 0.9040 (range: 0.9040 - 0.9040)
archetype_r2: 0.0510 (range: 0.0510 - 0.0510)
Archetype Transform Summary:
archetype_transform_mean: -0.000162 (range: -0.000162 - -0.000162)
archetype_transform_std: 0.089043 (range: 0.089043 - 0.089043)
archetype_transform_norm: 6.358357 (range: 6.358357 - 6.358357)
archetype_transform_grad_norm: 0.238259 (range: 0.238259 - 0.238259)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0155, max=0.8588, mean=0.2500
Batch reconstruction MSE: 1.1524
Archetype stats: min=-5.2335, max=4.4013
Archetype change since last debug: 5.056589
Archetype gradients: norm=0.018825, mean=0.001011
Epoch 1/1
Average loss: 0.8186
Archetypal loss: 0.8982
KLD loss: 0.1026
Reconstruction loss: 0.8982
Archetype R²: 0.0571
Archetype transform grad norm: 0.252396
Archetype transform param norm: 6.5076
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.8186 (range: 0.8186 - 0.8186)
archetypal_loss: 0.8982 (range: 0.8982 - 0.8982)
kld_loss: 0.1026 (range: 0.1026 - 0.1026)
reconstruction_loss: 0.8982 (range: 0.8982 - 0.8982)
archetype_r2: 0.0571 (range: 0.0571 - 0.0571)
Archetype Transform Summary:
archetype_transform_mean: 0.000119 (range: 0.000119 - 0.000119)
archetype_transform_std: 0.091133 (range: 0.091133 - 0.091133)
archetype_transform_norm: 6.507602 (range: 6.507602 - 6.507602)
archetype_transform_grad_norm: 0.252396 (range: 0.252396 - 0.252396)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0193, max=0.7871, mean=0.2500
Batch reconstruction MSE: 1.1700
Archetype stats: min=-7.0989, max=5.5798
Archetype change since last debug: 4.275959
Archetype gradients: norm=0.065602, mean=0.002349
Epoch 1/1
Average loss: 0.8161
Archetypal loss: 0.8955
KLD loss: 0.1015
Reconstruction loss: 0.8955
Archetype R²: 0.0600
Archetype transform grad norm: 0.266979
Archetype transform param norm: 6.5956
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.8161 (range: 0.8161 - 0.8161)
archetypal_loss: 0.8955 (range: 0.8955 - 0.8955)
kld_loss: 0.1015 (range: 0.1015 - 0.1015)
reconstruction_loss: 0.8955 (range: 0.8955 - 0.8955)
archetype_r2: 0.0600 (range: 0.0600 - 0.0600)
Archetype Transform Summary:
archetype_transform_mean: 0.000244 (range: 0.000244 - 0.000244)
archetype_transform_std: 0.092365 (range: 0.092365 - 0.092365)
archetype_transform_norm: 6.595560 (range: 6.595560 - 6.595560)
archetype_transform_grad_norm: 0.266979 (range: 0.266979 - 0.266979)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0172, max=0.7953, mean=0.2500
Batch reconstruction MSE: 1.2837
Archetype stats: min=-8.0444, max=6.2706
Archetype change since last debug: 3.029960
Archetype gradients: norm=0.048404, mean=0.002715
Epoch 1/1
Average loss: 0.8177
Archetypal loss: 0.8970
KLD loss: 0.1045
Reconstruction loss: 0.8970
Archetype R²: 0.0588
Archetype transform grad norm: 0.286358
Archetype transform param norm: 6.6439
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.8177 (range: 0.8177 - 0.8177)
archetypal_loss: 0.8970 (range: 0.8970 - 0.8970)
kld_loss: 0.1045 (range: 0.1045 - 0.1045)
reconstruction_loss: 0.8970 (range: 0.8970 - 0.8970)
archetype_r2: 0.0588 (range: 0.0588 - 0.0588)
Archetype Transform Summary:
archetype_transform_mean: 0.000496 (range: 0.000496 - 0.000496)
archetype_transform_std: 0.093042 (range: 0.093042 - 0.093042)
archetype_transform_norm: 6.643941 (range: 6.643941 - 6.643941)
archetype_transform_grad_norm: 0.286358 (range: 0.286358 - 0.286358)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0240, max=0.8199, mean=0.2500
Batch reconstruction MSE: 1.1811
Archetype stats: min=-8.8374, max=6.7213
Archetype change since last debug: 1.982542
Archetype gradients: norm=0.086612, mean=0.003174
Epoch 1/1
Average loss: 0.8134
Archetypal loss: 0.8923
KLD loss: 0.1029
Reconstruction loss: 0.8923
Archetype R²: 0.0634
Archetype transform grad norm: 0.275790
Archetype transform param norm: 6.6702
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.8134 (range: 0.8134 - 0.8134)
archetypal_loss: 0.8923 (range: 0.8923 - 0.8923)
kld_loss: 0.1029 (range: 0.1029 - 0.1029)
reconstruction_loss: 0.8923 (range: 0.8923 - 0.8923)
archetype_r2: 0.0634 (range: 0.0634 - 0.0634)
Archetype Transform Summary:
archetype_transform_mean: 0.000504 (range: 0.000504 - 0.000504)
archetype_transform_std: 0.093409 (range: 0.093409 - 0.093409)
archetype_transform_norm: 6.670206 (range: 6.670206 - 6.670206)
archetype_transform_grad_norm: 0.275790 (range: 0.275790 - 0.275790)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0195, max=0.6984, mean=0.2500
Batch reconstruction MSE: 1.1708
Archetype stats: min=-9.2301, max=7.0759
Archetype change since last debug: 2.031857
Archetype gradients: norm=0.041928, mean=0.002257
Epoch 1/1
Average loss: 0.8114
Archetypal loss: 0.8907
KLD loss: 0.0976
Reconstruction loss: 0.8907
Archetype R²: 0.0651
Archetype transform grad norm: 0.280921
Archetype transform param norm: 6.7254
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.8114 (range: 0.8114 - 0.8114)
archetypal_loss: 0.8907 (range: 0.8907 - 0.8907)
kld_loss: 0.0976 (range: 0.0976 - 0.0976)
reconstruction_loss: 0.8907 (range: 0.8907 - 0.8907)
archetype_r2: 0.0651 (range: 0.0651 - 0.0651)
Archetype Transform Summary:
archetype_transform_mean: 0.000692 (range: 0.000692 - 0.000692)
archetype_transform_std: 0.094182 (range: 0.094182 - 0.094182)
archetype_transform_norm: 6.725429 (range: 6.725429 - 6.725429)
archetype_transform_grad_norm: 0.280921 (range: 0.280921 - 0.280921)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0268, max=0.8133, mean=0.2500
Batch reconstruction MSE: 1.1328
Archetype stats: min=-10.0101, max=7.7298
Archetype change since last debug: 1.926434
Archetype gradients: norm=0.041352, mean=0.001869
Epoch 1/1
Average loss: 0.8094
Archetypal loss: 0.8889
KLD loss: 0.0940
Reconstruction loss: 0.8889
Archetype R²: 0.0669
Archetype transform grad norm: 0.282594
Archetype transform param norm: 6.7686
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.8094 (range: 0.8094 - 0.8094)
archetypal_loss: 0.8889 (range: 0.8889 - 0.8889)
kld_loss: 0.0940 (range: 0.0940 - 0.0940)
reconstruction_loss: 0.8889 (range: 0.8889 - 0.8889)
archetype_r2: 0.0669 (range: 0.0669 - 0.0669)
Archetype Transform Summary:
archetype_transform_mean: 0.000743 (range: 0.000743 - 0.000743)
archetype_transform_std: 0.094786 (range: 0.094786 - 0.094786)
archetype_transform_norm: 6.768605 (range: 6.768605 - 6.768605)
archetype_transform_grad_norm: 0.282594 (range: 0.282594 - 0.282594)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0155, max=0.7666, mean=0.2500
Batch reconstruction MSE: 1.1319
Archetype stats: min=-10.5985, max=7.9743
Archetype change since last debug: 1.748016
Archetype gradients: norm=0.029109, mean=0.001555
Epoch 1/1
Average loss: 0.8087
Archetypal loss: 0.8883
KLD loss: 0.0925
Reconstruction loss: 0.8883
Archetype R²: 0.0676
Archetype transform grad norm: 0.284716
Archetype transform param norm: 6.8141
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.8087 (range: 0.8087 - 0.8087)
archetypal_loss: 0.8883 (range: 0.8883 - 0.8883)
kld_loss: 0.0925 (range: 0.0925 - 0.0925)
reconstruction_loss: 0.8883 (range: 0.8883 - 0.8883)
archetype_r2: 0.0676 (range: 0.0676 - 0.0676)
Archetype Transform Summary:
archetype_transform_mean: 0.000888 (range: 0.000888 - 0.000888)
archetype_transform_std: 0.095422 (range: 0.095422 - 0.095422)
archetype_transform_norm: 6.814090 (range: 6.814090 - 6.814090)
archetype_transform_grad_norm: 0.284716 (range: 0.284716 - 0.284716)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0308, max=0.6487, mean=0.2500
Batch reconstruction MSE: 1.1540
Archetype stats: min=-11.3018, max=8.4007
Archetype change since last debug: 1.579939
Archetype gradients: norm=0.028935, mean=0.001523
Epoch 1/1
Average loss: 0.8086
Archetypal loss: 0.8885
KLD loss: 0.0899
Reconstruction loss: 0.8885
Archetype R²: 0.0674
Archetype transform grad norm: 0.296946
Archetype transform param norm: 6.8519
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.8086 (range: 0.8086 - 0.8086)
archetypal_loss: 0.8885 (range: 0.8885 - 0.8885)
kld_loss: 0.0899 (range: 0.0899 - 0.0899)
reconstruction_loss: 0.8885 (range: 0.8885 - 0.8885)
archetype_r2: 0.0674 (range: 0.0674 - 0.0674)
Archetype Transform Summary:
archetype_transform_mean: 0.000925 (range: 0.000925 - 0.000925)
archetype_transform_std: 0.095951 (range: 0.095951 - 0.095951)
archetype_transform_norm: 6.851930 (range: 6.851930 - 6.851930)
archetype_transform_grad_norm: 0.296946 (range: 0.296946 - 0.296946)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0191, max=0.8109, mean=0.2500
Batch reconstruction MSE: 1.1719
Archetype stats: min=-11.8043, max=8.3094
Archetype change since last debug: 1.496984
Archetype gradients: norm=0.049759, mean=0.002591
Epoch 1/1
Average loss: 0.8086
Archetypal loss: 0.8884
KLD loss: 0.0905
Reconstruction loss: 0.8884
Archetype R²: 0.0675
Archetype transform grad norm: 0.292132
Archetype transform param norm: 6.8695
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.8086 (range: 0.8086 - 0.8086)
archetypal_loss: 0.8884 (range: 0.8884 - 0.8884)
kld_loss: 0.0905 (range: 0.0905 - 0.0905)
reconstruction_loss: 0.8884 (range: 0.8884 - 0.8884)
archetype_r2: 0.0675 (range: 0.0675 - 0.0675)
Archetype Transform Summary:
archetype_transform_mean: 0.001045 (range: 0.001045 - 0.001045)
archetype_transform_std: 0.096195 (range: 0.096195 - 0.096195)
archetype_transform_norm: 6.869458 (range: 6.869458 - 6.869458)
archetype_transform_grad_norm: 0.292132 (range: 0.292132 - 0.292132)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0244, max=0.7401, mean=0.2500
Batch reconstruction MSE: 1.1464
Archetype stats: min=-12.0960, max=8.3865
Archetype change since last debug: 1.072242
Archetype gradients: norm=0.030635, mean=0.001803
Epoch 1/1
Average loss: 0.8075
Archetypal loss: 0.8873
KLD loss: 0.0894
Reconstruction loss: 0.8873
Archetype R²: 0.0686
Archetype transform grad norm: 0.291744
Archetype transform param norm: 6.9037
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.8075 (range: 0.8075 - 0.8075)
archetypal_loss: 0.8873 (range: 0.8873 - 0.8873)
kld_loss: 0.0894 (range: 0.0894 - 0.0894)
reconstruction_loss: 0.8873 (range: 0.8873 - 0.8873)
archetype_r2: 0.0686 (range: 0.0686 - 0.0686)
Archetype Transform Summary:
archetype_transform_mean: 0.001031 (range: 0.001031 - 0.001031)
archetype_transform_std: 0.096676 (range: 0.096676 - 0.096676)
archetype_transform_norm: 6.903730 (range: 6.903730 - 6.903730)
archetype_transform_grad_norm: 0.291744 (range: 0.291744 - 0.291744)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0287, max=0.6386, mean=0.2500
Batch reconstruction MSE: 1.1785
Archetype stats: min=-12.5765, max=8.4918
Archetype change since last debug: 1.139860
Archetype gradients: norm=0.093256, mean=0.004371
Epoch 1/1
Average loss: 0.8085
Archetypal loss: 0.8884
KLD loss: 0.0887
Reconstruction loss: 0.8884
Archetype R²: 0.0675
Archetype transform grad norm: 0.305854
Archetype transform param norm: 6.9013
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.8085 (range: 0.8085 - 0.8085)
archetypal_loss: 0.8884 (range: 0.8884 - 0.8884)
kld_loss: 0.0887 (range: 0.0887 - 0.0887)
reconstruction_loss: 0.8884 (range: 0.8884 - 0.8884)
archetype_r2: 0.0675 (range: 0.0675 - 0.0675)
Archetype Transform Summary:
archetype_transform_mean: 0.001073 (range: 0.001073 - 0.001073)
archetype_transform_std: 0.096642 (range: 0.096642 - 0.096642)
archetype_transform_norm: 6.901341 (range: 6.901341 - 6.901341)
archetype_transform_grad_norm: 0.305854 (range: 0.305854 - 0.305854)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0226, max=0.8089, mean=0.2500
Batch reconstruction MSE: 1.2688
Archetype stats: min=-12.3989, max=8.6386
Archetype change since last debug: 1.087584
Archetype gradients: norm=0.071498, mean=0.003854
Epoch 1/1
Average loss: 0.8103
Archetypal loss: 0.8904
KLD loss: 0.0894
Reconstruction loss: 0.8904
Archetype R²: 0.0655
Archetype transform grad norm: 0.317660
Archetype transform param norm: 6.9119
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.8103 (range: 0.8103 - 0.8103)
archetypal_loss: 0.8904 (range: 0.8904 - 0.8904)
kld_loss: 0.0894 (range: 0.0894 - 0.0894)
reconstruction_loss: 0.8904 (range: 0.8904 - 0.8904)
archetype_r2: 0.0655 (range: 0.0655 - 0.0655)
Archetype Transform Summary:
archetype_transform_mean: 0.001169 (range: 0.001169 - 0.001169)
archetype_transform_std: 0.096788 (range: 0.096788 - 0.096788)
archetype_transform_norm: 6.911855 (range: 6.911855 - 6.911855)
archetype_transform_grad_norm: 0.317660 (range: 0.317660 - 0.317660)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0219, max=0.6468, mean=0.2500
Batch reconstruction MSE: 1.2061
Archetype stats: min=-12.4603, max=8.3077
Archetype change since last debug: 1.269501
Archetype gradients: norm=0.104073, mean=0.004599
Epoch 1/1
Average loss: 0.8084
Archetypal loss: 0.8883
KLD loss: 0.0894
Reconstruction loss: 0.8883
Archetype R²: 0.0676
Archetype transform grad norm: 0.297572
Archetype transform param norm: 6.8917
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.8084 (range: 0.8084 - 0.8084)
archetypal_loss: 0.8883 (range: 0.8883 - 0.8883)
kld_loss: 0.0894 (range: 0.0894 - 0.0894)
reconstruction_loss: 0.8883 (range: 0.8883 - 0.8883)
archetype_r2: 0.0676 (range: 0.0676 - 0.0676)
Archetype Transform Summary:
archetype_transform_mean: 0.001149 (range: 0.001149 - 0.001149)
archetype_transform_std: 0.096506 (range: 0.096506 - 0.096506)
archetype_transform_norm: 6.891731 (range: 6.891731 - 6.891731)
archetype_transform_grad_norm: 0.297572 (range: 0.297572 - 0.297572)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0271, max=0.7532, mean=0.2500
Batch reconstruction MSE: 1.1455
Archetype stats: min=-12.1307, max=8.4757
Archetype change since last debug: 1.029488
Archetype gradients: norm=0.042760, mean=0.002101
Epoch 1/1
Average loss: 0.8060
Archetypal loss: 0.8861
KLD loss: 0.0854
Reconstruction loss: 0.8861
Archetype R²: 0.0699
Archetype transform grad norm: 0.284129
Archetype transform param norm: 6.9233
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.8060 (range: 0.8060 - 0.8060)
archetypal_loss: 0.8861 (range: 0.8861 - 0.8861)
kld_loss: 0.0854 (range: 0.0854 - 0.0854)
reconstruction_loss: 0.8861 (range: 0.8861 - 0.8861)
archetype_r2: 0.0699 (range: 0.0699 - 0.0699)
Archetype Transform Summary:
archetype_transform_mean: 0.001231 (range: 0.001231 - 0.001231)
archetype_transform_std: 0.096947 (range: 0.096947 - 0.096947)
archetype_transform_norm: 6.923263 (range: 6.923263 - 6.923263)
archetype_transform_grad_norm: 0.284129 (range: 0.284129 - 0.284129)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0186, max=0.6785, mean=0.2500
Batch reconstruction MSE: 1.0735
Archetype stats: min=-12.5655, max=8.4302
Archetype change since last debug: 1.028975
Archetype gradients: norm=0.056073, mean=0.002131
Epoch 1/1
Average loss: 0.8038
Archetypal loss: 0.8840
KLD loss: 0.0824
Reconstruction loss: 0.8840
Archetype R²: 0.0719
Archetype transform grad norm: 0.273146
Archetype transform param norm: 6.9456
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.8038 (range: 0.8038 - 0.8038)
archetypal_loss: 0.8840 (range: 0.8840 - 0.8840)
kld_loss: 0.0824 (range: 0.0824 - 0.0824)
reconstruction_loss: 0.8840 (range: 0.8840 - 0.8840)
archetype_r2: 0.0719 (range: 0.0719 - 0.0719)
Archetype Transform Summary:
archetype_transform_mean: 0.001196 (range: 0.001196 - 0.001196)
archetype_transform_std: 0.097260 (range: 0.097260 - 0.097260)
archetype_transform_norm: 6.945620 (range: 6.945620 - 6.945620)
archetype_transform_grad_norm: 0.273146 (range: 0.273146 - 0.273146)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0233, max=0.6988, mean=0.2500
Batch reconstruction MSE: 1.0846
Archetype stats: min=-12.7133, max=8.7791
Archetype change since last debug: 1.305564
Archetype gradients: norm=0.033938, mean=0.001689
Epoch 1/1
Average loss: 0.8035
Archetypal loss: 0.8840
KLD loss: 0.0788
Reconstruction loss: 0.8840
Archetype R²: 0.0719
Archetype transform grad norm: 0.276563
Archetype transform param norm: 6.9895
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.8035 (range: 0.8035 - 0.8035)
archetypal_loss: 0.8840 (range: 0.8840 - 0.8840)
kld_loss: 0.0788 (range: 0.0788 - 0.0788)
reconstruction_loss: 0.8840 (range: 0.8840 - 0.8840)
archetype_r2: 0.0719 (range: 0.0719 - 0.0719)
Archetype Transform Summary:
archetype_transform_mean: 0.001288 (range: 0.001288 - 0.001288)
archetype_transform_std: 0.097874 (range: 0.097874 - 0.097874)
archetype_transform_norm: 6.989519 (range: 6.989519 - 6.989519)
archetype_transform_grad_norm: 0.276563 (range: 0.276563 - 0.276563)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0196, max=0.6840, mean=0.2500
Batch reconstruction MSE: 1.0711
Archetype stats: min=-13.2122, max=8.8775
Archetype change since last debug: 1.172868
Archetype gradients: norm=0.068445, mean=0.002436
Epoch 1/1
Average loss: 0.8032
Archetypal loss: 0.8838
KLD loss: 0.0785
Reconstruction loss: 0.8838
Archetype R²: 0.0721
Archetype transform grad norm: 0.280229
Archetype transform param norm: 7.0049
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.8032 (range: 0.8032 - 0.8032)
archetypal_loss: 0.8838 (range: 0.8838 - 0.8838)
kld_loss: 0.0785 (range: 0.0785 - 0.0785)
reconstruction_loss: 0.8838 (range: 0.8838 - 0.8838)
archetype_r2: 0.0721 (range: 0.0721 - 0.0721)
Archetype Transform Summary:
archetype_transform_mean: 0.001213 (range: 0.001213 - 0.001213)
archetype_transform_std: 0.098091 (range: 0.098091 - 0.098091)
archetype_transform_norm: 7.004943 (range: 7.004943 - 7.004943)
archetype_transform_grad_norm: 0.280229 (range: 0.280229 - 0.280229)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0208, max=0.6533, mean=0.2500
Batch reconstruction MSE: 1.1561
Archetype stats: min=-13.2447, max=9.1377
Archetype change since last debug: 1.091209
Archetype gradients: norm=0.053570, mean=0.002707
Epoch 1/1
Average loss: 0.8048
Archetypal loss: 0.8857
KLD loss: 0.0763
Reconstruction loss: 0.8857
Archetype R²: 0.0703
Archetype transform grad norm: 0.290681
Archetype transform param norm: 7.0303
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.8048 (range: 0.8048 - 0.8048)
archetypal_loss: 0.8857 (range: 0.8857 - 0.8857)
kld_loss: 0.0763 (range: 0.0763 - 0.0763)
reconstruction_loss: 0.8857 (range: 0.8857 - 0.8857)
archetype_r2: 0.0703 (range: 0.0703 - 0.0703)
Archetype Transform Summary:
archetype_transform_mean: 0.001345 (range: 0.001345 - 0.001345)
archetype_transform_std: 0.098444 (range: 0.098444 - 0.098444)
archetype_transform_norm: 7.030275 (range: 7.030275 - 7.030275)
archetype_transform_grad_norm: 0.290681 (range: 0.290681 - 0.290681)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0223, max=0.7034, mean=0.2500
Batch reconstruction MSE: 1.1330
Archetype stats: min=-13.5724, max=9.0322
Archetype change since last debug: 0.716152
Archetype gradients: norm=0.088599, mean=0.003404
Epoch 1/1
Average loss: 0.8048
Archetypal loss: 0.8853
KLD loss: 0.0797
Reconstruction loss: 0.8853
Archetype R²: 0.0706
Archetype transform grad norm: 0.289013
Archetype transform param norm: 7.0205
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.8048 (range: 0.8048 - 0.8048)
archetypal_loss: 0.8853 (range: 0.8853 - 0.8853)
kld_loss: 0.0797 (range: 0.0797 - 0.0797)
reconstruction_loss: 0.8853 (range: 0.8853 - 0.8853)
archetype_r2: 0.0706 (range: 0.0706 - 0.0706)
Archetype Transform Summary:
archetype_transform_mean: 0.001187 (range: 0.001187 - 0.001187)
archetype_transform_std: 0.098309 (range: 0.098309 - 0.098309)
archetype_transform_norm: 7.020520 (range: 7.020520 - 7.020520)
archetype_transform_grad_norm: 0.289013 (range: 0.289013 - 0.289013)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0176, max=0.5738, mean=0.2500
Batch reconstruction MSE: 1.2081
Archetype stats: min=-13.3642, max=9.2059
Archetype change since last debug: 0.868335
Archetype gradients: norm=0.056774, mean=0.002893
Epoch 1/1
Average loss: 0.8062
Archetypal loss: 0.8872
KLD loss: 0.0773
Reconstruction loss: 0.8872
Archetype R²: 0.0688
Archetype transform grad norm: 0.299736
Archetype transform param norm: 7.0291
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.8062 (range: 0.8062 - 0.8062)
archetypal_loss: 0.8872 (range: 0.8872 - 0.8872)
kld_loss: 0.0773 (range: 0.0773 - 0.0773)
reconstruction_loss: 0.8872 (range: 0.8872 - 0.8872)
archetype_r2: 0.0688 (range: 0.0688 - 0.0688)
Archetype Transform Summary:
archetype_transform_mean: 0.001334 (range: 0.001334 - 0.001334)
archetype_transform_std: 0.098428 (range: 0.098428 - 0.098428)
archetype_transform_norm: 7.029099 (range: 7.029099 - 7.029099)
archetype_transform_grad_norm: 0.299736 (range: 0.299736 - 0.299736)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0233, max=0.7675, mean=0.2500
Batch reconstruction MSE: 1.1304
Archetype stats: min=-13.5982, max=9.0160
Archetype change since last debug: 0.892873
Archetype gradients: norm=0.070899, mean=0.003101
Epoch 1/1
Average loss: 0.8046
Archetypal loss: 0.8850
KLD loss: 0.0808
Reconstruction loss: 0.8850
Archetype R²: 0.0709
Archetype transform grad norm: 0.288971
Archetype transform param norm: 7.0242
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.8046 (range: 0.8046 - 0.8046)
archetypal_loss: 0.8850 (range: 0.8850 - 0.8850)
kld_loss: 0.0808 (range: 0.0808 - 0.0808)
reconstruction_loss: 0.8850 (range: 0.8850 - 0.8850)
archetype_r2: 0.0709 (range: 0.0709 - 0.0709)
Archetype Transform Summary:
archetype_transform_mean: 0.001193 (range: 0.001193 - 0.001193)
archetype_transform_std: 0.098360 (range: 0.098360 - 0.098360)
archetype_transform_norm: 7.024169 (range: 7.024169 - 7.024169)
archetype_transform_grad_norm: 0.288971 (range: 0.288971 - 0.288971)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0202, max=0.6382, mean=0.2500
Batch reconstruction MSE: 1.1355
Archetype stats: min=-13.5725, max=9.1923
Archetype change since last debug: 0.714797
Archetype gradients: norm=0.041938, mean=0.002167
Epoch 1/1
Average loss: 0.8038
Archetypal loss: 0.8848
KLD loss: 0.0743
Reconstruction loss: 0.8848
Archetype R²: 0.0711
Archetype transform grad norm: 0.287495
Archetype transform param norm: 7.0464
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.8038 (range: 0.8038 - 0.8038)
archetypal_loss: 0.8848 (range: 0.8848 - 0.8848)
kld_loss: 0.0743 (range: 0.0743 - 0.0743)
reconstruction_loss: 0.8848 (range: 0.8848 - 0.8848)
archetype_r2: 0.0711 (range: 0.0711 - 0.0711)
Archetype Transform Summary:
archetype_transform_mean: 0.001300 (range: 0.001300 - 0.001300)
archetype_transform_std: 0.098671 (range: 0.098671 - 0.098671)
archetype_transform_norm: 7.046449 (range: 7.046449 - 7.046449)
archetype_transform_grad_norm: 0.287495 (range: 0.287495 - 0.287495)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0208, max=0.7144, mean=0.2500
Batch reconstruction MSE: 1.0896
Archetype stats: min=-13.9422, max=9.2493
Archetype change since last debug: 0.813258
Archetype gradients: norm=0.051244, mean=0.002395
Epoch 1/1
Average loss: 0.8030
Archetypal loss: 0.8837
KLD loss: 0.0768
Reconstruction loss: 0.8837
Archetype R²: 0.0722
Archetype transform grad norm: 0.285332
Archetype transform param norm: 7.0590
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.8030 (range: 0.8030 - 0.8030)
archetypal_loss: 0.8837 (range: 0.8837 - 0.8837)
kld_loss: 0.0768 (range: 0.0768 - 0.0768)
reconstruction_loss: 0.8837 (range: 0.8837 - 0.8837)
archetype_r2: 0.0722 (range: 0.0722 - 0.0722)
Archetype Transform Summary:
archetype_transform_mean: 0.001212 (range: 0.001212 - 0.001212)
archetype_transform_std: 0.098847 (range: 0.098847 - 0.098847)
archetype_transform_norm: 7.058963 (range: 7.058963 - 7.058963)
archetype_transform_grad_norm: 0.285332 (range: 0.285332 - 0.285332)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0225, max=0.6132, mean=0.2500
Batch reconstruction MSE: 1.1168
Archetype stats: min=-14.1064, max=9.4719
Archetype change since last debug: 0.789974
Archetype gradients: norm=0.032946, mean=0.001691
Epoch 1/1
Average loss: 0.8029
Archetypal loss: 0.8842
KLD loss: 0.0719
Reconstruction loss: 0.8842
Archetype R²: 0.0718
Archetype transform grad norm: 0.283962
Archetype transform param norm: 7.0816
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.8029 (range: 0.8029 - 0.8029)
archetypal_loss: 0.8842 (range: 0.8842 - 0.8842)
kld_loss: 0.0719 (range: 0.0719 - 0.0719)
reconstruction_loss: 0.8842 (range: 0.8842 - 0.8842)
archetype_r2: 0.0718 (range: 0.0718 - 0.0718)
Archetype Transform Summary:
archetype_transform_mean: 0.001283 (range: 0.001283 - 0.001283)
archetype_transform_std: 0.099164 (range: 0.099164 - 0.099164)
archetype_transform_norm: 7.081649 (range: 7.081649 - 7.081649)
archetype_transform_grad_norm: 0.283962 (range: 0.283962 - 0.283962)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0210, max=0.6706, mean=0.2500
Batch reconstruction MSE: 1.0836
Archetype stats: min=-14.4302, max=9.5663
Archetype change since last debug: 0.737103
Archetype gradients: norm=0.044038, mean=0.002061
Epoch 1/1
Average loss: 0.8024
Archetypal loss: 0.8833
KLD loss: 0.0744
Reconstruction loss: 0.8833
Archetype R²: 0.0726
Archetype transform grad norm: 0.283847
Archetype transform param norm: 7.0952
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.8024 (range: 0.8024 - 0.8024)
archetypal_loss: 0.8833 (range: 0.8833 - 0.8833)
kld_loss: 0.0744 (range: 0.0744 - 0.0744)
reconstruction_loss: 0.8833 (range: 0.8833 - 0.8833)
archetype_r2: 0.0726 (range: 0.0726 - 0.0726)
Archetype Transform Summary:
archetype_transform_mean: 0.001223 (range: 0.001223 - 0.001223)
archetype_transform_std: 0.099355 (range: 0.099355 - 0.099355)
archetype_transform_norm: 7.095202 (range: 7.095202 - 7.095202)
archetype_transform_grad_norm: 0.283847 (range: 0.283847 - 0.283847)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0220, max=0.6045, mean=0.2500
Batch reconstruction MSE: 1.1315
Archetype stats: min=-14.6223, max=9.7694
Archetype change since last debug: 0.750184
Archetype gradients: norm=0.030229, mean=0.001551
Epoch 1/1
Average loss: 0.8030
Archetypal loss: 0.8844
KLD loss: 0.0710
Reconstruction loss: 0.8844
Archetype R²: 0.0716
Archetype transform grad norm: 0.286432
Archetype transform param norm: 7.1119
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.8030 (range: 0.8030 - 0.8030)
archetypal_loss: 0.8844 (range: 0.8844 - 0.8844)
kld_loss: 0.0710 (range: 0.0710 - 0.0710)
reconstruction_loss: 0.8844 (range: 0.8844 - 0.8844)
archetype_r2: 0.0716 (range: 0.0716 - 0.0716)
Archetype Transform Summary:
archetype_transform_mean: 0.001291 (range: 0.001291 - 0.001291)
archetype_transform_std: 0.099587 (range: 0.099587 - 0.099587)
archetype_transform_norm: 7.111861 (range: 7.111861 - 7.111861)
archetype_transform_grad_norm: 0.286432 (range: 0.286432 - 0.286432)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0247, max=0.6532, mean=0.2500
Batch reconstruction MSE: 1.0818
Archetype stats: min=-14.8538, max=9.8602
Archetype change since last debug: 0.544529
Archetype gradients: norm=0.033080, mean=0.001727
Epoch 1/1
Average loss: 0.8021
Archetypal loss: 0.8832
KLD loss: 0.0724
Reconstruction loss: 0.8832
Archetype R²: 0.0727
Archetype transform grad norm: 0.288115
Archetype transform param norm: 7.1255
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.8021 (range: 0.8021 - 0.8021)
archetypal_loss: 0.8832 (range: 0.8832 - 0.8832)
kld_loss: 0.0724 (range: 0.0724 - 0.0724)
reconstruction_loss: 0.8832 (range: 0.8832 - 0.8832)
archetype_r2: 0.0727 (range: 0.0727 - 0.0727)
Archetype Transform Summary:
archetype_transform_mean: 0.001244 (range: 0.001244 - 0.001244)
archetype_transform_std: 0.099779 (range: 0.099779 - 0.099779)
archetype_transform_norm: 7.125523 (range: 7.125523 - 7.125523)
archetype_transform_grad_norm: 0.288115 (range: 0.288115 - 0.288115)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0251, max=0.5917, mean=0.2500
Batch reconstruction MSE: 1.1112
Archetype stats: min=-15.0942, max=10.0546
Archetype change since last debug: 0.732642
Archetype gradients: norm=0.026369, mean=0.001541
Epoch 1/1
Average loss: 0.8023
Archetypal loss: 0.8838
KLD loss: 0.0695
Reconstruction loss: 0.8838
Archetype R²: 0.0722
Archetype transform grad norm: 0.289185
Archetype transform param norm: 7.1401
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.8023 (range: 0.8023 - 0.8023)
archetypal_loss: 0.8838 (range: 0.8838 - 0.8838)
kld_loss: 0.0695 (range: 0.0695 - 0.0695)
reconstruction_loss: 0.8838 (range: 0.8838 - 0.8838)
archetype_r2: 0.0722 (range: 0.0722 - 0.0722)
Archetype Transform Summary:
archetype_transform_mean: 0.001290 (range: 0.001290 - 0.001290)
archetype_transform_std: 0.099983 (range: 0.099983 - 0.099983)
archetype_transform_norm: 7.140111 (range: 7.140111 - 7.140111)
archetype_transform_grad_norm: 0.289185 (range: 0.289185 - 0.289185)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0204, max=0.6507, mean=0.2500
Batch reconstruction MSE: 1.1122
Archetype stats: min=-15.2647, max=10.2027
Archetype change since last debug: 0.523202
Archetype gradients: norm=0.033480, mean=0.001479
Epoch 1/1
Average loss: 0.8028
Archetypal loss: 0.8843
KLD loss: 0.0696
Reconstruction loss: 0.8843
Archetype R²: 0.0717
Archetype transform grad norm: 0.299727
Archetype transform param norm: 7.1540
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.8028 (range: 0.8028 - 0.8028)
archetypal_loss: 0.8843 (range: 0.8843 - 0.8843)
kld_loss: 0.0696 (range: 0.0696 - 0.0696)
reconstruction_loss: 0.8843 (range: 0.8843 - 0.8843)
archetype_r2: 0.0717 (range: 0.0717 - 0.0717)
Archetype Transform Summary:
archetype_transform_mean: 0.001298 (range: 0.001298 - 0.001298)
archetype_transform_std: 0.100177 (range: 0.100177 - 0.100177)
archetype_transform_norm: 7.153978 (range: 7.153978 - 7.153978)
archetype_transform_grad_norm: 0.299727 (range: 0.299727 - 0.299727)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0272, max=0.6213, mean=0.2500
Batch reconstruction MSE: 1.1719
Archetype stats: min=-15.4856, max=10.3859
Archetype change since last debug: 0.866465
Archetype gradients: norm=0.062852, mean=0.003277
Epoch 1/1
Average loss: 0.8040
Archetypal loss: 0.8854
KLD loss: 0.0719
Reconstruction loss: 0.8854
Archetype R²: 0.0706
Archetype transform grad norm: 0.300468
Archetype transform param norm: 7.1405
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.8040 (range: 0.8040 - 0.8040)
archetypal_loss: 0.8854 (range: 0.8854 - 0.8854)
kld_loss: 0.0719 (range: 0.0719 - 0.0719)
reconstruction_loss: 0.8854 (range: 0.8854 - 0.8854)
archetype_r2: 0.0706 (range: 0.0706 - 0.0706)
Archetype Transform Summary:
archetype_transform_mean: 0.001286 (range: 0.001286 - 0.001286)
archetype_transform_std: 0.099989 (range: 0.099989 - 0.099989)
archetype_transform_norm: 7.140518 (range: 7.140518 - 7.140518)
archetype_transform_grad_norm: 0.300468 (range: 0.300468 - 0.300468)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0145, max=0.6274, mean=0.2500
Batch reconstruction MSE: 1.1942
Archetype stats: min=-15.2727, max=10.4671
Archetype change since last debug: 0.718527
Archetype gradients: norm=0.041719, mean=0.002108
Epoch 1/1
Average loss: 0.8040
Archetypal loss: 0.8857
KLD loss: 0.0687
Reconstruction loss: 0.8857
Archetype R²: 0.0703
Archetype transform grad norm: 0.292341
Archetype transform param norm: 7.1430
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.8040 (range: 0.8040 - 0.8040)
archetypal_loss: 0.8857 (range: 0.8857 - 0.8857)
kld_loss: 0.0687 (range: 0.0687 - 0.0687)
reconstruction_loss: 0.8857 (range: 0.8857 - 0.8857)
archetype_r2: 0.0703 (range: 0.0703 - 0.0703)
Archetype Transform Summary:
archetype_transform_mean: 0.001355 (range: 0.001355 - 0.001355)
archetype_transform_std: 0.100023 (range: 0.100023 - 0.100023)
archetype_transform_norm: 7.143029 (range: 7.143029 - 7.143029)
archetype_transform_grad_norm: 0.292341 (range: 0.292341 - 0.292341)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0219, max=0.6338, mean=0.2500
Batch reconstruction MSE: 1.1166
Archetype stats: min=-15.2469, max=10.2085
Archetype change since last debug: 0.684675
Archetype gradients: norm=0.064840, mean=0.002782
Epoch 1/1
Average loss: 0.8023
Archetypal loss: 0.8835
KLD loss: 0.0718
Reconstruction loss: 0.8835
Archetype R²: 0.0725
Archetype transform grad norm: 0.279052
Archetype transform param norm: 7.1333
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.8023 (range: 0.8023 - 0.8023)
archetypal_loss: 0.8835 (range: 0.8835 - 0.8835)
kld_loss: 0.0718 (range: 0.0718 - 0.0718)
reconstruction_loss: 0.8835 (range: 0.8835 - 0.8835)
archetype_r2: 0.0725 (range: 0.0725 - 0.0725)
Archetype Transform Summary:
archetype_transform_mean: 0.001319 (range: 0.001319 - 0.001319)
archetype_transform_std: 0.099887 (range: 0.099887 - 0.099887)
archetype_transform_norm: 7.133255 (range: 7.133255 - 7.133255)
archetype_transform_grad_norm: 0.279052 (range: 0.279052 - 0.279052)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0192, max=0.6120, mean=0.2500
Batch reconstruction MSE: 1.1209
Archetype stats: min=-15.0828, max=10.3055
Archetype change since last debug: 0.612319
Archetype gradients: norm=0.045521, mean=0.002217
Epoch 1/1
Average loss: 0.8021
Archetypal loss: 0.8836
KLD loss: 0.0683
Reconstruction loss: 0.8836
Archetype R²: 0.0723
Archetype transform grad norm: 0.288900
Archetype transform param norm: 7.1552
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.8021 (range: 0.8021 - 0.8021)
archetypal_loss: 0.8836 (range: 0.8836 - 0.8836)
kld_loss: 0.0683 (range: 0.0683 - 0.0683)
reconstruction_loss: 0.8836 (range: 0.8836 - 0.8836)
archetype_r2: 0.0723 (range: 0.0723 - 0.0723)
Archetype Transform Summary:
archetype_transform_mean: 0.001372 (range: 0.001372 - 0.001372)
archetype_transform_std: 0.100194 (range: 0.100194 - 0.100194)
archetype_transform_norm: 7.155237 (range: 7.155237 - 7.155237)
archetype_transform_grad_norm: 0.288900 (range: 0.288900 - 0.288900)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0227, max=0.6290, mean=0.2500
Batch reconstruction MSE: 1.1190
Archetype stats: min=-15.3961, max=10.2224
Archetype change since last debug: 0.673676
Archetype gradients: norm=0.108411, mean=0.004349
Epoch 1/1
Average loss: 0.8029
Archetypal loss: 0.8841
KLD loss: 0.0721
Reconstruction loss: 0.8841
Archetype R²: 0.0718
Archetype transform grad norm: 0.302431
Archetype transform param norm: 7.1411
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.8029 (range: 0.8029 - 0.8029)
archetypal_loss: 0.8841 (range: 0.8841 - 0.8841)
kld_loss: 0.0721 (range: 0.0721 - 0.0721)
reconstruction_loss: 0.8841 (range: 0.8841 - 0.8841)
archetype_r2: 0.0718 (range: 0.0718 - 0.0718)
Archetype Transform Summary:
archetype_transform_mean: 0.001316 (range: 0.001316 - 0.001316)
archetype_transform_std: 0.099996 (range: 0.099996 - 0.099996)
archetype_transform_norm: 7.141091 (range: 7.141091 - 7.141091)
archetype_transform_grad_norm: 0.302431 (range: 0.302431 - 0.302431)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0197, max=0.6180, mean=0.2500
Batch reconstruction MSE: 1.2373
Archetype stats: min=-14.9168, max=10.1952
Archetype change since last debug: 1.045430
Archetype gradients: norm=0.082558, mean=0.004022
Epoch 1/1
Average loss: 0.8058
Archetypal loss: 0.8874
KLD loss: 0.0720
Reconstruction loss: 0.8874
Archetype R²: 0.0687
Archetype transform grad norm: 0.329898
Archetype transform param norm: 7.1387
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.8058 (range: 0.8058 - 0.8058)
archetypal_loss: 0.8874 (range: 0.8874 - 0.8874)
kld_loss: 0.0720 (range: 0.0720 - 0.0720)
reconstruction_loss: 0.8874 (range: 0.8874 - 0.8874)
archetype_r2: 0.0687 (range: 0.0687 - 0.0687)
Archetype Transform Summary:
archetype_transform_mean: 0.001438 (range: 0.001438 - 0.001438)
archetype_transform_std: 0.099961 (range: 0.099961 - 0.099961)
archetype_transform_norm: 7.138712 (range: 7.138712 - 7.138712)
archetype_transform_grad_norm: 0.329898 (range: 0.329898 - 0.329898)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0224, max=0.6043, mean=0.2500
Batch reconstruction MSE: 1.1932
Archetype stats: min=-14.8045, max=9.8864
Archetype change since last debug: 1.364797
Archetype gradients: norm=0.086048, mean=0.004074
Epoch 1/1
Average loss: 0.8043
Archetypal loss: 0.8855
KLD loss: 0.0733
Reconstruction loss: 0.8855
Archetype R²: 0.0705
Archetype transform grad norm: 0.301856
Archetype transform param norm: 7.1096
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.8043 (range: 0.8043 - 0.8043)
archetypal_loss: 0.8855 (range: 0.8855 - 0.8855)
kld_loss: 0.0733 (range: 0.0733 - 0.0733)
reconstruction_loss: 0.8855 (range: 0.8855 - 0.8855)
archetype_r2: 0.0705 (range: 0.0705 - 0.0705)
Archetype Transform Summary:
archetype_transform_mean: 0.001415 (range: 0.001415 - 0.001415)
archetype_transform_std: 0.099554 (range: 0.099554 - 0.099554)
archetype_transform_norm: 7.109612 (range: 7.109612 - 7.109612)
archetype_transform_grad_norm: 0.301856 (range: 0.301856 - 0.301856)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0250, max=0.6372, mean=0.2500
Batch reconstruction MSE: 1.1213
Archetype stats: min=-14.3301, max=9.5822
Archetype change since last debug: 1.007365
Archetype gradients: norm=0.036795, mean=0.002222
Epoch 1/1
Average loss: 0.8025
Archetypal loss: 0.8836
KLD loss: 0.0722
Reconstruction loss: 0.8836
Archetype R²: 0.0723
Archetype transform grad norm: 0.299396
Archetype transform param norm: 7.1246
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.8025 (range: 0.8025 - 0.8025)
archetypal_loss: 0.8836 (range: 0.8836 - 0.8836)
kld_loss: 0.0722 (range: 0.0722 - 0.0722)
reconstruction_loss: 0.8836 (range: 0.8836 - 0.8836)
archetype_r2: 0.0723 (range: 0.0723 - 0.0723)
Archetype Transform Summary:
archetype_transform_mean: 0.001383 (range: 0.001383 - 0.001383)
archetype_transform_std: 0.099765 (range: 0.099765 - 0.099765)
archetype_transform_norm: 7.124639 (range: 7.124639 - 7.124639)
archetype_transform_grad_norm: 0.299396 (range: 0.299396 - 0.299396)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0199, max=0.6087, mean=0.2500
Batch reconstruction MSE: 1.1266
Archetype stats: min=-14.6904, max=9.8208
Archetype change since last debug: 0.814100
Archetype gradients: norm=0.064827, mean=0.003191
Epoch 1/1
Average loss: 0.8021
Archetypal loss: 0.8835
KLD loss: 0.0690
Reconstruction loss: 0.8835
Archetype R²: 0.0724
Archetype transform grad norm: 0.291569
Archetype transform param norm: 7.1279
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.8021 (range: 0.8021 - 0.8021)
archetypal_loss: 0.8835 (range: 0.8835 - 0.8835)
kld_loss: 0.0690 (range: 0.0690 - 0.0690)
reconstruction_loss: 0.8835 (range: 0.8835 - 0.8835)
archetype_r2: 0.0724 (range: 0.0724 - 0.0724)
Archetype Transform Summary:
archetype_transform_mean: 0.001422 (range: 0.001422 - 0.001422)
archetype_transform_std: 0.099811 (range: 0.099811 - 0.099811)
archetype_transform_norm: 7.127934 (range: 7.127934 - 7.127934)
archetype_transform_grad_norm: 0.291569 (range: 0.291569 - 0.291569)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0245, max=0.6181, mean=0.2500
Batch reconstruction MSE: 1.0872
Archetype stats: min=-14.6470, max=9.8312
Archetype change since last debug: 0.675908
Archetype gradients: norm=0.033591, mean=0.002010
Epoch 1/1
Average loss: 0.8011
Archetypal loss: 0.8824
KLD loss: 0.0696
Reconstruction loss: 0.8824
Archetype R²: 0.0736
Archetype transform grad norm: 0.289139
Archetype transform param norm: 7.1555
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.8011 (range: 0.8011 - 0.8011)
archetypal_loss: 0.8824 (range: 0.8824 - 0.8824)
kld_loss: 0.0696 (range: 0.0696 - 0.0696)
reconstruction_loss: 0.8824 (range: 0.8824 - 0.8824)
archetype_r2: 0.0736 (range: 0.0736 - 0.0736)
Archetype Transform Summary:
archetype_transform_mean: 0.001416 (range: 0.001416 - 0.001416)
archetype_transform_std: 0.100196 (range: 0.100196 - 0.100196)
archetype_transform_norm: 7.155456 (range: 7.155456 - 7.155456)
archetype_transform_grad_norm: 0.289139 (range: 0.289139 - 0.289139)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0278, max=0.5968, mean=0.2500
Batch reconstruction MSE: 1.1003
Archetype stats: min=-15.0821, max=10.1160
Archetype change since last debug: 0.943133
Archetype gradients: norm=0.053762, mean=0.002791
Epoch 1/1
Average loss: 0.8012
Archetypal loss: 0.8828
KLD loss: 0.0670
Reconstruction loss: 0.8828
Archetype R²: 0.0732
Archetype transform grad norm: 0.288818
Archetype transform param norm: 7.1635
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.8012 (range: 0.8012 - 0.8012)
archetypal_loss: 0.8828 (range: 0.8828 - 0.8828)
kld_loss: 0.0670 (range: 0.0670 - 0.0670)
reconstruction_loss: 0.8828 (range: 0.8828 - 0.8828)
archetype_r2: 0.0732 (range: 0.0732 - 0.0732)
Archetype Transform Summary:
archetype_transform_mean: 0.001434 (range: 0.001434 - 0.001434)
archetype_transform_std: 0.100308 (range: 0.100308 - 0.100308)
archetype_transform_norm: 7.163466 (range: 7.163466 - 7.163466)
archetype_transform_grad_norm: 0.288818 (range: 0.288818 - 0.288818)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0167, max=0.6242, mean=0.2500
Batch reconstruction MSE: 1.1188
Archetype stats: min=-15.0698, max=10.1327
Archetype change since last debug: 0.740268
Archetype gradients: norm=0.037049, mean=0.002174
Epoch 1/1
Average loss: 0.8017
Archetypal loss: 0.8832
KLD loss: 0.0681
Reconstruction loss: 0.8832
Archetype R²: 0.0728
Archetype transform grad norm: 0.293263
Archetype transform param norm: 7.1834
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.8017 (range: 0.8017 - 0.8017)
archetypal_loss: 0.8832 (range: 0.8832 - 0.8832)
kld_loss: 0.0681 (range: 0.0681 - 0.0681)
reconstruction_loss: 0.8832 (range: 0.8832 - 0.8832)
archetype_r2: 0.0728 (range: 0.0728 - 0.0728)
Archetype Transform Summary:
archetype_transform_mean: 0.001434 (range: 0.001434 - 0.001434)
archetype_transform_std: 0.100588 (range: 0.100588 - 0.100588)
archetype_transform_norm: 7.183449 (range: 7.183449 - 7.183449)
archetype_transform_grad_norm: 0.293263 (range: 0.293263 - 0.293263)
Fold 2/3
Model input_dim: 50 (auto-detected from data)
Archetypes parameter registered: True
Archetypes requires_grad: True
Deep_AA (Deep Archetypal Analysis) initialized:
- Single-stage architecture (like Deep_2)
- Inflation factor: 1.5
- Direct archetypal coordinates (no bottleneck)
Consolidated Archetype Initialization
PCHA: True, Inflation: True (factor: 1.5)
Test inflation: False
Running PCHA initialization...
Input shape: (128, 50)
Target archetypes: 4
Running PCHA with 4 archetypes...
Data shape for PCHA: (50, 128)
PCHA Results:
Archetypes shape: (4, 50)
Archetype R²: 0.1869
SSE: 4226.5949
PCHA archetype R²: 0.1869
Archetype shape: (4, 50)
[OK] Initialized 4 archetypes using PCHA
Scalar Archetypal Inflation (factor: 1.50)
[OK] Inflation complete
[STATS] Positioning verification:
Data radius (max): 20.373
Data radius (mean): 5.897
Archetype distances: 3.518 to 27.504
Archetypes outside data: 1/4
Min archetype separation: 6.710
[OK] Archetype initialization complete (success: True)
[OK] Archetype initialization complete (PCHA: True, Inflation: 1.5)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0031, max=0.8440, mean=0.2500
Batch reconstruction MSE: 0.9810
Archetype stats: min=-1.7024, max=1.9775
Archetype gradients: norm=0.012899, mean=0.000647
Epoch 1/1
Average loss: 0.8625
Archetypal loss: 0.9550
KLD loss: 0.0300
Reconstruction loss: 0.9550
Archetype R²: -0.0166
Archetype transform grad norm: 0.202405
Archetype transform param norm: 5.7806
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.8625 (range: 0.8625 - 0.8625)
archetypal_loss: 0.9550 (range: 0.9550 - 0.9550)
kld_loss: 0.0300 (range: 0.0300 - 0.0300)
reconstruction_loss: 0.9550 (range: 0.9550 - 0.9550)
archetype_r2: -0.0166 (range: -0.0166 - -0.0166)
Archetype Transform Summary:
archetype_transform_mean: 0.000856 (range: 0.000856 - 0.000856)
archetype_transform_std: 0.080947 (range: 0.080947 - 0.080947)
archetype_transform_norm: 5.780562 (range: 5.780562 - 5.780562)
archetype_transform_grad_norm: 0.202405 (range: 0.202405 - 0.202405)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0079, max=0.8623, mean=0.2500
Batch reconstruction MSE: 0.8641
Archetype stats: min=-0.9827, max=0.7098
Archetype change since last debug: 5.951815
Archetype gradients: norm=0.003255, mean=0.000170
Epoch 1/1
Average loss: 0.8503
Archetypal loss: 0.9417
KLD loss: 0.0276
Reconstruction loss: 0.9417
Archetype R²: -0.0022
Archetype transform grad norm: 0.139543
Archetype transform param norm: 5.7960
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.8503 (range: 0.8503 - 0.8503)
archetypal_loss: 0.9417 (range: 0.9417 - 0.9417)
kld_loss: 0.0276 (range: 0.0276 - 0.0276)
reconstruction_loss: 0.9417 (range: 0.9417 - 0.9417)
archetype_r2: -0.0022 (range: -0.0022 - -0.0022)
Archetype Transform Summary:
archetype_transform_mean: 0.000868 (range: 0.000868 - 0.000868)
archetype_transform_std: 0.081163 (range: 0.081163 - 0.081163)
archetype_transform_norm: 5.795971 (range: 5.795971 - 5.795971)
archetype_transform_grad_norm: 0.139543 (range: 0.139543 - 0.139543)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0047, max=0.8357, mean=0.2500
Batch reconstruction MSE: 0.8662
Archetype stats: min=-1.3735, max=1.0529
Archetype change since last debug: 1.936495
Archetype gradients: norm=0.003579, mean=0.000195
Epoch 1/1
Average loss: 0.8444
Archetypal loss: 0.9317
KLD loss: 0.0585
Reconstruction loss: 0.9317
Archetype R²: 0.0085
Archetype transform grad norm: 0.155791
Archetype transform param norm: 5.8846
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.8444 (range: 0.8444 - 0.8444)
archetypal_loss: 0.9317 (range: 0.9317 - 0.9317)
kld_loss: 0.0585 (range: 0.0585 - 0.0585)
reconstruction_loss: 0.9317 (range: 0.9317 - 0.9317)
archetype_r2: 0.0085 (range: 0.0085 - 0.0085)
Archetype Transform Summary:
archetype_transform_mean: 0.001100 (range: 0.001100 - 0.001100)
archetype_transform_std: 0.082401 (range: 0.082401 - 0.082401)
archetype_transform_norm: 5.884556 (range: 5.884556 - 5.884556)
archetype_transform_grad_norm: 0.155791 (range: 0.155791 - 0.155791)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0046, max=0.8168, mean=0.2500
Batch reconstruction MSE: 0.8939
Archetype stats: min=-2.2534, max=1.8554
Archetype change since last debug: 4.407912
Archetype gradients: norm=0.007780, mean=0.000428
Epoch 1/1
Average loss: 0.8342
Archetypal loss: 0.9168
KLD loss: 0.0903
Reconstruction loss: 0.9168
Archetype R²: 0.0244
Archetype transform grad norm: 0.174412
Archetype transform param norm: 6.0852
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.8342 (range: 0.8342 - 0.8342)
archetypal_loss: 0.9168 (range: 0.9168 - 0.9168)
kld_loss: 0.0903 (range: 0.0903 - 0.0903)
reconstruction_loss: 0.9168 (range: 0.9168 - 0.9168)
archetype_r2: 0.0244 (range: 0.0244 - 0.0244)
Archetype Transform Summary:
archetype_transform_mean: 0.001302 (range: 0.001302 - 0.001302)
archetype_transform_std: 0.085208 (range: 0.085208 - 0.085208)
archetype_transform_norm: 6.085215 (range: 6.085215 - 6.085215)
archetype_transform_grad_norm: 0.174412 (range: 0.174412 - 0.174412)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0026, max=0.9162, mean=0.2500
Batch reconstruction MSE: 0.9389
Archetype stats: min=-3.5587, max=3.0390
Archetype change since last debug: 6.393969
Archetype gradients: norm=0.020354, mean=0.001052
Epoch 1/1
Average loss: 0.8218
Archetypal loss: 0.9009
KLD loss: 0.1100
Reconstruction loss: 0.9009
Archetype R²: 0.0413
Archetype transform grad norm: 0.192655
Archetype transform param norm: 6.3845
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.8218 (range: 0.8218 - 0.8218)
archetypal_loss: 0.9009 (range: 0.9009 - 0.9009)
kld_loss: 0.1100 (range: 0.1100 - 0.1100)
reconstruction_loss: 0.9009 (range: 0.9009 - 0.9009)
archetype_r2: 0.0413 (range: 0.0413 - 0.0413)
Archetype Transform Summary:
archetype_transform_mean: 0.001391 (range: 0.001391 - 0.001391)
archetype_transform_std: 0.089399 (range: 0.089399 - 0.089399)
archetype_transform_norm: 6.384506 (range: 6.384506 - 6.384506)
archetype_transform_grad_norm: 0.192655 (range: 0.192655 - 0.192655)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0080, max=0.7984, mean=0.2500
Batch reconstruction MSE: 0.9821
Archetype stats: min=-5.6841, max=5.0678
Archetype change since last debug: 6.601862
Archetype gradients: norm=0.039440, mean=0.001810
Epoch 1/1
Average loss: 0.8123
Archetypal loss: 0.8905
KLD loss: 0.1086
Reconstruction loss: 0.8905
Archetype R²: 0.0522
Archetype transform grad norm: 0.209843
Archetype transform param norm: 6.6732
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.8123 (range: 0.8123 - 0.8123)
archetypal_loss: 0.8905 (range: 0.8905 - 0.8905)
kld_loss: 0.1086 (range: 0.1086 - 0.1086)
reconstruction_loss: 0.8905 (range: 0.8905 - 0.8905)
archetype_r2: 0.0522 (range: 0.0522 - 0.0522)
Archetype Transform Summary:
archetype_transform_mean: 0.001432 (range: 0.001432 - 0.001432)
archetype_transform_std: 0.093441 (range: 0.093441 - 0.093441)
archetype_transform_norm: 6.673163 (range: 6.673163 - 6.673163)
archetype_transform_grad_norm: 0.209843 (range: 0.209843 - 0.209843)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0124, max=0.7214, mean=0.2500
Batch reconstruction MSE: 0.9998
Archetype stats: min=-7.5375, max=6.9560
Archetype change since last debug: 5.468031
Archetype gradients: norm=0.044468, mean=0.002086
Epoch 1/1
Average loss: 0.8065
Archetypal loss: 0.8850
KLD loss: 0.1000
Reconstruction loss: 0.8850
Archetype R²: 0.0580
Archetype transform grad norm: 0.220454
Archetype transform param norm: 6.8791
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.8065 (range: 0.8065 - 0.8065)
archetypal_loss: 0.8850 (range: 0.8850 - 0.8850)
kld_loss: 0.1000 (range: 0.1000 - 0.1000)
reconstruction_loss: 0.8850 (range: 0.8850 - 0.8850)
archetype_r2: 0.0580 (range: 0.0580 - 0.0580)
Archetype Transform Summary:
archetype_transform_mean: 0.001458 (range: 0.001458 - 0.001458)
archetype_transform_std: 0.096325 (range: 0.096325 - 0.096325)
archetype_transform_norm: 6.879083 (range: 6.879083 - 6.879083)
archetype_transform_grad_norm: 0.220454 (range: 0.220454 - 0.220454)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0161, max=0.9206, mean=0.2500
Batch reconstruction MSE: 1.0347
Archetype stats: min=-8.9261, max=8.2067
Archetype change since last debug: 4.090985
Archetype gradients: norm=0.047783, mean=0.002222
Epoch 1/1
Average loss: 0.8044
Archetypal loss: 0.8827
KLD loss: 0.0989
Reconstruction loss: 0.8827
Archetype R²: 0.0602
Archetype transform grad norm: 0.232868
Archetype transform param norm: 7.0088
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.8044 (range: 0.8044 - 0.8044)
archetypal_loss: 0.8827 (range: 0.8827 - 0.8827)
kld_loss: 0.0989 (range: 0.0989 - 0.0989)
reconstruction_loss: 0.8827 (range: 0.8827 - 0.8827)
archetype_r2: 0.0602 (range: 0.0602 - 0.0602)
Archetype Transform Summary:
archetype_transform_mean: 0.001442 (range: 0.001442 - 0.001442)
archetype_transform_std: 0.098142 (range: 0.098142 - 0.098142)
archetype_transform_norm: 7.008794 (range: 7.008794 - 7.008794)
archetype_transform_grad_norm: 0.232868 (range: 0.232868 - 0.232868)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0194, max=0.7670, mean=0.2500
Batch reconstruction MSE: 1.0596
Archetype stats: min=-9.8419, max=9.0719
Archetype change since last debug: 2.933763
Archetype gradients: norm=0.086071, mean=0.003864
Epoch 1/1
Average loss: 0.8029
Archetypal loss: 0.8815
KLD loss: 0.0950
Reconstruction loss: 0.8815
Archetype R²: 0.0615
Archetype transform grad norm: 0.238035
Archetype transform param norm: 7.0834
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.8029 (range: 0.8029 - 0.8029)
archetypal_loss: 0.8815 (range: 0.8815 - 0.8815)
kld_loss: 0.0950 (range: 0.0950 - 0.0950)
reconstruction_loss: 0.8815 (range: 0.8815 - 0.8815)
archetype_r2: 0.0615 (range: 0.0615 - 0.0615)
Archetype Transform Summary:
archetype_transform_mean: 0.001440 (range: 0.001440 - 0.001440)
archetype_transform_std: 0.099187 (range: 0.099187 - 0.099187)
archetype_transform_norm: 7.083408 (range: 7.083408 - 7.083408)
archetype_transform_grad_norm: 0.238035 (range: 0.238035 - 0.238035)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0198, max=0.6902, mean=0.2500
Batch reconstruction MSE: 1.0208
Archetype stats: min=-10.3592, max=9.4903
Archetype change since last debug: 2.063365
Archetype gradients: norm=0.039450, mean=0.002216
Epoch 1/1
Average loss: 0.8010
Archetypal loss: 0.8793
KLD loss: 0.0958
Reconstruction loss: 0.8793
Archetype R²: 0.0639
Archetype transform grad norm: 0.253330
Archetype transform param norm: 7.1622
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.8010 (range: 0.8010 - 0.8010)
archetypal_loss: 0.8793 (range: 0.8793 - 0.8793)
kld_loss: 0.0958 (range: 0.0958 - 0.0958)
reconstruction_loss: 0.8793 (range: 0.8793 - 0.8793)
archetype_r2: 0.0639 (range: 0.0639 - 0.0639)
Archetype Transform Summary:
archetype_transform_mean: 0.001393 (range: 0.001393 - 0.001393)
archetype_transform_std: 0.100291 (range: 0.100291 - 0.100291)
archetype_transform_norm: 7.162176 (range: 7.162176 - 7.162176)
archetype_transform_grad_norm: 0.253330 (range: 0.253330 - 0.253330)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0236, max=0.7051, mean=0.2500
Batch reconstruction MSE: 1.0177
Archetype stats: min=-10.4012, max=10.0344
Archetype change since last debug: 2.088656
Archetype gradients: norm=0.087144, mean=0.003921
Epoch 1/1
Average loss: 0.7994
Archetypal loss: 0.8782
KLD loss: 0.0902
Reconstruction loss: 0.8782
Archetype R²: 0.0651
Archetype transform grad norm: 0.244194
Archetype transform param norm: 7.2079
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.7994 (range: 0.7994 - 0.7994)
archetypal_loss: 0.8782 (range: 0.8782 - 0.8782)
kld_loss: 0.0902 (range: 0.0902 - 0.0902)
reconstruction_loss: 0.8782 (range: 0.8782 - 0.8782)
archetype_r2: 0.0651 (range: 0.0651 - 0.0651)
Archetype Transform Summary:
archetype_transform_mean: 0.001339 (range: 0.001339 - 0.001339)
archetype_transform_std: 0.100932 (range: 0.100932 - 0.100932)
archetype_transform_norm: 7.207944 (range: 7.207944 - 7.207944)
archetype_transform_grad_norm: 0.244194 (range: 0.244194 - 0.244194)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0336, max=0.5032, mean=0.2500
Batch reconstruction MSE: 0.9490
Archetype stats: min=-10.9078, max=10.3722
Archetype change since last debug: 1.695638
Archetype gradients: norm=0.029868, mean=0.001645
Epoch 1/1
Average loss: 0.7971
Archetypal loss: 0.8758
KLD loss: 0.0883
Reconstruction loss: 0.8758
Archetype R²: 0.0678
Archetype transform grad norm: 0.248066
Archetype transform param norm: 7.2829
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.7971 (range: 0.7971 - 0.7971)
archetypal_loss: 0.8758 (range: 0.8758 - 0.8758)
kld_loss: 0.0883 (range: 0.0883 - 0.0883)
reconstruction_loss: 0.8758 (range: 0.8758 - 0.8758)
archetype_r2: 0.0678 (range: 0.0678 - 0.0678)
Archetype Transform Summary:
archetype_transform_mean: 0.001329 (range: 0.001329 - 0.001329)
archetype_transform_std: 0.101983 (range: 0.101983 - 0.101983)
archetype_transform_norm: 7.282918 (range: 7.282918 - 7.282918)
archetype_transform_grad_norm: 0.248066 (range: 0.248066 - 0.248066)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0261, max=0.5705, mean=0.2500
Batch reconstruction MSE: 0.9796
Archetype stats: min=-11.2097, max=10.8822
Archetype change since last debug: 1.718295
Archetype gradients: norm=0.059552, mean=0.002850
Epoch 1/1
Average loss: 0.7966
Archetypal loss: 0.8758
KLD loss: 0.0841
Reconstruction loss: 0.8758
Archetype R²: 0.0677
Archetype transform grad norm: 0.241139
Archetype transform param norm: 7.3300
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.7966 (range: 0.7966 - 0.7966)
archetypal_loss: 0.8758 (range: 0.8758 - 0.8758)
kld_loss: 0.0841 (range: 0.0841 - 0.0841)
reconstruction_loss: 0.8758 (range: 0.8758 - 0.8758)
archetype_r2: 0.0677 (range: 0.0677 - 0.0677)
Archetype Transform Summary:
archetype_transform_mean: 0.001303 (range: 0.001303 - 0.001303)
archetype_transform_std: 0.102643 (range: 0.102643 - 0.102643)
archetype_transform_norm: 7.330022 (range: 7.330022 - 7.330022)
archetype_transform_grad_norm: 0.241139 (range: 0.241139 - 0.241139)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0351, max=0.5578, mean=0.2500
Batch reconstruction MSE: 0.9842
Archetype stats: min=-11.6981, max=11.2054
Archetype change since last debug: 1.473461
Archetype gradients: norm=0.027210, mean=0.001471
Epoch 1/1
Average loss: 0.7968
Archetypal loss: 0.8759
KLD loss: 0.0847
Reconstruction loss: 0.8759
Archetype R²: 0.0675
Archetype transform grad norm: 0.258279
Archetype transform param norm: 7.3801
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.7968 (range: 0.7968 - 0.7968)
archetypal_loss: 0.8759 (range: 0.8759 - 0.8759)
kld_loss: 0.0847 (range: 0.0847 - 0.0847)
reconstruction_loss: 0.8759 (range: 0.8759 - 0.8759)
archetype_r2: 0.0675 (range: 0.0675 - 0.0675)
Archetype Transform Summary:
archetype_transform_mean: 0.001266 (range: 0.001266 - 0.001266)
archetype_transform_std: 0.103344 (range: 0.103344 - 0.103344)
archetype_transform_norm: 7.380073 (range: 7.380073 - 7.380073)
archetype_transform_grad_norm: 0.258279 (range: 0.258279 - 0.258279)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0286, max=0.4994, mean=0.2500
Batch reconstruction MSE: 1.0318
Archetype stats: min=-11.5553, max=11.4949
Archetype change since last debug: 1.336400
Archetype gradients: norm=0.059336, mean=0.003039
Epoch 1/1
Average loss: 0.7964
Archetypal loss: 0.8759
KLD loss: 0.0815
Reconstruction loss: 0.8759
Archetype R²: 0.0675
Archetype transform grad norm: 0.240306
Archetype transform param norm: 7.3988
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.7964 (range: 0.7964 - 0.7964)
archetypal_loss: 0.8759 (range: 0.8759 - 0.8759)
kld_loss: 0.0815 (range: 0.0815 - 0.0815)
reconstruction_loss: 0.8759 (range: 0.8759 - 0.8759)
archetype_r2: 0.0675 (range: 0.0675 - 0.0675)
Archetype Transform Summary:
archetype_transform_mean: 0.001188 (range: 0.001188 - 0.001188)
archetype_transform_std: 0.103607 (range: 0.103607 - 0.103607)
archetype_transform_norm: 7.398776 (range: 7.398776 - 7.398776)
archetype_transform_grad_norm: 0.240306 (range: 0.240306 - 0.240306)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0283, max=0.5011, mean=0.2500
Batch reconstruction MSE: 0.9081
Archetype stats: min=-11.7387, max=11.7078
Archetype change since last debug: 1.013719
Archetype gradients: norm=0.016221, mean=0.000836
Epoch 1/1
Average loss: 0.7934
Archetypal loss: 0.8726
KLD loss: 0.0803
Reconstruction loss: 0.8726
Archetype R²: 0.0712
Archetype transform grad norm: 0.238976
Archetype transform param norm: 7.4582
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.7934 (range: 0.7934 - 0.7934)
archetypal_loss: 0.8726 (range: 0.8726 - 0.8726)
kld_loss: 0.0803 (range: 0.0803 - 0.0803)
reconstruction_loss: 0.8726 (range: 0.8726 - 0.8726)
archetype_r2: 0.0712 (range: 0.0712 - 0.0712)
Archetype Transform Summary:
archetype_transform_mean: 0.001176 (range: 0.001176 - 0.001176)
archetype_transform_std: 0.104439 (range: 0.104439 - 0.104439)
archetype_transform_norm: 7.458191 (range: 7.458191 - 7.458191)
archetype_transform_grad_norm: 0.238976 (range: 0.238976 - 0.238976)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0226, max=0.6595, mean=0.2500
Batch reconstruction MSE: 0.9398
Archetype stats: min=-12.1231, max=12.1013
Archetype change since last debug: 1.530685
Archetype gradients: norm=0.036404, mean=0.001681
Epoch 1/1
Average loss: 0.7935
Archetypal loss: 0.8732
KLD loss: 0.0763
Reconstruction loss: 0.8732
Archetype R²: 0.0705
Archetype transform grad norm: 0.240135
Archetype transform param norm: 7.5022
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.7935 (range: 0.7935 - 0.7935)
archetypal_loss: 0.8732 (range: 0.8732 - 0.8732)
kld_loss: 0.0763 (range: 0.0763 - 0.0763)
reconstruction_loss: 0.8732 (range: 0.8732 - 0.8732)
archetype_r2: 0.0705 (range: 0.0705 - 0.0705)
Archetype Transform Summary:
archetype_transform_mean: 0.001152 (range: 0.001152 - 0.001152)
archetype_transform_std: 0.105055 (range: 0.105055 - 0.105055)
archetype_transform_norm: 7.502168 (range: 7.502168 - 7.502168)
archetype_transform_grad_norm: 0.240135 (range: 0.240135 - 0.240135)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0306, max=0.7269, mean=0.2500
Batch reconstruction MSE: 0.9218
Archetype stats: min=-12.5263, max=12.3710
Archetype change since last debug: 1.261539
Archetype gradients: norm=0.018514, mean=0.001062
Epoch 1/1
Average loss: 0.7930
Archetypal loss: 0.8725
KLD loss: 0.0775
Reconstruction loss: 0.8725
Archetype R²: 0.0713
Archetype transform grad norm: 0.245304
Archetype transform param norm: 7.5434
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.7930 (range: 0.7930 - 0.7930)
archetypal_loss: 0.8725 (range: 0.8725 - 0.8725)
kld_loss: 0.0775 (range: 0.0775 - 0.0775)
reconstruction_loss: 0.8725 (range: 0.8725 - 0.8725)
archetype_r2: 0.0713 (range: 0.0713 - 0.0713)
Archetype Transform Summary:
archetype_transform_mean: 0.001126 (range: 0.001126 - 0.001126)
archetype_transform_std: 0.105632 (range: 0.105632 - 0.105632)
archetype_transform_norm: 7.543354 (range: 7.543354 - 7.543354)
archetype_transform_grad_norm: 0.245304 (range: 0.245304 - 0.245304)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0372, max=0.4858, mean=0.2500
Batch reconstruction MSE: 0.9655
Archetype stats: min=-12.8361, max=12.5874
Archetype change since last debug: 1.134186
Archetype gradients: norm=0.050156, mean=0.002125
Epoch 1/1
Average loss: 0.7934
Archetypal loss: 0.8733
KLD loss: 0.0739
Reconstruction loss: 0.8733
Archetype R²: 0.0703
Archetype transform grad norm: 0.246435
Archetype transform param norm: 7.5624
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.7934 (range: 0.7934 - 0.7934)
archetypal_loss: 0.8733 (range: 0.8733 - 0.8733)
kld_loss: 0.0739 (range: 0.0739 - 0.0739)
reconstruction_loss: 0.8733 (range: 0.8733 - 0.8733)
archetype_r2: 0.0703 (range: 0.0703 - 0.0703)
Archetype Transform Summary:
archetype_transform_mean: 0.001108 (range: 0.001108 - 0.001108)
archetype_transform_std: 0.105899 (range: 0.105899 - 0.105899)
archetype_transform_norm: 7.562364 (range: 7.562364 - 7.562364)
archetype_transform_grad_norm: 0.246435 (range: 0.246435 - 0.246435)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0328, max=0.5430, mean=0.2500
Batch reconstruction MSE: 0.8975
Archetype stats: min=-13.1564, max=12.7726
Archetype change since last debug: 0.916877
Archetype gradients: norm=0.017840, mean=0.000911
Epoch 1/1
Average loss: 0.7918
Archetypal loss: 0.8715
KLD loss: 0.0748
Reconstruction loss: 0.8715
Archetype R²: 0.0724
Archetype transform grad norm: 0.251977
Archetype transform param norm: 7.6039
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.7918 (range: 0.7918 - 0.7918)
archetypal_loss: 0.8715 (range: 0.8715 - 0.8715)
kld_loss: 0.0748 (range: 0.0748 - 0.0748)
reconstruction_loss: 0.8715 (range: 0.8715 - 0.8715)
archetype_r2: 0.0724 (range: 0.0724 - 0.0724)
Archetype Transform Summary:
archetype_transform_mean: 0.001079 (range: 0.001079 - 0.001079)
archetype_transform_std: 0.106480 (range: 0.106480 - 0.106480)
archetype_transform_norm: 7.603856 (range: 7.603856 - 7.603856)
archetype_transform_grad_norm: 0.251977 (range: 0.251977 - 0.251977)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0513, max=0.4237, mean=0.2500
Batch reconstruction MSE: 0.9129
Archetype stats: min=-13.3987, max=13.0970
Archetype change since last debug: 1.122297
Archetype gradients: norm=0.047198, mean=0.002061
Epoch 1/1
Average loss: 0.7916
Archetypal loss: 0.8717
KLD loss: 0.0706
Reconstruction loss: 0.8717
Archetype R²: 0.0722
Archetype transform grad norm: 0.251955
Archetype transform param norm: 7.6327
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.7916 (range: 0.7916 - 0.7916)
archetypal_loss: 0.8717 (range: 0.8717 - 0.8717)
kld_loss: 0.0706 (range: 0.0706 - 0.0706)
reconstruction_loss: 0.8717 (range: 0.8717 - 0.8717)
archetype_r2: 0.0722 (range: 0.0722 - 0.0722)
Archetype Transform Summary:
archetype_transform_mean: 0.001062 (range: 0.001062 - 0.001062)
archetype_transform_std: 0.106884 (range: 0.106884 - 0.106884)
archetype_transform_norm: 7.632656 (range: 7.632656 - 7.632656)
archetype_transform_grad_norm: 0.251955 (range: 0.251955 - 0.251955)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0347, max=0.4953, mean=0.2500
Batch reconstruction MSE: 0.9213
Archetype stats: min=-13.8358, max=13.3335
Archetype change since last debug: 1.104345
Archetype gradients: norm=0.039230, mean=0.002248
Epoch 1/1
Average loss: 0.7920
Archetypal loss: 0.8719
KLD loss: 0.0734
Reconstruction loss: 0.8719
Archetype R²: 0.0720
Archetype transform grad norm: 0.267771
Archetype transform param norm: 7.6682
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.7920 (range: 0.7920 - 0.7920)
archetypal_loss: 0.8719 (range: 0.8719 - 0.8719)
kld_loss: 0.0734 (range: 0.0734 - 0.0734)
reconstruction_loss: 0.8719 (range: 0.8719 - 0.8719)
archetype_r2: 0.0720 (range: 0.0720 - 0.0720)
Archetype Transform Summary:
archetype_transform_mean: 0.001026 (range: 0.001026 - 0.001026)
archetype_transform_std: 0.107382 (range: 0.107382 - 0.107382)
archetype_transform_norm: 7.668175 (range: 7.668175 - 7.668175)
archetype_transform_grad_norm: 0.267771 (range: 0.267771 - 0.267771)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0499, max=0.5287, mean=0.2500
Batch reconstruction MSE: 1.0252
Archetype stats: min=-13.6589, max=13.5341
Archetype change since last debug: 0.858543
Archetype gradients: norm=0.101578, mean=0.004718
Epoch 1/1
Average loss: 0.7937
Archetypal loss: 0.8740
KLD loss: 0.0718
Reconstruction loss: 0.8740
Archetype R²: 0.0695
Archetype transform grad norm: 0.265789
Archetype transform param norm: 7.6458
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.7937 (range: 0.7937 - 0.7937)
archetypal_loss: 0.8740 (range: 0.8740 - 0.8740)
kld_loss: 0.0718 (range: 0.0718 - 0.0718)
reconstruction_loss: 0.8740 (range: 0.8740 - 0.8740)
archetype_r2: 0.0695 (range: 0.0695 - 0.0695)
Archetype Transform Summary:
archetype_transform_mean: 0.000998 (range: 0.000998 - 0.000998)
archetype_transform_std: 0.107068 (range: 0.107068 - 0.107068)
archetype_transform_norm: 7.645778 (range: 7.645778 - 7.645778)
archetype_transform_grad_norm: 0.265789 (range: 0.265789 - 0.265789)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0490, max=0.4446, mean=0.2500
Batch reconstruction MSE: 0.9702
Archetype stats: min=-13.8537, max=13.2686
Archetype change since last debug: 0.898952
Archetype gradients: norm=0.056393, mean=0.003163
Epoch 1/1
Average loss: 0.7926
Archetypal loss: 0.8724
KLD loss: 0.0745
Reconstruction loss: 0.8724
Archetype R²: 0.0712
Archetype transform grad norm: 0.265718
Archetype transform param norm: 7.6603
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.7926 (range: 0.7926 - 0.7926)
archetypal_loss: 0.8724 (range: 0.8724 - 0.8724)
kld_loss: 0.0745 (range: 0.0745 - 0.0745)
reconstruction_loss: 0.8724 (range: 0.8724 - 0.8724)
archetype_r2: 0.0712 (range: 0.0712 - 0.0712)
Archetype Transform Summary:
archetype_transform_mean: 0.000957 (range: 0.000957 - 0.000957)
archetype_transform_std: 0.107271 (range: 0.107271 - 0.107271)
archetype_transform_norm: 7.660263 (range: 7.660263 - 7.660263)
archetype_transform_grad_norm: 0.265718 (range: 0.265718 - 0.265718)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0501, max=0.4962, mean=0.2500
Batch reconstruction MSE: 0.9533
Archetype stats: min=-13.5174, max=13.4550
Archetype change since last debug: 0.938694
Archetype gradients: norm=0.077835, mean=0.004071
Epoch 1/1
Average loss: 0.7918
Archetypal loss: 0.8717
KLD loss: 0.0722
Reconstruction loss: 0.8717
Archetype R²: 0.0720
Archetype transform grad norm: 0.257668
Archetype transform param norm: 7.6643
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.7918 (range: 0.7918 - 0.7918)
archetypal_loss: 0.8717 (range: 0.8717 - 0.8717)
kld_loss: 0.0722 (range: 0.0722 - 0.0722)
reconstruction_loss: 0.8717 (range: 0.8717 - 0.8717)
archetype_r2: 0.0720 (range: 0.0720 - 0.0720)
Archetype Transform Summary:
archetype_transform_mean: 0.000982 (range: 0.000982 - 0.000982)
archetype_transform_std: 0.107327 (range: 0.107327 - 0.107327)
archetype_transform_norm: 7.664257 (range: 7.664257 - 7.664257)
archetype_transform_grad_norm: 0.257668 (range: 0.257668 - 0.257668)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0604, max=0.4943, mean=0.2500
Batch reconstruction MSE: 0.9695
Archetype stats: min=-14.0381, max=13.3997
Archetype change since last debug: 1.059563
Archetype gradients: norm=0.036020, mean=0.002043
Epoch 1/1
Average loss: 0.7920
Archetypal loss: 0.8721
KLD loss: 0.0711
Reconstruction loss: 0.8721
Archetype R²: 0.0716
Archetype transform grad norm: 0.263067
Archetype transform param norm: 7.6852
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.7920 (range: 0.7920 - 0.7920)
archetypal_loss: 0.8721 (range: 0.8721 - 0.8721)
kld_loss: 0.0711 (range: 0.0711 - 0.0711)
reconstruction_loss: 0.8721 (range: 0.8721 - 0.8721)
archetype_r2: 0.0716 (range: 0.0716 - 0.0716)
Archetype Transform Summary:
archetype_transform_mean: 0.000931 (range: 0.000931 - 0.000931)
archetype_transform_std: 0.107620 (range: 0.107620 - 0.107620)
archetype_transform_norm: 7.685159 (range: 7.685159 - 7.685159)
archetype_transform_grad_norm: 0.263067 (range: 0.263067 - 0.263067)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0417, max=0.4569, mean=0.2500
Batch reconstruction MSE: 0.9475
Archetype stats: min=-13.6884, max=13.5540
Archetype change since last debug: 0.900020
Archetype gradients: norm=0.053566, mean=0.002721
Epoch 1/1
Average loss: 0.7911
Archetypal loss: 0.8711
KLD loss: 0.0716
Reconstruction loss: 0.8711
Archetype R²: 0.0727
Archetype transform grad norm: 0.249642
Archetype transform param norm: 7.6911
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.7911 (range: 0.7911 - 0.7911)
archetypal_loss: 0.8711 (range: 0.8711 - 0.8711)
kld_loss: 0.0716 (range: 0.0716 - 0.0716)
reconstruction_loss: 0.8711 (range: 0.8711 - 0.8711)
archetype_r2: 0.0727 (range: 0.0727 - 0.0727)
Archetype Transform Summary:
archetype_transform_mean: 0.000907 (range: 0.000907 - 0.000907)
archetype_transform_std: 0.107703 (range: 0.107703 - 0.107703)
archetype_transform_norm: 7.691069 (range: 7.691069 - 7.691069)
archetype_transform_grad_norm: 0.249642 (range: 0.249642 - 0.249642)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0495, max=0.5414, mean=0.2500
Batch reconstruction MSE: 0.9713
Archetype stats: min=-14.0712, max=13.5058
Archetype change since last debug: 0.897242
Archetype gradients: norm=0.022467, mean=0.001260
Epoch 1/1
Average loss: 0.7912
Archetypal loss: 0.8715
KLD loss: 0.0682
Reconstruction loss: 0.8715
Archetype R²: 0.0722
Archetype transform grad norm: 0.251161
Archetype transform param norm: 7.7109
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.7912 (range: 0.7912 - 0.7912)
archetypal_loss: 0.8715 (range: 0.8715 - 0.8715)
kld_loss: 0.0682 (range: 0.0682 - 0.0682)
reconstruction_loss: 0.8715 (range: 0.8715 - 0.8715)
archetype_r2: 0.0722 (range: 0.0722 - 0.0722)
Archetype Transform Summary:
archetype_transform_mean: 0.000879 (range: 0.000879 - 0.000879)
archetype_transform_std: 0.107982 (range: 0.107982 - 0.107982)
archetype_transform_norm: 7.710944 (range: 7.710944 - 7.710944)
archetype_transform_grad_norm: 0.251161 (range: 0.251161 - 0.251161)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0457, max=0.4728, mean=0.2500
Batch reconstruction MSE: 0.8851
Archetype stats: min=-13.8452, max=13.6388
Archetype change since last debug: 0.727587
Archetype gradients: norm=0.037454, mean=0.001873
Epoch 1/1
Average loss: 0.7894
Archetypal loss: 0.8693
KLD loss: 0.0704
Reconstruction loss: 0.8693
Archetype R²: 0.0747
Archetype transform grad norm: 0.244072
Archetype transform param norm: 7.7354
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.7894 (range: 0.7894 - 0.7894)
archetypal_loss: 0.8693 (range: 0.8693 - 0.8693)
kld_loss: 0.0704 (range: 0.0704 - 0.0704)
reconstruction_loss: 0.8693 (range: 0.8693 - 0.8693)
archetype_r2: 0.0747 (range: 0.0747 - 0.0747)
Archetype Transform Summary:
archetype_transform_mean: 0.000865 (range: 0.000865 - 0.000865)
archetype_transform_std: 0.108325 (range: 0.108325 - 0.108325)
archetype_transform_norm: 7.735406 (range: 7.735406 - 7.735406)
archetype_transform_grad_norm: 0.244072 (range: 0.244072 - 0.244072)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0870, max=0.4985, mean=0.2500
Batch reconstruction MSE: 0.9400
Archetype stats: min=-14.3557, max=13.8447
Archetype change since last debug: 1.190275
Archetype gradients: norm=0.014713, mean=0.000680
Epoch 1/1
Average loss: 0.7899
Archetypal loss: 0.8705
KLD loss: 0.0644
Reconstruction loss: 0.8705
Archetype R²: 0.0734
Archetype transform grad norm: 0.249247
Archetype transform param norm: 7.7647
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.7899 (range: 0.7899 - 0.7899)
archetypal_loss: 0.8705 (range: 0.8705 - 0.8705)
kld_loss: 0.0644 (range: 0.0644 - 0.0644)
reconstruction_loss: 0.8705 (range: 0.8705 - 0.8705)
archetype_r2: 0.0734 (range: 0.0734 - 0.0734)
Archetype Transform Summary:
archetype_transform_mean: 0.000858 (range: 0.000858 - 0.000858)
archetype_transform_std: 0.108735 (range: 0.108735 - 0.108735)
archetype_transform_norm: 7.764682 (range: 7.764682 - 7.764682)
archetype_transform_grad_norm: 0.249247 (range: 0.249247 - 0.249247)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0477, max=0.4411, mean=0.2500
Batch reconstruction MSE: 0.9106
Archetype stats: min=-14.3686, max=13.9977
Archetype change since last debug: 0.623840
Archetype gradients: norm=0.041773, mean=0.001937
Epoch 1/1
Average loss: 0.7897
Archetypal loss: 0.8698
KLD loss: 0.0693
Reconstruction loss: 0.8698
Archetype R²: 0.0741
Archetype transform grad norm: 0.248365
Archetype transform param norm: 7.7773
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.7897 (range: 0.7897 - 0.7897)
archetypal_loss: 0.8698 (range: 0.8698 - 0.8698)
kld_loss: 0.0693 (range: 0.0693 - 0.0693)
reconstruction_loss: 0.8698 (range: 0.8698 - 0.8698)
archetype_r2: 0.0741 (range: 0.0741 - 0.0741)
Archetype Transform Summary:
archetype_transform_mean: 0.000825 (range: 0.000825 - 0.000825)
archetype_transform_std: 0.108912 (range: 0.108912 - 0.108912)
archetype_transform_norm: 7.777310 (range: 7.777310 - 7.777310)
archetype_transform_grad_norm: 0.248365 (range: 0.248365 - 0.248365)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0554, max=0.5926, mean=0.2500
Batch reconstruction MSE: 0.9654
Archetype stats: min=-14.6464, max=14.1602
Archetype change since last debug: 0.776175
Archetype gradients: norm=0.025789, mean=0.001252
Epoch 1/1
Average loss: 0.7900
Archetypal loss: 0.8708
KLD loss: 0.0627
Reconstruction loss: 0.8708
Archetype R²: 0.0729
Archetype transform grad norm: 0.247857
Archetype transform param norm: 7.7893
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.7900 (range: 0.7900 - 0.7900)
archetypal_loss: 0.8708 (range: 0.8708 - 0.8708)
kld_loss: 0.0627 (range: 0.0627 - 0.0627)
reconstruction_loss: 0.8708 (range: 0.8708 - 0.8708)
archetype_r2: 0.0729 (range: 0.0729 - 0.0729)
Archetype Transform Summary:
archetype_transform_mean: 0.000813 (range: 0.000813 - 0.000813)
archetype_transform_std: 0.109079 (range: 0.109079 - 0.109079)
archetype_transform_norm: 7.789253 (range: 7.789253 - 7.789253)
archetype_transform_grad_norm: 0.247857 (range: 0.247857 - 0.247857)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0602, max=0.4090, mean=0.2500
Batch reconstruction MSE: 0.8777
Archetype stats: min=-14.6642, max=14.1517
Archetype change since last debug: 0.511745
Archetype gradients: norm=0.036861, mean=0.001919
Epoch 1/1
Average loss: 0.7886
Archetypal loss: 0.8688
KLD loss: 0.0668
Reconstruction loss: 0.8688
Archetype R²: 0.0753
Archetype transform grad norm: 0.250369
Archetype transform param norm: 7.8143
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.7886 (range: 0.7886 - 0.7886)
archetypal_loss: 0.8688 (range: 0.8688 - 0.8688)
kld_loss: 0.0668 (range: 0.0668 - 0.0668)
reconstruction_loss: 0.8688 (range: 0.8688 - 0.8688)
archetype_r2: 0.0753 (range: 0.0753 - 0.0753)
Archetype Transform Summary:
archetype_transform_mean: 0.000794 (range: 0.000794 - 0.000794)
archetype_transform_std: 0.109430 (range: 0.109430 - 0.109430)
archetype_transform_norm: 7.814333 (range: 7.814333 - 7.814333)
archetype_transform_grad_norm: 0.250369 (range: 0.250369 - 0.250369)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0767, max=0.5078, mean=0.2500
Batch reconstruction MSE: 0.9030
Archetype stats: min=-14.8386, max=14.4221
Archetype change since last debug: 0.924026
Archetype gradients: norm=0.040490, mean=0.001611
Epoch 1/1
Average loss: 0.7887
Archetypal loss: 0.8694
KLD loss: 0.0626
Reconstruction loss: 0.8694
Archetype R²: 0.0745
Archetype transform grad norm: 0.257019
Archetype transform param norm: 7.8407
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.7887 (range: 0.7887 - 0.7887)
archetypal_loss: 0.8694 (range: 0.8694 - 0.8694)
kld_loss: 0.0626 (range: 0.0626 - 0.0626)
reconstruction_loss: 0.8694 (range: 0.8694 - 0.8694)
archetype_r2: 0.0745 (range: 0.0745 - 0.0745)
Archetype Transform Summary:
archetype_transform_mean: 0.000771 (range: 0.000771 - 0.000771)
archetype_transform_std: 0.109800 (range: 0.109800 - 0.109800)
archetype_transform_norm: 7.840700 (range: 7.840700 - 7.840700)
archetype_transform_grad_norm: 0.257019 (range: 0.257019 - 0.257019)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0684, max=0.4362, mean=0.2500
Batch reconstruction MSE: 0.9360
Archetype stats: min=-15.1712, max=14.3850
Archetype change since last debug: 0.874679
Archetype gradients: norm=0.044731, mean=0.002582
Epoch 1/1
Average loss: 0.7901
Archetypal loss: 0.8703
KLD loss: 0.0690
Reconstruction loss: 0.8703
Archetype R²: 0.0735
Archetype transform grad norm: 0.273946
Archetype transform param norm: 7.8566
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.7901 (range: 0.7901 - 0.7901)
archetypal_loss: 0.8703 (range: 0.8703 - 0.8703)
kld_loss: 0.0690 (range: 0.0690 - 0.0690)
reconstruction_loss: 0.8703 (range: 0.8703 - 0.8703)
archetype_r2: 0.0735 (range: 0.0735 - 0.0735)
Archetype Transform Summary:
archetype_transform_mean: 0.000758 (range: 0.000758 - 0.000758)
archetype_transform_std: 0.110022 (range: 0.110022 - 0.110022)
archetype_transform_norm: 7.856583 (range: 7.856583 - 7.856583)
archetype_transform_grad_norm: 0.273946 (range: 0.273946 - 0.273946)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0222, max=0.4873, mean=0.2500
Batch reconstruction MSE: 1.0478
Archetype stats: min=-14.6800, max=14.4670
Archetype change since last debug: 0.933840
Archetype gradients: norm=0.083192, mean=0.004664
Epoch 1/1
Average loss: 0.7916
Archetypal loss: 0.8725
KLD loss: 0.0637
Reconstruction loss: 0.8725
Archetype R²: 0.0709
Archetype transform grad norm: 0.265308
Archetype transform param norm: 7.8197
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.7916 (range: 0.7916 - 0.7916)
archetypal_loss: 0.8725 (range: 0.8725 - 0.8725)
kld_loss: 0.0637 (range: 0.0637 - 0.0637)
reconstruction_loss: 0.8725 (range: 0.8725 - 0.8725)
archetype_r2: 0.0709 (range: 0.0709 - 0.0709)
Archetype Transform Summary:
archetype_transform_mean: 0.000697 (range: 0.000697 - 0.000697)
archetype_transform_std: 0.109506 (range: 0.109506 - 0.109506)
archetype_transform_norm: 7.819671 (range: 7.819671 - 7.819671)
archetype_transform_grad_norm: 0.265308 (range: 0.265308 - 0.265308)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0965, max=0.4752, mean=0.2500
Batch reconstruction MSE: 0.9445
Archetype stats: min=-14.7684, max=14.0374
Archetype change since last debug: 1.020821
Archetype gradients: norm=0.035700, mean=0.001804
Epoch 1/1
Average loss: 0.7901
Archetypal loss: 0.8702
KLD loss: 0.0690
Reconstruction loss: 0.8702
Archetype R²: 0.0736
Archetype transform grad norm: 0.272596
Archetype transform param norm: 7.8361
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.7901 (range: 0.7901 - 0.7901)
archetypal_loss: 0.8702 (range: 0.8702 - 0.8702)
kld_loss: 0.0690 (range: 0.0690 - 0.0690)
reconstruction_loss: 0.8702 (range: 0.8702 - 0.8702)
archetype_r2: 0.0736 (range: 0.0736 - 0.0736)
Archetype Transform Summary:
archetype_transform_mean: 0.000703 (range: 0.000703 - 0.000703)
archetype_transform_std: 0.109735 (range: 0.109735 - 0.109735)
archetype_transform_norm: 7.836060 (range: 7.836060 - 7.836060)
archetype_transform_grad_norm: 0.272596 (range: 0.272596 - 0.272596)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0790, max=0.4433, mean=0.2500
Batch reconstruction MSE: 0.9336
Archetype stats: min=-14.1970, max=14.3074
Archetype change since last debug: 1.104092
Archetype gradients: norm=0.055916, mean=0.003108
Epoch 1/1
Average loss: 0.7891
Archetypal loss: 0.8696
KLD loss: 0.0641
Reconstruction loss: 0.8696
Archetype R²: 0.0743
Archetype transform grad norm: 0.259665
Archetype transform param norm: 7.8337
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.7891 (range: 0.7891 - 0.7891)
archetypal_loss: 0.8696 (range: 0.8696 - 0.8696)
kld_loss: 0.0641 (range: 0.0641 - 0.0641)
reconstruction_loss: 0.8696 (range: 0.8696 - 0.8696)
archetype_r2: 0.0743 (range: 0.0743 - 0.0743)
Archetype Transform Summary:
archetype_transform_mean: 0.000665 (range: 0.000665 - 0.000665)
archetype_transform_std: 0.109702 (range: 0.109702 - 0.109702)
archetype_transform_norm: 7.833665 (range: 7.833665 - 7.833665)
archetype_transform_grad_norm: 0.259665 (range: 0.259665 - 0.259665)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0737, max=0.3993, mean=0.2500
Batch reconstruction MSE: 0.8903
Archetype stats: min=-14.7240, max=14.1007
Archetype change since last debug: 1.066349
Archetype gradients: norm=0.033805, mean=0.001899
Epoch 1/1
Average loss: 0.7885
Archetypal loss: 0.8688
KLD loss: 0.0656
Reconstruction loss: 0.8688
Archetype R²: 0.0752
Archetype transform grad norm: 0.267779
Archetype transform param norm: 7.8709
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.7885 (range: 0.7885 - 0.7885)
archetypal_loss: 0.8688 (range: 0.8688 - 0.8688)
kld_loss: 0.0656 (range: 0.0656 - 0.0656)
reconstruction_loss: 0.8688 (range: 0.8688 - 0.8688)
archetype_r2: 0.0752 (range: 0.0752 - 0.0752)
Archetype Transform Summary:
archetype_transform_mean: 0.000675 (range: 0.000675 - 0.000675)
archetype_transform_std: 0.110224 (range: 0.110224 - 0.110224)
archetype_transform_norm: 7.870939 (range: 7.870939 - 7.870939)
archetype_transform_grad_norm: 0.267779 (range: 0.267779 - 0.267779)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0865, max=0.4691, mean=0.2500
Batch reconstruction MSE: 0.9160
Archetype stats: min=-14.4842, max=14.5373
Archetype change since last debug: 1.036168
Archetype gradients: norm=0.051299, mean=0.002891
Epoch 1/1
Average loss: 0.7885
Archetypal loss: 0.8691
KLD loss: 0.0630
Reconstruction loss: 0.8691
Archetype R²: 0.0748
Archetype transform grad norm: 0.260355
Archetype transform param norm: 7.8773
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.7885 (range: 0.7885 - 0.7885)
archetypal_loss: 0.8691 (range: 0.8691 - 0.8691)
kld_loss: 0.0630 (range: 0.0630 - 0.0630)
reconstruction_loss: 0.8691 (range: 0.8691 - 0.8691)
archetype_r2: 0.0748 (range: 0.0748 - 0.0748)
Archetype Transform Summary:
archetype_transform_mean: 0.000614 (range: 0.000614 - 0.000614)
archetype_transform_std: 0.110313 (range: 0.110313 - 0.110313)
archetype_transform_norm: 7.877301 (range: 7.877301 - 7.877301)
archetype_transform_grad_norm: 0.260355 (range: 0.260355 - 0.260355)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0806, max=0.4330, mean=0.2500
Batch reconstruction MSE: 0.9176
Archetype stats: min=-14.9492, max=14.3403
Archetype change since last debug: 0.996111
Archetype gradients: norm=0.044495, mean=0.002531
Epoch 1/1
Average loss: 0.7886
Archetypal loss: 0.8692
KLD loss: 0.0624
Reconstruction loss: 0.8692
Archetype R²: 0.0747
Archetype transform grad norm: 0.266818
Archetype transform param norm: 7.8991
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.7886 (range: 0.7886 - 0.7886)
archetypal_loss: 0.8692 (range: 0.8692 - 0.8692)
kld_loss: 0.0624 (range: 0.0624 - 0.0624)
reconstruction_loss: 0.8692 (range: 0.8692 - 0.8692)
archetype_r2: 0.0747 (range: 0.0747 - 0.0747)
Archetype Transform Summary:
archetype_transform_mean: 0.000644 (range: 0.000644 - 0.000644)
archetype_transform_std: 0.110619 (range: 0.110619 - 0.110619)
archetype_transform_norm: 7.899126 (range: 7.899126 - 7.899126)
archetype_transform_grad_norm: 0.266818 (range: 0.266818 - 0.266818)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.1053, max=0.4361, mean=0.2500
Batch reconstruction MSE: 0.8988
Archetype stats: min=-14.7642, max=14.6869
Archetype change since last debug: 0.811939
Archetype gradients: norm=0.051020, mean=0.002930
Epoch 1/1
Average loss: 0.7879
Archetypal loss: 0.8684
KLD loss: 0.0634
Reconstruction loss: 0.8684
Archetype R²: 0.0756
Archetype transform grad norm: 0.256024
Archetype transform param norm: 7.9117
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.7879 (range: 0.7879 - 0.7879)
archetypal_loss: 0.8684 (range: 0.8684 - 0.8684)
kld_loss: 0.0634 (range: 0.0634 - 0.0634)
reconstruction_loss: 0.8684 (range: 0.8684 - 0.8684)
archetype_r2: 0.0756 (range: 0.0756 - 0.0756)
Archetype Transform Summary:
archetype_transform_mean: 0.000587 (range: 0.000587 - 0.000587)
archetype_transform_std: 0.110795 (range: 0.110795 - 0.110795)
archetype_transform_norm: 7.911708 (range: 7.911708 - 7.911708)
archetype_transform_grad_norm: 0.256024 (range: 0.256024 - 0.256024)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0923, max=0.4317, mean=0.2500
Batch reconstruction MSE: 0.9392
Archetype stats: min=-15.2253, max=14.5838
Archetype change since last debug: 0.970779
Archetype gradients: norm=0.079981, mean=0.003848
Epoch 1/1
Average loss: 0.7886
Archetypal loss: 0.8695
KLD loss: 0.0609
Reconstruction loss: 0.8695
Archetype R²: 0.0744
Archetype transform grad norm: 0.263144
Archetype transform param norm: 7.9174
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.7886 (range: 0.7886 - 0.7886)
archetypal_loss: 0.8695 (range: 0.8695 - 0.8695)
kld_loss: 0.0609 (range: 0.0609 - 0.0609)
reconstruction_loss: 0.8695 (range: 0.8695 - 0.8695)
archetype_r2: 0.0744 (range: 0.0744 - 0.0744)
Archetype Transform Summary:
archetype_transform_mean: 0.000624 (range: 0.000624 - 0.000624)
archetype_transform_std: 0.110874 (range: 0.110874 - 0.110874)
archetype_transform_norm: 7.917365 (range: 7.917365 - 7.917365)
archetype_transform_grad_norm: 0.263144 (range: 0.263144 - 0.263144)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0949, max=0.4191, mean=0.2500
Batch reconstruction MSE: 0.9284
Archetype stats: min=-15.0439, max=14.8502
Archetype change since last debug: 0.723809
Archetype gradients: norm=0.060463, mean=0.003355
Epoch 1/1
Average loss: 0.7884
Archetypal loss: 0.8688
KLD loss: 0.0644
Reconstruction loss: 0.8688
Archetype R²: 0.0751
Archetype transform grad norm: 0.256503
Archetype transform param norm: 7.9232
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.7884 (range: 0.7884 - 0.7884)
archetypal_loss: 0.8688 (range: 0.8688 - 0.8688)
kld_loss: 0.0644 (range: 0.0644 - 0.0644)
reconstruction_loss: 0.8688 (range: 0.8688 - 0.8688)
archetype_r2: 0.0751 (range: 0.0751 - 0.0751)
Archetype Transform Summary:
archetype_transform_mean: 0.000575 (range: 0.000575 - 0.000575)
archetype_transform_std: 0.110957 (range: 0.110957 - 0.110957)
archetype_transform_norm: 7.923224 (range: 7.923224 - 7.923224)
archetype_transform_grad_norm: 0.256503 (range: 0.256503 - 0.256503)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0771, max=0.4541, mean=0.2500
Batch reconstruction MSE: 0.9561
Archetype stats: min=-15.3480, max=14.7625
Archetype change since last debug: 0.785776
Archetype gradients: norm=0.081176, mean=0.003507
Epoch 1/1
Average loss: 0.7884
Archetypal loss: 0.8694
KLD loss: 0.0593
Reconstruction loss: 0.8694
Archetype R²: 0.0744
Archetype transform grad norm: 0.252401
Archetype transform param norm: 7.9179
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.7884 (range: 0.7884 - 0.7884)
archetypal_loss: 0.8694 (range: 0.8694 - 0.8694)
kld_loss: 0.0593 (range: 0.0593 - 0.0593)
reconstruction_loss: 0.8694 (range: 0.8694 - 0.8694)
archetype_r2: 0.0744 (range: 0.0744 - 0.0744)
Archetype Transform Summary:
archetype_transform_mean: 0.000603 (range: 0.000603 - 0.000603)
archetype_transform_std: 0.110882 (range: 0.110882 - 0.110882)
archetype_transform_norm: 7.917898 (range: 7.917898 - 7.917898)
archetype_transform_grad_norm: 0.252401 (range: 0.252401 - 0.252401)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0756, max=0.4640, mean=0.2500
Batch reconstruction MSE: 0.9369
Archetype stats: min=-15.2384, max=14.8693
Archetype change since last debug: 0.597491
Archetype gradients: norm=0.043753, mean=0.002330
Epoch 1/1
Average loss: 0.7882
Archetypal loss: 0.8687
KLD loss: 0.0642
Reconstruction loss: 0.8687
Archetype R²: 0.0752
Archetype transform grad norm: 0.247496
Archetype transform param norm: 7.9249
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.7882 (range: 0.7882 - 0.7882)
archetypal_loss: 0.8687 (range: 0.8687 - 0.8687)
kld_loss: 0.0642 (range: 0.0642 - 0.0642)
reconstruction_loss: 0.8687 (range: 0.8687 - 0.8687)
archetype_r2: 0.0752 (range: 0.0752 - 0.0752)
Archetype Transform Summary:
archetype_transform_mean: 0.000567 (range: 0.000567 - 0.000567)
archetype_transform_std: 0.110981 (range: 0.110981 - 0.110981)
archetype_transform_norm: 7.924947 (range: 7.924947 - 7.924947)
archetype_transform_grad_norm: 0.247496 (range: 0.247496 - 0.247496)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0442, max=0.4972, mean=0.2500
Batch reconstruction MSE: 0.9558
Archetype stats: min=-15.3615, max=14.8773
Archetype change since last debug: 0.525458
Archetype gradients: norm=0.061714, mean=0.002930
Epoch 1/1
Average loss: 0.7881
Archetypal loss: 0.8691
KLD loss: 0.0593
Reconstruction loss: 0.8691
Archetype R²: 0.0747
Archetype transform grad norm: 0.246593
Archetype transform param norm: 7.9195
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.7881 (range: 0.7881 - 0.7881)
archetypal_loss: 0.8691 (range: 0.8691 - 0.8691)
kld_loss: 0.0593 (range: 0.0593 - 0.0593)
reconstruction_loss: 0.8691 (range: 0.8691 - 0.8691)
archetype_r2: 0.0747 (range: 0.0747 - 0.0747)
Archetype Transform Summary:
archetype_transform_mean: 0.000579 (range: 0.000579 - 0.000579)
archetype_transform_std: 0.110904 (range: 0.110904 - 0.110904)
archetype_transform_norm: 7.919486 (range: 7.919486 - 7.919486)
archetype_transform_grad_norm: 0.246593 (range: 0.246593 - 0.246593)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0982, max=0.4366, mean=0.2500
Batch reconstruction MSE: 0.8753
Archetype stats: min=-15.4184, max=14.8405
Archetype change since last debug: 0.488890
Archetype gradients: norm=0.033930, mean=0.001833
Epoch 1/1
Average loss: 0.7869
Archetypal loss: 0.8673
KLD loss: 0.0638
Reconstruction loss: 0.8673
Archetype R²: 0.0769
Archetype transform grad norm: 0.249844
Archetype transform param norm: 7.9442
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.7869 (range: 0.7869 - 0.7869)
archetypal_loss: 0.8673 (range: 0.8673 - 0.8673)
kld_loss: 0.0638 (range: 0.0638 - 0.0638)
reconstruction_loss: 0.8673 (range: 0.8673 - 0.8673)
archetype_r2: 0.0769 (range: 0.0769 - 0.0769)
Archetype Transform Summary:
archetype_transform_mean: 0.000565 (range: 0.000565 - 0.000565)
archetype_transform_std: 0.111251 (range: 0.111251 - 0.111251)
archetype_transform_norm: 7.944239 (range: 7.944239 - 7.944239)
archetype_transform_grad_norm: 0.249844 (range: 0.249844 - 0.249844)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0730, max=0.5213, mean=0.2500
Batch reconstruction MSE: 0.9106
Archetype stats: min=-15.4658, max=15.1815
Archetype change since last debug: 0.775911
Archetype gradients: norm=0.051427, mean=0.002790
Epoch 1/1
Average loss: 0.7870
Archetypal loss: 0.8681
KLD loss: 0.0570
Reconstruction loss: 0.8681
Archetype R²: 0.0759
Archetype transform grad norm: 0.252729
Archetype transform param norm: 7.9570
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.7870 (range: 0.7870 - 0.7870)
archetypal_loss: 0.8681 (range: 0.8681 - 0.8681)
kld_loss: 0.0570 (range: 0.0570 - 0.0570)
reconstruction_loss: 0.8681 (range: 0.8681 - 0.8681)
archetype_r2: 0.0759 (range: 0.0759 - 0.0759)
Archetype Transform Summary:
archetype_transform_mean: 0.000566 (range: 0.000566 - 0.000566)
archetype_transform_std: 0.111430 (range: 0.111430 - 0.111430)
archetype_transform_norm: 7.956989 (range: 7.956989 - 7.956989)
archetype_transform_grad_norm: 0.252729 (range: 0.252729 - 0.252729)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.1068, max=0.4666, mean=0.2500
Batch reconstruction MSE: 0.8940
Archetype stats: min=-15.8196, max=15.0064
Archetype change since last debug: 0.893099
Archetype gradients: norm=0.046817, mean=0.002527
Epoch 1/1
Average loss: 0.7872
Archetypal loss: 0.8678
KLD loss: 0.0613
Reconstruction loss: 0.8678
Archetype R²: 0.0762
Archetype transform grad norm: 0.262526
Archetype transform param norm: 7.9778
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.7872 (range: 0.7872 - 0.7872)
archetypal_loss: 0.8678 (range: 0.8678 - 0.8678)
kld_loss: 0.0613 (range: 0.0613 - 0.0613)
reconstruction_loss: 0.8678 (range: 0.8678 - 0.8678)
archetype_r2: 0.0762 (range: 0.0762 - 0.0762)
Archetype Transform Summary:
archetype_transform_mean: 0.000555 (range: 0.000555 - 0.000555)
archetype_transform_std: 0.111721 (range: 0.111721 - 0.111721)
archetype_transform_norm: 7.977809 (range: 7.977809 - 7.977809)
archetype_transform_grad_norm: 0.262526 (range: 0.262526 - 0.262526)
Fold 3/3
Model input_dim: 50 (auto-detected from data)
Archetypes parameter registered: True
Archetypes requires_grad: True
Deep_AA (Deep Archetypal Analysis) initialized:
- Single-stage architecture (like Deep_2)
- Inflation factor: 1.5
- Direct archetypal coordinates (no bottleneck)
Consolidated Archetype Initialization
PCHA: True, Inflation: True (factor: 1.5)
Test inflation: False
Running PCHA initialization...
Input shape: (128, 50)
Target archetypes: 4
Running PCHA with 4 archetypes...
Data shape for PCHA: (50, 128)
PCHA Results:
Archetypes shape: (4, 50)
Archetype R²: 0.2243
SSE: 5192.3601
PCHA archetype R²: 0.2243
Archetype shape: (4, 50)
[OK] Initialized 4 archetypes using PCHA
Scalar Archetypal Inflation (factor: 1.50)
[OK] Inflation complete
[STATS] Positioning verification:
Data radius (max): 21.726
Data radius (mean): 6.606
Archetype distances: 4.250 to 27.434
Archetypes outside data: 1/4
Min archetype separation: 6.938
[OK] Archetype initialization complete (success: True)
[OK] Archetype initialization complete (PCHA: True, Inflation: 1.5)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0004, max=0.9545, mean=0.2500
Batch reconstruction MSE: 1.0983
Archetype stats: min=-2.6975, max=2.2811
Archetype gradients: norm=0.028688, mean=0.001401
Epoch 1/1
Average loss: 0.9052
Archetypal loss: 1.0014
KLD loss: 0.0389
Reconstruction loss: 1.0014
Archetype R²: -0.0293
Archetype transform grad norm: 0.291415
Archetype transform param norm: 5.8608
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.9052 (range: 0.9052 - 0.9052)
archetypal_loss: 1.0014 (range: 1.0014 - 1.0014)
kld_loss: 0.0389 (range: 0.0389 - 0.0389)
reconstruction_loss: 1.0014 (range: 1.0014 - 1.0014)
archetype_r2: -0.0293 (range: -0.0293 - -0.0293)
Archetype Transform Summary:
archetype_transform_mean: -0.000868 (range: -0.000868 - -0.000868)
archetype_transform_std: 0.082071 (range: 0.082071 - 0.082071)
archetype_transform_norm: 5.860834 (range: 5.860834 - 5.860834)
archetype_transform_grad_norm: 0.291415 (range: 0.291415 - 0.291415)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0030, max=0.9565, mean=0.2500
Batch reconstruction MSE: 0.8605
Archetype stats: min=-0.7128, max=0.7602
Archetype change since last debug: 7.682228
Archetype gradients: norm=0.003953, mean=0.000215
Epoch 1/1
Average loss: 0.8812
Archetypal loss: 0.9761
KLD loss: 0.0277
Reconstruction loss: 0.9761
Archetype R²: -0.0028
Archetype transform grad norm: 0.156097
Archetype transform param norm: 5.8686
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.8812 (range: 0.8812 - 0.8812)
archetypal_loss: 0.9761 (range: 0.9761 - 0.9761)
kld_loss: 0.0277 (range: 0.0277 - 0.0277)
reconstruction_loss: 0.9761 (range: 0.9761 - 0.9761)
archetype_r2: -0.0028 (range: -0.0028 - -0.0028)
Archetype Transform Summary:
archetype_transform_mean: -0.001059 (range: -0.001059 - -0.001059)
archetype_transform_std: 0.082179 (range: 0.082179 - 0.082179)
archetype_transform_norm: 5.868649 (range: 5.868649 - 5.868649)
archetype_transform_grad_norm: 0.156097 (range: 0.156097 - 0.156097)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0037, max=0.9551, mean=0.2500
Batch reconstruction MSE: 0.8593
Archetype stats: min=-1.1090, max=1.1885
Archetype change since last debug: 1.865794
Archetype gradients: norm=0.004145, mean=0.000238
Epoch 1/1
Average loss: 0.8753
Archetypal loss: 0.9660
KLD loss: 0.0587
Reconstruction loss: 0.9660
Archetype R²: 0.0075
Archetype transform grad norm: 0.173310
Archetype transform param norm: 5.9227
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.8753 (range: 0.8753 - 0.8753)
archetypal_loss: 0.9660 (range: 0.9660 - 0.9660)
kld_loss: 0.0587 (range: 0.0587 - 0.0587)
reconstruction_loss: 0.9660 (range: 0.9660 - 0.9660)
archetype_r2: 0.0075 (range: 0.0075 - 0.0075)
Archetype Transform Summary:
archetype_transform_mean: -0.000965 (range: -0.000965 - -0.000965)
archetype_transform_std: 0.082937 (range: 0.082937 - 0.082937)
archetype_transform_norm: 5.922733 (range: 5.922733 - 5.922733)
archetype_transform_grad_norm: 0.173310 (range: 0.173310 - 0.173310)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0043, max=0.9687, mean=0.2500
Batch reconstruction MSE: 0.8935
Archetype stats: min=-2.0879, max=2.1333
Archetype change since last debug: 4.119817
Archetype gradients: norm=0.007622, mean=0.000430
Epoch 1/1
Average loss: 0.8667
Archetypal loss: 0.9536
KLD loss: 0.0845
Reconstruction loss: 0.9536
Archetype R²: 0.0201
Archetype transform grad norm: 0.199535
Archetype transform param norm: 6.0530
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.8667 (range: 0.8667 - 0.8667)
archetypal_loss: 0.9536 (range: 0.9536 - 0.9536)
kld_loss: 0.0845 (range: 0.0845 - 0.0845)
reconstruction_loss: 0.9536 (range: 0.9536 - 0.9536)
archetype_r2: 0.0201 (range: 0.0201 - 0.0201)
Archetype Transform Summary:
archetype_transform_mean: -0.000906 (range: -0.000906 - -0.000906)
archetype_transform_std: 0.084763 (range: 0.084763 - 0.084763)
archetype_transform_norm: 6.053037 (range: 6.053037 - 6.053037)
archetype_transform_grad_norm: 0.199535 (range: 0.199535 - 0.199535)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0042, max=0.9772, mean=0.2500
Batch reconstruction MSE: 0.9327
Archetype stats: min=-3.1593, max=2.9976
Archetype change since last debug: 5.110783
Archetype gradients: norm=0.017820, mean=0.000877
Epoch 1/1
Average loss: 0.8584
Archetypal loss: 0.9427
KLD loss: 0.0995
Reconstruction loss: 0.9427
Archetype R²: 0.0312
Archetype transform grad norm: 0.219178
Archetype transform param norm: 6.2501
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.8584 (range: 0.8584 - 0.8584)
archetypal_loss: 0.9427 (range: 0.9427 - 0.9427)
kld_loss: 0.0995 (range: 0.0995 - 0.0995)
reconstruction_loss: 0.9427 (range: 0.9427 - 0.9427)
archetype_r2: 0.0312 (range: 0.0312 - 0.0312)
Archetype Transform Summary:
archetype_transform_mean: -0.000946 (range: -0.000946 - -0.000946)
archetype_transform_std: 0.087523 (range: 0.087523 - 0.087523)
archetype_transform_norm: 6.250143 (range: 6.250143 - 6.250143)
archetype_transform_grad_norm: 0.219178 (range: 0.219178 - 0.219178)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0047, max=0.9667, mean=0.2500
Batch reconstruction MSE: 0.9607
Archetype stats: min=-4.2955, max=3.4934
Archetype change since last debug: 4.788268
Archetype gradients: norm=0.025076, mean=0.001341
Epoch 1/1
Average loss: 0.8506
Archetypal loss: 0.9329
KLD loss: 0.1097
Reconstruction loss: 0.9329
Archetype R²: 0.0412
Archetype transform grad norm: 0.230664
Archetype transform param norm: 6.4740
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.8506 (range: 0.8506 - 0.8506)
archetypal_loss: 0.9329 (range: 0.9329 - 0.9329)
kld_loss: 0.1097 (range: 0.1097 - 0.1097)
reconstruction_loss: 0.9329 (range: 0.9329 - 0.9329)
archetype_r2: 0.0412 (range: 0.0412 - 0.0412)
Archetype Transform Summary:
archetype_transform_mean: -0.000936 (range: -0.000936 - -0.000936)
archetype_transform_std: 0.090658 (range: 0.090658 - 0.090658)
archetype_transform_norm: 6.473968 (range: 6.473968 - 6.473968)
archetype_transform_grad_norm: 0.230664 (range: 0.230664 - 0.230664)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0093, max=0.9382, mean=0.2500
Batch reconstruction MSE: 1.0094
Archetype stats: min=-5.2806, max=4.6637
Archetype change since last debug: 4.757024
Archetype gradients: norm=0.044042, mean=0.002357
Epoch 1/1
Average loss: 0.8456
Archetypal loss: 0.9272
KLD loss: 0.1104
Reconstruction loss: 0.9272
Archetype R²: 0.0467
Archetype transform grad norm: 0.250923
Archetype transform param norm: 6.6601
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.8456 (range: 0.8456 - 0.8456)
archetypal_loss: 0.9272 (range: 0.9272 - 0.9272)
kld_loss: 0.1104 (range: 0.1104 - 0.1104)
reconstruction_loss: 0.9272 (range: 0.9272 - 0.9272)
archetype_r2: 0.0467 (range: 0.0467 - 0.0467)
Archetype Transform Summary:
archetype_transform_mean: -0.000957 (range: -0.000957 - -0.000957)
archetype_transform_std: 0.093265 (range: 0.093265 - 0.093265)
archetype_transform_norm: 6.660140 (range: 6.660140 - 6.660140)
archetype_transform_grad_norm: 0.250923 (range: 0.250923 - 0.250923)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0154, max=0.9038, mean=0.2500
Batch reconstruction MSE: 1.0261
Archetype stats: min=-6.1145, max=5.4928
Archetype change since last debug: 3.736237
Archetype gradients: norm=0.042676, mean=0.002430
Epoch 1/1
Average loss: 0.8417
Archetypal loss: 0.9231
KLD loss: 0.1089
Reconstruction loss: 0.9231
Archetype R²: 0.0509
Archetype transform grad norm: 0.259696
Archetype transform param norm: 6.7940
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.8417 (range: 0.8417 - 0.8417)
archetypal_loss: 0.9231 (range: 0.9231 - 0.9231)
kld_loss: 0.1089 (range: 0.1089 - 0.1089)
reconstruction_loss: 0.9231 (range: 0.9231 - 0.9231)
archetype_r2: 0.0509 (range: 0.0509 - 0.0509)
Archetype Transform Summary:
archetype_transform_mean: -0.000968 (range: -0.000968 - -0.000968)
archetype_transform_std: 0.095140 (range: 0.095140 - 0.095140)
archetype_transform_norm: 6.794046 (range: 6.794046 - 6.794046)
archetype_transform_grad_norm: 0.259696 (range: 0.259696 - 0.259696)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0150, max=0.8569, mean=0.2500
Batch reconstruction MSE: 1.0232
Archetype stats: min=-6.5776, max=6.2113
Archetype change since last debug: 3.360924
Archetype gradients: norm=0.047614, mean=0.002631
Epoch 1/1
Average loss: 0.8381
Archetypal loss: 0.9195
KLD loss: 0.1056
Reconstruction loss: 0.9195
Archetype R²: 0.0545
Archetype transform grad norm: 0.265951
Archetype transform param norm: 6.8984
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.8381 (range: 0.8381 - 0.8381)
archetypal_loss: 0.9195 (range: 0.9195 - 0.9195)
kld_loss: 0.1056 (range: 0.1056 - 0.1056)
reconstruction_loss: 0.9195 (range: 0.9195 - 0.9195)
archetype_r2: 0.0545 (range: 0.0545 - 0.0545)
Archetype Transform Summary:
archetype_transform_mean: -0.001073 (range: -0.001073 - -0.001073)
archetype_transform_std: 0.096600 (range: 0.096600 - 0.096600)
archetype_transform_norm: 6.898352 (range: 6.898352 - 6.898352)
archetype_transform_grad_norm: 0.265951 (range: 0.265951 - 0.265951)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0180, max=0.9171, mean=0.2500
Batch reconstruction MSE: 0.9733
Archetype stats: min=-7.1980, max=6.6640
Archetype change since last debug: 2.898815
Archetype gradients: norm=0.043325, mean=0.002468
Epoch 1/1
Average loss: 0.8344
Archetypal loss: 0.9155
KLD loss: 0.1043
Reconstruction loss: 0.9155
Archetype R²: 0.0588
Archetype transform grad norm: 0.265645
Archetype transform param norm: 6.9868
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.8344 (range: 0.8344 - 0.8344)
archetypal_loss: 0.9155 (range: 0.9155 - 0.9155)
kld_loss: 0.1043 (range: 0.1043 - 0.1043)
reconstruction_loss: 0.9155 (range: 0.9155 - 0.9155)
archetype_r2: 0.0588 (range: 0.0588 - 0.0588)
Archetype Transform Summary:
archetype_transform_mean: -0.001048 (range: -0.001048 - -0.001048)
archetype_transform_std: 0.097839 (range: 0.097839 - 0.097839)
archetype_transform_norm: 6.986837 (range: 6.986837 - 6.986837)
archetype_transform_grad_norm: 0.265645 (range: 0.265645 - 0.265645)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0228, max=0.8662, mean=0.2500
Batch reconstruction MSE: 0.9944
Archetype stats: min=-7.6332, max=7.1822
Archetype change since last debug: 2.967792
Archetype gradients: norm=0.040914, mean=0.002240
Epoch 1/1
Average loss: 0.8327
Archetypal loss: 0.9139
KLD loss: 0.1021
Reconstruction loss: 0.9139
Archetype R²: 0.0603
Archetype transform grad norm: 0.283452
Archetype transform param norm: 7.0684
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.8327 (range: 0.8327 - 0.8327)
archetypal_loss: 0.9139 (range: 0.9139 - 0.9139)
kld_loss: 0.1021 (range: 0.1021 - 0.1021)
reconstruction_loss: 0.9139 (range: 0.9139 - 0.9139)
archetype_r2: 0.0603 (range: 0.0603 - 0.0603)
Archetype Transform Summary:
archetype_transform_mean: -0.001120 (range: -0.001120 - -0.001120)
archetype_transform_std: 0.098981 (range: 0.098981 - 0.098981)
archetype_transform_norm: 7.068386 (range: 7.068386 - 7.068386)
archetype_transform_grad_norm: 0.283452 (range: 0.283452 - 0.283452)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0325, max=0.8800, mean=0.2500
Batch reconstruction MSE: 1.0178
Archetype stats: min=-8.1753, max=7.3975
Archetype change since last debug: 2.417248
Archetype gradients: norm=0.077887, mean=0.003645
Epoch 1/1
Average loss: 0.8319
Archetypal loss: 0.9130
KLD loss: 0.1018
Reconstruction loss: 0.9130
Archetype R²: 0.0611
Archetype transform grad norm: 0.288000
Archetype transform param norm: 7.1076
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.8319 (range: 0.8319 - 0.8319)
archetypal_loss: 0.9130 (range: 0.9130 - 0.9130)
kld_loss: 0.1018 (range: 0.1018 - 0.1018)
reconstruction_loss: 0.9130 (range: 0.9130 - 0.9130)
archetype_r2: 0.0611 (range: 0.0611 - 0.0611)
Archetype Transform Summary:
archetype_transform_mean: -0.001038 (range: -0.001038 - -0.001038)
archetype_transform_std: 0.099531 (range: 0.099531 - 0.099531)
archetype_transform_norm: 7.107596 (range: 7.107596 - 7.107596)
archetype_transform_grad_norm: 0.288000 (range: 0.288000 - 0.288000)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0256, max=0.8362, mean=0.2500
Batch reconstruction MSE: 0.9597
Archetype stats: min=-8.7869, max=7.7365
Archetype change since last debug: 2.074939
Archetype gradients: norm=0.053076, mean=0.002754
Epoch 1/1
Average loss: 0.8285
Archetypal loss: 0.9098
KLD loss: 0.0972
Reconstruction loss: 0.9098
Archetype R²: 0.0645
Archetype transform grad norm: 0.278360
Archetype transform param norm: 7.1654
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.8285 (range: 0.8285 - 0.8285)
archetypal_loss: 0.9098 (range: 0.9098 - 0.9098)
kld_loss: 0.0972 (range: 0.0972 - 0.0972)
reconstruction_loss: 0.9098 (range: 0.9098 - 0.9098)
archetype_r2: 0.0645 (range: 0.0645 - 0.0645)
Archetype Transform Summary:
archetype_transform_mean: -0.001096 (range: -0.001096 - -0.001096)
archetype_transform_std: 0.100339 (range: 0.100339 - 0.100339)
archetype_transform_norm: 7.165385 (range: 7.165385 - 7.165385)
archetype_transform_grad_norm: 0.278360 (range: 0.278360 - 0.278360)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0319, max=0.8551, mean=0.2500
Batch reconstruction MSE: 0.9104
Archetype stats: min=-9.3921, max=8.0330
Archetype change since last debug: 1.938755
Archetype gradients: norm=0.047252, mean=0.002313
Epoch 1/1
Average loss: 0.8265
Archetypal loss: 0.9076
KLD loss: 0.0963
Reconstruction loss: 0.9076
Archetype R²: 0.0669
Archetype transform grad norm: 0.278488
Archetype transform param norm: 7.2237
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.8265 (range: 0.8265 - 0.8265)
archetypal_loss: 0.9076 (range: 0.9076 - 0.9076)
kld_loss: 0.0963 (range: 0.0963 - 0.0963)
reconstruction_loss: 0.9076 (range: 0.9076 - 0.9076)
archetype_r2: 0.0669 (range: 0.0669 - 0.0669)
Archetype Transform Summary:
archetype_transform_mean: -0.001068 (range: -0.001068 - -0.001068)
archetype_transform_std: 0.101156 (range: 0.101156 - 0.101156)
archetype_transform_norm: 7.223659 (range: 7.223659 - 7.223659)
archetype_transform_grad_norm: 0.278488 (range: 0.278488 - 0.278488)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0304, max=0.7866, mean=0.2500
Batch reconstruction MSE: 0.9632
Archetype stats: min=-10.1705, max=8.4471
Archetype change since last debug: 2.039288
Archetype gradients: norm=0.100460, mean=0.004249
Epoch 1/1
Average loss: 0.8268
Archetypal loss: 0.9084
KLD loss: 0.0918
Reconstruction loss: 0.9084
Archetype R²: 0.0658
Archetype transform grad norm: 0.288378
Archetype transform param norm: 7.2570
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.8268 (range: 0.8268 - 0.8268)
archetypal_loss: 0.9084 (range: 0.9084 - 0.9084)
kld_loss: 0.0918 (range: 0.0918 - 0.0918)
reconstruction_loss: 0.9084 (range: 0.9084 - 0.9084)
archetype_r2: 0.0658 (range: 0.0658 - 0.0658)
Archetype Transform Summary:
archetype_transform_mean: -0.001094 (range: -0.001094 - -0.001094)
archetype_transform_std: 0.101622 (range: 0.101622 - 0.101622)
archetype_transform_norm: 7.256954 (range: 7.256954 - 7.256954)
archetype_transform_grad_norm: 0.288378 (range: 0.288378 - 0.288378)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0251, max=0.8910, mean=0.2500
Batch reconstruction MSE: 0.9784
Archetype stats: min=-10.7821, max=8.7469
Archetype change since last debug: 1.650465
Archetype gradients: norm=0.063790, mean=0.003550
Epoch 1/1
Average loss: 0.8268
Archetypal loss: 0.9081
KLD loss: 0.0951
Reconstruction loss: 0.9081
Archetype R²: 0.0662
Archetype transform grad norm: 0.296479
Archetype transform param norm: 7.2803
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.8268 (range: 0.8268 - 0.8268)
archetypal_loss: 0.9081 (range: 0.9081 - 0.9081)
kld_loss: 0.0951 (range: 0.0951 - 0.0951)
reconstruction_loss: 0.9081 (range: 0.9081 - 0.9081)
archetype_r2: 0.0662 (range: 0.0662 - 0.0662)
Archetype Transform Summary:
archetype_transform_mean: -0.001082 (range: -0.001082 - -0.001082)
archetype_transform_std: 0.101949 (range: 0.101949 - 0.101949)
archetype_transform_norm: 7.280298 (range: 7.280298 - 7.280298)
archetype_transform_grad_norm: 0.296479 (range: 0.296479 - 0.296479)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0412, max=0.7284, mean=0.2500
Batch reconstruction MSE: 0.9552
Archetype stats: min=-11.1371, max=8.8568
Archetype change since last debug: 1.213053
Archetype gradients: norm=0.067509, mean=0.002888
Epoch 1/1
Average loss: 0.8249
Archetypal loss: 0.9067
KLD loss: 0.0893
Reconstruction loss: 0.9067
Archetype R²: 0.0676
Archetype transform grad norm: 0.283724
Archetype transform param norm: 7.3084
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.8249 (range: 0.8249 - 0.8249)
archetypal_loss: 0.9067 (range: 0.9067 - 0.9067)
kld_loss: 0.0893 (range: 0.0893 - 0.0893)
reconstruction_loss: 0.9067 (range: 0.9067 - 0.9067)
archetype_r2: 0.0676 (range: 0.0676 - 0.0676)
Archetype Transform Summary:
archetype_transform_mean: -0.001104 (range: -0.001104 - -0.001104)
archetype_transform_std: 0.102342 (range: 0.102342 - 0.102342)
archetype_transform_norm: 7.308360 (range: 7.308360 - 7.308360)
archetype_transform_grad_norm: 0.283724 (range: 0.283724 - 0.283724)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0267, max=0.8714, mean=0.2500
Batch reconstruction MSE: 0.9412
Archetype stats: min=-11.4618, max=8.9627
Archetype change since last debug: 1.272919
Archetype gradients: norm=0.045049, mean=0.002410
Epoch 1/1
Average loss: 0.8243
Archetypal loss: 0.9059
KLD loss: 0.0904
Reconstruction loss: 0.9059
Archetype R²: 0.0685
Archetype transform grad norm: 0.282739
Archetype transform param norm: 7.3373
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.8243 (range: 0.8243 - 0.8243)
archetypal_loss: 0.9059 (range: 0.9059 - 0.9059)
kld_loss: 0.0904 (range: 0.0904 - 0.0904)
reconstruction_loss: 0.9059 (range: 0.9059 - 0.9059)
archetype_r2: 0.0685 (range: 0.0685 - 0.0685)
Archetype Transform Summary:
archetype_transform_mean: -0.001086 (range: -0.001086 - -0.001086)
archetype_transform_std: 0.102747 (range: 0.102747 - 0.102747)
archetype_transform_norm: 7.337279 (range: 7.337279 - 7.337279)
archetype_transform_grad_norm: 0.282739 (range: 0.282739 - 0.282739)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0511, max=0.7743, mean=0.2500
Batch reconstruction MSE: 0.9418
Archetype stats: min=-11.7863, max=9.0987
Archetype change since last debug: 1.089165
Archetype gradients: norm=0.054017, mean=0.002117
Epoch 1/1
Average loss: 0.8231
Archetypal loss: 0.9051
KLD loss: 0.0849
Reconstruction loss: 0.9051
Archetype R²: 0.0692
Archetype transform grad norm: 0.277877
Archetype transform param norm: 7.3667
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.8231 (range: 0.8231 - 0.8231)
archetypal_loss: 0.9051 (range: 0.9051 - 0.9051)
kld_loss: 0.0849 (range: 0.0849 - 0.0849)
reconstruction_loss: 0.9051 (range: 0.9051 - 0.9051)
archetype_r2: 0.0692 (range: 0.0692 - 0.0692)
Archetype Transform Summary:
archetype_transform_mean: -0.001095 (range: -0.001095 - -0.001095)
archetype_transform_std: 0.103158 (range: 0.103158 - 0.103158)
archetype_transform_norm: 7.366661 (range: 7.366661 - 7.366661)
archetype_transform_grad_norm: 0.277877 (range: 0.277877 - 0.277877)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0281, max=0.8206, mean=0.2500
Batch reconstruction MSE: 0.9032
Archetype stats: min=-12.1974, max=9.2494
Archetype change since last debug: 1.140065
Archetype gradients: norm=0.032844, mean=0.001667
Epoch 1/1
Average loss: 0.8222
Archetypal loss: 0.9040
KLD loss: 0.0862
Reconstruction loss: 0.9040
Archetype R²: 0.0705
Archetype transform grad norm: 0.275242
Archetype transform param norm: 7.4026
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.8222 (range: 0.8222 - 0.8222)
archetypal_loss: 0.9040 (range: 0.9040 - 0.9040)
kld_loss: 0.0862 (range: 0.0862 - 0.0862)
reconstruction_loss: 0.9040 (range: 0.9040 - 0.9040)
archetype_r2: 0.0705 (range: 0.0705 - 0.0705)
Archetype Transform Summary:
archetype_transform_mean: -0.001085 (range: -0.001085 - -0.001085)
archetype_transform_std: 0.103661 (range: 0.103661 - 0.103661)
archetype_transform_norm: 7.402576 (range: 7.402576 - 7.402576)
archetype_transform_grad_norm: 0.275242 (range: 0.275242 - 0.275242)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0428, max=0.7968, mean=0.2500
Batch reconstruction MSE: 0.8997
Archetype stats: min=-12.5977, max=9.4604
Archetype change since last debug: 1.159317
Archetype gradients: norm=0.041753, mean=0.001581
Epoch 1/1
Average loss: 0.8212
Archetypal loss: 0.9035
KLD loss: 0.0810
Reconstruction loss: 0.9035
Archetype R²: 0.0710
Archetype transform grad norm: 0.276838
Archetype transform param norm: 7.4375
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.8212 (range: 0.8212 - 0.8212)
archetypal_loss: 0.9035 (range: 0.9035 - 0.9035)
kld_loss: 0.0810 (range: 0.0810 - 0.0810)
reconstruction_loss: 0.9035 (range: 0.9035 - 0.9035)
archetype_r2: 0.0710 (range: 0.0710 - 0.0710)
Archetype Transform Summary:
archetype_transform_mean: -0.001088 (range: -0.001088 - -0.001088)
archetype_transform_std: 0.104150 (range: 0.104150 - 0.104150)
archetype_transform_norm: 7.437468 (range: 7.437468 - 7.437468)
archetype_transform_grad_norm: 0.276838 (range: 0.276838 - 0.276838)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0301, max=0.7815, mean=0.2500
Batch reconstruction MSE: 0.8865
Archetype stats: min=-13.0686, max=9.8106
Archetype change since last debug: 1.204656
Archetype gradients: norm=0.025609, mean=0.001276
Epoch 1/1
Average loss: 0.8206
Archetypal loss: 0.9029
KLD loss: 0.0802
Reconstruction loss: 0.9029
Archetype R²: 0.0716
Archetype transform grad norm: 0.276680
Archetype transform param norm: 7.4739
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.8206 (range: 0.8206 - 0.8206)
archetypal_loss: 0.9029 (range: 0.9029 - 0.9029)
kld_loss: 0.0802 (range: 0.0802 - 0.0802)
reconstruction_loss: 0.9029 (range: 0.9029 - 0.9029)
archetype_r2: 0.0716 (range: 0.0716 - 0.0716)
Archetype Transform Summary:
archetype_transform_mean: -0.001083 (range: -0.001083 - -0.001083)
archetype_transform_std: 0.104660 (range: 0.104660 - 0.104660)
archetype_transform_norm: 7.473897 (range: 7.473897 - 7.473897)
archetype_transform_grad_norm: 0.276680 (range: 0.276680 - 0.276680)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0430, max=0.7863, mean=0.2500
Batch reconstruction MSE: 0.9019
Archetype stats: min=-13.4331, max=10.1305
Archetype change since last debug: 1.075970
Archetype gradients: norm=0.047369, mean=0.002034
Epoch 1/1
Average loss: 0.8207
Archetypal loss: 0.9032
KLD loss: 0.0776
Reconstruction loss: 0.9032
Archetype R²: 0.0712
Archetype transform grad norm: 0.283051
Archetype transform param norm: 7.5014
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.8207 (range: 0.8207 - 0.8207)
archetypal_loss: 0.9032 (range: 0.9032 - 0.9032)
kld_loss: 0.0776 (range: 0.0776 - 0.0776)
reconstruction_loss: 0.9032 (range: 0.9032 - 0.9032)
archetype_r2: 0.0712 (range: 0.0712 - 0.0712)
Archetype Transform Summary:
archetype_transform_mean: -0.001099 (range: -0.001099 - -0.001099)
archetype_transform_std: 0.105045 (range: 0.105045 - 0.105045)
archetype_transform_norm: 7.501382 (range: 7.501382 - 7.501382)
archetype_transform_grad_norm: 0.283051 (range: 0.283051 - 0.283051)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0380, max=0.7524, mean=0.2500
Batch reconstruction MSE: 0.9281
Archetype stats: min=-13.7980, max=10.4812
Archetype change since last debug: 0.992279
Archetype gradients: norm=0.046865, mean=0.002085
Epoch 1/1
Average loss: 0.8210
Archetypal loss: 0.9035
KLD loss: 0.0780
Reconstruction loss: 0.9035
Archetype R²: 0.0708
Archetype transform grad norm: 0.284499
Archetype transform param norm: 7.5190
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.8210 (range: 0.8210 - 0.8210)
archetypal_loss: 0.9035 (range: 0.9035 - 0.9035)
kld_loss: 0.0780 (range: 0.0780 - 0.0780)
reconstruction_loss: 0.9035 (range: 0.9035 - 0.9035)
archetype_r2: 0.0708 (range: 0.0708 - 0.0708)
Archetype Transform Summary:
archetype_transform_mean: -0.001083 (range: -0.001083 - -0.001083)
archetype_transform_std: 0.105292 (range: 0.105292 - 0.105292)
archetype_transform_norm: 7.518993 (range: 7.518993 - 7.518993)
archetype_transform_grad_norm: 0.284499 (range: 0.284499 - 0.284499)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0300, max=0.8412, mean=0.2500
Batch reconstruction MSE: 1.0280
Archetype stats: min=-14.0873, max=10.5796
Archetype change since last debug: 0.794868
Archetype gradients: norm=0.066116, mean=0.003839
Epoch 1/1
Average loss: 0.8247
Archetypal loss: 0.9071
KLD loss: 0.0830
Reconstruction loss: 0.9071
Archetype R²: 0.0668
Archetype transform grad norm: 0.331183
Archetype transform param norm: 7.5199
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.8247 (range: 0.8247 - 0.8247)
archetypal_loss: 0.9071 (range: 0.9071 - 0.9071)
kld_loss: 0.0830 (range: 0.0830 - 0.0830)
reconstruction_loss: 0.9071 (range: 0.9071 - 0.9071)
archetype_r2: 0.0668 (range: 0.0668 - 0.0668)
Archetype Transform Summary:
archetype_transform_mean: -0.001185 (range: -0.001185 - -0.001185)
archetype_transform_std: 0.105303 (range: 0.105303 - 0.105303)
archetype_transform_norm: 7.519853 (range: 7.519853 - 7.519853)
archetype_transform_grad_norm: 0.331183 (range: 0.331183 - 0.331183)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0409, max=0.7650, mean=0.2500
Batch reconstruction MSE: 1.2201
Archetype stats: min=-13.0800, max=10.5078
Archetype change since last debug: 1.781209
Archetype gradients: norm=0.118638, mean=0.006316
Epoch 1/1
Average loss: 0.8284
Archetypal loss: 0.9106
KLD loss: 0.0887
Reconstruction loss: 0.9106
Archetype R²: 0.0626
Archetype transform grad norm: 0.320073
Archetype transform param norm: 7.4588
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.8284 (range: 0.8284 - 0.8284)
archetypal_loss: 0.9106 (range: 0.9106 - 0.9106)
kld_loss: 0.0887 (range: 0.0887 - 0.0887)
reconstruction_loss: 0.9106 (range: 0.9106 - 0.9106)
archetype_r2: 0.0626 (range: 0.0626 - 0.0626)
Archetype Transform Summary:
archetype_transform_mean: -0.001119 (range: -0.001119 - -0.001119)
archetype_transform_std: 0.104449 (range: 0.104449 - 0.104449)
archetype_transform_norm: 7.458822 (range: 7.458822 - 7.458822)
archetype_transform_grad_norm: 0.320073 (range: 0.320073 - 0.320073)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0298, max=0.7743, mean=0.2500
Batch reconstruction MSE: 0.9681
Archetype stats: min=-12.6415, max=9.7969
Archetype change since last debug: 1.834046
Archetype gradients: norm=0.069378, mean=0.003434
Epoch 1/1
Average loss: 0.8219
Archetypal loss: 0.9040
KLD loss: 0.0831
Reconstruction loss: 0.9040
Archetype R²: 0.0701
Archetype transform grad norm: 0.285905
Archetype transform param norm: 7.4731
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.8219 (range: 0.8219 - 0.8219)
archetypal_loss: 0.9040 (range: 0.9040 - 0.9040)
kld_loss: 0.0831 (range: 0.0831 - 0.0831)
reconstruction_loss: 0.9040 (range: 0.9040 - 0.9040)
archetype_r2: 0.0701 (range: 0.0701 - 0.0701)
Archetype Transform Summary:
archetype_transform_mean: -0.001201 (range: -0.001201 - -0.001201)
archetype_transform_std: 0.104647 (range: 0.104647 - 0.104647)
archetype_transform_norm: 7.473073 (range: 7.473073 - 7.473073)
archetype_transform_grad_norm: 0.285905 (range: 0.285905 - 0.285905)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0345, max=0.8479, mean=0.2500
Batch reconstruction MSE: 0.9117
Archetype stats: min=-12.5065, max=10.1055
Archetype change since last debug: 0.898993
Archetype gradients: norm=0.051588, mean=0.002490
Epoch 1/1
Average loss: 0.8202
Archetypal loss: 0.9023
KLD loss: 0.0808
Reconstruction loss: 0.9023
Archetype R²: 0.0720
Archetype transform grad norm: 0.277159
Archetype transform param norm: 7.4992
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.8202 (range: 0.8202 - 0.8202)
archetypal_loss: 0.9023 (range: 0.9023 - 0.9023)
kld_loss: 0.0808 (range: 0.0808 - 0.0808)
reconstruction_loss: 0.9023 (range: 0.9023 - 0.9023)
archetype_r2: 0.0720 (range: 0.0720 - 0.0720)
Archetype Transform Summary:
archetype_transform_mean: -0.001176 (range: -0.001176 - -0.001176)
archetype_transform_std: 0.105014 (range: 0.105014 - 0.105014)
archetype_transform_norm: 7.499222 (range: 7.499222 - 7.499222)
archetype_transform_grad_norm: 0.277159 (range: 0.277159 - 0.277159)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0519, max=0.7628, mean=0.2500
Batch reconstruction MSE: 0.8718
Archetype stats: min=-12.9088, max=10.2266
Archetype change since last debug: 1.021146
Archetype gradients: norm=0.054093, mean=0.002620
Epoch 1/1
Average loss: 0.8189
Archetypal loss: 0.9011
KLD loss: 0.0790
Reconstruction loss: 0.9011
Archetype R²: 0.0733
Archetype transform grad norm: 0.277560
Archetype transform param norm: 7.5355
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.8189 (range: 0.8189 - 0.8189)
archetypal_loss: 0.9011 (range: 0.9011 - 0.9011)
kld_loss: 0.0790 (range: 0.0790 - 0.0790)
reconstruction_loss: 0.9011 (range: 0.9011 - 0.9011)
archetype_r2: 0.0733 (range: 0.0733 - 0.0733)
Archetype Transform Summary:
archetype_transform_mean: -0.001188 (range: -0.001188 - -0.001188)
archetype_transform_std: 0.105522 (range: 0.105522 - 0.105522)
archetype_transform_norm: 7.535540 (range: 7.535540 - 7.535540)
archetype_transform_grad_norm: 0.277560 (range: 0.277560 - 0.277560)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0430, max=0.8258, mean=0.2500
Batch reconstruction MSE: 0.8678
Archetype stats: min=-13.2985, max=10.5694
Archetype change since last debug: 1.243144
Archetype gradients: norm=0.046591, mean=0.002306
Epoch 1/1
Average loss: 0.8182
Archetypal loss: 0.9009
KLD loss: 0.0744
Reconstruction loss: 0.9009
Archetype R²: 0.0736
Archetype transform grad norm: 0.278056
Archetype transform param norm: 7.5707
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.8182 (range: 0.8182 - 0.8182)
archetypal_loss: 0.9009 (range: 0.9009 - 0.9009)
kld_loss: 0.0744 (range: 0.0744 - 0.0744)
reconstruction_loss: 0.9009 (range: 0.9009 - 0.9009)
archetype_r2: 0.0736 (range: 0.0736 - 0.0736)
Archetype Transform Summary:
archetype_transform_mean: -0.001164 (range: -0.001164 - -0.001164)
archetype_transform_std: 0.106014 (range: 0.106014 - 0.106014)
archetype_transform_norm: 7.570658 (range: 7.570658 - 7.570658)
archetype_transform_grad_norm: 0.278056 (range: 0.278056 - 0.278056)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0522, max=0.7755, mean=0.2500
Batch reconstruction MSE: 0.8934
Archetype stats: min=-13.6870, max=10.7124
Archetype change since last debug: 1.090550
Archetype gradients: norm=0.072812, mean=0.003399
Epoch 1/1
Average loss: 0.8189
Archetypal loss: 0.9015
KLD loss: 0.0752
Reconstruction loss: 0.9015
Archetype R²: 0.0728
Archetype transform grad norm: 0.285200
Archetype transform param norm: 7.5933
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.8189 (range: 0.8189 - 0.8189)
archetypal_loss: 0.9015 (range: 0.9015 - 0.9015)
kld_loss: 0.0752 (range: 0.0752 - 0.0752)
reconstruction_loss: 0.9015 (range: 0.9015 - 0.9015)
archetype_r2: 0.0728 (range: 0.0728 - 0.0728)
Archetype Transform Summary:
archetype_transform_mean: -0.001180 (range: -0.001180 - -0.001180)
archetype_transform_std: 0.106332 (range: 0.106332 - 0.106332)
archetype_transform_norm: 7.593346 (range: 7.593346 - 7.593346)
archetype_transform_grad_norm: 0.285200 (range: 0.285200 - 0.285200)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0529, max=0.7951, mean=0.2500
Batch reconstruction MSE: 0.9530
Archetype stats: min=-14.0489, max=11.0635
Archetype change since last debug: 0.963918
Archetype gradients: norm=0.072810, mean=0.003751
Epoch 1/1
Average loss: 0.8201
Archetypal loss: 0.9030
KLD loss: 0.0746
Reconstruction loss: 0.9030
Archetype R²: 0.0711
Archetype transform grad norm: 0.297762
Archetype transform param norm: 7.6025
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.8201 (range: 0.8201 - 0.8201)
archetypal_loss: 0.9030 (range: 0.9030 - 0.9030)
kld_loss: 0.0746 (range: 0.0746 - 0.0746)
reconstruction_loss: 0.9030 (range: 0.9030 - 0.9030)
archetype_r2: 0.0711 (range: 0.0711 - 0.0711)
Archetype Transform Summary:
archetype_transform_mean: -0.001173 (range: -0.001173 - -0.001173)
archetype_transform_std: 0.106460 (range: 0.106460 - 0.106460)
archetype_transform_norm: 7.602476 (range: 7.602476 - 7.602476)
archetype_transform_grad_norm: 0.297762 (range: 0.297762 - 0.297762)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0500, max=0.7799, mean=0.2500
Batch reconstruction MSE: 1.0657
Archetype stats: min=-14.0826, max=10.9930
Archetype change since last debug: 0.675313
Archetype gradients: norm=0.104679, mean=0.005453
Epoch 1/1
Average loss: 0.8231
Archetypal loss: 0.9058
KLD loss: 0.0791
Reconstruction loss: 0.9058
Archetype R²: 0.0679
Archetype transform grad norm: 0.305891
Archetype transform param norm: 7.5775
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.8231 (range: 0.8231 - 0.8231)
archetypal_loss: 0.9058 (range: 0.9058 - 0.9058)
kld_loss: 0.0791 (range: 0.0791 - 0.0791)
reconstruction_loss: 0.9058 (range: 0.9058 - 0.9058)
archetype_r2: 0.0679 (range: 0.0679 - 0.0679)
Archetype Transform Summary:
archetype_transform_mean: -0.001203 (range: -0.001203 - -0.001203)
archetype_transform_std: 0.106110 (range: 0.106110 - 0.106110)
archetype_transform_norm: 7.577549 (range: 7.577549 - 7.577549)
archetype_transform_grad_norm: 0.305891 (range: 0.305891 - 0.305891)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0574, max=0.7641, mean=0.2500
Batch reconstruction MSE: 1.0828
Archetype stats: min=-14.1294, max=11.1724
Archetype change since last debug: 1.312514
Archetype gradients: norm=0.065326, mean=0.003952
Epoch 1/1
Average loss: 0.8241
Archetypal loss: 0.9067
KLD loss: 0.0807
Reconstruction loss: 0.9067
Archetype R²: 0.0668
Archetype transform grad norm: 0.346064
Archetype transform param norm: 7.5643
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.8241 (range: 0.8241 - 0.8241)
archetypal_loss: 0.9067 (range: 0.9067 - 0.9067)
kld_loss: 0.0807 (range: 0.0807 - 0.0807)
reconstruction_loss: 0.9067 (range: 0.9067 - 0.9067)
archetype_r2: 0.0668 (range: 0.0668 - 0.0668)
Archetype Transform Summary:
archetype_transform_mean: -0.001289 (range: -0.001289 - -0.001289)
archetype_transform_std: 0.105924 (range: 0.105924 - 0.105924)
archetype_transform_norm: 7.564298 (range: 7.564298 - 7.564298)
archetype_transform_grad_norm: 0.346064 (range: 0.346064 - 0.346064)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0509, max=0.8136, mean=0.2500
Batch reconstruction MSE: 0.9997
Archetype stats: min=-13.3822, max=11.1480
Archetype change since last debug: 1.920657
Archetype gradients: norm=0.082639, mean=0.004456
Epoch 1/1
Average loss: 0.8213
Archetypal loss: 0.9038
KLD loss: 0.0784
Reconstruction loss: 0.9038
Archetype R²: 0.0700
Archetype transform grad norm: 0.299759
Archetype transform param norm: 7.5474
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.8213 (range: 0.8213 - 0.8213)
archetypal_loss: 0.9038 (range: 0.9038 - 0.9038)
kld_loss: 0.0784 (range: 0.0784 - 0.0784)
reconstruction_loss: 0.9038 (range: 0.9038 - 0.9038)
archetype_r2: 0.0700 (range: 0.0700 - 0.0700)
Archetype Transform Summary:
archetype_transform_mean: -0.001254 (range: -0.001254 - -0.001254)
archetype_transform_std: 0.105688 (range: 0.105688 - 0.105688)
archetype_transform_norm: 7.547397 (range: 7.547397 - 7.547397)
archetype_transform_grad_norm: 0.299759 (range: 0.299759 - 0.299759)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0587, max=0.7763, mean=0.2500
Batch reconstruction MSE: 0.9005
Archetype stats: min=-13.7168, max=11.1286
Archetype change since last debug: 0.769088
Archetype gradients: norm=0.022307, mean=0.001135
Epoch 1/1
Average loss: 0.8184
Archetypal loss: 0.9010
KLD loss: 0.0752
Reconstruction loss: 0.9010
Archetype R²: 0.0732
Archetype transform grad norm: 0.286624
Archetype transform param norm: 7.5829
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.8184 (range: 0.8184 - 0.8184)
archetypal_loss: 0.9010 (range: 0.9010 - 0.9010)
kld_loss: 0.0752 (range: 0.0752 - 0.0752)
reconstruction_loss: 0.9010 (range: 0.9010 - 0.9010)
archetype_r2: 0.0732 (range: 0.0732 - 0.0732)
Archetype Transform Summary:
archetype_transform_mean: -0.001297 (range: -0.001297 - -0.001297)
archetype_transform_std: 0.106184 (range: 0.106184 - 0.106184)
archetype_transform_norm: 7.582857 (range: 7.582857 - 7.582857)
archetype_transform_grad_norm: 0.286624 (range: 0.286624 - 0.286624)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0511, max=0.8062, mean=0.2500
Batch reconstruction MSE: 0.8909
Archetype stats: min=-13.6855, max=11.4200
Archetype change since last debug: 0.993549
Archetype gradients: norm=0.056765, mean=0.002994
Epoch 1/1
Average loss: 0.8177
Archetypal loss: 0.9005
KLD loss: 0.0722
Reconstruction loss: 0.9005
Archetype R²: 0.0737
Archetype transform grad norm: 0.279633
Archetype transform param norm: 7.6045
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.8177 (range: 0.8177 - 0.8177)
archetypal_loss: 0.9005 (range: 0.9005 - 0.9005)
kld_loss: 0.0722 (range: 0.0722 - 0.0722)
reconstruction_loss: 0.9005 (range: 0.9005 - 0.9005)
archetype_r2: 0.0737 (range: 0.0737 - 0.0737)
Archetype Transform Summary:
archetype_transform_mean: -0.001249 (range: -0.001249 - -0.001249)
archetype_transform_std: 0.106487 (range: 0.106487 - 0.106487)
archetype_transform_norm: 7.604505 (range: 7.604505 - 7.604505)
archetype_transform_grad_norm: 0.279633 (range: 0.279633 - 0.279633)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0521, max=0.7956, mean=0.2500
Batch reconstruction MSE: 0.8664
Archetype stats: min=-14.2372, max=11.5104
Archetype change since last debug: 1.193547
Archetype gradients: norm=0.036738, mean=0.002231
Epoch 1/1
Average loss: 0.8175
Archetypal loss: 0.9001
KLD loss: 0.0742
Reconstruction loss: 0.9001
Archetype R²: 0.0742
Archetype transform grad norm: 0.298168
Archetype transform param norm: 7.6457
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.8175 (range: 0.8175 - 0.8175)
archetypal_loss: 0.9001 (range: 0.9001 - 0.9001)
kld_loss: 0.0742 (range: 0.0742 - 0.0742)
reconstruction_loss: 0.9001 (range: 0.9001 - 0.9001)
archetype_r2: 0.0742 (range: 0.0742 - 0.0742)
Archetype Transform Summary:
archetype_transform_mean: -0.001293 (range: -0.001293 - -0.001293)
archetype_transform_std: 0.107064 (range: 0.107064 - 0.107064)
archetype_transform_norm: 7.645718 (range: 7.645718 - 7.645718)
archetype_transform_grad_norm: 0.298168 (range: 0.298168 - 0.298168)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0803, max=0.7247, mean=0.2500
Batch reconstruction MSE: 0.9557
Archetype stats: min=-14.1847, max=11.8391
Archetype change since last debug: 1.050550
Archetype gradients: norm=0.090706, mean=0.004758
Epoch 1/1
Average loss: 0.8187
Archetypal loss: 0.9021
KLD loss: 0.0676
Reconstruction loss: 0.9021
Archetype R²: 0.0718
Archetype transform grad norm: 0.296550
Archetype transform param norm: 7.6429
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.8187 (range: 0.8187 - 0.8187)
archetypal_loss: 0.9021 (range: 0.9021 - 0.9021)
kld_loss: 0.0676 (range: 0.0676 - 0.0676)
reconstruction_loss: 0.9021 (range: 0.9021 - 0.9021)
archetype_r2: 0.0718 (range: 0.0718 - 0.0718)
Archetype Transform Summary:
archetype_transform_mean: -0.001235 (range: -0.001235 - -0.001235)
archetype_transform_std: 0.107026 (range: 0.107026 - 0.107026)
archetype_transform_norm: 7.642947 (range: 7.642947 - 7.642947)
archetype_transform_grad_norm: 0.296550 (range: 0.296550 - 0.296550)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0384, max=0.8305, mean=0.2500
Batch reconstruction MSE: 0.9348
Archetype stats: min=-14.6467, max=11.6526
Archetype change since last debug: 1.000388
Archetype gradients: norm=0.061117, mean=0.003754
Epoch 1/1
Average loss: 0.8196
Archetypal loss: 0.9021
KLD loss: 0.0770
Reconstruction loss: 0.9021
Archetype R²: 0.0719
Archetype transform grad norm: 0.314471
Archetype transform param norm: 7.6607
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.8196 (range: 0.8196 - 0.8196)
archetypal_loss: 0.9021 (range: 0.9021 - 0.9021)
kld_loss: 0.0770 (range: 0.0770 - 0.0770)
reconstruction_loss: 0.9021 (range: 0.9021 - 0.9021)
archetype_r2: 0.0719 (range: 0.0719 - 0.0719)
Archetype Transform Summary:
archetype_transform_mean: -0.001291 (range: -0.001291 - -0.001291)
archetype_transform_std: 0.107274 (range: 0.107274 - 0.107274)
archetype_transform_norm: 7.660697 (range: 7.660697 - 7.660697)
archetype_transform_grad_norm: 0.314471 (range: 0.314471 - 0.314471)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0426, max=0.7491, mean=0.2500
Batch reconstruction MSE: 1.0382
Archetype stats: min=-14.4247, max=11.8820
Archetype change since last debug: 0.946808
Archetype gradients: norm=0.120448, mean=0.006318
Epoch 1/1
Average loss: 0.8205
Archetypal loss: 0.9042
KLD loss: 0.0678
Reconstruction loss: 0.9042
Archetype R²: 0.0694
Archetype transform grad norm: 0.309739
Archetype transform param norm: 7.6350
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.8205 (range: 0.8205 - 0.8205)
archetypal_loss: 0.9042 (range: 0.9042 - 0.9042)
kld_loss: 0.0678 (range: 0.0678 - 0.0678)
reconstruction_loss: 0.9042 (range: 0.9042 - 0.9042)
archetype_r2: 0.0694 (range: 0.0694 - 0.0694)
Archetype Transform Summary:
archetype_transform_mean: -0.001254 (range: -0.001254 - -0.001254)
archetype_transform_std: 0.106914 (range: 0.106914 - 0.106914)
archetype_transform_norm: 7.634959 (range: 7.634959 - 7.634959)
archetype_transform_grad_norm: 0.309739 (range: 0.309739 - 0.309739)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0445, max=0.8135, mean=0.2500
Batch reconstruction MSE: 0.9331
Archetype stats: min=-14.7321, max=11.6847
Archetype change since last debug: 1.124777
Archetype gradients: norm=0.046101, mean=0.002851
Epoch 1/1
Average loss: 0.8186
Archetypal loss: 0.9015
KLD loss: 0.0720
Reconstruction loss: 0.9015
Archetype R²: 0.0724
Archetype transform grad norm: 0.306153
Archetype transform param norm: 7.6515
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.8186 (range: 0.8186 - 0.8186)
archetypal_loss: 0.9015 (range: 0.9015 - 0.9015)
kld_loss: 0.0720 (range: 0.0720 - 0.0720)
reconstruction_loss: 0.9015 (range: 0.9015 - 0.9015)
archetype_r2: 0.0724 (range: 0.0724 - 0.0724)
Archetype Transform Summary:
archetype_transform_mean: -0.001306 (range: -0.001306 - -0.001306)
archetype_transform_std: 0.107145 (range: 0.107145 - 0.107145)
archetype_transform_norm: 7.651531 (range: 7.651531 - 7.651531)
archetype_transform_grad_norm: 0.306153 (range: 0.306153 - 0.306153)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0566, max=0.7804, mean=0.2500
Batch reconstruction MSE: 0.9411
Archetype stats: min=-14.5257, max=11.8928
Archetype change since last debug: 0.742317
Archetype gradients: norm=0.080541, mean=0.004098
Epoch 1/1
Average loss: 0.8184
Archetypal loss: 0.9013
KLD loss: 0.0716
Reconstruction loss: 0.9013
Archetype R²: 0.0726
Archetype transform grad norm: 0.290845
Archetype transform param norm: 7.6497
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.8184 (range: 0.8184 - 0.8184)
archetypal_loss: 0.9013 (range: 0.9013 - 0.9013)
kld_loss: 0.0716 (range: 0.0716 - 0.0716)
reconstruction_loss: 0.9013 (range: 0.9013 - 0.9013)
archetype_r2: 0.0726 (range: 0.0726 - 0.0726)
Archetype Transform Summary:
archetype_transform_mean: -0.001251 (range: -0.001251 - -0.001251)
archetype_transform_std: 0.107121 (range: 0.107121 - 0.107121)
archetype_transform_norm: 7.649742 (range: 7.649742 - 7.649742)
archetype_transform_grad_norm: 0.290845 (range: 0.290845 - 0.290845)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0472, max=0.8003, mean=0.2500
Batch reconstruction MSE: 0.9114
Archetype stats: min=-14.8155, max=11.7497
Archetype change since last debug: 0.757100
Archetype gradients: norm=0.027629, mean=0.001591
Epoch 1/1
Average loss: 0.8173
Archetypal loss: 0.9004
KLD loss: 0.0701
Reconstruction loss: 0.9004
Archetype R²: 0.0737
Archetype transform grad norm: 0.284420
Archetype transform param norm: 7.6717
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.8173 (range: 0.8173 - 0.8173)
archetypal_loss: 0.9004 (range: 0.9004 - 0.9004)
kld_loss: 0.0701 (range: 0.0701 - 0.0701)
reconstruction_loss: 0.9004 (range: 0.9004 - 0.9004)
archetype_r2: 0.0737 (range: 0.0737 - 0.0737)
Archetype Transform Summary:
archetype_transform_mean: -0.001295 (range: -0.001295 - -0.001295)
archetype_transform_std: 0.107429 (range: 0.107429 - 0.107429)
archetype_transform_norm: 7.671738 (range: 7.671738 - 7.671738)
archetype_transform_grad_norm: 0.284420 (range: 0.284420 - 0.284420)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0565, max=0.7757, mean=0.2500
Batch reconstruction MSE: 0.9123
Archetype stats: min=-14.7871, max=11.9683
Archetype change since last debug: 0.626577
Archetype gradients: norm=0.052792, mean=0.002620
Epoch 1/1
Average loss: 0.8170
Archetypal loss: 0.9001
KLD loss: 0.0690
Reconstruction loss: 0.9001
Archetype R²: 0.0739
Archetype transform grad norm: 0.275471
Archetype transform param norm: 7.6830
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.8170 (range: 0.8170 - 0.8170)
archetypal_loss: 0.9001 (range: 0.9001 - 0.9001)
kld_loss: 0.0690 (range: 0.0690 - 0.0690)
reconstruction_loss: 0.9001 (range: 0.9001 - 0.9001)
archetype_r2: 0.0739 (range: 0.0739 - 0.0739)
Archetype Transform Summary:
archetype_transform_mean: -0.001277 (range: -0.001277 - -0.001277)
archetype_transform_std: 0.107587 (range: 0.107587 - 0.107587)
archetype_transform_norm: 7.683047 (range: 7.683047 - 7.683047)
archetype_transform_grad_norm: 0.275471 (range: 0.275471 - 0.275471)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0499, max=0.7974, mean=0.2500
Batch reconstruction MSE: 0.8512
Archetype stats: min=-15.1076, max=12.0267
Archetype change since last debug: 0.661186
Archetype gradients: norm=0.025663, mean=0.001503
Epoch 1/1
Average loss: 0.8157
Archetypal loss: 0.8987
KLD loss: 0.0684
Reconstruction loss: 0.8987
Archetype R²: 0.0755
Archetype transform grad norm: 0.280022
Archetype transform param norm: 7.7140
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.8157 (range: 0.8157 - 0.8157)
archetypal_loss: 0.8987 (range: 0.8987 - 0.8987)
kld_loss: 0.0684 (range: 0.0684 - 0.0684)
reconstruction_loss: 0.8987 (range: 0.8987 - 0.8987)
archetype_r2: 0.0755 (range: 0.0755 - 0.0755)
Archetype Transform Summary:
archetype_transform_mean: -0.001302 (range: -0.001302 - -0.001302)
archetype_transform_std: 0.108020 (range: 0.108020 - 0.108020)
archetype_transform_norm: 7.713957 (range: 7.713957 - 7.713957)
archetype_transform_grad_norm: 0.280022 (range: 0.280022 - 0.280022)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0572, max=0.7800, mean=0.2500
Batch reconstruction MSE: 0.8794
Archetype stats: min=-15.2200, max=12.3176
Archetype change since last debug: 0.896696
Archetype gradients: norm=0.035099, mean=0.001637
Epoch 1/1
Average loss: 0.8155
Archetypal loss: 0.8992
KLD loss: 0.0625
Reconstruction loss: 0.8992
Archetype R²: 0.0749
Archetype transform grad norm: 0.277325
Archetype transform param norm: 7.7346
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.8155 (range: 0.8155 - 0.8155)
archetypal_loss: 0.8992 (range: 0.8992 - 0.8992)
kld_loss: 0.0625 (range: 0.0625 - 0.0625)
reconstruction_loss: 0.8992 (range: 0.8992 - 0.8992)
archetype_r2: 0.0749 (range: 0.0749 - 0.0749)
Archetype Transform Summary:
archetype_transform_mean: -0.001275 (range: -0.001275 - -0.001275)
archetype_transform_std: 0.108309 (range: 0.108309 - 0.108309)
archetype_transform_norm: 7.734590 (range: 7.734590 - 7.734590)
archetype_transform_grad_norm: 0.277325 (range: 0.277325 - 0.277325)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0519, max=0.7942, mean=0.2500
Batch reconstruction MSE: 0.8359
Archetype stats: min=-15.5988, max=12.3520
Archetype change since last debug: 0.804497
Archetype gradients: norm=0.036915, mean=0.001970
Epoch 1/1
Average loss: 0.8152
Archetypal loss: 0.8983
KLD loss: 0.0674
Reconstruction loss: 0.8983
Archetype R²: 0.0760
Archetype transform grad norm: 0.281890
Archetype transform param norm: 7.7642
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.8152 (range: 0.8152 - 0.8152)
archetypal_loss: 0.8983 (range: 0.8983 - 0.8983)
kld_loss: 0.0674 (range: 0.0674 - 0.0674)
reconstruction_loss: 0.8983 (range: 0.8983 - 0.8983)
archetype_r2: 0.0760 (range: 0.0760 - 0.0760)
Archetype Transform Summary:
archetype_transform_mean: -0.001302 (range: -0.001302 - -0.001302)
archetype_transform_std: 0.108724 (range: 0.108724 - 0.108724)
archetype_transform_norm: 7.764213 (range: 7.764213 - 7.764213)
archetype_transform_grad_norm: 0.281890 (range: 0.281890 - 0.281890)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0667, max=0.7603, mean=0.2500
Batch reconstruction MSE: 0.9226
Archetype stats: min=-15.6736, max=12.6725
Archetype change since last debug: 0.896109
Archetype gradients: norm=0.042864, mean=0.002288
Epoch 1/1
Average loss: 0.8161
Archetypal loss: 0.9001
KLD loss: 0.0596
Reconstruction loss: 0.9001
Archetype R²: 0.0738
Archetype transform grad norm: 0.283236
Archetype transform param norm: 7.7755
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.8161 (range: 0.8161 - 0.8161)
archetypal_loss: 0.9001 (range: 0.9001 - 0.9001)
kld_loss: 0.0596 (range: 0.0596 - 0.0596)
reconstruction_loss: 0.9001 (range: 0.9001 - 0.9001)
archetype_r2: 0.0738 (range: 0.0738 - 0.0738)
Archetype Transform Summary:
archetype_transform_mean: -0.001287 (range: -0.001287 - -0.001287)
archetype_transform_std: 0.108881 (range: 0.108881 - 0.108881)
archetype_transform_norm: 7.775454 (range: 7.775454 - 7.775454)
archetype_transform_grad_norm: 0.283236 (range: 0.283236 - 0.283236)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0511, max=0.7841, mean=0.2500
Batch reconstruction MSE: 0.8929
Archetype stats: min=-15.9629, max=12.5878
Archetype change since last debug: 0.659362
Archetype gradients: norm=0.059492, mean=0.003001
Epoch 1/1
Average loss: 0.8164
Archetypal loss: 0.8996
KLD loss: 0.0684
Reconstruction loss: 0.8996
Archetype R²: 0.0744
Archetype transform grad norm: 0.290901
Archetype transform param norm: 7.7846
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.8164 (range: 0.8164 - 0.8164)
archetypal_loss: 0.8996 (range: 0.8996 - 0.8996)
kld_loss: 0.0684 (range: 0.0684 - 0.0684)
reconstruction_loss: 0.8996 (range: 0.8996 - 0.8996)
archetype_r2: 0.0744 (range: 0.0744 - 0.0744)
Archetype Transform Summary:
archetype_transform_mean: -0.001328 (range: -0.001328 - -0.001328)
archetype_transform_std: 0.109009 (range: 0.109009 - 0.109009)
archetype_transform_norm: 7.784599 (range: 7.784599 - 7.784599)
archetype_transform_grad_norm: 0.290901 (range: 0.290901 - 0.290901)
[OK] Completed in 40.0s
[STATS] Mean archetype R²: 0.0730
[STATS] Mean validation R²: 0.0730
đź§Ş Configuration 6/20: {'n_archetypes': 4, 'hidden_dims': [64, 128, 256], 'inflation_factor': 1.5, 'use_pcha_init': True, 'use_inflation': True}
Fold 1/3
Model input_dim: 50 (auto-detected from data)
Archetypes parameter registered: True
Archetypes requires_grad: True
Deep_AA (Deep Archetypal Analysis) initialized:
- Single-stage architecture (like Deep_2)
- Inflation factor: 1.5
- Direct archetypal coordinates (no bottleneck)
Consolidated Archetype Initialization
PCHA: True, Inflation: True (factor: 1.5)
Test inflation: False
Running PCHA initialization...
Input shape: (128, 50)
Target archetypes: 4
Running PCHA with 4 archetypes...
Data shape for PCHA: (50, 128)
PCHA Results:
Archetypes shape: (4, 50)
Archetype R²: 0.1980
SSE: 4598.9296
PCHA archetype R²: 0.1980
Archetype shape: (4, 50)
[OK] Initialized 4 archetypes using PCHA
Scalar Archetypal Inflation (factor: 1.50)
[OK] Inflation complete
[STATS] Positioning verification:
Data radius (max): 14.026
Data radius (mean): 6.169
Archetype distances: 3.445 to 13.774
Archetypes outside data: 0/4
Min archetype separation: 10.080
[OK] Archetype initialization complete (success: True)
[OK] Archetype initialization complete (PCHA: True, Inflation: 1.5)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0003, max=0.9714, mean=0.2500
Batch reconstruction MSE: 1.1378
Archetype stats: min=-0.9703, max=0.9616
Archetype gradients: norm=0.012933, mean=0.000710
Epoch 1/1
Average loss: 0.8714
Archetypal loss: 0.9661
KLD loss: 0.0183
Reconstruction loss: 0.9661
Archetype R²: -0.0145
Archetype transform grad norm: 0.138649
Archetype transform param norm: 5.7581
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.8714 (range: 0.8714 - 0.8714)
archetypal_loss: 0.9661 (range: 0.9661 - 0.9661)
kld_loss: 0.0183 (range: 0.0183 - 0.0183)
reconstruction_loss: 0.9661 (range: 0.9661 - 0.9661)
archetype_r2: -0.0145 (range: -0.0145 - -0.0145)
Archetype Transform Summary:
archetype_transform_mean: -0.000502 (range: -0.000502 - -0.000502)
archetype_transform_std: 0.080635 (range: 0.080635 - 0.080635)
archetype_transform_norm: 5.758119 (range: 5.758119 - 5.758119)
archetype_transform_grad_norm: 0.138649 (range: 0.138649 - 0.138649)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0004, max=0.9788, mean=0.2500
Batch reconstruction MSE: 1.0546
Archetype stats: min=-0.5424, max=0.6241
Archetype change since last debug: 4.284991
Archetype gradients: norm=0.004135, mean=0.000223
Epoch 1/1
Average loss: 0.8639
Archetypal loss: 0.9569
KLD loss: 0.0272
Reconstruction loss: 0.9569
Archetype R²: -0.0050
Archetype transform grad norm: 0.101976
Archetype transform param norm: 5.7616
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.8639 (range: 0.8639 - 0.8639)
archetypal_loss: 0.9569 (range: 0.9569 - 0.9569)
kld_loss: 0.0272 (range: 0.0272 - 0.0272)
reconstruction_loss: 0.9569 (range: 0.9569 - 0.9569)
archetype_r2: -0.0050 (range: -0.0050 - -0.0050)
Archetype Transform Summary:
archetype_transform_mean: -0.000665 (range: -0.000665 - -0.000665)
archetype_transform_std: 0.080684 (range: 0.080684 - 0.080684)
archetype_transform_norm: 5.761592 (range: 5.761592 - 5.761592)
archetype_transform_grad_norm: 0.101976 (range: 0.101976 - 0.101976)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0060, max=0.9216, mean=0.2500
Batch reconstruction MSE: 1.0633
Archetype stats: min=-0.6514, max=0.8863
Archetype change since last debug: 1.233306
Archetype gradients: norm=0.003923, mean=0.000218
Epoch 1/1
Average loss: 0.8580
Archetypal loss: 0.9472
KLD loss: 0.0551
Reconstruction loss: 0.9472
Archetype R²: 0.0052
Archetype transform grad norm: 0.119499
Archetype transform param norm: 5.8173
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.8580 (range: 0.8580 - 0.8580)
archetypal_loss: 0.9472 (range: 0.9472 - 0.9472)
kld_loss: 0.0551 (range: 0.0551 - 0.0551)
reconstruction_loss: 0.9472 (range: 0.9472 - 0.9472)
archetype_r2: 0.0052 (range: 0.0052 - 0.0052)
Archetype Transform Summary:
archetype_transform_mean: -0.000657 (range: -0.000657 - -0.000657)
archetype_transform_std: 0.081464 (range: 0.081464 - 0.081464)
archetype_transform_norm: 5.817306 (range: 5.817306 - 5.817306)
archetype_transform_grad_norm: 0.119499 (range: 0.119499 - 0.119499)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0012, max=0.9884, mean=0.2500
Batch reconstruction MSE: 1.0766
Archetype stats: min=-1.6712, max=1.7683
Archetype change since last debug: 4.232963
Archetype gradients: norm=0.006393, mean=0.000334
Epoch 1/1
Average loss: 0.8469
Archetypal loss: 0.9310
KLD loss: 0.0896
Reconstruction loss: 0.9310
Archetype R²: 0.0223
Archetype transform grad norm: 0.153583
Archetype transform param norm: 5.9954
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.8469 (range: 0.8469 - 0.8469)
archetypal_loss: 0.9310 (range: 0.9310 - 0.9310)
kld_loss: 0.0896 (range: 0.0896 - 0.0896)
reconstruction_loss: 0.9310 (range: 0.9310 - 0.9310)
archetype_r2: 0.0223 (range: 0.0223 - 0.0223)
Archetype Transform Summary:
archetype_transform_mean: -0.000541 (range: -0.000541 - -0.000541)
archetype_transform_std: 0.083959 (range: 0.083959 - 0.083959)
archetype_transform_norm: 5.995412 (range: 5.995412 - 5.995412)
archetype_transform_grad_norm: 0.153583 (range: 0.153583 - 0.153583)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0092, max=0.8511, mean=0.2500
Batch reconstruction MSE: 1.1743
Archetype stats: min=-3.2003, max=3.2688
Archetype change since last debug: 6.939756
Archetype gradients: norm=0.029342, mean=0.001086
Epoch 1/1
Average loss: 0.8404
Archetypal loss: 0.9240
KLD loss: 0.0876
Reconstruction loss: 0.9240
Archetype R²: 0.0298
Archetype transform grad norm: 0.179495
Archetype transform param norm: 6.1729
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.8404 (range: 0.8404 - 0.8404)
archetypal_loss: 0.9240 (range: 0.9240 - 0.9240)
kld_loss: 0.0876 (range: 0.0876 - 0.0876)
reconstruction_loss: 0.9240 (range: 0.9240 - 0.9240)
archetype_r2: 0.0298 (range: 0.0298 - 0.0298)
Archetype Transform Summary:
archetype_transform_mean: -0.000539 (range: -0.000539 - -0.000539)
archetype_transform_std: 0.086444 (range: 0.086444 - 0.086444)
archetype_transform_norm: 6.172889 (range: 6.172889 - 6.172889)
archetype_transform_grad_norm: 0.179495 (range: 0.179495 - 0.179495)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0024, max=0.8797, mean=0.2500
Batch reconstruction MSE: 1.1828
Archetype stats: min=-3.8072, max=4.1743
Archetype change since last debug: 4.143181
Archetype gradients: norm=0.030389, mean=0.001606
Epoch 1/1
Average loss: 0.8365
Archetypal loss: 0.9158
KLD loss: 0.1229
Reconstruction loss: 0.9158
Archetype R²: 0.0386
Archetype transform grad norm: 0.194905
Archetype transform param norm: 6.3422
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.8365 (range: 0.8365 - 0.8365)
archetypal_loss: 0.9158 (range: 0.9158 - 0.9158)
kld_loss: 0.1229 (range: 0.1229 - 0.1229)
reconstruction_loss: 0.9158 (range: 0.9158 - 0.9158)
archetype_r2: 0.0386 (range: 0.0386 - 0.0386)
Archetype Transform Summary:
archetype_transform_mean: -0.000722 (range: -0.000722 - -0.000722)
archetype_transform_std: 0.088814 (range: 0.088814 - 0.088814)
archetype_transform_norm: 6.342151 (range: 6.342151 - 6.342151)
archetype_transform_grad_norm: 0.194905 (range: 0.194905 - 0.194905)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0103, max=0.9282, mean=0.2500
Batch reconstruction MSE: 1.2779
Archetype stats: min=-4.3032, max=4.5535
Archetype change since last debug: 4.506381
Archetype gradients: norm=0.060874, mean=0.002784
Epoch 1/1
Average loss: 0.8288
Archetypal loss: 0.9066
KLD loss: 0.1285
Reconstruction loss: 0.9066
Archetype R²: 0.0484
Archetype transform grad norm: 0.201245
Archetype transform param norm: 6.5384
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.8288 (range: 0.8288 - 0.8288)
archetypal_loss: 0.9066 (range: 0.9066 - 0.9066)
kld_loss: 0.1285 (range: 0.1285 - 0.1285)
reconstruction_loss: 0.9066 (range: 0.9066 - 0.9066)
archetype_r2: 0.0484 (range: 0.0484 - 0.0484)
Archetype Transform Summary:
archetype_transform_mean: -0.000937 (range: -0.000937 - -0.000937)
archetype_transform_std: 0.091560 (range: 0.091560 - 0.091560)
archetype_transform_norm: 6.538376 (range: 6.538376 - 6.538376)
archetype_transform_grad_norm: 0.201245 (range: 0.201245 - 0.201245)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0161, max=0.9170, mean=0.2500
Batch reconstruction MSE: 1.3286
Archetype stats: min=-5.4387, max=4.9064
Archetype change since last debug: 4.179317
Archetype gradients: norm=0.053900, mean=0.002987
Epoch 1/1
Average loss: 0.8234
Archetypal loss: 0.9016
KLD loss: 0.1196
Reconstruction loss: 0.9016
Archetype R²: 0.0539
Archetype transform grad norm: 0.212757
Archetype transform param norm: 6.7074
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.8234 (range: 0.8234 - 0.8234)
archetypal_loss: 0.9016 (range: 0.9016 - 0.9016)
kld_loss: 0.1196 (range: 0.1196 - 0.1196)
reconstruction_loss: 0.9016 (range: 0.9016 - 0.9016)
archetype_r2: 0.0539 (range: 0.0539 - 0.0539)
Archetype Transform Summary:
archetype_transform_mean: -0.001149 (range: -0.001149 - -0.001149)
archetype_transform_std: 0.093925 (range: 0.093925 - 0.093925)
archetype_transform_norm: 6.707412 (range: 6.707412 - 6.707412)
archetype_transform_grad_norm: 0.212757 (range: 0.212757 - 0.212757)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0190, max=0.8445, mean=0.2500
Batch reconstruction MSE: 1.2655
Archetype stats: min=-6.6524, max=5.3111
Archetype change since last debug: 3.408831
Archetype gradients: norm=0.125985, mean=0.004823
Epoch 1/1
Average loss: 0.8199
Archetypal loss: 0.8974
KLD loss: 0.1217
Reconstruction loss: 0.8974
Archetype R²: 0.0581
Archetype transform grad norm: 0.212233
Archetype transform param norm: 6.8078
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.8199 (range: 0.8199 - 0.8199)
archetypal_loss: 0.8974 (range: 0.8974 - 0.8974)
kld_loss: 0.1217 (range: 0.1217 - 0.1217)
reconstruction_loss: 0.8974 (range: 0.8974 - 0.8974)
archetype_r2: 0.0581 (range: 0.0581 - 0.0581)
Archetype Transform Summary:
archetype_transform_mean: -0.001109 (range: -0.001109 - -0.001109)
archetype_transform_std: 0.095331 (range: 0.095331 - 0.095331)
archetype_transform_norm: 6.807802 (range: 6.807802 - 6.807802)
archetype_transform_grad_norm: 0.212233 (range: 0.212233 - 0.212233)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0175, max=0.8280, mean=0.2500
Batch reconstruction MSE: 1.2972
Archetype stats: min=-7.7678, max=5.9499
Archetype change since last debug: 2.605149
Archetype gradients: norm=0.049236, mean=0.002663
Epoch 1/1
Average loss: 0.8186
Archetypal loss: 0.8966
KLD loss: 0.1172
Reconstruction loss: 0.8966
Archetype R²: 0.0591
Archetype transform grad norm: 0.222702
Archetype transform param norm: 6.8862
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.8186 (range: 0.8186 - 0.8186)
archetypal_loss: 0.8966 (range: 0.8966 - 0.8966)
kld_loss: 0.1172 (range: 0.1172 - 0.1172)
reconstruction_loss: 0.8966 (range: 0.8966 - 0.8966)
archetype_r2: 0.0591 (range: 0.0591 - 0.0591)
Archetype Transform Summary:
archetype_transform_mean: -0.001219 (range: -0.001219 - -0.001219)
archetype_transform_std: 0.096428 (range: 0.096428 - 0.096428)
archetype_transform_norm: 6.886216 (range: 6.886216 - 6.886216)
archetype_transform_grad_norm: 0.222702 (range: 0.222702 - 0.222702)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0115, max=0.9316, mean=0.2500
Batch reconstruction MSE: 1.2680
Archetype stats: min=-8.7424, max=5.9956
Archetype change since last debug: 2.152822
Archetype gradients: norm=0.084895, mean=0.004319
Epoch 1/1
Average loss: 0.8172
Archetypal loss: 0.8950
KLD loss: 0.1167
Reconstruction loss: 0.8950
Archetype R²: 0.0608
Archetype transform grad norm: 0.223273
Archetype transform param norm: 6.9355
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.8172 (range: 0.8172 - 0.8172)
archetypal_loss: 0.8950 (range: 0.8950 - 0.8950)
kld_loss: 0.1167 (range: 0.1167 - 0.1167)
reconstruction_loss: 0.8950 (range: 0.8950 - 0.8950)
archetype_r2: 0.0608 (range: 0.0608 - 0.0608)
Archetype Transform Summary:
archetype_transform_mean: -0.001226 (range: -0.001226 - -0.001226)
archetype_transform_std: 0.097118 (range: 0.097118 - 0.097118)
archetype_transform_norm: 6.935467 (range: 6.935467 - 6.935467)
archetype_transform_grad_norm: 0.223273 (range: 0.223273 - 0.223273)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0137, max=0.8092, mean=0.2500
Batch reconstruction MSE: 1.3425
Archetype stats: min=-8.9288, max=6.0561
Archetype change since last debug: 1.610620
Archetype gradients: norm=0.071881, mean=0.004002
Epoch 1/1
Average loss: 0.8168
Archetypal loss: 0.8951
KLD loss: 0.1122
Reconstruction loss: 0.8951
Archetype R²: 0.0608
Archetype transform grad norm: 0.230554
Archetype transform param norm: 6.9820
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.8168 (range: 0.8168 - 0.8168)
archetypal_loss: 0.8951 (range: 0.8951 - 0.8951)
kld_loss: 0.1122 (range: 0.1122 - 0.1122)
reconstruction_loss: 0.8951 (range: 0.8951 - 0.8951)
archetype_r2: 0.0608 (range: 0.0608 - 0.0608)
Archetype Transform Summary:
archetype_transform_mean: -0.001290 (range: -0.001290 - -0.001290)
archetype_transform_std: 0.097768 (range: 0.097768 - 0.097768)
archetype_transform_norm: 6.981964 (range: 6.981964 - 6.981964)
archetype_transform_grad_norm: 0.230554 (range: 0.230554 - 0.230554)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0240, max=0.7698, mean=0.2500
Batch reconstruction MSE: 1.2722
Archetype stats: min=-9.1790, max=5.8194
Archetype change since last debug: 1.611687
Archetype gradients: norm=0.058658, mean=0.003518
Epoch 1/1
Average loss: 0.8134
Archetypal loss: 0.8921
KLD loss: 0.1047
Reconstruction loss: 0.8921
Archetype R²: 0.0638
Archetype transform grad norm: 0.221005
Archetype transform param norm: 7.0278
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.8134 (range: 0.8134 - 0.8134)
archetypal_loss: 0.8921 (range: 0.8921 - 0.8921)
kld_loss: 0.1047 (range: 0.1047 - 0.1047)
reconstruction_loss: 0.8921 (range: 0.8921 - 0.8921)
archetype_r2: 0.0638 (range: 0.0638 - 0.0638)
Archetype Transform Summary:
archetype_transform_mean: -0.001339 (range: -0.001339 - -0.001339)
archetype_transform_std: 0.098409 (range: 0.098409 - 0.098409)
archetype_transform_norm: 7.027768 (range: 7.027768 - 7.027768)
archetype_transform_grad_norm: 0.221005 (range: 0.221005 - 0.221005)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0309, max=0.5803, mean=0.2500
Batch reconstruction MSE: 1.1801
Archetype stats: min=-9.5009, max=6.0058
Archetype change since last debug: 1.324864
Archetype gradients: norm=0.063371, mean=0.003168
Epoch 1/1
Average loss: 0.8101
Archetypal loss: 0.8892
KLD loss: 0.0981
Reconstruction loss: 0.8892
Archetype R²: 0.0667
Archetype transform grad norm: 0.216638
Archetype transform param norm: 7.0941
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.8101 (range: 0.8101 - 0.8101)
archetypal_loss: 0.8892 (range: 0.8892 - 0.8892)
kld_loss: 0.0981 (range: 0.0981 - 0.0981)
reconstruction_loss: 0.8892 (range: 0.8892 - 0.8892)
archetype_r2: 0.0667 (range: 0.0667 - 0.0667)
Archetype Transform Summary:
archetype_transform_mean: -0.001318 (range: -0.001318 - -0.001318)
archetype_transform_std: 0.099339 (range: 0.099339 - 0.099339)
archetype_transform_norm: 7.094122 (range: 7.094122 - 7.094122)
archetype_transform_grad_norm: 0.216638 (range: 0.216638 - 0.216638)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0247, max=0.7969, mean=0.2500
Batch reconstruction MSE: 1.1815
Archetype stats: min=-10.2232, max=6.4672
Archetype change since last debug: 1.778977
Archetype gradients: norm=0.057122, mean=0.003413
Epoch 1/1
Average loss: 0.8102
Archetypal loss: 0.8892
KLD loss: 0.0989
Reconstruction loss: 0.8892
Archetype R²: 0.0666
Archetype transform grad norm: 0.228668
Archetype transform param norm: 7.1540
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.8102 (range: 0.8102 - 0.8102)
archetypal_loss: 0.8892 (range: 0.8892 - 0.8892)
kld_loss: 0.0989 (range: 0.0989 - 0.0989)
reconstruction_loss: 0.8892 (range: 0.8892 - 0.8892)
archetype_r2: 0.0666 (range: 0.0666 - 0.0666)
Archetype Transform Summary:
archetype_transform_mean: -0.001377 (range: -0.001377 - -0.001377)
archetype_transform_std: 0.100177 (range: 0.100177 - 0.100177)
archetype_transform_norm: 7.154034 (range: 7.154034 - 7.154034)
archetype_transform_grad_norm: 0.228668 (range: 0.228668 - 0.228668)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0356, max=0.6358, mean=0.2500
Batch reconstruction MSE: 1.3089
Archetype stats: min=-10.5550, max=6.6821
Archetype change since last debug: 1.344625
Archetype gradients: norm=0.163006, mean=0.007209
Epoch 1/1
Average loss: 0.8124
Archetypal loss: 0.8920
KLD loss: 0.0959
Reconstruction loss: 0.8920
Archetype R²: 0.0640
Archetype transform grad norm: 0.237240
Archetype transform param norm: 7.1602
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.8124 (range: 0.8124 - 0.8124)
archetypal_loss: 0.8920 (range: 0.8920 - 0.8920)
kld_loss: 0.0959 (range: 0.0959 - 0.0959)
reconstruction_loss: 0.8920 (range: 0.8920 - 0.8920)
archetype_r2: 0.0640 (range: 0.0640 - 0.0640)
Archetype Transform Summary:
archetype_transform_mean: -0.001271 (range: -0.001271 - -0.001271)
archetype_transform_std: 0.100264 (range: 0.100264 - 0.100264)
archetype_transform_norm: 7.160167 (range: 7.160167 - 7.160167)
archetype_transform_grad_norm: 0.237240 (range: 0.237240 - 0.237240)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0179, max=0.5637, mean=0.2500
Batch reconstruction MSE: 1.2908
Archetype stats: min=-10.8939, max=6.8490
Archetype change since last debug: 1.245731
Archetype gradients: norm=0.088213, mean=0.004745
Epoch 1/1
Average loss: 0.8118
Archetypal loss: 0.8912
KLD loss: 0.0978
Reconstruction loss: 0.8912
Archetype R²: 0.0648
Archetype transform grad norm: 0.241179
Archetype transform param norm: 7.1743
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.8118 (range: 0.8118 - 0.8118)
archetypal_loss: 0.8912 (range: 0.8912 - 0.8912)
kld_loss: 0.0978 (range: 0.0978 - 0.0978)
reconstruction_loss: 0.8912 (range: 0.8912 - 0.8912)
archetype_r2: 0.0648 (range: 0.0648 - 0.0648)
Archetype Transform Summary:
archetype_transform_mean: -0.001354 (range: -0.001354 - -0.001354)
archetype_transform_std: 0.100461 (range: 0.100461 - 0.100461)
archetype_transform_norm: 7.174266 (range: 7.174266 - 7.174266)
archetype_transform_grad_norm: 0.241179 (range: 0.241179 - 0.241179)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0285, max=0.7709, mean=0.2500
Batch reconstruction MSE: 1.1877
Archetype stats: min=-10.5914, max=6.6278
Archetype change since last debug: 1.072318
Archetype gradients: norm=0.070118, mean=0.003746
Epoch 1/1
Average loss: 0.8081
Archetypal loss: 0.8877
KLD loss: 0.0908
Reconstruction loss: 0.8877
Archetype R²: 0.0682
Archetype transform grad norm: 0.222897
Archetype transform param norm: 7.2028
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.8081 (range: 0.8081 - 0.8081)
archetypal_loss: 0.8877 (range: 0.8877 - 0.8877)
kld_loss: 0.0908 (range: 0.0908 - 0.0908)
reconstruction_loss: 0.8877 (range: 0.8877 - 0.8877)
archetype_r2: 0.0682 (range: 0.0682 - 0.0682)
Archetype Transform Summary:
archetype_transform_mean: -0.001307 (range: -0.001307 - -0.001307)
archetype_transform_std: 0.100861 (range: 0.100861 - 0.100861)
archetype_transform_norm: 7.202816 (range: 7.202816 - 7.202816)
archetype_transform_grad_norm: 0.222897 (range: 0.222897 - 0.222897)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0291, max=0.5235, mean=0.2500
Batch reconstruction MSE: 1.0892
Archetype stats: min=-11.0929, max=6.9518
Archetype change since last debug: 1.261474
Archetype gradients: norm=0.036069, mean=0.001578
Epoch 1/1
Average loss: 0.8054
Archetypal loss: 0.8851
KLD loss: 0.0881
Reconstruction loss: 0.8851
Archetype R²: 0.0708
Archetype transform grad norm: 0.217636
Archetype transform param norm: 7.2635
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.8054 (range: 0.8054 - 0.8054)
archetypal_loss: 0.8851 (range: 0.8851 - 0.8851)
kld_loss: 0.0881 (range: 0.0881 - 0.0881)
reconstruction_loss: 0.8851 (range: 0.8851 - 0.8851)
archetype_r2: 0.0708 (range: 0.0708 - 0.0708)
Archetype Transform Summary:
archetype_transform_mean: -0.001326 (range: -0.001326 - -0.001326)
archetype_transform_std: 0.101710 (range: 0.101710 - 0.101710)
archetype_transform_norm: 7.263472 (range: 7.263472 - 7.263472)
archetype_transform_grad_norm: 0.217636 (range: 0.217636 - 0.217636)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0339, max=0.5330, mean=0.2500
Batch reconstruction MSE: 1.1265
Archetype stats: min=-11.2997, max=7.0939
Archetype change since last debug: 1.567518
Archetype gradients: norm=0.046572, mean=0.002824
Epoch 1/1
Average loss: 0.8054
Archetypal loss: 0.8857
KLD loss: 0.0823
Reconstruction loss: 0.8857
Archetype R²: 0.0701
Archetype transform grad norm: 0.226618
Archetype transform param norm: 7.3146
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.8054 (range: 0.8054 - 0.8054)
archetypal_loss: 0.8857 (range: 0.8857 - 0.8857)
kld_loss: 0.0823 (range: 0.0823 - 0.0823)
reconstruction_loss: 0.8857 (range: 0.8857 - 0.8857)
archetype_r2: 0.0701 (range: 0.0701 - 0.0701)
Archetype Transform Summary:
archetype_transform_mean: -0.001330 (range: -0.001330 - -0.001330)
archetype_transform_std: 0.102426 (range: 0.102426 - 0.102426)
archetype_transform_norm: 7.314597 (range: 7.314597 - 7.314597)
archetype_transform_grad_norm: 0.226618 (range: 0.226618 - 0.226618)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0325, max=0.5165, mean=0.2500
Batch reconstruction MSE: 1.1144
Archetype stats: min=-11.8095, max=7.4108
Archetype change since last debug: 1.215792
Archetype gradients: norm=0.060929, mean=0.002743
Epoch 1/1
Average loss: 0.8056
Archetypal loss: 0.8858
KLD loss: 0.0844
Reconstruction loss: 0.8858
Archetype R²: 0.0701
Archetype transform grad norm: 0.233189
Archetype transform param norm: 7.3603
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.8056 (range: 0.8056 - 0.8056)
archetypal_loss: 0.8858 (range: 0.8858 - 0.8858)
kld_loss: 0.0844 (range: 0.0844 - 0.0844)
reconstruction_loss: 0.8858 (range: 0.8858 - 0.8858)
archetype_r2: 0.0701 (range: 0.0701 - 0.0701)
Archetype Transform Summary:
archetype_transform_mean: -0.001363 (range: -0.001363 - -0.001363)
archetype_transform_std: 0.103066 (range: 0.103066 - 0.103066)
archetype_transform_norm: 7.360306 (range: 7.360306 - 7.360306)
archetype_transform_grad_norm: 0.233189 (range: 0.233189 - 0.233189)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0302, max=0.5857, mean=0.2500
Batch reconstruction MSE: 1.3237
Archetype stats: min=-11.7487, max=7.3452
Archetype change since last debug: 1.326695
Archetype gradients: norm=0.081828, mean=0.004881
Epoch 1/1
Average loss: 0.8091
Archetypal loss: 0.8901
KLD loss: 0.0802
Reconstruction loss: 0.8901
Archetype R²: 0.0659
Archetype transform grad norm: 0.242080
Archetype transform param norm: 7.3580
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.8091 (range: 0.8091 - 0.8091)
archetypal_loss: 0.8901 (range: 0.8901 - 0.8901)
kld_loss: 0.0802 (range: 0.0802 - 0.0802)
reconstruction_loss: 0.8901 (range: 0.8901 - 0.8901)
archetype_r2: 0.0659 (range: 0.0659 - 0.0659)
Archetype Transform Summary:
archetype_transform_mean: -0.001375 (range: -0.001375 - -0.001375)
archetype_transform_std: 0.103034 (range: 0.103034 - 0.103034)
archetype_transform_norm: 7.358022 (range: 7.358022 - 7.358022)
archetype_transform_grad_norm: 0.242080 (range: 0.242080 - 0.242080)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0266, max=0.6019, mean=0.2500
Batch reconstruction MSE: 1.1532
Archetype stats: min=-11.8988, max=7.3933
Archetype change since last debug: 0.959694
Archetype gradients: norm=0.049760, mean=0.002531
Epoch 1/1
Average loss: 0.8056
Archetypal loss: 0.8858
KLD loss: 0.0843
Reconstruction loss: 0.8858
Archetype R²: 0.0701
Archetype transform grad norm: 0.219477
Archetype transform param norm: 7.3786
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.8056 (range: 0.8056 - 0.8056)
archetypal_loss: 0.8858 (range: 0.8858 - 0.8858)
kld_loss: 0.0843 (range: 0.0843 - 0.0843)
reconstruction_loss: 0.8858 (range: 0.8858 - 0.8858)
archetype_r2: 0.0701 (range: 0.0701 - 0.0701)
Archetype Transform Summary:
archetype_transform_mean: -0.001376 (range: -0.001376 - -0.001376)
archetype_transform_std: 0.103322 (range: 0.103322 - 0.103322)
archetype_transform_norm: 7.378571 (range: 7.378571 - 7.378571)
archetype_transform_grad_norm: 0.219477 (range: 0.219477 - 0.219477)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0259, max=0.5964, mean=0.2500
Batch reconstruction MSE: 1.2340
Archetype stats: min=-11.9271, max=7.5164
Archetype change since last debug: 1.019728
Archetype gradients: norm=0.035229, mean=0.001848
Epoch 1/1
Average loss: 0.8065
Archetypal loss: 0.8876
KLD loss: 0.0767
Reconstruction loss: 0.8876
Archetype R²: 0.0684
Archetype transform grad norm: 0.229356
Archetype transform param norm: 7.3966
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.8065 (range: 0.8065 - 0.8065)
archetypal_loss: 0.8876 (range: 0.8876 - 0.8876)
kld_loss: 0.0767 (range: 0.0767 - 0.0767)
reconstruction_loss: 0.8876 (range: 0.8876 - 0.8876)
archetype_r2: 0.0684 (range: 0.0684 - 0.0684)
Archetype Transform Summary:
archetype_transform_mean: -0.001399 (range: -0.001399 - -0.001399)
archetype_transform_std: 0.103574 (range: 0.103574 - 0.103574)
archetype_transform_norm: 7.396634 (range: 7.396634 - 7.396634)
archetype_transform_grad_norm: 0.229356 (range: 0.229356 - 0.229356)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0456, max=0.5778, mean=0.2500
Batch reconstruction MSE: 1.1080
Archetype stats: min=-12.2852, max=7.6545
Archetype change since last debug: 0.790145
Archetype gradients: norm=0.033898, mean=0.001908
Epoch 1/1
Average loss: 0.8051
Archetypal loss: 0.8848
KLD loss: 0.0878
Reconstruction loss: 0.8848
Archetype R²: 0.0711
Archetype transform grad norm: 0.224469
Archetype transform param norm: 7.4244
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.8051 (range: 0.8051 - 0.8051)
archetypal_loss: 0.8848 (range: 0.8848 - 0.8848)
kld_loss: 0.0878 (range: 0.0878 - 0.0878)
reconstruction_loss: 0.8848 (range: 0.8848 - 0.8848)
archetype_r2: 0.0711 (range: 0.0711 - 0.0711)
Archetype Transform Summary:
archetype_transform_mean: -0.001379 (range: -0.001379 - -0.001379)
archetype_transform_std: 0.103963 (range: 0.103963 - 0.103963)
archetype_transform_norm: 7.424386 (range: 7.424386 - 7.424386)
archetype_transform_grad_norm: 0.224469 (range: 0.224469 - 0.224469)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0317, max=0.5021, mean=0.2500
Batch reconstruction MSE: 1.2786
Archetype stats: min=-12.4927, max=7.8961
Archetype change since last debug: 0.990768
Archetype gradients: norm=0.060209, mean=0.003092
Epoch 1/1
Average loss: 0.8064
Archetypal loss: 0.8881
KLD loss: 0.0706
Reconstruction loss: 0.8881
Archetype R²: 0.0679
Archetype transform grad norm: 0.226211
Archetype transform param norm: 7.4264
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.8064 (range: 0.8064 - 0.8064)
archetypal_loss: 0.8881 (range: 0.8881 - 0.8881)
kld_loss: 0.0706 (range: 0.0706 - 0.0706)
reconstruction_loss: 0.8881 (range: 0.8881 - 0.8881)
archetype_r2: 0.0679 (range: 0.0679 - 0.0679)
Archetype Transform Summary:
archetype_transform_mean: -0.001373 (range: -0.001373 - -0.001373)
archetype_transform_std: 0.103991 (range: 0.103991 - 0.103991)
archetype_transform_norm: 7.426386 (range: 7.426386 - 7.426386)
archetype_transform_grad_norm: 0.226211 (range: 0.226211 - 0.226211)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0379, max=0.5359, mean=0.2500
Batch reconstruction MSE: 1.0753
Archetype stats: min=-12.6154, max=7.9336
Archetype change since last debug: 0.564344
Archetype gradients: norm=0.014591, mean=0.000878
Epoch 1/1
Average loss: 0.8040
Archetypal loss: 0.8836
KLD loss: 0.0871
Reconstruction loss: 0.8836
Archetype R²: 0.0722
Archetype transform grad norm: 0.221905
Archetype transform param norm: 7.4647
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.8040 (range: 0.8040 - 0.8040)
archetypal_loss: 0.8836 (range: 0.8836 - 0.8836)
kld_loss: 0.0871 (range: 0.0871 - 0.0871)
reconstruction_loss: 0.8836 (range: 0.8836 - 0.8836)
archetype_r2: 0.0722 (range: 0.0722 - 0.0722)
Archetype Transform Summary:
archetype_transform_mean: -0.001394 (range: -0.001394 - -0.001394)
archetype_transform_std: 0.104528 (range: 0.104528 - 0.104528)
archetype_transform_norm: 7.464724 (range: 7.464724 - 7.464724)
archetype_transform_grad_norm: 0.221905 (range: 0.221905 - 0.221905)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0382, max=0.6466, mean=0.2500
Batch reconstruction MSE: 1.2760
Archetype stats: min=-12.9504, max=8.2506
Archetype change since last debug: 1.127561
Archetype gradients: norm=0.081083, mean=0.003567
Epoch 1/1
Average loss: 0.8058
Archetypal loss: 0.8878
KLD loss: 0.0678
Reconstruction loss: 0.8878
Archetype R²: 0.0682
Archetype transform grad norm: 0.223999
Archetype transform param norm: 7.4582
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.8058 (range: 0.8058 - 0.8058)
archetypal_loss: 0.8878 (range: 0.8878 - 0.8878)
kld_loss: 0.0678 (range: 0.0678 - 0.0678)
reconstruction_loss: 0.8878 (range: 0.8878 - 0.8878)
archetype_r2: 0.0682 (range: 0.0682 - 0.0682)
Archetype Transform Summary:
archetype_transform_mean: -0.001358 (range: -0.001358 - -0.001358)
archetype_transform_std: 0.104438 (range: 0.104438 - 0.104438)
archetype_transform_norm: 7.458241 (range: 7.458241 - 7.458241)
archetype_transform_grad_norm: 0.223999 (range: 0.223999 - 0.223999)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0493, max=0.4723, mean=0.2500
Batch reconstruction MSE: 1.0845
Archetype stats: min=-12.9903, max=8.1480
Archetype change since last debug: 0.573874
Archetype gradients: norm=0.036561, mean=0.001978
Epoch 1/1
Average loss: 0.8041
Archetypal loss: 0.8837
KLD loss: 0.0877
Reconstruction loss: 0.8837
Archetype R²: 0.0722
Archetype transform grad norm: 0.232375
Archetype transform param norm: 7.4962
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.8041 (range: 0.8041 - 0.8041)
archetypal_loss: 0.8837 (range: 0.8837 - 0.8837)
kld_loss: 0.0877 (range: 0.0877 - 0.0877)
reconstruction_loss: 0.8837 (range: 0.8837 - 0.8837)
archetype_r2: 0.0722 (range: 0.0722 - 0.0722)
Archetype Transform Summary:
archetype_transform_mean: -0.001390 (range: -0.001390 - -0.001390)
archetype_transform_std: 0.104969 (range: 0.104969 - 0.104969)
archetype_transform_norm: 7.496216 (range: 7.496216 - 7.496216)
archetype_transform_grad_norm: 0.232375 (range: 0.232375 - 0.232375)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0381, max=0.5693, mean=0.2500
Batch reconstruction MSE: 1.2536
Archetype stats: min=-13.2849, max=8.4183
Archetype change since last debug: 1.140876
Archetype gradients: norm=0.112956, mean=0.004855
Epoch 1/1
Average loss: 0.8055
Archetypal loss: 0.8873
KLD loss: 0.0686
Reconstruction loss: 0.8873
Archetype R²: 0.0687
Archetype transform grad norm: 0.234288
Archetype transform param norm: 7.4853
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.8055 (range: 0.8055 - 0.8055)
archetypal_loss: 0.8873 (range: 0.8873 - 0.8873)
kld_loss: 0.0686 (range: 0.0686 - 0.0686)
reconstruction_loss: 0.8873 (range: 0.8873 - 0.8873)
archetype_r2: 0.0687 (range: 0.0687 - 0.0687)
Archetype Transform Summary:
archetype_transform_mean: -0.001324 (range: -0.001324 - -0.001324)
archetype_transform_std: 0.104817 (range: 0.104817 - 0.104817)
archetype_transform_norm: 7.485283 (range: 7.485283 - 7.485283)
archetype_transform_grad_norm: 0.234288 (range: 0.234288 - 0.234288)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0444, max=0.5034, mean=0.2500
Batch reconstruction MSE: 1.1240
Archetype stats: min=-13.3052, max=8.2155
Archetype change since last debug: 0.692906
Archetype gradients: norm=0.065648, mean=0.003316
Epoch 1/1
Average loss: 0.8047
Archetypal loss: 0.8851
KLD loss: 0.0812
Reconstruction loss: 0.8851
Archetype R²: 0.0707
Archetype transform grad norm: 0.252740
Archetype transform param norm: 7.5140
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.8047 (range: 0.8047 - 0.8047)
archetypal_loss: 0.8851 (range: 0.8851 - 0.8851)
kld_loss: 0.0812 (range: 0.0812 - 0.0812)
reconstruction_loss: 0.8851 (range: 0.8851 - 0.8851)
archetype_r2: 0.0707 (range: 0.0707 - 0.0707)
Archetype Transform Summary:
archetype_transform_mean: -0.001383 (range: -0.001383 - -0.001383)
archetype_transform_std: 0.105219 (range: 0.105219 - 0.105219)
archetype_transform_norm: 7.514044 (range: 7.514044 - 7.514044)
archetype_transform_grad_norm: 0.252740 (range: 0.252740 - 0.252740)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0483, max=0.5388, mean=0.2500
Batch reconstruction MSE: 1.2984
Archetype stats: min=-13.5976, max=8.4890
Archetype change since last debug: 1.148072
Archetype gradients: norm=0.108494, mean=0.005458
Epoch 1/1
Average loss: 0.8075
Archetypal loss: 0.8888
KLD loss: 0.0754
Reconstruction loss: 0.8888
Archetype R²: 0.0672
Archetype transform grad norm: 0.253315
Archetype transform param norm: 7.4929
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.8075 (range: 0.8075 - 0.8075)
archetypal_loss: 0.8888 (range: 0.8888 - 0.8888)
kld_loss: 0.0754 (range: 0.0754 - 0.0754)
reconstruction_loss: 0.8888 (range: 0.8888 - 0.8888)
archetype_r2: 0.0672 (range: 0.0672 - 0.0672)
Archetype Transform Summary:
archetype_transform_mean: -0.001315 (range: -0.001315 - -0.001315)
archetype_transform_std: 0.104923 (range: 0.104923 - 0.104923)
archetype_transform_norm: 7.492875 (range: 7.492875 - 7.492875)
archetype_transform_grad_norm: 0.253315 (range: 0.253315 - 0.253315)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0483, max=0.4911, mean=0.2500
Batch reconstruction MSE: 1.1724
Archetype stats: min=-13.7740, max=8.3849
Archetype change since last debug: 1.190011
Archetype gradients: norm=0.068095, mean=0.003782
Epoch 1/1
Average loss: 0.8048
Archetypal loss: 0.8857
KLD loss: 0.0771
Reconstruction loss: 0.8857
Archetype R²: 0.0702
Archetype transform grad norm: 0.242154
Archetype transform param norm: 7.5053
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.8048 (range: 0.8048 - 0.8048)
archetypal_loss: 0.8857 (range: 0.8857 - 0.8857)
kld_loss: 0.0771 (range: 0.0771 - 0.0771)
reconstruction_loss: 0.8857 (range: 0.8857 - 0.8857)
archetype_r2: 0.0702 (range: 0.0702 - 0.0702)
Archetype Transform Summary:
archetype_transform_mean: -0.001366 (range: -0.001366 - -0.001366)
archetype_transform_std: 0.105097 (range: 0.105097 - 0.105097)
archetype_transform_norm: 7.505350 (range: 7.505350 - 7.505350)
archetype_transform_grad_norm: 0.242154 (range: 0.242154 - 0.242154)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0399, max=0.5157, mean=0.2500
Batch reconstruction MSE: 1.3032
Archetype stats: min=-13.4998, max=8.6336
Archetype change since last debug: 1.005247
Archetype gradients: norm=0.113434, mean=0.006247
Epoch 1/1
Average loss: 0.8078
Archetypal loss: 0.8889
KLD loss: 0.0775
Reconstruction loss: 0.8889
Archetype R²: 0.0671
Archetype transform grad norm: 0.250560
Archetype transform param norm: 7.4945
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.8078 (range: 0.8078 - 0.8078)
archetypal_loss: 0.8889 (range: 0.8889 - 0.8889)
kld_loss: 0.0775 (range: 0.0775 - 0.0775)
reconstruction_loss: 0.8889 (range: 0.8889 - 0.8889)
archetype_r2: 0.0671 (range: 0.0671 - 0.0671)
Archetype Transform Summary:
archetype_transform_mean: -0.001343 (range: -0.001343 - -0.001343)
archetype_transform_std: 0.104946 (range: 0.104946 - 0.104946)
archetype_transform_norm: 7.494502 (range: 7.494502 - 7.494502)
archetype_transform_grad_norm: 0.250560 (range: 0.250560 - 0.250560)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0448, max=0.5599, mean=0.2500
Batch reconstruction MSE: 1.2665
Archetype stats: min=-13.6884, max=8.3915
Archetype change since last debug: 1.498981
Archetype gradients: norm=0.081089, mean=0.004067
Epoch 1/1
Average loss: 0.8063
Archetypal loss: 0.8877
KLD loss: 0.0739
Reconstruction loss: 0.8877
Archetype R²: 0.0683
Archetype transform grad norm: 0.247587
Archetype transform param norm: 7.4874
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.8063 (range: 0.8063 - 0.8063)
archetypal_loss: 0.8877 (range: 0.8877 - 0.8877)
kld_loss: 0.0739 (range: 0.0739 - 0.0739)
reconstruction_loss: 0.8877 (range: 0.8877 - 0.8877)
archetype_r2: 0.0683 (range: 0.0683 - 0.0683)
Archetype Transform Summary:
archetype_transform_mean: -0.001409 (range: -0.001409 - -0.001409)
archetype_transform_std: 0.104846 (range: 0.104846 - 0.104846)
archetype_transform_norm: 7.487442 (range: 7.487442 - 7.487442)
archetype_transform_grad_norm: 0.247587 (range: 0.247587 - 0.247587)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0452, max=0.5081, mean=0.2500
Batch reconstruction MSE: 1.1567
Archetype stats: min=-12.8689, max=8.5787
Archetype change since last debug: 1.464192
Archetype gradients: norm=0.083811, mean=0.004273
Epoch 1/1
Average loss: 0.8037
Archetypal loss: 0.8845
KLD loss: 0.0766
Reconstruction loss: 0.8845
Archetype R²: 0.0714
Archetype transform grad norm: 0.225198
Archetype transform param norm: 7.4995
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.8037 (range: 0.8037 - 0.8037)
archetypal_loss: 0.8845 (range: 0.8845 - 0.8845)
kld_loss: 0.0766 (range: 0.0766 - 0.0766)
reconstruction_loss: 0.8845 (range: 0.8845 - 0.8845)
archetype_r2: 0.0714 (range: 0.0714 - 0.0714)
Archetype Transform Summary:
archetype_transform_mean: -0.001385 (range: -0.001385 - -0.001385)
archetype_transform_std: 0.105015 (range: 0.105015 - 0.105015)
archetype_transform_norm: 7.499518 (range: 7.499518 - 7.499518)
archetype_transform_grad_norm: 0.225198 (range: 0.225198 - 0.225198)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0483, max=0.5074, mean=0.2500
Batch reconstruction MSE: 1.1456
Archetype stats: min=-13.3395, max=8.5477
Archetype change since last debug: 1.004244
Archetype gradients: norm=0.057959, mean=0.002973
Epoch 1/1
Average loss: 0.8028
Archetypal loss: 0.8841
KLD loss: 0.0711
Reconstruction loss: 0.8841
Archetype R²: 0.0717
Archetype transform grad norm: 0.229112
Archetype transform param norm: 7.5277
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.8028 (range: 0.8028 - 0.8028)
archetypal_loss: 0.8841 (range: 0.8841 - 0.8841)
kld_loss: 0.0711 (range: 0.0711 - 0.0711)
reconstruction_loss: 0.8841 (range: 0.8841 - 0.8841)
archetype_r2: 0.0717 (range: 0.0717 - 0.0717)
Archetype Transform Summary:
archetype_transform_mean: -0.001429 (range: -0.001429 - -0.001429)
archetype_transform_std: 0.105410 (range: 0.105410 - 0.105410)
archetype_transform_norm: 7.527703 (range: 7.527703 - 7.527703)
archetype_transform_grad_norm: 0.229112 (range: 0.229112 - 0.229112)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0484, max=0.4678, mean=0.2500
Batch reconstruction MSE: 1.0806
Archetype stats: min=-13.1566, max=8.7658
Archetype change since last debug: 0.938982
Archetype gradients: norm=0.057077, mean=0.002965
Epoch 1/1
Average loss: 0.8015
Archetypal loss: 0.8825
KLD loss: 0.0726
Reconstruction loss: 0.8825
Archetype R²: 0.0733
Archetype transform grad norm: 0.225999
Archetype transform param norm: 7.5599
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.8015 (range: 0.8015 - 0.8015)
archetypal_loss: 0.8825 (range: 0.8825 - 0.8825)
kld_loss: 0.0726 (range: 0.0726 - 0.0726)
reconstruction_loss: 0.8825 (range: 0.8825 - 0.8825)
archetype_r2: 0.0733 (range: 0.0733 - 0.0733)
Archetype Transform Summary:
archetype_transform_mean: -0.001393 (range: -0.001393 - -0.001393)
archetype_transform_std: 0.105861 (range: 0.105861 - 0.105861)
archetype_transform_norm: 7.559891 (range: 7.559891 - 7.559891)
archetype_transform_grad_norm: 0.225999 (range: 0.225999 - 0.225999)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0604, max=0.5098, mean=0.2500
Batch reconstruction MSE: 1.1037
Archetype stats: min=-13.7219, max=8.8425
Archetype change since last debug: 1.274739
Archetype gradients: norm=0.045631, mean=0.002435
Epoch 1/1
Average loss: 0.8014
Archetypal loss: 0.8830
KLD loss: 0.0672
Reconstruction loss: 0.8830
Archetype R²: 0.0729
Archetype transform grad norm: 0.231021
Archetype transform param norm: 7.5936
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.8014 (range: 0.8014 - 0.8014)
archetypal_loss: 0.8830 (range: 0.8830 - 0.8830)
kld_loss: 0.0672 (range: 0.0672 - 0.0672)
reconstruction_loss: 0.8830 (range: 0.8830 - 0.8830)
archetype_r2: 0.0729 (range: 0.0729 - 0.0729)
Archetype Transform Summary:
archetype_transform_mean: -0.001424 (range: -0.001424 - -0.001424)
archetype_transform_std: 0.106332 (range: 0.106332 - 0.106332)
archetype_transform_norm: 7.593572 (range: 7.593572 - 7.593572)
archetype_transform_grad_norm: 0.231021 (range: 0.231021 - 0.231021)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0653, max=0.4588, mean=0.2500
Batch reconstruction MSE: 1.0858
Archetype stats: min=-13.6735, max=9.0586
Archetype change since last debug: 0.884912
Archetype gradients: norm=0.065006, mean=0.003300
Epoch 1/1
Average loss: 0.8015
Archetypal loss: 0.8825
KLD loss: 0.0718
Reconstruction loss: 0.8825
Archetype R²: 0.0732
Archetype transform grad norm: 0.232879
Archetype transform param norm: 7.6200
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.8015 (range: 0.8015 - 0.8015)
archetypal_loss: 0.8825 (range: 0.8825 - 0.8825)
kld_loss: 0.0718 (range: 0.0718 - 0.0718)
reconstruction_loss: 0.8825 (range: 0.8825 - 0.8825)
archetype_r2: 0.0732 (range: 0.0732 - 0.0732)
Archetype Transform Summary:
archetype_transform_mean: -0.001386 (range: -0.001386 - -0.001386)
archetype_transform_std: 0.106703 (range: 0.106703 - 0.106703)
archetype_transform_norm: 7.620003 (range: 7.620003 - 7.620003)
archetype_transform_grad_norm: 0.232879 (range: 0.232879 - 0.232879)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0517, max=0.5564, mean=0.2500
Batch reconstruction MSE: 1.2148
Archetype stats: min=-14.1601, max=9.0913
Archetype change since last debug: 1.110940
Archetype gradients: norm=0.055552, mean=0.002613
Epoch 1/1
Average loss: 0.8031
Archetypal loss: 0.8854
KLD loss: 0.0626
Reconstruction loss: 0.8854
Archetype R²: 0.0705
Archetype transform grad norm: 0.237772
Archetype transform param norm: 7.6248
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.8031 (range: 0.8031 - 0.8031)
archetypal_loss: 0.8854 (range: 0.8854 - 0.8854)
kld_loss: 0.0626 (range: 0.0626 - 0.0626)
reconstruction_loss: 0.8854 (range: 0.8854 - 0.8854)
archetype_r2: 0.0705 (range: 0.0705 - 0.0705)
Archetype Transform Summary:
archetype_transform_mean: -0.001431 (range: -0.001431 - -0.001431)
archetype_transform_std: 0.106769 (range: 0.106769 - 0.106769)
archetype_transform_norm: 7.624781 (range: 7.624781 - 7.624781)
archetype_transform_grad_norm: 0.237772 (range: 0.237772 - 0.237772)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0552, max=0.5287, mean=0.2500
Batch reconstruction MSE: 1.0992
Archetype stats: min=-13.7927, max=9.1397
Archetype change since last debug: 0.749470
Archetype gradients: norm=0.038295, mean=0.002306
Epoch 1/1
Average loss: 0.8021
Archetypal loss: 0.8826
KLD loss: 0.0773
Reconstruction loss: 0.8826
Archetype R²: 0.0732
Archetype transform grad norm: 0.229699
Archetype transform param norm: 7.6394
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.8021 (range: 0.8021 - 0.8021)
archetypal_loss: 0.8826 (range: 0.8826 - 0.8826)
kld_loss: 0.0773 (range: 0.0773 - 0.0773)
reconstruction_loss: 0.8826 (range: 0.8826 - 0.8826)
archetype_r2: 0.0732 (range: 0.0732 - 0.0732)
Archetype Transform Summary:
archetype_transform_mean: -0.001400 (range: -0.001400 - -0.001400)
archetype_transform_std: 0.106975 (range: 0.106975 - 0.106975)
archetype_transform_norm: 7.639428 (range: 7.639428 - 7.639428)
archetype_transform_grad_norm: 0.229699 (range: 0.229699 - 0.229699)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0529, max=0.5731, mean=0.2500
Batch reconstruction MSE: 1.2577
Archetype stats: min=-14.2416, max=9.2408
Archetype change since last debug: 0.890302
Archetype gradients: norm=0.050936, mean=0.002613
Epoch 1/1
Average loss: 0.8032
Archetypal loss: 0.8859
KLD loss: 0.0594
Reconstruction loss: 0.8859
Archetype R²: 0.0700
Archetype transform grad norm: 0.226301
Archetype transform param norm: 7.6294
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.8032 (range: 0.8032 - 0.8032)
archetypal_loss: 0.8859 (range: 0.8859 - 0.8859)
kld_loss: 0.0594 (range: 0.0594 - 0.0594)
reconstruction_loss: 0.8859 (range: 0.8859 - 0.8859)
archetype_r2: 0.0700 (range: 0.0700 - 0.0700)
Archetype Transform Summary:
archetype_transform_mean: -0.001404 (range: -0.001404 - -0.001404)
archetype_transform_std: 0.106834 (range: 0.106834 - 0.106834)
archetype_transform_norm: 7.629373 (range: 7.629373 - 7.629373)
archetype_transform_grad_norm: 0.226301 (range: 0.226301 - 0.226301)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0847, max=0.4623, mean=0.2500
Batch reconstruction MSE: 1.0750
Archetype stats: min=-14.0249, max=9.2526
Archetype change since last debug: 0.720636
Archetype gradients: norm=0.013016, mean=0.000729
Epoch 1/1
Average loss: 0.8014
Archetypal loss: 0.8820
KLD loss: 0.0764
Reconstruction loss: 0.8820
Archetype R²: 0.0738
Archetype transform grad norm: 0.222340
Archetype transform param norm: 7.6545
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.8014 (range: 0.8014 - 0.8014)
archetypal_loss: 0.8820 (range: 0.8820 - 0.8820)
kld_loss: 0.0764 (range: 0.0764 - 0.0764)
reconstruction_loss: 0.8820 (range: 0.8820 - 0.8820)
archetype_r2: 0.0738 (range: 0.0738 - 0.0738)
Archetype Transform Summary:
archetype_transform_mean: -0.001413 (range: -0.001413 - -0.001413)
archetype_transform_std: 0.107185 (range: 0.107185 - 0.107185)
archetype_transform_norm: 7.654488 (range: 7.654488 - 7.654488)
archetype_transform_grad_norm: 0.222340 (range: 0.222340 - 0.222340)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0547, max=0.5165, mean=0.2500
Batch reconstruction MSE: 1.1996
Archetype stats: min=-14.3174, max=9.4568
Archetype change since last debug: 0.940273
Archetype gradients: norm=0.052592, mean=0.002585
Epoch 1/1
Average loss: 0.8022
Archetypal loss: 0.8846
KLD loss: 0.0607
Reconstruction loss: 0.8846
Archetype R²: 0.0712
Archetype transform grad norm: 0.229353
Archetype transform param norm: 7.6535
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.8022 (range: 0.8022 - 0.8022)
archetypal_loss: 0.8846 (range: 0.8846 - 0.8846)
kld_loss: 0.0607 (range: 0.0607 - 0.0607)
reconstruction_loss: 0.8846 (range: 0.8846 - 0.8846)
archetype_r2: 0.0712 (range: 0.0712 - 0.0712)
Archetype Transform Summary:
archetype_transform_mean: -0.001404 (range: -0.001404 - -0.001404)
archetype_transform_std: 0.107171 (range: 0.107171 - 0.107171)
archetype_transform_norm: 7.653479 (range: 7.653479 - 7.653479)
archetype_transform_grad_norm: 0.229353 (range: 0.229353 - 0.229353)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0730, max=0.4073, mean=0.2500
Batch reconstruction MSE: 1.0676
Archetype stats: min=-14.3768, max=9.3856
Archetype change since last debug: 0.453226
Archetype gradients: norm=0.027135, mean=0.001536
Epoch 1/1
Average loss: 0.8009
Archetypal loss: 0.8817
KLD loss: 0.0738
Reconstruction loss: 0.8817
Archetype R²: 0.0740
Archetype transform grad norm: 0.229080
Archetype transform param norm: 7.6846
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.8009 (range: 0.8009 - 0.8009)
archetypal_loss: 0.8817 (range: 0.8817 - 0.8817)
kld_loss: 0.0738 (range: 0.0738 - 0.0738)
reconstruction_loss: 0.8817 (range: 0.8817 - 0.8817)
archetype_r2: 0.0740 (range: 0.0740 - 0.0740)
Archetype Transform Summary:
archetype_transform_mean: -0.001428 (range: -0.001428 - -0.001428)
archetype_transform_std: 0.107607 (range: 0.107607 - 0.107607)
archetype_transform_norm: 7.684629 (range: 7.684629 - 7.684629)
archetype_transform_grad_norm: 0.229080 (range: 0.229080 - 0.229080)
Fold 2/3
Model input_dim: 50 (auto-detected from data)
Archetypes parameter registered: True
Archetypes requires_grad: True
Deep_AA (Deep Archetypal Analysis) initialized:
- Single-stage architecture (like Deep_2)
- Inflation factor: 1.5
- Direct archetypal coordinates (no bottleneck)
Consolidated Archetype Initialization
PCHA: True, Inflation: True (factor: 1.5)
Test inflation: False
Running PCHA initialization...
Input shape: (128, 50)
Target archetypes: 4
Running PCHA with 4 archetypes...
Data shape for PCHA: (50, 128)
PCHA Results:
Archetypes shape: (4, 50)
Archetype R²: 0.1869
SSE: 4226.5949
PCHA archetype R²: 0.1869
Archetype shape: (4, 50)
[OK] Initialized 4 archetypes using PCHA
Scalar Archetypal Inflation (factor: 1.50)
[OK] Inflation complete
[STATS] Positioning verification:
Data radius (max): 20.373
Data radius (mean): 5.897
Archetype distances: 3.518 to 27.504
Archetypes outside data: 1/4
Min archetype separation: 6.710
[OK] Archetype initialization complete (success: True)
[OK] Archetype initialization complete (PCHA: True, Inflation: 1.5)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0055, max=0.8857, mean=0.2500
Batch reconstruction MSE: 0.9205
Archetype stats: min=-2.2933, max=1.9517
Archetype gradients: norm=0.010639, mean=0.000569
Epoch 1/1
Average loss: 0.8602
Archetypal loss: 0.9533
KLD loss: 0.0223
Reconstruction loss: 0.9533
Archetype R²: -0.0147
Archetype transform grad norm: 0.165497
Archetype transform param norm: 5.7786
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.8602 (range: 0.8602 - 0.8602)
archetypal_loss: 0.9533 (range: 0.9533 - 0.9533)
kld_loss: 0.0223 (range: 0.0223 - 0.0223)
reconstruction_loss: 0.9533 (range: 0.9533 - 0.9533)
archetype_r2: -0.0147 (range: -0.0147 - -0.0147)
Archetype Transform Summary:
archetype_transform_mean: -0.001188 (range: -0.001188 - -0.001188)
archetype_transform_std: 0.080916 (range: 0.080916 - 0.080916)
archetype_transform_norm: 5.778635 (range: 5.778635 - 5.778635)
archetype_transform_grad_norm: 0.165497 (range: 0.165497 - 0.165497)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0050, max=0.9223, mean=0.2500
Batch reconstruction MSE: 0.8579
Archetype stats: min=-0.6340, max=0.7985
Archetype change since last debug: 5.556466
Archetype gradients: norm=0.003430, mean=0.000192
Epoch 1/1
Average loss: 0.8497
Archetypal loss: 0.9398
KLD loss: 0.0389
Reconstruction loss: 0.9398
Archetype R²: -0.0000
Archetype transform grad norm: 0.129067
Archetype transform param norm: 5.8050
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.8497 (range: 0.8497 - 0.8497)
archetypal_loss: 0.9398 (range: 0.9398 - 0.9398)
kld_loss: 0.0389 (range: 0.0389 - 0.0389)
reconstruction_loss: 0.9398 (range: 0.9398 - 0.9398)
archetype_r2: -0.0000 (range: -0.0000 - -0.0000)
Archetype Transform Summary:
archetype_transform_mean: -0.001194 (range: -0.001194 - -0.001194)
archetype_transform_std: 0.081285 (range: 0.081285 - 0.081285)
archetype_transform_norm: 5.804976 (range: 5.804976 - 5.804976)
archetype_transform_grad_norm: 0.129067 (range: 0.129067 - 0.129067)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0056, max=0.8814, mean=0.2500
Batch reconstruction MSE: 0.8674
Archetype stats: min=-1.4700, max=1.6229
Archetype change since last debug: 3.158877
Archetype gradients: norm=0.004792, mean=0.000273
Epoch 1/1
Average loss: 0.8385
Archetypal loss: 0.9228
KLD loss: 0.0800
Reconstruction loss: 0.9228
Archetype R²: 0.0181
Archetype transform grad norm: 0.161820
Archetype transform param norm: 5.9743
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.8385 (range: 0.8385 - 0.8385)
archetypal_loss: 0.9228 (range: 0.9228 - 0.9228)
kld_loss: 0.0800 (range: 0.0800 - 0.0800)
reconstruction_loss: 0.9228 (range: 0.9228 - 0.9228)
archetype_r2: 0.0181 (range: 0.0181 - 0.0181)
Archetype Transform Summary:
archetype_transform_mean: -0.000416 (range: -0.000416 - -0.000416)
archetype_transform_std: 0.083664 (range: 0.083664 - 0.083664)
archetype_transform_norm: 5.974285 (range: 5.974285 - 5.974285)
archetype_transform_grad_norm: 0.161820 (range: 0.161820 - 0.161820)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0074, max=0.7985, mean=0.2500
Batch reconstruction MSE: 0.9224
Archetype stats: min=-3.0990, max=3.4252
Archetype change since last debug: 7.314744
Archetype gradients: norm=0.015307, mean=0.000815
Epoch 1/1
Average loss: 0.8278
Archetypal loss: 0.9106
KLD loss: 0.0825
Reconstruction loss: 0.9106
Archetype R²: 0.0310
Archetype transform grad norm: 0.187433
Archetype transform param norm: 6.2188
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.8278 (range: 0.8278 - 0.8278)
archetypal_loss: 0.9106 (range: 0.9106 - 0.9106)
kld_loss: 0.0825 (range: 0.0825 - 0.0825)
reconstruction_loss: 0.9106 (range: 0.9106 - 0.9106)
archetype_r2: 0.0310 (range: 0.0310 - 0.0310)
Archetype Transform Summary:
archetype_transform_mean: 0.000158 (range: 0.000158 - 0.000158)
archetype_transform_std: 0.087089 (range: 0.087089 - 0.087089)
archetype_transform_norm: 6.218829 (range: 6.218829 - 6.218829)
archetype_transform_grad_norm: 0.187433 (range: 0.187433 - 0.187433)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0060, max=0.8679, mean=0.2500
Batch reconstruction MSE: 0.9170
Archetype stats: min=-5.0640, max=4.2806
Archetype change since last debug: 5.844000
Archetype gradients: norm=0.017692, mean=0.000963
Epoch 1/1
Average loss: 0.8214
Archetypal loss: 0.9037
KLD loss: 0.0805
Reconstruction loss: 0.9037
Archetype R²: 0.0384
Archetype transform grad norm: 0.204073
Archetype transform param norm: 6.4115
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.8214 (range: 0.8214 - 0.8214)
archetypal_loss: 0.9037 (range: 0.9037 - 0.9037)
kld_loss: 0.0805 (range: 0.0805 - 0.0805)
reconstruction_loss: 0.9037 (range: 0.9037 - 0.9037)
archetype_r2: 0.0384 (range: 0.0384 - 0.0384)
Archetype Transform Summary:
archetype_transform_mean: 0.000342 (range: 0.000342 - 0.000342)
archetype_transform_std: 0.089787 (range: 0.089787 - 0.089787)
archetype_transform_norm: 6.411497 (range: 6.411497 - 6.411497)
archetype_transform_grad_norm: 0.204073 (range: 0.204073 - 0.204073)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0057, max=0.8787, mean=0.2500
Batch reconstruction MSE: 0.9442
Archetype stats: min=-6.9380, max=4.7037
Archetype change since last debug: 4.538123
Archetype gradients: norm=0.017463, mean=0.000941
Epoch 1/1
Average loss: 0.8164
Archetypal loss: 0.8973
KLD loss: 0.0880
Reconstruction loss: 0.8973
Archetype R²: 0.0452
Archetype transform grad norm: 0.217319
Archetype transform param norm: 6.5768
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.8164 (range: 0.8164 - 0.8164)
archetypal_loss: 0.8973 (range: 0.8973 - 0.8973)
kld_loss: 0.0880 (range: 0.0880 - 0.0880)
reconstruction_loss: 0.8973 (range: 0.8973 - 0.8973)
archetype_r2: 0.0452 (range: 0.0452 - 0.0452)
Archetype Transform Summary:
archetype_transform_mean: 0.000348 (range: 0.000348 - 0.000348)
archetype_transform_std: 0.092102 (range: 0.092102 - 0.092102)
archetype_transform_norm: 6.576823 (range: 6.576823 - 6.576823)
archetype_transform_grad_norm: 0.217319 (range: 0.217319 - 0.217319)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0069, max=0.9275, mean=0.2500
Batch reconstruction MSE: 0.9680
Archetype stats: min=-8.3328, max=5.7719
Archetype change since last debug: 4.081818
Archetype gradients: norm=0.036024, mean=0.001935
Epoch 1/1
Average loss: 0.8116
Archetypal loss: 0.8905
KLD loss: 0.1018
Reconstruction loss: 0.8905
Archetype R²: 0.0527
Archetype transform grad norm: 0.223989
Archetype transform param norm: 6.7364
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.8116 (range: 0.8116 - 0.8116)
archetypal_loss: 0.8905 (range: 0.8905 - 0.8905)
kld_loss: 0.1018 (range: 0.1018 - 0.1018)
reconstruction_loss: 0.8905 (range: 0.8905 - 0.8905)
archetype_r2: 0.0527 (range: 0.0527 - 0.0527)
Archetype Transform Summary:
archetype_transform_mean: 0.000264 (range: 0.000264 - 0.000264)
archetype_transform_std: 0.094337 (range: 0.094337 - 0.094337)
archetype_transform_norm: 6.736373 (range: 6.736373 - 6.736373)
archetype_transform_grad_norm: 0.223989 (range: 0.223989 - 0.223989)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0086, max=0.8801, mean=0.2500
Batch reconstruction MSE: 0.9808
Archetype stats: min=-9.3651, max=6.6694
Archetype change since last debug: 3.924312
Archetype gradients: norm=0.042064, mean=0.001736
Epoch 1/1
Average loss: 0.8063
Archetypal loss: 0.8848
KLD loss: 0.1003
Reconstruction loss: 0.8848
Archetype R²: 0.0587
Archetype transform grad norm: 0.236612
Archetype transform param norm: 6.9050
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.8063 (range: 0.8063 - 0.8063)
archetypal_loss: 0.8848 (range: 0.8848 - 0.8848)
kld_loss: 0.1003 (range: 0.1003 - 0.1003)
reconstruction_loss: 0.8848 (range: 0.8848 - 0.8848)
archetype_r2: 0.0587 (range: 0.0587 - 0.0587)
Archetype Transform Summary:
archetype_transform_mean: 0.000222 (range: 0.000222 - 0.000222)
archetype_transform_std: 0.096698 (range: 0.096698 - 0.096698)
archetype_transform_norm: 6.904996 (range: 6.904996 - 6.904996)
archetype_transform_grad_norm: 0.236612 (range: 0.236612 - 0.236612)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0131, max=0.8266, mean=0.2500
Batch reconstruction MSE: 0.9801
Archetype stats: min=-10.3304, max=7.3890
Archetype change since last debug: 3.428282
Archetype gradients: norm=0.054001, mean=0.002702
Epoch 1/1
Average loss: 0.8030
Archetypal loss: 0.8816
KLD loss: 0.0954
Reconstruction loss: 0.8816
Archetype R²: 0.0621
Archetype transform grad norm: 0.241017
Archetype transform param norm: 7.0357
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.8030 (range: 0.8030 - 0.8030)
archetypal_loss: 0.8816 (range: 0.8816 - 0.8816)
kld_loss: 0.0954 (range: 0.0954 - 0.0954)
reconstruction_loss: 0.8816 (range: 0.8816 - 0.8816)
archetype_r2: 0.0621 (range: 0.0621 - 0.0621)
Archetype Transform Summary:
archetype_transform_mean: 0.000182 (range: 0.000182 - 0.000182)
archetype_transform_std: 0.098529 (range: 0.098529 - 0.098529)
archetype_transform_norm: 7.035678 (range: 7.035678 - 7.035678)
archetype_transform_grad_norm: 0.241017 (range: 0.241017 - 0.241017)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0225, max=0.6727, mean=0.2500
Batch reconstruction MSE: 0.9982
Archetype stats: min=-11.0649, max=7.9395
Archetype change since last debug: 2.769225
Archetype gradients: norm=0.034964, mean=0.001993
Epoch 1/1
Average loss: 0.8019
Archetypal loss: 0.8805
KLD loss: 0.0941
Reconstruction loss: 0.8805
Archetype R²: 0.0632
Archetype transform grad norm: 0.259965
Archetype transform param norm: 7.1469
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.8019 (range: 0.8019 - 0.8019)
archetypal_loss: 0.8805 (range: 0.8805 - 0.8805)
kld_loss: 0.0941 (range: 0.0941 - 0.0941)
reconstruction_loss: 0.8805 (range: 0.8805 - 0.8805)
archetype_r2: 0.0632 (range: 0.0632 - 0.0632)
Archetype Transform Summary:
archetype_transform_mean: 0.000148 (range: 0.000148 - 0.000148)
archetype_transform_std: 0.100087 (range: 0.100087 - 0.100087)
archetype_transform_norm: 7.146939 (range: 7.146939 - 7.146939)
archetype_transform_grad_norm: 0.259965 (range: 0.259965 - 0.259965)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0232, max=0.7435, mean=0.2500
Batch reconstruction MSE: 1.0523
Archetype stats: min=-11.4569, max=7.8822
Archetype change since last debug: 2.362138
Archetype gradients: norm=0.079379, mean=0.004031
Epoch 1/1
Average loss: 0.8013
Archetypal loss: 0.8802
KLD loss: 0.0909
Reconstruction loss: 0.8802
Archetype R²: 0.0634
Archetype transform grad norm: 0.249400
Archetype transform param norm: 7.1962
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.8013 (range: 0.8013 - 0.8013)
archetypal_loss: 0.8802 (range: 0.8802 - 0.8802)
kld_loss: 0.0909 (range: 0.0909 - 0.0909)
reconstruction_loss: 0.8802 (range: 0.8802 - 0.8802)
archetype_r2: 0.0634 (range: 0.0634 - 0.0634)
Archetype Transform Summary:
archetype_transform_mean: 0.000108 (range: 0.000108 - 0.000108)
archetype_transform_std: 0.100777 (range: 0.100777 - 0.100777)
archetype_transform_norm: 7.196215 (range: 7.196215 - 7.196215)
archetype_transform_grad_norm: 0.249400 (range: 0.249400 - 0.249400)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0306, max=0.6445, mean=0.2500
Batch reconstruction MSE: 0.9529
Archetype stats: min=-11.6144, max=8.0688
Archetype change since last debug: 1.558061
Archetype gradients: norm=0.028941, mean=0.001690
Epoch 1/1
Average loss: 0.7981
Archetypal loss: 0.8771
KLD loss: 0.0871
Reconstruction loss: 0.8771
Archetype R²: 0.0670
Archetype transform grad norm: 0.251606
Archetype transform param norm: 7.2781
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.7981 (range: 0.7981 - 0.7981)
archetypal_loss: 0.8771 (range: 0.8771 - 0.8771)
kld_loss: 0.0871 (range: 0.0871 - 0.0871)
reconstruction_loss: 0.8771 (range: 0.8771 - 0.8771)
archetype_r2: 0.0670 (range: 0.0670 - 0.0670)
Archetype Transform Summary:
archetype_transform_mean: 0.000099 (range: 0.000099 - 0.000099)
archetype_transform_std: 0.101923 (range: 0.101923 - 0.101923)
archetype_transform_norm: 7.278054 (range: 7.278054 - 7.278054)
archetype_transform_grad_norm: 0.251606 (range: 0.251606 - 0.251606)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0363, max=0.6905, mean=0.2500
Batch reconstruction MSE: 1.0196
Archetype stats: min=-12.1803, max=8.2898
Archetype change since last debug: 1.912553
Archetype gradients: norm=0.083709, mean=0.004106
Epoch 1/1
Average loss: 0.7992
Archetypal loss: 0.8779
KLD loss: 0.0904
Reconstruction loss: 0.8779
Archetype R²: 0.0660
Archetype transform grad norm: 0.250537
Archetype transform param norm: 7.3141
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.7992 (range: 0.7992 - 0.7992)
archetypal_loss: 0.8779 (range: 0.8779 - 0.8779)
kld_loss: 0.0904 (range: 0.0904 - 0.0904)
reconstruction_loss: 0.8779 (range: 0.8779 - 0.8779)
archetype_r2: 0.0660 (range: 0.0660 - 0.0660)
Archetype Transform Summary:
archetype_transform_mean: 0.000118 (range: 0.000118 - 0.000118)
archetype_transform_std: 0.102427 (range: 0.102427 - 0.102427)
archetype_transform_norm: 7.314072 (range: 7.314072 - 7.314072)
archetype_transform_grad_norm: 0.250537 (range: 0.250537 - 0.250537)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0411, max=0.5897, mean=0.2500
Batch reconstruction MSE: 1.0344
Archetype stats: min=-11.9778, max=8.4275
Archetype change since last debug: 1.363717
Archetype gradients: norm=0.059804, mean=0.003254
Epoch 1/1
Average loss: 0.7985
Archetypal loss: 0.8775
KLD loss: 0.0874
Reconstruction loss: 0.8775
Archetype R²: 0.0664
Archetype transform grad norm: 0.251682
Archetype transform param norm: 7.3521
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.7985 (range: 0.7985 - 0.7985)
archetypal_loss: 0.8775 (range: 0.8775 - 0.8775)
kld_loss: 0.0874 (range: 0.0874 - 0.0874)
reconstruction_loss: 0.8775 (range: 0.8775 - 0.8775)
archetype_r2: 0.0664 (range: 0.0664 - 0.0664)
Archetype Transform Summary:
archetype_transform_mean: 0.000035 (range: 0.000035 - 0.000035)
archetype_transform_std: 0.102960 (range: 0.102960 - 0.102960)
archetype_transform_norm: 7.352108 (range: 7.352108 - 7.352108)
archetype_transform_grad_norm: 0.251682 (range: 0.251682 - 0.251682)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0412, max=0.6303, mean=0.2500
Batch reconstruction MSE: 0.9711
Archetype stats: min=-12.2582, max=8.5596
Archetype change since last debug: 1.253635
Archetype gradients: norm=0.074999, mean=0.003501
Epoch 1/1
Average loss: 0.7964
Archetypal loss: 0.8756
KLD loss: 0.0842
Reconstruction loss: 0.8756
Archetype R²: 0.0686
Archetype transform grad norm: 0.245637
Archetype transform param norm: 7.3896
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.7964 (range: 0.7964 - 0.7964)
archetypal_loss: 0.8756 (range: 0.8756 - 0.8756)
kld_loss: 0.0842 (range: 0.0842 - 0.0842)
reconstruction_loss: 0.8756 (range: 0.8756 - 0.8756)
archetype_r2: 0.0686 (range: 0.0686 - 0.0686)
Archetype Transform Summary:
archetype_transform_mean: 0.000083 (range: 0.000083 - 0.000083)
archetype_transform_std: 0.103485 (range: 0.103485 - 0.103485)
archetype_transform_norm: 7.389587 (range: 7.389587 - 7.389587)
archetype_transform_grad_norm: 0.245637 (range: 0.245637 - 0.245637)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0424, max=0.5257, mean=0.2500
Batch reconstruction MSE: 0.9224
Archetype stats: min=-12.4712, max=8.8719
Archetype change since last debug: 1.215061
Archetype gradients: norm=0.036523, mean=0.001901
Epoch 1/1
Average loss: 0.7949
Archetypal loss: 0.8741
KLD loss: 0.0830
Reconstruction loss: 0.8741
Archetype R²: 0.0703
Archetype transform grad norm: 0.246757
Archetype transform param norm: 7.4488
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.7949 (range: 0.7949 - 0.7949)
archetypal_loss: 0.8741 (range: 0.8741 - 0.8741)
kld_loss: 0.0830 (range: 0.0830 - 0.0830)
reconstruction_loss: 0.8741 (range: 0.8741 - 0.8741)
archetype_r2: 0.0703 (range: 0.0703 - 0.0703)
Archetype Transform Summary:
archetype_transform_mean: 0.000051 (range: 0.000051 - 0.000051)
archetype_transform_std: 0.104314 (range: 0.104314 - 0.104314)
archetype_transform_norm: 7.448783 (range: 7.448783 - 7.448783)
archetype_transform_grad_norm: 0.246757 (range: 0.246757 - 0.246757)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0405, max=0.6285, mean=0.2500
Batch reconstruction MSE: 0.9306
Archetype stats: min=-13.0629, max=9.2263
Archetype change since last debug: 1.603112
Archetype gradients: norm=0.052305, mean=0.002667
Epoch 1/1
Average loss: 0.7947
Archetypal loss: 0.8742
KLD loss: 0.0793
Reconstruction loss: 0.8742
Archetype R²: 0.0701
Archetype transform grad norm: 0.252425
Archetype transform param norm: 7.4937
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.7947 (range: 0.7947 - 0.7947)
archetypal_loss: 0.8742 (range: 0.8742 - 0.8742)
kld_loss: 0.0793 (range: 0.0793 - 0.0793)
reconstruction_loss: 0.8742 (range: 0.8742 - 0.8742)
archetype_r2: 0.0701 (range: 0.0701 - 0.0701)
Archetype Transform Summary:
archetype_transform_mean: 0.000082 (range: 0.000082 - 0.000082)
archetype_transform_std: 0.104943 (range: 0.104943 - 0.104943)
archetype_transform_norm: 7.493706 (range: 7.493706 - 7.493706)
archetype_transform_grad_norm: 0.252425 (range: 0.252425 - 0.252425)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0457, max=0.5237, mean=0.2500
Batch reconstruction MSE: 0.9088
Archetype stats: min=-13.3079, max=9.5196
Archetype change since last debug: 1.098806
Archetype gradients: norm=0.031573, mean=0.001556
Epoch 1/1
Average loss: 0.7936
Archetypal loss: 0.8734
KLD loss: 0.0762
Reconstruction loss: 0.8734
Archetype R²: 0.0710
Archetype transform grad norm: 0.251633
Archetype transform param norm: 7.5422
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.7936 (range: 0.7936 - 0.7936)
archetypal_loss: 0.8734 (range: 0.8734 - 0.8734)
kld_loss: 0.0762 (range: 0.0762 - 0.0762)
reconstruction_loss: 0.8734 (range: 0.8734 - 0.8734)
archetype_r2: 0.0710 (range: 0.0710 - 0.0710)
Archetype Transform Summary:
archetype_transform_mean: 0.000034 (range: 0.000034 - 0.000034)
archetype_transform_std: 0.105622 (range: 0.105622 - 0.105622)
archetype_transform_norm: 7.542183 (range: 7.542183 - 7.542183)
archetype_transform_grad_norm: 0.251633 (range: 0.251633 - 0.251633)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0456, max=0.5571, mean=0.2500
Batch reconstruction MSE: 0.9154
Archetype stats: min=-13.7388, max=9.8061
Archetype change since last debug: 1.322056
Archetype gradients: norm=0.044424, mean=0.002314
Epoch 1/1
Average loss: 0.7935
Archetypal loss: 0.8734
KLD loss: 0.0750
Reconstruction loss: 0.8734
Archetype R²: 0.0710
Archetype transform grad norm: 0.255437
Archetype transform param norm: 7.5797
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.7935 (range: 0.7935 - 0.7935)
archetypal_loss: 0.8734 (range: 0.8734 - 0.8734)
kld_loss: 0.0750 (range: 0.0750 - 0.0750)
reconstruction_loss: 0.8734 (range: 0.8734 - 0.8734)
archetype_r2: 0.0710 (range: 0.0710 - 0.0710)
Archetype Transform Summary:
archetype_transform_mean: 0.000053 (range: 0.000053 - 0.000053)
archetype_transform_std: 0.106147 (range: 0.106147 - 0.106147)
archetype_transform_norm: 7.579690 (range: 7.579690 - 7.579690)
archetype_transform_grad_norm: 0.255437 (range: 0.255437 - 0.255437)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0502, max=0.4711, mean=0.2500
Batch reconstruction MSE: 0.9261
Archetype stats: min=-13.8620, max=10.0543
Archetype change since last debug: 1.003607
Archetype gradients: norm=0.029196, mean=0.001558
Epoch 1/1
Average loss: 0.7932
Archetypal loss: 0.8733
KLD loss: 0.0722
Reconstruction loss: 0.8733
Archetype R²: 0.0710
Archetype transform grad norm: 0.257555
Archetype transform param norm: 7.6161
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.7932 (range: 0.7932 - 0.7932)
archetypal_loss: 0.8733 (range: 0.8733 - 0.8733)
kld_loss: 0.0722 (range: 0.0722 - 0.0722)
reconstruction_loss: 0.8733 (range: 0.8733 - 0.8733)
archetype_r2: 0.0710 (range: 0.0710 - 0.0710)
Archetype Transform Summary:
archetype_transform_mean: 0.000005 (range: 0.000005 - 0.000005)
archetype_transform_std: 0.106658 (range: 0.106658 - 0.106658)
archetype_transform_norm: 7.616145 (range: 7.616145 - 7.616145)
archetype_transform_grad_norm: 0.257555 (range: 0.257555 - 0.257555)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0577, max=0.5217, mean=0.2500
Batch reconstruction MSE: 0.9049
Archetype stats: min=-14.0989, max=10.1218
Archetype change since last debug: 1.002058
Archetype gradients: norm=0.049816, mean=0.002460
Epoch 1/1
Average loss: 0.7929
Archetypal loss: 0.8730
KLD loss: 0.0718
Reconstruction loss: 0.8730
Archetype R²: 0.0713
Archetype transform grad norm: 0.265809
Archetype transform param norm: 7.6437
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.7929 (range: 0.7929 - 0.7929)
archetypal_loss: 0.8730 (range: 0.8730 - 0.8730)
kld_loss: 0.0718 (range: 0.0718 - 0.0718)
reconstruction_loss: 0.8730 (range: 0.8730 - 0.8730)
archetype_r2: 0.0713 (range: 0.0713 - 0.0713)
Archetype Transform Summary:
archetype_transform_mean: 0.000031 (range: 0.000031 - 0.000031)
archetype_transform_std: 0.107044 (range: 0.107044 - 0.107044)
archetype_transform_norm: 7.643718 (range: 7.643718 - 7.643718)
archetype_transform_grad_norm: 0.265809 (range: 0.265809 - 0.265809)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0549, max=0.4700, mean=0.2500
Batch reconstruction MSE: 0.9110
Archetype stats: min=-14.2373, max=10.3633
Archetype change since last debug: 0.970282
Archetype gradients: norm=0.030029, mean=0.001601
Epoch 1/1
Average loss: 0.7924
Archetypal loss: 0.8727
KLD loss: 0.0695
Reconstruction loss: 0.8727
Archetype R²: 0.0716
Archetype transform grad norm: 0.259626
Archetype transform param norm: 7.6779
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.7924 (range: 0.7924 - 0.7924)
archetypal_loss: 0.8727 (range: 0.8727 - 0.8727)
kld_loss: 0.0695 (range: 0.0695 - 0.0695)
reconstruction_loss: 0.8727 (range: 0.8727 - 0.8727)
archetype_r2: 0.0716 (range: 0.0716 - 0.0716)
Archetype Transform Summary:
archetype_transform_mean: -0.000009 (range: -0.000009 - -0.000009)
archetype_transform_std: 0.107523 (range: 0.107523 - 0.107523)
archetype_transform_norm: 7.677891 (range: 7.677891 - 7.677891)
archetype_transform_grad_norm: 0.259626 (range: 0.259626 - 0.259626)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0630, max=0.5527, mean=0.2500
Batch reconstruction MSE: 0.9474
Archetype stats: min=-14.6615, max=10.4554
Archetype change since last debug: 1.021138
Archetype gradients: norm=0.061159, mean=0.003129
Epoch 1/1
Average loss: 0.7932
Archetypal loss: 0.8734
KLD loss: 0.0712
Reconstruction loss: 0.8734
Archetype R²: 0.0708
Archetype transform grad norm: 0.261014
Archetype transform param norm: 7.6843
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.7932 (range: 0.7932 - 0.7932)
archetypal_loss: 0.8734 (range: 0.8734 - 0.8734)
kld_loss: 0.0712 (range: 0.0712 - 0.0712)
reconstruction_loss: 0.8734 (range: 0.8734 - 0.8734)
archetype_r2: 0.0708 (range: 0.0708 - 0.0708)
Archetype Transform Summary:
archetype_transform_mean: 0.000020 (range: 0.000020 - 0.000020)
archetype_transform_std: 0.107612 (range: 0.107612 - 0.107612)
archetype_transform_norm: 7.684268 (range: 7.684268 - 7.684268)
archetype_transform_grad_norm: 0.261014 (range: 0.261014 - 0.261014)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0236, max=0.6759, mean=0.2500
Batch reconstruction MSE: 1.0163
Archetype stats: min=-14.5147, max=10.7160
Archetype change since last debug: 0.797958
Archetype gradients: norm=0.055686, mean=0.003331
Epoch 1/1
Average loss: 0.7944
Archetypal loss: 0.8749
KLD loss: 0.0703
Reconstruction loss: 0.8749
Archetype R²: 0.0690
Archetype transform grad norm: 0.271368
Archetype transform param norm: 7.6901
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.7944 (range: 0.7944 - 0.7944)
archetypal_loss: 0.8749 (range: 0.8749 - 0.8749)
kld_loss: 0.0703 (range: 0.0703 - 0.0703)
reconstruction_loss: 0.8749 (range: 0.8749 - 0.8749)
archetype_r2: 0.0690 (range: 0.0690 - 0.0690)
Archetype Transform Summary:
archetype_transform_mean: -0.000060 (range: -0.000060 - -0.000060)
archetype_transform_std: 0.107693 (range: 0.107693 - 0.107693)
archetype_transform_norm: 7.690100 (range: 7.690100 - 7.690100)
archetype_transform_grad_norm: 0.271368 (range: 0.271368 - 0.271368)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0358, max=0.4638, mean=0.2500
Batch reconstruction MSE: 0.9371
Archetype stats: min=-14.6811, max=10.3680
Archetype change since last debug: 0.938529
Archetype gradients: norm=0.057674, mean=0.002675
Epoch 1/1
Average loss: 0.7925
Archetypal loss: 0.8727
KLD loss: 0.0702
Reconstruction loss: 0.8727
Archetype R²: 0.0715
Archetype transform grad norm: 0.261591
Archetype transform param norm: 7.6956
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.7925 (range: 0.7925 - 0.7925)
archetypal_loss: 0.8727 (range: 0.8727 - 0.8727)
kld_loss: 0.0702 (range: 0.0702 - 0.0702)
reconstruction_loss: 0.8727 (range: 0.8727 - 0.8727)
archetype_r2: 0.0715 (range: 0.0715 - 0.0715)
Archetype Transform Summary:
archetype_transform_mean: -0.000026 (range: -0.000026 - -0.000026)
archetype_transform_std: 0.107770 (range: 0.107770 - 0.107770)
archetype_transform_norm: 7.695594 (range: 7.695594 - 7.695594)
archetype_transform_grad_norm: 0.261591 (range: 0.261591 - 0.261591)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0648, max=0.4393, mean=0.2500
Batch reconstruction MSE: 0.9020
Archetype stats: min=-14.3495, max=10.6605
Archetype change since last debug: 1.070221
Archetype gradients: norm=0.049008, mean=0.002909
Epoch 1/1
Average loss: 0.7917
Archetypal loss: 0.8719
KLD loss: 0.0691
Reconstruction loss: 0.8719
Archetype R²: 0.0724
Archetype transform grad norm: 0.265997
Archetype transform param norm: 7.7300
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.7917 (range: 0.7917 - 0.7917)
archetypal_loss: 0.8719 (range: 0.8719 - 0.8719)
kld_loss: 0.0691 (range: 0.0691 - 0.0691)
reconstruction_loss: 0.8719 (range: 0.8719 - 0.8719)
archetype_r2: 0.0724 (range: 0.0724 - 0.0724)
Archetype Transform Summary:
archetype_transform_mean: -0.000080 (range: -0.000080 - -0.000080)
archetype_transform_std: 0.108252 (range: 0.108252 - 0.108252)
archetype_transform_norm: 7.729950 (range: 7.729950 - 7.729950)
archetype_transform_grad_norm: 0.265997 (range: 0.265997 - 0.265997)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0639, max=0.4190, mean=0.2500
Batch reconstruction MSE: 0.8986
Archetype stats: min=-14.8402, max=10.5427
Archetype change since last debug: 1.041753
Archetype gradients: norm=0.056911, mean=0.002502
Epoch 1/1
Average loss: 0.7916
Archetypal loss: 0.8719
KLD loss: 0.0686
Reconstruction loss: 0.8719
Archetype R²: 0.0724
Archetype transform grad norm: 0.269047
Archetype transform param norm: 7.7524
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.7916 (range: 0.7916 - 0.7916)
archetypal_loss: 0.8719 (range: 0.8719 - 0.8719)
kld_loss: 0.0686 (range: 0.0686 - 0.0686)
reconstruction_loss: 0.8719 (range: 0.8719 - 0.8719)
archetype_r2: 0.0724 (range: 0.0724 - 0.0724)
Archetype Transform Summary:
archetype_transform_mean: -0.000039 (range: -0.000039 - -0.000039)
archetype_transform_std: 0.108566 (range: 0.108566 - 0.108566)
archetype_transform_norm: 7.752435 (range: 7.752435 - 7.752435)
archetype_transform_grad_norm: 0.269047 (range: 0.269047 - 0.269047)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0563, max=0.4491, mean=0.2500
Batch reconstruction MSE: 0.9375
Archetype stats: min=-14.6402, max=11.0150
Archetype change since last debug: 1.142112
Archetype gradients: norm=0.061204, mean=0.003625
Epoch 1/1
Average loss: 0.7918
Archetypal loss: 0.8724
KLD loss: 0.0666
Reconstruction loss: 0.8724
Archetype R²: 0.0718
Archetype transform grad norm: 0.269401
Archetype transform param norm: 7.7704
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.7918 (range: 0.7918 - 0.7918)
archetypal_loss: 0.8724 (range: 0.8724 - 0.8724)
kld_loss: 0.0666 (range: 0.0666 - 0.0666)
reconstruction_loss: 0.8724 (range: 0.8724 - 0.8724)
archetype_r2: 0.0718 (range: 0.0718 - 0.0718)
Archetype Transform Summary:
archetype_transform_mean: -0.000102 (range: -0.000102 - -0.000102)
archetype_transform_std: 0.108818 (range: 0.108818 - 0.108818)
archetype_transform_norm: 7.770387 (range: 7.770387 - 7.770387)
archetype_transform_grad_norm: 0.269401 (range: 0.269401 - 0.269401)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0703, max=0.4439, mean=0.2500
Batch reconstruction MSE: 0.9046
Archetype stats: min=-15.0459, max=10.8428
Archetype change since last debug: 0.846762
Archetype gradients: norm=0.066728, mean=0.002944
Epoch 1/1
Average loss: 0.7912
Archetypal loss: 0.8717
KLD loss: 0.0672
Reconstruction loss: 0.8717
Archetype R²: 0.0726
Archetype transform grad norm: 0.269829
Archetype transform param norm: 7.7872
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.7912 (range: 0.7912 - 0.7912)
archetypal_loss: 0.8717 (range: 0.8717 - 0.8717)
kld_loss: 0.0672 (range: 0.0672 - 0.0672)
reconstruction_loss: 0.8717 (range: 0.8717 - 0.8717)
archetype_r2: 0.0726 (range: 0.0726 - 0.0726)
Archetype Transform Summary:
archetype_transform_mean: -0.000060 (range: -0.000060 - -0.000060)
archetype_transform_std: 0.109053 (range: 0.109053 - 0.109053)
archetype_transform_norm: 7.787167 (range: 7.787167 - 7.787167)
archetype_transform_grad_norm: 0.269829 (range: 0.269829 - 0.269829)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0550, max=0.5261, mean=0.2500
Batch reconstruction MSE: 0.9385
Archetype stats: min=-14.7077, max=11.2780
Archetype change since last debug: 1.191332
Archetype gradients: norm=0.084184, mean=0.004359
Epoch 1/1
Average loss: 0.7918
Archetypal loss: 0.8724
KLD loss: 0.0664
Reconstruction loss: 0.8724
Archetype R²: 0.0717
Archetype transform grad norm: 0.274447
Archetype transform param norm: 7.7971
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.7918 (range: 0.7918 - 0.7918)
archetypal_loss: 0.8724 (range: 0.8724 - 0.8724)
kld_loss: 0.0664 (range: 0.0664 - 0.0664)
reconstruction_loss: 0.8724 (range: 0.8724 - 0.8724)
archetype_r2: 0.0717 (range: 0.0717 - 0.0717)
Archetype Transform Summary:
archetype_transform_mean: -0.000112 (range: -0.000112 - -0.000112)
archetype_transform_std: 0.109192 (range: 0.109192 - 0.109192)
archetype_transform_norm: 7.797110 (range: 7.797110 - 7.797110)
archetype_transform_grad_norm: 0.274447 (range: 0.274447 - 0.274447)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0638, max=0.4032, mean=0.2500
Batch reconstruction MSE: 0.9031
Archetype stats: min=-15.1504, max=11.0822
Archetype change since last debug: 0.890607
Archetype gradients: norm=0.053095, mean=0.002709
Epoch 1/1
Average loss: 0.7908
Archetypal loss: 0.8715
KLD loss: 0.0647
Reconstruction loss: 0.8715
Archetype R²: 0.0728
Archetype transform grad norm: 0.274669
Archetype transform param norm: 7.8139
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.7908 (range: 0.7908 - 0.7908)
archetypal_loss: 0.8715 (range: 0.8715 - 0.8715)
kld_loss: 0.0647 (range: 0.0647 - 0.0647)
reconstruction_loss: 0.8715 (range: 0.8715 - 0.8715)
archetype_r2: 0.0728 (range: 0.0728 - 0.0728)
Archetype Transform Summary:
archetype_transform_mean: -0.000095 (range: -0.000095 - -0.000095)
archetype_transform_std: 0.109427 (range: 0.109427 - 0.109427)
archetype_transform_norm: 7.813860 (range: 7.813860 - 7.813860)
archetype_transform_grad_norm: 0.274669 (range: 0.274669 - 0.274669)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0654, max=0.5468, mean=0.2500
Batch reconstruction MSE: 0.9206
Archetype stats: min=-14.9391, max=11.4684
Archetype change since last debug: 1.044780
Archetype gradients: norm=0.071787, mean=0.003345
Epoch 1/1
Average loss: 0.7911
Archetypal loss: 0.8719
KLD loss: 0.0643
Reconstruction loss: 0.8719
Archetype R²: 0.0723
Archetype transform grad norm: 0.268264
Archetype transform param norm: 7.8210
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.7911 (range: 0.7911 - 0.7911)
archetypal_loss: 0.8719 (range: 0.8719 - 0.8719)
kld_loss: 0.0643 (range: 0.0643 - 0.0643)
reconstruction_loss: 0.8719 (range: 0.8719 - 0.8719)
archetype_r2: 0.0723 (range: 0.0723 - 0.0723)
Archetype Transform Summary:
archetype_transform_mean: -0.000114 (range: -0.000114 - -0.000114)
archetype_transform_std: 0.109527 (range: 0.109527 - 0.109527)
archetype_transform_norm: 7.821027 (range: 7.821027 - 7.821027)
archetype_transform_grad_norm: 0.268264 (range: 0.268264 - 0.268264)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0626, max=0.4404, mean=0.2500
Batch reconstruction MSE: 0.9169
Archetype stats: min=-15.3554, max=11.4102
Archetype change since last debug: 0.829106
Archetype gradients: norm=0.040170, mean=0.002271
Epoch 1/1
Average loss: 0.7902
Archetypal loss: 0.8711
KLD loss: 0.0628
Reconstruction loss: 0.8711
Archetype R²: 0.0732
Archetype transform grad norm: 0.254319
Archetype transform param norm: 7.8345
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.7902 (range: 0.7902 - 0.7902)
archetypal_loss: 0.8711 (range: 0.8711 - 0.8711)
kld_loss: 0.0628 (range: 0.0628 - 0.0628)
reconstruction_loss: 0.8711 (range: 0.8711 - 0.8711)
archetype_r2: 0.0732 (range: 0.0732 - 0.0732)
Archetype Transform Summary:
archetype_transform_mean: -0.000127 (range: -0.000127 - -0.000127)
archetype_transform_std: 0.109716 (range: 0.109716 - 0.109716)
archetype_transform_norm: 7.834542 (range: 7.834542 - 7.834542)
archetype_transform_grad_norm: 0.254319 (range: 0.254319 - 0.254319)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0737, max=0.4501, mean=0.2500
Batch reconstruction MSE: 0.8669
Archetype stats: min=-15.3264, max=11.6367
Archetype change since last debug: 0.690473
Archetype gradients: norm=0.048960, mean=0.002081
Epoch 1/1
Average loss: 0.7890
Archetypal loss: 0.8698
KLD loss: 0.0623
Reconstruction loss: 0.8698
Archetype R²: 0.0747
Archetype transform grad norm: 0.254558
Archetype transform param norm: 7.8637
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.7890 (range: 0.7890 - 0.7890)
archetypal_loss: 0.8698 (range: 0.8698 - 0.8698)
kld_loss: 0.0623 (range: 0.0623 - 0.0623)
reconstruction_loss: 0.8698 (range: 0.8698 - 0.8698)
archetype_r2: 0.0747 (range: 0.0747 - 0.0747)
Archetype Transform Summary:
archetype_transform_mean: -0.000113 (range: -0.000113 - -0.000113)
archetype_transform_std: 0.110124 (range: 0.110124 - 0.110124)
archetype_transform_norm: 7.863685 (range: 7.863685 - 7.863685)
archetype_transform_grad_norm: 0.254558 (range: 0.254558 - 0.254558)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0664, max=0.4771, mean=0.2500
Batch reconstruction MSE: 0.8928
Archetype stats: min=-15.7630, max=11.8600
Archetype change since last debug: 1.017436
Archetype gradients: norm=0.044725, mean=0.002510
Epoch 1/1
Average loss: 0.7895
Archetypal loss: 0.8704
KLD loss: 0.0606
Reconstruction loss: 0.8704
Archetype R²: 0.0739
Archetype transform grad norm: 0.260233
Archetype transform param norm: 7.8847
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.7895 (range: 0.7895 - 0.7895)
archetypal_loss: 0.8704 (range: 0.8704 - 0.8704)
kld_loss: 0.0606 (range: 0.0606 - 0.0606)
reconstruction_loss: 0.8704 (range: 0.8704 - 0.8704)
archetype_r2: 0.0739 (range: 0.0739 - 0.0739)
Archetype Transform Summary:
archetype_transform_mean: -0.000143 (range: -0.000143 - -0.000143)
archetype_transform_std: 0.110419 (range: 0.110419 - 0.110419)
archetype_transform_norm: 7.884748 (range: 7.884748 - 7.884748)
archetype_transform_grad_norm: 0.260233 (range: 0.260233 - 0.260233)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0730, max=0.4458, mean=0.2500
Batch reconstruction MSE: 0.8997
Archetype stats: min=-15.8243, max=12.0222
Archetype change since last debug: 0.651685
Archetype gradients: norm=0.055668, mean=0.002317
Epoch 1/1
Average loss: 0.7893
Archetypal loss: 0.8704
KLD loss: 0.0591
Reconstruction loss: 0.8704
Archetype R²: 0.0739
Archetype transform grad norm: 0.258846
Archetype transform param norm: 7.9012
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.7893 (range: 0.7893 - 0.7893)
archetypal_loss: 0.8704 (range: 0.8704 - 0.8704)
kld_loss: 0.0591 (range: 0.0591 - 0.0591)
reconstruction_loss: 0.8704 (range: 0.8704 - 0.8704)
archetype_r2: 0.0739 (range: 0.0739 - 0.0739)
Archetype Transform Summary:
archetype_transform_mean: -0.000122 (range: -0.000122 - -0.000122)
archetype_transform_std: 0.110649 (range: 0.110649 - 0.110649)
archetype_transform_norm: 7.901158 (range: 7.901158 - 7.901158)
archetype_transform_grad_norm: 0.258846 (range: 0.258846 - 0.258846)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0774, max=0.5631, mean=0.2500
Batch reconstruction MSE: 0.8853
Archetype stats: min=-16.0186, max=12.3085
Archetype change since last debug: 0.713948
Archetype gradients: norm=0.043694, mean=0.002161
Epoch 1/1
Average loss: 0.7894
Archetypal loss: 0.8704
KLD loss: 0.0609
Reconstruction loss: 0.8704
Archetype R²: 0.0739
Archetype transform grad norm: 0.265955
Archetype transform param norm: 7.9166
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.7894 (range: 0.7894 - 0.7894)
archetypal_loss: 0.8704 (range: 0.8704 - 0.8704)
kld_loss: 0.0609 (range: 0.0609 - 0.0609)
reconstruction_loss: 0.8704 (range: 0.8704 - 0.8704)
archetype_r2: 0.0739 (range: 0.0739 - 0.0739)
Archetype Transform Summary:
archetype_transform_mean: -0.000183 (range: -0.000183 - -0.000183)
archetype_transform_std: 0.110866 (range: 0.110866 - 0.110866)
archetype_transform_norm: 7.916621 (range: 7.916621 - 7.916621)
archetype_transform_grad_norm: 0.265955 (range: 0.265955 - 0.265955)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0789, max=0.4598, mean=0.2500
Batch reconstruction MSE: 0.9114
Archetype stats: min=-16.2280, max=12.4877
Archetype change since last debug: 0.723874
Archetype gradients: norm=0.060987, mean=0.003059
Epoch 1/1
Average loss: 0.7894
Archetypal loss: 0.8706
KLD loss: 0.0587
Reconstruction loss: 0.8706
Archetype R²: 0.0736
Archetype transform grad norm: 0.262368
Archetype transform param norm: 7.9247
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.7894 (range: 0.7894 - 0.7894)
archetypal_loss: 0.8706 (range: 0.8706 - 0.8706)
kld_loss: 0.0587 (range: 0.0587 - 0.0587)
reconstruction_loss: 0.8706 (range: 0.8706 - 0.8706)
archetype_r2: 0.0736 (range: 0.0736 - 0.0736)
Archetype Transform Summary:
archetype_transform_mean: -0.000149 (range: -0.000149 - -0.000149)
archetype_transform_std: 0.110979 (range: 0.110979 - 0.110979)
archetype_transform_norm: 7.924706 (range: 7.924706 - 7.924706)
archetype_transform_grad_norm: 0.262368 (range: 0.262368 - 0.262368)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0651, max=0.4405, mean=0.2500
Batch reconstruction MSE: 0.9242
Archetype stats: min=-16.2437, max=12.7236
Archetype change since last debug: 0.589470
Archetype gradients: norm=0.050487, mean=0.002570
Epoch 1/1
Average loss: 0.7902
Archetypal loss: 0.8711
KLD loss: 0.0612
Reconstruction loss: 0.8711
Archetype R²: 0.0730
Archetype transform grad norm: 0.271243
Archetype transform param norm: 7.9292
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.7902 (range: 0.7902 - 0.7902)
archetypal_loss: 0.8711 (range: 0.8711 - 0.8711)
kld_loss: 0.0612 (range: 0.0612 - 0.0612)
reconstruction_loss: 0.8711 (range: 0.8711 - 0.8711)
archetype_r2: 0.0730 (range: 0.0730 - 0.0730)
Archetype Transform Summary:
archetype_transform_mean: -0.000229 (range: -0.000229 - -0.000229)
archetype_transform_std: 0.111042 (range: 0.111042 - 0.111042)
archetype_transform_norm: 7.929215 (range: 7.929215 - 7.929215)
archetype_transform_grad_norm: 0.271243 (range: 0.271243 - 0.271243)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0753, max=0.4555, mean=0.2500
Batch reconstruction MSE: 0.9424
Archetype stats: min=-16.5157, max=12.6326
Archetype change since last debug: 0.761693
Archetype gradients: norm=0.071851, mean=0.003930
Epoch 1/1
Average loss: 0.7899
Archetypal loss: 0.8711
KLD loss: 0.0591
Reconstruction loss: 0.8711
Archetype R²: 0.0729
Archetype transform grad norm: 0.267132
Archetype transform param norm: 7.9243
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.7899 (range: 0.7899 - 0.7899)
archetypal_loss: 0.8711 (range: 0.8711 - 0.8711)
kld_loss: 0.0591 (range: 0.0591 - 0.0591)
reconstruction_loss: 0.8711 (range: 0.8711 - 0.8711)
archetype_r2: 0.0729 (range: 0.0729 - 0.0729)
Archetype Transform Summary:
archetype_transform_mean: -0.000163 (range: -0.000163 - -0.000163)
archetype_transform_std: 0.110974 (range: 0.110974 - 0.110974)
archetype_transform_norm: 7.924345 (range: 7.924345 - 7.924345)
archetype_transform_grad_norm: 0.267132 (range: 0.267132 - 0.267132)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0685, max=0.4812, mean=0.2500
Batch reconstruction MSE: 0.9228
Archetype stats: min=-16.0603, max=12.8679
Archetype change since last debug: 0.989810
Archetype gradients: norm=0.063909, mean=0.003470
Epoch 1/1
Average loss: 0.7900
Archetypal loss: 0.8709
KLD loss: 0.0620
Reconstruction loss: 0.8709
Archetype R²: 0.0733
Archetype transform grad norm: 0.271109
Archetype transform param norm: 7.9325
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.7900 (range: 0.7900 - 0.7900)
archetypal_loss: 0.8709 (range: 0.8709 - 0.8709)
kld_loss: 0.0620 (range: 0.0620 - 0.0620)
reconstruction_loss: 0.8709 (range: 0.8709 - 0.8709)
archetype_r2: 0.0733 (range: 0.0733 - 0.0733)
Archetype Transform Summary:
archetype_transform_mean: -0.000251 (range: -0.000251 - -0.000251)
archetype_transform_std: 0.111087 (range: 0.111087 - 0.111087)
archetype_transform_norm: 7.932474 (range: 7.932474 - 7.932474)
archetype_transform_grad_norm: 0.271109 (range: 0.271109 - 0.271109)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0742, max=0.4377, mean=0.2500
Batch reconstruction MSE: 0.9372
Archetype stats: min=-16.4449, max=12.5659
Archetype change since last debug: 1.053397
Archetype gradients: norm=0.080565, mean=0.004246
Epoch 1/1
Average loss: 0.7898
Archetypal loss: 0.8710
KLD loss: 0.0585
Reconstruction loss: 0.8710
Archetype R²: 0.0731
Archetype transform grad norm: 0.271231
Archetype transform param norm: 7.9277
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.7898 (range: 0.7898 - 0.7898)
archetypal_loss: 0.8710 (range: 0.8710 - 0.8710)
kld_loss: 0.0585 (range: 0.0585 - 0.0585)
reconstruction_loss: 0.8710 (range: 0.8710 - 0.8710)
archetype_r2: 0.0731 (range: 0.0731 - 0.0731)
Archetype Transform Summary:
archetype_transform_mean: -0.000171 (range: -0.000171 - -0.000171)
archetype_transform_std: 0.111021 (range: 0.111021 - 0.111021)
archetype_transform_norm: 7.927685 (range: 7.927685 - 7.927685)
archetype_transform_grad_norm: 0.271231 (range: 0.271231 - 0.271231)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0788, max=0.4104, mean=0.2500
Batch reconstruction MSE: 0.9263
Archetype stats: min=-15.8388, max=12.9375
Archetype change since last debug: 1.285870
Archetype gradients: norm=0.066002, mean=0.003658
Epoch 1/1
Average loss: 0.7899
Archetypal loss: 0.8707
KLD loss: 0.0620
Reconstruction loss: 0.8707
Archetype R²: 0.0734
Archetype transform grad norm: 0.279524
Archetype transform param norm: 7.9445
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.7899 (range: 0.7899 - 0.7899)
archetypal_loss: 0.8707 (range: 0.8707 - 0.8707)
kld_loss: 0.0620 (range: 0.0620 - 0.0620)
reconstruction_loss: 0.8707 (range: 0.8707 - 0.8707)
archetype_r2: 0.0734 (range: 0.0734 - 0.0734)
Archetype Transform Summary:
archetype_transform_mean: -0.000262 (range: -0.000262 - -0.000262)
archetype_transform_std: 0.111255 (range: 0.111255 - 0.111255)
archetype_transform_norm: 7.944455 (range: 7.944455 - 7.944455)
archetype_transform_grad_norm: 0.279524 (range: 0.279524 - 0.279524)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0773, max=0.4070, mean=0.2500
Batch reconstruction MSE: 0.9301
Archetype stats: min=-16.3560, max=12.4563
Archetype change since last debug: 1.324210
Archetype gradients: norm=0.081634, mean=0.004371
Epoch 1/1
Average loss: 0.7896
Archetypal loss: 0.8708
KLD loss: 0.0593
Reconstruction loss: 0.8708
Archetype R²: 0.0733
Archetype transform grad norm: 0.274909
Archetype transform param norm: 7.9367
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.7896 (range: 0.7896 - 0.7896)
archetypal_loss: 0.8708 (range: 0.8708 - 0.8708)
kld_loss: 0.0593 (range: 0.0593 - 0.0593)
reconstruction_loss: 0.8708 (range: 0.8708 - 0.8708)
archetype_r2: 0.0733 (range: 0.0733 - 0.0733)
Archetype Transform Summary:
archetype_transform_mean: -0.000182 (range: -0.000182 - -0.000182)
archetype_transform_std: 0.111146 (range: 0.111146 - 0.111146)
archetype_transform_norm: 7.936658 (range: 7.936658 - 7.936658)
archetype_transform_grad_norm: 0.274909 (range: 0.274909 - 0.274909)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0810, max=0.3940, mean=0.2500
Batch reconstruction MSE: 0.8936
Archetype stats: min=-15.6730, max=12.9283
Archetype change since last debug: 1.441999
Archetype gradients: norm=0.056792, mean=0.003387
Epoch 1/1
Average loss: 0.7893
Archetypal loss: 0.8704
KLD loss: 0.0599
Reconstruction loss: 0.8704
Archetype R²: 0.0738
Archetype transform grad norm: 0.291496
Archetype transform param norm: 7.9642
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.7893 (range: 0.7893 - 0.7893)
archetypal_loss: 0.8704 (range: 0.8704 - 0.8704)
kld_loss: 0.0599 (range: 0.0599 - 0.0599)
reconstruction_loss: 0.8704 (range: 0.8704 - 0.8704)
archetype_r2: 0.0738 (range: 0.0738 - 0.0738)
Archetype Transform Summary:
archetype_transform_mean: -0.000260 (range: -0.000260 - -0.000260)
archetype_transform_std: 0.111532 (range: 0.111532 - 0.111532)
archetype_transform_norm: 7.964234 (range: 7.964234 - 7.964234)
archetype_transform_grad_norm: 0.291496 (range: 0.291496 - 0.291496)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0781, max=0.4188, mean=0.2500
Batch reconstruction MSE: 0.8999
Archetype stats: min=-16.2257, max=12.3983
Archetype change since last debug: 1.389030
Archetype gradients: norm=0.073351, mean=0.003853
Epoch 1/1
Average loss: 0.7887
Archetypal loss: 0.8698
KLD loss: 0.0586
Reconstruction loss: 0.8698
Archetype R²: 0.0744
Archetype transform grad norm: 0.271324
Archetype transform param norm: 7.9608
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.7887 (range: 0.7887 - 0.7887)
archetypal_loss: 0.8698 (range: 0.8698 - 0.8698)
kld_loss: 0.0586 (range: 0.0586 - 0.0586)
reconstruction_loss: 0.8698 (range: 0.8698 - 0.8698)
archetype_r2: 0.0744 (range: 0.0744 - 0.0744)
Archetype Transform Summary:
archetype_transform_mean: -0.000201 (range: -0.000201 - -0.000201)
archetype_transform_std: 0.111484 (range: 0.111484 - 0.111484)
archetype_transform_norm: 7.960757 (range: 7.960757 - 7.960757)
archetype_transform_grad_norm: 0.271324 (range: 0.271324 - 0.271324)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0774, max=0.4476, mean=0.2500
Batch reconstruction MSE: 0.8924
Archetype stats: min=-15.8340, max=13.0041
Archetype change since last debug: 1.340090
Archetype gradients: norm=0.047551, mean=0.002904
Epoch 1/1
Average loss: 0.7889
Archetypal loss: 0.8701
KLD loss: 0.0583
Reconstruction loss: 0.8701
Archetype R²: 0.0741
Archetype transform grad norm: 0.290383
Archetype transform param norm: 7.9920
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.7889 (range: 0.7889 - 0.7889)
archetypal_loss: 0.8701 (range: 0.8701 - 0.8701)
kld_loss: 0.0583 (range: 0.0583 - 0.0583)
reconstruction_loss: 0.8701 (range: 0.8701 - 0.8701)
archetype_r2: 0.0741 (range: 0.0741 - 0.0741)
Archetype Transform Summary:
archetype_transform_mean: -0.000261 (range: -0.000261 - -0.000261)
archetype_transform_std: 0.111921 (range: 0.111921 - 0.111921)
archetype_transform_norm: 7.991997 (range: 7.991997 - 7.991997)
archetype_transform_grad_norm: 0.290383 (range: 0.290383 - 0.290383)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0839, max=0.4407, mean=0.2500
Batch reconstruction MSE: 0.9121
Archetype stats: min=-16.3221, max=12.4527
Archetype change since last debug: 1.365058
Archetype gradients: norm=0.074262, mean=0.003625
Epoch 1/1
Average loss: 0.7887
Archetypal loss: 0.8700
KLD loss: 0.0575
Reconstruction loss: 0.8700
Archetype R²: 0.0742
Archetype transform grad norm: 0.269130
Archetype transform param norm: 7.9817
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.7887 (range: 0.7887 - 0.7887)
archetypal_loss: 0.8700 (range: 0.8700 - 0.8700)
kld_loss: 0.0575 (range: 0.0575 - 0.0575)
reconstruction_loss: 0.8700 (range: 0.8700 - 0.8700)
archetype_r2: 0.0742 (range: 0.0742 - 0.0742)
Archetype Transform Summary:
archetype_transform_mean: -0.000217 (range: -0.000217 - -0.000217)
archetype_transform_std: 0.111776 (range: 0.111776 - 0.111776)
archetype_transform_norm: 7.981651 (range: 7.981651 - 7.981651)
archetype_transform_grad_norm: 0.269130 (range: 0.269130 - 0.269130)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0726, max=0.4562, mean=0.2500
Batch reconstruction MSE: 0.8753
Archetype stats: min=-16.0467, max=13.0151
Archetype change since last debug: 1.161056
Archetype gradients: norm=0.035630, mean=0.001935
Epoch 1/1
Average loss: 0.7881
Archetypal loss: 0.8694
KLD loss: 0.0567
Reconstruction loss: 0.8694
Archetype R²: 0.0748
Archetype transform grad norm: 0.280812
Archetype transform param norm: 8.0108
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.7881 (range: 0.7881 - 0.7881)
archetypal_loss: 0.8694 (range: 0.8694 - 0.8694)
kld_loss: 0.0567 (range: 0.0567 - 0.0567)
reconstruction_loss: 0.8694 (range: 0.8694 - 0.8694)
archetype_r2: 0.0748 (range: 0.0748 - 0.0748)
Archetype Transform Summary:
archetype_transform_mean: -0.000263 (range: -0.000263 - -0.000263)
archetype_transform_std: 0.112185 (range: 0.112185 - 0.112185)
archetype_transform_norm: 8.010840 (range: 8.010840 - 8.010840)
archetype_transform_grad_norm: 0.280812 (range: 0.280812 - 0.280812)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0853, max=0.4526, mean=0.2500
Batch reconstruction MSE: 0.8816
Archetype stats: min=-16.4091, max=12.6814
Archetype change since last debug: 1.026987
Archetype gradients: norm=0.057748, mean=0.002739
Epoch 1/1
Average loss: 0.7879
Archetypal loss: 0.8694
KLD loss: 0.0549
Reconstruction loss: 0.8694
Archetype R²: 0.0749
Archetype transform grad norm: 0.271853
Archetype transform param norm: 8.0099
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.7879 (range: 0.7879 - 0.7879)
archetypal_loss: 0.8694 (range: 0.8694 - 0.8694)
kld_loss: 0.0549 (range: 0.0549 - 0.0549)
reconstruction_loss: 0.8694 (range: 0.8694 - 0.8694)
archetype_r2: 0.0749 (range: 0.0749 - 0.0749)
Archetype Transform Summary:
archetype_transform_mean: -0.000236 (range: -0.000236 - -0.000236)
archetype_transform_std: 0.112172 (range: 0.112172 - 0.112172)
archetype_transform_norm: 8.009945 (range: 8.009945 - 8.009945)
archetype_transform_grad_norm: 0.271853 (range: 0.271853 - 0.271853)
Fold 3/3
Model input_dim: 50 (auto-detected from data)
Archetypes parameter registered: True
Archetypes requires_grad: True
Deep_AA (Deep Archetypal Analysis) initialized:
- Single-stage architecture (like Deep_2)
- Inflation factor: 1.5
- Direct archetypal coordinates (no bottleneck)
Consolidated Archetype Initialization
PCHA: True, Inflation: True (factor: 1.5)
Test inflation: False
Running PCHA initialization...
Input shape: (128, 50)
Target archetypes: 4
Running PCHA with 4 archetypes...
Data shape for PCHA: (50, 128)
PCHA Results:
Archetypes shape: (4, 50)
Archetype R²: 0.2243
SSE: 5192.3601
PCHA archetype R²: 0.2243
Archetype shape: (4, 50)
[OK] Initialized 4 archetypes using PCHA
Scalar Archetypal Inflation (factor: 1.50)
[OK] Inflation complete
[STATS] Positioning verification:
Data radius (max): 21.726
Data radius (mean): 6.606
Archetype distances: 4.250 to 27.434
Archetypes outside data: 1/4
Min archetype separation: 6.938
[OK] Archetype initialization complete (success: True)
[OK] Archetype initialization complete (PCHA: True, Inflation: 1.5)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0029, max=0.9286, mean=0.2500
Batch reconstruction MSE: 0.9624
Archetype stats: min=-2.1342, max=2.1594
Archetype gradients: norm=0.013876, mean=0.000773
Epoch 1/1
Average loss: 0.8913
Archetypal loss: 0.9880
KLD loss: 0.0204
Reconstruction loss: 0.9880
Archetype R²: -0.0151
Archetype transform grad norm: 0.204508
Archetype transform param norm: 5.7874
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.8913 (range: 0.8913 - 0.8913)
archetypal_loss: 0.9880 (range: 0.9880 - 0.9880)
kld_loss: 0.0204 (range: 0.0204 - 0.0204)
reconstruction_loss: 0.9880 (range: 0.9880 - 0.9880)
archetype_r2: -0.0151 (range: -0.0151 - -0.0151)
Archetype Transform Summary:
archetype_transform_mean: 0.001056 (range: 0.001056 - 0.001056)
archetype_transform_std: 0.081040 (range: 0.081040 - 0.081040)
archetype_transform_norm: 5.787382 (range: 5.787382 - 5.787382)
archetype_transform_grad_norm: 0.204508 (range: 0.204508 - 0.204508)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0000, max=0.9795, mean=0.2500
Batch reconstruction MSE: 0.8551
Archetype stats: min=-0.9461, max=0.8123
Archetype change since last debug: 5.267854
Archetype gradients: norm=0.004690, mean=0.000230
Epoch 1/1
Average loss: 0.8824
Archetypal loss: 0.9750
KLD loss: 0.0494
Reconstruction loss: 0.9750
Archetype R²: -0.0017
Archetype transform grad norm: 0.161111
Archetype transform param norm: 5.7939
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.8824 (range: 0.8824 - 0.8824)
archetypal_loss: 0.9750 (range: 0.9750 - 0.9750)
kld_loss: 0.0494 (range: 0.0494 - 0.0494)
reconstruction_loss: 0.9750 (range: 0.9750 - 0.9750)
archetype_r2: -0.0017 (range: -0.0017 - -0.0017)
Archetype Transform Summary:
archetype_transform_mean: 0.001046 (range: 0.001046 - 0.001046)
archetype_transform_std: 0.081132 (range: 0.081132 - 0.081132)
archetype_transform_norm: 5.793873 (range: 5.793873 - 5.793873)
archetype_transform_grad_norm: 0.161111 (range: 0.161111 - 0.161111)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0010, max=0.9675, mean=0.2500
Batch reconstruction MSE: 0.8724
Archetype stats: min=-1.4249, max=1.2818
Archetype change since last debug: 2.497315
Archetype gradients: norm=0.004946, mean=0.000261
Epoch 1/1
Average loss: 0.8753
Archetypal loss: 0.9666
KLD loss: 0.0541
Reconstruction loss: 0.9666
Archetype R²: 0.0067
Archetype transform grad norm: 0.183725
Archetype transform param norm: 5.8509
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.8753 (range: 0.8753 - 0.8753)
archetypal_loss: 0.9666 (range: 0.9666 - 0.9666)
kld_loss: 0.0541 (range: 0.0541 - 0.0541)
reconstruction_loss: 0.9666 (range: 0.9666 - 0.9666)
archetype_r2: 0.0067 (range: 0.0067 - 0.0067)
Archetype Transform Summary:
archetype_transform_mean: 0.001223 (range: 0.001223 - 0.001223)
archetype_transform_std: 0.081928 (range: 0.081928 - 0.081928)
archetype_transform_norm: 5.850896 (range: 5.850896 - 5.850896)
archetype_transform_grad_norm: 0.183725 (range: 0.183725 - 0.183725)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0034, max=0.9614, mean=0.2500
Batch reconstruction MSE: 0.8813
Archetype stats: min=-2.2622, max=2.2081
Archetype change since last debug: 4.039938
Archetype gradients: norm=0.006375, mean=0.000344
Epoch 1/1
Average loss: 0.8681
Archetypal loss: 0.9566
KLD loss: 0.0716
Reconstruction loss: 0.9566
Archetype R²: 0.0168
Archetype transform grad norm: 0.205742
Archetype transform param norm: 5.9737
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.8681 (range: 0.8681 - 0.8681)
archetypal_loss: 0.9566 (range: 0.9566 - 0.9566)
kld_loss: 0.0716 (range: 0.0716 - 0.0716)
reconstruction_loss: 0.9566 (range: 0.9566 - 0.9566)
archetype_r2: 0.0168 (range: 0.0168 - 0.0168)
Archetype Transform Summary:
archetype_transform_mean: 0.001443 (range: 0.001443 - 0.001443)
archetype_transform_std: 0.083644 (range: 0.083644 - 0.083644)
archetype_transform_norm: 5.973655 (range: 5.973655 - 5.973655)
archetype_transform_grad_norm: 0.205742 (range: 0.205742 - 0.205742)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0076, max=0.9244, mean=0.2500
Batch reconstruction MSE: 0.9189
Archetype stats: min=-3.0941, max=3.4021
Archetype change since last debug: 4.793384
Archetype gradients: norm=0.010446, mean=0.000580
Epoch 1/1
Average loss: 0.8594
Archetypal loss: 0.9450
KLD loss: 0.0892
Reconstruction loss: 0.9450
Archetype R²: 0.0286
Archetype transform grad norm: 0.224002
Archetype transform param norm: 6.1790
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.8594 (range: 0.8594 - 0.8594)
archetypal_loss: 0.9450 (range: 0.9450 - 0.9450)
kld_loss: 0.0892 (range: 0.0892 - 0.0892)
reconstruction_loss: 0.9450 (range: 0.9450 - 0.9450)
archetype_r2: 0.0286 (range: 0.0286 - 0.0286)
Archetype Transform Summary:
archetype_transform_mean: 0.001504 (range: 0.001504 - 0.001504)
archetype_transform_std: 0.086518 (range: 0.086518 - 0.086518)
archetype_transform_norm: 6.178980 (range: 6.178980 - 6.178980)
archetype_transform_grad_norm: 0.224002 (range: 0.224002 - 0.224002)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0034, max=0.9773, mean=0.2500
Batch reconstruction MSE: 0.9912
Archetype stats: min=-3.7552, max=4.5154
Archetype change since last debug: 5.554305
Archetype gradients: norm=0.057277, mean=0.002369
Epoch 1/1
Average loss: 0.8528
Archetypal loss: 0.9348
KLD loss: 0.1148
Reconstruction loss: 0.9348
Archetype R²: 0.0389
Archetype transform grad norm: 0.242518
Archetype transform param norm: 6.3952
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.8528 (range: 0.8528 - 0.8528)
archetypal_loss: 0.9348 (range: 0.9348 - 0.9348)
kld_loss: 0.1148 (range: 0.1148 - 0.1148)
reconstruction_loss: 0.9348 (range: 0.9348 - 0.9348)
archetype_r2: 0.0389 (range: 0.0389 - 0.0389)
Archetype Transform Summary:
archetype_transform_mean: 0.001541 (range: 0.001541 - 0.001541)
archetype_transform_std: 0.089546 (range: 0.089546 - 0.089546)
archetype_transform_norm: 6.395167 (range: 6.395167 - 6.395167)
archetype_transform_grad_norm: 0.242518 (range: 0.242518 - 0.242518)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0081, max=0.9122, mean=0.2500
Batch reconstruction MSE: 1.1764
Archetype stats: min=-4.7920, max=5.4803
Archetype change since last debug: 4.722064
Archetype gradients: norm=0.045279, mean=0.002381
Epoch 1/1
Average loss: 0.8510
Archetypal loss: 0.9316
KLD loss: 0.1252
Reconstruction loss: 0.9316
Archetype R²: 0.0415
Archetype transform grad norm: 0.279402
Archetype transform param norm: 6.5637
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.8510 (range: 0.8510 - 0.8510)
archetypal_loss: 0.9316 (range: 0.9316 - 0.9316)
kld_loss: 0.1252 (range: 0.1252 - 0.1252)
reconstruction_loss: 0.9316 (range: 0.9316 - 0.9316)
archetype_r2: 0.0415 (range: 0.0415 - 0.0415)
Archetype Transform Summary:
archetype_transform_mean: 0.001465 (range: 0.001465 - 0.001465)
archetype_transform_std: 0.091908 (range: 0.091908 - 0.091908)
archetype_transform_norm: 6.563707 (range: 6.563707 - 6.563707)
archetype_transform_grad_norm: 0.279402 (range: 0.279402 - 0.279402)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0087, max=0.9332, mean=0.2500
Batch reconstruction MSE: 1.2199
Archetype stats: min=-5.4805, max=5.4316
Archetype change since last debug: 3.926457
Archetype gradients: norm=0.136674, mean=0.006531
Epoch 1/1
Average loss: 0.8487
Archetypal loss: 0.9279
KLD loss: 0.1365
Reconstruction loss: 0.9279
Archetype R²: 0.0452
Archetype transform grad norm: 0.264121
Archetype transform param norm: 6.6374
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.8487 (range: 0.8487 - 0.8487)
archetypal_loss: 0.9279 (range: 0.9279 - 0.9279)
kld_loss: 0.1365 (range: 0.1365 - 0.1365)
reconstruction_loss: 0.9279 (range: 0.9279 - 0.9279)
archetype_r2: 0.0452 (range: 0.0452 - 0.0452)
Archetype Transform Summary:
archetype_transform_mean: 0.001450 (range: 0.001450 - 0.001450)
archetype_transform_std: 0.092941 (range: 0.092941 - 0.092941)
archetype_transform_norm: 6.637446 (range: 6.637446 - 6.637446)
archetype_transform_grad_norm: 0.264121 (range: 0.264121 - 0.264121)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0199, max=0.8355, mean=0.2500
Batch reconstruction MSE: 1.1050
Archetype stats: min=-6.4755, max=5.8730
Archetype change since last debug: 2.563744
Archetype gradients: norm=0.027406, mean=0.001337
Epoch 1/1
Average loss: 0.8411
Archetypal loss: 0.9220
KLD loss: 0.1126
Reconstruction loss: 0.9220
Archetype R²: 0.0515
Archetype transform grad norm: 0.267841
Archetype transform param norm: 6.7326
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.8411 (range: 0.8411 - 0.8411)
archetypal_loss: 0.9220 (range: 0.9220 - 0.9220)
kld_loss: 0.1126 (range: 0.1126 - 0.1126)
reconstruction_loss: 0.9220 (range: 0.9220 - 0.9220)
archetype_r2: 0.0515 (range: 0.0515 - 0.0515)
Archetype Transform Summary:
archetype_transform_mean: 0.001372 (range: 0.001372 - 0.001372)
archetype_transform_std: 0.094274 (range: 0.094274 - 0.094274)
archetype_transform_norm: 6.732564 (range: 6.732564 - 6.732564)
archetype_transform_grad_norm: 0.267841 (range: 0.267841 - 0.267841)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0089, max=0.8747, mean=0.2500
Batch reconstruction MSE: 0.9842
Archetype stats: min=-7.1331, max=6.0388
Archetype change since last debug: 2.668117
Archetype gradients: norm=0.080990, mean=0.003380
Epoch 1/1
Average loss: 0.8369
Archetypal loss: 0.9167
KLD loss: 0.1188
Reconstruction loss: 0.9167
Archetype R²: 0.0574
Archetype transform grad norm: 0.252441
Archetype transform param norm: 6.8165
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.8369 (range: 0.8369 - 0.8369)
archetypal_loss: 0.9167 (range: 0.9167 - 0.9167)
kld_loss: 0.1188 (range: 0.1188 - 0.1188)
reconstruction_loss: 0.9167 (range: 0.9167 - 0.9167)
archetype_r2: 0.0574 (range: 0.0574 - 0.0574)
Archetype Transform Summary:
archetype_transform_mean: 0.001373 (range: 0.001373 - 0.001373)
archetype_transform_std: 0.095449 (range: 0.095449 - 0.095449)
archetype_transform_norm: 6.816486 (range: 6.816486 - 6.816486)
archetype_transform_grad_norm: 0.252441 (range: 0.252441 - 0.252441)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0214, max=0.8814, mean=0.2500
Batch reconstruction MSE: 0.9800
Archetype stats: min=-8.1408, max=6.6061
Archetype change since last debug: 2.678542
Archetype gradients: norm=0.034060, mean=0.001896
Epoch 1/1
Average loss: 0.8340
Archetypal loss: 0.9149
KLD loss: 0.1063
Reconstruction loss: 0.9149
Archetype R²: 0.0593
Archetype transform grad norm: 0.264688
Archetype transform param norm: 6.9108
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.8340 (range: 0.8340 - 0.8340)
archetypal_loss: 0.9149 (range: 0.9149 - 0.9149)
kld_loss: 0.1063 (range: 0.1063 - 0.1063)
reconstruction_loss: 0.9149 (range: 0.9149 - 0.9149)
archetype_r2: 0.0593 (range: 0.0593 - 0.0593)
Archetype Transform Summary:
archetype_transform_mean: 0.001412 (range: 0.001412 - 0.001412)
archetype_transform_std: 0.096770 (range: 0.096770 - 0.096770)
archetype_transform_norm: 6.910808 (range: 6.910808 - 6.910808)
archetype_transform_grad_norm: 0.264688 (range: 0.264688 - 0.264688)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0104, max=0.9211, mean=0.2500
Batch reconstruction MSE: 0.9384
Archetype stats: min=-9.1910, max=7.0653
Archetype change since last debug: 2.447848
Archetype gradients: norm=0.088841, mean=0.003299
Epoch 1/1
Average loss: 0.8319
Archetypal loss: 0.9125
KLD loss: 0.1064
Reconstruction loss: 0.9125
Archetype R²: 0.0619
Archetype transform grad norm: 0.265100
Archetype transform param norm: 6.9732
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.8319 (range: 0.8319 - 0.8319)
archetypal_loss: 0.9125 (range: 0.9125 - 0.9125)
kld_loss: 0.1064 (range: 0.1064 - 0.1064)
reconstruction_loss: 0.9125 (range: 0.9125 - 0.9125)
archetype_r2: 0.0619 (range: 0.0619 - 0.0619)
Archetype Transform Summary:
archetype_transform_mean: 0.001392 (range: 0.001392 - 0.001392)
archetype_transform_std: 0.097644 (range: 0.097644 - 0.097644)
archetype_transform_norm: 6.973189 (range: 6.973189 - 6.973189)
archetype_transform_grad_norm: 0.265100 (range: 0.265100 - 0.265100)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0243, max=0.7779, mean=0.2500
Batch reconstruction MSE: 1.0930
Archetype stats: min=-10.0187, max=7.6363
Archetype change since last debug: 2.450880
Archetype gradients: norm=0.059967, mean=0.003231
Epoch 1/1
Average loss: 0.8334
Archetypal loss: 0.9148
KLD loss: 0.1009
Reconstruction loss: 0.9148
Archetype R²: 0.0590
Archetype transform grad norm: 0.289591
Archetype transform param norm: 7.0275
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.8334 (range: 0.8334 - 0.8334)
archetypal_loss: 0.9148 (range: 0.9148 - 0.9148)
kld_loss: 0.1009 (range: 0.1009 - 0.1009)
reconstruction_loss: 0.9148 (range: 0.9148 - 0.9148)
archetype_r2: 0.0590 (range: 0.0590 - 0.0590)
Archetype Transform Summary:
archetype_transform_mean: 0.001412 (range: 0.001412 - 0.001412)
archetype_transform_std: 0.098404 (range: 0.098404 - 0.098404)
archetype_transform_norm: 7.027518 (range: 7.027518 - 7.027518)
archetype_transform_grad_norm: 0.289591 (range: 0.289591 - 0.289591)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0201, max=0.7598, mean=0.2500
Batch reconstruction MSE: 1.2173
Archetype stats: min=-10.6978, max=7.5366
Archetype change since last debug: 1.713792
Archetype gradients: norm=0.094908, mean=0.004721
Epoch 1/1
Average loss: 0.8388
Archetypal loss: 0.9185
KLD loss: 0.1217
Reconstruction loss: 0.9185
Archetype R²: 0.0548
Archetype transform grad norm: 0.322588
Archetype transform param norm: 7.0327
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.8388 (range: 0.8388 - 0.8388)
archetypal_loss: 0.9185 (range: 0.9185 - 0.9185)
kld_loss: 0.1217 (range: 0.1217 - 0.1217)
reconstruction_loss: 0.9185 (range: 0.9185 - 0.9185)
archetype_r2: 0.0548 (range: 0.0548 - 0.0548)
Archetype Transform Summary:
archetype_transform_mean: 0.001239 (range: 0.001239 - 0.001239)
archetype_transform_std: 0.098480 (range: 0.098480 - 0.098480)
archetype_transform_norm: 7.032712 (range: 7.032712 - 7.032712)
archetype_transform_grad_norm: 0.322588 (range: 0.322588 - 0.322588)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0179, max=0.7090, mean=0.2500
Batch reconstruction MSE: 1.2885
Archetype stats: min=-9.8260, max=7.6754
Archetype change since last debug: 2.797525
Archetype gradients: norm=0.122136, mean=0.006484
Epoch 1/1
Average loss: 0.8379
Archetypal loss: 0.9185
KLD loss: 0.1133
Reconstruction loss: 0.9185
Archetype R²: 0.0546
Archetype transform grad norm: 0.294453
Archetype transform param norm: 7.0084
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.8379 (range: 0.8379 - 0.8379)
archetypal_loss: 0.9185 (range: 0.9185 - 0.9185)
kld_loss: 0.1133 (range: 0.1133 - 0.1133)
reconstruction_loss: 0.9185 (range: 0.9185 - 0.9185)
archetype_r2: 0.0546 (range: 0.0546 - 0.0546)
Archetype Transform Summary:
archetype_transform_mean: 0.001299 (range: 0.001299 - 0.001299)
archetype_transform_std: 0.098139 (range: 0.098139 - 0.098139)
archetype_transform_norm: 7.008427 (range: 7.008427 - 7.008427)
archetype_transform_grad_norm: 0.294453 (range: 0.294453 - 0.294453)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0195, max=0.6928, mean=0.2500
Batch reconstruction MSE: 1.0370
Archetype stats: min=-9.7788, max=7.5411
Archetype change since last debug: 1.187418
Archetype gradients: norm=0.043426, mean=0.002194
Epoch 1/1
Average loss: 0.8296
Archetypal loss: 0.9112
KLD loss: 0.0959
Reconstruction loss: 0.9112
Archetype R²: 0.0629
Archetype transform grad norm: 0.255075
Archetype transform param norm: 7.0509
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.8296 (range: 0.8296 - 0.8296)
archetypal_loss: 0.9112 (range: 0.9112 - 0.9112)
kld_loss: 0.0959 (range: 0.0959 - 0.0959)
reconstruction_loss: 0.9112 (range: 0.9112 - 0.9112)
archetype_r2: 0.0629 (range: 0.0629 - 0.0629)
Archetype Transform Summary:
archetype_transform_mean: 0.001290 (range: 0.001290 - 0.001290)
archetype_transform_std: 0.098733 (range: 0.098733 - 0.098733)
archetype_transform_norm: 7.050883 (range: 7.050883 - 7.050883)
archetype_transform_grad_norm: 0.255075 (range: 0.255075 - 0.255075)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0407, max=0.6064, mean=0.2500
Batch reconstruction MSE: 0.8989
Archetype stats: min=-10.1505, max=7.9482
Archetype change since last debug: 1.509099
Archetype gradients: norm=0.025349, mean=0.001422
Epoch 1/1
Average loss: 0.8265
Archetypal loss: 0.9074
KLD loss: 0.0981
Reconstruction loss: 0.9074
Archetype R²: 0.0671
Archetype transform grad norm: 0.261386
Archetype transform param norm: 7.1224
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.8265 (range: 0.8265 - 0.8265)
archetypal_loss: 0.9074 (range: 0.9074 - 0.9074)
kld_loss: 0.0981 (range: 0.0981 - 0.0981)
reconstruction_loss: 0.9074 (range: 0.9074 - 0.9074)
archetype_r2: 0.0671 (range: 0.0671 - 0.0671)
Archetype Transform Summary:
archetype_transform_mean: 0.001300 (range: 0.001300 - 0.001300)
archetype_transform_std: 0.099735 (range: 0.099735 - 0.099735)
archetype_transform_norm: 7.122411 (range: 7.122411 - 7.122411)
archetype_transform_grad_norm: 0.261386 (range: 0.261386 - 0.261386)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0279, max=0.7684, mean=0.2500
Batch reconstruction MSE: 0.9441
Archetype stats: min=-10.8471, max=8.4089
Archetype change since last debug: 2.045494
Archetype gradients: norm=0.037461, mean=0.001935
Epoch 1/1
Average loss: 0.8259
Archetypal loss: 0.9077
KLD loss: 0.0890
Reconstruction loss: 0.9077
Archetype R²: 0.0666
Archetype transform grad norm: 0.266460
Archetype transform param norm: 7.1815
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.8259 (range: 0.8259 - 0.8259)
archetypal_loss: 0.9077 (range: 0.9077 - 0.9077)
kld_loss: 0.0890 (range: 0.0890 - 0.0890)
reconstruction_loss: 0.9077 (range: 0.9077 - 0.9077)
archetype_r2: 0.0666 (range: 0.0666 - 0.0666)
Archetype Transform Summary:
archetype_transform_mean: 0.001318 (range: 0.001318 - 0.001318)
archetype_transform_std: 0.100562 (range: 0.100562 - 0.100562)
archetype_transform_norm: 7.181466 (range: 7.181466 - 7.181466)
archetype_transform_grad_norm: 0.266460 (range: 0.266460 - 0.266460)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0435, max=0.5726, mean=0.2500
Batch reconstruction MSE: 0.8963
Archetype stats: min=-11.3909, max=8.8212
Archetype change since last debug: 1.580723
Archetype gradients: norm=0.039954, mean=0.002216
Epoch 1/1
Average loss: 0.8256
Archetypal loss: 0.9067
KLD loss: 0.0953
Reconstruction loss: 0.9067
Archetype R²: 0.0678
Archetype transform grad norm: 0.288786
Archetype transform param norm: 7.2411
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.8256 (range: 0.8256 - 0.8256)
archetypal_loss: 0.9067 (range: 0.9067 - 0.9067)
kld_loss: 0.0953 (range: 0.0953 - 0.0953)
reconstruction_loss: 0.9067 (range: 0.9067 - 0.9067)
archetype_r2: 0.0678 (range: 0.0678 - 0.0678)
Archetype Transform Summary:
archetype_transform_mean: 0.001319 (range: 0.001319 - 0.001319)
archetype_transform_std: 0.101397 (range: 0.101397 - 0.101397)
archetype_transform_norm: 7.241091 (range: 7.241091 - 7.241091)
archetype_transform_grad_norm: 0.288786 (range: 0.288786 - 0.288786)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0204, max=0.7627, mean=0.2500
Batch reconstruction MSE: 1.1401
Archetype stats: min=-12.0944, max=9.1707
Archetype change since last debug: 1.711157
Archetype gradients: norm=0.078060, mean=0.003994
Epoch 1/1
Average loss: 0.8301
Archetypal loss: 0.9125
KLD loss: 0.0889
Reconstruction loss: 0.9125
Archetype R²: 0.0611
Archetype transform grad norm: 0.312189
Archetype transform param norm: 7.2446
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.8301 (range: 0.8301 - 0.8301)
archetypal_loss: 0.9125 (range: 0.9125 - 0.9125)
kld_loss: 0.0889 (range: 0.0889 - 0.0889)
reconstruction_loss: 0.9125 (range: 0.9125 - 0.9125)
archetype_r2: 0.0611 (range: 0.0611 - 0.0611)
Archetype Transform Summary:
archetype_transform_mean: 0.001315 (range: 0.001315 - 0.001315)
archetype_transform_std: 0.101446 (range: 0.101446 - 0.101446)
archetype_transform_norm: 7.244560 (range: 7.244560 - 7.244560)
archetype_transform_grad_norm: 0.312189 (range: 0.312189 - 0.312189)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0542, max=0.6007, mean=0.2500
Batch reconstruction MSE: 1.0768
Archetype stats: min=-11.7472, max=9.2356
Archetype change since last debug: 1.115526
Archetype gradients: norm=0.108942, mean=0.005270
Epoch 1/1
Average loss: 0.8298
Archetypal loss: 0.9113
KLD loss: 0.0959
Reconstruction loss: 0.9113
Archetype R²: 0.0625
Archetype transform grad norm: 0.312597
Archetype transform param norm: 7.2391
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.8298 (range: 0.8298 - 0.8298)
archetypal_loss: 0.9113 (range: 0.9113 - 0.9113)
kld_loss: 0.0959 (range: 0.0959 - 0.0959)
reconstruction_loss: 0.9113 (range: 0.9113 - 0.9113)
archetype_r2: 0.0625 (range: 0.0625 - 0.0625)
Archetype Transform Summary:
archetype_transform_mean: 0.001290 (range: 0.001290 - 0.001290)
archetype_transform_std: 0.101369 (range: 0.101369 - 0.101369)
archetype_transform_norm: 7.239053 (range: 7.239053 - 7.239053)
archetype_transform_grad_norm: 0.312597 (range: 0.312597 - 0.312597)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0373, max=0.6944, mean=0.2500
Batch reconstruction MSE: 1.0638
Archetype stats: min=-12.0545, max=9.0511
Archetype change since last debug: 1.329022
Archetype gradients: norm=0.095934, mean=0.005442
Epoch 1/1
Average loss: 0.8290
Archetypal loss: 0.9102
KLD loss: 0.0981
Reconstruction loss: 0.9102
Archetype R²: 0.0636
Archetype transform grad norm: 0.306073
Archetype transform param norm: 7.2555
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.8290 (range: 0.8290 - 0.8290)
archetypal_loss: 0.9102 (range: 0.9102 - 0.9102)
kld_loss: 0.0981 (range: 0.0981 - 0.0981)
reconstruction_loss: 0.9102 (range: 0.9102 - 0.9102)
archetype_r2: 0.0636 (range: 0.0636 - 0.0636)
Archetype Transform Summary:
archetype_transform_mean: 0.001327 (range: 0.001327 - 0.001327)
archetype_transform_std: 0.101599 (range: 0.101599 - 0.101599)
archetype_transform_norm: 7.255501 (range: 7.255501 - 7.255501)
archetype_transform_grad_norm: 0.306073 (range: 0.306073 - 0.306073)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0477, max=0.6923, mean=0.2500
Batch reconstruction MSE: 1.1243
Archetype stats: min=-11.7560, max=9.2637
Archetype change since last debug: 1.277793
Archetype gradients: norm=0.165140, mean=0.007121
Epoch 1/1
Average loss: 0.8286
Archetypal loss: 0.9109
KLD loss: 0.0877
Reconstruction loss: 0.9109
Archetype R²: 0.0627
Archetype transform grad norm: 0.296367
Archetype transform param norm: 7.2331
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.8286 (range: 0.8286 - 0.8286)
archetypal_loss: 0.9109 (range: 0.9109 - 0.9109)
kld_loss: 0.0877 (range: 0.0877 - 0.0877)
reconstruction_loss: 0.9109 (range: 0.9109 - 0.9109)
archetype_r2: 0.0627 (range: 0.0627 - 0.0627)
Archetype Transform Summary:
archetype_transform_mean: 0.001293 (range: 0.001293 - 0.001293)
archetype_transform_std: 0.101285 (range: 0.101285 - 0.101285)
archetype_transform_norm: 7.233067 (range: 7.233067 - 7.233067)
archetype_transform_grad_norm: 0.296367 (range: 0.296367 - 0.296367)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0418, max=0.6362, mean=0.2500
Batch reconstruction MSE: 0.9193
Archetype stats: min=-12.0727, max=8.7587
Archetype change since last debug: 1.491811
Archetype gradients: norm=0.055633, mean=0.003058
Epoch 1/1
Average loss: 0.8243
Archetypal loss: 0.9053
KLD loss: 0.0956
Reconstruction loss: 0.9053
Archetype R²: 0.0690
Archetype transform grad norm: 0.275821
Archetype transform param norm: 7.2758
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.8243 (range: 0.8243 - 0.8243)
archetypal_loss: 0.9053 (range: 0.9053 - 0.9053)
kld_loss: 0.0956 (range: 0.0956 - 0.0956)
reconstruction_loss: 0.9053 (range: 0.9053 - 0.9053)
archetype_r2: 0.0690 (range: 0.0690 - 0.0690)
Archetype Transform Summary:
archetype_transform_mean: 0.001357 (range: 0.001357 - 0.001357)
archetype_transform_std: 0.101882 (range: 0.101882 - 0.101882)
archetype_transform_norm: 7.275786 (range: 7.275786 - 7.275786)
archetype_transform_grad_norm: 0.275821 (range: 0.275821 - 0.275821)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0263, max=0.6755, mean=0.2500
Batch reconstruction MSE: 0.9212
Archetype stats: min=-12.2801, max=9.1214
Archetype change since last debug: 1.369192
Archetype gradients: norm=0.068545, mean=0.002605
Epoch 1/1
Average loss: 0.8224
Archetypal loss: 0.9048
KLD loss: 0.0807
Reconstruction loss: 0.9048
Archetype R²: 0.0695
Archetype transform grad norm: 0.267493
Archetype transform param norm: 7.3101
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.8224 (range: 0.8224 - 0.8224)
archetypal_loss: 0.9048 (range: 0.9048 - 0.9048)
kld_loss: 0.0807 (range: 0.0807 - 0.0807)
reconstruction_loss: 0.9048 (range: 0.9048 - 0.9048)
archetype_r2: 0.0695 (range: 0.0695 - 0.0695)
Archetype Transform Summary:
archetype_transform_mean: 0.001346 (range: 0.001346 - 0.001346)
archetype_transform_std: 0.102363 (range: 0.102363 - 0.102363)
archetype_transform_norm: 7.310077 (range: 7.310077 - 7.310077)
archetype_transform_grad_norm: 0.267493 (range: 0.267493 - 0.267493)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0459, max=0.5989, mean=0.2500
Batch reconstruction MSE: 0.8634
Archetype stats: min=-12.8235, max=9.4128
Archetype change since last debug: 1.393334
Archetype gradients: norm=0.038806, mean=0.002150
Epoch 1/1
Average loss: 0.8219
Archetypal loss: 0.9034
KLD loss: 0.0877
Reconstruction loss: 0.9034
Archetype R²: 0.0710
Archetype transform grad norm: 0.274617
Archetype transform param norm: 7.3647
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.8219 (range: 0.8219 - 0.8219)
archetypal_loss: 0.9034 (range: 0.9034 - 0.9034)
kld_loss: 0.0877 (range: 0.0877 - 0.0877)
reconstruction_loss: 0.9034 (range: 0.9034 - 0.9034)
archetype_r2: 0.0710 (range: 0.0710 - 0.0710)
Archetype Transform Summary:
archetype_transform_mean: 0.001392 (range: 0.001392 - 0.001392)
archetype_transform_std: 0.103127 (range: 0.103127 - 0.103127)
archetype_transform_norm: 7.364718 (range: 7.364718 - 7.364718)
archetype_transform_grad_norm: 0.274617 (range: 0.274617 - 0.274617)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0279, max=0.5809, mean=0.2500
Batch reconstruction MSE: 1.0738
Archetype stats: min=-13.1311, max=9.7013
Archetype change since last debug: 1.399868
Archetype gradients: norm=0.085824, mean=0.003388
Epoch 1/1
Average loss: 0.8243
Archetypal loss: 0.9078
KLD loss: 0.0729
Reconstruction loss: 0.9078
Archetype R²: 0.0659
Archetype transform grad norm: 0.275330
Archetype transform param norm: 7.3655
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.8243 (range: 0.8243 - 0.8243)
archetypal_loss: 0.9078 (range: 0.9078 - 0.9078)
kld_loss: 0.0729 (range: 0.0729 - 0.0729)
reconstruction_loss: 0.9078 (range: 0.9078 - 0.9078)
archetype_r2: 0.0659 (range: 0.0659 - 0.0659)
Archetype Transform Summary:
archetype_transform_mean: 0.001368 (range: 0.001368 - 0.001368)
archetype_transform_std: 0.103139 (range: 0.103139 - 0.103139)
archetype_transform_norm: 7.365542 (range: 7.365542 - 7.365542)
archetype_transform_grad_norm: 0.275330 (range: 0.275330 - 0.275330)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0617, max=0.5790, mean=0.2500
Batch reconstruction MSE: 0.8678
Archetype stats: min=-13.1421, max=9.6868
Archetype change since last debug: 0.714062
Archetype gradients: norm=0.035898, mean=0.001908
Epoch 1/1
Average loss: 0.8224
Archetypal loss: 0.9032
KLD loss: 0.0952
Reconstruction loss: 0.9032
Archetype R²: 0.0713
Archetype transform grad norm: 0.278164
Archetype transform param norm: 7.4088
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.8224 (range: 0.8224 - 0.8224)
archetypal_loss: 0.9032 (range: 0.9032 - 0.9032)
kld_loss: 0.0952 (range: 0.0952 - 0.0952)
reconstruction_loss: 0.9032 (range: 0.9032 - 0.9032)
archetype_r2: 0.0713 (range: 0.0713 - 0.0713)
Archetype Transform Summary:
archetype_transform_mean: 0.001423 (range: 0.001423 - 0.001423)
archetype_transform_std: 0.103745 (range: 0.103745 - 0.103745)
archetype_transform_norm: 7.408823 (range: 7.408823 - 7.408823)
archetype_transform_grad_norm: 0.278164 (range: 0.278164 - 0.278164)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0345, max=0.5875, mean=0.2500
Batch reconstruction MSE: 1.0691
Archetype stats: min=-13.5257, max=10.0613
Archetype change since last debug: 1.337050
Archetype gradients: norm=0.067169, mean=0.003287
Epoch 1/1
Average loss: 0.8239
Archetypal loss: 0.9073
KLD loss: 0.0730
Reconstruction loss: 0.9073
Archetype R²: 0.0664
Archetype transform grad norm: 0.283877
Archetype transform param norm: 7.4096
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.8239 (range: 0.8239 - 0.8239)
archetypal_loss: 0.9073 (range: 0.9073 - 0.9073)
kld_loss: 0.0730 (range: 0.0730 - 0.0730)
reconstruction_loss: 0.9073 (range: 0.9073 - 0.9073)
archetype_r2: 0.0664 (range: 0.0664 - 0.0664)
Archetype Transform Summary:
archetype_transform_mean: 0.001328 (range: 0.001328 - 0.001328)
archetype_transform_std: 0.103756 (range: 0.103756 - 0.103756)
archetype_transform_norm: 7.409567 (range: 7.409567 - 7.409567)
archetype_transform_grad_norm: 0.283877 (range: 0.283877 - 0.283877)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0658, max=0.5979, mean=0.2500
Batch reconstruction MSE: 0.8797
Archetype stats: min=-13.3480, max=9.8686
Archetype change since last debug: 0.772323
Archetype gradients: norm=0.039378, mean=0.001977
Epoch 1/1
Average loss: 0.8217
Archetypal loss: 0.9032
KLD loss: 0.0884
Reconstruction loss: 0.9032
Archetype R²: 0.0711
Archetype transform grad norm: 0.279323
Archetype transform param norm: 7.4395
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.8217 (range: 0.8217 - 0.8217)
archetypal_loss: 0.9032 (range: 0.9032 - 0.9032)
kld_loss: 0.0884 (range: 0.0884 - 0.0884)
reconstruction_loss: 0.9032 (range: 0.9032 - 0.9032)
archetype_r2: 0.0711 (range: 0.0711 - 0.0711)
Archetype Transform Summary:
archetype_transform_mean: 0.001426 (range: 0.001426 - 0.001426)
archetype_transform_std: 0.104174 (range: 0.104174 - 0.104174)
archetype_transform_norm: 7.439461 (range: 7.439461 - 7.439461)
archetype_transform_grad_norm: 0.279323 (range: 0.279323 - 0.279323)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0368, max=0.5711, mean=0.2500
Batch reconstruction MSE: 1.0433
Archetype stats: min=-13.9100, max=10.3533
Archetype change since last debug: 1.366034
Archetype gradients: norm=0.049028, mean=0.002491
Epoch 1/1
Average loss: 0.8236
Archetypal loss: 0.9068
KLD loss: 0.0743
Reconstruction loss: 0.9068
Archetype R²: 0.0669
Archetype transform grad norm: 0.299474
Archetype transform param norm: 7.4506
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.8236 (range: 0.8236 - 0.8236)
archetypal_loss: 0.9068 (range: 0.9068 - 0.9068)
kld_loss: 0.0743 (range: 0.0743 - 0.0743)
reconstruction_loss: 0.9068 (range: 0.9068 - 0.9068)
archetype_r2: 0.0669 (range: 0.0669 - 0.0669)
Archetype Transform Summary:
archetype_transform_mean: 0.001356 (range: 0.001356 - 0.001356)
archetype_transform_std: 0.104330 (range: 0.104330 - 0.104330)
archetype_transform_norm: 7.450579 (range: 7.450579 - 7.450579)
archetype_transform_grad_norm: 0.299474 (range: 0.299474 - 0.299474)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0510, max=0.6479, mean=0.2500
Batch reconstruction MSE: 0.9986
Archetype stats: min=-13.4769, max=10.1301
Archetype change since last debug: 1.026888
Archetype gradients: norm=0.084279, mean=0.004631
Epoch 1/1
Average loss: 0.8240
Archetypal loss: 0.9059
KLD loss: 0.0865
Reconstruction loss: 0.9059
Archetype R²: 0.0679
Archetype transform grad norm: 0.298698
Archetype transform param norm: 7.4455
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.8240 (range: 0.8240 - 0.8240)
archetypal_loss: 0.9059 (range: 0.9059 - 0.9059)
kld_loss: 0.0865 (range: 0.0865 - 0.0865)
reconstruction_loss: 0.9059 (range: 0.9059 - 0.9059)
archetype_r2: 0.0679 (range: 0.0679 - 0.0679)
Archetype Transform Summary:
archetype_transform_mean: 0.001472 (range: 0.001472 - 0.001472)
archetype_transform_std: 0.104258 (range: 0.104258 - 0.104258)
archetype_transform_norm: 7.445500 (range: 7.445500 - 7.445500)
archetype_transform_grad_norm: 0.298698 (range: 0.298698 - 0.298698)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0429, max=0.5406, mean=0.2500
Batch reconstruction MSE: 1.0212
Archetype stats: min=-13.8464, max=10.1980
Archetype change since last debug: 0.914121
Archetype gradients: norm=0.060366, mean=0.003012
Epoch 1/1
Average loss: 0.8236
Archetypal loss: 0.9064
KLD loss: 0.0782
Reconstruction loss: 0.9064
Archetype R²: 0.0672
Archetype transform grad norm: 0.312714
Archetype transform param norm: 7.4609
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.8236 (range: 0.8236 - 0.8236)
archetypal_loss: 0.9064 (range: 0.9064 - 0.9064)
kld_loss: 0.0782 (range: 0.0782 - 0.0782)
reconstruction_loss: 0.9064 (range: 0.9064 - 0.9064)
archetype_r2: 0.0672 (range: 0.0672 - 0.0672)
Archetype Transform Summary:
archetype_transform_mean: 0.001357 (range: 0.001357 - 0.001357)
archetype_transform_std: 0.104475 (range: 0.104475 - 0.104475)
archetype_transform_norm: 7.460877 (range: 7.460877 - 7.460877)
archetype_transform_grad_norm: 0.312714 (range: 0.312714 - 0.312714)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0657, max=0.5957, mean=0.2500
Batch reconstruction MSE: 1.0045
Archetype stats: min=-13.3704, max=10.3631
Archetype change since last debug: 1.138080
Archetype gradients: norm=0.088783, mean=0.004913
Epoch 1/1
Average loss: 0.8229
Archetypal loss: 0.9057
KLD loss: 0.0786
Reconstruction loss: 0.9057
Archetype R²: 0.0681
Archetype transform grad norm: 0.299704
Archetype transform param norm: 7.4545
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.8229 (range: 0.8229 - 0.8229)
archetypal_loss: 0.9057 (range: 0.9057 - 0.9057)
kld_loss: 0.0786 (range: 0.0786 - 0.0786)
reconstruction_loss: 0.9057 (range: 0.9057 - 0.9057)
archetype_r2: 0.0681 (range: 0.0681 - 0.0681)
Archetype Transform Summary:
archetype_transform_mean: 0.001461 (range: 0.001461 - 0.001461)
archetype_transform_std: 0.104383 (range: 0.104383 - 0.104383)
archetype_transform_norm: 7.454469 (range: 7.454469 - 7.454469)
archetype_transform_grad_norm: 0.299704 (range: 0.299704 - 0.299704)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0585, max=0.5757, mean=0.2500
Batch reconstruction MSE: 0.8882
Archetype stats: min=-13.7063, max=10.2666
Archetype change since last debug: 0.850684
Archetype gradients: norm=0.039911, mean=0.002007
Epoch 1/1
Average loss: 0.8201
Archetypal loss: 0.9027
KLD loss: 0.0773
Reconstruction loss: 0.9027
Archetype R²: 0.0715
Archetype transform grad norm: 0.293616
Archetype transform param norm: 7.4973
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.8201 (range: 0.8201 - 0.8201)
archetypal_loss: 0.9027 (range: 0.9027 - 0.9027)
kld_loss: 0.0773 (range: 0.0773 - 0.0773)
reconstruction_loss: 0.9027 (range: 0.9027 - 0.9027)
archetype_r2: 0.0715 (range: 0.0715 - 0.0715)
Archetype Transform Summary:
archetype_transform_mean: 0.001425 (range: 0.001425 - 0.001425)
archetype_transform_std: 0.104983 (range: 0.104983 - 0.104983)
archetype_transform_norm: 7.497258 (range: 7.497258 - 7.497258)
archetype_transform_grad_norm: 0.293616 (range: 0.293616 - 0.293616)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0750, max=0.5256, mean=0.2500
Batch reconstruction MSE: 0.9563
Archetype stats: min=-13.5371, max=10.5749
Archetype change since last debug: 1.265624
Archetype gradients: norm=0.064664, mean=0.003655
Epoch 1/1
Average loss: 0.8210
Archetypal loss: 0.9041
KLD loss: 0.0727
Reconstruction loss: 0.9041
Archetype R²: 0.0698
Archetype transform grad norm: 0.297162
Archetype transform param norm: 7.5105
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.8210 (range: 0.8210 - 0.8210)
archetypal_loss: 0.9041 (range: 0.9041 - 0.9041)
kld_loss: 0.0727 (range: 0.0727 - 0.0727)
reconstruction_loss: 0.9041 (range: 0.9041 - 0.9041)
archetype_r2: 0.0698 (range: 0.0698 - 0.0698)
Archetype Transform Summary:
archetype_transform_mean: 0.001461 (range: 0.001461 - 0.001461)
archetype_transform_std: 0.105168 (range: 0.105168 - 0.105168)
archetype_transform_norm: 7.510451 (range: 7.510451 - 7.510451)
archetype_transform_grad_norm: 0.297162 (range: 0.297162 - 0.297162)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0576, max=0.6267, mean=0.2500
Batch reconstruction MSE: 0.8951
Archetype stats: min=-13.9783, max=10.5572
Archetype change since last debug: 0.906633
Archetype gradients: norm=0.043299, mean=0.002181
Epoch 1/1
Average loss: 0.8205
Archetypal loss: 0.9028
KLD loss: 0.0804
Reconstruction loss: 0.9028
Archetype R²: 0.0713
Archetype transform grad norm: 0.303479
Archetype transform param norm: 7.5456
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.8205 (range: 0.8205 - 0.8205)
archetypal_loss: 0.9028 (range: 0.9028 - 0.9028)
kld_loss: 0.0804 (range: 0.0804 - 0.0804)
reconstruction_loss: 0.9028 (range: 0.9028 - 0.9028)
archetype_r2: 0.0713 (range: 0.0713 - 0.0713)
Archetype Transform Summary:
archetype_transform_mean: 0.001436 (range: 0.001436 - 0.001436)
archetype_transform_std: 0.105660 (range: 0.105660 - 0.105660)
archetype_transform_norm: 7.545614 (range: 7.545614 - 7.545614)
archetype_transform_grad_norm: 0.303479 (range: 0.303479 - 0.303479)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0807, max=0.5443, mean=0.2500
Batch reconstruction MSE: 1.0791
Archetype stats: min=-13.7775, max=10.7995
Archetype change since last debug: 1.082366
Archetype gradients: norm=0.079177, mean=0.004428
Epoch 1/1
Average loss: 0.8233
Archetypal loss: 0.9070
KLD loss: 0.0702
Reconstruction loss: 0.9070
Archetype R²: 0.0664
Archetype transform grad norm: 0.311201
Archetype transform param norm: 7.5321
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.8233 (range: 0.8233 - 0.8233)
archetypal_loss: 0.9070 (range: 0.9070 - 0.9070)
kld_loss: 0.0702 (range: 0.0702 - 0.0702)
reconstruction_loss: 0.9070 (range: 0.9070 - 0.9070)
archetype_r2: 0.0664 (range: 0.0664 - 0.0664)
Archetype Transform Summary:
archetype_transform_mean: 0.001444 (range: 0.001444 - 0.001444)
archetype_transform_std: 0.105472 (range: 0.105472 - 0.105472)
archetype_transform_norm: 7.532150 (range: 7.532150 - 7.532150)
archetype_transform_grad_norm: 0.311201 (range: 0.311201 - 0.311201)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0739, max=0.6472, mean=0.2500
Batch reconstruction MSE: 0.9102
Archetype stats: min=-13.9651, max=10.6212
Archetype change since last debug: 1.165371
Archetype gradients: norm=0.038337, mean=0.002024
Epoch 1/1
Average loss: 0.8207
Archetypal loss: 0.9028
KLD loss: 0.0819
Reconstruction loss: 0.9028
Archetype R²: 0.0712
Archetype transform grad norm: 0.289276
Archetype transform param norm: 7.5526
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.8207 (range: 0.8207 - 0.8207)
archetypal_loss: 0.9028 (range: 0.9028 - 0.9028)
kld_loss: 0.0819 (range: 0.0819 - 0.0819)
reconstruction_loss: 0.9028 (range: 0.9028 - 0.9028)
archetype_r2: 0.0712 (range: 0.0712 - 0.0712)
Archetype Transform Summary:
archetype_transform_mean: 0.001444 (range: 0.001444 - 0.001444)
archetype_transform_std: 0.105758 (range: 0.105758 - 0.105758)
archetype_transform_norm: 7.552587 (range: 7.552587 - 7.552587)
archetype_transform_grad_norm: 0.289276 (range: 0.289276 - 0.289276)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0819, max=0.5199, mean=0.2500
Batch reconstruction MSE: 0.9873
Archetype stats: min=-13.9784, max=10.9258
Archetype change since last debug: 0.987091
Archetype gradients: norm=0.043054, mean=0.002282
Epoch 1/1
Average loss: 0.8208
Archetypal loss: 0.9045
KLD loss: 0.0673
Reconstruction loss: 0.9045
Archetype R²: 0.0692
Archetype transform grad norm: 0.296654
Archetype transform param norm: 7.5599
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.8208 (range: 0.8208 - 0.8208)
archetypal_loss: 0.9045 (range: 0.9045 - 0.9045)
kld_loss: 0.0673 (range: 0.0673 - 0.0673)
reconstruction_loss: 0.9045 (range: 0.9045 - 0.9045)
archetype_r2: 0.0692 (range: 0.0692 - 0.0692)
Archetype Transform Summary:
archetype_transform_mean: 0.001414 (range: 0.001414 - 0.001414)
archetype_transform_std: 0.105860 (range: 0.105860 - 0.105860)
archetype_transform_norm: 7.559881 (range: 7.559881 - 7.559881)
archetype_transform_grad_norm: 0.296654 (range: 0.296654 - 0.296654)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0570, max=0.7315, mean=0.2500
Batch reconstruction MSE: 0.8790
Archetype stats: min=-14.2799, max=10.9291
Archetype change since last debug: 0.870779
Archetype gradients: norm=0.031285, mean=0.001761
Epoch 1/1
Average loss: 0.8197
Archetypal loss: 0.9018
KLD loss: 0.0814
Reconstruction loss: 0.9018
Archetype R²: 0.0723
Archetype transform grad norm: 0.296150
Archetype transform param norm: 7.5810
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.8197 (range: 0.8197 - 0.8197)
archetypal_loss: 0.9018 (range: 0.9018 - 0.9018)
kld_loss: 0.0814 (range: 0.0814 - 0.0814)
reconstruction_loss: 0.9018 (range: 0.9018 - 0.9018)
archetype_r2: 0.0723 (range: 0.0723 - 0.0723)
Archetype Transform Summary:
archetype_transform_mean: 0.001423 (range: 0.001423 - 0.001423)
archetype_transform_std: 0.106156 (range: 0.106156 - 0.106156)
archetype_transform_norm: 7.580985 (range: 7.580985 - 7.580985)
archetype_transform_grad_norm: 0.296150 (range: 0.296150 - 0.296150)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0581, max=0.5957, mean=0.2500
Batch reconstruction MSE: 1.0435
Archetype stats: min=-14.4114, max=11.1531
Archetype change since last debug: 1.065198
Archetype gradients: norm=0.043909, mean=0.002369
Epoch 1/1
Average loss: 0.8214
Archetypal loss: 0.9054
KLD loss: 0.0653
Reconstruction loss: 0.9054
Archetype R²: 0.0680
Archetype transform grad norm: 0.306973
Archetype transform param norm: 7.5771
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.8214 (range: 0.8214 - 0.8214)
archetypal_loss: 0.9054 (range: 0.9054 - 0.9054)
kld_loss: 0.0653 (range: 0.0653 - 0.0653)
reconstruction_loss: 0.9054 (range: 0.9054 - 0.9054)
archetype_r2: 0.0680 (range: 0.0680 - 0.0680)
Archetype Transform Summary:
archetype_transform_mean: 0.001435 (range: 0.001435 - 0.001435)
archetype_transform_std: 0.106101 (range: 0.106101 - 0.106101)
archetype_transform_norm: 7.577066 (range: 7.577066 - 7.577066)
archetype_transform_grad_norm: 0.306973 (range: 0.306973 - 0.306973)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0521, max=0.6420, mean=0.2500
Batch reconstruction MSE: 0.9108
Archetype stats: min=-14.4448, max=11.0971
Archetype change since last debug: 1.043482
Archetype gradients: norm=0.061605, mean=0.003481
Epoch 1/1
Average loss: 0.8203
Archetypal loss: 0.9027
KLD loss: 0.0783
Reconstruction loss: 0.9027
Archetype R²: 0.0712
Archetype transform grad norm: 0.302467
Archetype transform param norm: 7.5820
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.8203 (range: 0.8203 - 0.8203)
archetypal_loss: 0.9027 (range: 0.9027 - 0.9027)
kld_loss: 0.0783 (range: 0.0783 - 0.0783)
reconstruction_loss: 0.9027 (range: 0.9027 - 0.9027)
archetype_r2: 0.0712 (range: 0.0712 - 0.0712)
Archetype Transform Summary:
archetype_transform_mean: 0.001417 (range: 0.001417 - 0.001417)
archetype_transform_std: 0.106170 (range: 0.106170 - 0.106170)
archetype_transform_norm: 7.581990 (range: 7.581990 - 7.581990)
archetype_transform_grad_norm: 0.302467 (range: 0.302467 - 0.302467)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0546, max=0.5348, mean=0.2500
Batch reconstruction MSE: 1.0334
Archetype stats: min=-14.5385, max=11.2946
Archetype change since last debug: 0.939732
Archetype gradients: norm=0.047650, mean=0.002645
Epoch 1/1
Average loss: 0.8219
Archetypal loss: 0.9058
KLD loss: 0.0670
Reconstruction loss: 0.9058
Archetype R²: 0.0677
Archetype transform grad norm: 0.319755
Archetype transform param norm: 7.5942
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.8219 (range: 0.8219 - 0.8219)
archetypal_loss: 0.9058 (range: 0.9058 - 0.9058)
kld_loss: 0.0670 (range: 0.0670 - 0.0670)
reconstruction_loss: 0.9058 (range: 0.9058 - 0.9058)
archetype_r2: 0.0677 (range: 0.0677 - 0.0677)
Archetype Transform Summary:
archetype_transform_mean: 0.001383 (range: 0.001383 - 0.001383)
archetype_transform_std: 0.106341 (range: 0.106341 - 0.106341)
archetype_transform_norm: 7.594179 (range: 7.594179 - 7.594179)
archetype_transform_grad_norm: 0.319755 (range: 0.319755 - 0.319755)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0414, max=0.7364, mean=0.2500
Batch reconstruction MSE: 1.0984
Archetype stats: min=-14.6256, max=11.3349
Archetype change since last debug: 1.391332
Archetype gradients: norm=0.143716, mean=0.007130
Epoch 1/1
Average loss: 0.8242
Archetypal loss: 0.9069
KLD loss: 0.0796
Reconstruction loss: 0.9069
Archetype R²: 0.0663
Archetype transform grad norm: 0.303822
Archetype transform param norm: 7.5384
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.8242 (range: 0.8242 - 0.8242)
archetypal_loss: 0.9069 (range: 0.9069 - 0.9069)
kld_loss: 0.0796 (range: 0.0796 - 0.0796)
reconstruction_loss: 0.9069 (range: 0.9069 - 0.9069)
archetype_r2: 0.0663 (range: 0.0663 - 0.0663)
Archetype Transform Summary:
archetype_transform_mean: 0.001355 (range: 0.001355 - 0.001355)
archetype_transform_std: 0.105560 (range: 0.105560 - 0.105560)
archetype_transform_norm: 7.538378 (range: 7.538378 - 7.538378)
archetype_transform_grad_norm: 0.303822 (range: 0.303822 - 0.303822)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0591, max=0.5740, mean=0.2500
Batch reconstruction MSE: 0.9998
Archetype stats: min=-14.6474, max=11.4732
Archetype change since last debug: 1.393026
Archetype gradients: norm=0.048751, mean=0.003039
Epoch 1/1
Average loss: 0.8207
Archetypal loss: 0.9038
KLD loss: 0.0724
Reconstruction loss: 0.9038
Archetype R²: 0.0697
Archetype transform grad norm: 0.293828
Archetype transform param norm: 7.5561
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.8207 (range: 0.8207 - 0.8207)
archetypal_loss: 0.9038 (range: 0.9038 - 0.9038)
kld_loss: 0.0724 (range: 0.0724 - 0.0724)
reconstruction_loss: 0.9038 (range: 0.9038 - 0.9038)
archetype_r2: 0.0697 (range: 0.0697 - 0.0697)
Archetype Transform Summary:
archetype_transform_mean: 0.001337 (range: 0.001337 - 0.001337)
archetype_transform_std: 0.105809 (range: 0.105809 - 0.105809)
archetype_transform_norm: 7.556104 (range: 7.556104 - 7.556104)
archetype_transform_grad_norm: 0.293828 (range: 0.293828 - 0.293828)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0640, max=0.6767, mean=0.2500
Batch reconstruction MSE: 0.9225
Archetype stats: min=-14.5986, max=11.3851
Archetype change since last debug: 0.815401
Archetype gradients: norm=0.088654, mean=0.004529
Epoch 1/1
Average loss: 0.8190
Archetypal loss: 0.9020
KLD loss: 0.0720
Reconstruction loss: 0.9020
Archetype R²: 0.0718
Archetype transform grad norm: 0.282131
Archetype transform param norm: 7.5513
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.8190 (range: 0.8190 - 0.8190)
archetypal_loss: 0.9020 (range: 0.9020 - 0.9020)
kld_loss: 0.0720 (range: 0.0720 - 0.0720)
reconstruction_loss: 0.9020 (range: 0.9020 - 0.9020)
archetype_r2: 0.0718 (range: 0.0718 - 0.0718)
Archetype Transform Summary:
archetype_transform_mean: 0.001390 (range: 0.001390 - 0.001390)
archetype_transform_std: 0.105741 (range: 0.105741 - 0.105741)
archetype_transform_norm: 7.551323 (range: 7.551323 - 7.551323)
archetype_transform_grad_norm: 0.282131 (range: 0.282131 - 0.282131)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0657, max=0.6197, mean=0.2500
Batch reconstruction MSE: 0.8944
Archetype stats: min=-15.0109, max=11.7254
Archetype change since last debug: 1.084551
Archetype gradients: norm=0.058361, mean=0.003434
Epoch 1/1
Average loss: 0.8185
Archetypal loss: 0.9013
KLD loss: 0.0731
Reconstruction loss: 0.9013
Archetype R²: 0.0726
Archetype transform grad norm: 0.294412
Archetype transform param norm: 7.5930
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.8185 (range: 0.8185 - 0.8185)
archetypal_loss: 0.9013 (range: 0.9013 - 0.9013)
kld_loss: 0.0731 (range: 0.0731 - 0.0731)
reconstruction_loss: 0.9013 (range: 0.9013 - 0.9013)
archetype_r2: 0.0726 (range: 0.0726 - 0.0726)
Archetype Transform Summary:
archetype_transform_mean: 0.001377 (range: 0.001377 - 0.001377)
archetype_transform_std: 0.106325 (range: 0.106325 - 0.106325)
archetype_transform_norm: 7.592985 (range: 7.592985 - 7.592985)
archetype_transform_grad_norm: 0.294412 (range: 0.294412 - 0.294412)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0285, max=0.6957, mean=0.2500
Batch reconstruction MSE: 0.9780
Archetype stats: min=-14.9418, max=11.6413
Archetype change since last debug: 1.009950
Archetype gradients: norm=0.127269, mean=0.006510
Epoch 1/1
Average loss: 0.8201
Archetypal loss: 0.9034
KLD loss: 0.0700
Reconstruction loss: 0.9034
Archetype R²: 0.0701
Archetype transform grad norm: 0.296718
Archetype transform param norm: 7.5752
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.8201 (range: 0.8201 - 0.8201)
archetypal_loss: 0.9034 (range: 0.9034 - 0.9034)
kld_loss: 0.0700 (range: 0.0700 - 0.0700)
reconstruction_loss: 0.9034 (range: 0.9034 - 0.9034)
archetype_r2: 0.0701 (range: 0.0701 - 0.0701)
Archetype Transform Summary:
archetype_transform_mean: 0.001443 (range: 0.001443 - 0.001443)
archetype_transform_std: 0.106075 (range: 0.106075 - 0.106075)
archetype_transform_norm: 7.575207 (range: 7.575207 - 7.575207)
archetype_transform_grad_norm: 0.296718 (range: 0.296718 - 0.296718)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0601, max=0.6125, mean=0.2500
Batch reconstruction MSE: 1.0096
Archetype stats: min=-15.4167, max=12.0304
Archetype change since last debug: 1.169956
Archetype gradients: norm=0.102713, mean=0.005477
Epoch 1/1
Average loss: 0.8214
Archetypal loss: 0.9045
KLD loss: 0.0737
Reconstruction loss: 0.9045
Archetype R²: 0.0689
Archetype transform grad norm: 0.326834
Archetype transform param norm: 7.5952
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.8214 (range: 0.8214 - 0.8214)
archetypal_loss: 0.9045 (range: 0.9045 - 0.9045)
kld_loss: 0.0737 (range: 0.0737 - 0.0737)
reconstruction_loss: 0.9045 (range: 0.9045 - 0.9045)
archetype_r2: 0.0689 (range: 0.0689 - 0.0689)
Archetype Transform Summary:
archetype_transform_mean: 0.001431 (range: 0.001431 - 0.001431)
archetype_transform_std: 0.106356 (range: 0.106356 - 0.106356)
archetype_transform_norm: 7.595247 (range: 7.595247 - 7.595247)
archetype_transform_grad_norm: 0.326834 (range: 0.326834 - 0.326834)
[OK] Completed in 52.6s
[STATS] Mean archetype R²: 0.0727
[STATS] Mean validation R²: 0.0727
đź§Ş Configuration 7/20: {'n_archetypes': 4, 'hidden_dims': [128], 'inflation_factor': 1.5, 'use_pcha_init': True, 'use_inflation': True}
Fold 1/3
Model input_dim: 50 (auto-detected from data)
Archetypes parameter registered: True
Archetypes requires_grad: True
Deep_AA (Deep Archetypal Analysis) initialized:
- Single-stage architecture (like Deep_2)
- Inflation factor: 1.5
- Direct archetypal coordinates (no bottleneck)
Consolidated Archetype Initialization
PCHA: True, Inflation: True (factor: 1.5)
Test inflation: False
Running PCHA initialization...
Input shape: (128, 50)
Target archetypes: 4
Running PCHA with 4 archetypes...
Data shape for PCHA: (50, 128)
PCHA Results:
Archetypes shape: (4, 50)
Archetype R²: 0.1980
SSE: 4598.9296
PCHA archetype R²: 0.1980
Archetype shape: (4, 50)
[OK] Initialized 4 archetypes using PCHA
Scalar Archetypal Inflation (factor: 1.50)
[OK] Inflation complete
[STATS] Positioning verification:
Data radius (max): 14.026
Data radius (mean): 6.169
Archetype distances: 3.445 to 13.774
Archetypes outside data: 0/4
Min archetype separation: 10.080
[OK] Archetype initialization complete (success: True)
[OK] Archetype initialization complete (PCHA: True, Inflation: 1.5)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0009, max=0.9627, mean=0.2500
Batch reconstruction MSE: 1.1392
Archetype stats: min=-1.1413, max=0.9764
Archetype gradients: norm=0.012924, mean=0.000673
Epoch 1/1
Average loss: 0.8767
Archetypal loss: 0.9637
KLD loss: 0.0935
Reconstruction loss: 0.9637
Archetype R²: -0.0118
Archetype transform grad norm: 0.151547
Archetype transform param norm: 5.7989
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.8767 (range: 0.8767 - 0.8767)
archetypal_loss: 0.9637 (range: 0.9637 - 0.9637)
kld_loss: 0.0935 (range: 0.0935 - 0.0935)
reconstruction_loss: 0.9637 (range: 0.9637 - 0.9637)
archetype_r2: -0.0118 (range: -0.0118 - -0.0118)
Archetype Transform Summary:
archetype_transform_mean: 0.001330 (range: 0.001330 - 0.001330)
archetype_transform_std: 0.081198 (range: 0.081198 - 0.081198)
archetype_transform_norm: 5.798897 (range: 5.798897 - 5.798897)
archetype_transform_grad_norm: 0.151547 (range: 0.151547 - 0.151547)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0107, max=0.9132, mean=0.2500
Batch reconstruction MSE: 1.0653
Archetype stats: min=-0.7242, max=0.8997
Archetype change since last debug: 4.716318
Archetype gradients: norm=0.003506, mean=0.000203
Epoch 1/1
Average loss: 0.8588
Archetypal loss: 0.9473
KLD loss: 0.0627
Reconstruction loss: 0.9473
Archetype R²: 0.0051
Archetype transform grad norm: 0.122707
Archetype transform param norm: 5.8485
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.8588 (range: 0.8588 - 0.8588)
archetypal_loss: 0.9473 (range: 0.9473 - 0.9473)
kld_loss: 0.0627 (range: 0.0627 - 0.0627)
reconstruction_loss: 0.9473 (range: 0.9473 - 0.9473)
archetype_r2: 0.0051 (range: 0.0051 - 0.0051)
Archetype Transform Summary:
archetype_transform_mean: 0.001285 (range: 0.001285 - 0.001285)
archetype_transform_std: 0.081894 (range: 0.081894 - 0.081894)
archetype_transform_norm: 5.848549 (range: 5.848549 - 5.848549)
archetype_transform_grad_norm: 0.122707 (range: 0.122707 - 0.122707)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0087, max=0.9290, mean=0.2500
Batch reconstruction MSE: 1.0899
Archetype stats: min=-1.4183, max=1.6579
Archetype change since last debug: 4.363001
Archetype gradients: norm=0.007020, mean=0.000391
Epoch 1/1
Average loss: 0.8477
Archetypal loss: 0.9310
KLD loss: 0.0985
Reconstruction loss: 0.9310
Archetype R²: 0.0224
Archetype transform grad norm: 0.151665
Archetype transform param norm: 6.0047
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.8477 (range: 0.8477 - 0.8477)
archetypal_loss: 0.9310 (range: 0.9310 - 0.9310)
kld_loss: 0.0985 (range: 0.0985 - 0.0985)
reconstruction_loss: 0.9310 (range: 0.9310 - 0.9310)
archetype_r2: 0.0224 (range: 0.0224 - 0.0224)
Archetype Transform Summary:
archetype_transform_mean: 0.001098 (range: 0.001098 - 0.001098)
archetype_transform_std: 0.084083 (range: 0.084083 - 0.084083)
archetype_transform_norm: 6.004654 (range: 6.004654 - 6.004654)
archetype_transform_grad_norm: 0.151665 (range: 0.151665 - 0.151665)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0080, max=0.9253, mean=0.2500
Batch reconstruction MSE: 1.1870
Archetype stats: min=-2.6924, max=3.0682
Archetype change since last debug: 6.364361
Archetype gradients: norm=0.019304, mean=0.001050
Epoch 1/1
Average loss: 0.8406
Archetypal loss: 0.9227
KLD loss: 0.1025
Reconstruction loss: 0.9227
Archetype R²: 0.0314
Archetype transform grad norm: 0.173554
Archetype transform param norm: 6.1839
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.8406 (range: 0.8406 - 0.8406)
archetypal_loss: 0.9227 (range: 0.9227 - 0.9227)
kld_loss: 0.1025 (range: 0.1025 - 0.1025)
reconstruction_loss: 0.9227 (range: 0.9227 - 0.9227)
archetype_r2: 0.0314 (range: 0.0314 - 0.0314)
Archetype Transform Summary:
archetype_transform_mean: 0.000798 (range: 0.000798 - 0.000798)
archetype_transform_std: 0.086597 (range: 0.086597 - 0.086597)
archetype_transform_norm: 6.183937 (range: 6.183937 - 6.183937)
archetype_transform_grad_norm: 0.173554 (range: 0.173554 - 0.173554)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0071, max=0.9140, mean=0.2500
Batch reconstruction MSE: 1.2333
Archetype stats: min=-3.9122, max=4.0646
Archetype change since last debug: 4.402294
Archetype gradients: norm=0.025980, mean=0.001533
Epoch 1/1
Average loss: 0.8327
Archetypal loss: 0.9121
KLD loss: 0.1178
Reconstruction loss: 0.9121
Archetype R²: 0.0427
Archetype transform grad norm: 0.183002
Archetype transform param norm: 6.3936
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.8327 (range: 0.8327 - 0.8327)
archetypal_loss: 0.9121 (range: 0.9121 - 0.9121)
kld_loss: 0.1178 (range: 0.1178 - 0.1178)
reconstruction_loss: 0.9121 (range: 0.9121 - 0.9121)
archetype_r2: 0.0427 (range: 0.0427 - 0.0427)
Archetype Transform Summary:
archetype_transform_mean: 0.000298 (range: 0.000298 - 0.000298)
archetype_transform_std: 0.089537 (range: 0.089537 - 0.089537)
archetype_transform_norm: 6.393625 (range: 6.393625 - 6.393625)
archetype_transform_grad_norm: 0.183002 (range: 0.183002 - 0.183002)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0073, max=0.9167, mean=0.2500
Batch reconstruction MSE: 1.2966
Archetype stats: min=-5.4907, max=4.9390
Archetype change since last debug: 5.108159
Archetype gradients: norm=0.049647, mean=0.002692
Epoch 1/1
Average loss: 0.8268
Archetypal loss: 0.9054
KLD loss: 0.1190
Reconstruction loss: 0.9054
Archetype R²: 0.0498
Archetype transform grad norm: 0.190942
Archetype transform param norm: 6.5834
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.8268 (range: 0.8268 - 0.8268)
archetypal_loss: 0.9054 (range: 0.9054 - 0.9054)
kld_loss: 0.1190 (range: 0.1190 - 0.1190)
reconstruction_loss: 0.9054 (range: 0.9054 - 0.9054)
archetype_r2: 0.0498 (range: 0.0498 - 0.0498)
Archetype Transform Summary:
archetype_transform_mean: -0.000026 (range: -0.000026 - -0.000026)
archetype_transform_std: 0.092195 (range: 0.092195 - 0.092195)
archetype_transform_norm: 6.583409 (range: 6.583409 - 6.583409)
archetype_transform_grad_norm: 0.190942 (range: 0.190942 - 0.190942)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0090, max=0.9018, mean=0.2500
Batch reconstruction MSE: 1.3323
Archetype stats: min=-6.9069, max=5.5826
Archetype change since last debug: 3.634705
Archetype gradients: norm=0.063856, mean=0.003290
Epoch 1/1
Average loss: 0.8233
Archetypal loss: 0.9021
KLD loss: 0.1141
Reconstruction loss: 0.9021
Archetype R²: 0.0535
Archetype transform grad norm: 0.196795
Archetype transform param norm: 6.6939
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.8233 (range: 0.8233 - 0.8233)
archetypal_loss: 0.9021 (range: 0.9021 - 0.9021)
kld_loss: 0.1141 (range: 0.1141 - 0.1141)
reconstruction_loss: 0.9021 (range: 0.9021 - 0.9021)
archetype_r2: 0.0535 (range: 0.0535 - 0.0535)
Archetype Transform Summary:
archetype_transform_mean: -0.000119 (range: -0.000119 - -0.000119)
archetype_transform_std: 0.093742 (range: 0.093742 - 0.093742)
archetype_transform_norm: 6.693860 (range: 6.693860 - 6.693860)
archetype_transform_grad_norm: 0.196795 (range: 0.196795 - 0.196795)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0105, max=0.8810, mean=0.2500
Batch reconstruction MSE: 1.3317
Archetype stats: min=-8.0435, max=6.0120
Archetype change since last debug: 2.737605
Archetype gradients: norm=0.065850, mean=0.003372
Epoch 1/1
Average loss: 0.8203
Archetypal loss: 0.8991
KLD loss: 0.1108
Reconstruction loss: 0.8991
Archetype R²: 0.0565
Archetype transform grad norm: 0.199036
Archetype transform param norm: 6.7697
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.8203 (range: 0.8203 - 0.8203)
archetypal_loss: 0.8991 (range: 0.8991 - 0.8991)
kld_loss: 0.1108 (range: 0.1108 - 0.1108)
reconstruction_loss: 0.8991 (range: 0.8991 - 0.8991)
archetype_r2: 0.0565 (range: 0.0565 - 0.0565)
Archetype Transform Summary:
archetype_transform_mean: -0.000147 (range: -0.000147 - -0.000147)
archetype_transform_std: 0.094804 (range: 0.094804 - 0.094804)
archetype_transform_norm: 6.769713 (range: 6.769713 - 6.769713)
archetype_transform_grad_norm: 0.199036 (range: 0.199036 - 0.199036)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0107, max=0.8616, mean=0.2500
Batch reconstruction MSE: 1.3196
Archetype stats: min=-9.0140, max=6.3409
Archetype change since last debug: 2.378141
Archetype gradients: norm=0.064460, mean=0.003300
Epoch 1/1
Average loss: 0.8180
Archetypal loss: 0.8969
KLD loss: 0.1077
Reconstruction loss: 0.8969
Archetype R²: 0.0588
Archetype transform grad norm: 0.202785
Archetype transform param norm: 6.8299
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.8180 (range: 0.8180 - 0.8180)
archetypal_loss: 0.8969 (range: 0.8969 - 0.8969)
kld_loss: 0.1077 (range: 0.1077 - 0.1077)
reconstruction_loss: 0.8969 (range: 0.8969 - 0.8969)
archetype_r2: 0.0588 (range: 0.0588 - 0.0588)
Archetype Transform Summary:
archetype_transform_mean: -0.000137 (range: -0.000137 - -0.000137)
archetype_transform_std: 0.095647 (range: 0.095647 - 0.095647)
archetype_transform_norm: 6.829894 (range: 6.829894 - 6.829894)
archetype_transform_grad_norm: 0.202785 (range: 0.202785 - 0.202785)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0114, max=0.8292, mean=0.2500
Batch reconstruction MSE: 1.3034
Archetype stats: min=-9.7608, max=6.5729
Archetype change since last debug: 1.983143
Archetype gradients: norm=0.061539, mean=0.003164
Epoch 1/1
Average loss: 0.8157
Archetypal loss: 0.8948
KLD loss: 0.1040
Reconstruction loss: 0.8948
Archetype R²: 0.0610
Archetype transform grad norm: 0.203084
Archetype transform param norm: 6.8846
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.8157 (range: 0.8157 - 0.8157)
archetypal_loss: 0.8948 (range: 0.8948 - 0.8948)
kld_loss: 0.1040 (range: 0.1040 - 0.1040)
reconstruction_loss: 0.8948 (range: 0.8948 - 0.8948)
archetype_r2: 0.0610 (range: 0.0610 - 0.0610)
Archetype Transform Summary:
archetype_transform_mean: -0.000124 (range: -0.000124 - -0.000124)
archetype_transform_std: 0.096413 (range: 0.096413 - 0.096413)
archetype_transform_norm: 6.884604 (range: 6.884604 - 6.884604)
archetype_transform_grad_norm: 0.203084 (range: 0.203084 - 0.203084)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0123, max=0.7918, mean=0.2500
Batch reconstruction MSE: 1.2819
Archetype stats: min=-10.4826, max=6.8084
Archetype change since last debug: 1.849424
Archetype gradients: norm=0.057386, mean=0.002962
Epoch 1/1
Average loss: 0.8139
Archetypal loss: 0.8931
KLD loss: 0.1005
Reconstruction loss: 0.8931
Archetype R²: 0.0626
Archetype transform grad norm: 0.205232
Archetype transform param norm: 6.9374
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.8139 (range: 0.8139 - 0.8139)
archetypal_loss: 0.8931 (range: 0.8931 - 0.8931)
kld_loss: 0.1005 (range: 0.1005 - 0.1005)
reconstruction_loss: 0.8931 (range: 0.8931 - 0.8931)
archetype_r2: 0.0626 (range: 0.0626 - 0.0626)
Archetype Transform Summary:
archetype_transform_mean: -0.000111 (range: -0.000111 - -0.000111)
archetype_transform_std: 0.097153 (range: 0.097153 - 0.097153)
archetype_transform_norm: 6.937440 (range: 6.937440 - 6.937440)
archetype_transform_grad_norm: 0.205232 (range: 0.205232 - 0.205232)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0142, max=0.7383, mean=0.2500
Batch reconstruction MSE: 1.2605
Archetype stats: min=-11.1108, max=7.0335
Archetype change since last debug: 1.622580
Archetype gradients: norm=0.051678, mean=0.002711
Epoch 1/1
Average loss: 0.8123
Archetypal loss: 0.8918
KLD loss: 0.0972
Reconstruction loss: 0.8918
Archetype R²: 0.0640
Archetype transform grad norm: 0.207650
Archetype transform param norm: 6.9873
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.8123 (range: 0.8123 - 0.8123)
archetypal_loss: 0.8918 (range: 0.8918 - 0.8918)
kld_loss: 0.0972 (range: 0.0972 - 0.0972)
reconstruction_loss: 0.8918 (range: 0.8918 - 0.8918)
archetype_r2: 0.0640 (range: 0.0640 - 0.0640)
Archetype Transform Summary:
archetype_transform_mean: -0.000108 (range: -0.000108 - -0.000108)
archetype_transform_std: 0.097852 (range: 0.097852 - 0.097852)
archetype_transform_norm: 6.987348 (range: 6.987348 - 6.987348)
archetype_transform_grad_norm: 0.207650 (range: 0.207650 - 0.207650)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0139, max=0.6662, mean=0.2500
Batch reconstruction MSE: 1.2386
Archetype stats: min=-11.6765, max=7.2452
Archetype change since last debug: 1.480503
Archetype gradients: norm=0.047220, mean=0.002491
Epoch 1/1
Average loss: 0.8111
Archetypal loss: 0.8907
KLD loss: 0.0944
Reconstruction loss: 0.8907
Archetype R²: 0.0651
Archetype transform grad norm: 0.208782
Archetype transform param norm: 7.0365
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.8111 (range: 0.8111 - 0.8111)
archetypal_loss: 0.8907 (range: 0.8907 - 0.8907)
kld_loss: 0.0944 (range: 0.0944 - 0.0944)
reconstruction_loss: 0.8907 (range: 0.8907 - 0.8907)
archetype_r2: 0.0651 (range: 0.0651 - 0.0651)
Archetype Transform Summary:
archetype_transform_mean: -0.000112 (range: -0.000112 - -0.000112)
archetype_transform_std: 0.098541 (range: 0.098541 - 0.098541)
archetype_transform_norm: 7.036521 (range: 7.036521 - 7.036521)
archetype_transform_grad_norm: 0.208782 (range: 0.208782 - 0.208782)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0166, max=0.6157, mean=0.2500
Batch reconstruction MSE: 1.2216
Archetype stats: min=-12.1957, max=7.4430
Archetype change since last debug: 1.374865
Archetype gradients: norm=0.043031, mean=0.002299
Epoch 1/1
Average loss: 0.8101
Archetypal loss: 0.8899
KLD loss: 0.0922
Reconstruction loss: 0.8899
Archetype R²: 0.0659
Archetype transform grad norm: 0.212617
Archetype transform param norm: 7.0828
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.8101 (range: 0.8101 - 0.8101)
archetypal_loss: 0.8899 (range: 0.8899 - 0.8899)
kld_loss: 0.0922 (range: 0.0922 - 0.0922)
reconstruction_loss: 0.8899 (range: 0.8899 - 0.8899)
archetype_r2: 0.0659 (range: 0.0659 - 0.0659)
Archetype Transform Summary:
archetype_transform_mean: -0.000119 (range: -0.000119 - -0.000119)
archetype_transform_std: 0.099189 (range: 0.099189 - 0.099189)
archetype_transform_norm: 7.082799 (range: 7.082799 - 7.082799)
archetype_transform_grad_norm: 0.212617 (range: 0.212617 - 0.212617)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0172, max=0.6257, mean=0.2500
Batch reconstruction MSE: 1.2126
Archetype stats: min=-12.6802, max=7.6417
Archetype change since last debug: 1.254043
Archetype gradients: norm=0.041639, mean=0.002214
Epoch 1/1
Average loss: 0.8095
Archetypal loss: 0.8894
KLD loss: 0.0905
Reconstruction loss: 0.8894
Archetype R²: 0.0664
Archetype transform grad norm: 0.213861
Archetype transform param norm: 7.1232
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.8095 (range: 0.8095 - 0.8095)
archetypal_loss: 0.8894 (range: 0.8894 - 0.8894)
kld_loss: 0.0905 (range: 0.0905 - 0.0905)
reconstruction_loss: 0.8894 (range: 0.8894 - 0.8894)
archetype_r2: 0.0664 (range: 0.0664 - 0.0664)
Archetype Transform Summary:
archetype_transform_mean: -0.000136 (range: -0.000136 - -0.000136)
archetype_transform_std: 0.099755 (range: 0.099755 - 0.099755)
archetype_transform_norm: 7.123239 (range: 7.123239 - 7.123239)
archetype_transform_grad_norm: 0.213861 (range: 0.213861 - 0.213861)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0245, max=0.5857, mean=0.2500
Batch reconstruction MSE: 1.1987
Archetype stats: min=-13.0585, max=7.7880
Archetype change since last debug: 1.131991
Archetype gradients: norm=0.042128, mean=0.002170
Epoch 1/1
Average loss: 0.8087
Archetypal loss: 0.8886
KLD loss: 0.0887
Reconstruction loss: 0.8886
Archetype R²: 0.0671
Archetype transform grad norm: 0.217812
Archetype transform param norm: 7.1621
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.8087 (range: 0.8087 - 0.8087)
archetypal_loss: 0.8886 (range: 0.8886 - 0.8886)
kld_loss: 0.0887 (range: 0.0887 - 0.0887)
reconstruction_loss: 0.8886 (range: 0.8886 - 0.8886)
archetype_r2: 0.0671 (range: 0.0671 - 0.0671)
Archetype Transform Summary:
archetype_transform_mean: -0.000138 (range: -0.000138 - -0.000138)
archetype_transform_std: 0.100299 (range: 0.100299 - 0.100299)
archetype_transform_norm: 7.162089 (range: 7.162089 - 7.162089)
archetype_transform_grad_norm: 0.217812 (range: 0.217812 - 0.217812)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0145, max=0.5705, mean=0.2500
Batch reconstruction MSE: 1.2043
Archetype stats: min=-13.5132, max=7.9838
Archetype change since last debug: 1.109576
Archetype gradients: norm=0.033474, mean=0.001888
Epoch 1/1
Average loss: 0.8086
Archetypal loss: 0.8886
KLD loss: 0.0884
Reconstruction loss: 0.8886
Archetype R²: 0.0671
Archetype transform grad norm: 0.219194
Archetype transform param norm: 7.1937
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.8086 (range: 0.8086 - 0.8086)
archetypal_loss: 0.8886 (range: 0.8886 - 0.8886)
kld_loss: 0.0884 (range: 0.0884 - 0.0884)
reconstruction_loss: 0.8886 (range: 0.8886 - 0.8886)
archetype_r2: 0.0671 (range: 0.0671 - 0.0671)
Archetype Transform Summary:
archetype_transform_mean: -0.000154 (range: -0.000154 - -0.000154)
archetype_transform_std: 0.100742 (range: 0.100742 - 0.100742)
archetype_transform_norm: 7.193692 (range: 7.193692 - 7.193692)
archetype_transform_grad_norm: 0.219194 (range: 0.219194 - 0.219194)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0292, max=0.5816, mean=0.2500
Batch reconstruction MSE: 1.2019
Archetype stats: min=-13.6645, max=8.0326
Archetype change since last debug: 0.874568
Archetype gradients: norm=0.053383, mean=0.002708
Epoch 1/1
Average loss: 0.8086
Archetypal loss: 0.8887
KLD loss: 0.0881
Reconstruction loss: 0.8887
Archetype R²: 0.0670
Archetype transform grad norm: 0.228180
Archetype transform param norm: 7.2163
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.8086 (range: 0.8086 - 0.8086)
archetypal_loss: 0.8887 (range: 0.8887 - 0.8887)
kld_loss: 0.0881 (range: 0.0881 - 0.0881)
reconstruction_loss: 0.8887 (range: 0.8887 - 0.8887)
archetype_r2: 0.0670 (range: 0.0670 - 0.0670)
Archetype Transform Summary:
archetype_transform_mean: -0.000161 (range: -0.000161 - -0.000161)
archetype_transform_std: 0.101059 (range: 0.101059 - 0.101059)
archetype_transform_norm: 7.216339 (range: 7.216339 - 7.216339)
archetype_transform_grad_norm: 0.228180 (range: 0.228180 - 0.228180)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0220, max=0.6176, mean=0.2500
Batch reconstruction MSE: 1.2477
Archetype stats: min=-13.9028, max=8.1351
Archetype change since last debug: 0.748547
Archetype gradients: norm=0.046204, mean=0.001960
Epoch 1/1
Average loss: 0.8101
Archetypal loss: 0.8901
KLD loss: 0.0910
Reconstruction loss: 0.8901
Archetype R²: 0.0656
Archetype transform grad norm: 0.236197
Archetype transform param norm: 7.2198
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.8101 (range: 0.8101 - 0.8101)
archetypal_loss: 0.8901 (range: 0.8901 - 0.8901)
kld_loss: 0.0910 (range: 0.0910 - 0.0910)
reconstruction_loss: 0.8901 (range: 0.8901 - 0.8901)
archetype_r2: 0.0656 (range: 0.0656 - 0.0656)
Archetype Transform Summary:
archetype_transform_mean: -0.000182 (range: -0.000182 - -0.000182)
archetype_transform_std: 0.101108 (range: 0.101108 - 0.101108)
archetype_transform_norm: 7.219834 (range: 7.219834 - 7.219834)
archetype_transform_grad_norm: 0.236197 (range: 0.236197 - 0.236197)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0205, max=0.5592, mean=0.2500
Batch reconstruction MSE: 1.2249
Archetype stats: min=-13.4207, max=7.8049
Archetype change since last debug: 1.057557
Archetype gradients: norm=0.062252, mean=0.003371
Epoch 1/1
Average loss: 0.8088
Archetypal loss: 0.8886
KLD loss: 0.0901
Reconstruction loss: 0.8886
Archetype R²: 0.0670
Archetype transform grad norm: 0.234753
Archetype transform param norm: 7.2287
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.8088 (range: 0.8088 - 0.8088)
archetypal_loss: 0.8886 (range: 0.8886 - 0.8886)
kld_loss: 0.0901 (range: 0.0901 - 0.0901)
reconstruction_loss: 0.8886 (range: 0.8886 - 0.8886)
archetype_r2: 0.0670 (range: 0.0670 - 0.0670)
Archetype Transform Summary:
archetype_transform_mean: -0.000185 (range: -0.000185 - -0.000185)
archetype_transform_std: 0.101231 (range: 0.101231 - 0.101231)
archetype_transform_norm: 7.228677 (range: 7.228677 - 7.228677)
archetype_transform_grad_norm: 0.234753 (range: 0.234753 - 0.234753)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0335, max=0.5478, mean=0.2500
Batch reconstruction MSE: 1.1781
Archetype stats: min=-13.5353, max=7.8588
Archetype change since last debug: 0.608655
Archetype gradients: norm=0.033753, mean=0.001666
Epoch 1/1
Average loss: 0.8067
Archetypal loss: 0.8867
KLD loss: 0.0870
Reconstruction loss: 0.8867
Archetype R²: 0.0690
Archetype transform grad norm: 0.219111
Archetype transform param norm: 7.2597
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.8067 (range: 0.8067 - 0.8067)
archetypal_loss: 0.8867 (range: 0.8867 - 0.8867)
kld_loss: 0.0870 (range: 0.0870 - 0.0870)
reconstruction_loss: 0.8867 (range: 0.8867 - 0.8867)
archetype_r2: 0.0690 (range: 0.0690 - 0.0690)
Archetype Transform Summary:
archetype_transform_mean: -0.000197 (range: -0.000197 - -0.000197)
archetype_transform_std: 0.101667 (range: 0.101667 - 0.101667)
archetype_transform_norm: 7.259744 (range: 7.259744 - 7.259744)
archetype_transform_grad_norm: 0.219111 (range: 0.219111 - 0.219111)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0248, max=0.5235, mean=0.2500
Batch reconstruction MSE: 1.1646
Archetype stats: min=-13.7377, max=7.9488
Archetype change since last debug: 1.003662
Archetype gradients: norm=0.033972, mean=0.001851
Epoch 1/1
Average loss: 0.8062
Archetypal loss: 0.8862
KLD loss: 0.0862
Reconstruction loss: 0.8862
Archetype R²: 0.0694
Archetype transform grad norm: 0.223982
Archetype transform param norm: 7.2954
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.8062 (range: 0.8062 - 0.8062)
archetypal_loss: 0.8862 (range: 0.8862 - 0.8862)
kld_loss: 0.0862 (range: 0.0862 - 0.0862)
reconstruction_loss: 0.8862 (range: 0.8862 - 0.8862)
archetype_r2: 0.0694 (range: 0.0694 - 0.0694)
Archetype Transform Summary:
archetype_transform_mean: -0.000208 (range: -0.000208 - -0.000208)
archetype_transform_std: 0.102166 (range: 0.102166 - 0.102166)
archetype_transform_norm: 7.295386 (range: 7.295386 - 7.295386)
archetype_transform_grad_norm: 0.223982 (range: 0.223982 - 0.223982)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0356, max=0.5335, mean=0.2500
Batch reconstruction MSE: 1.1631
Archetype stats: min=-14.1180, max=8.1723
Archetype change since last debug: 0.967169
Archetype gradients: norm=0.035196, mean=0.001736
Epoch 1/1
Average loss: 0.8059
Archetypal loss: 0.8861
KLD loss: 0.0842
Reconstruction loss: 0.8861
Archetype R²: 0.0695
Archetype transform grad norm: 0.222908
Archetype transform param norm: 7.3261
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.8059 (range: 0.8059 - 0.8059)
archetypal_loss: 0.8861 (range: 0.8861 - 0.8861)
kld_loss: 0.0842 (range: 0.0842 - 0.0842)
reconstruction_loss: 0.8861 (range: 0.8861 - 0.8861)
archetype_r2: 0.0695 (range: 0.0695 - 0.0695)
Archetype Transform Summary:
archetype_transform_mean: -0.000217 (range: -0.000217 - -0.000217)
archetype_transform_std: 0.102595 (range: 0.102595 - 0.102595)
archetype_transform_norm: 7.326053 (range: 7.326053 - 7.326053)
archetype_transform_grad_norm: 0.222908 (range: 0.222908 - 0.222908)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0232, max=0.5400, mean=0.2500
Batch reconstruction MSE: 1.1800
Archetype stats: min=-14.3252, max=8.2599
Archetype change since last debug: 0.843089
Archetype gradients: norm=0.035563, mean=0.001994
Epoch 1/1
Average loss: 0.8063
Archetypal loss: 0.8865
KLD loss: 0.0849
Reconstruction loss: 0.8865
Archetype R²: 0.0691
Archetype transform grad norm: 0.229286
Archetype transform param norm: 7.3465
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.8063 (range: 0.8063 - 0.8063)
archetypal_loss: 0.8865 (range: 0.8865 - 0.8865)
kld_loss: 0.0849 (range: 0.0849 - 0.0849)
reconstruction_loss: 0.8865 (range: 0.8865 - 0.8865)
archetype_r2: 0.0691 (range: 0.0691 - 0.0691)
Archetype Transform Summary:
archetype_transform_mean: -0.000221 (range: -0.000221 - -0.000221)
archetype_transform_std: 0.102881 (range: 0.102881 - 0.102881)
archetype_transform_norm: 7.346456 (range: 7.346456 - 7.346456)
archetype_transform_grad_norm: 0.229286 (range: 0.229286 - 0.229286)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0370, max=0.5652, mean=0.2500
Batch reconstruction MSE: 1.1843
Archetype stats: min=-14.5729, max=8.4041
Archetype change since last debug: 0.669057
Archetype gradients: norm=0.038930, mean=0.001893
Epoch 1/1
Average loss: 0.8061
Archetypal loss: 0.8864
KLD loss: 0.0838
Reconstruction loss: 0.8864
Archetype R²: 0.0692
Archetype transform grad norm: 0.224209
Archetype transform param norm: 7.3615
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.8061 (range: 0.8061 - 0.8061)
archetypal_loss: 0.8864 (range: 0.8864 - 0.8864)
kld_loss: 0.0838 (range: 0.0838 - 0.0838)
reconstruction_loss: 0.8864 (range: 0.8864 - 0.8864)
archetype_r2: 0.0692 (range: 0.0692 - 0.0692)
Archetype Transform Summary:
archetype_transform_mean: -0.000232 (range: -0.000232 - -0.000232)
archetype_transform_std: 0.103091 (range: 0.103091 - 0.103091)
archetype_transform_norm: 7.361457 (range: 7.361457 - 7.361457)
archetype_transform_grad_norm: 0.224209 (range: 0.224209 - 0.224209)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0253, max=0.5448, mean=0.2500
Batch reconstruction MSE: 1.1817
Archetype stats: min=-14.6170, max=8.4059
Archetype change since last debug: 0.606537
Archetype gradients: norm=0.034370, mean=0.001921
Epoch 1/1
Average loss: 0.8061
Archetypal loss: 0.8862
KLD loss: 0.0851
Reconstruction loss: 0.8862
Archetype R²: 0.0694
Archetype transform grad norm: 0.227120
Archetype transform param norm: 7.3749
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.8061 (range: 0.8061 - 0.8061)
archetypal_loss: 0.8862 (range: 0.8862 - 0.8862)
kld_loss: 0.0851 (range: 0.0851 - 0.0851)
reconstruction_loss: 0.8862 (range: 0.8862 - 0.8862)
archetype_r2: 0.0694 (range: 0.0694 - 0.0694)
Archetype Transform Summary:
archetype_transform_mean: -0.000239 (range: -0.000239 - -0.000239)
archetype_transform_std: 0.103279 (range: 0.103279 - 0.103279)
archetype_transform_norm: 7.374892 (range: 7.374892 - 7.374892)
archetype_transform_grad_norm: 0.227120 (range: 0.227120 - 0.227120)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0425, max=0.5876, mean=0.2500
Batch reconstruction MSE: 1.1748
Archetype stats: min=-14.8188, max=8.5169
Archetype change since last debug: 0.564667
Archetype gradients: norm=0.042342, mean=0.002146
Epoch 1/1
Average loss: 0.8057
Archetypal loss: 0.8860
KLD loss: 0.0835
Reconstruction loss: 0.8860
Archetype R²: 0.0696
Archetype transform grad norm: 0.227038
Archetype transform param norm: 7.3880
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.8057 (range: 0.8057 - 0.8057)
archetypal_loss: 0.8860 (range: 0.8860 - 0.8860)
kld_loss: 0.0835 (range: 0.0835 - 0.0835)
reconstruction_loss: 0.8860 (range: 0.8860 - 0.8860)
archetype_r2: 0.0696 (range: 0.0696 - 0.0696)
Archetype Transform Summary:
archetype_transform_mean: -0.000252 (range: -0.000252 - -0.000252)
archetype_transform_std: 0.103462 (range: 0.103462 - 0.103462)
archetype_transform_norm: 7.387968 (range: 7.387968 - 7.387968)
archetype_transform_grad_norm: 0.227038 (range: 0.227038 - 0.227038)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0162, max=0.5927, mean=0.2500
Batch reconstruction MSE: 1.1889
Archetype stats: min=-14.8588, max=8.5170
Archetype change since last debug: 0.590869
Archetype gradients: norm=0.034403, mean=0.001890
Epoch 1/1
Average loss: 0.8061
Archetypal loss: 0.8863
KLD loss: 0.0846
Reconstruction loss: 0.8863
Archetype R²: 0.0693
Archetype transform grad norm: 0.227712
Archetype transform param norm: 7.3965
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.8061 (range: 0.8061 - 0.8061)
archetypal_loss: 0.8863 (range: 0.8863 - 0.8863)
kld_loss: 0.0846 (range: 0.0846 - 0.0846)
reconstruction_loss: 0.8863 (range: 0.8863 - 0.8863)
archetype_r2: 0.0693 (range: 0.0693 - 0.0693)
Archetype Transform Summary:
archetype_transform_mean: -0.000257 (range: -0.000257 - -0.000257)
archetype_transform_std: 0.103582 (range: 0.103582 - 0.103582)
archetype_transform_norm: 7.396538 (range: 7.396538 - 7.396538)
archetype_transform_grad_norm: 0.227712 (range: 0.227712 - 0.227712)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0440, max=0.6667, mean=0.2500
Batch reconstruction MSE: 1.1769
Archetype stats: min=-14.9862, max=8.5746
Archetype change since last debug: 0.524579
Archetype gradients: norm=0.048636, mean=0.002337
Epoch 1/1
Average loss: 0.8055
Archetypal loss: 0.8856
KLD loss: 0.0845
Reconstruction loss: 0.8856
Archetype R²: 0.0699
Archetype transform grad norm: 0.223161
Archetype transform param norm: 7.4063
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.8055 (range: 0.8055 - 0.8055)
archetypal_loss: 0.8856 (range: 0.8856 - 0.8856)
kld_loss: 0.0845 (range: 0.0845 - 0.0845)
reconstruction_loss: 0.8856 (range: 0.8856 - 0.8856)
archetype_r2: 0.0699 (range: 0.0699 - 0.0699)
Archetype Transform Summary:
archetype_transform_mean: -0.000267 (range: -0.000267 - -0.000267)
archetype_transform_std: 0.103719 (range: 0.103719 - 0.103719)
archetype_transform_norm: 7.406285 (range: 7.406285 - 7.406285)
archetype_transform_grad_norm: 0.223161 (range: 0.223161 - 0.223161)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0416, max=0.5069, mean=0.2500
Batch reconstruction MSE: 1.1760
Archetype stats: min=-15.0665, max=8.6064
Archetype change since last debug: 0.567531
Archetype gradients: norm=0.031882, mean=0.001501
Epoch 1/1
Average loss: 0.8055
Archetypal loss: 0.8857
KLD loss: 0.0835
Reconstruction loss: 0.8857
Archetype R²: 0.0699
Archetype transform grad norm: 0.228097
Archetype transform param norm: 7.4191
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.8055 (range: 0.8055 - 0.8055)
archetypal_loss: 0.8857 (range: 0.8857 - 0.8857)
kld_loss: 0.0835 (range: 0.0835 - 0.0835)
reconstruction_loss: 0.8857 (range: 0.8857 - 0.8857)
archetype_r2: 0.0699 (range: 0.0699 - 0.0699)
Archetype Transform Summary:
archetype_transform_mean: -0.000275 (range: -0.000275 - -0.000275)
archetype_transform_std: 0.103898 (range: 0.103898 - 0.103898)
archetype_transform_norm: 7.419092 (range: 7.419092 - 7.419092)
archetype_transform_grad_norm: 0.228097 (range: 0.228097 - 0.228097)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0448, max=0.5875, mean=0.2500
Batch reconstruction MSE: 1.1813
Archetype stats: min=-15.2315, max=8.6699
Archetype change since last debug: 0.614115
Archetype gradients: norm=0.050718, mean=0.002290
Epoch 1/1
Average loss: 0.8054
Archetypal loss: 0.8856
KLD loss: 0.0841
Reconstruction loss: 0.8856
Archetype R²: 0.0700
Archetype transform grad norm: 0.223012
Archetype transform param norm: 7.4274
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.8054 (range: 0.8054 - 0.8054)
archetypal_loss: 0.8856 (range: 0.8856 - 0.8856)
kld_loss: 0.0841 (range: 0.0841 - 0.0841)
reconstruction_loss: 0.8856 (range: 0.8856 - 0.8856)
archetype_r2: 0.0700 (range: 0.0700 - 0.0700)
Archetype Transform Summary:
archetype_transform_mean: -0.000288 (range: -0.000288 - -0.000288)
archetype_transform_std: 0.104014 (range: 0.104014 - 0.104014)
archetype_transform_norm: 7.427392 (range: 7.427392 - 7.427392)
archetype_transform_grad_norm: 0.223012 (range: 0.223012 - 0.223012)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0349, max=0.5472, mean=0.2500
Batch reconstruction MSE: 1.1889
Archetype stats: min=-15.2882, max=8.6901
Archetype change since last debug: 0.503273
Archetype gradients: norm=0.024554, mean=0.001297
Epoch 1/1
Average loss: 0.8053
Archetypal loss: 0.8855
KLD loss: 0.0835
Reconstruction loss: 0.8855
Archetype R²: 0.0700
Archetype transform grad norm: 0.223656
Archetype transform param norm: 7.4356
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.8053 (range: 0.8053 - 0.8053)
archetypal_loss: 0.8855 (range: 0.8855 - 0.8855)
kld_loss: 0.0835 (range: 0.0835 - 0.0835)
reconstruction_loss: 0.8855 (range: 0.8855 - 0.8855)
archetype_r2: 0.0700 (range: 0.0700 - 0.0700)
Archetype Transform Summary:
archetype_transform_mean: -0.000303 (range: -0.000303 - -0.000303)
archetype_transform_std: 0.104129 (range: 0.104129 - 0.104129)
archetype_transform_norm: 7.435583 (range: 7.435583 - 7.435583)
archetype_transform_grad_norm: 0.223656 (range: 0.223656 - 0.223656)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0445, max=0.6349, mean=0.2500
Batch reconstruction MSE: 1.1587
Archetype stats: min=-15.3398, max=8.7121
Archetype change since last debug: 0.473585
Archetype gradients: norm=0.064550, mean=0.002482
Epoch 1/1
Average loss: 0.8047
Archetypal loss: 0.8848
KLD loss: 0.0838
Reconstruction loss: 0.8848
Archetype R²: 0.0707
Archetype transform grad norm: 0.223609
Archetype transform param norm: 7.4475
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.8047 (range: 0.8047 - 0.8047)
archetypal_loss: 0.8848 (range: 0.8848 - 0.8848)
kld_loss: 0.0838 (range: 0.0838 - 0.0838)
reconstruction_loss: 0.8848 (range: 0.8848 - 0.8848)
archetype_r2: 0.0707 (range: 0.0707 - 0.0707)
Archetype Transform Summary:
archetype_transform_mean: -0.000308 (range: -0.000308 - -0.000308)
archetype_transform_std: 0.104296 (range: 0.104296 - 0.104296)
archetype_transform_norm: 7.447522 (range: 7.447522 - 7.447522)
archetype_transform_grad_norm: 0.223609 (range: 0.223609 - 0.223609)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0373, max=0.5480, mean=0.2500
Batch reconstruction MSE: 1.1709
Archetype stats: min=-15.5584, max=8.8500
Archetype change since last debug: 0.742474
Archetype gradients: norm=0.027567, mean=0.001724
Epoch 1/1
Average loss: 0.8047
Archetypal loss: 0.8850
KLD loss: 0.0825
Reconstruction loss: 0.8850
Archetype R²: 0.0705
Archetype transform grad norm: 0.228708
Archetype transform param norm: 7.4587
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.8047 (range: 0.8047 - 0.8047)
archetypal_loss: 0.8850 (range: 0.8850 - 0.8850)
kld_loss: 0.0825 (range: 0.0825 - 0.0825)
reconstruction_loss: 0.8850 (range: 0.8850 - 0.8850)
archetype_r2: 0.0705 (range: 0.0705 - 0.0705)
Archetype Transform Summary:
archetype_transform_mean: -0.000306 (range: -0.000306 - -0.000306)
archetype_transform_std: 0.104452 (range: 0.104452 - 0.104452)
archetype_transform_norm: 7.458662 (range: 7.458662 - 7.458662)
archetype_transform_grad_norm: 0.228708 (range: 0.228708 - 0.228708)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0450, max=0.6368, mean=0.2500
Batch reconstruction MSE: 1.1593
Archetype stats: min=-15.7363, max=8.9607
Archetype change since last debug: 0.516485
Archetype gradients: norm=0.075398, mean=0.002821
Epoch 1/1
Average loss: 0.8046
Archetypal loss: 0.8847
KLD loss: 0.0836
Reconstruction loss: 0.8847
Archetype R²: 0.0708
Archetype transform grad norm: 0.226202
Archetype transform param norm: 7.4648
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.8046 (range: 0.8046 - 0.8046)
archetypal_loss: 0.8847 (range: 0.8847 - 0.8847)
kld_loss: 0.0836 (range: 0.0836 - 0.0836)
reconstruction_loss: 0.8847 (range: 0.8847 - 0.8847)
archetype_r2: 0.0708 (range: 0.0708 - 0.0708)
Archetype Transform Summary:
archetype_transform_mean: -0.000299 (range: -0.000299 - -0.000299)
archetype_transform_std: 0.104538 (range: 0.104538 - 0.104538)
archetype_transform_norm: 7.464784 (range: 7.464784 - 7.464784)
archetype_transform_grad_norm: 0.226202 (range: 0.226202 - 0.226202)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0405, max=0.5371, mean=0.2500
Batch reconstruction MSE: 1.1772
Archetype stats: min=-15.9211, max=9.0840
Archetype change since last debug: 0.712428
Archetype gradients: norm=0.023503, mean=0.001426
Epoch 1/1
Average loss: 0.8045
Archetypal loss: 0.8848
KLD loss: 0.0816
Reconstruction loss: 0.8848
Archetype R²: 0.0706
Archetype transform grad norm: 0.227115
Archetype transform param norm: 7.4714
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.8045 (range: 0.8045 - 0.8045)
archetypal_loss: 0.8848 (range: 0.8848 - 0.8848)
kld_loss: 0.0816 (range: 0.0816 - 0.0816)
reconstruction_loss: 0.8848 (range: 0.8848 - 0.8848)
archetype_r2: 0.0706 (range: 0.0706 - 0.0706)
Archetype Transform Summary:
archetype_transform_mean: -0.000302 (range: -0.000302 - -0.000302)
archetype_transform_std: 0.104630 (range: 0.104630 - 0.104630)
archetype_transform_norm: 7.471355 (range: 7.471355 - 7.471355)
archetype_transform_grad_norm: 0.227115 (range: 0.227115 - 0.227115)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0448, max=0.5769, mean=0.2500
Batch reconstruction MSE: 1.1499
Archetype stats: min=-16.0612, max=9.1536
Archetype change since last debug: 0.432693
Archetype gradients: norm=0.049642, mean=0.002295
Epoch 1/1
Average loss: 0.8042
Archetypal loss: 0.8843
KLD loss: 0.0833
Reconstruction loss: 0.8843
Archetype R²: 0.0712
Archetype transform grad norm: 0.225319
Archetype transform param norm: 7.4814
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.8042 (range: 0.8042 - 0.8042)
archetypal_loss: 0.8843 (range: 0.8843 - 0.8843)
kld_loss: 0.0833 (range: 0.0833 - 0.0833)
reconstruction_loss: 0.8843 (range: 0.8843 - 0.8843)
archetype_r2: 0.0712 (range: 0.0712 - 0.0712)
Archetype Transform Summary:
archetype_transform_mean: -0.000298 (range: -0.000298 - -0.000298)
archetype_transform_std: 0.104771 (range: 0.104771 - 0.104771)
archetype_transform_norm: 7.481438 (range: 7.481438 - 7.481438)
archetype_transform_grad_norm: 0.225319 (range: 0.225319 - 0.225319)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0407, max=0.5097, mean=0.2500
Batch reconstruction MSE: 1.1832
Archetype stats: min=-16.1682, max=9.2024
Archetype change since last debug: 0.523205
Archetype gradients: norm=0.023026, mean=0.001266
Epoch 1/1
Average loss: 0.8048
Archetypal loss: 0.8851
KLD loss: 0.0823
Reconstruction loss: 0.8851
Archetype R²: 0.0704
Archetype transform grad norm: 0.230449
Archetype transform param norm: 7.4877
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.8048 (range: 0.8048 - 0.8048)
archetypal_loss: 0.8851 (range: 0.8851 - 0.8851)
kld_loss: 0.0823 (range: 0.0823 - 0.0823)
reconstruction_loss: 0.8851 (range: 0.8851 - 0.8851)
archetype_r2: 0.0704 (range: 0.0704 - 0.0704)
Archetype Transform Summary:
archetype_transform_mean: -0.000313 (range: -0.000313 - -0.000313)
archetype_transform_std: 0.104858 (range: 0.104858 - 0.104858)
archetype_transform_norm: 7.487657 (range: 7.487657 - 7.487657)
archetype_transform_grad_norm: 0.230449 (range: 0.230449 - 0.230449)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0455, max=0.5702, mean=0.2500
Batch reconstruction MSE: 1.1867
Archetype stats: min=-16.1687, max=9.2000
Archetype change since last debug: 0.480451
Archetype gradients: norm=0.044782, mean=0.002329
Epoch 1/1
Average loss: 0.8053
Archetypal loss: 0.8854
KLD loss: 0.0846
Reconstruction loss: 0.8854
Archetype R²: 0.0701
Archetype transform grad norm: 0.234804
Archetype transform param norm: 7.4855
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.8053 (range: 0.8053 - 0.8053)
archetypal_loss: 0.8854 (range: 0.8854 - 0.8854)
kld_loss: 0.0846 (range: 0.0846 - 0.0846)
reconstruction_loss: 0.8854 (range: 0.8854 - 0.8854)
archetype_r2: 0.0701 (range: 0.0701 - 0.0701)
Archetype Transform Summary:
archetype_transform_mean: -0.000331 (range: -0.000331 - -0.000331)
archetype_transform_std: 0.104828 (range: 0.104828 - 0.104828)
archetype_transform_norm: 7.485516 (range: 7.485516 - 7.485516)
archetype_transform_grad_norm: 0.234804 (range: 0.234804 - 0.234804)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0334, max=0.5535, mean=0.2500
Batch reconstruction MSE: 1.2030
Archetype stats: min=-15.9043, max=9.0241
Archetype change since last debug: 0.552712
Archetype gradients: norm=0.048195, mean=0.002835
Epoch 1/1
Average loss: 0.8054
Archetypal loss: 0.8856
KLD loss: 0.0841
Reconstruction loss: 0.8856
Archetype R²: 0.0699
Archetype transform grad norm: 0.242592
Archetype transform param norm: 7.4823
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.8054 (range: 0.8054 - 0.8054)
archetypal_loss: 0.8856 (range: 0.8856 - 0.8856)
kld_loss: 0.0841 (range: 0.0841 - 0.0841)
reconstruction_loss: 0.8856 (range: 0.8856 - 0.8856)
archetype_r2: 0.0699 (range: 0.0699 - 0.0699)
Archetype Transform Summary:
archetype_transform_mean: -0.000342 (range: -0.000342 - -0.000342)
archetype_transform_std: 0.104783 (range: 0.104783 - 0.104783)
archetype_transform_norm: 7.482298 (range: 7.482298 - 7.482298)
archetype_transform_grad_norm: 0.242592 (range: 0.242592 - 0.242592)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0385, max=0.5205, mean=0.2500
Batch reconstruction MSE: 1.1636
Archetype stats: min=-15.9092, max=9.0496
Archetype change since last debug: 0.478484
Archetype gradients: norm=0.037195, mean=0.001672
Epoch 1/1
Average loss: 0.8043
Archetypal loss: 0.8844
KLD loss: 0.0828
Reconstruction loss: 0.8844
Archetype R²: 0.0710
Archetype transform grad norm: 0.233181
Archetype transform param norm: 7.4892
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.8043 (range: 0.8043 - 0.8043)
archetypal_loss: 0.8844 (range: 0.8844 - 0.8844)
kld_loss: 0.0828 (range: 0.0828 - 0.0828)
reconstruction_loss: 0.8844 (range: 0.8844 - 0.8844)
archetype_r2: 0.0710 (range: 0.0710 - 0.0710)
Archetype Transform Summary:
archetype_transform_mean: -0.000361 (range: -0.000361 - -0.000361)
archetype_transform_std: 0.104879 (range: 0.104879 - 0.104879)
archetype_transform_norm: 7.489179 (range: 7.489179 - 7.489179)
archetype_transform_grad_norm: 0.233181 (range: 0.233181 - 0.233181)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0405, max=0.5621, mean=0.2500
Batch reconstruction MSE: 1.1826
Archetype stats: min=-15.8137, max=8.9770
Archetype change since last debug: 0.549600
Archetype gradients: norm=0.056409, mean=0.003170
Epoch 1/1
Average loss: 0.8044
Archetypal loss: 0.8846
KLD loss: 0.0822
Reconstruction loss: 0.8846
Archetype R²: 0.0708
Archetype transform grad norm: 0.237402
Archetype transform param norm: 7.4967
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.8044 (range: 0.8044 - 0.8044)
archetypal_loss: 0.8846 (range: 0.8846 - 0.8846)
kld_loss: 0.0822 (range: 0.0822 - 0.0822)
reconstruction_loss: 0.8846 (range: 0.8846 - 0.8846)
archetype_r2: 0.0708 (range: 0.0708 - 0.0708)
Archetype Transform Summary:
archetype_transform_mean: -0.000363 (range: -0.000363 - -0.000363)
archetype_transform_std: 0.104985 (range: 0.104985 - 0.104985)
archetype_transform_norm: 7.496742 (range: 7.496742 - 7.496742)
archetype_transform_grad_norm: 0.237402 (range: 0.237402 - 0.237402)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0443, max=0.5074, mean=0.2500
Batch reconstruction MSE: 1.1568
Archetype stats: min=-15.8977, max=9.0416
Archetype change since last debug: 0.390925
Archetype gradients: norm=0.033585, mean=0.001455
Epoch 1/1
Average loss: 0.8036
Archetypal loss: 0.8838
KLD loss: 0.0818
Reconstruction loss: 0.8838
Archetype R²: 0.0716
Archetype transform grad norm: 0.231143
Archetype transform param norm: 7.5085
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.8036 (range: 0.8036 - 0.8036)
archetypal_loss: 0.8838 (range: 0.8838 - 0.8838)
kld_loss: 0.0818 (range: 0.0818 - 0.0818)
reconstruction_loss: 0.8838 (range: 0.8838 - 0.8838)
archetype_r2: 0.0716 (range: 0.0716 - 0.0716)
Archetype Transform Summary:
archetype_transform_mean: -0.000369 (range: -0.000369 - -0.000369)
archetype_transform_std: 0.105149 (range: 0.105149 - 0.105149)
archetype_transform_norm: 7.508462 (range: 7.508462 - 7.508462)
archetype_transform_grad_norm: 0.231143 (range: 0.231143 - 0.231143)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0403, max=0.5166, mean=0.2500
Batch reconstruction MSE: 1.1655
Archetype stats: min=-15.8945, max=9.0374
Archetype change since last debug: 0.568239
Archetype gradients: norm=0.045386, mean=0.002596
Epoch 1/1
Average loss: 0.8037
Archetypal loss: 0.8840
KLD loss: 0.0807
Reconstruction loss: 0.8840
Archetype R²: 0.0713
Archetype transform grad norm: 0.233433
Archetype transform param norm: 7.5195
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.8037 (range: 0.8037 - 0.8037)
archetypal_loss: 0.8840 (range: 0.8840 - 0.8840)
kld_loss: 0.0807 (range: 0.0807 - 0.0807)
reconstruction_loss: 0.8840 (range: 0.8840 - 0.8840)
archetype_r2: 0.0713 (range: 0.0713 - 0.0713)
Archetype Transform Summary:
archetype_transform_mean: -0.000364 (range: -0.000364 - -0.000364)
archetype_transform_std: 0.105303 (range: 0.105303 - 0.105303)
archetype_transform_norm: 7.519455 (range: 7.519455 - 7.519455)
archetype_transform_grad_norm: 0.233433 (range: 0.233433 - 0.233433)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0425, max=0.5068, mean=0.2500
Batch reconstruction MSE: 1.1418
Archetype stats: min=-16.0642, max=9.1333
Archetype change since last debug: 0.473897
Archetype gradients: norm=0.032234, mean=0.001507
Epoch 1/1
Average loss: 0.8029
Archetypal loss: 0.8832
KLD loss: 0.0802
Reconstruction loss: 0.8832
Archetype R²: 0.0721
Archetype transform grad norm: 0.229731
Archetype transform param norm: 7.5348
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.8029 (range: 0.8029 - 0.8029)
archetypal_loss: 0.8832 (range: 0.8832 - 0.8832)
kld_loss: 0.0802 (range: 0.0802 - 0.0802)
reconstruction_loss: 0.8832 (range: 0.8832 - 0.8832)
archetype_r2: 0.0721 (range: 0.0721 - 0.0721)
Archetype Transform Summary:
archetype_transform_mean: -0.000369 (range: -0.000369 - -0.000369)
archetype_transform_std: 0.105517 (range: 0.105517 - 0.105517)
archetype_transform_norm: 7.534763 (range: 7.534763 - 7.534763)
archetype_transform_grad_norm: 0.229731 (range: 0.229731 - 0.229731)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0365, max=0.5380, mean=0.2500
Batch reconstruction MSE: 1.1669
Archetype stats: min=-16.1638, max=9.1990
Archetype change since last debug: 0.598143
Archetype gradients: norm=0.038462, mean=0.002248
Epoch 1/1
Average loss: 0.8035
Archetypal loss: 0.8839
KLD loss: 0.0798
Reconstruction loss: 0.8839
Archetype R²: 0.0715
Archetype transform grad norm: 0.230412
Archetype transform param norm: 7.5455
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.8035 (range: 0.8035 - 0.8035)
archetypal_loss: 0.8839 (range: 0.8839 - 0.8839)
kld_loss: 0.0798 (range: 0.0798 - 0.0798)
reconstruction_loss: 0.8839 (range: 0.8839 - 0.8839)
archetype_r2: 0.0715 (range: 0.0715 - 0.0715)
Archetype Transform Summary:
archetype_transform_mean: -0.000371 (range: -0.000371 - -0.000371)
archetype_transform_std: 0.105668 (range: 0.105668 - 0.105668)
archetype_transform_norm: 7.545477 (range: 7.545477 - 7.545477)
archetype_transform_grad_norm: 0.230412 (range: 0.230412 - 0.230412)
Fold 2/3
Model input_dim: 50 (auto-detected from data)
Archetypes parameter registered: True
Archetypes requires_grad: True
Deep_AA (Deep Archetypal Analysis) initialized:
- Single-stage architecture (like Deep_2)
- Inflation factor: 1.5
- Direct archetypal coordinates (no bottleneck)
Consolidated Archetype Initialization
PCHA: True, Inflation: True (factor: 1.5)
Test inflation: False
Running PCHA initialization...
Input shape: (128, 50)
Target archetypes: 4
Running PCHA with 4 archetypes...
Data shape for PCHA: (50, 128)
PCHA Results:
Archetypes shape: (4, 50)
Archetype R²: 0.1869
SSE: 4226.5949
PCHA archetype R²: 0.1869
Archetype shape: (4, 50)
[OK] Initialized 4 archetypes using PCHA
Scalar Archetypal Inflation (factor: 1.50)
[OK] Inflation complete
[STATS] Positioning verification:
Data radius (max): 20.373
Data radius (mean): 5.897
Archetype distances: 3.518 to 27.504
Archetypes outside data: 1/4
Min archetype separation: 6.710
[OK] Archetype initialization complete (success: True)
[OK] Archetype initialization complete (PCHA: True, Inflation: 1.5)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0011, max=0.9391, mean=0.2500
Batch reconstruction MSE: 0.9533
Archetype stats: min=-1.7599, max=1.3908
Archetype gradients: norm=0.014628, mean=0.000745
Epoch 1/1
Average loss: 0.8636
Archetypal loss: 0.9495
KLD loss: 0.0907
Reconstruction loss: 0.9495
Archetype R²: -0.0106
Archetype transform grad norm: 0.177626
Archetype transform param norm: 5.8415
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.8636 (range: 0.8636 - 0.8636)
archetypal_loss: 0.9495 (range: 0.9495 - 0.9495)
kld_loss: 0.0907 (range: 0.0907 - 0.0907)
reconstruction_loss: 0.9495 (range: 0.9495 - 0.9495)
archetype_r2: -0.0106 (range: -0.0106 - -0.0106)
Archetype Transform Summary:
archetype_transform_mean: -0.000111 (range: -0.000111 - -0.000111)
archetype_transform_std: 0.081805 (range: 0.081805 - 0.081805)
archetype_transform_norm: 5.841533 (range: 5.841533 - 5.841533)
archetype_transform_grad_norm: 0.177626 (range: 0.177626 - 0.177626)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0065, max=0.8652, mean=0.2500
Batch reconstruction MSE: 0.8678
Archetype stats: min=-0.9006, max=1.0987
Archetype change since last debug: 4.783177
Archetype gradients: norm=0.003835, mean=0.000218
Epoch 1/1
Average loss: 0.8464
Archetypal loss: 0.9330
KLD loss: 0.0674
Reconstruction loss: 0.9330
Archetype R²: 0.0072
Archetype transform grad norm: 0.152709
Archetype transform param norm: 5.9003
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.8464 (range: 0.8464 - 0.8464)
archetypal_loss: 0.9330 (range: 0.9330 - 0.9330)
kld_loss: 0.0674 (range: 0.0674 - 0.0674)
reconstruction_loss: 0.9330 (range: 0.9330 - 0.9330)
archetype_r2: 0.0072 (range: 0.0072 - 0.0072)
Archetype Transform Summary:
archetype_transform_mean: 0.000359 (range: 0.000359 - 0.000359)
archetype_transform_std: 0.082627 (range: 0.082627 - 0.082627)
archetype_transform_norm: 5.900256 (range: 5.900256 - 5.900256)
archetype_transform_grad_norm: 0.152709 (range: 0.152709 - 0.152709)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0065, max=0.8745, mean=0.2500
Batch reconstruction MSE: 0.8945
Archetype stats: min=-1.8584, max=2.4568
Archetype change since last debug: 3.963757
Archetype gradients: norm=0.007106, mean=0.000407
Epoch 1/1
Average loss: 0.8364
Archetypal loss: 0.9190
KLD loss: 0.0926
Reconstruction loss: 0.9190
Archetype R²: 0.0222
Archetype transform grad norm: 0.186362
Archetype transform param norm: 6.0744
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.8364 (range: 0.8364 - 0.8364)
archetypal_loss: 0.9190 (range: 0.9190 - 0.9190)
kld_loss: 0.0926 (range: 0.0926 - 0.0926)
reconstruction_loss: 0.9190 (range: 0.9190 - 0.9190)
archetype_r2: 0.0222 (range: 0.0222 - 0.0222)
Archetype Transform Summary:
archetype_transform_mean: 0.000927 (range: 0.000927 - 0.000927)
archetype_transform_std: 0.085062 (range: 0.085062 - 0.085062)
archetype_transform_norm: 6.074430 (range: 6.074430 - 6.074430)
archetype_transform_grad_norm: 0.186362 (range: 0.186362 - 0.186362)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0070, max=0.8862, mean=0.2500
Batch reconstruction MSE: 0.9596
Archetype stats: min=-3.1754, max=4.9762
Archetype change since last debug: 5.458874
Archetype gradients: norm=0.018835, mean=0.001054
Epoch 1/1
Average loss: 0.8253
Archetypal loss: 0.9039
KLD loss: 0.1183
Reconstruction loss: 0.9039
Archetype R²: 0.0384
Archetype transform grad norm: 0.205257
Archetype transform param norm: 6.3329
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.8253 (range: 0.8253 - 0.8253)
archetypal_loss: 0.9039 (range: 0.9039 - 0.9039)
kld_loss: 0.1183 (range: 0.1183 - 0.1183)
reconstruction_loss: 0.9039 (range: 0.9039 - 0.9039)
archetype_r2: 0.0384 (range: 0.0384 - 0.0384)
Archetype Transform Summary:
archetype_transform_mean: 0.001257 (range: 0.001257 - 0.001257)
archetype_transform_std: 0.088678 (range: 0.088678 - 0.088678)
archetype_transform_norm: 6.332927 (range: 6.332927 - 6.332927)
archetype_transform_grad_norm: 0.205257 (range: 0.205257 - 0.205257)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0070, max=0.8786, mean=0.2500
Batch reconstruction MSE: 1.0399
Archetype stats: min=-4.3986, max=7.3192
Archetype change since last debug: 6.146600
Archetype gradients: norm=0.042972, mean=0.002223
Epoch 1/1
Average loss: 0.8162
Archetypal loss: 0.8926
KLD loss: 0.1288
Reconstruction loss: 0.8926
Archetype R²: 0.0503
Archetype transform grad norm: 0.218256
Archetype transform param norm: 6.5977
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.8162 (range: 0.8162 - 0.8162)
archetypal_loss: 0.8926 (range: 0.8926 - 0.8926)
kld_loss: 0.1288 (range: 0.1288 - 0.1288)
reconstruction_loss: 0.8926 (range: 0.8926 - 0.8926)
archetype_r2: 0.0503 (range: 0.0503 - 0.0503)
Archetype Transform Summary:
archetype_transform_mean: 0.001471 (range: 0.001471 - 0.001471)
archetype_transform_std: 0.092384 (range: 0.092384 - 0.092384)
archetype_transform_norm: 6.597697 (range: 6.597697 - 6.597697)
archetype_transform_grad_norm: 0.218256 (range: 0.218256 - 0.218256)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0076, max=0.8510, mean=0.2500
Batch reconstruction MSE: 1.1121
Archetype stats: min=-5.1669, max=8.9791
Archetype change since last debug: 5.203485
Archetype gradients: norm=0.062258, mean=0.003255
Epoch 1/1
Average loss: 0.8116
Archetypal loss: 0.8882
KLD loss: 0.1225
Reconstruction loss: 0.8882
Archetype R²: 0.0548
Archetype transform grad norm: 0.224792
Archetype transform param norm: 6.7736
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.8116 (range: 0.8116 - 0.8116)
archetypal_loss: 0.8882 (range: 0.8882 - 0.8882)
kld_loss: 0.1225 (range: 0.1225 - 0.1225)
reconstruction_loss: 0.8882 (range: 0.8882 - 0.8882)
archetype_r2: 0.0548 (range: 0.0548 - 0.0548)
Archetype Transform Summary:
archetype_transform_mean: 0.001570 (range: 0.001570 - 0.001570)
archetype_transform_std: 0.094845 (range: 0.094845 - 0.094845)
archetype_transform_norm: 6.773556 (range: 6.773556 - 6.773556)
archetype_transform_grad_norm: 0.224792 (range: 0.224792 - 0.224792)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0085, max=0.8309, mean=0.2500
Batch reconstruction MSE: 1.1391
Archetype stats: min=-5.5408, max=9.9744
Archetype change since last debug: 3.303442
Archetype gradients: norm=0.071454, mean=0.003723
Epoch 1/1
Average loss: 0.8089
Archetypal loss: 0.8858
KLD loss: 0.1167
Reconstruction loss: 0.8858
Archetype R²: 0.0573
Archetype transform grad norm: 0.229671
Archetype transform param norm: 6.8787
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.8089 (range: 0.8089 - 0.8089)
archetypal_loss: 0.8858 (range: 0.8858 - 0.8858)
kld_loss: 0.1167 (range: 0.1167 - 0.1167)
reconstruction_loss: 0.8858 (range: 0.8858 - 0.8858)
archetype_r2: 0.0573 (range: 0.0573 - 0.0573)
Archetype Transform Summary:
archetype_transform_mean: 0.001611 (range: 0.001611 - 0.001611)
archetype_transform_std: 0.096318 (range: 0.096318 - 0.096318)
archetype_transform_norm: 6.878744 (range: 6.878744 - 6.878744)
archetype_transform_grad_norm: 0.229671 (range: 0.229671 - 0.229671)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0087, max=0.8178, mean=0.2500
Batch reconstruction MSE: 1.1443
Archetype stats: min=-5.7730, max=10.6206
Archetype change since last debug: 2.282391
Archetype gradients: norm=0.074443, mean=0.003871
Epoch 1/1
Average loss: 0.8072
Archetypal loss: 0.8844
KLD loss: 0.1126
Reconstruction loss: 0.8844
Archetype R²: 0.0589
Archetype transform grad norm: 0.231576
Archetype transform param norm: 6.9499
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.8072 (range: 0.8072 - 0.8072)
archetypal_loss: 0.8844 (range: 0.8844 - 0.8844)
kld_loss: 0.1126 (range: 0.1126 - 0.1126)
reconstruction_loss: 0.8844 (range: 0.8844 - 0.8844)
archetype_r2: 0.0589 (range: 0.0589 - 0.0589)
Archetype Transform Summary:
archetype_transform_mean: 0.001628 (range: 0.001628 - 0.001628)
archetype_transform_std: 0.097314 (range: 0.097314 - 0.097314)
archetype_transform_norm: 6.949922 (range: 6.949922 - 6.949922)
archetype_transform_grad_norm: 0.231576 (range: 0.231576 - 0.231576)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0095, max=0.8020, mean=0.2500
Batch reconstruction MSE: 1.1391
Archetype stats: min=-5.9111, max=11.0245
Archetype change since last debug: 1.692719
Archetype gradients: norm=0.073139, mean=0.003858
Epoch 1/1
Average loss: 0.8058
Archetypal loss: 0.8831
KLD loss: 0.1094
Reconstruction loss: 0.8831
Archetype R²: 0.0602
Archetype transform grad norm: 0.231900
Archetype transform param norm: 7.0013
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.8058 (range: 0.8058 - 0.8058)
archetypal_loss: 0.8831 (range: 0.8831 - 0.8831)
kld_loss: 0.1094 (range: 0.1094 - 0.1094)
reconstruction_loss: 0.8831 (range: 0.8831 - 0.8831)
archetype_r2: 0.0602 (range: 0.0602 - 0.0602)
Archetype Transform Summary:
archetype_transform_mean: 0.001636 (range: 0.001636 - 0.001636)
archetype_transform_std: 0.098034 (range: 0.098034 - 0.098034)
archetype_transform_norm: 7.001301 (range: 7.001301 - 7.001301)
archetype_transform_grad_norm: 0.231900 (range: 0.231900 - 0.231900)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0097, max=0.7896, mean=0.2500
Batch reconstruction MSE: 1.1209
Archetype stats: min=-6.0157, max=11.3394
Archetype change since last debug: 1.340720
Archetype gradients: norm=0.070146, mean=0.003623
Epoch 1/1
Average loss: 0.8043
Archetypal loss: 0.8818
KLD loss: 0.1066
Reconstruction loss: 0.8818
Archetype R²: 0.0617
Archetype transform grad norm: 0.229811
Archetype transform param norm: 7.0476
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.8043 (range: 0.8043 - 0.8043)
archetypal_loss: 0.8818 (range: 0.8818 - 0.8818)
kld_loss: 0.1066 (range: 0.1066 - 0.1066)
reconstruction_loss: 0.8818 (range: 0.8818 - 0.8818)
archetype_r2: 0.0617 (range: 0.0617 - 0.0617)
Archetype Transform Summary:
archetype_transform_mean: 0.001647 (range: 0.001647 - 0.001647)
archetype_transform_std: 0.098683 (range: 0.098683 - 0.098683)
archetype_transform_norm: 7.047644 (range: 7.047644 - 7.047644)
archetype_transform_grad_norm: 0.229811 (range: 0.229811 - 0.229811)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0117, max=0.7505, mean=0.2500
Batch reconstruction MSE: 1.1067
Archetype stats: min=-6.1598, max=11.6477
Archetype change since last debug: 1.346063
Archetype gradients: norm=0.063495, mean=0.003462
Epoch 1/1
Average loss: 0.8029
Archetypal loss: 0.8806
KLD loss: 0.1037
Reconstruction loss: 0.8806
Archetype R²: 0.0629
Archetype transform grad norm: 0.231362
Archetype transform param norm: 7.0905
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.8029 (range: 0.8029 - 0.8029)
archetypal_loss: 0.8806 (range: 0.8806 - 0.8806)
kld_loss: 0.1037 (range: 0.1037 - 0.1037)
reconstruction_loss: 0.8806 (range: 0.8806 - 0.8806)
archetype_r2: 0.0629 (range: 0.0629 - 0.0629)
Archetype Transform Summary:
archetype_transform_mean: 0.001664 (range: 0.001664 - 0.001664)
archetype_transform_std: 0.099283 (range: 0.099283 - 0.099283)
archetype_transform_norm: 7.090522 (range: 7.090522 - 7.090522)
archetype_transform_grad_norm: 0.231362 (range: 0.231362 - 0.231362)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0124, max=0.7321, mean=0.2500
Batch reconstruction MSE: 1.0826
Archetype stats: min=-6.3847, max=12.0033
Archetype change since last debug: 1.187428
Archetype gradients: norm=0.064972, mean=0.003345
Epoch 1/1
Average loss: 0.8015
Archetypal loss: 0.8793
KLD loss: 0.1007
Reconstruction loss: 0.8793
Archetype R²: 0.0643
Archetype transform grad norm: 0.230767
Archetype transform param norm: 7.1345
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.8015 (range: 0.8015 - 0.8015)
archetypal_loss: 0.8793 (range: 0.8793 - 0.8793)
kld_loss: 0.1007 (range: 0.1007 - 0.1007)
reconstruction_loss: 0.8793 (range: 0.8793 - 0.8793)
archetype_r2: 0.0643 (range: 0.0643 - 0.0643)
Archetype Transform Summary:
archetype_transform_mean: 0.001695 (range: 0.001695 - 0.001695)
archetype_transform_std: 0.099898 (range: 0.099898 - 0.099898)
archetype_transform_norm: 7.134486 (range: 7.134486 - 7.134486)
archetype_transform_grad_norm: 0.230767 (range: 0.230767 - 0.230767)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0133, max=0.6802, mean=0.2500
Batch reconstruction MSE: 1.0663
Archetype stats: min=-6.5831, max=12.3109
Archetype change since last debug: 1.167264
Archetype gradients: norm=0.055704, mean=0.003050
Epoch 1/1
Average loss: 0.8005
Archetypal loss: 0.8785
KLD loss: 0.0985
Reconstruction loss: 0.8785
Archetype R²: 0.0652
Archetype transform grad norm: 0.232671
Archetype transform param norm: 7.1793
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.8005 (range: 0.8005 - 0.8005)
archetypal_loss: 0.8785 (range: 0.8785 - 0.8785)
kld_loss: 0.0985 (range: 0.0985 - 0.0985)
reconstruction_loss: 0.8785 (range: 0.8785 - 0.8785)
archetype_r2: 0.0652 (range: 0.0652 - 0.0652)
Archetype Transform Summary:
archetype_transform_mean: 0.001724 (range: 0.001724 - 0.001724)
archetype_transform_std: 0.100525 (range: 0.100525 - 0.100525)
archetype_transform_norm: 7.179260 (range: 7.179260 - 7.179260)
archetype_transform_grad_norm: 0.232671 (range: 0.232671 - 0.232671)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0155, max=0.6477, mean=0.2500
Batch reconstruction MSE: 1.0480
Archetype stats: min=-6.7772, max=12.6385
Archetype change since last debug: 1.103460
Archetype gradients: norm=0.054833, mean=0.002897
Epoch 1/1
Average loss: 0.7997
Archetypal loss: 0.8779
KLD loss: 0.0964
Reconstruction loss: 0.8779
Archetype R²: 0.0660
Archetype transform grad norm: 0.232348
Archetype transform param norm: 7.2220
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.7997 (range: 0.7997 - 0.7997)
archetypal_loss: 0.8779 (range: 0.8779 - 0.8779)
kld_loss: 0.0964 (range: 0.0964 - 0.0964)
reconstruction_loss: 0.8779 (range: 0.8779 - 0.8779)
archetype_r2: 0.0660 (range: 0.0660 - 0.0660)
Archetype Transform Summary:
archetype_transform_mean: 0.001746 (range: 0.001746 - 0.001746)
archetype_transform_std: 0.101124 (range: 0.101124 - 0.101124)
archetype_transform_norm: 7.222035 (range: 7.222035 - 7.222035)
archetype_transform_grad_norm: 0.232348 (range: 0.232348 - 0.232348)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0170, max=0.6029, mean=0.2500
Batch reconstruction MSE: 1.0476
Archetype stats: min=-6.9055, max=12.8481
Archetype change since last debug: 1.036996
Archetype gradients: norm=0.049679, mean=0.002783
Epoch 1/1
Average loss: 0.7995
Archetypal loss: 0.8777
KLD loss: 0.0961
Reconstruction loss: 0.8777
Archetype R²: 0.0662
Archetype transform grad norm: 0.236308
Archetype transform param norm: 7.2583
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.7995 (range: 0.7995 - 0.7995)
archetypal_loss: 0.8777 (range: 0.8777 - 0.8777)
kld_loss: 0.0961 (range: 0.0961 - 0.0961)
reconstruction_loss: 0.8777 (range: 0.8777 - 0.8777)
archetype_r2: 0.0662 (range: 0.0662 - 0.0662)
Archetype Transform Summary:
archetype_transform_mean: 0.001755 (range: 0.001755 - 0.001755)
archetype_transform_std: 0.101631 (range: 0.101631 - 0.101631)
archetype_transform_norm: 7.258281 (range: 7.258281 - 7.258281)
archetype_transform_grad_norm: 0.236308 (range: 0.236308 - 0.236308)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0166, max=0.7109, mean=0.2500
Batch reconstruction MSE: 1.0212
Archetype stats: min=-7.0240, max=12.9598
Archetype change since last debug: 0.889933
Archetype gradients: norm=0.051936, mean=0.002631
Epoch 1/1
Average loss: 0.7989
Archetypal loss: 0.8772
KLD loss: 0.0950
Reconstruction loss: 0.8772
Archetype R²: 0.0669
Archetype transform grad norm: 0.237024
Archetype transform param norm: 7.2928
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.7989 (range: 0.7989 - 0.7989)
archetypal_loss: 0.8772 (range: 0.8772 - 0.8772)
kld_loss: 0.0950 (range: 0.0950 - 0.0950)
reconstruction_loss: 0.8772 (range: 0.8772 - 0.8772)
archetype_r2: 0.0669 (range: 0.0669 - 0.0669)
Archetype Transform Summary:
archetype_transform_mean: 0.001785 (range: 0.001785 - 0.001785)
archetype_transform_std: 0.102114 (range: 0.102114 - 0.102114)
archetype_transform_norm: 7.292780 (range: 7.292780 - 7.292780)
archetype_transform_grad_norm: 0.237024 (range: 0.237024 - 0.237024)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0205, max=0.5248, mean=0.2500
Batch reconstruction MSE: 1.0181
Archetype stats: min=-7.0879, max=13.1510
Archetype change since last debug: 1.011841
Archetype gradients: norm=0.043736, mean=0.002429
Epoch 1/1
Average loss: 0.7982
Archetypal loss: 0.8764
KLD loss: 0.0948
Reconstruction loss: 0.8764
Archetype R²: 0.0676
Archetype transform grad norm: 0.240107
Archetype transform param norm: 7.3212
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.7982 (range: 0.7982 - 0.7982)
archetypal_loss: 0.8764 (range: 0.8764 - 0.8764)
kld_loss: 0.0948 (range: 0.0948 - 0.0948)
reconstruction_loss: 0.8764 (range: 0.8764 - 0.8764)
archetype_r2: 0.0676 (range: 0.0676 - 0.0676)
Archetype Transform Summary:
archetype_transform_mean: 0.001789 (range: 0.001789 - 0.001789)
archetype_transform_std: 0.102512 (range: 0.102512 - 0.102512)
archetype_transform_norm: 7.321220 (range: 7.321220 - 7.321220)
archetype_transform_grad_norm: 0.240107 (range: 0.240107 - 0.240107)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0188, max=0.7253, mean=0.2500
Batch reconstruction MSE: 1.0085
Archetype stats: min=-7.2924, max=13.4348
Archetype change since last debug: 0.960330
Archetype gradients: norm=0.055625, mean=0.002536
Epoch 1/1
Average loss: 0.7977
Archetypal loss: 0.8760
KLD loss: 0.0928
Reconstruction loss: 0.8760
Archetype R²: 0.0680
Archetype transform grad norm: 0.243531
Archetype transform param norm: 7.3517
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.7977 (range: 0.7977 - 0.7977)
archetypal_loss: 0.8760 (range: 0.8760 - 0.8760)
kld_loss: 0.0928 (range: 0.0928 - 0.0928)
reconstruction_loss: 0.8760 (range: 0.8760 - 0.8760)
archetype_r2: 0.0680 (range: 0.0680 - 0.0680)
Archetype Transform Summary:
archetype_transform_mean: 0.001820 (range: 0.001820 - 0.001820)
archetype_transform_std: 0.102938 (range: 0.102938 - 0.102938)
archetype_transform_norm: 7.351658 (range: 7.351658 - 7.351658)
archetype_transform_grad_norm: 0.243531 (range: 0.243531 - 0.243531)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0226, max=0.4962, mean=0.2500
Batch reconstruction MSE: 1.0015
Archetype stats: min=-7.3819, max=13.6352
Archetype change since last debug: 0.883846
Archetype gradients: norm=0.040826, mean=0.002302
Epoch 1/1
Average loss: 0.7971
Archetypal loss: 0.8754
KLD loss: 0.0919
Reconstruction loss: 0.8754
Archetype R²: 0.0686
Archetype transform grad norm: 0.238323
Archetype transform param norm: 7.3836
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.7971 (range: 0.7971 - 0.7971)
archetypal_loss: 0.8754 (range: 0.8754 - 0.8754)
kld_loss: 0.0919 (range: 0.0919 - 0.0919)
reconstruction_loss: 0.8754 (range: 0.8754 - 0.8754)
archetype_r2: 0.0686 (range: 0.0686 - 0.0686)
Archetype Transform Summary:
archetype_transform_mean: 0.001828 (range: 0.001828 - 0.001828)
archetype_transform_std: 0.103385 (range: 0.103385 - 0.103385)
archetype_transform_norm: 7.383617 (range: 7.383617 - 7.383617)
archetype_transform_grad_norm: 0.238323 (range: 0.238323 - 0.238323)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0250, max=0.6511, mean=0.2500
Batch reconstruction MSE: 1.0017
Archetype stats: min=-7.5388, max=13.7827
Archetype change since last debug: 0.862674
Archetype gradients: norm=0.054490, mean=0.002509
Epoch 1/1
Average loss: 0.7966
Archetypal loss: 0.8750
KLD loss: 0.0912
Reconstruction loss: 0.8750
Archetype R²: 0.0690
Archetype transform grad norm: 0.236487
Archetype transform param norm: 7.4102
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.7966 (range: 0.7966 - 0.7966)
archetypal_loss: 0.8750 (range: 0.8750 - 0.8750)
kld_loss: 0.0912 (range: 0.0912 - 0.0912)
reconstruction_loss: 0.8750 (range: 0.8750 - 0.8750)
archetype_r2: 0.0690 (range: 0.0690 - 0.0690)
Archetype Transform Summary:
archetype_transform_mean: 0.001849 (range: 0.001849 - 0.001849)
archetype_transform_std: 0.103757 (range: 0.103757 - 0.103757)
archetype_transform_norm: 7.410197 (range: 7.410197 - 7.410197)
archetype_transform_grad_norm: 0.236487 (range: 0.236487 - 0.236487)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0250, max=0.4728, mean=0.2500
Batch reconstruction MSE: 0.9934
Archetype stats: min=-7.6008, max=13.9301
Archetype change since last debug: 0.825361
Archetype gradients: norm=0.038423, mean=0.002170
Epoch 1/1
Average loss: 0.7963
Archetypal loss: 0.8747
KLD loss: 0.0909
Reconstruction loss: 0.8747
Archetype R²: 0.0694
Archetype transform grad norm: 0.240364
Archetype transform param norm: 7.4382
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.7963 (range: 0.7963 - 0.7963)
archetypal_loss: 0.8747 (range: 0.8747 - 0.8747)
kld_loss: 0.0909 (range: 0.0909 - 0.0909)
reconstruction_loss: 0.8747 (range: 0.8747 - 0.8747)
archetype_r2: 0.0694 (range: 0.0694 - 0.0694)
Archetype Transform Summary:
archetype_transform_mean: 0.001852 (range: 0.001852 - 0.001852)
archetype_transform_std: 0.104149 (range: 0.104149 - 0.104149)
archetype_transform_norm: 7.438156 (range: 7.438156 - 7.438156)
archetype_transform_grad_norm: 0.240364 (range: 0.240364 - 0.240364)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0262, max=0.7026, mean=0.2500
Batch reconstruction MSE: 0.9990
Archetype stats: min=-7.7699, max=14.2191
Archetype change since last debug: 0.839969
Archetype gradients: norm=0.059918, mean=0.002534
Epoch 1/1
Average loss: 0.7963
Archetypal loss: 0.8747
KLD loss: 0.0899
Reconstruction loss: 0.8747
Archetype R²: 0.0693
Archetype transform grad norm: 0.243621
Archetype transform param norm: 7.4586
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.7963 (range: 0.7963 - 0.7963)
archetypal_loss: 0.8747 (range: 0.8747 - 0.8747)
kld_loss: 0.0899 (range: 0.0899 - 0.0899)
reconstruction_loss: 0.8747 (range: 0.8747 - 0.8747)
archetype_r2: 0.0693 (range: 0.0693 - 0.0693)
Archetype Transform Summary:
archetype_transform_mean: 0.001857 (range: 0.001857 - 0.001857)
archetype_transform_std: 0.104435 (range: 0.104435 - 0.104435)
archetype_transform_norm: 7.458630 (range: 7.458630 - 7.458630)
archetype_transform_grad_norm: 0.243621 (range: 0.243621 - 0.243621)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0252, max=0.4641, mean=0.2500
Batch reconstruction MSE: 0.9912
Archetype stats: min=-7.7982, max=14.2817
Archetype change since last debug: 0.701783
Archetype gradients: norm=0.040394, mean=0.002037
Epoch 1/1
Average loss: 0.7959
Archetypal loss: 0.8744
KLD loss: 0.0894
Reconstruction loss: 0.8744
Archetype R²: 0.0697
Archetype transform grad norm: 0.244443
Archetype transform param norm: 7.4793
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.7959 (range: 0.7959 - 0.7959)
archetypal_loss: 0.8744 (range: 0.8744 - 0.8744)
kld_loss: 0.0894 (range: 0.0894 - 0.0894)
reconstruction_loss: 0.8744 (range: 0.8744 - 0.8744)
archetype_r2: 0.0697 (range: 0.0697 - 0.0697)
Archetype Transform Summary:
archetype_transform_mean: 0.001860 (range: 0.001860 - 0.001860)
archetype_transform_std: 0.104726 (range: 0.104726 - 0.104726)
archetype_transform_norm: 7.479350 (range: 7.479350 - 7.479350)
archetype_transform_grad_norm: 0.244443 (range: 0.244443 - 0.244443)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0285, max=0.6687, mean=0.2500
Batch reconstruction MSE: 0.9909
Archetype stats: min=-7.9394, max=14.5417
Archetype change since last debug: 0.795635
Archetype gradients: norm=0.063603, mean=0.002761
Epoch 1/1
Average loss: 0.7957
Archetypal loss: 0.8742
KLD loss: 0.0889
Reconstruction loss: 0.8742
Archetype R²: 0.0698
Archetype transform grad norm: 0.247273
Archetype transform param norm: 7.4957
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.7957 (range: 0.7957 - 0.7957)
archetypal_loss: 0.8742 (range: 0.8742 - 0.8742)
kld_loss: 0.0889 (range: 0.0889 - 0.0889)
reconstruction_loss: 0.8742 (range: 0.8742 - 0.8742)
archetype_r2: 0.0698 (range: 0.0698 - 0.0698)
Archetype Transform Summary:
archetype_transform_mean: 0.001878 (range: 0.001878 - 0.001878)
archetype_transform_std: 0.104954 (range: 0.104954 - 0.104954)
archetype_transform_norm: 7.495677 (range: 7.495677 - 7.495677)
archetype_transform_grad_norm: 0.247273 (range: 0.247273 - 0.247273)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0257, max=0.4733, mean=0.2500
Batch reconstruction MSE: 0.9894
Archetype stats: min=-7.9499, max=14.5755
Archetype change since last debug: 0.669189
Archetype gradients: norm=0.046396, mean=0.002094
Epoch 1/1
Average loss: 0.7957
Archetypal loss: 0.8742
KLD loss: 0.0890
Reconstruction loss: 0.8742
Archetype R²: 0.0699
Archetype transform grad norm: 0.249425
Archetype transform param norm: 7.5101
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.7957 (range: 0.7957 - 0.7957)
archetypal_loss: 0.8742 (range: 0.8742 - 0.8742)
kld_loss: 0.0890 (range: 0.0890 - 0.0890)
reconstruction_loss: 0.8742 (range: 0.8742 - 0.8742)
archetype_r2: 0.0699 (range: 0.0699 - 0.0699)
Archetype Transform Summary:
archetype_transform_mean: 0.001888 (range: 0.001888 - 0.001888)
archetype_transform_std: 0.105156 (range: 0.105156 - 0.105156)
archetype_transform_norm: 7.510145 (range: 7.510145 - 7.510145)
archetype_transform_grad_norm: 0.249425 (range: 0.249425 - 0.249425)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0292, max=0.6637, mean=0.2500
Batch reconstruction MSE: 0.9915
Archetype stats: min=-8.0497, max=14.7637
Archetype change since last debug: 0.763261
Archetype gradients: norm=0.056093, mean=0.002794
Epoch 1/1
Average loss: 0.7957
Archetypal loss: 0.8743
KLD loss: 0.0886
Reconstruction loss: 0.8743
Archetype R²: 0.0698
Archetype transform grad norm: 0.250982
Archetype transform param norm: 7.5215
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.7957 (range: 0.7957 - 0.7957)
archetypal_loss: 0.8743 (range: 0.8743 - 0.8743)
kld_loss: 0.0886 (range: 0.0886 - 0.0886)
reconstruction_loss: 0.8743 (range: 0.8743 - 0.8743)
archetype_r2: 0.0698 (range: 0.0698 - 0.0698)
Archetype Transform Summary:
archetype_transform_mean: 0.001898 (range: 0.001898 - 0.001898)
archetype_transform_std: 0.105316 (range: 0.105316 - 0.105316)
archetype_transform_norm: 7.521546 (range: 7.521546 - 7.521546)
archetype_transform_grad_norm: 0.250982 (range: 0.250982 - 0.250982)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0290, max=0.5750, mean=0.2500
Batch reconstruction MSE: 1.0002
Archetype stats: min=-8.0497, max=14.7678
Archetype change since last debug: 0.556297
Archetype gradients: norm=0.046238, mean=0.002366
Epoch 1/1
Average loss: 0.7957
Archetypal loss: 0.8742
KLD loss: 0.0890
Reconstruction loss: 0.8742
Archetype R²: 0.0699
Archetype transform grad norm: 0.242820
Archetype transform param norm: 7.5319
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.7957 (range: 0.7957 - 0.7957)
archetypal_loss: 0.8742 (range: 0.8742 - 0.8742)
kld_loss: 0.0890 (range: 0.0890 - 0.0890)
reconstruction_loss: 0.8742 (range: 0.8742 - 0.8742)
archetype_r2: 0.0699 (range: 0.0699 - 0.0699)
Archetype Transform Summary:
archetype_transform_mean: 0.001888 (range: 0.001888 - 0.001888)
archetype_transform_std: 0.105461 (range: 0.105461 - 0.105461)
archetype_transform_norm: 7.531922 (range: 7.531922 - 7.531922)
archetype_transform_grad_norm: 0.242820 (range: 0.242820 - 0.242820)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0247, max=0.6767, mean=0.2500
Batch reconstruction MSE: 0.9876
Archetype stats: min=-8.0922, max=14.7600
Archetype change since last debug: 0.576897
Archetype gradients: norm=0.046120, mean=0.002294
Epoch 1/1
Average loss: 0.7956
Archetypal loss: 0.8741
KLD loss: 0.0897
Reconstruction loss: 0.8741
Archetype R²: 0.0701
Archetype transform grad norm: 0.244424
Archetype transform param norm: 7.5403
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.7956 (range: 0.7956 - 0.7956)
archetypal_loss: 0.8741 (range: 0.8741 - 0.8741)
kld_loss: 0.0897 (range: 0.0897 - 0.0897)
reconstruction_loss: 0.8741 (range: 0.8741 - 0.8741)
archetype_r2: 0.0701 (range: 0.0701 - 0.0701)
Archetype Transform Summary:
archetype_transform_mean: 0.001878 (range: 0.001878 - 0.001878)
archetype_transform_std: 0.105578 (range: 0.105578 - 0.105578)
archetype_transform_norm: 7.540263 (range: 7.540263 - 7.540263)
archetype_transform_grad_norm: 0.244424 (range: 0.244424 - 0.244424)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0297, max=0.4940, mean=0.2500
Batch reconstruction MSE: 0.9766
Archetype stats: min=-8.1143, max=14.6636
Archetype change since last debug: 0.605096
Archetype gradients: norm=0.050354, mean=0.002425
Epoch 1/1
Average loss: 0.7949
Archetypal loss: 0.8734
KLD loss: 0.0875
Reconstruction loss: 0.8734
Archetype R²: 0.0708
Archetype transform grad norm: 0.240956
Archetype transform param norm: 7.5524
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.7949 (range: 0.7949 - 0.7949)
archetypal_loss: 0.8734 (range: 0.8734 - 0.8734)
kld_loss: 0.0875 (range: 0.0875 - 0.0875)
reconstruction_loss: 0.8734 (range: 0.8734 - 0.8734)
archetype_r2: 0.0708 (range: 0.0708 - 0.0708)
Archetype Transform Summary:
archetype_transform_mean: 0.001876 (range: 0.001876 - 0.001876)
archetype_transform_std: 0.105749 (range: 0.105749 - 0.105749)
archetype_transform_norm: 7.552407 (range: 7.552407 - 7.552407)
archetype_transform_grad_norm: 0.240956 (range: 0.240956 - 0.240956)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0260, max=0.6946, mean=0.2500
Batch reconstruction MSE: 0.9743
Archetype stats: min=-8.2505, max=14.9407
Archetype change since last debug: 0.849298
Archetype gradients: norm=0.041151, mean=0.001948
Epoch 1/1
Average loss: 0.7945
Archetypal loss: 0.8730
KLD loss: 0.0879
Reconstruction loss: 0.8730
Archetype R²: 0.0712
Archetype transform grad norm: 0.243159
Archetype transform param norm: 7.5719
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.7945 (range: 0.7945 - 0.7945)
archetypal_loss: 0.8730 (range: 0.8730 - 0.8730)
kld_loss: 0.0879 (range: 0.0879 - 0.0879)
reconstruction_loss: 0.8730 (range: 0.8730 - 0.8730)
archetype_r2: 0.0712 (range: 0.0712 - 0.0712)
Archetype Transform Summary:
archetype_transform_mean: 0.001883 (range: 0.001883 - 0.001883)
archetype_transform_std: 0.106021 (range: 0.106021 - 0.106021)
archetype_transform_norm: 7.571869 (range: 7.571869 - 7.571869)
archetype_transform_grad_norm: 0.243159 (range: 0.243159 - 0.243159)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0324, max=0.5178, mean=0.2500
Batch reconstruction MSE: 0.9798
Archetype stats: min=-8.3470, max=15.1179
Archetype change since last debug: 0.653684
Archetype gradients: norm=0.061344, mean=0.002926
Epoch 1/1
Average loss: 0.7943
Archetypal loss: 0.8730
KLD loss: 0.0863
Reconstruction loss: 0.8730
Archetype R²: 0.0711
Archetype transform grad norm: 0.242950
Archetype transform param norm: 7.5833
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.7943 (range: 0.7943 - 0.7943)
archetypal_loss: 0.8730 (range: 0.8730 - 0.8730)
kld_loss: 0.0863 (range: 0.0863 - 0.0863)
reconstruction_loss: 0.8730 (range: 0.8730 - 0.8730)
archetype_r2: 0.0711 (range: 0.0711 - 0.0711)
Archetype Transform Summary:
archetype_transform_mean: 0.001888 (range: 0.001888 - 0.001888)
archetype_transform_std: 0.106181 (range: 0.106181 - 0.106181)
archetype_transform_norm: 7.583299 (range: 7.583299 - 7.583299)
archetype_transform_grad_norm: 0.242950 (range: 0.242950 - 0.242950)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0286, max=0.5665, mean=0.2500
Batch reconstruction MSE: 0.9767
Archetype stats: min=-8.4464, max=15.2991
Archetype change since last debug: 0.595159
Archetype gradients: norm=0.032233, mean=0.001406
Epoch 1/1
Average loss: 0.7943
Archetypal loss: 0.8728
KLD loss: 0.0882
Reconstruction loss: 0.8728
Archetype R²: 0.0714
Archetype transform grad norm: 0.246576
Archetype transform param norm: 7.6002
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.7943 (range: 0.7943 - 0.7943)
archetypal_loss: 0.8728 (range: 0.8728 - 0.8728)
kld_loss: 0.0882 (range: 0.0882 - 0.0882)
reconstruction_loss: 0.8728 (range: 0.8728 - 0.8728)
archetype_r2: 0.0714 (range: 0.0714 - 0.0714)
Archetype Transform Summary:
archetype_transform_mean: 0.001885 (range: 0.001885 - 0.001885)
archetype_transform_std: 0.106418 (range: 0.106418 - 0.106418)
archetype_transform_norm: 7.600191 (range: 7.600191 - 7.600191)
archetype_transform_grad_norm: 0.246576 (range: 0.246576 - 0.246576)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0332, max=0.5198, mean=0.2500
Batch reconstruction MSE: 0.9968
Archetype stats: min=-8.3988, max=15.2134
Archetype change since last debug: 0.610356
Archetype gradients: norm=0.074458, mean=0.003196
Epoch 1/1
Average loss: 0.7944
Archetypal loss: 0.8732
KLD loss: 0.0856
Reconstruction loss: 0.8732
Archetype R²: 0.0709
Archetype transform grad norm: 0.249646
Archetype transform param norm: 7.6042
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.7944 (range: 0.7944 - 0.7944)
archetypal_loss: 0.8732 (range: 0.8732 - 0.8732)
kld_loss: 0.0856 (range: 0.0856 - 0.0856)
reconstruction_loss: 0.8732 (range: 0.8732 - 0.8732)
archetype_r2: 0.0709 (range: 0.0709 - 0.0709)
Archetype Transform Summary:
archetype_transform_mean: 0.001886 (range: 0.001886 - 0.001886)
archetype_transform_std: 0.106473 (range: 0.106473 - 0.106473)
archetype_transform_norm: 7.604171 (range: 7.604171 - 7.604171)
archetype_transform_grad_norm: 0.249646 (range: 0.249646 - 0.249646)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0297, max=0.5234, mean=0.2500
Batch reconstruction MSE: 0.9698
Archetype stats: min=-8.4699, max=15.3394
Archetype change since last debug: 0.542379
Archetype gradients: norm=0.024943, mean=0.001300
Epoch 1/1
Average loss: 0.7942
Archetypal loss: 0.8727
KLD loss: 0.0879
Reconstruction loss: 0.8727
Archetype R²: 0.0715
Archetype transform grad norm: 0.260687
Archetype transform param norm: 7.6193
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.7942 (range: 0.7942 - 0.7942)
archetypal_loss: 0.8727 (range: 0.8727 - 0.8727)
kld_loss: 0.0879 (range: 0.0879 - 0.0879)
reconstruction_loss: 0.8727 (range: 0.8727 - 0.8727)
archetype_r2: 0.0715 (range: 0.0715 - 0.0715)
Archetype Transform Summary:
archetype_transform_mean: 0.001891 (range: 0.001891 - 0.001891)
archetype_transform_std: 0.106685 (range: 0.106685 - 0.106685)
archetype_transform_norm: 7.619272 (range: 7.619272 - 7.619272)
archetype_transform_grad_norm: 0.260687 (range: 0.260687 - 0.260687)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0295, max=0.5412, mean=0.2500
Batch reconstruction MSE: 0.9719
Archetype stats: min=-8.4260, max=15.2519
Archetype change since last debug: 0.615692
Archetype gradients: norm=0.077778, mean=0.003539
Epoch 1/1
Average loss: 0.7941
Archetypal loss: 0.8727
KLD loss: 0.0865
Reconstruction loss: 0.8727
Archetype R²: 0.0714
Archetype transform grad norm: 0.261401
Archetype transform param norm: 7.6273
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.7941 (range: 0.7941 - 0.7941)
archetypal_loss: 0.8727 (range: 0.8727 - 0.8727)
kld_loss: 0.0865 (range: 0.0865 - 0.0865)
reconstruction_loss: 0.8727 (range: 0.8727 - 0.8727)
archetype_r2: 0.0714 (range: 0.0714 - 0.0714)
Archetype Transform Summary:
archetype_transform_mean: 0.001892 (range: 0.001892 - 0.001892)
archetype_transform_std: 0.106797 (range: 0.106797 - 0.106797)
archetype_transform_norm: 7.627279 (range: 7.627279 - 7.627279)
archetype_transform_grad_norm: 0.261401 (range: 0.261401 - 0.261401)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0311, max=0.5149, mean=0.2500
Batch reconstruction MSE: 0.9815
Archetype stats: min=-8.5201, max=15.3835
Archetype change since last debug: 0.496655
Archetype gradients: norm=0.024883, mean=0.001418
Epoch 1/1
Average loss: 0.7942
Archetypal loss: 0.8728
KLD loss: 0.0877
Reconstruction loss: 0.8728
Archetype R²: 0.0714
Archetype transform grad norm: 0.265916
Archetype transform param norm: 7.6387
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.7942 (range: 0.7942 - 0.7942)
archetypal_loss: 0.8728 (range: 0.8728 - 0.8728)
kld_loss: 0.0877 (range: 0.0877 - 0.0877)
reconstruction_loss: 0.8728 (range: 0.8728 - 0.8728)
archetype_r2: 0.0714 (range: 0.0714 - 0.0714)
Archetype Transform Summary:
archetype_transform_mean: 0.001897 (range: 0.001897 - 0.001897)
archetype_transform_std: 0.106957 (range: 0.106957 - 0.106957)
archetype_transform_norm: 7.638695 (range: 7.638695 - 7.638695)
archetype_transform_grad_norm: 0.265916 (range: 0.265916 - 0.265916)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0281, max=0.5144, mean=0.2500
Batch reconstruction MSE: 0.9722
Archetype stats: min=-8.3714, max=15.0505
Archetype change since last debug: 0.702700
Archetype gradients: norm=0.069012, mean=0.003476
Epoch 1/1
Average loss: 0.7936
Archetypal loss: 0.8722
KLD loss: 0.0859
Reconstruction loss: 0.8722
Archetype R²: 0.0720
Archetype transform grad norm: 0.253317
Archetype transform param norm: 7.6470
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.7936 (range: 0.7936 - 0.7936)
archetypal_loss: 0.8722 (range: 0.8722 - 0.8722)
kld_loss: 0.0859 (range: 0.0859 - 0.0859)
reconstruction_loss: 0.8722 (range: 0.8722 - 0.8722)
archetype_r2: 0.0720 (range: 0.0720 - 0.0720)
Archetype Transform Summary:
archetype_transform_mean: 0.001909 (range: 0.001909 - 0.001909)
archetype_transform_std: 0.107073 (range: 0.107073 - 0.107073)
archetype_transform_norm: 7.647014 (range: 7.647014 - 7.647014)
archetype_transform_grad_norm: 0.253317 (range: 0.253317 - 0.253317)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0349, max=0.5408, mean=0.2500
Batch reconstruction MSE: 0.9655
Archetype stats: min=-8.5633, max=15.4430
Archetype change since last debug: 0.707340
Archetype gradients: norm=0.017707, mean=0.000920
Epoch 1/1
Average loss: 0.7934
Archetypal loss: 0.8719
KLD loss: 0.0870
Reconstruction loss: 0.8719
Archetype R²: 0.0724
Archetype transform grad norm: 0.250359
Archetype transform param norm: 7.6670
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.7934 (range: 0.7934 - 0.7934)
archetypal_loss: 0.8719 (range: 0.8719 - 0.8719)
kld_loss: 0.0870 (range: 0.0870 - 0.0870)
reconstruction_loss: 0.8719 (range: 0.8719 - 0.8719)
archetype_r2: 0.0724 (range: 0.0724 - 0.0724)
Archetype Transform Summary:
archetype_transform_mean: 0.001918 (range: 0.001918 - 0.001918)
archetype_transform_std: 0.107353 (range: 0.107353 - 0.107353)
archetype_transform_norm: 7.667000 (range: 7.667000 - 7.667000)
archetype_transform_grad_norm: 0.250359 (range: 0.250359 - 0.250359)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0353, max=0.5311, mean=0.2500
Batch reconstruction MSE: 0.9634
Archetype stats: min=-8.4716, max=15.1643
Archetype change since last debug: 0.779655
Archetype gradients: norm=0.057802, mean=0.003118
Epoch 1/1
Average loss: 0.7932
Archetypal loss: 0.8719
KLD loss: 0.0854
Reconstruction loss: 0.8719
Archetype R²: 0.0724
Archetype transform grad norm: 0.247565
Archetype transform param norm: 7.6787
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.7932 (range: 0.7932 - 0.7932)
archetypal_loss: 0.8719 (range: 0.8719 - 0.8719)
kld_loss: 0.0854 (range: 0.0854 - 0.0854)
reconstruction_loss: 0.8719 (range: 0.8719 - 0.8719)
archetype_r2: 0.0724 (range: 0.0724 - 0.0724)
Archetype Transform Summary:
archetype_transform_mean: 0.001920 (range: 0.001920 - 0.001920)
archetype_transform_std: 0.107517 (range: 0.107517 - 0.107517)
archetype_transform_norm: 7.678697 (range: 7.678697 - 7.678697)
archetype_transform_grad_norm: 0.247565 (range: 0.247565 - 0.247565)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0382, max=0.6380, mean=0.2500
Batch reconstruction MSE: 0.9742
Archetype stats: min=-8.6433, max=15.5675
Archetype change since last debug: 0.730362
Archetype gradients: norm=0.032253, mean=0.001666
Epoch 1/1
Average loss: 0.7934
Archetypal loss: 0.8719
KLD loss: 0.0865
Reconstruction loss: 0.8719
Archetype R²: 0.0723
Archetype transform grad norm: 0.248077
Archetype transform param norm: 7.6899
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.7934 (range: 0.7934 - 0.7934)
archetypal_loss: 0.8719 (range: 0.8719 - 0.8719)
kld_loss: 0.0865 (range: 0.0865 - 0.0865)
reconstruction_loss: 0.8719 (range: 0.8719 - 0.8719)
archetype_r2: 0.0723 (range: 0.0723 - 0.0723)
Archetype Transform Summary:
archetype_transform_mean: 0.001923 (range: 0.001923 - 0.001923)
archetype_transform_std: 0.107673 (range: 0.107673 - 0.107673)
archetype_transform_norm: 7.689893 (range: 7.689893 - 7.689893)
archetype_transform_grad_norm: 0.248077 (range: 0.248077 - 0.248077)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0308, max=0.5115, mean=0.2500
Batch reconstruction MSE: 0.9803
Archetype stats: min=-8.5598, max=15.3896
Archetype change since last debug: 0.738694
Archetype gradients: norm=0.049283, mean=0.002837
Epoch 1/1
Average loss: 0.7934
Archetypal loss: 0.8720
KLD loss: 0.0858
Reconstruction loss: 0.8720
Archetype R²: 0.0722
Archetype transform grad norm: 0.250895
Archetype transform param norm: 7.6942
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.7934 (range: 0.7934 - 0.7934)
archetypal_loss: 0.8720 (range: 0.8720 - 0.8720)
kld_loss: 0.0858 (range: 0.0858 - 0.0858)
reconstruction_loss: 0.8720 (range: 0.8720 - 0.8720)
archetype_r2: 0.0722 (range: 0.0722 - 0.0722)
Archetype Transform Summary:
archetype_transform_mean: 0.001901 (range: 0.001901 - 0.001901)
archetype_transform_std: 0.107734 (range: 0.107734 - 0.107734)
archetype_transform_norm: 7.694219 (range: 7.694219 - 7.694219)
archetype_transform_grad_norm: 0.250895 (range: 0.250895 - 0.250895)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0407, max=0.5273, mean=0.2500
Batch reconstruction MSE: 0.9955
Archetype stats: min=-8.6562, max=15.5883
Archetype change since last debug: 0.600907
Archetype gradients: norm=0.055013, mean=0.002228
Epoch 1/1
Average loss: 0.7937
Archetypal loss: 0.8723
KLD loss: 0.0861
Reconstruction loss: 0.8723
Archetype R²: 0.0717
Archetype transform grad norm: 0.252848
Archetype transform param norm: 7.6957
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.7937 (range: 0.7937 - 0.7937)
archetypal_loss: 0.8723 (range: 0.8723 - 0.8723)
kld_loss: 0.0861 (range: 0.0861 - 0.0861)
reconstruction_loss: 0.8723 (range: 0.8723 - 0.8723)
archetype_r2: 0.0717 (range: 0.0717 - 0.0717)
Archetype Transform Summary:
archetype_transform_mean: 0.001894 (range: 0.001894 - 0.001894)
archetype_transform_std: 0.107755 (range: 0.107755 - 0.107755)
archetype_transform_norm: 7.695662 (range: 7.695662 - 7.695662)
archetype_transform_grad_norm: 0.252848 (range: 0.252848 - 0.252848)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0386, max=0.5836, mean=0.2500
Batch reconstruction MSE: 0.9964
Archetype stats: min=-8.5783, max=15.3971
Archetype change since last debug: 0.492234
Archetype gradients: norm=0.050333, mean=0.002540
Epoch 1/1
Average loss: 0.7938
Archetypal loss: 0.8723
KLD loss: 0.0878
Reconstruction loss: 0.8723
Archetype R²: 0.0718
Archetype transform grad norm: 0.252742
Archetype transform param norm: 7.6965
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.7938 (range: 0.7938 - 0.7938)
archetypal_loss: 0.8723 (range: 0.8723 - 0.8723)
kld_loss: 0.0878 (range: 0.0878 - 0.0878)
reconstruction_loss: 0.8723 (range: 0.8723 - 0.8723)
archetype_r2: 0.0718 (range: 0.0718 - 0.0718)
Archetype Transform Summary:
archetype_transform_mean: 0.001864 (range: 0.001864 - 0.001864)
archetype_transform_std: 0.107767 (range: 0.107767 - 0.107767)
archetype_transform_norm: 7.696485 (range: 7.696485 - 7.696485)
archetype_transform_grad_norm: 0.252742 (range: 0.252742 - 0.252742)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0369, max=0.5282, mean=0.2500
Batch reconstruction MSE: 0.9695
Archetype stats: min=-8.6939, max=15.5082
Archetype change since last debug: 0.479987
Archetype gradients: norm=0.051411, mean=0.002064
Epoch 1/1
Average loss: 0.7925
Archetypal loss: 0.8713
KLD loss: 0.0838
Reconstruction loss: 0.8713
Archetype R²: 0.0729
Archetype transform grad norm: 0.245550
Archetype transform param norm: 7.7049
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.7925 (range: 0.7925 - 0.7925)
archetypal_loss: 0.8713 (range: 0.8713 - 0.8713)
kld_loss: 0.0838 (range: 0.0838 - 0.0838)
reconstruction_loss: 0.8713 (range: 0.8713 - 0.8713)
archetype_r2: 0.0729 (range: 0.0729 - 0.0729)
Archetype Transform Summary:
archetype_transform_mean: 0.001862 (range: 0.001862 - 0.001862)
archetype_transform_std: 0.107885 (range: 0.107885 - 0.107885)
archetype_transform_norm: 7.704942 (range: 7.704942 - 7.704942)
archetype_transform_grad_norm: 0.245550 (range: 0.245550 - 0.245550)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0345, max=0.4912, mean=0.2500
Batch reconstruction MSE: 0.9330
Archetype stats: min=-8.7376, max=15.5535
Archetype change since last debug: 0.492505
Archetype gradients: norm=0.034878, mean=0.001739
Epoch 1/1
Average loss: 0.7919
Archetypal loss: 0.8705
KLD loss: 0.0842
Reconstruction loss: 0.8705
Archetype R²: 0.0738
Archetype transform grad norm: 0.239899
Archetype transform param norm: 7.7289
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.7919 (range: 0.7919 - 0.7919)
archetypal_loss: 0.8705 (range: 0.8705 - 0.8705)
kld_loss: 0.0842 (range: 0.0842 - 0.0842)
reconstruction_loss: 0.8705 (range: 0.8705 - 0.8705)
archetype_r2: 0.0738 (range: 0.0738 - 0.0738)
Archetype Transform Summary:
archetype_transform_mean: 0.001875 (range: 0.001875 - 0.001875)
archetype_transform_std: 0.108220 (range: 0.108220 - 0.108220)
archetype_transform_norm: 7.728876 (range: 7.728876 - 7.728876)
archetype_transform_grad_norm: 0.239899 (range: 0.239899 - 0.239899)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0471, max=0.4856, mean=0.2500
Batch reconstruction MSE: 0.9582
Archetype stats: min=-8.9181, max=15.7961
Archetype change since last debug: 0.721463
Archetype gradients: norm=0.044754, mean=0.001975
Epoch 1/1
Average loss: 0.7920
Archetypal loss: 0.8708
KLD loss: 0.0825
Reconstruction loss: 0.8708
Archetype R²: 0.0734
Archetype transform grad norm: 0.243192
Archetype transform param norm: 7.7421
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.7920 (range: 0.7920 - 0.7920)
archetypal_loss: 0.8708 (range: 0.8708 - 0.8708)
kld_loss: 0.0825 (range: 0.0825 - 0.0825)
reconstruction_loss: 0.8708 (range: 0.8708 - 0.8708)
archetype_r2: 0.0734 (range: 0.0734 - 0.0734)
Archetype Transform Summary:
archetype_transform_mean: 0.001869 (range: 0.001869 - 0.001869)
archetype_transform_std: 0.108406 (range: 0.108406 - 0.108406)
archetype_transform_norm: 7.742093 (range: 7.742093 - 7.742093)
archetype_transform_grad_norm: 0.243192 (range: 0.243192 - 0.243192)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0284, max=0.4991, mean=0.2500
Batch reconstruction MSE: 0.9572
Archetype stats: min=-8.9991, max=15.9021
Archetype change since last debug: 0.496305
Archetype gradients: norm=0.039368, mean=0.002031
Epoch 1/1
Average loss: 0.7925
Archetypal loss: 0.8711
KLD loss: 0.0846
Reconstruction loss: 0.8711
Archetype R²: 0.0731
Archetype transform grad norm: 0.239311
Archetype transform param norm: 7.7544
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.7925 (range: 0.7925 - 0.7925)
archetypal_loss: 0.8711 (range: 0.8711 - 0.8711)
kld_loss: 0.0846 (range: 0.0846 - 0.0846)
reconstruction_loss: 0.8711 (range: 0.8711 - 0.8711)
archetype_r2: 0.0731 (range: 0.0731 - 0.0731)
Archetype Transform Summary:
archetype_transform_mean: 0.001863 (range: 0.001863 - 0.001863)
archetype_transform_std: 0.108577 (range: 0.108577 - 0.108577)
archetype_transform_norm: 7.754364 (range: 7.754364 - 7.754364)
archetype_transform_grad_norm: 0.239311 (range: 0.239311 - 0.239311)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0501, max=0.6130, mean=0.2500
Batch reconstruction MSE: 1.0056
Archetype stats: min=-9.0390, max=15.9414
Archetype change since last debug: 0.507748
Archetype gradients: norm=0.056001, mean=0.002652
Epoch 1/1
Average loss: 0.7932
Archetypal loss: 0.8721
KLD loss: 0.0830
Reconstruction loss: 0.8721
Archetype R²: 0.0720
Archetype transform grad norm: 0.237008
Archetype transform param norm: 7.7490
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.7932 (range: 0.7932 - 0.7932)
archetypal_loss: 0.8721 (range: 0.8721 - 0.8721)
kld_loss: 0.0830 (range: 0.0830 - 0.0830)
reconstruction_loss: 0.8721 (range: 0.8721 - 0.8721)
archetype_r2: 0.0720 (range: 0.0720 - 0.0720)
Archetype Transform Summary:
archetype_transform_mean: 0.001847 (range: 0.001847 - 0.001847)
archetype_transform_std: 0.108503 (range: 0.108503 - 0.108503)
archetype_transform_norm: 7.749034 (range: 7.749034 - 7.749034)
archetype_transform_grad_norm: 0.237008 (range: 0.237008 - 0.237008)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0272, max=0.5366, mean=0.2500
Batch reconstruction MSE: 0.9591
Archetype stats: min=-8.9755, max=15.6898
Archetype change since last debug: 0.691090
Archetype gradients: norm=0.041192, mean=0.001988
Epoch 1/1
Average loss: 0.7922
Archetypal loss: 0.8707
KLD loss: 0.0855
Reconstruction loss: 0.8707
Archetype R²: 0.0735
Archetype transform grad norm: 0.233344
Archetype transform param norm: 7.7546
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.7922 (range: 0.7922 - 0.7922)
archetypal_loss: 0.8707 (range: 0.8707 - 0.8707)
kld_loss: 0.0855 (range: 0.0855 - 0.0855)
reconstruction_loss: 0.8707 (range: 0.8707 - 0.8707)
archetype_r2: 0.0735 (range: 0.0735 - 0.0735)
Archetype Transform Summary:
archetype_transform_mean: 0.001838 (range: 0.001838 - 0.001838)
archetype_transform_std: 0.108581 (range: 0.108581 - 0.108581)
archetype_transform_norm: 7.754553 (range: 7.754553 - 7.754553)
archetype_transform_grad_norm: 0.233344 (range: 0.233344 - 0.233344)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0421, max=0.5194, mean=0.2500
Batch reconstruction MSE: 0.9575
Archetype stats: min=-9.0710, max=15.8221
Archetype change since last debug: 0.467547
Archetype gradients: norm=0.044045, mean=0.002428
Epoch 1/1
Average loss: 0.7919
Archetypal loss: 0.8707
KLD loss: 0.0822
Reconstruction loss: 0.8707
Archetype R²: 0.0735
Archetype transform grad norm: 0.243673
Archetype transform param norm: 7.7660
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.7919 (range: 0.7919 - 0.7919)
archetypal_loss: 0.8707 (range: 0.8707 - 0.8707)
kld_loss: 0.0822 (range: 0.0822 - 0.0822)
reconstruction_loss: 0.8707 (range: 0.8707 - 0.8707)
archetype_r2: 0.0735 (range: 0.0735 - 0.0735)
Archetype Transform Summary:
archetype_transform_mean: 0.001849 (range: 0.001849 - 0.001849)
archetype_transform_std: 0.108740 (range: 0.108740 - 0.108740)
archetype_transform_norm: 7.765979 (range: 7.765979 - 7.765979)
archetype_transform_grad_norm: 0.243673 (range: 0.243673 - 0.243673)
Fold 3/3
Model input_dim: 50 (auto-detected from data)
Archetypes parameter registered: True
Archetypes requires_grad: True
Deep_AA (Deep Archetypal Analysis) initialized:
- Single-stage architecture (like Deep_2)
- Inflation factor: 1.5
- Direct archetypal coordinates (no bottleneck)
Consolidated Archetype Initialization
PCHA: True, Inflation: True (factor: 1.5)
Test inflation: False
Running PCHA initialization...
Input shape: (128, 50)
Target archetypes: 4
Running PCHA with 4 archetypes...
Data shape for PCHA: (50, 128)
PCHA Results:
Archetypes shape: (4, 50)
Archetype R²: 0.2243
SSE: 5192.3601
PCHA archetype R²: 0.2243
Archetype shape: (4, 50)
[OK] Initialized 4 archetypes using PCHA
Scalar Archetypal Inflation (factor: 1.50)
[OK] Inflation complete
[STATS] Positioning verification:
Data radius (max): 21.726
Data radius (mean): 6.606
Archetype distances: 4.250 to 27.434
Archetypes outside data: 1/4
Min archetype separation: 6.938
[OK] Archetype initialization complete (success: True)
[OK] Archetype initialization complete (PCHA: True, Inflation: 1.5)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0020, max=0.9697, mean=0.2500
Batch reconstruction MSE: 0.9601
Archetype stats: min=-1.7337, max=1.6110
Archetype gradients: norm=0.013220, mean=0.000662
Epoch 1/1
Average loss: 0.8962
Archetypal loss: 0.9857
KLD loss: 0.0915
Reconstruction loss: 0.9857
Archetype R²: -0.0129
Archetype transform grad norm: 0.204778
Archetype transform param norm: 5.8594
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.8962 (range: 0.8962 - 0.8962)
archetypal_loss: 0.9857 (range: 0.9857 - 0.9857)
kld_loss: 0.0915 (range: 0.0915 - 0.0915)
reconstruction_loss: 0.9857 (range: 0.9857 - 0.9857)
archetype_r2: -0.0129 (range: -0.0129 - -0.0129)
Archetype Transform Summary:
archetype_transform_mean: -0.000434 (range: -0.000434 - -0.000434)
archetype_transform_std: 0.082055 (range: 0.082055 - 0.082055)
archetype_transform_norm: 5.859430 (range: 5.859430 - 5.859430)
archetype_transform_grad_norm: 0.204778 (range: 0.204778 - 0.204778)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0030, max=0.9356, mean=0.2500
Batch reconstruction MSE: 0.8668
Archetype stats: min=-0.9777, max=0.8297
Archetype change since last debug: 4.739764
Archetype gradients: norm=0.004295, mean=0.000220
Epoch 1/1
Average loss: 0.8770
Archetypal loss: 0.9667
KLD loss: 0.0705
Reconstruction loss: 0.9667
Archetype R²: 0.0067
Archetype transform grad norm: 0.156332
Archetype transform param norm: 5.9141
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.8770 (range: 0.8770 - 0.8770)
archetypal_loss: 0.9667 (range: 0.9667 - 0.9667)
kld_loss: 0.0705 (range: 0.0705 - 0.0705)
reconstruction_loss: 0.9667 (range: 0.9667 - 0.9667)
archetype_r2: 0.0067 (range: 0.0067 - 0.0067)
Archetype Transform Summary:
archetype_transform_mean: -0.000334 (range: -0.000334 - -0.000334)
archetype_transform_std: 0.082822 (range: 0.082822 - 0.082822)
archetype_transform_norm: 5.914122 (range: 5.914122 - 5.914122)
archetype_transform_grad_norm: 0.156332 (range: 0.156332 - 0.156332)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0022, max=0.9546, mean=0.2500
Batch reconstruction MSE: 0.8998
Archetype stats: min=-1.7150, max=1.7504
Archetype change since last debug: 3.989001
Archetype gradients: norm=0.008792, mean=0.000475
Epoch 1/1
Average loss: 0.8657
Archetypal loss: 0.9493
KLD loss: 0.1133
Reconstruction loss: 0.9493
Archetype R²: 0.0245
Archetype transform grad norm: 0.185212
Archetype transform param norm: 6.0934
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.8657 (range: 0.8657 - 0.8657)
archetypal_loss: 0.9493 (range: 0.9493 - 0.9493)
kld_loss: 0.1133 (range: 0.1133 - 0.1133)
reconstruction_loss: 0.9493 (range: 0.9493 - 0.9493)
archetype_r2: 0.0245 (range: 0.0245 - 0.0245)
Archetype Transform Summary:
archetype_transform_mean: -0.000052 (range: -0.000052 - -0.000052)
archetype_transform_std: 0.085333 (range: 0.085333 - 0.085333)
archetype_transform_norm: 6.093423 (range: 6.093423 - 6.093423)
archetype_transform_grad_norm: 0.185212 (range: 0.185212 - 0.185212)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0015, max=0.9645, mean=0.2500
Batch reconstruction MSE: 1.0118
Archetype stats: min=-3.1023, max=2.8023
Archetype change since last debug: 6.309215
Archetype gradients: norm=0.026651, mean=0.001448
Epoch 1/1
Average loss: 0.8563
Archetypal loss: 0.9374
KLD loss: 0.1265
Reconstruction loss: 0.9374
Archetype R²: 0.0364
Archetype transform grad norm: 0.209280
Archetype transform param norm: 6.3398
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.8563 (range: 0.8563 - 0.8563)
archetypal_loss: 0.9374 (range: 0.9374 - 0.9374)
kld_loss: 0.1265 (range: 0.1265 - 0.1265)
reconstruction_loss: 0.9374 (range: 0.9374 - 0.9374)
archetype_r2: 0.0364 (range: 0.0364 - 0.0364)
Archetype Transform Summary:
archetype_transform_mean: -0.000012 (range: -0.000012 - -0.000012)
archetype_transform_std: 0.088784 (range: 0.088784 - 0.088784)
archetype_transform_norm: 6.339803 (range: 6.339803 - 6.339803)
archetype_transform_grad_norm: 0.209280 (range: 0.209280 - 0.209280)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0017, max=0.9622, mean=0.2500
Batch reconstruction MSE: 1.1281
Archetype stats: min=-4.0579, max=3.3950
Archetype change since last debug: 5.172600
Archetype gradients: norm=0.051927, mean=0.002724
Epoch 1/1
Average loss: 0.8520
Archetypal loss: 0.9335
KLD loss: 0.1184
Reconstruction loss: 0.9335
Archetype R²: 0.0400
Archetype transform grad norm: 0.220483
Archetype transform param norm: 6.5064
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.8520 (range: 0.8520 - 0.8520)
archetypal_loss: 0.9335 (range: 0.9335 - 0.9335)
kld_loss: 0.1184 (range: 0.1184 - 0.1184)
reconstruction_loss: 0.9335 (range: 0.9335 - 0.9335)
archetype_r2: 0.0400 (range: 0.0400 - 0.0400)
Archetype Transform Summary:
archetype_transform_mean: -0.000060 (range: -0.000060 - -0.000060)
archetype_transform_std: 0.091116 (range: 0.091116 - 0.091116)
archetype_transform_norm: 6.506365 (range: 6.506365 - 6.506365)
archetype_transform_grad_norm: 0.220483 (range: 0.220483 - 0.220483)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0022, max=0.9501, mean=0.2500
Batch reconstruction MSE: 1.1699
Archetype stats: min=-4.4580, max=3.7142
Archetype change since last debug: 3.060199
Archetype gradients: norm=0.061580, mean=0.003201
Epoch 1/1
Average loss: 0.8487
Archetypal loss: 0.9304
KLD loss: 0.1132
Reconstruction loss: 0.9304
Archetype R²: 0.0430
Archetype transform grad norm: 0.225146
Archetype transform param norm: 6.6032
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.8487 (range: 0.8487 - 0.8487)
archetypal_loss: 0.9304 (range: 0.9304 - 0.9304)
kld_loss: 0.1132 (range: 0.1132 - 0.1132)
reconstruction_loss: 0.9304 (range: 0.9304 - 0.9304)
archetype_r2: 0.0430 (range: 0.0430 - 0.0430)
Archetype Transform Summary:
archetype_transform_mean: -0.000116 (range: -0.000116 - -0.000116)
archetype_transform_std: 0.092472 (range: 0.092472 - 0.092472)
archetype_transform_norm: 6.603164 (range: 6.603164 - 6.603164)
archetype_transform_grad_norm: 0.225146 (range: 0.225146 - 0.225146)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0027, max=0.9383, mean=0.2500
Batch reconstruction MSE: 1.1862
Archetype stats: min=-4.6466, max=4.4366
Archetype change since last debug: 2.519646
Archetype gradients: norm=0.065691, mean=0.003408
Epoch 1/1
Average loss: 0.8458
Archetypal loss: 0.9275
KLD loss: 0.1109
Reconstruction loss: 0.9275
Archetype R²: 0.0459
Archetype transform grad norm: 0.228762
Archetype transform param norm: 6.6723
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.8458 (range: 0.8458 - 0.8458)
archetypal_loss: 0.9275 (range: 0.9275 - 0.9275)
kld_loss: 0.1109 (range: 0.1109 - 0.1109)
reconstruction_loss: 0.9275 (range: 0.9275 - 0.9275)
archetype_r2: 0.0459 (range: 0.0459 - 0.0459)
Archetype Transform Summary:
archetype_transform_mean: -0.000178 (range: -0.000178 - -0.000178)
archetype_transform_std: 0.093440 (range: 0.093440 - 0.093440)
archetype_transform_norm: 6.672323 (range: 6.672323 - 6.672323)
archetype_transform_grad_norm: 0.228762 (range: 0.228762 - 0.228762)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0033, max=0.9227, mean=0.2500
Batch reconstruction MSE: 1.1875
Archetype stats: min=-4.7193, max=5.4780
Archetype change since last debug: 2.378446
Archetype gradients: norm=0.066095, mean=0.003433
Epoch 1/1
Average loss: 0.8430
Archetypal loss: 0.9245
KLD loss: 0.1097
Reconstruction loss: 0.9245
Archetype R²: 0.0490
Archetype transform grad norm: 0.230618
Archetype transform param norm: 6.7301
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.8430 (range: 0.8430 - 0.8430)
archetypal_loss: 0.9245 (range: 0.9245 - 0.9245)
kld_loss: 0.1097 (range: 0.1097 - 0.1097)
reconstruction_loss: 0.9245 (range: 0.9245 - 0.9245)
archetype_r2: 0.0490 (range: 0.0490 - 0.0490)
Archetype Transform Summary:
archetype_transform_mean: -0.000255 (range: -0.000255 - -0.000255)
archetype_transform_std: 0.094250 (range: 0.094250 - 0.094250)
archetype_transform_norm: 6.730133 (range: 6.730133 - 6.730133)
archetype_transform_grad_norm: 0.230618 (range: 0.230618 - 0.230618)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0044, max=0.9038, mean=0.2500
Batch reconstruction MSE: 1.1813
Archetype stats: min=-4.7000, max=6.4653
Archetype change since last debug: 2.349715
Archetype gradients: norm=0.065075, mean=0.003395
Epoch 1/1
Average loss: 0.8404
Archetypal loss: 0.9217
KLD loss: 0.1080
Reconstruction loss: 0.9217
Archetype R²: 0.0518
Archetype transform grad norm: 0.230534
Archetype transform param norm: 6.7810
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.8404 (range: 0.8404 - 0.8404)
archetypal_loss: 0.9217 (range: 0.9217 - 0.9217)
kld_loss: 0.1080 (range: 0.1080 - 0.1080)
reconstruction_loss: 0.9217 (range: 0.9217 - 0.9217)
archetype_r2: 0.0518 (range: 0.0518 - 0.0518)
Archetype Transform Summary:
archetype_transform_mean: -0.000350 (range: -0.000350 - -0.000350)
archetype_transform_std: 0.094961 (range: 0.094961 - 0.094961)
archetype_transform_norm: 6.780987 (range: 6.780987 - 6.780987)
archetype_transform_grad_norm: 0.230534 (range: 0.230534 - 0.230534)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0060, max=0.8831, mean=0.2500
Batch reconstruction MSE: 1.1639
Archetype stats: min=-4.9734, max=7.3625
Archetype change since last debug: 2.242719
Archetype gradients: norm=0.062919, mean=0.003275
Epoch 1/1
Average loss: 0.8379
Archetypal loss: 0.9192
KLD loss: 0.1069
Reconstruction loss: 0.9192
Archetype R²: 0.0545
Archetype transform grad norm: 0.232060
Archetype transform param norm: 6.8290
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.8379 (range: 0.8379 - 0.8379)
archetypal_loss: 0.9192 (range: 0.9192 - 0.9192)
kld_loss: 0.1069 (range: 0.1069 - 0.1069)
reconstruction_loss: 0.9192 (range: 0.9192 - 0.9192)
archetype_r2: 0.0545 (range: 0.0545 - 0.0545)
Archetype Transform Summary:
archetype_transform_mean: -0.000444 (range: -0.000444 - -0.000444)
archetype_transform_std: 0.095634 (range: 0.095634 - 0.095634)
archetype_transform_norm: 6.829006 (range: 6.829006 - 6.829006)
archetype_transform_grad_norm: 0.232060 (range: 0.232060 - 0.232060)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0083, max=0.8431, mean=0.2500
Batch reconstruction MSE: 1.1417
Archetype stats: min=-5.6826, max=8.1580
Archetype change since last debug: 2.129279
Archetype gradients: norm=0.058563, mean=0.003066
Epoch 1/1
Average loss: 0.8357
Archetypal loss: 0.9169
KLD loss: 0.1049
Reconstruction loss: 0.9169
Archetype R²: 0.0568
Archetype transform grad norm: 0.234073
Archetype transform param norm: 6.8747
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.8357 (range: 0.8357 - 0.8357)
archetypal_loss: 0.9169 (range: 0.9169 - 0.9169)
kld_loss: 0.1049 (range: 0.1049 - 0.1049)
reconstruction_loss: 0.9169 (range: 0.9169 - 0.9169)
archetype_r2: 0.0568 (range: 0.0568 - 0.0568)
Archetype Transform Summary:
archetype_transform_mean: -0.000534 (range: -0.000534 - -0.000534)
archetype_transform_std: 0.096273 (range: 0.096273 - 0.096273)
archetype_transform_norm: 6.874732 (range: 6.874732 - 6.874732)
archetype_transform_grad_norm: 0.234073 (range: 0.234073 - 0.234073)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0115, max=0.7923, mean=0.2500
Batch reconstruction MSE: 1.1103
Archetype stats: min=-6.3129, max=8.8748
Archetype change since last debug: 1.981974
Archetype gradients: norm=0.054699, mean=0.002834
Epoch 1/1
Average loss: 0.8336
Archetypal loss: 0.9147
KLD loss: 0.1029
Reconstruction loss: 0.9147
Archetype R²: 0.0591
Archetype transform grad norm: 0.235822
Archetype transform param norm: 6.9230
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.8336 (range: 0.8336 - 0.8336)
archetypal_loss: 0.9147 (range: 0.9147 - 0.9147)
kld_loss: 0.1029 (range: 0.1029 - 0.1029)
reconstruction_loss: 0.9147 (range: 0.9147 - 0.9147)
archetype_r2: 0.0591 (range: 0.0591 - 0.0591)
Archetype Transform Summary:
archetype_transform_mean: -0.000624 (range: -0.000624 - -0.000624)
archetype_transform_std: 0.096949 (range: 0.096949 - 0.096949)
archetype_transform_norm: 6.923041 (range: 6.923041 - 6.923041)
archetype_transform_grad_norm: 0.235822 (range: 0.235822 - 0.235822)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0147, max=0.7403, mean=0.2500
Batch reconstruction MSE: 1.0820
Archetype stats: min=-6.9648, max=9.5365
Archetype change since last debug: 1.906080
Archetype gradients: norm=0.048519, mean=0.002543
Epoch 1/1
Average loss: 0.8316
Archetypal loss: 0.9128
KLD loss: 0.1003
Reconstruction loss: 0.9128
Archetype R²: 0.0610
Archetype transform grad norm: 0.237666
Archetype transform param norm: 6.9712
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.8316 (range: 0.8316 - 0.8316)
archetypal_loss: 0.9128 (range: 0.9128 - 0.9128)
kld_loss: 0.1003 (range: 0.1003 - 0.1003)
reconstruction_loss: 0.9128 (range: 0.9128 - 0.9128)
archetype_r2: 0.0610 (range: 0.0610 - 0.0610)
Archetype Transform Summary:
archetype_transform_mean: -0.000703 (range: -0.000703 - -0.000703)
archetype_transform_std: 0.097624 (range: 0.097624 - 0.097624)
archetype_transform_norm: 6.971248 (range: 6.971248 - 6.971248)
archetype_transform_grad_norm: 0.237666 (range: 0.237666 - 0.237666)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0173, max=0.7424, mean=0.2500
Batch reconstruction MSE: 1.0498
Archetype stats: min=-7.4848, max=10.1204
Archetype change since last debug: 1.749542
Archetype gradients: norm=0.044189, mean=0.002299
Epoch 1/1
Average loss: 0.8298
Archetypal loss: 0.9112
KLD loss: 0.0979
Reconstruction loss: 0.9112
Archetype R²: 0.0628
Archetype transform grad norm: 0.240923
Archetype transform param norm: 7.0209
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.8298 (range: 0.8298 - 0.8298)
archetypal_loss: 0.9112 (range: 0.9112 - 0.9112)
kld_loss: 0.0979 (range: 0.0979 - 0.0979)
reconstruction_loss: 0.9112 (range: 0.9112 - 0.9112)
archetype_r2: 0.0628 (range: 0.0628 - 0.0628)
Archetype Transform Summary:
archetype_transform_mean: -0.000776 (range: -0.000776 - -0.000776)
archetype_transform_std: 0.098319 (range: 0.098319 - 0.098319)
archetype_transform_norm: 7.020931 (range: 7.020931 - 7.020931)
archetype_transform_grad_norm: 0.240923 (range: 0.240923 - 0.240923)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0201, max=0.7533, mean=0.2500
Batch reconstruction MSE: 1.0276
Archetype stats: min=-8.0021, max=10.6314
Archetype change since last debug: 1.672424
Archetype gradients: norm=0.037631, mean=0.002038
Epoch 1/1
Average loss: 0.8285
Archetypal loss: 0.9099
KLD loss: 0.0956
Reconstruction loss: 0.9099
Archetype R²: 0.0641
Archetype transform grad norm: 0.241712
Archetype transform param norm: 7.0678
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.8285 (range: 0.8285 - 0.8285)
archetypal_loss: 0.9099 (range: 0.9099 - 0.9099)
kld_loss: 0.0956 (range: 0.0956 - 0.0956)
reconstruction_loss: 0.9099 (range: 0.9099 - 0.9099)
archetype_r2: 0.0641 (range: 0.0641 - 0.0641)
Archetype Transform Summary:
archetype_transform_mean: -0.000841 (range: -0.000841 - -0.000841)
archetype_transform_std: 0.098975 (range: 0.098975 - 0.098975)
archetype_transform_norm: 7.067824 (range: 7.067824 - 7.067824)
archetype_transform_grad_norm: 0.241712 (range: 0.241712 - 0.241712)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0200, max=0.7409, mean=0.2500
Batch reconstruction MSE: 1.0103
Archetype stats: min=-8.4619, max=11.0675
Archetype change since last debug: 1.551175
Archetype gradients: norm=0.038593, mean=0.002057
Epoch 1/1
Average loss: 0.8273
Archetypal loss: 0.9087
KLD loss: 0.0942
Reconstruction loss: 0.9087
Archetype R²: 0.0653
Archetype transform grad norm: 0.242507
Archetype transform param norm: 7.1134
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.8273 (range: 0.8273 - 0.8273)
archetypal_loss: 0.9087 (range: 0.9087 - 0.9087)
kld_loss: 0.0942 (range: 0.0942 - 0.0942)
reconstruction_loss: 0.9087 (range: 0.9087 - 0.9087)
archetype_r2: 0.0653 (range: 0.0653 - 0.0653)
Archetype Transform Summary:
archetype_transform_mean: -0.000893 (range: -0.000893 - -0.000893)
archetype_transform_std: 0.099613 (range: 0.099613 - 0.099613)
archetype_transform_norm: 7.113375 (range: 7.113375 - 7.113375)
archetype_transform_grad_norm: 0.242507 (range: 0.242507 - 0.242507)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0221, max=0.7566, mean=0.2500
Batch reconstruction MSE: 1.0148
Archetype stats: min=-8.9618, max=11.3859
Archetype change since last debug: 1.505557
Archetype gradients: norm=0.032509, mean=0.001819
Epoch 1/1
Average loss: 0.8272
Archetypal loss: 0.9086
KLD loss: 0.0938
Reconstruction loss: 0.9086
Archetype R²: 0.0653
Archetype transform grad norm: 0.247107
Archetype transform param norm: 7.1499
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.8272 (range: 0.8272 - 0.8272)
archetypal_loss: 0.9086 (range: 0.9086 - 0.9086)
kld_loss: 0.0938 (range: 0.0938 - 0.0938)
reconstruction_loss: 0.9086 (range: 0.9086 - 0.9086)
archetype_r2: 0.0653 (range: 0.0653 - 0.0653)
Archetype Transform Summary:
archetype_transform_mean: -0.000952 (range: -0.000952 - -0.000952)
archetype_transform_std: 0.100125 (range: 0.100125 - 0.100125)
archetype_transform_norm: 7.149950 (range: 7.149950 - 7.149950)
archetype_transform_grad_norm: 0.247107 (range: 0.247107 - 0.247107)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0158, max=0.7534, mean=0.2500
Batch reconstruction MSE: 1.0090
Archetype stats: min=-9.1787, max=11.7133
Archetype change since last debug: 1.223696
Archetype gradients: norm=0.044646, mean=0.002348
Epoch 1/1
Average loss: 0.8267
Archetypal loss: 0.9083
KLD loss: 0.0926
Reconstruction loss: 0.9083
Archetype R²: 0.0656
Archetype transform grad norm: 0.248203
Archetype transform param norm: 7.1765
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.8267 (range: 0.8267 - 0.8267)
archetypal_loss: 0.9083 (range: 0.9083 - 0.9083)
kld_loss: 0.0926 (range: 0.0926 - 0.0926)
reconstruction_loss: 0.9083 (range: 0.9083 - 0.9083)
archetype_r2: 0.0656 (range: 0.0656 - 0.0656)
Archetype Transform Summary:
archetype_transform_mean: -0.000999 (range: -0.000999 - -0.000999)
archetype_transform_std: 0.100496 (range: 0.100496 - 0.100496)
archetype_transform_norm: 7.176515 (range: 7.176515 - 7.176515)
archetype_transform_grad_norm: 0.248203 (range: 0.248203 - 0.248203)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0247, max=0.7404, mean=0.2500
Batch reconstruction MSE: 0.9997
Archetype stats: min=-9.5897, max=11.6971
Archetype change since last debug: 1.213382
Archetype gradients: norm=0.023251, mean=0.001368
Epoch 1/1
Average loss: 0.8261
Archetypal loss: 0.9076
KLD loss: 0.0932
Reconstruction loss: 0.9076
Archetype R²: 0.0663
Archetype transform grad norm: 0.256766
Archetype transform param norm: 7.2030
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.8261 (range: 0.8261 - 0.8261)
archetypal_loss: 0.9076 (range: 0.9076 - 0.9076)
kld_loss: 0.0932 (range: 0.0932 - 0.0932)
reconstruction_loss: 0.9076 (range: 0.9076 - 0.9076)
archetype_r2: 0.0663 (range: 0.0663 - 0.0663)
Archetype Transform Summary:
archetype_transform_mean: -0.001043 (range: -0.001043 - -0.001043)
archetype_transform_std: 0.100866 (range: 0.100866 - 0.100866)
archetype_transform_norm: 7.202978 (range: 7.202978 - 7.202978)
archetype_transform_grad_norm: 0.256766 (range: 0.256766 - 0.256766)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0247, max=0.7254, mean=0.2500
Batch reconstruction MSE: 0.9998
Archetype stats: min=-9.6665, max=11.9277
Archetype change since last debug: 1.061150
Archetype gradients: norm=0.058338, mean=0.003061
Epoch 1/1
Average loss: 0.8257
Archetypal loss: 0.9073
KLD loss: 0.0914
Reconstruction loss: 0.9073
Archetype R²: 0.0665
Archetype transform grad norm: 0.273664
Archetype transform param norm: 7.2234
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.8257 (range: 0.8257 - 0.8257)
archetypal_loss: 0.9073 (range: 0.9073 - 0.9073)
kld_loss: 0.0914 (range: 0.0914 - 0.0914)
reconstruction_loss: 0.9073 (range: 0.9073 - 0.9073)
archetype_r2: 0.0665 (range: 0.0665 - 0.0665)
Archetype Transform Summary:
archetype_transform_mean: -0.001094 (range: -0.001094 - -0.001094)
archetype_transform_std: 0.101152 (range: 0.101152 - 0.101152)
archetype_transform_norm: 7.223426 (range: 7.223426 - 7.223426)
archetype_transform_grad_norm: 0.273664 (range: 0.273664 - 0.273664)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0272, max=0.7746, mean=0.2500
Batch reconstruction MSE: 0.9879
Archetype stats: min=-10.0096, max=12.0318
Archetype change since last debug: 1.021667
Archetype gradients: norm=0.018875, mean=0.000832
Epoch 1/1
Average loss: 0.8257
Archetypal loss: 0.9072
KLD loss: 0.0921
Reconstruction loss: 0.9072
Archetype R²: 0.0666
Archetype transform grad norm: 0.287614
Archetype transform param norm: 7.2434
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.8257 (range: 0.8257 - 0.8257)
archetypal_loss: 0.9072 (range: 0.9072 - 0.9072)
kld_loss: 0.0921 (range: 0.0921 - 0.0921)
reconstruction_loss: 0.9072 (range: 0.9072 - 0.9072)
archetype_r2: 0.0666 (range: 0.0666 - 0.0666)
Archetype Transform Summary:
archetype_transform_mean: -0.001145 (range: -0.001145 - -0.001145)
archetype_transform_std: 0.101431 (range: 0.101431 - 0.101431)
archetype_transform_norm: 7.243409 (range: 7.243409 - 7.243409)
archetype_transform_grad_norm: 0.287614 (range: 0.287614 - 0.287614)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0272, max=0.7525, mean=0.2500
Batch reconstruction MSE: 0.9841
Archetype stats: min=-9.9304, max=12.1364
Archetype change since last debug: 1.020358
Archetype gradients: norm=0.059125, mean=0.003062
Epoch 1/1
Average loss: 0.8244
Archetypal loss: 0.9060
KLD loss: 0.0897
Reconstruction loss: 0.9060
Archetype R²: 0.0677
Archetype transform grad norm: 0.266824
Archetype transform param norm: 7.2661
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.8244 (range: 0.8244 - 0.8244)
archetypal_loss: 0.9060 (range: 0.9060 - 0.9060)
kld_loss: 0.0897 (range: 0.0897 - 0.0897)
reconstruction_loss: 0.9060 (range: 0.9060 - 0.9060)
archetype_r2: 0.0677 (range: 0.0677 - 0.0677)
Archetype Transform Summary:
archetype_transform_mean: -0.001186 (range: -0.001186 - -0.001186)
archetype_transform_std: 0.101749 (range: 0.101749 - 0.101749)
archetype_transform_norm: 7.266106 (range: 7.266106 - 7.266106)
archetype_transform_grad_norm: 0.266824 (range: 0.266824 - 0.266824)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0326, max=0.7712, mean=0.2500
Batch reconstruction MSE: 0.9793
Archetype stats: min=-10.2390, max=12.2573
Archetype change since last debug: 1.006435
Archetype gradients: norm=0.015356, mean=0.000781
Epoch 1/1
Average loss: 0.8240
Archetypal loss: 0.9056
KLD loss: 0.0899
Reconstruction loss: 0.9056
Archetype R²: 0.0681
Archetype transform grad norm: 0.271022
Archetype transform param norm: 7.2911
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.8240 (range: 0.8240 - 0.8240)
archetypal_loss: 0.9056 (range: 0.9056 - 0.9056)
kld_loss: 0.0899 (range: 0.0899 - 0.0899)
reconstruction_loss: 0.9056 (range: 0.9056 - 0.9056)
archetype_r2: 0.0681 (range: 0.0681 - 0.0681)
Archetype Transform Summary:
archetype_transform_mean: -0.001231 (range: -0.001231 - -0.001231)
archetype_transform_std: 0.102098 (range: 0.102098 - 0.102098)
archetype_transform_norm: 7.291068 (range: 7.291068 - 7.291068)
archetype_transform_grad_norm: 0.271022 (range: 0.271022 - 0.271022)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0243, max=0.7690, mean=0.2500
Batch reconstruction MSE: 0.9985
Archetype stats: min=-10.3558, max=12.4254
Archetype change since last debug: 0.890499
Archetype gradients: norm=0.059530, mean=0.003015
Epoch 1/1
Average loss: 0.8248
Archetypal loss: 0.9064
KLD loss: 0.0907
Reconstruction loss: 0.9064
Archetype R²: 0.0672
Archetype transform grad norm: 0.266873
Archetype transform param norm: 7.3004
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.8248 (range: 0.8248 - 0.8248)
archetypal_loss: 0.9064 (range: 0.9064 - 0.9064)
kld_loss: 0.0907 (range: 0.0907 - 0.0907)
reconstruction_loss: 0.9064 (range: 0.9064 - 0.9064)
archetype_r2: 0.0672 (range: 0.0672 - 0.0672)
Archetype Transform Summary:
archetype_transform_mean: -0.001257 (range: -0.001257 - -0.001257)
archetype_transform_std: 0.102228 (range: 0.102228 - 0.102228)
archetype_transform_norm: 7.300404 (range: 7.300404 - 7.300404)
archetype_transform_grad_norm: 0.266873 (range: 0.266873 - 0.266873)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0297, max=0.7710, mean=0.2500
Batch reconstruction MSE: 0.9758
Archetype stats: min=-10.5621, max=12.2051
Archetype change since last debug: 0.934568
Archetype gradients: norm=0.016214, mean=0.000883
Epoch 1/1
Average loss: 0.8232
Archetypal loss: 0.9047
KLD loss: 0.0898
Reconstruction loss: 0.9047
Archetype R²: 0.0689
Archetype transform grad norm: 0.260743
Archetype transform param norm: 7.3187
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.8232 (range: 0.8232 - 0.8232)
archetypal_loss: 0.9047 (range: 0.9047 - 0.9047)
kld_loss: 0.0898 (range: 0.0898 - 0.0898)
reconstruction_loss: 0.9047 (range: 0.9047 - 0.9047)
archetype_r2: 0.0689 (range: 0.0689 - 0.0689)
Archetype Transform Summary:
archetype_transform_mean: -0.001292 (range: -0.001292 - -0.001292)
archetype_transform_std: 0.102484 (range: 0.102484 - 0.102484)
archetype_transform_norm: 7.318697 (range: 7.318697 - 7.318697)
archetype_transform_grad_norm: 0.260743 (range: 0.260743 - 0.260743)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0395, max=0.7604, mean=0.2500
Batch reconstruction MSE: 0.9628
Archetype stats: min=-10.7144, max=12.4286
Archetype change since last debug: 0.857697
Archetype gradients: norm=0.053031, mean=0.002525
Epoch 1/1
Average loss: 0.8230
Archetypal loss: 0.9048
KLD loss: 0.0869
Reconstruction loss: 0.9048
Archetype R²: 0.0688
Archetype transform grad norm: 0.263866
Archetype transform param norm: 7.3372
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.8230 (range: 0.8230 - 0.8230)
archetypal_loss: 0.9048 (range: 0.9048 - 0.9048)
kld_loss: 0.0869 (range: 0.0869 - 0.0869)
reconstruction_loss: 0.9048 (range: 0.9048 - 0.9048)
archetype_r2: 0.0688 (range: 0.0688 - 0.0688)
Archetype Transform Summary:
archetype_transform_mean: -0.001317 (range: -0.001317 - -0.001317)
archetype_transform_std: 0.102743 (range: 0.102743 - 0.102743)
archetype_transform_norm: 7.337204 (range: 7.337204 - 7.337204)
archetype_transform_grad_norm: 0.263866 (range: 0.263866 - 0.263866)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0233, max=0.7700, mean=0.2500
Batch reconstruction MSE: 0.9431
Archetype stats: min=-10.9603, max=12.4354
Archetype change since last debug: 0.921365
Archetype gradients: norm=0.014428, mean=0.000739
Epoch 1/1
Average loss: 0.8222
Archetypal loss: 0.9038
KLD loss: 0.0875
Reconstruction loss: 0.9038
Archetype R²: 0.0698
Archetype transform grad norm: 0.262717
Archetype transform param norm: 7.3611
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.8222 (range: 0.8222 - 0.8222)
archetypal_loss: 0.9038 (range: 0.9038 - 0.9038)
kld_loss: 0.0875 (range: 0.0875 - 0.0875)
reconstruction_loss: 0.9038 (range: 0.9038 - 0.9038)
archetype_r2: 0.0698 (range: 0.0698 - 0.0698)
Archetype Transform Summary:
archetype_transform_mean: -0.001350 (range: -0.001350 - -0.001350)
archetype_transform_std: 0.103077 (range: 0.103077 - 0.103077)
archetype_transform_norm: 7.361115 (range: 7.361115 - 7.361115)
archetype_transform_grad_norm: 0.262717 (range: 0.262717 - 0.262717)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0411, max=0.7394, mean=0.2500
Batch reconstruction MSE: 0.9575
Archetype stats: min=-11.0757, max=12.7049
Archetype change since last debug: 0.905188
Archetype gradients: norm=0.053677, mean=0.002513
Epoch 1/1
Average loss: 0.8227
Archetypal loss: 0.9046
KLD loss: 0.0859
Reconstruction loss: 0.9046
Archetype R²: 0.0689
Archetype transform grad norm: 0.263923
Archetype transform param norm: 7.3743
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.8227 (range: 0.8227 - 0.8227)
archetypal_loss: 0.9046 (range: 0.9046 - 0.9046)
kld_loss: 0.0859 (range: 0.0859 - 0.0859)
reconstruction_loss: 0.9046 (range: 0.9046 - 0.9046)
archetype_r2: 0.0689 (range: 0.0689 - 0.0689)
Archetype Transform Summary:
archetype_transform_mean: -0.001374 (range: -0.001374 - -0.001374)
archetype_transform_std: 0.103261 (range: 0.103261 - 0.103261)
archetype_transform_norm: 7.374264 (range: 7.374264 - 7.374264)
archetype_transform_grad_norm: 0.263923 (range: 0.263923 - 0.263923)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0221, max=0.7752, mean=0.2500
Batch reconstruction MSE: 0.9660
Archetype stats: min=-11.2490, max=12.5483
Archetype change since last debug: 0.789248
Archetype gradients: norm=0.017179, mean=0.000874
Epoch 1/1
Average loss: 0.8223
Archetypal loss: 0.9038
KLD loss: 0.0884
Reconstruction loss: 0.9038
Archetype R²: 0.0696
Archetype transform grad norm: 0.265281
Archetype transform param norm: 7.3832
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.8223 (range: 0.8223 - 0.8223)
archetypal_loss: 0.9038 (range: 0.9038 - 0.9038)
kld_loss: 0.0884 (range: 0.0884 - 0.0884)
reconstruction_loss: 0.9038 (range: 0.9038 - 0.9038)
archetype_r2: 0.0696 (range: 0.0696 - 0.0696)
Archetype Transform Summary:
archetype_transform_mean: -0.001406 (range: -0.001406 - -0.001406)
archetype_transform_std: 0.103385 (range: 0.103385 - 0.103385)
archetype_transform_norm: 7.383160 (range: 7.383160 - 7.383160)
archetype_transform_grad_norm: 0.265281 (range: 0.265281 - 0.265281)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0379, max=0.7387, mean=0.2500
Batch reconstruction MSE: 0.9739
Archetype stats: min=-11.3772, max=12.7170
Archetype change since last debug: 0.694804
Archetype gradients: norm=0.061189, mean=0.002806
Epoch 1/1
Average loss: 0.8218
Archetypal loss: 0.9036
KLD loss: 0.0857
Reconstruction loss: 0.9036
Archetype R²: 0.0698
Archetype transform grad norm: 0.259082
Archetype transform param norm: 7.3938
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.8218 (range: 0.8218 - 0.8218)
archetypal_loss: 0.9036 (range: 0.9036 - 0.9036)
kld_loss: 0.0857 (range: 0.0857 - 0.0857)
reconstruction_loss: 0.9036 (range: 0.9036 - 0.9036)
archetype_r2: 0.0698 (range: 0.0698 - 0.0698)
Archetype Transform Summary:
archetype_transform_mean: -0.001437 (range: -0.001437 - -0.001437)
archetype_transform_std: 0.103534 (range: 0.103534 - 0.103534)
archetype_transform_norm: 7.393806 (range: 7.393806 - 7.393806)
archetype_transform_grad_norm: 0.259082 (range: 0.259082 - 0.259082)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0251, max=0.7816, mean=0.2500
Batch reconstruction MSE: 0.9587
Archetype stats: min=-11.7072, max=12.7090
Archetype change since last debug: 0.829506
Archetype gradients: norm=0.022797, mean=0.001246
Epoch 1/1
Average loss: 0.8221
Archetypal loss: 0.9037
KLD loss: 0.0879
Reconstruction loss: 0.9037
Archetype R²: 0.0697
Archetype transform grad norm: 0.278124
Archetype transform param norm: 7.4059
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.8221 (range: 0.8221 - 0.8221)
archetypal_loss: 0.9037 (range: 0.9037 - 0.9037)
kld_loss: 0.0879 (range: 0.0879 - 0.0879)
reconstruction_loss: 0.9037 (range: 0.9037 - 0.9037)
archetype_r2: 0.0697 (range: 0.0697 - 0.0697)
Archetype Transform Summary:
archetype_transform_mean: -0.001468 (range: -0.001468 - -0.001468)
archetype_transform_std: 0.103704 (range: 0.103704 - 0.103704)
archetype_transform_norm: 7.405940 (range: 7.405940 - 7.405940)
archetype_transform_grad_norm: 0.278124 (range: 0.278124 - 0.278124)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0477, max=0.7846, mean=0.2500
Batch reconstruction MSE: 0.9604
Archetype stats: min=-11.8836, max=12.7650
Archetype change since last debug: 0.635737
Archetype gradients: norm=0.062057, mean=0.002871
Epoch 1/1
Average loss: 0.8214
Archetypal loss: 0.9033
KLD loss: 0.0844
Reconstruction loss: 0.9033
Archetype R²: 0.0701
Archetype transform grad norm: 0.258196
Archetype transform param norm: 7.4137
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.8214 (range: 0.8214 - 0.8214)
archetypal_loss: 0.9033 (range: 0.9033 - 0.9033)
kld_loss: 0.0844 (range: 0.0844 - 0.0844)
reconstruction_loss: 0.9033 (range: 0.9033 - 0.9033)
archetype_r2: 0.0701 (range: 0.0701 - 0.0701)
Archetype Transform Summary:
archetype_transform_mean: -0.001489 (range: -0.001489 - -0.001489)
archetype_transform_std: 0.103813 (range: 0.103813 - 0.103813)
archetype_transform_norm: 7.413741 (range: 7.413741 - 7.413741)
archetype_transform_grad_norm: 0.258196 (range: 0.258196 - 0.258196)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0303, max=0.7786, mean=0.2500
Batch reconstruction MSE: 0.9427
Archetype stats: min=-11.9984, max=12.9070
Archetype change since last debug: 0.762720
Archetype gradients: norm=0.015082, mean=0.000722
Epoch 1/1
Average loss: 0.8208
Archetypal loss: 0.9025
KLD loss: 0.0853
Reconstruction loss: 0.9025
Archetype R²: 0.0708
Archetype transform grad norm: 0.265029
Archetype transform param norm: 7.4309
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.8208 (range: 0.8208 - 0.8208)
archetypal_loss: 0.9025 (range: 0.9025 - 0.9025)
kld_loss: 0.0853 (range: 0.0853 - 0.0853)
reconstruction_loss: 0.9025 (range: 0.9025 - 0.9025)
archetype_r2: 0.0708 (range: 0.0708 - 0.0708)
Archetype Transform Summary:
archetype_transform_mean: -0.001517 (range: -0.001517 - -0.001517)
archetype_transform_std: 0.104052 (range: 0.104052 - 0.104052)
archetype_transform_norm: 7.430890 (range: 7.430890 - 7.430890)
archetype_transform_grad_norm: 0.265029 (range: 0.265029 - 0.265029)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0514, max=0.7505, mean=0.2500
Batch reconstruction MSE: 0.9468
Archetype stats: min=-12.1334, max=13.0739
Archetype change since last debug: 0.719874
Archetype gradients: norm=0.055327, mean=0.002686
Epoch 1/1
Average loss: 0.8211
Archetypal loss: 0.9031
KLD loss: 0.0835
Reconstruction loss: 0.9031
Archetype R²: 0.0702
Archetype transform grad norm: 0.273027
Archetype transform param norm: 7.4415
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.8211 (range: 0.8211 - 0.8211)
archetypal_loss: 0.9031 (range: 0.9031 - 0.9031)
kld_loss: 0.0835 (range: 0.0835 - 0.0835)
reconstruction_loss: 0.9031 (range: 0.9031 - 0.9031)
archetype_r2: 0.0702 (range: 0.0702 - 0.0702)
Archetype Transform Summary:
archetype_transform_mean: -0.001531 (range: -0.001531 - -0.001531)
archetype_transform_std: 0.104200 (range: 0.104200 - 0.104200)
archetype_transform_norm: 7.441467 (range: 7.441467 - 7.441467)
archetype_transform_grad_norm: 0.273027 (range: 0.273027 - 0.273027)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0280, max=0.7726, mean=0.2500
Batch reconstruction MSE: 0.9624
Archetype stats: min=-12.1644, max=13.0893
Archetype change since last debug: 0.634151
Archetype gradients: norm=0.016210, mean=0.000748
Epoch 1/1
Average loss: 0.8214
Archetypal loss: 0.9032
KLD loss: 0.0852
Reconstruction loss: 0.9032
Archetype R²: 0.0700
Archetype transform grad norm: 0.272035
Archetype transform param norm: 7.4449
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.8214 (range: 0.8214 - 0.8214)
archetypal_loss: 0.9032 (range: 0.9032 - 0.9032)
kld_loss: 0.0852 (range: 0.0852 - 0.0852)
reconstruction_loss: 0.9032 (range: 0.9032 - 0.9032)
archetype_r2: 0.0700 (range: 0.0700 - 0.0700)
Archetype Transform Summary:
archetype_transform_mean: -0.001553 (range: -0.001553 - -0.001553)
archetype_transform_std: 0.104249 (range: 0.104249 - 0.104249)
archetype_transform_norm: 7.444944 (range: 7.444944 - 7.444944)
archetype_transform_grad_norm: 0.272035 (range: 0.272035 - 0.272035)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0464, max=0.7659, mean=0.2500
Batch reconstruction MSE: 0.9671
Archetype stats: min=-12.2153, max=12.9522
Archetype change since last debug: 0.606151
Archetype gradients: norm=0.058208, mean=0.003123
Epoch 1/1
Average loss: 0.8210
Archetypal loss: 0.9027
KLD loss: 0.0849
Reconstruction loss: 0.9027
Archetype R²: 0.0704
Archetype transform grad norm: 0.276727
Archetype transform param norm: 7.4477
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.8210 (range: 0.8210 - 0.8210)
archetypal_loss: 0.9027 (range: 0.9027 - 0.9027)
kld_loss: 0.0849 (range: 0.0849 - 0.0849)
reconstruction_loss: 0.9027 (range: 0.9027 - 0.9027)
archetype_r2: 0.0704 (range: 0.0704 - 0.0704)
Archetype Transform Summary:
archetype_transform_mean: -0.001567 (range: -0.001567 - -0.001567)
archetype_transform_std: 0.104287 (range: 0.104287 - 0.104287)
archetype_transform_norm: 7.447706 (range: 7.447706 - 7.447706)
archetype_transform_grad_norm: 0.276727 (range: 0.276727 - 0.276727)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0396, max=0.7717, mean=0.2500
Batch reconstruction MSE: 0.9665
Archetype stats: min=-12.3929, max=12.8194
Archetype change since last debug: 0.615573
Archetype gradients: norm=0.022684, mean=0.001208
Epoch 1/1
Average loss: 0.8213
Archetypal loss: 0.9032
KLD loss: 0.0846
Reconstruction loss: 0.9032
Archetype R²: 0.0699
Archetype transform grad norm: 0.292817
Archetype transform param norm: 7.4512
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.8213 (range: 0.8213 - 0.8213)
archetypal_loss: 0.9032 (range: 0.9032 - 0.9032)
kld_loss: 0.0846 (range: 0.0846 - 0.0846)
reconstruction_loss: 0.9032 (range: 0.9032 - 0.9032)
archetype_r2: 0.0699 (range: 0.0699 - 0.0699)
Archetype Transform Summary:
archetype_transform_mean: -0.001589 (range: -0.001589 - -0.001589)
archetype_transform_std: 0.104335 (range: 0.104335 - 0.104335)
archetype_transform_norm: 7.451177 (range: 7.451177 - 7.451177)
archetype_transform_grad_norm: 0.292817 (range: 0.292817 - 0.292817)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0363, max=0.7716, mean=0.2500
Batch reconstruction MSE: 0.9733
Archetype stats: min=-12.2972, max=12.8249
Archetype change since last debug: 0.597543
Archetype gradients: norm=0.048916, mean=0.002795
Epoch 1/1
Average loss: 0.8212
Archetypal loss: 0.9029
KLD loss: 0.0868
Reconstruction loss: 0.9029
Archetype R²: 0.0702
Archetype transform grad norm: 0.283514
Archetype transform param norm: 7.4537
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.8212 (range: 0.8212 - 0.8212)
archetypal_loss: 0.9029 (range: 0.9029 - 0.9029)
kld_loss: 0.0868 (range: 0.0868 - 0.0868)
reconstruction_loss: 0.9029 (range: 0.9029 - 0.9029)
archetype_r2: 0.0702 (range: 0.0702 - 0.0702)
Archetype Transform Summary:
archetype_transform_mean: -0.001609 (range: -0.001609 - -0.001609)
archetype_transform_std: 0.104370 (range: 0.104370 - 0.104370)
archetype_transform_norm: 7.453652 (range: 7.453652 - 7.453652)
archetype_transform_grad_norm: 0.283514 (range: 0.283514 - 0.283514)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0545, max=0.7580, mean=0.2500
Batch reconstruction MSE: 0.9952
Archetype stats: min=-12.3021, max=12.8452
Archetype change since last debug: 0.640366
Archetype gradients: norm=0.039122, mean=0.001901
Epoch 1/1
Average loss: 0.8214
Archetypal loss: 0.9032
KLD loss: 0.0848
Reconstruction loss: 0.9032
Archetype R²: 0.0698
Archetype transform grad norm: 0.283058
Archetype transform param norm: 7.4514
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.8214 (range: 0.8214 - 0.8214)
archetypal_loss: 0.9032 (range: 0.9032 - 0.9032)
kld_loss: 0.0848 (range: 0.0848 - 0.0848)
reconstruction_loss: 0.9032 (range: 0.9032 - 0.9032)
archetype_r2: 0.0698 (range: 0.0698 - 0.0698)
Archetype Transform Summary:
archetype_transform_mean: -0.001639 (range: -0.001639 - -0.001639)
archetype_transform_std: 0.104338 (range: 0.104338 - 0.104338)
archetype_transform_norm: 7.451413 (range: 7.451413 - 7.451413)
archetype_transform_grad_norm: 0.283058 (range: 0.283058 - 0.283058)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0324, max=0.7990, mean=0.2500
Batch reconstruction MSE: 0.9504
Archetype stats: min=-12.2552, max=12.8721
Archetype change since last debug: 0.584158
Archetype gradients: norm=0.042189, mean=0.002243
Epoch 1/1
Average loss: 0.8202
Archetypal loss: 0.9018
KLD loss: 0.0855
Reconstruction loss: 0.9018
Archetype R²: 0.0713
Archetype transform grad norm: 0.273982
Archetype transform param norm: 7.4604
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.8202 (range: 0.8202 - 0.8202)
archetypal_loss: 0.9018 (range: 0.9018 - 0.9018)
kld_loss: 0.0855 (range: 0.0855 - 0.0855)
reconstruction_loss: 0.9018 (range: 0.9018 - 0.9018)
archetype_r2: 0.0713 (range: 0.0713 - 0.0713)
Archetype Transform Summary:
archetype_transform_mean: -0.001659 (range: -0.001659 - -0.001659)
archetype_transform_std: 0.104463 (range: 0.104463 - 0.104463)
archetype_transform_norm: 7.460375 (range: 7.460375 - 7.460375)
archetype_transform_grad_norm: 0.273982 (range: 0.273982 - 0.273982)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0532, max=0.7688, mean=0.2500
Batch reconstruction MSE: 0.9552
Archetype stats: min=-12.4768, max=12.8313
Archetype change since last debug: 0.650033
Archetype gradients: norm=0.042358, mean=0.001898
Epoch 1/1
Average loss: 0.8199
Archetypal loss: 0.9017
KLD loss: 0.0837
Reconstruction loss: 0.9017
Archetype R²: 0.0714
Archetype transform grad norm: 0.272687
Archetype transform param norm: 7.4706
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.8199 (range: 0.8199 - 0.8199)
archetypal_loss: 0.9017 (range: 0.9017 - 0.9017)
kld_loss: 0.0837 (range: 0.0837 - 0.0837)
reconstruction_loss: 0.9017 (range: 0.9017 - 0.9017)
archetype_r2: 0.0714 (range: 0.0714 - 0.0714)
Archetype Transform Summary:
archetype_transform_mean: -0.001687 (range: -0.001687 - -0.001687)
archetype_transform_std: 0.104606 (range: 0.104606 - 0.104606)
archetype_transform_norm: 7.470584 (range: 7.470584 - 7.470584)
archetype_transform_grad_norm: 0.272687 (range: 0.272687 - 0.272687)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0317, max=0.7964, mean=0.2500
Batch reconstruction MSE: 0.9266
Archetype stats: min=-12.6442, max=12.8734
Archetype change since last debug: 0.599349
Archetype gradients: norm=0.036118, mean=0.001603
Epoch 1/1
Average loss: 0.8189
Archetypal loss: 0.9006
KLD loss: 0.0833
Reconstruction loss: 0.9006
Archetype R²: 0.0726
Archetype transform grad norm: 0.259946
Archetype transform param norm: 7.4888
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.8189 (range: 0.8189 - 0.8189)
archetypal_loss: 0.9006 (range: 0.9006 - 0.9006)
kld_loss: 0.0833 (range: 0.0833 - 0.0833)
reconstruction_loss: 0.9006 (range: 0.9006 - 0.9006)
archetype_r2: 0.0726 (range: 0.0726 - 0.0726)
Archetype Transform Summary:
archetype_transform_mean: -0.001697 (range: -0.001697 - -0.001697)
archetype_transform_std: 0.104860 (range: 0.104860 - 0.104860)
archetype_transform_norm: 7.488761 (range: 7.488761 - 7.488761)
archetype_transform_grad_norm: 0.259946 (range: 0.259946 - 0.259946)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0654, max=0.7411, mean=0.2500
Batch reconstruction MSE: 0.9475
Archetype stats: min=-12.9245, max=12.9068
Archetype change since last debug: 0.795112
Archetype gradients: norm=0.048205, mean=0.001893
Epoch 1/1
Average loss: 0.8192
Archetypal loss: 0.9011
KLD loss: 0.0821
Reconstruction loss: 0.9011
Archetype R²: 0.0719
Archetype transform grad norm: 0.265054
Archetype transform param norm: 7.4998
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.8192 (range: 0.8192 - 0.8192)
archetypal_loss: 0.9011 (range: 0.9011 - 0.9011)
kld_loss: 0.0821 (range: 0.0821 - 0.0821)
reconstruction_loss: 0.9011 (range: 0.9011 - 0.9011)
archetype_r2: 0.0719 (range: 0.0719 - 0.0719)
Archetype Transform Summary:
archetype_transform_mean: -0.001711 (range: -0.001711 - -0.001711)
archetype_transform_std: 0.105014 (range: 0.105014 - 0.105014)
archetype_transform_norm: 7.499794 (range: 7.499794 - 7.499794)
archetype_transform_grad_norm: 0.265054 (range: 0.265054 - 0.265054)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0349, max=0.8103, mean=0.2500
Batch reconstruction MSE: 0.9691
Archetype stats: min=-13.0567, max=12.9953
Archetype change since last debug: 0.602429
Archetype gradients: norm=0.041989, mean=0.001938
Epoch 1/1
Average loss: 0.8200
Archetypal loss: 0.9017
KLD loss: 0.0844
Reconstruction loss: 0.9017
Archetype R²: 0.0713
Archetype transform grad norm: 0.257746
Archetype transform param norm: 7.4992
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.8200 (range: 0.8200 - 0.8200)
archetypal_loss: 0.9017 (range: 0.9017 - 0.9017)
kld_loss: 0.0844 (range: 0.0844 - 0.0844)
reconstruction_loss: 0.9017 (range: 0.9017 - 0.9017)
archetype_r2: 0.0713 (range: 0.0713 - 0.0713)
Archetype Transform Summary:
archetype_transform_mean: -0.001714 (range: -0.001714 - -0.001714)
archetype_transform_std: 0.105005 (range: 0.105005 - 0.105005)
archetype_transform_norm: 7.499153 (range: 7.499153 - 7.499153)
archetype_transform_grad_norm: 0.257746 (range: 0.257746 - 0.257746)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0512, max=0.7744, mean=0.2500
Batch reconstruction MSE: 0.9790
Archetype stats: min=-13.1780, max=12.8252
Archetype change since last debug: 0.557940
Archetype gradients: norm=0.063695, mean=0.002407
Epoch 1/1
Average loss: 0.8198
Archetypal loss: 0.9016
KLD loss: 0.0836
Reconstruction loss: 0.9016
Archetype R²: 0.0713
Archetype transform grad norm: 0.259012
Archetype transform param norm: 7.4948
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.8198 (range: 0.8198 - 0.8198)
archetypal_loss: 0.9016 (range: 0.9016 - 0.9016)
kld_loss: 0.0836 (range: 0.0836 - 0.0836)
reconstruction_loss: 0.9016 (range: 0.9016 - 0.9016)
archetype_r2: 0.0713 (range: 0.0713 - 0.0713)
Archetype Transform Summary:
archetype_transform_mean: -0.001727 (range: -0.001727 - -0.001727)
archetype_transform_std: 0.104945 (range: 0.104945 - 0.104945)
archetype_transform_norm: 7.494831 (range: 7.494831 - 7.494831)
archetype_transform_grad_norm: 0.259012 (range: 0.259012 - 0.259012)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0417, max=0.7912, mean=0.2500
Batch reconstruction MSE: 0.9473
Archetype stats: min=-13.1077, max=12.9457
Archetype change since last debug: 0.609618
Archetype gradients: norm=0.029107, mean=0.001720
Epoch 1/1
Average loss: 0.8191
Archetypal loss: 0.9009
KLD loss: 0.0831
Reconstruction loss: 0.9009
Archetype R²: 0.0721
Archetype transform grad norm: 0.260157
Archetype transform param norm: 7.5030
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.8191 (range: 0.8191 - 0.8191)
archetypal_loss: 0.9009 (range: 0.9009 - 0.9009)
kld_loss: 0.0831 (range: 0.0831 - 0.0831)
reconstruction_loss: 0.9009 (range: 0.9009 - 0.9009)
archetype_r2: 0.0721 (range: 0.0721 - 0.0721)
Archetype Transform Summary:
archetype_transform_mean: -0.001740 (range: -0.001740 - -0.001740)
archetype_transform_std: 0.105059 (range: 0.105059 - 0.105059)
archetype_transform_norm: 7.502982 (range: 7.502982 - 7.502982)
archetype_transform_grad_norm: 0.260157 (range: 0.260157 - 0.260157)
[OK] Completed in 32.6s
[STATS] Mean archetype R²: 0.0721
[STATS] Mean validation R²: 0.0721
đź§Ş Configuration 8/20: {'n_archetypes': 4, 'hidden_dims': [128, 256, 512], 'inflation_factor': 1.5, 'use_pcha_init': True, 'use_inflation': True}
Fold 1/3
Model input_dim: 50 (auto-detected from data)
Archetypes parameter registered: True
Archetypes requires_grad: True
Deep_AA (Deep Archetypal Analysis) initialized:
- Single-stage architecture (like Deep_2)
- Inflation factor: 1.5
- Direct archetypal coordinates (no bottleneck)
Consolidated Archetype Initialization
PCHA: True, Inflation: True (factor: 1.5)
Test inflation: False
Running PCHA initialization...
Input shape: (128, 50)
Target archetypes: 4
Running PCHA with 4 archetypes...
Data shape for PCHA: (50, 128)
PCHA Results:
Archetypes shape: (4, 50)
Archetype R²: 0.1584
SSE: 4777.2645
PCHA archetype R²: 0.1584
Archetype shape: (4, 50)
[OK] Initialized 4 archetypes using PCHA
Scalar Archetypal Inflation (factor: 1.50)
[OK] Inflation complete
[STATS] Positioning verification:
Data radius (max): 17.217
Data radius (mean): 6.131
Archetype distances: 3.563 to 14.195
Archetypes outside data: 0/4
Min archetype separation: 7.817
[OK] Archetype initialization complete (success: True)
[OK] Archetype initialization complete (PCHA: True, Inflation: 1.5)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0046, max=0.9692, mean=0.2500
Batch reconstruction MSE: 1.1359
Archetype stats: min=-1.7183, max=1.4029
Archetype gradients: norm=0.012974, mean=0.000697
Epoch 1/1
Average loss: 0.8694
Archetypal loss: 0.9633
KLD loss: 0.0238
Reconstruction loss: 0.9633
Archetype R²: -0.0115
Archetype transform grad norm: 0.141738
Archetype transform param norm: 5.7745
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.8694 (range: 0.8694 - 0.8694)
archetypal_loss: 0.9633 (range: 0.9633 - 0.9633)
kld_loss: 0.0238 (range: 0.0238 - 0.0238)
reconstruction_loss: 0.9633 (range: 0.9633 - 0.9633)
archetype_r2: -0.0115 (range: -0.0115 - -0.0115)
Archetype Transform Summary:
archetype_transform_mean: -0.001025 (range: -0.001025 - -0.001025)
archetype_transform_std: 0.080860 (range: 0.080860 - 0.080860)
archetype_transform_norm: 5.774492 (range: 5.774492 - 5.774492)
archetype_transform_grad_norm: 0.141738 (range: 0.141738 - 0.141738)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0000, max=0.9831, mean=0.2500
Batch reconstruction MSE: 1.0532
Archetype stats: min=-0.5879, max=0.8347
Archetype change since last debug: 3.926934
Archetype gradients: norm=0.005332, mean=0.000300
Epoch 1/1
Average loss: 0.8669
Archetypal loss: 0.9517
KLD loss: 0.1039
Reconstruction loss: 0.9517
Archetype R²: 0.0004
Archetype transform grad norm: 0.120019
Archetype transform param norm: 5.8002
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.8669 (range: 0.8669 - 0.8669)
archetypal_loss: 0.9517 (range: 0.9517 - 0.9517)
kld_loss: 0.1039 (range: 0.1039 - 0.1039)
reconstruction_loss: 0.9517 (range: 0.9517 - 0.9517)
archetype_r2: 0.0004 (range: 0.0004 - 0.0004)
Archetype Transform Summary:
archetype_transform_mean: -0.001078 (range: -0.001078 - -0.001078)
archetype_transform_std: 0.081219 (range: 0.081219 - 0.081219)
archetype_transform_norm: 5.800168 (range: 5.800168 - 5.800168)
archetype_transform_grad_norm: 0.120019 (range: 0.120019 - 0.120019)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0028, max=0.9674, mean=0.2500
Batch reconstruction MSE: 1.1057
Archetype stats: min=-1.1161, max=1.4008
Archetype change since last debug: 3.335667
Archetype gradients: norm=0.008836, mean=0.000437
Epoch 1/1
Average loss: 0.8538
Archetypal loss: 0.9398
KLD loss: 0.0801
Reconstruction loss: 0.9398
Archetype R²: 0.0132
Archetype transform grad norm: 0.146219
Archetype transform param norm: 5.9041
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.8538 (range: 0.8538 - 0.8538)
archetypal_loss: 0.9398 (range: 0.9398 - 0.9398)
kld_loss: 0.0801 (range: 0.0801 - 0.0801)
reconstruction_loss: 0.9398 (range: 0.9398 - 0.9398)
archetype_r2: 0.0132 (range: 0.0132 - 0.0132)
Archetype Transform Summary:
archetype_transform_mean: -0.001347 (range: -0.001347 - -0.001347)
archetype_transform_std: 0.082671 (range: 0.082671 - 0.082671)
archetype_transform_norm: 5.904131 (range: 5.904131 - 5.904131)
archetype_transform_grad_norm: 0.146219 (range: 0.146219 - 0.146219)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0033, max=0.8822, mean=0.2500
Batch reconstruction MSE: 1.0852
Archetype stats: min=-2.0706, max=2.2608
Archetype change since last debug: 5.028873
Archetype gradients: norm=0.013845, mean=0.000619
Epoch 1/1
Average loss: 0.8425
Archetypal loss: 0.9241
KLD loss: 0.1081
Reconstruction loss: 0.9241
Archetype R²: 0.0297
Archetype transform grad norm: 0.168316
Archetype transform param norm: 6.1196
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.8425 (range: 0.8425 - 0.8425)
archetypal_loss: 0.9241 (range: 0.9241 - 0.9241)
kld_loss: 0.1081 (range: 0.1081 - 0.1081)
reconstruction_loss: 0.9241 (range: 0.9241 - 0.9241)
archetype_r2: 0.0297 (range: 0.0297 - 0.0297)
Archetype Transform Summary:
archetype_transform_mean: -0.001808 (range: -0.001808 - -0.001808)
archetype_transform_std: 0.085680 (range: 0.085680 - 0.085680)
archetype_transform_norm: 6.119583 (range: 6.119583 - 6.119583)
archetype_transform_grad_norm: 0.168316 (range: 0.168316 - 0.168316)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0019, max=0.9901, mean=0.2500
Batch reconstruction MSE: 1.2562
Archetype stats: min=-3.3375, max=4.2962
Archetype change since last debug: 6.425518
Archetype gradients: norm=0.028424, mean=0.001408
Epoch 1/1
Average loss: 0.8357
Archetypal loss: 0.9154
KLD loss: 0.1189
Reconstruction loss: 0.9154
Archetype R²: 0.0394
Archetype transform grad norm: 0.192870
Archetype transform param norm: 6.3549
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.8357 (range: 0.8357 - 0.8357)
archetypal_loss: 0.9154 (range: 0.9154 - 0.9154)
kld_loss: 0.1189 (range: 0.1189 - 0.1189)
reconstruction_loss: 0.9154 (range: 0.9154 - 0.9154)
archetype_r2: 0.0394 (range: 0.0394 - 0.0394)
Archetype Transform Summary:
archetype_transform_mean: -0.002230 (range: -0.002230 - -0.002230)
archetype_transform_std: 0.088967 (range: 0.088967 - 0.088967)
archetype_transform_norm: 6.354924 (range: 6.354924 - 6.354924)
archetype_transform_grad_norm: 0.192870 (range: 0.192870 - 0.192870)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0039, max=0.9683, mean=0.2500
Batch reconstruction MSE: 1.3606
Archetype stats: min=-3.7526, max=5.5787
Archetype change since last debug: 5.265263
Archetype gradients: norm=0.113818, mean=0.005112
Epoch 1/1
Average loss: 0.8341
Archetypal loss: 0.9090
KLD loss: 0.1598
Reconstruction loss: 0.9090
Archetype R²: 0.0464
Archetype transform grad norm: 0.209249
Archetype transform param norm: 6.5304
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.8341 (range: 0.8341 - 0.8341)
archetypal_loss: 0.9090 (range: 0.9090 - 0.9090)
kld_loss: 0.1598 (range: 0.1598 - 0.1598)
reconstruction_loss: 0.9090 (range: 0.9090 - 0.9090)
archetype_r2: 0.0464 (range: 0.0464 - 0.0464)
Archetype Transform Summary:
archetype_transform_mean: -0.002396 (range: -0.002396 - -0.002396)
archetype_transform_std: 0.091422 (range: 0.091422 - 0.091422)
archetype_transform_norm: 6.530405 (range: 6.530405 - 6.530405)
archetype_transform_grad_norm: 0.209249 (range: 0.209249 - 0.209249)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0026, max=0.9320, mean=0.2500
Batch reconstruction MSE: 1.4632
Archetype stats: min=-4.8420, max=6.9063
Archetype change since last debug: 3.408689
Archetype gradients: norm=0.062214, mean=0.003149
Epoch 1/1
Average loss: 0.8310
Archetypal loss: 0.9076
KLD loss: 0.1415
Reconstruction loss: 0.9076
Archetype R²: 0.0481
Archetype transform grad norm: 0.226858
Archetype transform param norm: 6.6258
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.8310 (range: 0.8310 - 0.8310)
archetypal_loss: 0.9076 (range: 0.9076 - 0.9076)
kld_loss: 0.1415 (range: 0.1415 - 0.1415)
reconstruction_loss: 0.9076 (range: 0.9076 - 0.9076)
archetype_r2: 0.0481 (range: 0.0481 - 0.0481)
Archetype Transform Summary:
archetype_transform_mean: -0.002555 (range: -0.002555 - -0.002555)
archetype_transform_std: 0.092754 (range: 0.092754 - 0.092754)
archetype_transform_norm: 6.625822 (range: 6.625822 - 6.625822)
archetype_transform_grad_norm: 0.226858 (range: 0.226858 - 0.226858)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0057, max=0.8943, mean=0.2500
Batch reconstruction MSE: 1.3715
Archetype stats: min=-4.7281, max=7.0202
Archetype change since last debug: 3.093671
Archetype gradients: norm=0.158553, mean=0.005901
Epoch 1/1
Average loss: 0.8239
Archetypal loss: 0.9014
KLD loss: 0.1264
Reconstruction loss: 0.9014
Archetype R²: 0.0544
Archetype transform grad norm: 0.206505
Archetype transform param norm: 6.6905
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.8239 (range: 0.8239 - 0.8239)
archetypal_loss: 0.9014 (range: 0.9014 - 0.9014)
kld_loss: 0.1264 (range: 0.1264 - 0.1264)
reconstruction_loss: 0.9014 (range: 0.9014 - 0.9014)
archetype_r2: 0.0544 (range: 0.0544 - 0.0544)
Archetype Transform Summary:
archetype_transform_mean: -0.002435 (range: -0.002435 - -0.002435)
archetype_transform_std: 0.093664 (range: 0.093664 - 0.093664)
archetype_transform_norm: 6.690527 (range: 6.690527 - 6.690527)
archetype_transform_grad_norm: 0.206505 (range: 0.206505 - 0.206505)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0130, max=0.8416, mean=0.2500
Batch reconstruction MSE: 1.2321
Archetype stats: min=-5.3516, max=8.2817
Archetype change since last debug: 2.888303
Archetype gradients: norm=0.045955, mean=0.002249
Epoch 1/1
Average loss: 0.8181
Archetypal loss: 0.8964
KLD loss: 0.1130
Reconstruction loss: 0.8964
Archetype R²: 0.0594
Archetype transform grad norm: 0.205299
Archetype transform param norm: 6.7742
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.8181 (range: 0.8181 - 0.8181)
archetypal_loss: 0.8964 (range: 0.8964 - 0.8964)
kld_loss: 0.1130 (range: 0.1130 - 0.1130)
reconstruction_loss: 0.8964 (range: 0.8964 - 0.8964)
archetype_r2: 0.0594 (range: 0.0594 - 0.0594)
Archetype Transform Summary:
archetype_transform_mean: -0.002518 (range: -0.002518 - -0.002518)
archetype_transform_std: 0.094834 (range: 0.094834 - 0.094834)
archetype_transform_norm: 6.774205 (range: 6.774205 - 6.774205)
archetype_transform_grad_norm: 0.205299 (range: 0.205299 - 0.205299)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0012, max=0.9892, mean=0.2500
Batch reconstruction MSE: 1.1296
Archetype stats: min=-5.7580, max=8.9556
Archetype change since last debug: 2.258724
Archetype gradients: norm=0.044233, mean=0.001786
Epoch 1/1
Average loss: 0.8137
Archetypal loss: 0.8921
KLD loss: 0.1076
Reconstruction loss: 0.8921
Archetype R²: 0.0638
Archetype transform grad norm: 0.204468
Archetype transform param norm: 6.8759
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.8137 (range: 0.8137 - 0.8137)
archetypal_loss: 0.8921 (range: 0.8921 - 0.8921)
kld_loss: 0.1076 (range: 0.1076 - 0.1076)
reconstruction_loss: 0.8921 (range: 0.8921 - 0.8921)
archetype_r2: 0.0638 (range: 0.0638 - 0.0638)
Archetype Transform Summary:
archetype_transform_mean: -0.002609 (range: -0.002609 - -0.002609)
archetype_transform_std: 0.096255 (range: 0.096255 - 0.096255)
archetype_transform_norm: 6.875864 (range: 6.875864 - 6.875864)
archetype_transform_grad_norm: 0.204468 (range: 0.204468 - 0.204468)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0052, max=0.8788, mean=0.2500
Batch reconstruction MSE: 1.2146
Archetype stats: min=-6.2664, max=9.9837
Archetype change since last debug: 2.754117
Archetype gradients: norm=0.044587, mean=0.002269
Epoch 1/1
Average loss: 0.8133
Archetypal loss: 0.8928
KLD loss: 0.0985
Reconstruction loss: 0.8928
Archetype R²: 0.0633
Archetype transform grad norm: 0.214075
Archetype transform param norm: 6.9533
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.8133 (range: 0.8133 - 0.8133)
archetypal_loss: 0.8928 (range: 0.8928 - 0.8928)
kld_loss: 0.0985 (range: 0.0985 - 0.0985)
reconstruction_loss: 0.8928 (range: 0.8928 - 0.8928)
archetype_r2: 0.0633 (range: 0.0633 - 0.0633)
Archetype Transform Summary:
archetype_transform_mean: -0.002693 (range: -0.002693 - -0.002693)
archetype_transform_std: 0.097337 (range: 0.097337 - 0.097337)
archetype_transform_norm: 6.953262 (range: 6.953262 - 6.953262)
archetype_transform_grad_norm: 0.214075 (range: 0.214075 - 0.214075)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0063, max=0.8649, mean=0.2500
Batch reconstruction MSE: 1.2133
Archetype stats: min=-6.4780, max=10.3523
Archetype change since last debug: 1.816145
Archetype gradients: norm=0.075052, mean=0.003852
Epoch 1/1
Average loss: 0.8139
Archetypal loss: 0.8930
KLD loss: 0.1025
Reconstruction loss: 0.8930
Archetype R²: 0.0630
Archetype transform grad norm: 0.234075
Archetype transform param norm: 7.0114
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.8139 (range: 0.8139 - 0.8139)
archetypal_loss: 0.8930 (range: 0.8930 - 0.8930)
kld_loss: 0.1025 (range: 0.1025 - 0.1025)
reconstruction_loss: 0.8930 (range: 0.8930 - 0.8930)
archetype_r2: 0.0630 (range: 0.0630 - 0.0630)
Archetype Transform Summary:
archetype_transform_mean: -0.002759 (range: -0.002759 - -0.002759)
archetype_transform_std: 0.098150 (range: 0.098150 - 0.098150)
archetype_transform_norm: 7.011421 (range: 7.011421 - 7.011421)
archetype_transform_grad_norm: 0.234075 (range: 0.234075 - 0.234075)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0094, max=0.7387, mean=0.2500
Batch reconstruction MSE: 1.5173
Archetype stats: min=-6.4771, max=10.5733
Archetype change since last debug: 1.555600
Archetype gradients: norm=0.123671, mean=0.006675
Epoch 1/1
Average loss: 0.8216
Archetypal loss: 0.9001
KLD loss: 0.1149
Reconstruction loss: 0.9001
Archetype R²: 0.0561
Archetype transform grad norm: 0.263416
Archetype transform param norm: 7.0117
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.8216 (range: 0.8216 - 0.8216)
archetypal_loss: 0.9001 (range: 0.9001 - 0.9001)
kld_loss: 0.1149 (range: 0.1149 - 0.1149)
reconstruction_loss: 0.9001 (range: 0.9001 - 0.9001)
archetype_r2: 0.0561 (range: 0.0561 - 0.0561)
Archetype Transform Summary:
archetype_transform_mean: -0.002780 (range: -0.002780 - -0.002780)
archetype_transform_std: 0.098154 (range: 0.098154 - 0.098154)
archetype_transform_norm: 7.011708 (range: 7.011708 - 7.011708)
archetype_transform_grad_norm: 0.263416 (range: 0.263416 - 0.263416)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0047, max=0.9661, mean=0.2500
Batch reconstruction MSE: 1.4871
Archetype stats: min=-5.7788, max=10.0732
Archetype change since last debug: 2.239518
Archetype gradients: norm=0.188524, mean=0.007967
Epoch 1/1
Average loss: 0.8191
Archetypal loss: 0.8984
KLD loss: 0.1055
Reconstruction loss: 0.8984
Archetype R²: 0.0579
Archetype transform grad norm: 0.238126
Archetype transform param norm: 6.9811
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.8191 (range: 0.8191 - 0.8191)
archetypal_loss: 0.8984 (range: 0.8984 - 0.8984)
kld_loss: 0.1055 (range: 0.1055 - 0.1055)
reconstruction_loss: 0.8984 (range: 0.8984 - 0.8984)
archetype_r2: 0.0579 (range: 0.0579 - 0.0579)
Archetype Transform Summary:
archetype_transform_mean: -0.002674 (range: -0.002674 - -0.002674)
archetype_transform_std: 0.097727 (range: 0.097727 - 0.097727)
archetype_transform_norm: 6.981067 (range: 6.981067 - 6.981067)
archetype_transform_grad_norm: 0.238126 (range: 0.238126 - 0.238126)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0087, max=0.8785, mean=0.2500
Batch reconstruction MSE: 1.2096
Archetype stats: min=-6.0559, max=9.8804
Archetype change since last debug: 1.816087
Archetype gradients: norm=0.045834, mean=0.002236
Epoch 1/1
Average loss: 0.8102
Archetypal loss: 0.8900
KLD loss: 0.0919
Reconstruction loss: 0.8900
Archetype R²: 0.0662
Archetype transform grad norm: 0.204228
Archetype transform param norm: 7.0186
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.8102 (range: 0.8102 - 0.8102)
archetypal_loss: 0.8900 (range: 0.8900 - 0.8900)
kld_loss: 0.0919 (range: 0.0919 - 0.0919)
reconstruction_loss: 0.8900 (range: 0.8900 - 0.8900)
archetype_r2: 0.0662 (range: 0.0662 - 0.0662)
Archetype Transform Summary:
archetype_transform_mean: -0.002683 (range: -0.002683 - -0.002683)
archetype_transform_std: 0.098253 (range: 0.098253 - 0.098253)
archetype_transform_norm: 7.018576 (range: 7.018576 - 7.018576)
archetype_transform_grad_norm: 0.204228 (range: 0.204228 - 0.204228)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0089, max=0.8747, mean=0.2500
Batch reconstruction MSE: 1.1021
Archetype stats: min=-6.1778, max=10.4332
Archetype change since last debug: 1.519889
Archetype gradients: norm=0.029201, mean=0.001484
Epoch 1/1
Average loss: 0.8080
Archetypal loss: 0.8872
KLD loss: 0.0960
Reconstruction loss: 0.8872
Archetype R²: 0.0689
Archetype transform grad norm: 0.203650
Archetype transform param norm: 7.0877
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.8080 (range: 0.8080 - 0.8080)
archetypal_loss: 0.8872 (range: 0.8872 - 0.8872)
kld_loss: 0.0960 (range: 0.0960 - 0.0960)
reconstruction_loss: 0.8872 (range: 0.8872 - 0.8872)
archetype_r2: 0.0689 (range: 0.0689 - 0.0689)
Archetype Transform Summary:
archetype_transform_mean: -0.002754 (range: -0.002754 - -0.002754)
archetype_transform_std: 0.099220 (range: 0.099220 - 0.099220)
archetype_transform_norm: 7.087739 (range: 7.087739 - 7.087739)
archetype_transform_grad_norm: 0.203650 (range: 0.203650 - 0.203650)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0130, max=0.7742, mean=0.2500
Batch reconstruction MSE: 1.2367
Archetype stats: min=-6.5355, max=10.9976
Archetype change since last debug: 1.848691
Archetype gradients: norm=0.041003, mean=0.002045
Epoch 1/1
Average loss: 0.8091
Archetypal loss: 0.8899
KLD loss: 0.0819
Reconstruction loss: 0.8899
Archetype R²: 0.0663
Archetype transform grad norm: 0.214865
Archetype transform param norm: 7.1295
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.8091 (range: 0.8091 - 0.8091)
archetypal_loss: 0.8899 (range: 0.8899 - 0.8899)
kld_loss: 0.0819 (range: 0.0819 - 0.0819)
reconstruction_loss: 0.8899 (range: 0.8899 - 0.8899)
archetype_r2: 0.0663 (range: 0.0663 - 0.0663)
Archetype Transform Summary:
archetype_transform_mean: -0.002779 (range: -0.002779 - -0.002779)
archetype_transform_std: 0.099803 (range: 0.099803 - 0.099803)
archetype_transform_norm: 7.129458 (range: 7.129458 - 7.129458)
archetype_transform_grad_norm: 0.214865 (range: 0.214865 - 0.214865)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0109, max=0.8061, mean=0.2500
Batch reconstruction MSE: 1.0844
Archetype stats: min=-6.8479, max=11.2980
Archetype change since last debug: 0.967629
Archetype gradients: norm=0.024318, mean=0.001133
Epoch 1/1
Average loss: 0.8071
Archetypal loss: 0.8864
KLD loss: 0.0930
Reconstruction loss: 0.8864
Archetype R²: 0.0696
Archetype transform grad norm: 0.216151
Archetype transform param norm: 7.1888
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.8071 (range: 0.8071 - 0.8071)
archetypal_loss: 0.8864 (range: 0.8864 - 0.8864)
kld_loss: 0.0930 (range: 0.0930 - 0.0930)
reconstruction_loss: 0.8864 (range: 0.8864 - 0.8864)
archetype_r2: 0.0696 (range: 0.0696 - 0.0696)
Archetype Transform Summary:
archetype_transform_mean: -0.002831 (range: -0.002831 - -0.002831)
archetype_transform_std: 0.100634 (range: 0.100634 - 0.100634)
archetype_transform_norm: 7.188847 (range: 7.188847 - 7.188847)
archetype_transform_grad_norm: 0.216151 (range: 0.216151 - 0.216151)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0147, max=0.6507, mean=0.2500
Batch reconstruction MSE: 1.2687
Archetype stats: min=-7.2200, max=11.8210
Archetype change since last debug: 1.660932
Archetype gradients: norm=0.051898, mean=0.003051
Epoch 1/1
Average loss: 0.8092
Archetypal loss: 0.8903
KLD loss: 0.0796
Reconstruction loss: 0.8903
Archetype R²: 0.0660
Archetype transform grad norm: 0.230611
Archetype transform param norm: 7.2124
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.8092 (range: 0.8092 - 0.8092)
archetypal_loss: 0.8903 (range: 0.8903 - 0.8903)
kld_loss: 0.0796 (range: 0.0796 - 0.0796)
reconstruction_loss: 0.8903 (range: 0.8903 - 0.8903)
archetype_r2: 0.0660 (range: 0.0660 - 0.0660)
Archetype Transform Summary:
archetype_transform_mean: -0.002837 (range: -0.002837 - -0.002837)
archetype_transform_std: 0.100964 (range: 0.100964 - 0.100964)
archetype_transform_norm: 7.212440 (range: 7.212440 - 7.212440)
archetype_transform_grad_norm: 0.230611 (range: 0.230611 - 0.230611)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0131, max=0.8008, mean=0.2500
Batch reconstruction MSE: 1.1052
Archetype stats: min=-7.2851, max=11.8815
Archetype change since last debug: 0.657003
Archetype gradients: norm=0.047625, mean=0.001860
Epoch 1/1
Average loss: 0.8071
Archetypal loss: 0.8869
KLD loss: 0.0891
Reconstruction loss: 0.8869
Archetype R²: 0.0692
Archetype transform grad norm: 0.219410
Archetype transform param norm: 7.2552
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.8071 (range: 0.8071 - 0.8071)
archetypal_loss: 0.8869 (range: 0.8869 - 0.8869)
kld_loss: 0.0891 (range: 0.0891 - 0.0891)
reconstruction_loss: 0.8869 (range: 0.8869 - 0.8869)
archetype_r2: 0.0692 (range: 0.0692 - 0.0692)
Archetype Transform Summary:
archetype_transform_mean: -0.002871 (range: -0.002871 - -0.002871)
archetype_transform_std: 0.101562 (range: 0.101562 - 0.101562)
archetype_transform_norm: 7.255158 (range: 7.255158 - 7.255158)
archetype_transform_grad_norm: 0.219410 (range: 0.219410 - 0.219410)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0206, max=0.6475, mean=0.2500
Batch reconstruction MSE: 1.1801
Archetype stats: min=-7.4959, max=12.2270
Archetype change since last debug: 1.408297
Archetype gradients: norm=0.037601, mean=0.001994
Epoch 1/1
Average loss: 0.8067
Archetypal loss: 0.8879
KLD loss: 0.0761
Reconstruction loss: 0.8879
Archetype R²: 0.0683
Archetype transform grad norm: 0.226792
Archetype transform param norm: 7.2899
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.8067 (range: 0.8067 - 0.8067)
archetypal_loss: 0.8879 (range: 0.8879 - 0.8879)
kld_loss: 0.0761 (range: 0.0761 - 0.0761)
reconstruction_loss: 0.8879 (range: 0.8879 - 0.8879)
archetype_r2: 0.0683 (range: 0.0683 - 0.0683)
Archetype Transform Summary:
archetype_transform_mean: -0.002911 (range: -0.002911 - -0.002911)
archetype_transform_std: 0.102047 (range: 0.102047 - 0.102047)
archetype_transform_norm: 7.289889 (range: 7.289889 - 7.289889)
archetype_transform_grad_norm: 0.226792 (range: 0.226792 - 0.226792)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0153, max=0.8078, mean=0.2500
Batch reconstruction MSE: 1.1131
Archetype stats: min=-7.6979, max=12.4274
Archetype change since last debug: 0.777699
Archetype gradients: norm=0.057608, mean=0.002914
Epoch 1/1
Average loss: 0.8072
Archetypal loss: 0.8871
KLD loss: 0.0883
Reconstruction loss: 0.8871
Archetype R²: 0.0690
Archetype transform grad norm: 0.240089
Archetype transform param norm: 7.3238
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.8072 (range: 0.8072 - 0.8072)
archetypal_loss: 0.8871 (range: 0.8871 - 0.8871)
kld_loss: 0.0883 (range: 0.0883 - 0.0883)
reconstruction_loss: 0.8871 (range: 0.8871 - 0.8871)
archetype_r2: 0.0690 (range: 0.0690 - 0.0690)
Archetype Transform Summary:
archetype_transform_mean: -0.002932 (range: -0.002932 - -0.002932)
archetype_transform_std: 0.102521 (range: 0.102521 - 0.102521)
archetype_transform_norm: 7.323754 (range: 7.323754 - 7.323754)
archetype_transform_grad_norm: 0.240089 (range: 0.240089 - 0.240089)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0200, max=0.5392, mean=0.2500
Batch reconstruction MSE: 1.3249
Archetype stats: min=-7.8913, max=12.6936
Archetype change since last debug: 1.110684
Archetype gradients: norm=0.082566, mean=0.004627
Epoch 1/1
Average loss: 0.8100
Archetypal loss: 0.8914
KLD loss: 0.0770
Reconstruction loss: 0.8914
Archetype R²: 0.0649
Archetype transform grad norm: 0.251903
Archetype transform param norm: 7.3224
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.8100 (range: 0.8100 - 0.8100)
archetypal_loss: 0.8914 (range: 0.8914 - 0.8914)
kld_loss: 0.0770 (range: 0.0770 - 0.0770)
reconstruction_loss: 0.8914 (range: 0.8914 - 0.8914)
archetype_r2: 0.0649 (range: 0.0649 - 0.0649)
Archetype Transform Summary:
archetype_transform_mean: -0.002919 (range: -0.002919 - -0.002919)
archetype_transform_std: 0.102503 (range: 0.102503 - 0.102503)
archetype_transform_norm: 7.322438 (range: 7.322438 - 7.322438)
archetype_transform_grad_norm: 0.251903 (range: 0.251903 - 0.251903)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0108, max=0.8590, mean=0.2500
Batch reconstruction MSE: 1.2882
Archetype stats: min=-7.8699, max=12.5372
Archetype change since last debug: 1.139237
Archetype gradients: norm=0.140145, mean=0.006918
Epoch 1/1
Average loss: 0.8110
Archetypal loss: 0.8915
KLD loss: 0.0864
Reconstruction loss: 0.8915
Archetype R²: 0.0647
Archetype transform grad norm: 0.256220
Archetype transform param norm: 7.3025
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.8110 (range: 0.8110 - 0.8110)
archetypal_loss: 0.8915 (range: 0.8915 - 0.8915)
kld_loss: 0.0864 (range: 0.0864 - 0.0864)
reconstruction_loss: 0.8915 (range: 0.8915 - 0.8915)
archetype_r2: 0.0647 (range: 0.0647 - 0.0647)
Archetype Transform Summary:
archetype_transform_mean: -0.002870 (range: -0.002870 - -0.002870)
archetype_transform_std: 0.102225 (range: 0.102225 - 0.102225)
archetype_transform_norm: 7.302455 (range: 7.302455 - 7.302455)
archetype_transform_grad_norm: 0.256220 (range: 0.256220 - 0.256220)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0167, max=0.6894, mean=0.2500
Batch reconstruction MSE: 1.3498
Archetype stats: min=-7.6487, max=12.2153
Archetype change since last debug: 1.210801
Archetype gradients: norm=0.144745, mean=0.007194
Epoch 1/1
Average loss: 0.8131
Archetypal loss: 0.8930
KLD loss: 0.0933
Reconstruction loss: 0.8930
Archetype R²: 0.0632
Archetype transform grad norm: 0.258005
Archetype transform param norm: 7.2851
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.8131 (range: 0.8131 - 0.8131)
archetypal_loss: 0.8930 (range: 0.8930 - 0.8930)
kld_loss: 0.0933 (range: 0.0933 - 0.0933)
reconstruction_loss: 0.8930 (range: 0.8930 - 0.8930)
archetype_r2: 0.0632 (range: 0.0632 - 0.0632)
Archetype Transform Summary:
archetype_transform_mean: -0.002837 (range: -0.002837 - -0.002837)
archetype_transform_std: 0.101983 (range: 0.101983 - 0.101983)
archetype_transform_norm: 7.285149 (range: 7.285149 - 7.285149)
archetype_transform_grad_norm: 0.258005 (range: 0.258005 - 0.258005)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0162, max=0.7663, mean=0.2500
Batch reconstruction MSE: 1.4808
Archetype stats: min=-7.7378, max=12.3093
Archetype change since last debug: 1.502339
Archetype gradients: norm=0.104075, mean=0.005923
Epoch 1/1
Average loss: 0.8134
Archetypal loss: 0.8946
KLD loss: 0.0823
Reconstruction loss: 0.8946
Archetype R²: 0.0618
Archetype transform grad norm: 0.244892
Archetype transform param norm: 7.2433
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.8134 (range: 0.8134 - 0.8134)
archetypal_loss: 0.8946 (range: 0.8946 - 0.8946)
kld_loss: 0.0823 (range: 0.0823 - 0.0823)
reconstruction_loss: 0.8946 (range: 0.8946 - 0.8946)
archetype_r2: 0.0618 (range: 0.0618 - 0.0618)
Archetype Transform Summary:
archetype_transform_mean: -0.002833 (range: -0.002833 - -0.002833)
archetype_transform_std: 0.101397 (range: 0.101397 - 0.101397)
archetype_transform_norm: 7.243327 (range: 7.243327 - 7.243327)
archetype_transform_grad_norm: 0.244892 (range: 0.244892 - 0.244892)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0248, max=0.6807, mean=0.2500
Batch reconstruction MSE: 1.1452
Archetype stats: min=-7.2088, max=11.4820
Archetype change since last debug: 1.618696
Archetype gradients: norm=0.034956, mean=0.001603
Epoch 1/1
Average loss: 0.8056
Archetypal loss: 0.8862
KLD loss: 0.0805
Reconstruction loss: 0.8862
Archetype R²: 0.0700
Archetype transform grad norm: 0.209955
Archetype transform param norm: 7.2679
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.8056 (range: 0.8056 - 0.8056)
archetypal_loss: 0.8862 (range: 0.8862 - 0.8862)
kld_loss: 0.0805 (range: 0.0805 - 0.0805)
reconstruction_loss: 0.8862 (range: 0.8862 - 0.8862)
archetype_r2: 0.0700 (range: 0.0700 - 0.0700)
Archetype Transform Summary:
archetype_transform_mean: -0.002835 (range: -0.002835 - -0.002835)
archetype_transform_std: 0.101741 (range: 0.101741 - 0.101741)
archetype_transform_norm: 7.267866 (range: 7.267866 - 7.267866)
archetype_transform_grad_norm: 0.209955 (range: 0.209955 - 0.209955)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0176, max=0.6570, mean=0.2500
Batch reconstruction MSE: 1.1000
Archetype stats: min=-7.6011, max=11.9885
Archetype change since last debug: 1.344914
Archetype gradients: norm=0.024258, mean=0.001246
Epoch 1/1
Average loss: 0.8041
Archetypal loss: 0.8850
KLD loss: 0.0754
Reconstruction loss: 0.8850
Archetype R²: 0.0711
Archetype transform grad norm: 0.215476
Archetype transform param norm: 7.3173
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.8041 (range: 0.8041 - 0.8041)
archetypal_loss: 0.8850 (range: 0.8850 - 0.8850)
kld_loss: 0.0754 (range: 0.0754 - 0.0754)
reconstruction_loss: 0.8850 (range: 0.8850 - 0.8850)
archetype_r2: 0.0711 (range: 0.0711 - 0.0711)
Archetype Transform Summary:
archetype_transform_mean: -0.002889 (range: -0.002889 - -0.002889)
archetype_transform_std: 0.102432 (range: 0.102432 - 0.102432)
archetype_transform_norm: 7.317290 (range: 7.317290 - 7.317290)
archetype_transform_grad_norm: 0.215476 (range: 0.215476 - 0.215476)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0247, max=0.6253, mean=0.2500
Batch reconstruction MSE: 1.0431
Archetype stats: min=-7.8688, max=12.3494
Archetype change since last debug: 1.300592
Archetype gradients: norm=0.016106, mean=0.000916
Epoch 1/1
Average loss: 0.8030
Archetypal loss: 0.8837
KLD loss: 0.0771
Reconstruction loss: 0.8837
Archetype R²: 0.0724
Archetype transform grad norm: 0.216667
Archetype transform param norm: 7.3734
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.8030 (range: 0.8030 - 0.8030)
archetypal_loss: 0.8837 (range: 0.8837 - 0.8837)
kld_loss: 0.0771 (range: 0.0771 - 0.0771)
reconstruction_loss: 0.8837 (range: 0.8837 - 0.8837)
archetype_r2: 0.0724 (range: 0.0724 - 0.0724)
Archetype Transform Summary:
archetype_transform_mean: -0.002934 (range: -0.002934 - -0.002934)
archetype_transform_std: 0.103217 (range: 0.103217 - 0.103217)
archetype_transform_norm: 7.373421 (range: 7.373421 - 7.373421)
archetype_transform_grad_norm: 0.216667 (range: 0.216667 - 0.216667)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0188, max=0.6163, mean=0.2500
Batch reconstruction MSE: 1.1201
Archetype stats: min=-8.2743, max=12.8967
Archetype change since last debug: 1.554935
Archetype gradients: norm=0.020804, mean=0.001119
Epoch 1/1
Average loss: 0.8036
Archetypal loss: 0.8853
KLD loss: 0.0678
Reconstruction loss: 0.8853
Archetype R²: 0.0708
Archetype transform grad norm: 0.222967
Archetype transform param norm: 7.4111
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.8036 (range: 0.8036 - 0.8036)
archetypal_loss: 0.8853 (range: 0.8853 - 0.8853)
kld_loss: 0.0678 (range: 0.0678 - 0.0678)
reconstruction_loss: 0.8853 (range: 0.8853 - 0.8853)
archetype_r2: 0.0708 (range: 0.0708 - 0.0708)
Archetype Transform Summary:
archetype_transform_mean: -0.002971 (range: -0.002971 - -0.002971)
archetype_transform_std: 0.103744 (range: 0.103744 - 0.103744)
archetype_transform_norm: 7.411138 (range: 7.411138 - 7.411138)
archetype_transform_grad_norm: 0.222967 (range: 0.222967 - 0.222967)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0247, max=0.5700, mean=0.2500
Batch reconstruction MSE: 1.0601
Archetype stats: min=-8.4404, max=13.0687
Archetype change since last debug: 0.801180
Archetype gradients: norm=0.019557, mean=0.001088
Epoch 1/1
Average loss: 0.8037
Archetypal loss: 0.8840
KLD loss: 0.0807
Reconstruction loss: 0.8840
Archetype R²: 0.0721
Archetype transform grad norm: 0.223392
Archetype transform param norm: 7.4544
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.8037 (range: 0.8037 - 0.8037)
archetypal_loss: 0.8840 (range: 0.8840 - 0.8840)
kld_loss: 0.0807 (range: 0.0807 - 0.0807)
reconstruction_loss: 0.8840 (range: 0.8840 - 0.8840)
archetype_r2: 0.0721 (range: 0.0721 - 0.0721)
Archetype Transform Summary:
archetype_transform_mean: -0.002999 (range: -0.002999 - -0.002999)
archetype_transform_std: 0.104350 (range: 0.104350 - 0.104350)
archetype_transform_norm: 7.454403 (range: 7.454403 - 7.454403)
archetype_transform_grad_norm: 0.223392 (range: 0.223392 - 0.223392)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0176, max=0.6615, mean=0.2500
Batch reconstruction MSE: 1.3289
Archetype stats: min=-8.7777, max=13.5195
Archetype change since last debug: 1.238536
Archetype gradients: norm=0.063853, mean=0.003150
Epoch 1/1
Average loss: 0.8071
Archetypal loss: 0.8898
KLD loss: 0.0630
Reconstruction loss: 0.8898
Archetype R²: 0.0665
Archetype transform grad norm: 0.229555
Archetype transform param norm: 7.4335
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.8071 (range: 0.8071 - 0.8071)
archetypal_loss: 0.8898 (range: 0.8898 - 0.8898)
kld_loss: 0.0630 (range: 0.0630 - 0.0630)
reconstruction_loss: 0.8898 (range: 0.8898 - 0.8898)
archetype_r2: 0.0665 (range: 0.0665 - 0.0665)
Archetype Transform Summary:
archetype_transform_mean: -0.002943 (range: -0.002943 - -0.002943)
archetype_transform_std: 0.104059 (range: 0.104059 - 0.104059)
archetype_transform_norm: 7.433529 (range: 7.433529 - 7.433529)
archetype_transform_grad_norm: 0.229555 (range: 0.229555 - 0.229555)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0201, max=0.5538, mean=0.2500
Batch reconstruction MSE: 1.0758
Archetype stats: min=-8.5846, max=13.1774
Archetype change since last debug: 1.362928
Archetype gradients: norm=0.025746, mean=0.001547
Epoch 1/1
Average loss: 0.8042
Archetypal loss: 0.8842
KLD loss: 0.0835
Reconstruction loss: 0.8842
Archetype R²: 0.0719
Archetype transform grad norm: 0.224547
Archetype transform param norm: 7.4584
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.8042 (range: 0.8042 - 0.8042)
archetypal_loss: 0.8842 (range: 0.8842 - 0.8842)
kld_loss: 0.0835 (range: 0.0835 - 0.0835)
reconstruction_loss: 0.8842 (range: 0.8842 - 0.8842)
archetype_r2: 0.0719 (range: 0.0719 - 0.0719)
Archetype Transform Summary:
archetype_transform_mean: -0.002944 (range: -0.002944 - -0.002944)
archetype_transform_std: 0.104407 (range: 0.104407 - 0.104407)
archetype_transform_norm: 7.458406 (range: 7.458406 - 7.458406)
archetype_transform_grad_norm: 0.224547 (range: 0.224547 - 0.224547)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0188, max=0.5939, mean=0.2500
Batch reconstruction MSE: 1.2951
Archetype stats: min=-8.8764, max=13.5890
Archetype change since last debug: 1.166956
Archetype gradients: norm=0.054183, mean=0.002752
Epoch 1/1
Average loss: 0.8066
Archetypal loss: 0.8891
KLD loss: 0.0643
Reconstruction loss: 0.8891
Archetype R²: 0.0672
Archetype transform grad norm: 0.234674
Archetype transform param norm: 7.4456
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.8066 (range: 0.8066 - 0.8066)
archetypal_loss: 0.8891 (range: 0.8891 - 0.8891)
kld_loss: 0.0643 (range: 0.0643 - 0.0643)
reconstruction_loss: 0.8891 (range: 0.8891 - 0.8891)
archetype_r2: 0.0672 (range: 0.0672 - 0.0672)
Archetype Transform Summary:
archetype_transform_mean: -0.002888 (range: -0.002888 - -0.002888)
archetype_transform_std: 0.104229 (range: 0.104229 - 0.104229)
archetype_transform_norm: 7.445587 (range: 7.445587 - 7.445587)
archetype_transform_grad_norm: 0.234674 (range: 0.234674 - 0.234674)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0195, max=0.5889, mean=0.2500
Batch reconstruction MSE: 1.0857
Archetype stats: min=-8.7569, max=13.4353
Archetype change since last debug: 0.897588
Archetype gradients: norm=0.045478, mean=0.002177
Epoch 1/1
Average loss: 0.8042
Archetypal loss: 0.8847
KLD loss: 0.0798
Reconstruction loss: 0.8847
Archetype R²: 0.0714
Archetype transform grad norm: 0.230249
Archetype transform param norm: 7.4715
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.8042 (range: 0.8042 - 0.8042)
archetypal_loss: 0.8847 (range: 0.8847 - 0.8847)
kld_loss: 0.0798 (range: 0.0798 - 0.0798)
reconstruction_loss: 0.8847 (range: 0.8847 - 0.8847)
archetype_r2: 0.0714 (range: 0.0714 - 0.0714)
Archetype Transform Summary:
archetype_transform_mean: -0.002928 (range: -0.002928 - -0.002928)
archetype_transform_std: 0.104591 (range: 0.104591 - 0.104591)
archetype_transform_norm: 7.471507 (range: 7.471507 - 7.471507)
archetype_transform_grad_norm: 0.230249 (range: 0.230249 - 0.230249)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0225, max=0.5952, mean=0.2500
Batch reconstruction MSE: 1.2339
Archetype stats: min=-8.9593, max=13.7015
Archetype change since last debug: 1.056533
Archetype gradients: norm=0.088879, mean=0.004670
Epoch 1/1
Average loss: 0.8058
Archetypal loss: 0.8879
KLD loss: 0.0664
Reconstruction loss: 0.8879
Archetype R²: 0.0683
Archetype transform grad norm: 0.238593
Archetype transform param norm: 7.4669
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.8058 (range: 0.8058 - 0.8058)
archetypal_loss: 0.8879 (range: 0.8879 - 0.8879)
kld_loss: 0.0664 (range: 0.0664 - 0.0664)
reconstruction_loss: 0.8879 (range: 0.8879 - 0.8879)
archetype_r2: 0.0683 (range: 0.0683 - 0.0683)
Archetype Transform Summary:
archetype_transform_mean: -0.002876 (range: -0.002876 - -0.002876)
archetype_transform_std: 0.104528 (range: 0.104528 - 0.104528)
archetype_transform_norm: 7.466895 (range: 7.466895 - 7.466895)
archetype_transform_grad_norm: 0.238593 (range: 0.238593 - 0.238593)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0140, max=0.5360, mean=0.2500
Batch reconstruction MSE: 1.0914
Archetype stats: min=-9.0317, max=13.7425
Archetype change since last debug: 0.840323
Archetype gradients: norm=0.053923, mean=0.003004
Epoch 1/1
Average loss: 0.8038
Archetypal loss: 0.8848
KLD loss: 0.0751
Reconstruction loss: 0.8848
Archetype R²: 0.0713
Archetype transform grad norm: 0.236998
Archetype transform param norm: 7.4960
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.8038 (range: 0.8038 - 0.8038)
archetypal_loss: 0.8848 (range: 0.8848 - 0.8848)
kld_loss: 0.0751 (range: 0.0751 - 0.0751)
reconstruction_loss: 0.8848 (range: 0.8848 - 0.8848)
archetype_r2: 0.0713 (range: 0.0713 - 0.0713)
Archetype Transform Summary:
archetype_transform_mean: -0.002935 (range: -0.002935 - -0.002935)
archetype_transform_std: 0.104935 (range: 0.104935 - 0.104935)
archetype_transform_norm: 7.496024 (range: 7.496024 - 7.496024)
archetype_transform_grad_norm: 0.236998 (range: 0.236998 - 0.236998)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0172, max=0.8518, mean=0.2500
Batch reconstruction MSE: 1.2089
Archetype stats: min=-9.3101, max=14.1328
Archetype change since last debug: 1.134060
Archetype gradients: norm=0.105077, mean=0.005704
Epoch 1/1
Average loss: 0.8066
Archetypal loss: 0.8883
KLD loss: 0.0711
Reconstruction loss: 0.8883
Archetype R²: 0.0679
Archetype transform grad norm: 0.253930
Archetype transform param norm: 7.4848
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.8066 (range: 0.8066 - 0.8066)
archetypal_loss: 0.8883 (range: 0.8883 - 0.8883)
kld_loss: 0.0711 (range: 0.0711 - 0.0711)
reconstruction_loss: 0.8883 (range: 0.8883 - 0.8883)
archetype_r2: 0.0679 (range: 0.0679 - 0.0679)
Archetype Transform Summary:
archetype_transform_mean: -0.002911 (range: -0.002911 - -0.002911)
archetype_transform_std: 0.104778 (range: 0.104778 - 0.104778)
archetype_transform_norm: 7.484826 (range: 7.484826 - 7.484826)
archetype_transform_grad_norm: 0.253930 (range: 0.253930 - 0.253930)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0185, max=0.5414, mean=0.2500
Batch reconstruction MSE: 1.2161
Archetype stats: min=-9.3547, max=14.1713
Archetype change since last debug: 1.054199
Archetype gradients: norm=0.081146, mean=0.004541
Epoch 1/1
Average loss: 0.8064
Archetypal loss: 0.8879
KLD loss: 0.0733
Reconstruction loss: 0.8879
Archetype R²: 0.0683
Archetype transform grad norm: 0.254260
Archetype transform param norm: 7.4840
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.8064 (range: 0.8064 - 0.8064)
archetypal_loss: 0.8879 (range: 0.8879 - 0.8879)
kld_loss: 0.0733 (range: 0.0733 - 0.0733)
reconstruction_loss: 0.8879 (range: 0.8879 - 0.8879)
archetype_r2: 0.0683 (range: 0.0683 - 0.0683)
Archetype Transform Summary:
archetype_transform_mean: -0.002949 (range: -0.002949 - -0.002949)
archetype_transform_std: 0.104766 (range: 0.104766 - 0.104766)
archetype_transform_norm: 7.484029 (range: 7.484029 - 7.484029)
archetype_transform_grad_norm: 0.254260 (range: 0.254260 - 0.254260)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0166, max=0.6505, mean=0.2500
Batch reconstruction MSE: 1.1790
Archetype stats: min=-9.3160, max=14.0060
Archetype change since last debug: 0.897219
Archetype gradients: norm=0.073700, mean=0.004114
Epoch 1/1
Average loss: 0.8049
Archetypal loss: 0.8867
KLD loss: 0.0689
Reconstruction loss: 0.8867
Archetype R²: 0.0695
Archetype transform grad norm: 0.240264
Archetype transform param norm: 7.4859
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.8049 (range: 0.8049 - 0.8049)
archetypal_loss: 0.8867 (range: 0.8867 - 0.8867)
kld_loss: 0.0689 (range: 0.0689 - 0.0689)
reconstruction_loss: 0.8867 (range: 0.8867 - 0.8867)
archetype_r2: 0.0695 (range: 0.0695 - 0.0695)
Archetype Transform Summary:
archetype_transform_mean: -0.002898 (range: -0.002898 - -0.002898)
archetype_transform_std: 0.104793 (range: 0.104793 - 0.104793)
archetype_transform_norm: 7.485873 (range: 7.485873 - 7.485873)
archetype_transform_grad_norm: 0.240264 (range: 0.240264 - 0.240264)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0181, max=0.5286, mean=0.2500
Batch reconstruction MSE: 1.1147
Archetype stats: min=-9.5072, max=14.2377
Archetype change since last debug: 0.895141
Archetype gradients: norm=0.045180, mean=0.002690
Epoch 1/1
Average loss: 0.8038
Archetypal loss: 0.8851
KLD loss: 0.0723
Reconstruction loss: 0.8851
Archetype R²: 0.0710
Archetype transform grad norm: 0.242196
Archetype transform param norm: 7.5092
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.8038 (range: 0.8038 - 0.8038)
archetypal_loss: 0.8851 (range: 0.8851 - 0.8851)
kld_loss: 0.0723 (range: 0.0723 - 0.0723)
reconstruction_loss: 0.8851 (range: 0.8851 - 0.8851)
archetype_r2: 0.0710 (range: 0.0710 - 0.0710)
Archetype Transform Summary:
archetype_transform_mean: -0.002961 (range: -0.002961 - -0.002961)
archetype_transform_std: 0.105118 (range: 0.105118 - 0.105118)
archetype_transform_norm: 7.509163 (range: 7.509163 - 7.509163)
archetype_transform_grad_norm: 0.242196 (range: 0.242196 - 0.242196)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0144, max=0.5351, mean=0.2500
Batch reconstruction MSE: 1.1416
Archetype stats: min=-9.4800, max=14.1714
Archetype change since last debug: 0.974024
Archetype gradients: norm=0.054826, mean=0.003184
Epoch 1/1
Average loss: 0.8034
Archetypal loss: 0.8853
KLD loss: 0.0657
Reconstruction loss: 0.8853
Archetype R²: 0.0708
Archetype transform grad norm: 0.236117
Archetype transform param norm: 7.5270
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.8034 (range: 0.8034 - 0.8034)
archetypal_loss: 0.8853 (range: 0.8853 - 0.8853)
kld_loss: 0.0657 (range: 0.0657 - 0.0657)
reconstruction_loss: 0.8853 (range: 0.8853 - 0.8853)
archetype_r2: 0.0708 (range: 0.0708 - 0.0708)
Archetype Transform Summary:
archetype_transform_mean: -0.002942 (range: -0.002942 - -0.002942)
archetype_transform_std: 0.105368 (range: 0.105368 - 0.105368)
archetype_transform_norm: 7.526990 (range: 7.526990 - 7.526990)
archetype_transform_grad_norm: 0.236117 (range: 0.236117 - 0.236117)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0182, max=0.6570, mean=0.2500
Batch reconstruction MSE: 1.0856
Archetype stats: min=-9.7497, max=14.5139
Archetype change since last debug: 0.913433
Archetype gradients: norm=0.036426, mean=0.002079
Epoch 1/1
Average loss: 0.8027
Archetypal loss: 0.8842
KLD loss: 0.0692
Reconstruction loss: 0.8842
Archetype R²: 0.0719
Archetype transform grad norm: 0.240939
Archetype transform param norm: 7.5551
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.8027 (range: 0.8027 - 0.8027)
archetypal_loss: 0.8842 (range: 0.8842 - 0.8842)
kld_loss: 0.0692 (range: 0.0692 - 0.0692)
reconstruction_loss: 0.8842 (range: 0.8842 - 0.8842)
archetype_r2: 0.0719 (range: 0.0719 - 0.0719)
Archetype Transform Summary:
archetype_transform_mean: -0.002994 (range: -0.002994 - -0.002994)
archetype_transform_std: 0.105760 (range: 0.105760 - 0.105760)
archetype_transform_norm: 7.555056 (range: 7.555056 - 7.555056)
archetype_transform_grad_norm: 0.240939 (range: 0.240939 - 0.240939)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0164, max=0.5917, mean=0.2500
Batch reconstruction MSE: 1.1923
Archetype stats: min=-9.8308, max=14.5916
Archetype change since last debug: 0.972086
Archetype gradients: norm=0.059265, mean=0.003565
Epoch 1/1
Average loss: 0.8041
Archetypal loss: 0.8864
KLD loss: 0.0632
Reconstruction loss: 0.8864
Archetype R²: 0.0697
Archetype transform grad norm: 0.240633
Archetype transform param norm: 7.5562
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.8041 (range: 0.8041 - 0.8041)
archetypal_loss: 0.8864 (range: 0.8864 - 0.8864)
kld_loss: 0.0632 (range: 0.0632 - 0.0632)
reconstruction_loss: 0.8864 (range: 0.8864 - 0.8864)
archetype_r2: 0.0697 (range: 0.0697 - 0.0697)
Archetype Transform Summary:
archetype_transform_mean: -0.002957 (range: -0.002957 - -0.002957)
archetype_transform_std: 0.105777 (range: 0.105777 - 0.105777)
archetype_transform_norm: 7.556189 (range: 7.556189 - 7.556189)
archetype_transform_grad_norm: 0.240633 (range: 0.240633 - 0.240633)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0180, max=0.6296, mean=0.2500
Batch reconstruction MSE: 1.0850
Archetype stats: min=-9.8868, max=14.7373
Archetype change since last debug: 0.547883
Archetype gradients: norm=0.031069, mean=0.001538
Epoch 1/1
Average loss: 0.8026
Archetypal loss: 0.8841
KLD loss: 0.0698
Reconstruction loss: 0.8841
Archetype R²: 0.0720
Archetype transform grad norm: 0.238800
Archetype transform param norm: 7.5858
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.8026 (range: 0.8026 - 0.8026)
archetypal_loss: 0.8841 (range: 0.8841 - 0.8841)
kld_loss: 0.0698 (range: 0.0698 - 0.0698)
reconstruction_loss: 0.8841 (range: 0.8841 - 0.8841)
archetype_r2: 0.0720 (range: 0.0720 - 0.0720)
Archetype Transform Summary:
archetype_transform_mean: -0.003033 (range: -0.003033 - -0.003033)
archetype_transform_std: 0.106189 (range: 0.106189 - 0.106189)
archetype_transform_norm: 7.585760 (range: 7.585760 - 7.585760)
archetype_transform_grad_norm: 0.238800 (range: 0.238800 - 0.238800)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0237, max=0.5282, mean=0.2500
Batch reconstruction MSE: 1.2609
Archetype stats: min=-9.8036, max=14.5883
Archetype change since last debug: 1.066552
Archetype gradients: norm=0.097853, mean=0.005574
Epoch 1/1
Average loss: 0.8057
Archetypal loss: 0.8881
KLD loss: 0.0643
Reconstruction loss: 0.8881
Archetype R²: 0.0681
Archetype transform grad norm: 0.250607
Archetype transform param norm: 7.5598
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.8057 (range: 0.8057 - 0.8057)
archetypal_loss: 0.8881 (range: 0.8881 - 0.8881)
kld_loss: 0.0643 (range: 0.0643 - 0.0643)
reconstruction_loss: 0.8881 (range: 0.8881 - 0.8881)
archetype_r2: 0.0681 (range: 0.0681 - 0.0681)
Archetype Transform Summary:
archetype_transform_mean: -0.002948 (range: -0.002948 - -0.002948)
archetype_transform_std: 0.105828 (range: 0.105828 - 0.105828)
archetype_transform_norm: 7.559791 (range: 7.559791 - 7.559791)
archetype_transform_grad_norm: 0.250607 (range: 0.250607 - 0.250607)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0155, max=0.5650, mean=0.2500
Batch reconstruction MSE: 1.1996
Archetype stats: min=-9.8074, max=14.7151
Archetype change since last debug: 1.010720
Archetype gradients: norm=0.074248, mean=0.004049
Epoch 1/1
Average loss: 0.8064
Archetypal loss: 0.8877
KLD loss: 0.0749
Reconstruction loss: 0.8877
Archetype R²: 0.0684
Archetype transform grad norm: 0.267782
Archetype transform param norm: 7.5666
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.8064 (range: 0.8064 - 0.8064)
archetypal_loss: 0.8877 (range: 0.8877 - 0.8877)
kld_loss: 0.0749 (range: 0.0749 - 0.0749)
reconstruction_loss: 0.8877 (range: 0.8877 - 0.8877)
archetype_r2: 0.0684 (range: 0.0684 - 0.0684)
Archetype Transform Summary:
archetype_transform_mean: -0.003039 (range: -0.003039 - -0.003039)
archetype_transform_std: 0.105920 (range: 0.105920 - 0.105920)
archetype_transform_norm: 7.566595 (range: 7.566595 - 7.566595)
archetype_transform_grad_norm: 0.267782 (range: 0.267782 - 0.267782)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0195, max=0.6420, mean=0.2500
Batch reconstruction MSE: 1.3509
Archetype stats: min=-9.2591, max=13.9714
Archetype change since last debug: 1.393948
Archetype gradients: norm=0.152853, mean=0.007981
Epoch 1/1
Average loss: 0.8079
Archetypal loss: 0.8901
KLD loss: 0.0688
Reconstruction loss: 0.8901
Archetype R²: 0.0662
Archetype transform grad norm: 0.250003
Archetype transform param norm: 7.5141
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.8079 (range: 0.8079 - 0.8079)
archetypal_loss: 0.8901 (range: 0.8901 - 0.8901)
kld_loss: 0.0688 (range: 0.0688 - 0.0688)
reconstruction_loss: 0.8901 (range: 0.8901 - 0.8901)
archetype_r2: 0.0662 (range: 0.0662 - 0.0662)
Archetype Transform Summary:
archetype_transform_mean: -0.002929 (range: -0.002929 - -0.002929)
archetype_transform_std: 0.105188 (range: 0.105188 - 0.105188)
archetype_transform_norm: 7.514109 (range: 7.514109 - 7.514109)
archetype_transform_grad_norm: 0.250003 (range: 0.250003 - 0.250003)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0175, max=0.5266, mean=0.2500
Batch reconstruction MSE: 1.2197
Archetype stats: min=-9.1807, max=14.0289
Archetype change since last debug: 1.531933
Archetype gradients: norm=0.044443, mean=0.002426
Epoch 1/1
Average loss: 0.8045
Archetypal loss: 0.8866
KLD loss: 0.0655
Reconstruction loss: 0.8866
Archetype R²: 0.0696
Archetype transform grad norm: 0.234227
Archetype transform param norm: 7.5159
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.8045 (range: 0.8045 - 0.8045)
archetypal_loss: 0.8866 (range: 0.8866 - 0.8866)
kld_loss: 0.0655 (range: 0.0655 - 0.0655)
reconstruction_loss: 0.8866 (range: 0.8866 - 0.8866)
archetype_r2: 0.0696 (range: 0.0696 - 0.0696)
Archetype Transform Summary:
archetype_transform_mean: -0.002935 (range: -0.002935 - -0.002935)
archetype_transform_std: 0.105213 (range: 0.105213 - 0.105213)
archetype_transform_norm: 7.515907 (range: 7.515907 - 7.515907)
archetype_transform_grad_norm: 0.234227 (range: 0.234227 - 0.234227)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0186, max=0.7735, mean=0.2500
Batch reconstruction MSE: 1.0977
Archetype stats: min=-9.0011, max=13.7475
Archetype change since last debug: 0.866353
Archetype gradients: norm=0.060510, mean=0.002696
Epoch 1/1
Average loss: 0.8025
Archetypal loss: 0.8837
KLD loss: 0.0716
Reconstruction loss: 0.8837
Archetype R²: 0.0724
Archetype transform grad norm: 0.219352
Archetype transform param norm: 7.5292
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.8025 (range: 0.8025 - 0.8025)
archetypal_loss: 0.8837 (range: 0.8837 - 0.8837)
kld_loss: 0.0716 (range: 0.0716 - 0.0716)
reconstruction_loss: 0.8837 (range: 0.8837 - 0.8837)
archetype_r2: 0.0724 (range: 0.0724 - 0.0724)
Archetype Transform Summary:
archetype_transform_mean: -0.002912 (range: -0.002912 - -0.002912)
archetype_transform_std: 0.105400 (range: 0.105400 - 0.105400)
archetype_transform_norm: 7.529222 (range: 7.529222 - 7.529222)
archetype_transform_grad_norm: 0.219352 (range: 0.219352 - 0.219352)
Fold 2/3
Model input_dim: 50 (auto-detected from data)
Archetypes parameter registered: True
Archetypes requires_grad: True
Deep_AA (Deep Archetypal Analysis) initialized:
- Single-stage architecture (like Deep_2)
- Inflation factor: 1.5
- Direct archetypal coordinates (no bottleneck)
Consolidated Archetype Initialization
PCHA: True, Inflation: True (factor: 1.5)
Test inflation: False
Running PCHA initialization...
Input shape: (128, 50)
Target archetypes: 4
Running PCHA with 4 archetypes...
Data shape for PCHA: (50, 128)
PCHA Results:
Archetypes shape: (4, 50)
Archetype R²: 0.2032
SSE: 4873.7723
PCHA archetype R²: 0.2032
Archetype shape: (4, 50)
[OK] Initialized 4 archetypes using PCHA
Scalar Archetypal Inflation (factor: 1.50)
[OK] Inflation complete
[STATS] Positioning verification:
Data radius (max): 18.843
Data radius (mean): 6.206
Archetype distances: 3.695 to 22.456
Archetypes outside data: 1/4
Min archetype separation: 10.092
[OK] Archetype initialization complete (success: True)
[OK] Archetype initialization complete (PCHA: True, Inflation: 1.5)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0033, max=0.9597, mean=0.2500
Batch reconstruction MSE: 1.0105
Archetype stats: min=-1.9900, max=1.7060
Archetype gradients: norm=0.017341, mean=0.000938
Epoch 1/1
Average loss: 0.8579
Archetypal loss: 0.9482
KLD loss: 0.0450
Reconstruction loss: 0.9482
Archetype R²: -0.0092
Archetype transform grad norm: 0.191696
Archetype transform param norm: 5.8620
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.8579 (range: 0.8579 - 0.8579)
archetypal_loss: 0.9482 (range: 0.9482 - 0.9482)
kld_loss: 0.0450 (range: 0.0450 - 0.0450)
reconstruction_loss: 0.9482 (range: 0.9482 - 0.9482)
archetype_r2: -0.0092 (range: -0.0092 - -0.0092)
Archetype Transform Summary:
archetype_transform_mean: 0.000037 (range: 0.000037 - 0.000037)
archetype_transform_std: 0.082092 (range: 0.082092 - 0.082092)
archetype_transform_norm: 5.861971 (range: 5.861971 - 5.861971)
archetype_transform_grad_norm: 0.191696 (range: 0.191696 - 0.191696)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0005, max=0.9717, mean=0.2500
Batch reconstruction MSE: 0.8689
Archetype stats: min=-1.7566, max=1.4198
Archetype change since last debug: 5.346310
Archetype gradients: norm=0.006796, mean=0.000297
Epoch 1/1
Average loss: 0.8398
Archetypal loss: 0.9217
KLD loss: 0.1023
Reconstruction loss: 0.9217
Archetype R²: 0.0193
Archetype transform grad norm: 0.160180
Archetype transform param norm: 5.9473
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.8398 (range: 0.8398 - 0.8398)
archetypal_loss: 0.9217 (range: 0.9217 - 0.9217)
kld_loss: 0.1023 (range: 0.1023 - 0.1023)
reconstruction_loss: 0.9217 (range: 0.9217 - 0.9217)
archetype_r2: 0.0193 (range: 0.0193 - 0.0193)
Archetype Transform Summary:
archetype_transform_mean: -0.000085 (range: -0.000085 - -0.000085)
archetype_transform_std: 0.083287 (range: 0.083287 - 0.083287)
archetype_transform_norm: 5.947278 (range: 5.947278 - 5.947278)
archetype_transform_grad_norm: 0.160180 (range: 0.160180 - 0.160180)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0085, max=0.9219, mean=0.2500
Batch reconstruction MSE: 0.9331
Archetype stats: min=-3.6212, max=2.8639
Archetype change since last debug: 6.576312
Archetype gradients: norm=0.009397, mean=0.000541
Epoch 1/1
Average loss: 0.8240
Archetypal loss: 0.9034
KLD loss: 0.1099
Reconstruction loss: 0.9034
Archetype R²: 0.0389
Archetype transform grad norm: 0.192158
Archetype transform param norm: 6.1654
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.8240 (range: 0.8240 - 0.8240)
archetypal_loss: 0.9034 (range: 0.9034 - 0.9034)
kld_loss: 0.1099 (range: 0.1099 - 0.1099)
reconstruction_loss: 0.9034 (range: 0.9034 - 0.9034)
archetype_r2: 0.0389 (range: 0.0389 - 0.0389)
Archetype Transform Summary:
archetype_transform_mean: -0.000544 (range: -0.000544 - -0.000544)
archetype_transform_std: 0.086339 (range: 0.086339 - 0.086339)
archetype_transform_norm: 6.165377 (range: 6.165377 - 6.165377)
archetype_transform_grad_norm: 0.192158 (range: 0.192158 - 0.192158)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0053, max=0.8796, mean=0.2500
Batch reconstruction MSE: 0.9437
Archetype stats: min=-6.0105, max=4.6653
Archetype change since last debug: 7.316109
Archetype gradients: norm=0.030579, mean=0.001323
Epoch 1/1
Average loss: 0.8138
Archetypal loss: 0.8914
KLD loss: 0.1155
Reconstruction loss: 0.8914
Archetype R²: 0.0517
Archetype transform grad norm: 0.216038
Archetype transform param norm: 6.4119
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.8138 (range: 0.8138 - 0.8138)
archetypal_loss: 0.8914 (range: 0.8914 - 0.8914)
kld_loss: 0.1155 (range: 0.1155 - 0.1155)
reconstruction_loss: 0.8914 (range: 0.8914 - 0.8914)
archetype_r2: 0.0517 (range: 0.0517 - 0.0517)
Archetype Transform Summary:
archetype_transform_mean: -0.000960 (range: -0.000960 - -0.000960)
archetype_transform_std: 0.089788 (range: 0.089788 - 0.089788)
archetype_transform_norm: 6.411914 (range: 6.411914 - 6.411914)
archetype_transform_grad_norm: 0.216038 (range: 0.216038 - 0.216038)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0132, max=0.7653, mean=0.2500
Batch reconstruction MSE: 1.0779
Archetype stats: min=-8.3195, max=5.8375
Archetype change since last debug: 6.080564
Archetype gradients: norm=0.028955, mean=0.001556
Epoch 1/1
Average loss: 0.8098
Archetypal loss: 0.8878
KLD loss: 0.1081
Reconstruction loss: 0.8878
Archetype R²: 0.0553
Archetype transform grad norm: 0.235296
Archetype transform param norm: 6.5826
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.8098 (range: 0.8098 - 0.8098)
archetypal_loss: 0.8878 (range: 0.8878 - 0.8878)
kld_loss: 0.1081 (range: 0.1081 - 0.1081)
reconstruction_loss: 0.8878 (range: 0.8878 - 0.8878)
archetype_r2: 0.0553 (range: 0.0553 - 0.0553)
Archetype Transform Summary:
archetype_transform_mean: -0.001263 (range: -0.001263 - -0.001263)
archetype_transform_std: 0.092175 (range: 0.092175 - 0.092175)
archetype_transform_norm: 6.582606 (range: 6.582606 - 6.582606)
archetype_transform_grad_norm: 0.235296 (range: 0.235296 - 0.235296)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0046, max=0.8837, mean=0.2500
Batch reconstruction MSE: 1.1302
Archetype stats: min=-9.2991, max=6.0701
Archetype change since last debug: 4.003372
Archetype gradients: norm=0.090502, mean=0.004031
Epoch 1/1
Average loss: 0.8090
Archetypal loss: 0.8858
KLD loss: 0.1181
Reconstruction loss: 0.8858
Archetype R²: 0.0572
Archetype transform grad norm: 0.238785
Archetype transform param norm: 6.6552
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.8090 (range: 0.8090 - 0.8090)
archetypal_loss: 0.8858 (range: 0.8858 - 0.8858)
kld_loss: 0.1181 (range: 0.1181 - 0.1181)
reconstruction_loss: 0.8858 (range: 0.8858 - 0.8858)
archetype_r2: 0.0572 (range: 0.0572 - 0.0572)
Archetype Transform Summary:
archetype_transform_mean: -0.001317 (range: -0.001317 - -0.001317)
archetype_transform_std: 0.093192 (range: 0.093192 - 0.093192)
archetype_transform_norm: 6.655244 (range: 6.655244 - 6.655244)
archetype_transform_grad_norm: 0.238785 (range: 0.238785 - 0.238785)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0225, max=0.7628, mean=0.2500
Batch reconstruction MSE: 1.1274
Archetype stats: min=-10.2674, max=6.7381
Archetype change since last debug: 2.367566
Archetype gradients: norm=0.031872, mean=0.001286
Epoch 1/1
Average loss: 0.8062
Archetypal loss: 0.8838
KLD loss: 0.1078
Reconstruction loss: 0.8838
Archetype R²: 0.0593
Archetype transform grad norm: 0.258036
Archetype transform param norm: 6.7323
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.8062 (range: 0.8062 - 0.8062)
archetypal_loss: 0.8838 (range: 0.8838 - 0.8838)
kld_loss: 0.1078 (range: 0.1078 - 0.1078)
reconstruction_loss: 0.8838 (range: 0.8838 - 0.8838)
archetype_r2: 0.0593 (range: 0.0593 - 0.0593)
Archetype Transform Summary:
archetype_transform_mean: -0.001433 (range: -0.001433 - -0.001433)
archetype_transform_std: 0.094269 (range: 0.094269 - 0.094269)
archetype_transform_norm: 6.732280 (range: 6.732280 - 6.732280)
archetype_transform_grad_norm: 0.258036 (range: 0.258036 - 0.258036)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0241, max=0.6775, mean=0.2500
Batch reconstruction MSE: 1.0697
Archetype stats: min=-10.1625, max=6.8641
Archetype change since last debug: 2.413960
Archetype gradients: norm=0.062566, mean=0.003405
Epoch 1/1
Average loss: 0.8037
Archetypal loss: 0.8809
KLD loss: 0.1088
Reconstruction loss: 0.8809
Archetype R²: 0.0625
Archetype transform grad norm: 0.245494
Archetype transform param norm: 6.7847
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.8037 (range: 0.8037 - 0.8037)
archetypal_loss: 0.8809 (range: 0.8809 - 0.8809)
kld_loss: 0.1088 (range: 0.1088 - 0.1088)
reconstruction_loss: 0.8809 (range: 0.8809 - 0.8809)
archetype_r2: 0.0625 (range: 0.0625 - 0.0625)
Archetype Transform Summary:
archetype_transform_mean: -0.001456 (range: -0.001456 - -0.001456)
archetype_transform_std: 0.095003 (range: 0.095003 - 0.095003)
archetype_transform_norm: 6.784687 (range: 6.784687 - 6.784687)
archetype_transform_grad_norm: 0.245494 (range: 0.245494 - 0.245494)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0252, max=0.6699, mean=0.2500
Batch reconstruction MSE: 0.9776
Archetype stats: min=-10.7056, max=7.2863
Archetype change since last debug: 1.902719
Archetype gradients: norm=0.032559, mean=0.001738
Epoch 1/1
Average loss: 0.8007
Archetypal loss: 0.8786
KLD loss: 0.0992
Reconstruction loss: 0.8786
Archetype R²: 0.0652
Archetype transform grad norm: 0.256597
Archetype transform param norm: 6.8621
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.8007 (range: 0.8007 - 0.8007)
archetypal_loss: 0.8786 (range: 0.8786 - 0.8786)
kld_loss: 0.0992 (range: 0.0992 - 0.0992)
reconstruction_loss: 0.8786 (range: 0.8786 - 0.8786)
archetype_r2: 0.0652 (range: 0.0652 - 0.0652)
Archetype Transform Summary:
archetype_transform_mean: -0.001559 (range: -0.001559 - -0.001559)
archetype_transform_std: 0.096085 (range: 0.096085 - 0.096085)
archetype_transform_norm: 6.862096 (range: 6.862096 - 6.862096)
archetype_transform_grad_norm: 0.256597 (range: 0.256597 - 0.256597)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0249, max=0.5604, mean=0.2500
Batch reconstruction MSE: 1.0037
Archetype stats: min=-11.1475, max=7.6253
Archetype change since last debug: 1.890985
Archetype gradients: norm=0.039108, mean=0.002295
Epoch 1/1
Average loss: 0.8001
Archetypal loss: 0.8784
KLD loss: 0.0949
Reconstruction loss: 0.8784
Archetype R²: 0.0653
Archetype transform grad norm: 0.252993
Archetype transform param norm: 6.9127
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.8001 (range: 0.8001 - 0.8001)
archetypal_loss: 0.8784 (range: 0.8784 - 0.8784)
kld_loss: 0.0949 (range: 0.0949 - 0.0949)
reconstruction_loss: 0.8784 (range: 0.8784 - 0.8784)
archetype_r2: 0.0653 (range: 0.0653 - 0.0653)
Archetype Transform Summary:
archetype_transform_mean: -0.001604 (range: -0.001604 - -0.001604)
archetype_transform_std: 0.096794 (range: 0.096794 - 0.096794)
archetype_transform_norm: 6.912744 (range: 6.912744 - 6.912744)
archetype_transform_grad_norm: 0.252993 (range: 0.252993 - 0.252993)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0293, max=0.7076, mean=0.2500
Batch reconstruction MSE: 1.0074
Archetype stats: min=-11.6606, max=7.7871
Archetype change since last debug: 1.744987
Archetype gradients: norm=0.061749, mean=0.002686
Epoch 1/1
Average loss: 0.7987
Archetypal loss: 0.8777
KLD loss: 0.0884
Reconstruction loss: 0.8777
Archetype R²: 0.0661
Archetype transform grad norm: 0.258555
Archetype transform param norm: 6.9525
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.7987 (range: 0.7987 - 0.7987)
archetypal_loss: 0.8777 (range: 0.8777 - 0.8777)
kld_loss: 0.0884 (range: 0.0884 - 0.0884)
reconstruction_loss: 0.8777 (range: 0.8777 - 0.8777)
archetype_r2: 0.0661 (range: 0.0661 - 0.0661)
Archetype Transform Summary:
archetype_transform_mean: -0.001606 (range: -0.001606 - -0.001606)
archetype_transform_std: 0.097351 (range: 0.097351 - 0.097351)
archetype_transform_norm: 6.952484 (range: 6.952484 - 6.952484)
archetype_transform_grad_norm: 0.258555 (range: 0.258555 - 0.258555)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0159, max=0.6809, mean=0.2500
Batch reconstruction MSE: 0.9553
Archetype stats: min=-12.1175, max=8.1244
Archetype change since last debug: 1.506110
Archetype gradients: norm=0.038134, mean=0.002136
Epoch 1/1
Average loss: 0.7982
Archetypal loss: 0.8761
KLD loss: 0.0977
Reconstruction loss: 0.8761
Archetype R²: 0.0678
Archetype transform grad norm: 0.259430
Archetype transform param norm: 6.9919
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.7982 (range: 0.7982 - 0.7982)
archetypal_loss: 0.8761 (range: 0.8761 - 0.8761)
kld_loss: 0.0977 (range: 0.0977 - 0.0977)
reconstruction_loss: 0.8761 (range: 0.8761 - 0.8761)
archetype_r2: 0.0678 (range: 0.0678 - 0.0678)
Archetype Transform Summary:
archetype_transform_mean: -0.001680 (range: -0.001680 - -0.001680)
archetype_transform_std: 0.097902 (range: 0.097902 - 0.097902)
archetype_transform_norm: 6.991943 (range: 6.991943 - 6.991943)
archetype_transform_grad_norm: 0.259430 (range: 0.259430 - 0.259430)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0272, max=0.6893, mean=0.2500
Batch reconstruction MSE: 1.1636
Archetype stats: min=-12.7186, max=8.2890
Archetype change since last debug: 1.507428
Archetype gradients: norm=0.085723, mean=0.003668
Epoch 1/1
Average loss: 0.8009
Archetypal loss: 0.8803
KLD loss: 0.0863
Reconstruction loss: 0.8803
Archetype R²: 0.0628
Archetype transform grad norm: 0.274232
Archetype transform param norm: 6.9915
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.8009 (range: 0.8009 - 0.8009)
archetypal_loss: 0.8803 (range: 0.8803 - 0.8803)
kld_loss: 0.0863 (range: 0.0863 - 0.0863)
reconstruction_loss: 0.8803 (range: 0.8803 - 0.8803)
archetype_r2: 0.0628 (range: 0.0628 - 0.0628)
Archetype Transform Summary:
archetype_transform_mean: -0.001633 (range: -0.001633 - -0.001633)
archetype_transform_std: 0.097897 (range: 0.097897 - 0.097897)
archetype_transform_norm: 6.991518 (range: 6.991518 - 6.991518)
archetype_transform_grad_norm: 0.274232 (range: 0.274232 - 0.274232)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0412, max=0.6061, mean=0.2500
Batch reconstruction MSE: 0.9742
Archetype stats: min=-12.4306, max=8.3321
Archetype change since last debug: 0.984479
Archetype gradients: norm=0.025613, mean=0.001256
Epoch 1/1
Average loss: 0.7969
Archetypal loss: 0.8756
KLD loss: 0.0891
Reconstruction loss: 0.8756
Archetype R²: 0.0683
Archetype transform grad norm: 0.254804
Archetype transform param norm: 7.0215
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.7969 (range: 0.7969 - 0.7969)
archetypal_loss: 0.8756 (range: 0.8756 - 0.8756)
kld_loss: 0.0891 (range: 0.0891 - 0.0891)
reconstruction_loss: 0.8756 (range: 0.8756 - 0.8756)
archetype_r2: 0.0683 (range: 0.0683 - 0.0683)
Archetype Transform Summary:
archetype_transform_mean: -0.001694 (range: -0.001694 - -0.001694)
archetype_transform_std: 0.098315 (range: 0.098315 - 0.098315)
archetype_transform_norm: 7.021468 (range: 7.021468 - 7.021468)
archetype_transform_grad_norm: 0.254804 (range: 0.254804 - 0.254804)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0419, max=0.5513, mean=0.2500
Batch reconstruction MSE: 0.9434
Archetype stats: min=-12.9705, max=8.4669
Archetype change since last debug: 1.341460
Archetype gradients: norm=0.086081, mean=0.003344
Epoch 1/1
Average loss: 0.7960
Archetypal loss: 0.8747
KLD loss: 0.0876
Reconstruction loss: 0.8747
Archetype R²: 0.0692
Archetype transform grad norm: 0.260831
Archetype transform param norm: 7.0503
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.7960 (range: 0.7960 - 0.7960)
archetypal_loss: 0.8747 (range: 0.8747 - 0.8747)
kld_loss: 0.0876 (range: 0.0876 - 0.0876)
reconstruction_loss: 0.8747 (range: 0.8747 - 0.8747)
archetype_r2: 0.0692 (range: 0.0692 - 0.0692)
Archetype Transform Summary:
archetype_transform_mean: -0.001644 (range: -0.001644 - -0.001644)
archetype_transform_std: 0.098720 (range: 0.098720 - 0.098720)
archetype_transform_norm: 7.050286 (range: 7.050286 - 7.050286)
archetype_transform_grad_norm: 0.260831 (range: 0.260831 - 0.260831)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0421, max=0.4586, mean=0.2500
Batch reconstruction MSE: 0.9901
Archetype stats: min=-13.4566, max=8.9069
Archetype change since last debug: 1.491023
Archetype gradients: norm=0.044855, mean=0.002497
Epoch 1/1
Average loss: 0.7963
Archetypal loss: 0.8753
KLD loss: 0.0844
Reconstruction loss: 0.8753
Archetype R²: 0.0684
Archetype transform grad norm: 0.267887
Archetype transform param norm: 7.0815
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.7963 (range: 0.7963 - 0.7963)
archetypal_loss: 0.8753 (range: 0.8753 - 0.8753)
kld_loss: 0.0844 (range: 0.0844 - 0.0844)
reconstruction_loss: 0.8753 (range: 0.8753 - 0.8753)
archetype_r2: 0.0684 (range: 0.0684 - 0.0684)
Archetype Transform Summary:
archetype_transform_mean: -0.001701 (range: -0.001701 - -0.001701)
archetype_transform_std: 0.099156 (range: 0.099156 - 0.099156)
archetype_transform_norm: 7.081536 (range: 7.081536 - 7.081536)
archetype_transform_grad_norm: 0.267887 (range: 0.267887 - 0.267887)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0750, max=0.5258, mean=0.2500
Batch reconstruction MSE: 0.9498
Archetype stats: min=-13.9590, max=9.1094
Archetype change since last debug: 1.094244
Archetype gradients: norm=0.038938, mean=0.002295
Epoch 1/1
Average loss: 0.7964
Archetypal loss: 0.8750
KLD loss: 0.0891
Reconstruction loss: 0.8750
Archetype R²: 0.0688
Archetype transform grad norm: 0.287418
Archetype transform param norm: 7.1096
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.7964 (range: 0.7964 - 0.7964)
archetypal_loss: 0.8750 (range: 0.8750 - 0.8750)
kld_loss: 0.0891 (range: 0.0891 - 0.0891)
reconstruction_loss: 0.8750 (range: 0.8750 - 0.8750)
archetype_r2: 0.0688 (range: 0.0688 - 0.0688)
Archetype Transform Summary:
archetype_transform_mean: -0.001683 (range: -0.001683 - -0.001683)
archetype_transform_std: 0.099550 (range: 0.099550 - 0.099550)
archetype_transform_norm: 7.109586 (range: 7.109586 - 7.109586)
archetype_transform_grad_norm: 0.287418 (range: 0.287418 - 0.287418)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0219, max=0.5987, mean=0.2500
Batch reconstruction MSE: 1.1434
Archetype stats: min=-13.7710, max=9.3435
Archetype change since last debug: 1.068673
Archetype gradients: norm=0.060987, mean=0.003649
Epoch 1/1
Average loss: 0.7988
Archetypal loss: 0.8787
KLD loss: 0.0798
Reconstruction loss: 0.8787
Archetype R²: 0.0645
Archetype transform grad norm: 0.280602
Archetype transform param norm: 7.0955
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.7988 (range: 0.7988 - 0.7988)
archetypal_loss: 0.8787 (range: 0.8787 - 0.8787)
kld_loss: 0.0798 (range: 0.0798 - 0.0798)
reconstruction_loss: 0.8787 (range: 0.8787 - 0.8787)
archetype_r2: 0.0645 (range: 0.0645 - 0.0645)
Archetype Transform Summary:
archetype_transform_mean: -0.001691 (range: -0.001691 - -0.001691)
archetype_transform_std: 0.099353 (range: 0.099353 - 0.099353)
archetype_transform_norm: 7.095523 (range: 7.095523 - 7.095523)
archetype_transform_grad_norm: 0.280602 (range: 0.280602 - 0.280602)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0543, max=0.5307, mean=0.2500
Batch reconstruction MSE: 0.9274
Archetype stats: min=-13.6948, max=8.9087
Archetype change since last debug: 1.245708
Archetype gradients: norm=0.045015, mean=0.001888
Epoch 1/1
Average loss: 0.7942
Archetypal loss: 0.8731
KLD loss: 0.0833
Reconstruction loss: 0.8731
Archetype R²: 0.0708
Archetype transform grad norm: 0.260004
Archetype transform param norm: 7.1254
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.7942 (range: 0.7942 - 0.7942)
archetypal_loss: 0.8731 (range: 0.8731 - 0.8731)
kld_loss: 0.0833 (range: 0.0833 - 0.0833)
reconstruction_loss: 0.8731 (range: 0.8731 - 0.8731)
archetype_r2: 0.0708 (range: 0.0708 - 0.0708)
Archetype Transform Summary:
archetype_transform_mean: -0.001711 (range: -0.001711 - -0.001711)
archetype_transform_std: 0.099771 (range: 0.099771 - 0.099771)
archetype_transform_norm: 7.125424 (range: 7.125424 - 7.125424)
archetype_transform_grad_norm: 0.260004 (range: 0.260004 - 0.260004)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0526, max=0.4682, mean=0.2500
Batch reconstruction MSE: 0.9395
Archetype stats: min=-13.6550, max=9.2751
Archetype change since last debug: 1.230744
Archetype gradients: norm=0.026782, mean=0.001406
Epoch 1/1
Average loss: 0.7934
Archetypal loss: 0.8733
KLD loss: 0.0739
Reconstruction loss: 0.8733
Archetype R²: 0.0706
Archetype transform grad norm: 0.265594
Archetype transform param norm: 7.1634
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.7934 (range: 0.7934 - 0.7934)
archetypal_loss: 0.8733 (range: 0.8733 - 0.8733)
kld_loss: 0.0739 (range: 0.0739 - 0.0739)
reconstruction_loss: 0.8733 (range: 0.8733 - 0.8733)
archetype_r2: 0.0706 (range: 0.0706 - 0.0706)
Archetype Transform Summary:
archetype_transform_mean: -0.001779 (range: -0.001779 - -0.001779)
archetype_transform_std: 0.100302 (range: 0.100302 - 0.100302)
archetype_transform_norm: 7.163427 (range: 7.163427 - 7.163427)
archetype_transform_grad_norm: 0.265594 (range: 0.265594 - 0.265594)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0831, max=0.5175, mean=0.2500
Batch reconstruction MSE: 0.8669
Archetype stats: min=-14.2370, max=9.4390
Archetype change since last debug: 1.263864
Archetype gradients: norm=0.028866, mean=0.001539
Epoch 1/1
Average loss: 0.7927
Archetypal loss: 0.8718
KLD loss: 0.0811
Reconstruction loss: 0.8718
Archetype R²: 0.0724
Archetype transform grad norm: 0.272158
Archetype transform param norm: 7.2016
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.7927 (range: 0.7927 - 0.7927)
archetypal_loss: 0.8718 (range: 0.8718 - 0.8718)
kld_loss: 0.0811 (range: 0.0811 - 0.0811)
reconstruction_loss: 0.8718 (range: 0.8718 - 0.8718)
archetype_r2: 0.0724 (range: 0.0724 - 0.0724)
Archetype Transform Summary:
archetype_transform_mean: -0.001798 (range: -0.001798 - -0.001798)
archetype_transform_std: 0.100836 (range: 0.100836 - 0.100836)
archetype_transform_norm: 7.201587 (range: 7.201587 - 7.201587)
archetype_transform_grad_norm: 0.272158 (range: 0.272158 - 0.272158)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0881, max=0.4780, mean=0.2500
Batch reconstruction MSE: 0.9803
Archetype stats: min=-14.3955, max=9.8187
Archetype change since last debug: 1.235482
Archetype gradients: norm=0.032568, mean=0.002016
Epoch 1/1
Average loss: 0.7935
Archetypal loss: 0.8741
KLD loss: 0.0684
Reconstruction loss: 0.8741
Archetype R²: 0.0696
Archetype transform grad norm: 0.277037
Archetype transform param norm: 7.2178
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.7935 (range: 0.7935 - 0.7935)
archetypal_loss: 0.8741 (range: 0.8741 - 0.8741)
kld_loss: 0.0684 (range: 0.0684 - 0.0684)
reconstruction_loss: 0.8741 (range: 0.8741 - 0.8741)
archetype_r2: 0.0696 (range: 0.0696 - 0.0696)
Archetype Transform Summary:
archetype_transform_mean: -0.001808 (range: -0.001808 - -0.001808)
archetype_transform_std: 0.101063 (range: 0.101063 - 0.101063)
archetype_transform_norm: 7.217811 (range: 7.217811 - 7.217811)
archetype_transform_grad_norm: 0.277037 (range: 0.277037 - 0.277037)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0767, max=0.4756, mean=0.2500
Batch reconstruction MSE: 0.8961
Archetype stats: min=-14.8125, max=9.7962
Archetype change since last debug: 0.843726
Archetype gradients: norm=0.024861, mean=0.001431
Epoch 1/1
Average loss: 0.7937
Archetypal loss: 0.8727
KLD loss: 0.0829
Reconstruction loss: 0.8727
Archetype R²: 0.0713
Archetype transform grad norm: 0.288839
Archetype transform param norm: 7.2407
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.7937 (range: 0.7937 - 0.7937)
archetypal_loss: 0.8727 (range: 0.8727 - 0.8727)
kld_loss: 0.0829 (range: 0.0829 - 0.0829)
reconstruction_loss: 0.8727 (range: 0.8727 - 0.8727)
archetype_r2: 0.0713 (range: 0.0713 - 0.0713)
Archetype Transform Summary:
archetype_transform_mean: -0.001824 (range: -0.001824 - -0.001824)
archetype_transform_std: 0.101384 (range: 0.101384 - 0.101384)
archetype_transform_norm: 7.240694 (range: 7.240694 - 7.240694)
archetype_transform_grad_norm: 0.288839 (range: 0.288839 - 0.288839)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0664, max=0.4446, mean=0.2500
Batch reconstruction MSE: 1.0465
Archetype stats: min=-14.6319, max=10.0278
Archetype change since last debug: 0.891160
Archetype gradients: norm=0.054538, mean=0.003082
Epoch 1/1
Average loss: 0.7942
Archetypal loss: 0.8750
KLD loss: 0.0674
Reconstruction loss: 0.8750
Archetype R²: 0.0685
Archetype transform grad norm: 0.272314
Archetype transform param norm: 7.2293
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.7942 (range: 0.7942 - 0.7942)
archetypal_loss: 0.8750 (range: 0.8750 - 0.8750)
kld_loss: 0.0674 (range: 0.0674 - 0.0674)
reconstruction_loss: 0.8750 (range: 0.8750 - 0.8750)
archetype_r2: 0.0685 (range: 0.0685 - 0.0685)
Archetype Transform Summary:
archetype_transform_mean: -0.001769 (range: -0.001769 - -0.001769)
archetype_transform_std: 0.101225 (range: 0.101225 - 0.101225)
archetype_transform_norm: 7.229295 (range: 7.229295 - 7.229295)
archetype_transform_grad_norm: 0.272314 (range: 0.272314 - 0.272314)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0711, max=0.4443, mean=0.2500
Batch reconstruction MSE: 0.8683
Archetype stats: min=-14.8665, max=9.9297
Archetype change since last debug: 0.684891
Archetype gradients: norm=0.019864, mean=0.001074
Epoch 1/1
Average loss: 0.7921
Archetypal loss: 0.8715
KLD loss: 0.0783
Reconstruction loss: 0.8715
Archetype R²: 0.0726
Archetype transform grad norm: 0.282512
Archetype transform param norm: 7.2664
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.7921 (range: 0.7921 - 0.7921)
archetypal_loss: 0.8715 (range: 0.8715 - 0.8715)
kld_loss: 0.0783 (range: 0.0783 - 0.0783)
reconstruction_loss: 0.8715 (range: 0.8715 - 0.8715)
archetype_r2: 0.0726 (range: 0.0726 - 0.0726)
Archetype Transform Summary:
archetype_transform_mean: -0.001833 (range: -0.001833 - -0.001833)
archetype_transform_std: 0.101743 (range: 0.101743 - 0.101743)
archetype_transform_norm: 7.266352 (range: 7.266352 - 7.266352)
archetype_transform_grad_norm: 0.282512 (range: 0.282512 - 0.282512)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0760, max=0.5185, mean=0.2500
Batch reconstruction MSE: 0.9447
Archetype stats: min=-14.9172, max=10.2337
Archetype change since last debug: 1.059685
Archetype gradients: norm=0.078069, mean=0.003286
Epoch 1/1
Average loss: 0.7925
Archetypal loss: 0.8728
KLD loss: 0.0695
Reconstruction loss: 0.8728
Archetype R²: 0.0710
Archetype transform grad norm: 0.275811
Archetype transform param norm: 7.2618
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.7925 (range: 0.7925 - 0.7925)
archetypal_loss: 0.8728 (range: 0.8728 - 0.8728)
kld_loss: 0.0695 (range: 0.0695 - 0.0695)
reconstruction_loss: 0.8728 (range: 0.8728 - 0.8728)
archetype_r2: 0.0710 (range: 0.0710 - 0.0710)
Archetype Transform Summary:
archetype_transform_mean: -0.001752 (range: -0.001752 - -0.001752)
archetype_transform_std: 0.101681 (range: 0.101681 - 0.101681)
archetype_transform_norm: 7.261829 (range: 7.261829 - 7.261829)
archetype_transform_grad_norm: 0.275811 (range: 0.275811 - 0.275811)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0771, max=0.4393, mean=0.2500
Batch reconstruction MSE: 0.9371
Archetype stats: min=-15.3178, max=10.3472
Archetype change since last debug: 0.805211
Archetype gradients: norm=0.052242, mean=0.002816
Epoch 1/1
Average loss: 0.7928
Archetypal loss: 0.8724
KLD loss: 0.0767
Reconstruction loss: 0.8724
Archetype R²: 0.0715
Archetype transform grad norm: 0.289335
Archetype transform param norm: 7.2993
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.7928 (range: 0.7928 - 0.7928)
archetypal_loss: 0.8724 (range: 0.8724 - 0.8724)
kld_loss: 0.0767 (range: 0.0767 - 0.0767)
reconstruction_loss: 0.8724 (range: 0.8724 - 0.8724)
archetype_r2: 0.0715 (range: 0.0715 - 0.0715)
Archetype Transform Summary:
archetype_transform_mean: -0.001835 (range: -0.001835 - -0.001835)
archetype_transform_std: 0.102204 (range: 0.102204 - 0.102204)
archetype_transform_norm: 7.299321 (range: 7.299321 - 7.299321)
archetype_transform_grad_norm: 0.289335 (range: 0.289335 - 0.289335)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0628, max=0.4846, mean=0.2500
Batch reconstruction MSE: 1.0357
Archetype stats: min=-14.9712, max=10.5894
Archetype change since last debug: 1.088767
Archetype gradients: norm=0.086257, mean=0.004549
Epoch 1/1
Average loss: 0.7948
Archetypal loss: 0.8746
KLD loss: 0.0761
Reconstruction loss: 0.8746
Archetype R²: 0.0689
Archetype transform grad norm: 0.288226
Archetype transform param norm: 7.2704
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.7948 (range: 0.7948 - 0.7948)
archetypal_loss: 0.8746 (range: 0.8746 - 0.8746)
kld_loss: 0.0761 (range: 0.0761 - 0.0761)
reconstruction_loss: 0.8746 (range: 0.8746 - 0.8746)
archetype_r2: 0.0689 (range: 0.0689 - 0.0689)
Archetype Transform Summary:
archetype_transform_mean: -0.001703 (range: -0.001703 - -0.001703)
archetype_transform_std: 0.101802 (range: 0.101802 - 0.101802)
archetype_transform_norm: 7.270429 (range: 7.270429 - 7.270429)
archetype_transform_grad_norm: 0.288226 (range: 0.288226 - 0.288226)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0484, max=0.4947, mean=0.2500
Batch reconstruction MSE: 1.0363
Archetype stats: min=-15.1836, max=10.0536
Archetype change since last debug: 1.185270
Archetype gradients: norm=0.047056, mean=0.002902
Epoch 1/1
Average loss: 0.7941
Archetypal loss: 0.8743
KLD loss: 0.0726
Reconstruction loss: 0.8743
Archetype R²: 0.0692
Archetype transform grad norm: 0.289621
Archetype transform param norm: 7.2915
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.7941 (range: 0.7941 - 0.7941)
archetypal_loss: 0.8743 (range: 0.8743 - 0.8743)
kld_loss: 0.0726 (range: 0.0726 - 0.0726)
reconstruction_loss: 0.8743 (range: 0.8743 - 0.8743)
archetype_r2: 0.0692 (range: 0.0692 - 0.0692)
Archetype Transform Summary:
archetype_transform_mean: -0.001799 (range: -0.001799 - -0.001799)
archetype_transform_std: 0.102096 (range: 0.102096 - 0.102096)
archetype_transform_norm: 7.291512 (range: 7.291512 - 7.291512)
archetype_transform_grad_norm: 0.289621 (range: 0.289621 - 0.289621)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0736, max=0.4658, mean=0.2500
Batch reconstruction MSE: 0.9387
Archetype stats: min=-14.2274, max=10.1280
Archetype change since last debug: 1.586942
Archetype gradients: norm=0.072915, mean=0.003542
Epoch 1/1
Average loss: 0.7929
Archetypal loss: 0.8723
KLD loss: 0.0784
Reconstruction loss: 0.8723
Archetype R²: 0.0715
Archetype transform grad norm: 0.280201
Archetype transform param norm: 7.2855
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.7929 (range: 0.7929 - 0.7929)
archetypal_loss: 0.8723 (range: 0.8723 - 0.8723)
kld_loss: 0.0784 (range: 0.0784 - 0.0784)
reconstruction_loss: 0.8723 (range: 0.8723 - 0.8723)
archetype_r2: 0.0715 (range: 0.0715 - 0.0715)
Archetype Transform Summary:
archetype_transform_mean: -0.001711 (range: -0.001711 - -0.001711)
archetype_transform_std: 0.102014 (range: 0.102014 - 0.102014)
archetype_transform_norm: 7.285533 (range: 7.285533 - 7.285533)
archetype_transform_grad_norm: 0.280201 (range: 0.280201 - 0.280201)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0826, max=0.5127, mean=0.2500
Batch reconstruction MSE: 0.9697
Archetype stats: min=-14.8956, max=9.9540
Archetype change since last debug: 1.220110
Archetype gradients: norm=0.033951, mean=0.002137
Epoch 1/1
Average loss: 0.7918
Archetypal loss: 0.8723
KLD loss: 0.0671
Reconstruction loss: 0.8723
Archetype R²: 0.0715
Archetype transform grad norm: 0.273886
Archetype transform param norm: 7.3139
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.7918 (range: 0.7918 - 0.7918)
archetypal_loss: 0.8723 (range: 0.8723 - 0.8723)
kld_loss: 0.0671 (range: 0.0671 - 0.0671)
reconstruction_loss: 0.8723 (range: 0.8723 - 0.8723)
archetype_r2: 0.0715 (range: 0.0715 - 0.0715)
Archetype Transform Summary:
archetype_transform_mean: -0.001792 (range: -0.001792 - -0.001792)
archetype_transform_std: 0.102409 (range: 0.102409 - 0.102409)
archetype_transform_norm: 7.313903 (range: 7.313903 - 7.313903)
archetype_transform_grad_norm: 0.273886 (range: 0.273886 - 0.273886)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0967, max=0.4211, mean=0.2500
Batch reconstruction MSE: 0.8809
Archetype stats: min=-14.5538, max=10.3020
Archetype change since last debug: 1.040067
Archetype gradients: norm=0.046531, mean=0.002332
Epoch 1/1
Average loss: 0.7907
Archetypal loss: 0.8704
KLD loss: 0.0736
Reconstruction loss: 0.8704
Archetype R²: 0.0737
Archetype transform grad norm: 0.273041
Archetype transform param norm: 7.3260
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.7907 (range: 0.7907 - 0.7907)
archetypal_loss: 0.8704 (range: 0.8704 - 0.8704)
kld_loss: 0.0736 (range: 0.0736 - 0.0736)
reconstruction_loss: 0.8704 (range: 0.8704 - 0.8704)
archetype_r2: 0.0737 (range: 0.0737 - 0.0737)
Archetype Transform Summary:
archetype_transform_mean: -0.001749 (range: -0.001749 - -0.001749)
archetype_transform_std: 0.102579 (range: 0.102579 - 0.102579)
archetype_transform_norm: 7.325981 (range: 7.325981 - 7.325981)
archetype_transform_grad_norm: 0.273041 (range: 0.273041 - 0.273041)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.1002, max=0.4771, mean=0.2500
Batch reconstruction MSE: 0.9241
Archetype stats: min=-15.3029, max=10.3610
Archetype change since last debug: 1.339035
Archetype gradients: norm=0.022413, mean=0.001369
Epoch 1/1
Average loss: 0.7902
Archetypal loss: 0.8710
KLD loss: 0.0638
Reconstruction loss: 0.8710
Archetype R²: 0.0730
Archetype transform grad norm: 0.272427
Archetype transform param norm: 7.3598
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.7902 (range: 0.7902 - 0.7902)
archetypal_loss: 0.8710 (range: 0.8710 - 0.8710)
kld_loss: 0.0638 (range: 0.0638 - 0.0638)
reconstruction_loss: 0.8710 (range: 0.8710 - 0.8710)
archetype_r2: 0.0730 (range: 0.0730 - 0.0730)
Archetype Transform Summary:
archetype_transform_mean: -0.001812 (range: -0.001812 - -0.001812)
archetype_transform_std: 0.103052 (range: 0.103052 - 0.103052)
archetype_transform_norm: 7.359809 (range: 7.359809 - 7.359809)
archetype_transform_grad_norm: 0.272427 (range: 0.272427 - 0.272427)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0942, max=0.4054, mean=0.2500
Batch reconstruction MSE: 0.8677
Archetype stats: min=-15.0530, max=10.7102
Archetype change since last debug: 0.993854
Archetype gradients: norm=0.033268, mean=0.001967
Epoch 1/1
Average loss: 0.7899
Archetypal loss: 0.8699
KLD loss: 0.0706
Reconstruction loss: 0.8699
Archetype R²: 0.0742
Archetype transform grad norm: 0.277669
Archetype transform param norm: 7.3794
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.7899 (range: 0.7899 - 0.7899)
archetypal_loss: 0.8699 (range: 0.8699 - 0.8699)
kld_loss: 0.0706 (range: 0.0706 - 0.0706)
reconstruction_loss: 0.8699 (range: 0.8699 - 0.8699)
archetype_r2: 0.0742 (range: 0.0742 - 0.0742)
Archetype Transform Summary:
archetype_transform_mean: -0.001805 (range: -0.001805 - -0.001805)
archetype_transform_std: 0.103326 (range: 0.103326 - 0.103326)
archetype_transform_norm: 7.379387 (range: 7.379387 - 7.379387)
archetype_transform_grad_norm: 0.277669 (range: 0.277669 - 0.277669)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0881, max=0.4311, mean=0.2500
Batch reconstruction MSE: 0.9670
Archetype stats: min=-15.7620, max=10.7228
Archetype change since last debug: 1.301993
Archetype gradients: norm=0.028300, mean=0.001597
Epoch 1/1
Average loss: 0.7906
Archetypal loss: 0.8718
KLD loss: 0.0604
Reconstruction loss: 0.8718
Archetype R²: 0.0720
Archetype transform grad norm: 0.279841
Archetype transform param norm: 7.3975
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.7906 (range: 0.7906 - 0.7906)
archetypal_loss: 0.8718 (range: 0.8718 - 0.8718)
kld_loss: 0.0604 (range: 0.0604 - 0.0604)
reconstruction_loss: 0.8718 (range: 0.8718 - 0.8718)
archetype_r2: 0.0720 (range: 0.0720 - 0.0720)
Archetype Transform Summary:
archetype_transform_mean: -0.001827 (range: -0.001827 - -0.001827)
archetype_transform_std: 0.103580 (range: 0.103580 - 0.103580)
archetype_transform_norm: 7.397530 (range: 7.397530 - 7.397530)
archetype_transform_grad_norm: 0.279841 (range: 0.279841 - 0.279841)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.1089, max=0.3997, mean=0.2500
Batch reconstruction MSE: 0.8810
Archetype stats: min=-15.2115, max=10.9195
Archetype change since last debug: 0.976618
Archetype gradients: norm=0.032481, mean=0.001818
Epoch 1/1
Average loss: 0.7903
Archetypal loss: 0.8701
KLD loss: 0.0713
Reconstruction loss: 0.8701
Archetype R²: 0.0739
Archetype transform grad norm: 0.283884
Archetype transform param norm: 7.4139
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.7903 (range: 0.7903 - 0.7903)
archetypal_loss: 0.8701 (range: 0.8701 - 0.8701)
kld_loss: 0.0713 (range: 0.0713 - 0.0713)
reconstruction_loss: 0.8701 (range: 0.8701 - 0.8701)
archetype_r2: 0.0739 (range: 0.0739 - 0.0739)
Archetype Transform Summary:
archetype_transform_mean: -0.001851 (range: -0.001851 - -0.001851)
archetype_transform_std: 0.103808 (range: 0.103808 - 0.103808)
archetype_transform_norm: 7.413857 (range: 7.413857 - 7.413857)
archetype_transform_grad_norm: 0.283884 (range: 0.283884 - 0.283884)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0643, max=0.5297, mean=0.2500
Batch reconstruction MSE: 1.0480
Archetype stats: min=-15.9410, max=10.8623
Archetype change since last debug: 1.298884
Archetype gradients: norm=0.075595, mean=0.003864
Epoch 1/1
Average loss: 0.7926
Archetypal loss: 0.8738
KLD loss: 0.0621
Reconstruction loss: 0.8738
Archetype R²: 0.0696
Archetype transform grad norm: 0.292225
Archetype transform param norm: 7.3984
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.7926 (range: 0.7926 - 0.7926)
archetypal_loss: 0.8738 (range: 0.8738 - 0.8738)
kld_loss: 0.0621 (range: 0.0621 - 0.0621)
reconstruction_loss: 0.8738 (range: 0.8738 - 0.8738)
archetype_r2: 0.0696 (range: 0.0696 - 0.0696)
Archetype Transform Summary:
archetype_transform_mean: -0.001767 (range: -0.001767 - -0.001767)
archetype_transform_std: 0.103594 (range: 0.103594 - 0.103594)
archetype_transform_norm: 7.398445 (range: 7.398445 - 7.398445)
archetype_transform_grad_norm: 0.292225 (range: 0.292225 - 0.292225)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0662, max=0.4959, mean=0.2500
Batch reconstruction MSE: 0.9696
Archetype stats: min=-15.0690, max=10.9230
Archetype change since last debug: 1.479345
Archetype gradients: norm=0.061499, mean=0.003458
Epoch 1/1
Average loss: 0.7924
Archetypal loss: 0.8722
KLD loss: 0.0742
Reconstruction loss: 0.8722
Archetype R²: 0.0714
Archetype transform grad norm: 0.291225
Archetype transform param norm: 7.4005
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.7924 (range: 0.7924 - 0.7924)
archetypal_loss: 0.8722 (range: 0.8722 - 0.8722)
kld_loss: 0.0742 (range: 0.0742 - 0.0742)
reconstruction_loss: 0.8722 (range: 0.8722 - 0.8722)
archetype_r2: 0.0714 (range: 0.0714 - 0.0714)
Archetype Transform Summary:
archetype_transform_mean: -0.001829 (range: -0.001829 - -0.001829)
archetype_transform_std: 0.103621 (range: 0.103621 - 0.103621)
archetype_transform_norm: 7.400469 (range: 7.400469 - 7.400469)
archetype_transform_grad_norm: 0.291225 (range: 0.291225 - 0.291225)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0821, max=0.4878, mean=0.2500
Batch reconstruction MSE: 1.0106
Archetype stats: min=-15.6539, max=10.8408
Archetype change since last debug: 1.243867
Archetype gradients: norm=0.090660, mean=0.004503
Epoch 1/1
Average loss: 0.7927
Archetypal loss: 0.8732
KLD loss: 0.0682
Reconstruction loss: 0.8732
Archetype R²: 0.0703
Archetype transform grad norm: 0.301066
Archetype transform param norm: 7.3786
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.7927 (range: 0.7927 - 0.7927)
archetypal_loss: 0.8732 (range: 0.8732 - 0.8732)
kld_loss: 0.0682 (range: 0.0682 - 0.0682)
reconstruction_loss: 0.8732 (range: 0.8732 - 0.8732)
archetype_r2: 0.0703 (range: 0.0703 - 0.0703)
Archetype Transform Summary:
archetype_transform_mean: -0.001708 (range: -0.001708 - -0.001708)
archetype_transform_std: 0.103317 (range: 0.103317 - 0.103317)
archetype_transform_norm: 7.378574 (range: 7.378574 - 7.378574)
archetype_transform_grad_norm: 0.301066 (range: 0.301066 - 0.301066)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.1116, max=0.4580, mean=0.2500
Batch reconstruction MSE: 0.9295
Archetype stats: min=-15.0239, max=11.0435
Archetype change since last debug: 1.297927
Archetype gradients: norm=0.054804, mean=0.003349
Epoch 1/1
Average loss: 0.7904
Archetypal loss: 0.8708
KLD loss: 0.0674
Reconstruction loss: 0.8708
Archetype R²: 0.0730
Archetype transform grad norm: 0.280053
Archetype transform param norm: 7.3936
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.7904 (range: 0.7904 - 0.7904)
archetypal_loss: 0.8708 (range: 0.8708 - 0.8708)
kld_loss: 0.0674 (range: 0.0674 - 0.0674)
reconstruction_loss: 0.8708 (range: 0.8708 - 0.8708)
archetype_r2: 0.0730 (range: 0.0730 - 0.0730)
Archetype Transform Summary:
archetype_transform_mean: -0.001782 (range: -0.001782 - -0.001782)
archetype_transform_std: 0.103525 (range: 0.103525 - 0.103525)
archetype_transform_norm: 7.393557 (range: 7.393557 - 7.393557)
archetype_transform_grad_norm: 0.280053 (range: 0.280053 - 0.280053)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.1073, max=0.4981, mean=0.2500
Batch reconstruction MSE: 0.9389
Archetype stats: min=-15.7048, max=10.9149
Archetype change since last debug: 1.428959
Archetype gradients: norm=0.077248, mean=0.004107
Epoch 1/1
Average loss: 0.7910
Archetypal loss: 0.8714
KLD loss: 0.0677
Reconstruction loss: 0.8714
Archetype R²: 0.0724
Archetype transform grad norm: 0.293851
Archetype transform param norm: 7.3960
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.7910 (range: 0.7910 - 0.7910)
archetypal_loss: 0.8714 (range: 0.8714 - 0.8714)
kld_loss: 0.0677 (range: 0.0677 - 0.0677)
reconstruction_loss: 0.8714 (range: 0.8714 - 0.8714)
archetype_r2: 0.0724 (range: 0.0724 - 0.0724)
Archetype Transform Summary:
archetype_transform_mean: -0.001731 (range: -0.001731 - -0.001731)
archetype_transform_std: 0.103561 (range: 0.103561 - 0.103561)
archetype_transform_norm: 7.396023 (range: 7.396023 - 7.396023)
archetype_transform_grad_norm: 0.293851 (range: 0.293851 - 0.293851)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0502, max=0.4712, mean=0.2500
Batch reconstruction MSE: 0.9835
Archetype stats: min=-15.2280, max=11.2257
Archetype change since last debug: 1.130271
Archetype gradients: norm=0.061283, mean=0.003675
Epoch 1/1
Average loss: 0.7910
Archetypal loss: 0.8718
KLD loss: 0.0642
Reconstruction loss: 0.8718
Archetype R²: 0.0718
Archetype transform grad norm: 0.281914
Archetype transform param norm: 7.4018
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.7910 (range: 0.7910 - 0.7910)
archetypal_loss: 0.8718 (range: 0.8718 - 0.8718)
kld_loss: 0.0642 (range: 0.0642 - 0.0642)
reconstruction_loss: 0.8718 (range: 0.8718 - 0.8718)
archetype_r2: 0.0718 (range: 0.0718 - 0.0718)
Archetype Transform Summary:
archetype_transform_mean: -0.001755 (range: -0.001755 - -0.001755)
archetype_transform_std: 0.103641 (range: 0.103641 - 0.103641)
archetype_transform_norm: 7.401782 (range: 7.401782 - 7.401782)
archetype_transform_grad_norm: 0.281914 (range: 0.281914 - 0.281914)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0996, max=0.4914, mean=0.2500
Batch reconstruction MSE: 0.9413
Archetype stats: min=-15.6648, max=10.7793
Archetype change since last debug: 1.250006
Archetype gradients: norm=0.063734, mean=0.003186
Epoch 1/1
Average loss: 0.7908
Archetypal loss: 0.8712
KLD loss: 0.0666
Reconstruction loss: 0.8712
Archetype R²: 0.0725
Archetype transform grad norm: 0.287903
Archetype transform param norm: 7.3999
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.7908 (range: 0.7908 - 0.7908)
archetypal_loss: 0.8712 (range: 0.8712 - 0.8712)
kld_loss: 0.0666 (range: 0.0666 - 0.0666)
reconstruction_loss: 0.8712 (range: 0.8712 - 0.8712)
archetype_r2: 0.0725 (range: 0.0725 - 0.0725)
Archetype Transform Summary:
archetype_transform_mean: -0.001707 (range: -0.001707 - -0.001707)
archetype_transform_std: 0.103615 (range: 0.103615 - 0.103615)
archetype_transform_norm: 7.399904 (range: 7.399904 - 7.399904)
archetype_transform_grad_norm: 0.287903 (range: 0.287903 - 0.287903)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.1025, max=0.5043, mean=0.2500
Batch reconstruction MSE: 0.9266
Archetype stats: min=-15.3714, max=11.0805
Archetype change since last debug: 0.869010
Archetype gradients: norm=0.041910, mean=0.002395
Epoch 1/1
Average loss: 0.7895
Archetypal loss: 0.8703
KLD loss: 0.0628
Reconstruction loss: 0.8703
Archetype R²: 0.0736
Archetype transform grad norm: 0.274543
Archetype transform param norm: 7.4187
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.7895 (range: 0.7895 - 0.7895)
archetypal_loss: 0.8703 (range: 0.8703 - 0.8703)
kld_loss: 0.0628 (range: 0.0628 - 0.0628)
reconstruction_loss: 0.8703 (range: 0.8703 - 0.8703)
archetype_r2: 0.0736 (range: 0.0736 - 0.0736)
Archetype Transform Summary:
archetype_transform_mean: -0.001729 (range: -0.001729 - -0.001729)
archetype_transform_std: 0.103879 (range: 0.103879 - 0.103879)
archetype_transform_norm: 7.418712 (range: 7.418712 - 7.418712)
archetype_transform_grad_norm: 0.274543 (range: 0.274543 - 0.274543)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0728, max=0.5201, mean=0.2500
Batch reconstruction MSE: 0.8966
Archetype stats: min=-15.8284, max=10.8730
Archetype change since last debug: 1.024105
Archetype gradients: norm=0.060379, mean=0.002913
Epoch 1/1
Average loss: 0.7893
Archetypal loss: 0.8698
KLD loss: 0.0653
Reconstruction loss: 0.8698
Archetype R²: 0.0741
Archetype transform grad norm: 0.279091
Archetype transform param norm: 7.4260
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.7893 (range: 0.7893 - 0.7893)
archetypal_loss: 0.8698 (range: 0.8698 - 0.8698)
kld_loss: 0.0653 (range: 0.0653 - 0.0653)
reconstruction_loss: 0.8698 (range: 0.8698 - 0.8698)
archetype_r2: 0.0741 (range: 0.0741 - 0.0741)
Archetype Transform Summary:
archetype_transform_mean: -0.001705 (range: -0.001705 - -0.001705)
archetype_transform_std: 0.103981 (range: 0.103981 - 0.103981)
archetype_transform_norm: 7.425980 (range: 7.425980 - 7.425980)
archetype_transform_grad_norm: 0.279091 (range: 0.279091 - 0.279091)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.1219, max=0.3875, mean=0.2500
Batch reconstruction MSE: 0.8874
Archetype stats: min=-15.7746, max=11.2056
Archetype change since last debug: 0.804899
Archetype gradients: norm=0.032177, mean=0.001783
Epoch 1/1
Average loss: 0.7882
Archetypal loss: 0.8691
KLD loss: 0.0602
Reconstruction loss: 0.8691
Archetype R²: 0.0749
Archetype transform grad norm: 0.270400
Archetype transform param norm: 7.4548
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.7882 (range: 0.7882 - 0.7882)
archetypal_loss: 0.8691 (range: 0.8691 - 0.8691)
kld_loss: 0.0602 (range: 0.0602 - 0.0602)
reconstruction_loss: 0.8691 (range: 0.8691 - 0.8691)
archetype_r2: 0.0749 (range: 0.0749 - 0.0749)
Archetype Transform Summary:
archetype_transform_mean: -0.001737 (range: -0.001737 - -0.001737)
archetype_transform_std: 0.104384 (range: 0.104384 - 0.104384)
archetype_transform_norm: 7.454788 (range: 7.454788 - 7.454788)
archetype_transform_grad_norm: 0.270400 (range: 0.270400 - 0.270400)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.1071, max=0.4624, mean=0.2500
Batch reconstruction MSE: 0.8516
Archetype stats: min=-16.2712, max=11.1623
Archetype change since last debug: 1.029674
Archetype gradients: norm=0.043996, mean=0.002171
Epoch 1/1
Average loss: 0.7877
Archetypal loss: 0.8682
KLD loss: 0.0626
Reconstruction loss: 0.8682
Archetype R²: 0.0759
Archetype transform grad norm: 0.271439
Archetype transform param norm: 7.4723
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.7877 (range: 0.7877 - 0.7877)
archetypal_loss: 0.8682 (range: 0.8682 - 0.8682)
kld_loss: 0.0626 (range: 0.0626 - 0.0626)
reconstruction_loss: 0.8682 (range: 0.8682 - 0.8682)
archetype_r2: 0.0759 (range: 0.0759 - 0.0759)
Archetype Transform Summary:
archetype_transform_mean: -0.001730 (range: -0.001730 - -0.001730)
archetype_transform_std: 0.104629 (range: 0.104629 - 0.104629)
archetype_transform_norm: 7.472285 (range: 7.472285 - 7.472285)
archetype_transform_grad_norm: 0.271439 (range: 0.271439 - 0.271439)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.1255, max=0.3894, mean=0.2500
Batch reconstruction MSE: 0.8961
Archetype stats: min=-16.2744, max=11.5183
Archetype change since last debug: 0.941118
Archetype gradients: norm=0.033563, mean=0.001711
Epoch 1/1
Average loss: 0.7879
Archetypal loss: 0.8691
KLD loss: 0.0570
Reconstruction loss: 0.8691
Archetype R²: 0.0748
Archetype transform grad norm: 0.273422
Archetype transform param norm: 7.4998
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.7879 (range: 0.7879 - 0.7879)
archetypal_loss: 0.8691 (range: 0.8691 - 0.8691)
kld_loss: 0.0570 (range: 0.0570 - 0.0570)
reconstruction_loss: 0.8691 (range: 0.8691 - 0.8691)
archetype_r2: 0.0748 (range: 0.0748 - 0.0748)
Archetype Transform Summary:
archetype_transform_mean: -0.001759 (range: -0.001759 - -0.001759)
archetype_transform_std: 0.105013 (range: 0.105013 - 0.105013)
archetype_transform_norm: 7.499760 (range: 7.499760 - 7.499760)
archetype_transform_grad_norm: 0.273422 (range: 0.273422 - 0.273422)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.1029, max=0.4808, mean=0.2500
Batch reconstruction MSE: 0.8633
Archetype stats: min=-16.6292, max=11.4176
Archetype change since last debug: 0.885074
Archetype gradients: norm=0.050196, mean=0.002659
Epoch 1/1
Average loss: 0.7878
Archetypal loss: 0.8684
KLD loss: 0.0621
Reconstruction loss: 0.8684
Archetype R²: 0.0756
Archetype transform grad norm: 0.273729
Archetype transform param norm: 7.5101
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.7878 (range: 0.7878 - 0.7878)
archetypal_loss: 0.8684 (range: 0.8684 - 0.8684)
kld_loss: 0.0621 (range: 0.0621 - 0.0621)
reconstruction_loss: 0.8684 (range: 0.8684 - 0.8684)
archetype_r2: 0.0756 (range: 0.0756 - 0.0756)
Archetype Transform Summary:
archetype_transform_mean: -0.001751 (range: -0.001751 - -0.001751)
archetype_transform_std: 0.105158 (range: 0.105158 - 0.105158)
archetype_transform_norm: 7.510084 (range: 7.510084 - 7.510084)
archetype_transform_grad_norm: 0.273729 (range: 0.273729 - 0.273729)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0892, max=0.4145, mean=0.2500
Batch reconstruction MSE: 0.9536
Archetype stats: min=-16.6590, max=11.7773
Archetype change since last debug: 0.868116
Archetype gradients: norm=0.042363, mean=0.002209
Epoch 1/1
Average loss: 0.7888
Archetypal loss: 0.8703
KLD loss: 0.0557
Reconstruction loss: 0.8703
Archetype R²: 0.0734
Archetype transform grad norm: 0.276402
Archetype transform param norm: 7.5255
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.7888 (range: 0.7888 - 0.7888)
archetypal_loss: 0.8703 (range: 0.8703 - 0.8703)
kld_loss: 0.0557 (range: 0.0557 - 0.0557)
reconstruction_loss: 0.8703 (range: 0.8703 - 0.8703)
archetype_r2: 0.0734 (range: 0.0734 - 0.0734)
Archetype Transform Summary:
archetype_transform_mean: -0.001761 (range: -0.001761 - -0.001761)
archetype_transform_std: 0.105374 (range: 0.105374 - 0.105374)
archetype_transform_norm: 7.525539 (range: 7.525539 - 7.525539)
archetype_transform_grad_norm: 0.276402 (range: 0.276402 - 0.276402)
Fold 3/3
Model input_dim: 50 (auto-detected from data)
Archetypes parameter registered: True
Archetypes requires_grad: True
Deep_AA (Deep Archetypal Analysis) initialized:
- Single-stage architecture (like Deep_2)
- Inflation factor: 1.5
- Direct archetypal coordinates (no bottleneck)
Consolidated Archetype Initialization
PCHA: True, Inflation: True (factor: 1.5)
Test inflation: False
Running PCHA initialization...
Input shape: (128, 50)
Target archetypes: 4
Running PCHA with 4 archetypes...
Data shape for PCHA: (50, 128)
PCHA Results:
Archetypes shape: (4, 50)
Archetype R²: 0.2243
SSE: 5192.3601
PCHA archetype R²: 0.2243
Archetype shape: (4, 50)
[OK] Initialized 4 archetypes using PCHA
Scalar Archetypal Inflation (factor: 1.50)
[OK] Inflation complete
[STATS] Positioning verification:
Data radius (max): 21.726
Data radius (mean): 6.606
Archetype distances: 4.250 to 27.434
Archetypes outside data: 1/4
Min archetype separation: 6.938
[OK] Archetype initialization complete (success: True)
[OK] Archetype initialization complete (PCHA: True, Inflation: 1.5)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0010, max=0.9541, mean=0.2500
Batch reconstruction MSE: 1.0397
Archetype stats: min=-1.7208, max=2.4105
Archetype gradients: norm=0.019708, mean=0.000945
Epoch 1/1
Average loss: 0.8962
Archetypal loss: 0.9919
KLD loss: 0.0346
Reconstruction loss: 0.9919
Archetype R²: -0.0194
Archetype transform grad norm: 0.257080
Archetype transform param norm: 5.8497
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.8962 (range: 0.8962 - 0.8962)
archetypal_loss: 0.9919 (range: 0.9919 - 0.9919)
kld_loss: 0.0346 (range: 0.0346 - 0.0346)
reconstruction_loss: 0.9919 (range: 0.9919 - 0.9919)
archetype_r2: -0.0194 (range: -0.0194 - -0.0194)
Archetype Transform Summary:
archetype_transform_mean: 0.000836 (range: 0.000836 - 0.000836)
archetype_transform_std: 0.081915 (range: 0.081915 - 0.081915)
archetype_transform_norm: 5.849692 (range: 5.849692 - 5.849692)
archetype_transform_grad_norm: 0.257080 (range: 0.257080 - 0.257080)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0000, max=0.9845, mean=0.2500
Batch reconstruction MSE: 0.8527
Archetype stats: min=-0.9381, max=1.0009
Archetype change since last debug: 5.966526
Archetype gradients: norm=0.006191, mean=0.000313
Epoch 1/1
Average loss: 0.8869
Archetypal loss: 0.9727
KLD loss: 0.1152
Reconstruction loss: 0.9727
Archetype R²: 0.0007
Archetype transform grad norm: 0.181962
Archetype transform param norm: 5.8586
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.8869 (range: 0.8869 - 0.8869)
archetypal_loss: 0.9727 (range: 0.9727 - 0.9727)
kld_loss: 0.1152 (range: 0.1152 - 0.1152)
reconstruction_loss: 0.9727 (range: 0.9727 - 0.9727)
archetype_r2: 0.0007 (range: 0.0007 - 0.0007)
Archetype Transform Summary:
archetype_transform_mean: 0.000880 (range: 0.000880 - 0.000880)
archetype_transform_std: 0.082040 (range: 0.082040 - 0.082040)
archetype_transform_norm: 5.858564 (range: 5.858564 - 5.858564)
archetype_transform_grad_norm: 0.181962 (range: 0.181962 - 0.181962)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0001, max=0.9896, mean=0.2500
Batch reconstruction MSE: 0.9070
Archetype stats: min=-1.7142, max=1.6784
Archetype change since last debug: 3.318576
Archetype gradients: norm=0.012060, mean=0.000469
Epoch 1/1
Average loss: 0.8744
Archetypal loss: 0.9623
KLD loss: 0.0834
Reconstruction loss: 0.9623
Archetype R²: 0.0112
Archetype transform grad norm: 0.198360
Archetype transform param norm: 5.9291
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.8744 (range: 0.8744 - 0.8744)
archetypal_loss: 0.9623 (range: 0.9623 - 0.9623)
kld_loss: 0.0834 (range: 0.0834 - 0.0834)
reconstruction_loss: 0.9623 (range: 0.9623 - 0.9623)
archetype_r2: 0.0112 (range: 0.0112 - 0.0112)
Archetype Transform Summary:
archetype_transform_mean: 0.000908 (range: 0.000908 - 0.000908)
archetype_transform_std: 0.083028 (range: 0.083028 - 0.083028)
archetype_transform_norm: 5.929128 (range: 5.929128 - 5.929128)
archetype_transform_grad_norm: 0.198360 (range: 0.198360 - 0.198360)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0032, max=0.9748, mean=0.2500
Batch reconstruction MSE: 0.9080
Archetype stats: min=-2.4690, max=2.4036
Archetype change since last debug: 3.755711
Archetype gradients: norm=0.015067, mean=0.000769
Epoch 1/1
Average loss: 0.8656
Archetypal loss: 0.9487
KLD loss: 0.1174
Reconstruction loss: 0.9487
Archetype R²: 0.0251
Archetype transform grad norm: 0.214194
Archetype transform param norm: 6.0894
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.8656 (range: 0.8656 - 0.8656)
archetypal_loss: 0.9487 (range: 0.9487 - 0.9487)
kld_loss: 0.1174 (range: 0.1174 - 0.1174)
reconstruction_loss: 0.9487 (range: 0.9487 - 0.9487)
archetype_r2: 0.0251 (range: 0.0251 - 0.0251)
Archetype Transform Summary:
archetype_transform_mean: 0.000976 (range: 0.000976 - 0.000976)
archetype_transform_std: 0.085272 (range: 0.085272 - 0.085272)
archetype_transform_norm: 6.089431 (range: 6.089431 - 6.089431)
archetype_transform_grad_norm: 0.214194 (range: 0.214194 - 0.214194)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0030, max=0.9902, mean=0.2500
Batch reconstruction MSE: 1.0907
Archetype stats: min=-3.3235, max=3.1317
Archetype change since last debug: 5.252716
Archetype gradients: norm=0.045392, mean=0.001435
Epoch 1/1
Average loss: 0.8588
Archetypal loss: 0.9392
KLD loss: 0.1351
Reconstruction loss: 0.9392
Archetype R²: 0.0345
Archetype transform grad norm: 0.252015
Archetype transform param norm: 6.3274
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.8588 (range: 0.8588 - 0.8588)
archetypal_loss: 0.9392 (range: 0.9392 - 0.9392)
kld_loss: 0.1351 (range: 0.1351 - 0.1351)
reconstruction_loss: 0.9392 (range: 0.9392 - 0.9392)
archetype_r2: 0.0345 (range: 0.0345 - 0.0345)
Archetype Transform Summary:
archetype_transform_mean: 0.000971 (range: 0.000971 - 0.000971)
archetype_transform_std: 0.088605 (range: 0.088605 - 0.088605)
archetype_transform_norm: 6.327434 (range: 6.327434 - 6.327434)
archetype_transform_grad_norm: 0.252015 (range: 0.252015 - 0.252015)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0025, max=0.9585, mean=0.2500
Batch reconstruction MSE: 1.1367
Archetype stats: min=-3.7173, max=3.7646
Archetype change since last debug: 5.655959
Archetype gradients: norm=0.085480, mean=0.004033
Epoch 1/1
Average loss: 0.8555
Archetypal loss: 0.9327
KLD loss: 0.1608
Reconstruction loss: 0.9327
Archetype R²: 0.0410
Archetype transform grad norm: 0.252122
Archetype transform param norm: 6.4808
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.8555 (range: 0.8555 - 0.8555)
archetypal_loss: 0.9327 (range: 0.9327 - 0.9327)
kld_loss: 0.1608 (range: 0.1608 - 0.1608)
reconstruction_loss: 0.9327 (range: 0.9327 - 0.9327)
archetype_r2: 0.0410 (range: 0.0410 - 0.0410)
Archetype Transform Summary:
archetype_transform_mean: 0.001012 (range: 0.001012 - 0.001012)
archetype_transform_std: 0.090752 (range: 0.090752 - 0.090752)
archetype_transform_norm: 6.480787 (range: 6.480787 - 6.480787)
archetype_transform_grad_norm: 0.252122 (range: 0.252122 - 0.252122)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0026, max=0.9780, mean=0.2500
Batch reconstruction MSE: 1.0154
Archetype stats: min=-4.4827, max=4.0868
Archetype change since last debug: 2.964996
Archetype gradients: norm=0.020383, mean=0.001099
Epoch 1/1
Average loss: 0.8450
Archetypal loss: 0.9248
KLD loss: 0.1269
Reconstruction loss: 0.9248
Archetype R²: 0.0496
Archetype transform grad norm: 0.254116
Archetype transform param norm: 6.6255
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.8450 (range: 0.8450 - 0.8450)
archetypal_loss: 0.9248 (range: 0.9248 - 0.9248)
kld_loss: 0.1269 (range: 0.1269 - 0.1269)
reconstruction_loss: 0.9248 (range: 0.9248 - 0.9248)
archetype_r2: 0.0496 (range: 0.0496 - 0.0496)
Archetype Transform Summary:
archetype_transform_mean: 0.001016 (range: 0.001016 - 0.001016)
archetype_transform_std: 0.092780 (range: 0.092780 - 0.092780)
archetype_transform_norm: 6.625544 (range: 6.625544 - 6.625544)
archetype_transform_grad_norm: 0.254116 (range: 0.254116 - 0.254116)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0027, max=0.9083, mean=0.2500
Batch reconstruction MSE: 1.0948
Archetype stats: min=-5.3728, max=4.4172
Archetype change since last debug: 3.635938
Archetype gradients: norm=0.120880, mean=0.005089
Epoch 1/1
Average loss: 0.8425
Archetypal loss: 0.9226
KLD loss: 0.1208
Reconstruction loss: 0.9226
Archetype R²: 0.0515
Archetype transform grad norm: 0.259475
Archetype transform param norm: 6.7011
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.8425 (range: 0.8425 - 0.8425)
archetypal_loss: 0.9226 (range: 0.9226 - 0.9226)
kld_loss: 0.1208 (range: 0.1208 - 0.1208)
reconstruction_loss: 0.9226 (range: 0.9226 - 0.9226)
archetype_r2: 0.0515 (range: 0.0515 - 0.0515)
Archetype Transform Summary:
archetype_transform_mean: 0.001005 (range: 0.001005 - 0.001005)
archetype_transform_std: 0.093838 (range: 0.093838 - 0.093838)
archetype_transform_norm: 6.701109 (range: 6.701109 - 6.701109)
archetype_transform_grad_norm: 0.259475 (range: 0.259475 - 0.259475)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0107, max=0.8242, mean=0.2500
Batch reconstruction MSE: 1.2504
Archetype stats: min=-6.2097, max=5.2013
Archetype change since last debug: 2.582376
Archetype gradients: norm=0.045985, mean=0.002604
Epoch 1/1
Average loss: 0.8447
Archetypal loss: 0.9236
KLD loss: 0.1350
Reconstruction loss: 0.9236
Archetype R²: 0.0500
Archetype transform grad norm: 0.283893
Archetype transform param norm: 6.7560
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.8447 (range: 0.8447 - 0.8447)
archetypal_loss: 0.9236 (range: 0.9236 - 0.9236)
kld_loss: 0.1350 (range: 0.1350 - 0.1350)
reconstruction_loss: 0.9236 (range: 0.9236 - 0.9236)
archetype_r2: 0.0500 (range: 0.0500 - 0.0500)
Archetype Transform Summary:
archetype_transform_mean: 0.001032 (range: 0.001032 - 0.001032)
archetype_transform_std: 0.094606 (range: 0.094606 - 0.094606)
archetype_transform_norm: 6.755951 (range: 6.755951 - 6.755951)
archetype_transform_grad_norm: 0.283893 (range: 0.283893 - 0.283893)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0124, max=0.7545, mean=0.2500
Batch reconstruction MSE: 1.1413
Archetype stats: min=-6.8719, max=5.8677
Archetype change since last debug: 2.268986
Archetype gradients: norm=0.101292, mean=0.004844
Epoch 1/1
Average loss: 0.8404
Archetypal loss: 0.9192
KLD loss: 0.1306
Reconstruction loss: 0.9192
Archetype R²: 0.0548
Archetype transform grad norm: 0.263303
Archetype transform param norm: 6.7871
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.8404 (range: 0.8404 - 0.8404)
archetypal_loss: 0.9192 (range: 0.9192 - 0.9192)
kld_loss: 0.1306 (range: 0.1306 - 0.1306)
reconstruction_loss: 0.9192 (range: 0.9192 - 0.9192)
archetype_r2: 0.0548 (range: 0.0548 - 0.0548)
Archetype Transform Summary:
archetype_transform_mean: 0.001034 (range: 0.001034 - 0.001034)
archetype_transform_std: 0.095042 (range: 0.095042 - 0.095042)
archetype_transform_norm: 6.787096 (range: 6.787096 - 6.787096)
archetype_transform_grad_norm: 0.263303 (range: 0.263303 - 0.263303)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0169, max=0.8994, mean=0.2500
Batch reconstruction MSE: 1.0655
Archetype stats: min=-7.4478, max=6.2459
Archetype change since last debug: 1.924947
Archetype gradients: norm=0.072135, mean=0.003546
Epoch 1/1
Average loss: 0.8356
Archetypal loss: 0.9158
KLD loss: 0.1141
Reconstruction loss: 0.9158
Archetype R²: 0.0586
Archetype transform grad norm: 0.266797
Archetype transform param norm: 6.8446
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.8356 (range: 0.8356 - 0.8356)
archetypal_loss: 0.9158 (range: 0.9158 - 0.9158)
kld_loss: 0.1141 (range: 0.1141 - 0.1141)
reconstruction_loss: 0.9158 (range: 0.9158 - 0.9158)
archetype_r2: 0.0586 (range: 0.0586 - 0.0586)
Archetype Transform Summary:
archetype_transform_mean: 0.000930 (range: 0.000930 - 0.000930)
archetype_transform_std: 0.095848 (range: 0.095848 - 0.095848)
archetype_transform_norm: 6.844554 (range: 6.844554 - 6.844554)
archetype_transform_grad_norm: 0.266797 (range: 0.266797 - 0.266797)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0334, max=0.7202, mean=0.2500
Batch reconstruction MSE: 0.9476
Archetype stats: min=-7.9618, max=6.5445
Archetype change since last debug: 1.919856
Archetype gradients: norm=0.045278, mean=0.001796
Epoch 1/1
Average loss: 0.8302
Archetypal loss: 0.9111
KLD loss: 0.1018
Reconstruction loss: 0.9111
Archetype R²: 0.0638
Archetype transform grad norm: 0.250918
Archetype transform param norm: 6.9209
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.8302 (range: 0.8302 - 0.8302)
archetypal_loss: 0.9111 (range: 0.9111 - 0.9111)
kld_loss: 0.1018 (range: 0.1018 - 0.1018)
reconstruction_loss: 0.9111 (range: 0.9111 - 0.9111)
archetype_r2: 0.0638 (range: 0.0638 - 0.0638)
Archetype Transform Summary:
archetype_transform_mean: 0.001002 (range: 0.001002 - 0.001002)
archetype_transform_std: 0.096917 (range: 0.096917 - 0.096917)
archetype_transform_norm: 6.920927 (range: 6.920927 - 6.920927)
archetype_transform_grad_norm: 0.250918 (range: 0.250918 - 0.250918)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0025, max=0.9608, mean=0.2500
Batch reconstruction MSE: 0.9398
Archetype stats: min=-8.6678, max=7.0156
Archetype change since last debug: 2.475007
Archetype gradients: norm=0.050143, mean=0.002836
Epoch 1/1
Average loss: 0.8302
Archetypal loss: 0.9104
KLD loss: 0.1088
Reconstruction loss: 0.9104
Archetype R²: 0.0645
Archetype transform grad norm: 0.270247
Archetype transform param norm: 6.9964
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.8302 (range: 0.8302 - 0.8302)
archetypal_loss: 0.9104 (range: 0.9104 - 0.9104)
kld_loss: 0.1088 (range: 0.1088 - 0.1088)
reconstruction_loss: 0.9104 (range: 0.9104 - 0.9104)
archetype_r2: 0.0645 (range: 0.0645 - 0.0645)
Archetype Transform Summary:
archetype_transform_mean: 0.000924 (range: 0.000924 - 0.000924)
archetype_transform_std: 0.097974 (range: 0.097974 - 0.097974)
archetype_transform_norm: 6.996372 (range: 6.996372 - 6.996372)
archetype_transform_grad_norm: 0.270247 (range: 0.270247 - 0.270247)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0253, max=0.7244, mean=0.2500
Batch reconstruction MSE: 1.1319
Archetype stats: min=-9.0703, max=7.1406
Archetype change since last debug: 2.055600
Archetype gradients: norm=0.101530, mean=0.004215
Epoch 1/1
Average loss: 0.8326
Archetypal loss: 0.9143
KLD loss: 0.0973
Reconstruction loss: 0.9143
Archetype R²: 0.0599
Archetype transform grad norm: 0.281124
Archetype transform param norm: 7.0168
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.8326 (range: 0.8326 - 0.8326)
archetypal_loss: 0.9143 (range: 0.9143 - 0.9143)
kld_loss: 0.0973 (range: 0.0973 - 0.0973)
reconstruction_loss: 0.9143 (range: 0.9143 - 0.9143)
archetype_r2: 0.0599 (range: 0.0599 - 0.0599)
Archetype Transform Summary:
archetype_transform_mean: 0.001005 (range: 0.001005 - 0.001005)
archetype_transform_std: 0.098259 (range: 0.098259 - 0.098259)
archetype_transform_norm: 7.016788 (range: 7.016788 - 7.016788)
archetype_transform_grad_norm: 0.281124 (range: 0.281124 - 0.281124)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0217, max=0.8986, mean=0.2500
Batch reconstruction MSE: 1.0789
Archetype stats: min=-9.1823, max=6.9593
Archetype change since last debug: 1.395262
Archetype gradients: norm=0.059425, mean=0.003486
Epoch 1/1
Average loss: 0.8309
Archetypal loss: 0.9120
KLD loss: 0.1004
Reconstruction loss: 0.9120
Archetype R²: 0.0624
Archetype transform grad norm: 0.280031
Archetype transform param norm: 7.0397
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.8309 (range: 0.8309 - 0.8309)
archetypal_loss: 0.9120 (range: 0.9120 - 0.9120)
kld_loss: 0.1004 (range: 0.1004 - 0.1004)
reconstruction_loss: 0.9120 (range: 0.9120 - 0.9120)
archetype_r2: 0.0624 (range: 0.0624 - 0.0624)
Archetype Transform Summary:
archetype_transform_mean: 0.000879 (range: 0.000879 - 0.000879)
archetype_transform_std: 0.098581 (range: 0.098581 - 0.098581)
archetype_transform_norm: 7.039676 (range: 7.039676 - 7.039676)
archetype_transform_grad_norm: 0.280031 (range: 0.280031 - 0.280031)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0177, max=0.7785, mean=0.2500
Batch reconstruction MSE: 0.9861
Archetype stats: min=-9.2054, max=6.7892
Archetype change since last debug: 1.212855
Archetype gradients: norm=0.077437, mean=0.003900
Epoch 1/1
Average loss: 0.8284
Archetypal loss: 0.9096
KLD loss: 0.0974
Reconstruction loss: 0.9096
Archetype R²: 0.0651
Archetype transform grad norm: 0.268085
Archetype transform param norm: 7.0685
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.8284 (range: 0.8284 - 0.8284)
archetypal_loss: 0.9096 (range: 0.9096 - 0.9096)
kld_loss: 0.0974 (range: 0.0974 - 0.0974)
reconstruction_loss: 0.9096 (range: 0.9096 - 0.9096)
archetype_r2: 0.0651 (range: 0.0651 - 0.0651)
Archetype Transform Summary:
archetype_transform_mean: 0.000953 (range: 0.000953 - 0.000953)
archetype_transform_std: 0.098983 (range: 0.098983 - 0.098983)
archetype_transform_norm: 7.068467 (range: 7.068467 - 7.068467)
archetype_transform_grad_norm: 0.268085 (range: 0.268085 - 0.268085)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0195, max=0.8296, mean=0.2500
Batch reconstruction MSE: 1.0556
Archetype stats: min=-9.7010, max=7.0087
Archetype change since last debug: 1.475070
Archetype gradients: norm=0.050426, mean=0.003102
Epoch 1/1
Average loss: 0.8297
Archetypal loss: 0.9113
KLD loss: 0.0958
Reconstruction loss: 0.9113
Archetype R²: 0.0632
Archetype transform grad norm: 0.295021
Archetype transform param norm: 7.1169
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.8297 (range: 0.8297 - 0.8297)
archetypal_loss: 0.9113 (range: 0.9113 - 0.9113)
kld_loss: 0.0958 (range: 0.0958 - 0.0958)
reconstruction_loss: 0.9113 (range: 0.9113 - 0.9113)
archetype_r2: 0.0632 (range: 0.0632 - 0.0632)
Archetype Transform Summary:
archetype_transform_mean: 0.000894 (range: 0.000894 - 0.000894)
archetype_transform_std: 0.099662 (range: 0.099662 - 0.099662)
archetype_transform_norm: 7.116902 (range: 7.116902 - 7.116902)
archetype_transform_grad_norm: 0.295021 (range: 0.295021 - 0.295021)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0185, max=0.6334, mean=0.2500
Batch reconstruction MSE: 1.1796
Archetype stats: min=-9.6543, max=6.8068
Archetype change since last debug: 1.297723
Archetype gradients: norm=0.189130, mean=0.008715
Epoch 1/1
Average loss: 0.8341
Archetypal loss: 0.9146
KLD loss: 0.1098
Reconstruction loss: 0.9146
Archetype R²: 0.0593
Archetype transform grad norm: 0.299404
Archetype transform param norm: 7.0732
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.8341 (range: 0.8341 - 0.8341)
archetypal_loss: 0.9146 (range: 0.9146 - 0.9146)
kld_loss: 0.1098 (range: 0.1098 - 0.1098)
reconstruction_loss: 0.9146 (range: 0.9146 - 0.9146)
archetype_r2: 0.0593 (range: 0.0593 - 0.0593)
Archetype Transform Summary:
archetype_transform_mean: 0.000924 (range: 0.000924 - 0.000924)
archetype_transform_std: 0.099050 (range: 0.099050 - 0.099050)
archetype_transform_norm: 7.073201 (range: 7.073201 - 7.073201)
archetype_transform_grad_norm: 0.299404 (range: 0.299404 - 0.299404)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0163, max=0.8784, mean=0.2500
Batch reconstruction MSE: 1.2725
Archetype stats: min=-9.7345, max=6.6470
Archetype change since last debug: 1.601034
Archetype gradients: norm=0.066847, mean=0.003631
Epoch 1/1
Average loss: 0.8348
Archetypal loss: 0.9157
KLD loss: 0.1060
Reconstruction loss: 0.9157
Archetype R²: 0.0579
Archetype transform grad norm: 0.314497
Archetype transform param norm: 7.0732
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.8348 (range: 0.8348 - 0.8348)
archetypal_loss: 0.9157 (range: 0.9157 - 0.9157)
kld_loss: 0.1060 (range: 0.1060 - 0.1060)
reconstruction_loss: 0.9157 (range: 0.9157 - 0.9157)
archetype_r2: 0.0579 (range: 0.0579 - 0.0579)
Archetype Transform Summary:
archetype_transform_mean: 0.000894 (range: 0.000894 - 0.000894)
archetype_transform_std: 0.099050 (range: 0.099050 - 0.099050)
archetype_transform_norm: 7.073161 (range: 7.073161 - 7.073161)
archetype_transform_grad_norm: 0.314497 (range: 0.314497 - 0.314497)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0165, max=0.7460, mean=0.2500
Batch reconstruction MSE: 1.0760
Archetype stats: min=-9.5116, max=6.3328
Archetype change since last debug: 1.683335
Archetype gradients: norm=0.070404, mean=0.003789
Epoch 1/1
Average loss: 0.8284
Archetypal loss: 0.9096
KLD loss: 0.0972
Reconstruction loss: 0.9096
Archetype R²: 0.0648
Archetype transform grad norm: 0.263790
Archetype transform param norm: 7.0700
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.8284 (range: 0.8284 - 0.8284)
archetypal_loss: 0.9096 (range: 0.9096 - 0.9096)
kld_loss: 0.0972 (range: 0.0972 - 0.0972)
reconstruction_loss: 0.9096 (range: 0.9096 - 0.9096)
archetype_r2: 0.0648 (range: 0.0648 - 0.0648)
Archetype Transform Summary:
archetype_transform_mean: 0.000924 (range: 0.000924 - 0.000924)
archetype_transform_std: 0.099006 (range: 0.099006 - 0.099006)
archetype_transform_norm: 7.070041 (range: 7.070041 - 7.070041)
archetype_transform_grad_norm: 0.263790 (range: 0.263790 - 0.263790)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0260, max=0.7772, mean=0.2500
Batch reconstruction MSE: 0.9407
Archetype stats: min=-9.8664, max=6.5309
Archetype change since last debug: 1.127296
Archetype gradients: norm=0.049323, mean=0.002235
Epoch 1/1
Average loss: 0.8248
Archetypal loss: 0.9060
KLD loss: 0.0935
Reconstruction loss: 0.9060
Archetype R²: 0.0688
Archetype transform grad norm: 0.257983
Archetype transform param norm: 7.1236
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.8248 (range: 0.8248 - 0.8248)
archetypal_loss: 0.9060 (range: 0.9060 - 0.9060)
kld_loss: 0.0935 (range: 0.0935 - 0.0935)
reconstruction_loss: 0.9060 (range: 0.9060 - 0.9060)
archetype_r2: 0.0688 (range: 0.0688 - 0.0688)
Archetype Transform Summary:
archetype_transform_mean: 0.000873 (range: 0.000873 - 0.000873)
archetype_transform_std: 0.099756 (range: 0.099756 - 0.099756)
archetype_transform_norm: 7.123601 (range: 7.123601 - 7.123601)
archetype_transform_grad_norm: 0.257983 (range: 0.257983 - 0.257983)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0228, max=0.7621, mean=0.2500
Batch reconstruction MSE: 0.9364
Archetype stats: min=-10.3625, max=6.7967
Archetype change since last debug: 1.585533
Archetype gradients: norm=0.061593, mean=0.002947
Epoch 1/1
Average loss: 0.8244
Archetypal loss: 0.9059
KLD loss: 0.0910
Reconstruction loss: 0.9059
Archetype R²: 0.0689
Archetype transform grad norm: 0.265398
Archetype transform param norm: 7.1723
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.8244 (range: 0.8244 - 0.8244)
archetypal_loss: 0.9059 (range: 0.9059 - 0.9059)
kld_loss: 0.0910 (range: 0.0910 - 0.0910)
reconstruction_loss: 0.9059 (range: 0.9059 - 0.9059)
archetype_r2: 0.0689 (range: 0.0689 - 0.0689)
Archetype Transform Summary:
archetype_transform_mean: 0.000951 (range: 0.000951 - 0.000951)
archetype_transform_std: 0.100438 (range: 0.100438 - 0.100438)
archetype_transform_norm: 7.172333 (range: 7.172333 - 7.172333)
archetype_transform_grad_norm: 0.265398 (range: 0.265398 - 0.265398)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0290, max=0.7074, mean=0.2500
Batch reconstruction MSE: 0.9981
Archetype stats: min=-10.7313, max=7.0876
Archetype change since last debug: 1.395672
Archetype gradients: norm=0.086531, mean=0.004192
Epoch 1/1
Average loss: 0.8251
Archetypal loss: 0.9073
KLD loss: 0.0857
Reconstruction loss: 0.9073
Archetype R²: 0.0673
Archetype transform grad norm: 0.279956
Archetype transform param norm: 7.1999
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.8251 (range: 0.8251 - 0.8251)
archetypal_loss: 0.9073 (range: 0.9073 - 0.9073)
kld_loss: 0.0857 (range: 0.0857 - 0.0857)
reconstruction_loss: 0.9073 (range: 0.9073 - 0.9073)
archetype_r2: 0.0673 (range: 0.0673 - 0.0673)
Archetype Transform Summary:
archetype_transform_mean: 0.000858 (range: 0.000858 - 0.000858)
archetype_transform_std: 0.100825 (range: 0.100825 - 0.100825)
archetype_transform_norm: 7.199888 (range: 7.199888 - 7.199888)
archetype_transform_grad_norm: 0.279956 (range: 0.279956 - 0.279956)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0246, max=0.7618, mean=0.2500
Batch reconstruction MSE: 0.8963
Archetype stats: min=-11.0736, max=7.2010
Archetype change since last debug: 1.035514
Archetype gradients: norm=0.056601, mean=0.003167
Epoch 1/1
Average loss: 0.8234
Archetypal loss: 0.9049
KLD loss: 0.0901
Reconstruction loss: 0.9049
Archetype R²: 0.0700
Archetype transform grad norm: 0.277890
Archetype transform param norm: 7.2391
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.8234 (range: 0.8234 - 0.8234)
archetypal_loss: 0.9049 (range: 0.9049 - 0.9049)
kld_loss: 0.0901 (range: 0.0901 - 0.0901)
reconstruction_loss: 0.9049 (range: 0.9049 - 0.9049)
archetype_r2: 0.0700 (range: 0.0700 - 0.0700)
Archetype Transform Summary:
archetype_transform_mean: 0.000946 (range: 0.000946 - 0.000946)
archetype_transform_std: 0.101373 (range: 0.101373 - 0.101373)
archetype_transform_norm: 7.239077 (range: 7.239077 - 7.239077)
archetype_transform_grad_norm: 0.277890 (range: 0.277890 - 0.277890)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0177, max=0.6805, mean=0.2500
Batch reconstruction MSE: 1.0262
Archetype stats: min=-11.3025, max=7.6938
Archetype change since last debug: 1.389791
Archetype gradients: norm=0.093325, mean=0.004714
Epoch 1/1
Average loss: 0.8254
Archetypal loss: 0.9081
KLD loss: 0.0812
Reconstruction loss: 0.9081
Archetype R²: 0.0663
Archetype transform grad norm: 0.298802
Archetype transform param norm: 7.2557
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.8254 (range: 0.8254 - 0.8254)
archetypal_loss: 0.9081 (range: 0.9081 - 0.9081)
kld_loss: 0.0812 (range: 0.0812 - 0.0812)
reconstruction_loss: 0.9081 (range: 0.9081 - 0.9081)
archetype_r2: 0.0663 (range: 0.0663 - 0.0663)
Archetype Transform Summary:
archetype_transform_mean: 0.000861 (range: 0.000861 - 0.000861)
archetype_transform_std: 0.101606 (range: 0.101606 - 0.101606)
archetype_transform_norm: 7.255698 (range: 7.255698 - 7.255698)
archetype_transform_grad_norm: 0.298802 (range: 0.298802 - 0.298802)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0251, max=0.8018, mean=0.2500
Batch reconstruction MSE: 0.9516
Archetype stats: min=-11.4148, max=7.8250
Archetype change since last debug: 0.890439
Archetype gradients: norm=0.071244, mean=0.003859
Epoch 1/1
Average loss: 0.8244
Archetypal loss: 0.9065
KLD loss: 0.0862
Reconstruction loss: 0.9065
Archetype R²: 0.0682
Archetype transform grad norm: 0.291684
Archetype transform param norm: 7.2727
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.8244 (range: 0.8244 - 0.8244)
archetypal_loss: 0.9065 (range: 0.9065 - 0.9065)
kld_loss: 0.0862 (range: 0.0862 - 0.0862)
reconstruction_loss: 0.9065 (range: 0.9065 - 0.9065)
archetype_r2: 0.0682 (range: 0.0682 - 0.0682)
Archetype Transform Summary:
archetype_transform_mean: 0.000923 (range: 0.000923 - 0.000923)
archetype_transform_std: 0.101843 (range: 0.101843 - 0.101843)
archetype_transform_norm: 7.272666 (range: 7.272666 - 7.272666)
archetype_transform_grad_norm: 0.291684 (range: 0.291684 - 0.291684)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0256, max=0.6783, mean=0.2500
Batch reconstruction MSE: 1.0191
Archetype stats: min=-11.4006, max=8.2610
Archetype change since last debug: 1.109211
Archetype gradients: norm=0.080494, mean=0.004156
Epoch 1/1
Average loss: 0.8249
Archetypal loss: 0.9076
KLD loss: 0.0800
Reconstruction loss: 0.9076
Archetype R²: 0.0668
Archetype transform grad norm: 0.300056
Archetype transform param norm: 7.2878
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.8249 (range: 0.8249 - 0.8249)
archetypal_loss: 0.9076 (range: 0.9076 - 0.9076)
kld_loss: 0.0800 (range: 0.0800 - 0.0800)
reconstruction_loss: 0.9076 (range: 0.9076 - 0.9076)
archetype_r2: 0.0668 (range: 0.0668 - 0.0668)
Archetype Transform Summary:
archetype_transform_mean: 0.000832 (range: 0.000832 - 0.000832)
archetype_transform_std: 0.102057 (range: 0.102057 - 0.102057)
archetype_transform_norm: 7.287826 (range: 7.287826 - 7.287826)
archetype_transform_grad_norm: 0.300056 (range: 0.300056 - 0.300056)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0273, max=0.8096, mean=0.2500
Batch reconstruction MSE: 0.9429
Archetype stats: min=-11.5731, max=8.3003
Archetype change since last debug: 0.801592
Archetype gradients: norm=0.045700, mean=0.002536
Epoch 1/1
Average loss: 0.8227
Archetypal loss: 0.9052
KLD loss: 0.0802
Reconstruction loss: 0.9052
Archetype R²: 0.0695
Archetype transform grad norm: 0.282679
Archetype transform param norm: 7.3070
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.8227 (range: 0.8227 - 0.8227)
archetypal_loss: 0.9052 (range: 0.9052 - 0.9052)
kld_loss: 0.0802 (range: 0.0802 - 0.0802)
reconstruction_loss: 0.9052 (range: 0.9052 - 0.9052)
archetype_r2: 0.0695 (range: 0.0695 - 0.0695)
Archetype Transform Summary:
archetype_transform_mean: 0.000886 (range: 0.000886 - 0.000886)
archetype_transform_std: 0.102324 (range: 0.102324 - 0.102324)
archetype_transform_norm: 7.306969 (range: 7.306969 - 7.306969)
archetype_transform_grad_norm: 0.282679 (range: 0.282679 - 0.282679)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0172, max=0.6795, mean=0.2500
Batch reconstruction MSE: 0.9310
Archetype stats: min=-11.5756, max=8.7754
Archetype change since last debug: 1.101917
Archetype gradients: norm=0.052884, mean=0.002629
Epoch 1/1
Average loss: 0.8229
Archetypal loss: 0.9049
KLD loss: 0.0845
Reconstruction loss: 0.9049
Archetype R²: 0.0698
Archetype transform grad norm: 0.290034
Archetype transform param norm: 7.3362
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.8229 (range: 0.8229 - 0.8229)
archetypal_loss: 0.9049 (range: 0.9049 - 0.9049)
kld_loss: 0.0845 (range: 0.0845 - 0.0845)
reconstruction_loss: 0.9049 (range: 0.9049 - 0.9049)
archetype_r2: 0.0698 (range: 0.0698 - 0.0698)
Archetype Transform Summary:
archetype_transform_mean: 0.000864 (range: 0.000864 - 0.000864)
archetype_transform_std: 0.102734 (range: 0.102734 - 0.102734)
archetype_transform_norm: 7.336243 (range: 7.336243 - 7.336243)
archetype_transform_grad_norm: 0.290034 (range: 0.290034 - 0.290034)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0332, max=0.7361, mean=0.2500
Batch reconstruction MSE: 1.0817
Archetype stats: min=-11.8324, max=9.0595
Archetype change since last debug: 0.994788
Archetype gradients: norm=0.048417, mean=0.002330
Epoch 1/1
Average loss: 0.8244
Archetypal loss: 0.9079
KLD loss: 0.0722
Reconstruction loss: 0.9079
Archetype R²: 0.0663
Archetype transform grad norm: 0.284407
Archetype transform param norm: 7.3364
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.8244 (range: 0.8244 - 0.8244)
archetypal_loss: 0.9079 (range: 0.9079 - 0.9079)
kld_loss: 0.0722 (range: 0.0722 - 0.0722)
reconstruction_loss: 0.9079 (range: 0.9079 - 0.9079)
archetype_r2: 0.0663 (range: 0.0663 - 0.0663)
Archetype Transform Summary:
archetype_transform_mean: 0.000860 (range: 0.000860 - 0.000860)
archetype_transform_std: 0.102736 (range: 0.102736 - 0.102736)
archetype_transform_norm: 7.336369 (range: 7.336369 - 7.336369)
archetype_transform_grad_norm: 0.284407 (range: 0.284407 - 0.284407)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0288, max=0.7519, mean=0.2500
Batch reconstruction MSE: 0.8875
Archetype stats: min=-11.3509, max=9.4057
Archetype change since last debug: 1.257982
Archetype gradients: norm=0.032488, mean=0.001579
Epoch 1/1
Average loss: 0.8228
Archetypal loss: 0.9035
KLD loss: 0.0965
Reconstruction loss: 0.9035
Archetype R²: 0.0714
Archetype transform grad norm: 0.274512
Archetype transform param norm: 7.3616
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.8228 (range: 0.8228 - 0.8228)
archetypal_loss: 0.9035 (range: 0.9035 - 0.9035)
kld_loss: 0.0965 (range: 0.0965 - 0.0965)
reconstruction_loss: 0.9035 (range: 0.9035 - 0.9035)
archetype_r2: 0.0714 (range: 0.0714 - 0.0714)
Archetype Transform Summary:
archetype_transform_mean: 0.000847 (range: 0.000847 - 0.000847)
archetype_transform_std: 0.103090 (range: 0.103090 - 0.103090)
archetype_transform_norm: 7.361629 (range: 7.361629 - 7.361629)
archetype_transform_grad_norm: 0.274512 (range: 0.274512 - 0.274512)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0291, max=0.7185, mean=0.2500
Batch reconstruction MSE: 1.3079
Archetype stats: min=-11.6733, max=9.7301
Archetype change since last debug: 1.076498
Archetype gradients: norm=0.088598, mean=0.004745
Epoch 1/1
Average loss: 0.8276
Archetypal loss: 0.9121
KLD loss: 0.0673
Reconstruction loss: 0.9121
Archetype R²: 0.0613
Archetype transform grad norm: 0.269494
Archetype transform param norm: 7.3096
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.8276 (range: 0.8276 - 0.8276)
archetypal_loss: 0.9121 (range: 0.9121 - 0.9121)
kld_loss: 0.0673 (range: 0.0673 - 0.0673)
reconstruction_loss: 0.9121 (range: 0.9121 - 0.9121)
archetype_r2: 0.0613 (range: 0.0613 - 0.0613)
Archetype Transform Summary:
archetype_transform_mean: 0.000836 (range: 0.000836 - 0.000836)
archetype_transform_std: 0.102362 (range: 0.102362 - 0.102362)
archetype_transform_norm: 7.309627 (range: 7.309627 - 7.309627)
archetype_transform_grad_norm: 0.269494 (range: 0.269494 - 0.269494)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0397, max=0.7520, mean=0.2500
Batch reconstruction MSE: 0.8872
Archetype stats: min=-11.2870, max=9.5103
Archetype change since last debug: 1.792874
Archetype gradients: norm=0.029688, mean=0.001578
Epoch 1/1
Average loss: 0.8226
Archetypal loss: 0.9031
KLD loss: 0.0979
Reconstruction loss: 0.9031
Archetype R²: 0.0718
Archetype transform grad norm: 0.265945
Archetype transform param norm: 7.3315
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.8226 (range: 0.8226 - 0.8226)
archetypal_loss: 0.9031 (range: 0.9031 - 0.9031)
kld_loss: 0.0979 (range: 0.0979 - 0.0979)
reconstruction_loss: 0.9031 (range: 0.9031 - 0.9031)
archetype_r2: 0.0718 (range: 0.0718 - 0.0718)
Archetype Transform Summary:
archetype_transform_mean: 0.000856 (range: 0.000856 - 0.000856)
archetype_transform_std: 0.102668 (range: 0.102668 - 0.102668)
archetype_transform_norm: 7.331493 (range: 7.331493 - 7.331493)
archetype_transform_grad_norm: 0.265945 (range: 0.265945 - 0.265945)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0264, max=0.7109, mean=0.2500
Batch reconstruction MSE: 1.0691
Archetype stats: min=-11.5305, max=9.8946
Archetype change since last debug: 1.246531
Archetype gradients: norm=0.079904, mean=0.003697
Epoch 1/1
Average loss: 0.8236
Archetypal loss: 0.9070
KLD loss: 0.0727
Reconstruction loss: 0.9070
Archetype R²: 0.0672
Archetype transform grad norm: 0.284418
Archetype transform param norm: 7.3364
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.8236 (range: 0.8236 - 0.8236)
archetypal_loss: 0.9070 (range: 0.9070 - 0.9070)
kld_loss: 0.0727 (range: 0.0727 - 0.0727)
reconstruction_loss: 0.9070 (range: 0.9070 - 0.9070)
archetype_r2: 0.0672 (range: 0.0672 - 0.0672)
Archetype Transform Summary:
archetype_transform_mean: 0.000796 (range: 0.000796 - 0.000796)
archetype_transform_std: 0.102736 (range: 0.102736 - 0.102736)
archetype_transform_norm: 7.336350 (range: 7.336350 - 7.336350)
archetype_transform_grad_norm: 0.284418 (range: 0.284418 - 0.284418)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0269, max=0.7939, mean=0.2500
Batch reconstruction MSE: 0.8440
Archetype stats: min=-11.6362, max=9.8577
Archetype change since last debug: 0.747812
Archetype gradients: norm=0.027402, mean=0.001131
Epoch 1/1
Average loss: 0.8203
Archetypal loss: 0.9017
KLD loss: 0.0875
Reconstruction loss: 0.9017
Archetype R²: 0.0733
Archetype transform grad norm: 0.265715
Archetype transform param norm: 7.3714
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.8203 (range: 0.8203 - 0.8203)
archetypal_loss: 0.9017 (range: 0.9017 - 0.9017)
kld_loss: 0.0875 (range: 0.0875 - 0.0875)
reconstruction_loss: 0.9017 (range: 0.9017 - 0.9017)
archetype_r2: 0.0733 (range: 0.0733 - 0.0733)
Archetype Transform Summary:
archetype_transform_mean: 0.000845 (range: 0.000845 - 0.000845)
archetype_transform_std: 0.103227 (range: 0.103227 - 0.103227)
archetype_transform_norm: 7.371380 (range: 7.371380 - 7.371380)
archetype_transform_grad_norm: 0.265715 (range: 0.265715 - 0.265715)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0221, max=0.7180, mean=0.2500
Batch reconstruction MSE: 0.9709
Archetype stats: min=-12.0304, max=10.3240
Archetype change since last debug: 1.448766
Archetype gradients: norm=0.040197, mean=0.002309
Epoch 1/1
Average loss: 0.8209
Archetypal loss: 0.9045
KLD loss: 0.0687
Reconstruction loss: 0.9045
Archetype R²: 0.0701
Archetype transform grad norm: 0.278598
Archetype transform param norm: 7.3964
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.8209 (range: 0.8209 - 0.8209)
archetypal_loss: 0.9045 (range: 0.9045 - 0.9045)
kld_loss: 0.0687 (range: 0.0687 - 0.0687)
reconstruction_loss: 0.9045 (range: 0.9045 - 0.9045)
archetype_r2: 0.0701 (range: 0.0701 - 0.0701)
Archetype Transform Summary:
archetype_transform_mean: 0.000803 (range: 0.000803 - 0.000803)
archetype_transform_std: 0.103578 (range: 0.103578 - 0.103578)
archetype_transform_norm: 7.396412 (range: 7.396412 - 7.396412)
archetype_transform_grad_norm: 0.278598 (range: 0.278598 - 0.278598)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0340, max=0.7753, mean=0.2500
Batch reconstruction MSE: 0.8330
Archetype stats: min=-12.1381, max=10.4170
Archetype change since last debug: 0.613187
Archetype gradients: norm=0.057240, mean=0.002426
Epoch 1/1
Average loss: 0.8200
Archetypal loss: 0.9016
KLD loss: 0.0858
Reconstruction loss: 0.9016
Archetype R²: 0.0734
Archetype transform grad norm: 0.278036
Archetype transform param norm: 7.4262
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.8200 (range: 0.8200 - 0.8200)
archetypal_loss: 0.9016 (range: 0.9016 - 0.9016)
kld_loss: 0.0858 (range: 0.0858 - 0.0858)
reconstruction_loss: 0.9016 (range: 0.9016 - 0.9016)
archetype_r2: 0.0734 (range: 0.0734 - 0.0734)
Archetype Transform Summary:
archetype_transform_mean: 0.000864 (range: 0.000864 - 0.000864)
archetype_transform_std: 0.103994 (range: 0.103994 - 0.103994)
archetype_transform_norm: 7.426163 (range: 7.426163 - 7.426163)
archetype_transform_grad_norm: 0.278036 (range: 0.278036 - 0.278036)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0265, max=0.7372, mean=0.2500
Batch reconstruction MSE: 1.1011
Archetype stats: min=-12.5489, max=10.9019
Archetype change since last debug: 1.378818
Archetype gradients: norm=0.076231, mean=0.004531
Epoch 1/1
Average loss: 0.8235
Archetypal loss: 0.9073
KLD loss: 0.0691
Reconstruction loss: 0.9073
Archetype R²: 0.0667
Archetype transform grad norm: 0.294623
Archetype transform param norm: 7.4256
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.8235 (range: 0.8235 - 0.8235)
archetypal_loss: 0.9073 (range: 0.9073 - 0.9073)
kld_loss: 0.0691 (range: 0.0691 - 0.0691)
reconstruction_loss: 0.9073 (range: 0.9073 - 0.9073)
archetype_r2: 0.0667 (range: 0.0667 - 0.0667)
Archetype Transform Summary:
archetype_transform_mean: 0.000735 (range: 0.000735 - 0.000735)
archetype_transform_std: 0.103987 (range: 0.103987 - 0.103987)
archetype_transform_norm: 7.425643 (range: 7.425643 - 7.425643)
archetype_transform_grad_norm: 0.294623 (range: 0.294623 - 0.294623)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0420, max=0.7306, mean=0.2500
Batch reconstruction MSE: 0.8764
Archetype stats: min=-12.2447, max=10.6953
Archetype change since last debug: 1.072162
Archetype gradients: norm=0.033296, mean=0.001624
Epoch 1/1
Average loss: 0.8196
Archetypal loss: 0.9018
KLD loss: 0.0793
Reconstruction loss: 0.9018
Archetype R²: 0.0730
Archetype transform grad norm: 0.266884
Archetype transform param norm: 7.4407
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.8196 (range: 0.8196 - 0.8196)
archetypal_loss: 0.9018 (range: 0.9018 - 0.9018)
kld_loss: 0.0793 (range: 0.0793 - 0.0793)
reconstruction_loss: 0.9018 (range: 0.9018 - 0.9018)
archetype_r2: 0.0730 (range: 0.0730 - 0.0730)
Archetype Transform Summary:
archetype_transform_mean: 0.000817 (range: 0.000817 - 0.000817)
archetype_transform_std: 0.104198 (range: 0.104198 - 0.104198)
archetype_transform_norm: 7.440715 (range: 7.440715 - 7.440715)
archetype_transform_grad_norm: 0.266884 (range: 0.266884 - 0.266884)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0347, max=0.7094, mean=0.2500
Batch reconstruction MSE: 0.9451
Archetype stats: min=-12.6600, max=11.1873
Archetype change since last debug: 1.297557
Archetype gradients: norm=0.031582, mean=0.001953
Epoch 1/1
Average loss: 0.8197
Archetypal loss: 0.9033
KLD loss: 0.0669
Reconstruction loss: 0.9033
Archetype R²: 0.0713
Archetype transform grad norm: 0.278678
Archetype transform param norm: 7.4663
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.8197 (range: 0.8197 - 0.8197)
archetypal_loss: 0.9033 (range: 0.9033 - 0.9033)
kld_loss: 0.0669 (range: 0.0669 - 0.0669)
reconstruction_loss: 0.9033 (range: 0.9033 - 0.9033)
archetype_r2: 0.0713 (range: 0.0713 - 0.0713)
Archetype Transform Summary:
archetype_transform_mean: 0.000781 (range: 0.000781 - 0.000781)
archetype_transform_std: 0.104557 (range: 0.104557 - 0.104557)
archetype_transform_norm: 7.466326 (range: 7.466326 - 7.466326)
archetype_transform_grad_norm: 0.278678 (range: 0.278678 - 0.278678)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0397, max=0.7437, mean=0.2500
Batch reconstruction MSE: 0.8543
Archetype stats: min=-12.7021, max=11.2629
Archetype change since last debug: 0.714576
Archetype gradients: norm=0.072584, mean=0.002932
Epoch 1/1
Average loss: 0.8194
Archetypal loss: 0.9017
KLD loss: 0.0792
Reconstruction loss: 0.9017
Archetype R²: 0.0732
Archetype transform grad norm: 0.283265
Archetype transform param norm: 7.4846
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.8194 (range: 0.8194 - 0.8194)
archetypal_loss: 0.9017 (range: 0.9017 - 0.9017)
kld_loss: 0.0792 (range: 0.0792 - 0.0792)
reconstruction_loss: 0.9017 (range: 0.9017 - 0.9017)
archetype_r2: 0.0732 (range: 0.0732 - 0.0732)
Archetype Transform Summary:
archetype_transform_mean: 0.000844 (range: 0.000844 - 0.000844)
archetype_transform_std: 0.104812 (range: 0.104812 - 0.104812)
archetype_transform_norm: 7.484579 (range: 7.484579 - 7.484579)
archetype_transform_grad_norm: 0.283265 (range: 0.283265 - 0.283265)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0353, max=0.7133, mean=0.2500
Batch reconstruction MSE: 1.0787
Archetype stats: min=-13.0174, max=11.7056
Archetype change since last debug: 1.188300
Archetype gradients: norm=0.075073, mean=0.004478
Epoch 1/1
Average loss: 0.8229
Archetypal loss: 0.9067
KLD loss: 0.0693
Reconstruction loss: 0.9067
Archetype R²: 0.0674
Archetype transform grad norm: 0.307652
Archetype transform param norm: 7.4852
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.8229 (range: 0.8229 - 0.8229)
archetypal_loss: 0.9067 (range: 0.9067 - 0.9067)
kld_loss: 0.0693 (range: 0.0693 - 0.0693)
reconstruction_loss: 0.9067 (range: 0.9067 - 0.9067)
archetype_r2: 0.0674 (range: 0.0674 - 0.0674)
Archetype Transform Summary:
archetype_transform_mean: 0.000691 (range: 0.000691 - 0.000691)
archetype_transform_std: 0.104821 (range: 0.104821 - 0.104821)
archetype_transform_norm: 7.485169 (range: 7.485169 - 7.485169)
archetype_transform_grad_norm: 0.307652 (range: 0.307652 - 0.307652)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0423, max=0.7376, mean=0.2500
Batch reconstruction MSE: 0.9437
Archetype stats: min=-12.8432, max=11.3028
Archetype change since last debug: 1.108042
Archetype gradients: norm=0.067105, mean=0.003570
Epoch 1/1
Average loss: 0.8205
Archetypal loss: 0.9034
KLD loss: 0.0741
Reconstruction loss: 0.9034
Archetype R²: 0.0711
Archetype transform grad norm: 0.285699
Archetype transform param norm: 7.4717
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.8205 (range: 0.8205 - 0.8205)
archetypal_loss: 0.9034 (range: 0.9034 - 0.9034)
kld_loss: 0.0741 (range: 0.0741 - 0.0741)
reconstruction_loss: 0.9034 (range: 0.9034 - 0.9034)
archetype_r2: 0.0711 (range: 0.0711 - 0.0711)
Archetype Transform Summary:
archetype_transform_mean: 0.000782 (range: 0.000782 - 0.000782)
archetype_transform_std: 0.104631 (range: 0.104631 - 0.104631)
archetype_transform_norm: 7.471652 (range: 7.471652 - 7.471652)
archetype_transform_grad_norm: 0.285699 (range: 0.285699 - 0.285699)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0419, max=0.7488, mean=0.2500
Batch reconstruction MSE: 1.0424
Archetype stats: min=-13.0823, max=11.7080
Archetype change since last debug: 1.182344
Archetype gradients: norm=0.060635, mean=0.003187
Epoch 1/1
Average loss: 0.8238
Archetypal loss: 0.9069
KLD loss: 0.0766
Reconstruction loss: 0.9069
Archetype R²: 0.0673
Archetype transform grad norm: 0.332345
Archetype transform param norm: 7.4867
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.8238 (range: 0.8238 - 0.8238)
archetypal_loss: 0.9069 (range: 0.9069 - 0.9069)
kld_loss: 0.0766 (range: 0.0766 - 0.0766)
reconstruction_loss: 0.9069 (range: 0.9069 - 0.9069)
archetype_r2: 0.0673 (range: 0.0673 - 0.0673)
Archetype Transform Summary:
archetype_transform_mean: 0.000693 (range: 0.000693 - 0.000693)
archetype_transform_std: 0.104842 (range: 0.104842 - 0.104842)
archetype_transform_norm: 7.486655 (range: 7.486655 - 7.486655)
archetype_transform_grad_norm: 0.332345 (range: 0.332345 - 0.332345)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0374, max=0.7250, mean=0.2500
Batch reconstruction MSE: 1.2719
Archetype stats: min=-13.1932, max=11.0267
Archetype change since last debug: 1.641154
Archetype gradients: norm=0.147925, mean=0.008137
Epoch 1/1
Average loss: 0.8288
Archetypal loss: 0.9115
KLD loss: 0.0848
Reconstruction loss: 0.9115
Archetype R²: 0.0618
Archetype transform grad norm: 0.310043
Archetype transform param norm: 7.3919
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.8288 (range: 0.8288 - 0.8288)
archetypal_loss: 0.9115 (range: 0.9115 - 0.9115)
kld_loss: 0.0848 (range: 0.0848 - 0.0848)
reconstruction_loss: 0.9115 (range: 0.9115 - 0.9115)
archetype_r2: 0.0618 (range: 0.0618 - 0.0618)
Archetype Transform Summary:
archetype_transform_mean: 0.000724 (range: 0.000724 - 0.000724)
archetype_transform_std: 0.103515 (range: 0.103515 - 0.103515)
archetype_transform_norm: 7.391915 (range: 7.391915 - 7.391915)
archetype_transform_grad_norm: 0.310043 (range: 0.310043 - 0.310043)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0385, max=0.7348, mean=0.2500
Batch reconstruction MSE: 0.9773
Archetype stats: min=-12.8787, max=10.8447
Archetype change since last debug: 2.269162
Archetype gradients: norm=0.019600, mean=0.001205
Epoch 1/1
Average loss: 0.8207
Archetypal loss: 0.9038
KLD loss: 0.0731
Reconstruction loss: 0.9038
Archetype R²: 0.0706
Archetype transform grad norm: 0.268072
Archetype transform param norm: 7.4156
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.8207 (range: 0.8207 - 0.8207)
archetypal_loss: 0.9038 (range: 0.9038 - 0.9038)
kld_loss: 0.0731 (range: 0.0731 - 0.0731)
reconstruction_loss: 0.9038 (range: 0.9038 - 0.9038)
archetype_r2: 0.0706 (range: 0.0706 - 0.0706)
Archetype Transform Summary:
archetype_transform_mean: 0.000691 (range: 0.000691 - 0.000691)
archetype_transform_std: 0.103847 (range: 0.103847 - 0.103847)
archetype_transform_norm: 7.415576 (range: 7.415576 - 7.415576)
archetype_transform_grad_norm: 0.268072 (range: 0.268072 - 0.268072)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0349, max=0.7521, mean=0.2500
Batch reconstruction MSE: 0.9737
Archetype stats: min=-12.9168, max=10.6920
Archetype change since last debug: 1.127445
Archetype gradients: norm=0.100923, mean=0.004477
Epoch 1/1
Average loss: 0.8209
Archetypal loss: 0.9039
KLD loss: 0.0742
Reconstruction loss: 0.9039
Archetype R²: 0.0705
Archetype transform grad norm: 0.272740
Archetype transform param norm: 7.4143
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.8209 (range: 0.8209 - 0.8209)
archetypal_loss: 0.9039 (range: 0.9039 - 0.9039)
kld_loss: 0.0742 (range: 0.0742 - 0.0742)
reconstruction_loss: 0.9039 (range: 0.9039 - 0.9039)
archetype_r2: 0.0705 (range: 0.0705 - 0.0705)
Archetype Transform Summary:
archetype_transform_mean: 0.000697 (range: 0.000697 - 0.000697)
archetype_transform_std: 0.103828 (range: 0.103828 - 0.103828)
archetype_transform_norm: 7.414267 (range: 7.414267 - 7.414267)
archetype_transform_grad_norm: 0.272740 (range: 0.272740 - 0.272740)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0462, max=0.7727, mean=0.2500
Batch reconstruction MSE: 0.8989
Archetype stats: min=-13.0149, max=11.0243
Archetype change since last debug: 0.854964
Archetype gradients: norm=0.050152, mean=0.002432
Epoch 1/1
Average loss: 0.8192
Archetypal loss: 0.9019
KLD loss: 0.0751
Reconstruction loss: 0.9019
Archetype R²: 0.0728
Archetype transform grad norm: 0.275084
Archetype transform param norm: 7.4593
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.8192 (range: 0.8192 - 0.8192)
archetypal_loss: 0.9019 (range: 0.9019 - 0.9019)
kld_loss: 0.0751 (range: 0.0751 - 0.0751)
reconstruction_loss: 0.9019 (range: 0.9019 - 0.9019)
archetype_r2: 0.0728 (range: 0.0728 - 0.0728)
Archetype Transform Summary:
archetype_transform_mean: 0.000719 (range: 0.000719 - 0.000719)
archetype_transform_std: 0.104459 (range: 0.104459 - 0.104459)
archetype_transform_norm: 7.459276 (range: 7.459276 - 7.459276)
archetype_transform_grad_norm: 0.275084 (range: 0.275084 - 0.275084)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0439, max=0.7379, mean=0.2500
Batch reconstruction MSE: 0.9140
Archetype stats: min=-13.0929, max=11.1430
Archetype change since last debug: 1.066632
Archetype gradients: norm=0.114279, mean=0.004829
Epoch 1/1
Average loss: 0.8193
Archetypal loss: 0.9025
KLD loss: 0.0705
Reconstruction loss: 0.9025
Archetype R²: 0.0721
Archetype transform grad norm: 0.280735
Archetype transform param norm: 7.4556
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.8193 (range: 0.8193 - 0.8193)
archetypal_loss: 0.9025 (range: 0.9025 - 0.9025)
kld_loss: 0.0705 (range: 0.0705 - 0.0705)
reconstruction_loss: 0.9025 (range: 0.9025 - 0.9025)
archetype_r2: 0.0721 (range: 0.0721 - 0.0721)
Archetype Transform Summary:
archetype_transform_mean: 0.000726 (range: 0.000726 - 0.000726)
archetype_transform_std: 0.104407 (range: 0.104407 - 0.104407)
archetype_transform_norm: 7.455619 (range: 7.455619 - 7.455619)
archetype_transform_grad_norm: 0.280735 (range: 0.280735 - 0.280735)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0486, max=0.7729, mean=0.2500
Batch reconstruction MSE: 0.9463
Archetype stats: min=-13.3513, max=11.5860
Archetype change since last debug: 1.174066
Archetype gradients: norm=0.077735, mean=0.003914
Epoch 1/1
Average loss: 0.8208
Archetypal loss: 0.9036
KLD loss: 0.0756
Reconstruction loss: 0.9036
Archetype R²: 0.0708
Archetype transform grad norm: 0.297879
Archetype transform param norm: 7.4879
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.8208 (range: 0.8208 - 0.8208)
archetypal_loss: 0.9036 (range: 0.9036 - 0.9036)
kld_loss: 0.0756 (range: 0.0756 - 0.0756)
reconstruction_loss: 0.9036 (range: 0.9036 - 0.9036)
archetype_r2: 0.0708 (range: 0.0708 - 0.0708)
Archetype Transform Summary:
archetype_transform_mean: 0.000754 (range: 0.000754 - 0.000754)
archetype_transform_std: 0.104859 (range: 0.104859 - 0.104859)
archetype_transform_norm: 7.487905 (range: 7.487905 - 7.487905)
archetype_transform_grad_norm: 0.297879 (range: 0.297879 - 0.297879)
[OK] Completed in 70.8s
[STATS] Mean archetype R²: 0.0749
[STATS] Mean validation R²: 0.0749
đź§Ş Configuration 9/20: {'n_archetypes': 5, 'hidden_dims': [128, 64], 'inflation_factor': 1.5, 'use_pcha_init': True, 'use_inflation': True}
Fold 1/3
Model input_dim: 50 (auto-detected from data)
Archetypes parameter registered: True
Archetypes requires_grad: True
Deep_AA (Deep Archetypal Analysis) initialized:
- Single-stage architecture (like Deep_2)
- Inflation factor: 1.5
- Direct archetypal coordinates (no bottleneck)
Consolidated Archetype Initialization
PCHA: True, Inflation: True (factor: 1.5)
Test inflation: False
Running PCHA initialization...
Input shape: (128, 50)
Target archetypes: 5
Running PCHA with 5 archetypes...
Data shape for PCHA: (50, 128)
PCHA Results:
Archetypes shape: (5, 50)
Archetype R²: 0.2387
SSE: 4365.5922
PCHA archetype R²: 0.2387
Archetype shape: (5, 50)
[OK] Initialized 5 archetypes using PCHA
Scalar Archetypal Inflation (factor: 1.50)
[OK] Inflation complete
[STATS] Positioning verification:
Data radius (max): 14.026
Data radius (mean): 6.169
Archetype distances: 3.566 to 13.187
Archetypes outside data: 0/5
Min archetype separation: 10.813
[OK] Archetype initialization complete (success: True)
[OK] Archetype initialization complete (PCHA: True, Inflation: 1.5)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0020, max=0.8956, mean=0.2000
Batch reconstruction MSE: 1.1245
Archetype stats: min=-1.3047, max=1.4736
Archetype gradients: norm=0.010095, mean=0.000512
Epoch 1/1
Average loss: 0.8691
Archetypal loss: 0.9621
KLD loss: 0.0321
Reconstruction loss: 0.9621
Archetype R²: -0.0102
Archetype transform grad norm: 0.141602
Archetype transform param norm: 5.7871
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.8691 (range: 0.8691 - 0.8691)
archetypal_loss: 0.9621 (range: 0.9621 - 0.9621)
kld_loss: 0.0321 (range: 0.0321 - 0.0321)
reconstruction_loss: 0.9621 (range: 0.9621 - 0.9621)
archetype_r2: -0.0102 (range: -0.0102 - -0.0102)
Archetype Transform Summary:
archetype_transform_mean: -0.000405 (range: -0.000405 - -0.000405)
archetype_transform_std: 0.081042 (range: 0.081042 - 0.081042)
archetype_transform_norm: 5.787066 (range: 5.787066 - 5.787066)
archetype_transform_grad_norm: 0.141602 (range: 0.141602 - 0.141602)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0027, max=0.8946, mean=0.2000
Batch reconstruction MSE: 1.0543
Archetype stats: min=-1.0141, max=1.4113
Archetype change since last debug: 4.357999
Archetype gradients: norm=0.003746, mean=0.000190
Epoch 1/1
Average loss: 0.8567
Archetypal loss: 0.9445
KLD loss: 0.0661
Reconstruction loss: 0.9445
Archetype R²: 0.0080
Archetype transform grad norm: 0.125721
Archetype transform param norm: 5.8437
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.8567 (range: 0.8567 - 0.8567)
archetypal_loss: 0.9445 (range: 0.9445 - 0.9445)
kld_loss: 0.0661 (range: 0.0661 - 0.0661)
reconstruction_loss: 0.9445 (range: 0.9445 - 0.9445)
archetype_r2: 0.0080 (range: 0.0080 - 0.0080)
Archetype Transform Summary:
archetype_transform_mean: -0.000468 (range: -0.000468 - -0.000468)
archetype_transform_std: 0.081834 (range: 0.081834 - 0.081834)
archetype_transform_norm: 5.843664 (range: 5.843664 - 5.843664)
archetype_transform_grad_norm: 0.125721 (range: 0.125721 - 0.125721)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0021, max=0.8931, mean=0.2000
Batch reconstruction MSE: 1.0729
Archetype stats: min=-2.0477, max=2.8313
Archetype change since last debug: 5.639493
Archetype gradients: norm=0.006043, mean=0.000283
Epoch 1/1
Average loss: 0.8416
Archetypal loss: 0.9222
KLD loss: 0.1168
Reconstruction loss: 0.9222
Archetype R²: 0.0316
Archetype transform grad norm: 0.157577
Archetype transform param norm: 6.0551
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.8416 (range: 0.8416 - 0.8416)
archetypal_loss: 0.9222 (range: 0.9222 - 0.9222)
kld_loss: 0.1168 (range: 0.1168 - 0.1168)
reconstruction_loss: 0.9222 (range: 0.9222 - 0.9222)
archetype_r2: 0.0316 (range: 0.0316 - 0.0316)
Archetype Transform Summary:
archetype_transform_mean: -0.000188 (range: -0.000188 - -0.000188)
archetype_transform_std: 0.084796 (range: 0.084796 - 0.084796)
archetype_transform_norm: 6.055091 (range: 6.055091 - 6.055091)
archetype_transform_grad_norm: 0.157577 (range: 0.157577 - 0.157577)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0018, max=0.8413, mean=0.2000
Batch reconstruction MSE: 1.1415
Archetype stats: min=-3.2037, max=4.4922
Archetype change since last debug: 8.866944
Archetype gradients: norm=0.013192, mean=0.000645
Epoch 1/1
Average loss: 0.8283
Archetypal loss: 0.9064
KLD loss: 0.1253
Reconstruction loss: 0.9064
Archetype R²: 0.0484
Archetype transform grad norm: 0.181959
Archetype transform param norm: 6.3310
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.8283 (range: 0.8283 - 0.8283)
archetypal_loss: 0.9064 (range: 0.9064 - 0.9064)
kld_loss: 0.1253 (range: 0.1253 - 0.1253)
reconstruction_loss: 0.9064 (range: 0.9064 - 0.9064)
archetype_r2: 0.0484 (range: 0.0484 - 0.0484)
Archetype Transform Summary:
archetype_transform_mean: 0.000110 (range: 0.000110 - 0.000110)
archetype_transform_std: 0.088660 (range: 0.088660 - 0.088660)
archetype_transform_norm: 6.330960 (range: 6.330960 - 6.330960)
archetype_transform_grad_norm: 0.181959 (range: 0.181959 - 0.181959)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0014, max=0.9012, mean=0.2000
Batch reconstruction MSE: 1.1567
Archetype stats: min=-4.0573, max=5.3369
Archetype change since last debug: 7.835234
Archetype gradients: norm=0.018864, mean=0.000879
Epoch 1/1
Average loss: 0.8190
Archetypal loss: 0.8965
KLD loss: 0.1218
Reconstruction loss: 0.8965
Archetype R²: 0.0588
Archetype transform grad norm: 0.199123
Archetype transform param norm: 6.5919
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.8190 (range: 0.8190 - 0.8190)
archetypal_loss: 0.8965 (range: 0.8965 - 0.8965)
kld_loss: 0.1218 (range: 0.1218 - 0.1218)
reconstruction_loss: 0.8965 (range: 0.8965 - 0.8965)
archetype_r2: 0.0588 (range: 0.0588 - 0.0588)
Archetype Transform Summary:
archetype_transform_mean: 0.000109 (range: 0.000109 - 0.000109)
archetype_transform_std: 0.092314 (range: 0.092314 - 0.092314)
archetype_transform_norm: 6.591904 (range: 6.591904 - 6.591904)
archetype_transform_grad_norm: 0.199123 (range: 0.199123 - 0.199123)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0009, max=0.9300, mean=0.2000
Batch reconstruction MSE: 1.1532
Archetype stats: min=-5.1999, max=6.3148
Archetype change since last debug: 6.107411
Archetype gradients: norm=0.018343, mean=0.000940
Epoch 1/1
Average loss: 0.8110
Archetypal loss: 0.8872
KLD loss: 0.1260
Reconstruction loss: 0.8872
Archetype R²: 0.0687
Archetype transform grad norm: 0.208513
Archetype transform param norm: 6.8581
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.8110 (range: 0.8110 - 0.8110)
archetypal_loss: 0.8872 (range: 0.8872 - 0.8872)
kld_loss: 0.1260 (range: 0.1260 - 0.1260)
reconstruction_loss: 0.8872 (range: 0.8872 - 0.8872)
archetype_r2: 0.0687 (range: 0.0687 - 0.0687)
Archetype Transform Summary:
archetype_transform_mean: -0.000154 (range: -0.000154 - -0.000154)
archetype_transform_std: 0.096042 (range: 0.096042 - 0.096042)
archetype_transform_norm: 6.858138 (range: 6.858138 - 6.858138)
archetype_transform_grad_norm: 0.208513 (range: 0.208513 - 0.208513)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0013, max=0.9050, mean=0.2000
Batch reconstruction MSE: 1.1767
Archetype stats: min=-6.5637, max=7.8671
Archetype change since last debug: 5.972386
Archetype gradients: norm=0.044113, mean=0.001726
Epoch 1/1
Average loss: 0.8053
Archetypal loss: 0.8805
KLD loss: 0.1287
Reconstruction loss: 0.8805
Archetype R²: 0.0758
Archetype transform grad norm: 0.219991
Archetype transform param norm: 7.0971
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.8053 (range: 0.8053 - 0.8053)
archetypal_loss: 0.8805 (range: 0.8805 - 0.8805)
kld_loss: 0.1287 (range: 0.1287 - 0.1287)
reconstruction_loss: 0.8805 (range: 0.8805 - 0.8805)
archetype_r2: 0.0758 (range: 0.0758 - 0.0758)
Archetype Transform Summary:
archetype_transform_mean: -0.000399 (range: -0.000399 - -0.000399)
archetype_transform_std: 0.099388 (range: 0.099388 - 0.099388)
archetype_transform_norm: 7.097114 (range: 7.097114 - 7.097114)
archetype_transform_grad_norm: 0.219991 (range: 0.219991 - 0.219991)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0035, max=0.8378, mean=0.2000
Batch reconstruction MSE: 1.2246
Archetype stats: min=-7.4782, max=9.1036
Archetype change since last debug: 4.702377
Archetype gradients: norm=0.037815, mean=0.001824
Epoch 1/1
Average loss: 0.8021
Archetypal loss: 0.8778
KLD loss: 0.1216
Reconstruction loss: 0.8778
Archetype R²: 0.0787
Archetype transform grad norm: 0.228734
Archetype transform param norm: 7.2733
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.8021 (range: 0.8021 - 0.8021)
archetypal_loss: 0.8778 (range: 0.8778 - 0.8778)
kld_loss: 0.1216 (range: 0.1216 - 0.1216)
reconstruction_loss: 0.8778 (range: 0.8778 - 0.8778)
archetype_r2: 0.0787 (range: 0.0787 - 0.0787)
Archetype Transform Summary:
archetype_transform_mean: -0.000630 (range: -0.000630 - -0.000630)
archetype_transform_std: 0.101855 (range: 0.101855 - 0.101855)
archetype_transform_norm: 7.273334 (range: 7.273334 - 7.273334)
archetype_transform_grad_norm: 0.228734 (range: 0.228734 - 0.228734)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0053, max=0.7330, mean=0.2000
Batch reconstruction MSE: 1.2245
Archetype stats: min=-8.3187, max=10.0477
Archetype change since last debug: 3.699167
Archetype gradients: norm=0.061188, mean=0.002305
Epoch 1/1
Average loss: 0.7997
Archetypal loss: 0.8753
KLD loss: 0.1194
Reconstruction loss: 0.8753
Archetype R²: 0.0813
Archetype transform grad norm: 0.230655
Archetype transform param norm: 7.3911
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.7997 (range: 0.7997 - 0.7997)
archetypal_loss: 0.8753 (range: 0.8753 - 0.8753)
kld_loss: 0.1194 (range: 0.1194 - 0.1194)
reconstruction_loss: 0.8753 (range: 0.8753 - 0.8753)
archetype_r2: 0.0813 (range: 0.0813 - 0.0813)
Archetype Transform Summary:
archetype_transform_mean: -0.000717 (range: -0.000717 - -0.000717)
archetype_transform_std: 0.103504 (range: 0.103504 - 0.103504)
archetype_transform_norm: 7.391112 (range: 7.391112 - 7.391112)
archetype_transform_grad_norm: 0.230655 (range: 0.230655 - 0.230655)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0051, max=0.6329, mean=0.2000
Batch reconstruction MSE: 1.1906
Archetype stats: min=-8.6728, max=10.7948
Archetype change since last debug: 2.745557
Archetype gradients: norm=0.030319, mean=0.001606
Epoch 1/1
Average loss: 0.7972
Archetypal loss: 0.8731
KLD loss: 0.1134
Reconstruction loss: 0.8731
Archetype R²: 0.0834
Archetype transform grad norm: 0.238622
Archetype transform param norm: 7.5039
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.7972 (range: 0.7972 - 0.7972)
archetypal_loss: 0.8731 (range: 0.8731 - 0.8731)
kld_loss: 0.1134 (range: 0.1134 - 0.1134)
reconstruction_loss: 0.8731 (range: 0.8731 - 0.8731)
archetype_r2: 0.0834 (range: 0.0834 - 0.0834)
Archetype Transform Summary:
archetype_transform_mean: -0.000899 (range: -0.000899 - -0.000899)
archetype_transform_std: 0.105082 (range: 0.105082 - 0.105082)
archetype_transform_norm: 7.503906 (range: 7.503906 - 7.503906)
archetype_transform_grad_norm: 0.238622 (range: 0.238622 - 0.238622)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0064, max=0.6253, mean=0.2000
Batch reconstruction MSE: 1.2170
Archetype stats: min=-9.1393, max=11.3555
Archetype change since last debug: 2.718210
Archetype gradients: norm=0.075447, mean=0.003293
Epoch 1/1
Average loss: 0.7969
Archetypal loss: 0.8729
KLD loss: 0.1128
Reconstruction loss: 0.8729
Archetype R²: 0.0838
Archetype transform grad norm: 0.246498
Archetype transform param norm: 7.5755
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.7969 (range: 0.7969 - 0.7969)
archetypal_loss: 0.8729 (range: 0.8729 - 0.8729)
kld_loss: 0.1128 (range: 0.1128 - 0.1128)
reconstruction_loss: 0.8729 (range: 0.8729 - 0.8729)
archetype_r2: 0.0838 (range: 0.0838 - 0.0838)
Archetype Transform Summary:
archetype_transform_mean: -0.000893 (range: -0.000893 - -0.000893)
archetype_transform_std: 0.106084 (range: 0.106084 - 0.106084)
archetype_transform_norm: 7.575462 (range: 7.575462 - 7.575462)
archetype_transform_grad_norm: 0.246498 (range: 0.246498 - 0.246498)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0116, max=0.5729, mean=0.2000
Batch reconstruction MSE: 1.1979
Archetype stats: min=-9.2472, max=11.6978
Archetype change since last debug: 1.914688
Archetype gradients: norm=0.043164, mean=0.002000
Epoch 1/1
Average loss: 0.7955
Archetypal loss: 0.8716
KLD loss: 0.1108
Reconstruction loss: 0.8716
Archetype R²: 0.0851
Archetype transform grad norm: 0.249886
Archetype transform param norm: 7.6512
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.7955 (range: 0.7955 - 0.7955)
archetypal_loss: 0.8716 (range: 0.8716 - 0.8716)
kld_loss: 0.1108 (range: 0.1108 - 0.1108)
reconstruction_loss: 0.8716 (range: 0.8716 - 0.8716)
archetype_r2: 0.0851 (range: 0.0851 - 0.0851)
Archetype Transform Summary:
archetype_transform_mean: -0.001084 (range: -0.001084 - -0.001084)
archetype_transform_std: 0.107143 (range: 0.107143 - 0.107143)
archetype_transform_norm: 7.651155 (range: 7.651155 - 7.651155)
archetype_transform_grad_norm: 0.249886 (range: 0.249886 - 0.249886)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0030, max=0.8437, mean=0.2000
Batch reconstruction MSE: 1.2316
Archetype stats: min=-9.5603, max=11.8274
Archetype change since last debug: 2.133150
Archetype gradients: norm=0.070621, mean=0.003461
Epoch 1/1
Average loss: 0.7958
Archetypal loss: 0.8721
KLD loss: 0.1091
Reconstruction loss: 0.8721
Archetype R²: 0.0846
Archetype transform grad norm: 0.259725
Archetype transform param norm: 7.6943
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.7958 (range: 0.7958 - 0.7958)
archetypal_loss: 0.8721 (range: 0.8721 - 0.8721)
kld_loss: 0.1091 (range: 0.1091 - 0.1091)
reconstruction_loss: 0.8721 (range: 0.8721 - 0.8721)
archetype_r2: 0.0846 (range: 0.0846 - 0.0846)
Archetype Transform Summary:
archetype_transform_mean: -0.001062 (range: -0.001062 - -0.001062)
archetype_transform_std: 0.107748 (range: 0.107748 - 0.107748)
archetype_transform_norm: 7.694334 (range: 7.694334 - 7.694334)
archetype_transform_grad_norm: 0.259725 (range: 0.259725 - 0.259725)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0088, max=0.5594, mean=0.2000
Batch reconstruction MSE: 1.1398
Archetype stats: min=-9.6135, max=12.1410
Archetype change since last debug: 1.522764
Archetype gradients: norm=0.030625, mean=0.001517
Epoch 1/1
Average loss: 0.7925
Archetypal loss: 0.8687
KLD loss: 0.1063
Reconstruction loss: 0.8687
Archetype R²: 0.0879
Archetype transform grad norm: 0.247416
Archetype transform param norm: 7.7593
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.7925 (range: 0.7925 - 0.7925)
archetypal_loss: 0.8687 (range: 0.8687 - 0.8687)
kld_loss: 0.1063 (range: 0.1063 - 0.1063)
reconstruction_loss: 0.8687 (range: 0.8687 - 0.8687)
archetype_r2: 0.0879 (range: 0.0879 - 0.0879)
Archetype Transform Summary:
archetype_transform_mean: -0.001170 (range: -0.001170 - -0.001170)
archetype_transform_std: 0.108656 (range: 0.108656 - 0.108656)
archetype_transform_norm: 7.759270 (range: 7.759270 - 7.759270)
archetype_transform_grad_norm: 0.247416 (range: 0.247416 - 0.247416)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0077, max=0.5678, mean=0.2000
Batch reconstruction MSE: 1.1268
Archetype stats: min=-9.9862, max=12.4647
Archetype change since last debug: 1.935955
Archetype gradients: norm=0.041318, mean=0.001975
Epoch 1/1
Average loss: 0.7912
Archetypal loss: 0.8679
KLD loss: 0.1005
Reconstruction loss: 0.8679
Archetype R²: 0.0887
Archetype transform grad norm: 0.246971
Archetype transform param norm: 7.8228
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.7912 (range: 0.7912 - 0.7912)
archetypal_loss: 0.8679 (range: 0.8679 - 0.8679)
kld_loss: 0.1005 (range: 0.1005 - 0.1005)
reconstruction_loss: 0.8679 (range: 0.8679 - 0.8679)
archetype_r2: 0.0887 (range: 0.0887 - 0.0887)
Archetype Transform Summary:
archetype_transform_mean: -0.001184 (range: -0.001184 - -0.001184)
archetype_transform_std: 0.109545 (range: 0.109545 - 0.109545)
archetype_transform_norm: 7.822775 (range: 7.822775 - 7.822775)
archetype_transform_grad_norm: 0.246971 (range: 0.246971 - 0.246971)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0097, max=0.4554, mean=0.2000
Batch reconstruction MSE: 1.1018
Archetype stats: min=-10.1355, max=12.9409
Archetype change since last debug: 1.830759
Archetype gradients: norm=0.022201, mean=0.001049
Epoch 1/1
Average loss: 0.7899
Archetypal loss: 0.8667
KLD loss: 0.0989
Reconstruction loss: 0.8667
Archetype R²: 0.0899
Archetype transform grad norm: 0.247033
Archetype transform param norm: 7.8912
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.7899 (range: 0.7899 - 0.7899)
archetypal_loss: 0.8667 (range: 0.8667 - 0.8667)
kld_loss: 0.0989 (range: 0.0989 - 0.0989)
reconstruction_loss: 0.8667 (range: 0.8667 - 0.8667)
archetype_r2: 0.0899 (range: 0.0899 - 0.0899)
Archetype Transform Summary:
archetype_transform_mean: -0.001265 (range: -0.001265 - -0.001265)
archetype_transform_std: 0.110502 (range: 0.110502 - 0.110502)
archetype_transform_norm: 7.891181 (range: 7.891181 - 7.891181)
archetype_transform_grad_norm: 0.247033 (range: 0.247033 - 0.247033)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0085, max=0.6229, mean=0.2000
Batch reconstruction MSE: 1.1585
Archetype stats: min=-10.4433, max=13.2886
Archetype change since last debug: 1.858452
Archetype gradients: norm=0.041905, mean=0.001929
Epoch 1/1
Average loss: 0.7907
Archetypal loss: 0.8679
KLD loss: 0.0952
Reconstruction loss: 0.8679
Archetype R²: 0.0887
Archetype transform grad norm: 0.251999
Archetype transform param norm: 7.9345
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.7907 (range: 0.7907 - 0.7907)
archetypal_loss: 0.8679 (range: 0.8679 - 0.8679)
kld_loss: 0.0952 (range: 0.0952 - 0.0952)
reconstruction_loss: 0.8679 (range: 0.8679 - 0.8679)
archetype_r2: 0.0887 (range: 0.0887 - 0.0887)
Archetype Transform Summary:
archetype_transform_mean: -0.001266 (range: -0.001266 - -0.001266)
archetype_transform_std: 0.111109 (range: 0.111109 - 0.111109)
archetype_transform_norm: 7.934511 (range: 7.934511 - 7.934511)
archetype_transform_grad_norm: 0.251999 (range: 0.251999 - 0.251999)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0103, max=0.4296, mean=0.2000
Batch reconstruction MSE: 1.1331
Archetype stats: min=-10.5490, max=13.6609
Archetype change since last debug: 1.332295
Archetype gradients: norm=0.027046, mean=0.001288
Epoch 1/1
Average loss: 0.7898
Archetypal loss: 0.8668
KLD loss: 0.0970
Reconstruction loss: 0.8668
Archetype R²: 0.0898
Archetype transform grad norm: 0.250486
Archetype transform param norm: 7.9761
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.7898 (range: 0.7898 - 0.7898)
archetypal_loss: 0.8668 (range: 0.8668 - 0.8668)
kld_loss: 0.0970 (range: 0.0970 - 0.0970)
reconstruction_loss: 0.8668 (range: 0.8668 - 0.8668)
archetype_r2: 0.0898 (range: 0.0898 - 0.0898)
Archetype Transform Summary:
archetype_transform_mean: -0.001342 (range: -0.001342 - -0.001342)
archetype_transform_std: 0.111690 (range: 0.111690 - 0.111690)
archetype_transform_norm: 7.976092 (range: 7.976092 - 7.976092)
archetype_transform_grad_norm: 0.250486 (range: 0.250486 - 0.250486)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0083, max=0.6060, mean=0.2000
Batch reconstruction MSE: 1.1924
Archetype stats: min=-10.7490, max=13.8299
Archetype change since last debug: 1.376765
Archetype gradients: norm=0.035006, mean=0.001663
Epoch 1/1
Average loss: 0.7902
Archetypal loss: 0.8677
KLD loss: 0.0920
Reconstruction loss: 0.8677
Archetype R²: 0.0889
Archetype transform grad norm: 0.250614
Archetype transform param norm: 8.0048
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.7902 (range: 0.7902 - 0.7902)
archetypal_loss: 0.8677 (range: 0.8677 - 0.8677)
kld_loss: 0.0920 (range: 0.0920 - 0.0920)
reconstruction_loss: 0.8677 (range: 0.8677 - 0.8677)
archetype_r2: 0.0889 (range: 0.0889 - 0.0889)
Archetype Transform Summary:
archetype_transform_mean: -0.001352 (range: -0.001352 - -0.001352)
archetype_transform_std: 0.112092 (range: 0.112092 - 0.112092)
archetype_transform_norm: 8.004804 (range: 8.004804 - 8.004804)
archetype_transform_grad_norm: 0.250614 (range: 0.250614 - 0.250614)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0108, max=0.4144, mean=0.2000
Batch reconstruction MSE: 1.1114
Archetype stats: min=-10.7236, max=14.1491
Archetype change since last debug: 1.108259
Archetype gradients: norm=0.022732, mean=0.001093
Epoch 1/1
Average loss: 0.7886
Archetypal loss: 0.8656
KLD loss: 0.0957
Reconstruction loss: 0.8656
Archetype R²: 0.0910
Archetype transform grad norm: 0.249055
Archetype transform param norm: 8.0453
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.7886 (range: 0.7886 - 0.7886)
archetypal_loss: 0.8656 (range: 0.8656 - 0.8656)
kld_loss: 0.0957 (range: 0.0957 - 0.0957)
reconstruction_loss: 0.8656 (range: 0.8656 - 0.8656)
archetype_r2: 0.0910 (range: 0.0910 - 0.0910)
Archetype Transform Summary:
archetype_transform_mean: -0.001430 (range: -0.001430 - -0.001430)
archetype_transform_std: 0.112659 (range: 0.112659 - 0.112659)
archetype_transform_norm: 8.045318 (range: 8.045318 - 8.045318)
archetype_transform_grad_norm: 0.249055 (range: 0.249055 - 0.249055)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0100, max=0.5809, mean=0.2000
Batch reconstruction MSE: 1.1783
Archetype stats: min=-10.9743, max=14.2914
Archetype change since last debug: 1.379045
Archetype gradients: norm=0.031889, mean=0.001536
Epoch 1/1
Average loss: 0.7891
Archetypal loss: 0.8668
KLD loss: 0.0904
Reconstruction loss: 0.8668
Archetype R²: 0.0898
Archetype transform grad norm: 0.250694
Archetype transform param norm: 8.0748
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.7891 (range: 0.7891 - 0.7891)
archetypal_loss: 0.8668 (range: 0.8668 - 0.8668)
kld_loss: 0.0904 (range: 0.0904 - 0.0904)
reconstruction_loss: 0.8668 (range: 0.8668 - 0.8668)
archetype_r2: 0.0898 (range: 0.0898 - 0.0898)
Archetype Transform Summary:
archetype_transform_mean: -0.001416 (range: -0.001416 - -0.001416)
archetype_transform_std: 0.113073 (range: 0.113073 - 0.113073)
archetype_transform_norm: 8.074843 (range: 8.074843 - 8.074843)
archetype_transform_grad_norm: 0.250694 (range: 0.250694 - 0.250694)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0128, max=0.4093, mean=0.2000
Batch reconstruction MSE: 1.0895
Archetype stats: min=-10.9974, max=14.6311
Archetype change since last debug: 1.155485
Archetype gradients: norm=0.018019, mean=0.000936
Epoch 1/1
Average loss: 0.7871
Archetypal loss: 0.8644
KLD loss: 0.0916
Reconstruction loss: 0.8644
Archetype R²: 0.0922
Archetype transform grad norm: 0.250850
Archetype transform param norm: 8.1193
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.7871 (range: 0.7871 - 0.7871)
archetypal_loss: 0.8644 (range: 0.8644 - 0.8644)
kld_loss: 0.0916 (range: 0.0916 - 0.0916)
reconstruction_loss: 0.8644 (range: 0.8644 - 0.8644)
archetype_r2: 0.0922 (range: 0.0922 - 0.0922)
Archetype Transform Summary:
archetype_transform_mean: -0.001492 (range: -0.001492 - -0.001492)
archetype_transform_std: 0.113694 (range: 0.113694 - 0.113694)
archetype_transform_norm: 8.119266 (range: 8.119266 - 8.119266)
archetype_transform_grad_norm: 0.250850 (range: 0.250850 - 0.250850)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0110, max=0.5587, mean=0.2000
Batch reconstruction MSE: 1.1375
Archetype stats: min=-11.2580, max=14.8260
Archetype change since last debug: 1.464655
Archetype gradients: norm=0.041690, mean=0.001907
Epoch 1/1
Average loss: 0.7875
Archetypal loss: 0.8652
KLD loss: 0.0878
Reconstruction loss: 0.8652
Archetype R²: 0.0913
Archetype transform grad norm: 0.255236
Archetype transform param norm: 8.1519
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.7875 (range: 0.7875 - 0.7875)
archetypal_loss: 0.8652 (range: 0.8652 - 0.8652)
kld_loss: 0.0878 (range: 0.0878 - 0.0878)
reconstruction_loss: 0.8652 (range: 0.8652 - 0.8652)
archetype_r2: 0.0913 (range: 0.0913 - 0.0913)
Archetype Transform Summary:
archetype_transform_mean: -0.001436 (range: -0.001436 - -0.001436)
archetype_transform_std: 0.114151 (range: 0.114151 - 0.114151)
archetype_transform_norm: 8.151871 (range: 8.151871 - 8.151871)
archetype_transform_grad_norm: 0.255236 (range: 0.255236 - 0.255236)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0137, max=0.3949, mean=0.2000
Batch reconstruction MSE: 1.0858
Archetype stats: min=-11.3065, max=15.2043
Archetype change since last debug: 1.196819
Archetype gradients: norm=0.028942, mean=0.001565
Epoch 1/1
Average loss: 0.7864
Archetypal loss: 0.8640
KLD loss: 0.0886
Reconstruction loss: 0.8640
Archetype R²: 0.0926
Archetype transform grad norm: 0.261628
Archetype transform param norm: 8.1998
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.7864 (range: 0.7864 - 0.7864)
archetypal_loss: 0.8640 (range: 0.8640 - 0.8640)
kld_loss: 0.0886 (range: 0.0886 - 0.0886)
reconstruction_loss: 0.8640 (range: 0.8640 - 0.8640)
archetype_r2: 0.0926 (range: 0.0926 - 0.0926)
Archetype Transform Summary:
archetype_transform_mean: -0.001576 (range: -0.001576 - -0.001576)
archetype_transform_std: 0.114821 (range: 0.114821 - 0.114821)
archetype_transform_norm: 8.199837 (range: 8.199837 - 8.199837)
archetype_transform_grad_norm: 0.261628 (range: 0.261628 - 0.261628)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0120, max=0.4955, mean=0.2000
Batch reconstruction MSE: 1.1486
Archetype stats: min=-11.5570, max=15.3405
Archetype change since last debug: 1.393164
Archetype gradients: norm=0.070976, mean=0.002995
Epoch 1/1
Average loss: 0.7875
Archetypal loss: 0.8652
KLD loss: 0.0881
Reconstruction loss: 0.8652
Archetype R²: 0.0914
Archetype transform grad norm: 0.265816
Archetype transform param norm: 8.2132
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.7875 (range: 0.7875 - 0.7875)
archetypal_loss: 0.8652 (range: 0.8652 - 0.8652)
kld_loss: 0.0881 (range: 0.0881 - 0.0881)
reconstruction_loss: 0.8652 (range: 0.8652 - 0.8652)
archetype_r2: 0.0914 (range: 0.0914 - 0.0914)
Archetype Transform Summary:
archetype_transform_mean: -0.001463 (range: -0.001463 - -0.001463)
archetype_transform_std: 0.115010 (range: 0.115010 - 0.115010)
archetype_transform_norm: 8.213183 (range: 8.213183 - 8.213183)
archetype_transform_grad_norm: 0.265816 (range: 0.265816 - 0.265816)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0180, max=0.3919, mean=0.2000
Batch reconstruction MSE: 1.2155
Archetype stats: min=-11.3143, max=15.6609
Archetype change since last debug: 1.210724
Archetype gradients: norm=0.062834, mean=0.003529
Epoch 1/1
Average loss: 0.7895
Archetypal loss: 0.8671
KLD loss: 0.0907
Reconstruction loss: 0.8671
Archetype R²: 0.0895
Archetype transform grad norm: 0.281424
Archetype transform param norm: 8.2291
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.7895 (range: 0.7895 - 0.7895)
archetypal_loss: 0.8671 (range: 0.8671 - 0.8671)
kld_loss: 0.0907 (range: 0.0907 - 0.0907)
reconstruction_loss: 0.8671 (range: 0.8671 - 0.8671)
archetype_r2: 0.0895 (range: 0.0895 - 0.0895)
Archetype Transform Summary:
archetype_transform_mean: -0.001693 (range: -0.001693 - -0.001693)
archetype_transform_std: 0.115230 (range: 0.115230 - 0.115230)
archetype_transform_norm: 8.229135 (range: 8.229135 - 8.229135)
archetype_transform_grad_norm: 0.281424 (range: 0.281424 - 0.281424)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0138, max=0.4996, mean=0.2000
Batch reconstruction MSE: 1.2048
Archetype stats: min=-11.3355, max=15.2526
Archetype change since last debug: 1.180571
Archetype gradients: norm=0.109020, mean=0.004127
Epoch 1/1
Average loss: 0.7885
Archetypal loss: 0.8661
KLD loss: 0.0899
Reconstruction loss: 0.8661
Archetype R²: 0.0905
Archetype transform grad norm: 0.268145
Archetype transform param norm: 8.2049
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.7885 (range: 0.7885 - 0.7885)
archetypal_loss: 0.8661 (range: 0.8661 - 0.8661)
kld_loss: 0.0899 (range: 0.0899 - 0.0899)
reconstruction_loss: 0.8661 (range: 0.8661 - 0.8661)
archetype_r2: 0.0905 (range: 0.0905 - 0.0905)
Archetype Transform Summary:
archetype_transform_mean: -0.001490 (range: -0.001490 - -0.001490)
archetype_transform_std: 0.114893 (range: 0.114893 - 0.114893)
archetype_transform_norm: 8.204880 (range: 8.204880 - 8.204880)
archetype_transform_grad_norm: 0.268145 (range: 0.268145 - 0.268145)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0177, max=0.4280, mean=0.2000
Batch reconstruction MSE: 1.1466
Archetype stats: min=-11.1297, max=15.5820
Archetype change since last debug: 1.187384
Archetype gradients: norm=0.047442, mean=0.002526
Epoch 1/1
Average loss: 0.7867
Archetypal loss: 0.8645
KLD loss: 0.0868
Reconstruction loss: 0.8645
Archetype R²: 0.0920
Archetype transform grad norm: 0.267651
Archetype transform param norm: 8.2357
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.7867 (range: 0.7867 - 0.7867)
archetypal_loss: 0.8645 (range: 0.8645 - 0.8645)
kld_loss: 0.0868 (range: 0.0868 - 0.0868)
reconstruction_loss: 0.8645 (range: 0.8645 - 0.8645)
archetype_r2: 0.0920 (range: 0.0920 - 0.0920)
Archetype Transform Summary:
archetype_transform_mean: -0.001659 (range: -0.001659 - -0.001659)
archetype_transform_std: 0.115323 (range: 0.115323 - 0.115323)
archetype_transform_norm: 8.235735 (range: 8.235735 - 8.235735)
archetype_transform_grad_norm: 0.267651 (range: 0.267651 - 0.267651)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0139, max=0.4683, mean=0.2000
Batch reconstruction MSE: 1.0977
Archetype stats: min=-11.4153, max=15.5768
Archetype change since last debug: 1.082420
Archetype gradients: norm=0.050610, mean=0.002322
Epoch 1/1
Average loss: 0.7853
Archetypal loss: 0.8631
KLD loss: 0.0850
Reconstruction loss: 0.8631
Archetype R²: 0.0934
Archetype transform grad norm: 0.262383
Archetype transform param norm: 8.2572
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.7853 (range: 0.7853 - 0.7853)
archetypal_loss: 0.8631 (range: 0.8631 - 0.8631)
kld_loss: 0.0850 (range: 0.0850 - 0.0850)
reconstruction_loss: 0.8631 (range: 0.8631 - 0.8631)
archetype_r2: 0.0934 (range: 0.0934 - 0.0934)
Archetype Transform Summary:
archetype_transform_mean: -0.001591 (range: -0.001591 - -0.001591)
archetype_transform_std: 0.115625 (range: 0.115625 - 0.115625)
archetype_transform_norm: 8.257216 (range: 8.257216 - 8.257216)
archetype_transform_grad_norm: 0.262383 (range: 0.262383 - 0.262383)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0187, max=0.4421, mean=0.2000
Batch reconstruction MSE: 1.1023
Archetype stats: min=-11.3187, max=16.0400
Archetype change since last debug: 1.280120
Archetype gradients: norm=0.028554, mean=0.001430
Epoch 1/1
Average loss: 0.7848
Archetypal loss: 0.8629
KLD loss: 0.0822
Reconstruction loss: 0.8629
Archetype R²: 0.0936
Archetype transform grad norm: 0.261245
Archetype transform param norm: 8.2951
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.7848 (range: 0.7848 - 0.7848)
archetypal_loss: 0.8629 (range: 0.8629 - 0.8629)
kld_loss: 0.0822 (range: 0.0822 - 0.0822)
reconstruction_loss: 0.8629 (range: 0.8629 - 0.8629)
archetype_r2: 0.0936 (range: 0.0936 - 0.0936)
Archetype Transform Summary:
archetype_transform_mean: -0.001690 (range: -0.001690 - -0.001690)
archetype_transform_std: 0.116154 (range: 0.116154 - 0.116154)
archetype_transform_norm: 8.295128 (range: 8.295128 - 8.295128)
archetype_transform_grad_norm: 0.261245 (range: 0.261245 - 0.261245)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0147, max=0.4703, mean=0.2000
Batch reconstruction MSE: 1.1103
Archetype stats: min=-11.5541, max=16.0992
Archetype change since last debug: 1.167441
Archetype gradients: norm=0.048466, mean=0.002465
Epoch 1/1
Average loss: 0.7850
Archetypal loss: 0.8629
KLD loss: 0.0834
Reconstruction loss: 0.8629
Archetype R²: 0.0935
Archetype transform grad norm: 0.264718
Archetype transform param norm: 8.3186
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.7850 (range: 0.7850 - 0.7850)
archetypal_loss: 0.8629 (range: 0.8629 - 0.8629)
kld_loss: 0.0834 (range: 0.0834 - 0.0834)
reconstruction_loss: 0.8629 (range: 0.8629 - 0.8629)
archetype_r2: 0.0935 (range: 0.0935 - 0.0935)
Archetype Transform Summary:
archetype_transform_mean: -0.001662 (range: -0.001662 - -0.001662)
archetype_transform_std: 0.116483 (range: 0.116483 - 0.116483)
archetype_transform_norm: 8.318603 (range: 8.318603 - 8.318603)
archetype_transform_grad_norm: 0.264718 (range: 0.264718 - 0.264718)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0233, max=0.3914, mean=0.2000
Batch reconstruction MSE: 1.1352
Archetype stats: min=-11.4423, max=16.4936
Archetype change since last debug: 1.106784
Archetype gradients: norm=0.032297, mean=0.001524
Epoch 1/1
Average loss: 0.7851
Archetypal loss: 0.8633
KLD loss: 0.0812
Reconstruction loss: 0.8633
Archetype R²: 0.0931
Archetype transform grad norm: 0.266660
Archetype transform param norm: 8.3449
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.7851 (range: 0.7851 - 0.7851)
archetypal_loss: 0.8633 (range: 0.8633 - 0.8633)
kld_loss: 0.0812 (range: 0.0812 - 0.0812)
reconstruction_loss: 0.8633 (range: 0.8633 - 0.8633)
archetype_r2: 0.0931 (range: 0.0931 - 0.0931)
Archetype Transform Summary:
archetype_transform_mean: -0.001749 (range: -0.001749 - -0.001749)
archetype_transform_std: 0.116851 (range: 0.116851 - 0.116851)
archetype_transform_norm: 8.344939 (range: 8.344939 - 8.344939)
archetype_transform_grad_norm: 0.266660 (range: 0.266660 - 0.266660)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0177, max=0.4556, mean=0.2000
Batch reconstruction MSE: 1.1449
Archetype stats: min=-11.6242, max=16.3997
Archetype change since last debug: 1.003661
Archetype gradients: norm=0.055135, mean=0.002885
Epoch 1/1
Average loss: 0.7856
Archetypal loss: 0.8635
KLD loss: 0.0839
Reconstruction loss: 0.8635
Archetype R²: 0.0929
Archetype transform grad norm: 0.273906
Archetype transform param norm: 8.3556
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.7856 (range: 0.7856 - 0.7856)
archetypal_loss: 0.8635 (range: 0.8635 - 0.8635)
kld_loss: 0.0839 (range: 0.0839 - 0.0839)
reconstruction_loss: 0.8635 (range: 0.8635 - 0.8635)
archetype_r2: 0.0929 (range: 0.0929 - 0.0929)
Archetype Transform Summary:
archetype_transform_mean: -0.001733 (range: -0.001733 - -0.001733)
archetype_transform_std: 0.117000 (range: 0.117000 - 0.117000)
archetype_transform_norm: 8.355562 (range: 8.355562 - 8.355562)
archetype_transform_grad_norm: 0.273906 (range: 0.273906 - 0.273906)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0230, max=0.3902, mean=0.2000
Batch reconstruction MSE: 1.1467
Archetype stats: min=-11.4701, max=16.7399
Archetype change since last debug: 1.178263
Archetype gradients: norm=0.035389, mean=0.001732
Epoch 1/1
Average loss: 0.7851
Archetypal loss: 0.8633
KLD loss: 0.0815
Reconstruction loss: 0.8633
Archetype R²: 0.0931
Archetype transform grad norm: 0.270043
Archetype transform param norm: 8.3730
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.7851 (range: 0.7851 - 0.7851)
archetypal_loss: 0.8633 (range: 0.8633 - 0.8633)
kld_loss: 0.0815 (range: 0.0815 - 0.0815)
reconstruction_loss: 0.8633 (range: 0.8633 - 0.8633)
archetype_r2: 0.0931 (range: 0.0931 - 0.0931)
Archetype Transform Summary:
archetype_transform_mean: -0.001813 (range: -0.001813 - -0.001813)
archetype_transform_std: 0.117243 (range: 0.117243 - 0.117243)
archetype_transform_norm: 8.372988 (range: 8.372988 - 8.372988)
archetype_transform_grad_norm: 0.270043 (range: 0.270043 - 0.270043)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0220, max=0.4069, mean=0.2000
Batch reconstruction MSE: 1.1063
Archetype stats: min=-11.6814, max=16.5649
Archetype change since last debug: 1.037611
Archetype gradients: norm=0.044662, mean=0.002314
Epoch 1/1
Average loss: 0.7841
Archetypal loss: 0.8622
KLD loss: 0.0815
Reconstruction loss: 0.8622
Archetype R²: 0.0942
Archetype transform grad norm: 0.269037
Archetype transform param norm: 8.3929
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.7841 (range: 0.7841 - 0.7841)
archetypal_loss: 0.8622 (range: 0.8622 - 0.8622)
kld_loss: 0.0815 (range: 0.0815 - 0.0815)
reconstruction_loss: 0.8622 (range: 0.8622 - 0.8622)
archetype_r2: 0.0942 (range: 0.0942 - 0.0942)
Archetype Transform Summary:
archetype_transform_mean: -0.001792 (range: -0.001792 - -0.001792)
archetype_transform_std: 0.117522 (range: 0.117522 - 0.117522)
archetype_transform_norm: 8.392891 (range: 8.392891 - 8.392891)
archetype_transform_grad_norm: 0.269037 (range: 0.269037 - 0.269037)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0328, max=0.3803, mean=0.2000
Batch reconstruction MSE: 1.0820
Archetype stats: min=-11.6048, max=17.0065
Archetype change since last debug: 1.204885
Archetype gradients: norm=0.027461, mean=0.001335
Epoch 1/1
Average loss: 0.7832
Archetypal loss: 0.8615
KLD loss: 0.0785
Reconstruction loss: 0.8615
Archetype R²: 0.0949
Archetype transform grad norm: 0.266873
Archetype transform param norm: 8.4236
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.7832 (range: 0.7832 - 0.7832)
archetypal_loss: 0.8615 (range: 0.8615 - 0.8615)
kld_loss: 0.0785 (range: 0.0785 - 0.0785)
reconstruction_loss: 0.8615 (range: 0.8615 - 0.8615)
archetype_r2: 0.0949 (range: 0.0949 - 0.0949)
Archetype Transform Summary:
archetype_transform_mean: -0.001859 (range: -0.001859 - -0.001859)
archetype_transform_std: 0.117951 (range: 0.117951 - 0.117951)
archetype_transform_norm: 8.423585 (range: 8.423585 - 8.423585)
archetype_transform_grad_norm: 0.266873 (range: 0.266873 - 0.266873)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0307, max=0.3564, mean=0.2000
Batch reconstruction MSE: 1.0989
Archetype stats: min=-11.8363, max=16.9827
Archetype change since last debug: 1.182246
Archetype gradients: norm=0.041779, mean=0.002092
Epoch 1/1
Average loss: 0.7834
Archetypal loss: 0.8619
KLD loss: 0.0768
Reconstruction loss: 0.8619
Archetype R²: 0.0945
Archetype transform grad norm: 0.271110
Archetype transform param norm: 8.4458
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.7834 (range: 0.7834 - 0.7834)
archetypal_loss: 0.8619 (range: 0.8619 - 0.8619)
kld_loss: 0.0768 (range: 0.0768 - 0.0768)
reconstruction_loss: 0.8619 (range: 0.8619 - 0.8619)
archetype_r2: 0.0945 (range: 0.0945 - 0.0945)
Archetype Transform Summary:
archetype_transform_mean: -0.001831 (range: -0.001831 - -0.001831)
archetype_transform_std: 0.118263 (range: 0.118263 - 0.118263)
archetype_transform_norm: 8.445824 (range: 8.445824 - 8.445824)
archetype_transform_grad_norm: 0.271110 (range: 0.271110 - 0.271110)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0305, max=0.4449, mean=0.2000
Batch reconstruction MSE: 1.0999
Archetype stats: min=-11.8401, max=17.4438
Archetype change since last debug: 1.183726
Archetype gradients: norm=0.031696, mean=0.001657
Epoch 1/1
Average loss: 0.7835
Archetypal loss: 0.8617
KLD loss: 0.0795
Reconstruction loss: 0.8617
Archetype R²: 0.0947
Archetype transform grad norm: 0.268194
Archetype transform param norm: 8.4610
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.7835 (range: 0.7835 - 0.7835)
archetypal_loss: 0.8617 (range: 0.8617 - 0.8617)
kld_loss: 0.0795 (range: 0.0795 - 0.0795)
reconstruction_loss: 0.8617 (range: 0.8617 - 0.8617)
archetype_r2: 0.0947 (range: 0.0947 - 0.0947)
Archetype Transform Summary:
archetype_transform_mean: -0.001865 (range: -0.001865 - -0.001865)
archetype_transform_std: 0.118474 (range: 0.118474 - 0.118474)
archetype_transform_norm: 8.460975 (range: 8.460975 - 8.460975)
archetype_transform_grad_norm: 0.268194 (range: 0.268194 - 0.268194)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0370, max=0.4547, mean=0.2000
Batch reconstruction MSE: 1.2143
Archetype stats: min=-12.1014, max=17.3340
Archetype change since last debug: 1.066617
Archetype gradients: norm=0.048440, mean=0.002329
Epoch 1/1
Average loss: 0.7854
Archetypal loss: 0.8643
KLD loss: 0.0748
Reconstruction loss: 0.8643
Archetype R²: 0.0921
Archetype transform grad norm: 0.270445
Archetype transform param norm: 8.4497
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.7854 (range: 0.7854 - 0.7854)
archetypal_loss: 0.8643 (range: 0.8643 - 0.8643)
kld_loss: 0.0748 (range: 0.0748 - 0.0748)
reconstruction_loss: 0.8643 (range: 0.8643 - 0.8643)
archetype_r2: 0.0921 (range: 0.0921 - 0.0921)
Archetype Transform Summary:
archetype_transform_mean: -0.001856 (range: -0.001856 - -0.001856)
archetype_transform_std: 0.118316 (range: 0.118316 - 0.118316)
archetype_transform_norm: 8.449682 (range: 8.449682 - 8.449682)
archetype_transform_grad_norm: 0.270445 (range: 0.270445 - 0.270445)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0331, max=0.4433, mean=0.2000
Batch reconstruction MSE: 1.1555
Archetype stats: min=-11.8888, max=17.5337
Archetype change since last debug: 1.021193
Archetype gradients: norm=0.035539, mean=0.001796
Epoch 1/1
Average loss: 0.7849
Archetypal loss: 0.8629
KLD loss: 0.0833
Reconstruction loss: 0.8629
Archetype R²: 0.0935
Archetype transform grad norm: 0.271121
Archetype transform param norm: 8.4466
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.7849 (range: 0.7849 - 0.7849)
archetypal_loss: 0.8629 (range: 0.8629 - 0.8629)
kld_loss: 0.0833 (range: 0.0833 - 0.0833)
reconstruction_loss: 0.8629 (range: 0.8629 - 0.8629)
archetype_r2: 0.0935 (range: 0.0935 - 0.0935)
Archetype Transform Summary:
archetype_transform_mean: -0.001934 (range: -0.001934 - -0.001934)
archetype_transform_std: 0.118272 (range: 0.118272 - 0.118272)
archetype_transform_norm: 8.446628 (range: 8.446628 - 8.446628)
archetype_transform_grad_norm: 0.271121 (range: 0.271121 - 0.271121)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0369, max=0.4326, mean=0.2000
Batch reconstruction MSE: 1.2083
Archetype stats: min=-11.9951, max=17.0896
Archetype change since last debug: 1.234282
Archetype gradients: norm=0.043578, mean=0.002198
Epoch 1/1
Average loss: 0.7851
Archetypal loss: 0.8638
KLD loss: 0.0769
Reconstruction loss: 0.8638
Archetype R²: 0.0926
Archetype transform grad norm: 0.268986
Archetype transform param norm: 8.4420
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.7851 (range: 0.7851 - 0.7851)
archetypal_loss: 0.8638 (range: 0.8638 - 0.8638)
kld_loss: 0.0769 (range: 0.0769 - 0.0769)
reconstruction_loss: 0.8638 (range: 0.8638 - 0.8638)
archetype_r2: 0.0926 (range: 0.0926 - 0.0926)
Archetype Transform Summary:
archetype_transform_mean: -0.001926 (range: -0.001926 - -0.001926)
archetype_transform_std: 0.118207 (range: 0.118207 - 0.118207)
archetype_transform_norm: 8.441989 (range: 8.441989 - 8.441989)
archetype_transform_grad_norm: 0.268986 (range: 0.268986 - 0.268986)
Fold 2/3
Model input_dim: 50 (auto-detected from data)
Archetypes parameter registered: True
Archetypes requires_grad: True
Deep_AA (Deep Archetypal Analysis) initialized:
- Single-stage architecture (like Deep_2)
- Inflation factor: 1.5
- Direct archetypal coordinates (no bottleneck)
Consolidated Archetype Initialization
PCHA: True, Inflation: True (factor: 1.5)
Test inflation: False
Running PCHA initialization...
Input shape: (128, 50)
Target archetypes: 5
Running PCHA with 5 archetypes...
Data shape for PCHA: (50, 128)
PCHA Results:
Archetypes shape: (5, 50)
Archetype R²: 0.3240
SSE: 3983.7531
PCHA archetype R²: 0.3240
Archetype shape: (5, 50)
[OK] Initialized 5 archetypes using PCHA
Scalar Archetypal Inflation (factor: 1.50)
[OK] Inflation complete
[STATS] Positioning verification:
Data radius (max): 28.203
Data radius (mean): 5.939
Archetype distances: 4.465 to 36.565
Archetypes outside data: 1/5
Min archetype separation: 9.446
[OK] Archetype initialization complete (success: True)
[OK] Archetype initialization complete (PCHA: True, Inflation: 1.5)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0010, max=0.9124, mean=0.2000
Batch reconstruction MSE: 1.0463
Archetype stats: min=-2.6692, max=2.3296
Archetype gradients: norm=0.019149, mean=0.000878
Epoch 1/1
Average loss: 0.8660
Archetypal loss: 0.9580
KLD loss: 0.0381
Reconstruction loss: 0.9580
Archetype R²: -0.0199
Archetype transform grad norm: 0.242314
Archetype transform param norm: 5.8337
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.8660 (range: 0.8660 - 0.8660)
archetypal_loss: 0.9580 (range: 0.9580 - 0.9580)
kld_loss: 0.0381 (range: 0.0381 - 0.0381)
reconstruction_loss: 0.9580 (range: 0.9580 - 0.9580)
archetype_r2: -0.0199 (range: -0.0199 - -0.0199)
Archetype Transform Summary:
archetype_transform_mean: -0.000406 (range: -0.000406 - -0.000406)
archetype_transform_std: 0.081695 (range: 0.081695 - 0.081695)
archetype_transform_norm: 5.833711 (range: 5.833711 - 5.833711)
archetype_transform_grad_norm: 0.242314 (range: 0.242314 - 0.242314)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0061, max=0.8719, mean=0.2000
Batch reconstruction MSE: 0.8635
Archetype stats: min=-1.2561, max=0.9463
Archetype change since last debug: 7.287040
Archetype gradients: norm=0.003173, mean=0.000151
Epoch 1/1
Average loss: 0.8502
Archetypal loss: 0.9413
KLD loss: 0.0298
Reconstruction loss: 0.9413
Archetype R²: -0.0019
Archetype transform grad norm: 0.152679
Archetype transform param norm: 5.8412
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.8502 (range: 0.8502 - 0.8502)
archetypal_loss: 0.9413 (range: 0.9413 - 0.9413)
kld_loss: 0.0298 (range: 0.0298 - 0.0298)
reconstruction_loss: 0.9413 (range: 0.9413 - 0.9413)
archetype_r2: -0.0019 (range: -0.0019 - -0.0019)
Archetype Transform Summary:
archetype_transform_mean: -0.000141 (range: -0.000141 - -0.000141)
archetype_transform_std: 0.081802 (range: 0.081802 - 0.081802)
archetype_transform_norm: 5.841245 (range: 5.841245 - 5.841245)
archetype_transform_grad_norm: 0.152679 (range: 0.152679 - 0.152679)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0013, max=0.8926, mean=0.2000
Batch reconstruction MSE: 0.8635
Archetype stats: min=-1.8583, max=1.4386
Archetype change since last debug: 2.486439
Archetype gradients: norm=0.003516, mean=0.000172
Epoch 1/1
Average loss: 0.8429
Archetypal loss: 0.9288
KLD loss: 0.0704
Reconstruction loss: 0.9288
Archetype R²: 0.0113
Archetype transform grad norm: 0.170218
Archetype transform param norm: 5.9274
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.8429 (range: 0.8429 - 0.8429)
archetypal_loss: 0.9288 (range: 0.9288 - 0.9288)
kld_loss: 0.0704 (range: 0.0704 - 0.0704)
reconstruction_loss: 0.9288 (range: 0.9288 - 0.9288)
archetype_r2: 0.0113 (range: 0.0113 - 0.0113)
Archetype Transform Summary:
archetype_transform_mean: -0.000234 (range: -0.000234 - -0.000234)
archetype_transform_std: 0.083007 (range: 0.083007 - 0.083007)
archetype_transform_norm: 5.927360 (range: 5.927360 - 5.927360)
archetype_transform_grad_norm: 0.170218 (range: 0.170218 - 0.170218)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0037, max=0.8582, mean=0.2000
Batch reconstruction MSE: 0.8973
Archetype stats: min=-3.1953, max=2.3189
Archetype change since last debug: 5.738403
Archetype gradients: norm=0.007266, mean=0.000342
Epoch 1/1
Average loss: 0.8316
Archetypal loss: 0.9115
KLD loss: 0.1126
Reconstruction loss: 0.9115
Archetype R²: 0.0295
Archetype transform grad norm: 0.194354
Archetype transform param norm: 6.1278
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.8316 (range: 0.8316 - 0.8316)
archetypal_loss: 0.9115 (range: 0.9115 - 0.9115)
kld_loss: 0.1126 (range: 0.1126 - 0.1126)
reconstruction_loss: 0.9115 (range: 0.9115 - 0.9115)
archetype_r2: 0.0295 (range: 0.0295 - 0.0295)
Archetype Transform Summary:
archetype_transform_mean: -0.000372 (range: -0.000372 - -0.000372)
archetype_transform_std: 0.085814 (range: 0.085814 - 0.085814)
archetype_transform_norm: 6.127792 (range: 6.127792 - 6.127792)
archetype_transform_grad_norm: 0.194354 (range: 0.194354 - 0.194354)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0037, max=0.9009, mean=0.2000
Batch reconstruction MSE: 0.9475
Archetype stats: min=-4.6261, max=3.3761
Archetype change since last debug: 7.467268
Archetype gradients: norm=0.015924, mean=0.000717
Epoch 1/1
Average loss: 0.8210
Archetypal loss: 0.8984
KLD loss: 0.1243
Reconstruction loss: 0.8984
Archetype R²: 0.0433
Archetype transform grad norm: 0.216219
Archetype transform param norm: 6.3875
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.8210 (range: 0.8210 - 0.8210)
archetypal_loss: 0.8984 (range: 0.8984 - 0.8984)
kld_loss: 0.1243 (range: 0.1243 - 0.1243)
reconstruction_loss: 0.8984 (range: 0.8984 - 0.8984)
archetype_r2: 0.0433 (range: 0.0433 - 0.0433)
Archetype Transform Summary:
archetype_transform_mean: -0.000464 (range: -0.000464 - -0.000464)
archetype_transform_std: 0.089451 (range: 0.089451 - 0.089451)
archetype_transform_norm: 6.387531 (range: 6.387531 - 6.387531)
archetype_transform_grad_norm: 0.216219 (range: 0.216219 - 0.216219)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0046, max=0.8488, mean=0.2000
Batch reconstruction MSE: 0.9527
Archetype stats: min=-5.7907, max=4.1783
Archetype change since last debug: 6.585663
Archetype gradients: norm=0.015549, mean=0.000793
Epoch 1/1
Average loss: 0.8101
Archetypal loss: 0.8846
KLD loss: 0.1401
Reconstruction loss: 0.8846
Archetype R²: 0.0581
Archetype transform grad norm: 0.232675
Archetype transform param norm: 6.6789
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.8101 (range: 0.8101 - 0.8101)
archetypal_loss: 0.8846 (range: 0.8846 - 0.8846)
kld_loss: 0.1401 (range: 0.1401 - 0.1401)
reconstruction_loss: 0.8846 (range: 0.8846 - 0.8846)
archetype_r2: 0.0581 (range: 0.0581 - 0.0581)
Archetype Transform Summary:
archetype_transform_mean: -0.000446 (range: -0.000446 - -0.000446)
archetype_transform_std: 0.093532 (range: 0.093532 - 0.093532)
archetype_transform_norm: 6.678941 (range: 6.678941 - 6.678941)
archetype_transform_grad_norm: 0.232675 (range: 0.232675 - 0.232675)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0068, max=0.8705, mean=0.2000
Batch reconstruction MSE: 1.0153
Archetype stats: min=-6.6969, max=5.6341
Archetype change since last debug: 7.043758
Archetype gradients: norm=0.043248, mean=0.001765
Epoch 1/1
Average loss: 0.8024
Archetypal loss: 0.8755
KLD loss: 0.1451
Reconstruction loss: 0.8755
Archetype R²: 0.0676
Archetype transform grad norm: 0.246864
Archetype transform param norm: 6.9452
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.8024 (range: 0.8024 - 0.8024)
archetypal_loss: 0.8755 (range: 0.8755 - 0.8755)
kld_loss: 0.1451 (range: 0.1451 - 0.1451)
reconstruction_loss: 0.8755 (range: 0.8755 - 0.8755)
archetype_r2: 0.0676 (range: 0.0676 - 0.0676)
Archetype Transform Summary:
archetype_transform_mean: -0.000375 (range: -0.000375 - -0.000375)
archetype_transform_std: 0.097261 (range: 0.097261 - 0.097261)
archetype_transform_norm: 6.945207 (range: 6.945207 - 6.945207)
archetype_transform_grad_norm: 0.246864 (range: 0.246864 - 0.246864)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0081, max=0.6799, mean=0.2000
Batch reconstruction MSE: 1.1084
Archetype stats: min=-7.4231, max=7.1121
Archetype change since last debug: 5.308924
Archetype gradients: norm=0.057122, mean=0.002088
Epoch 1/1
Average loss: 0.7999
Archetypal loss: 0.8730
KLD loss: 0.1418
Reconstruction loss: 0.8730
Archetype R²: 0.0701
Archetype transform grad norm: 0.271949
Archetype transform param norm: 7.1269
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.7999 (range: 0.7999 - 0.7999)
archetypal_loss: 0.8730 (range: 0.8730 - 0.8730)
kld_loss: 0.1418 (range: 0.1418 - 0.1418)
reconstruction_loss: 0.8730 (range: 0.8730 - 0.8730)
archetype_r2: 0.0701 (range: 0.0701 - 0.0701)
Archetype Transform Summary:
archetype_transform_mean: -0.000256 (range: -0.000256 - -0.000256)
archetype_transform_std: 0.099806 (range: 0.099806 - 0.099806)
archetype_transform_norm: 7.126904 (range: 7.126904 - 7.126904)
archetype_transform_grad_norm: 0.271949 (range: 0.271949 - 0.271949)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0082, max=0.8241, mean=0.2000
Batch reconstruction MSE: 1.1847
Archetype stats: min=-7.5579, max=7.4681
Archetype change since last debug: 4.297521
Archetype gradients: norm=0.088976, mean=0.003968
Epoch 1/1
Average loss: 0.7983
Archetypal loss: 0.8708
KLD loss: 0.1463
Reconstruction loss: 0.8708
Archetype R²: 0.0724
Archetype transform grad norm: 0.266005
Archetype transform param norm: 7.2141
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.7983 (range: 0.7983 - 0.7983)
archetypal_loss: 0.8708 (range: 0.8708 - 0.8708)
kld_loss: 0.1463 (range: 0.1463 - 0.1463)
reconstruction_loss: 0.8708 (range: 0.8708 - 0.8708)
archetype_r2: 0.0724 (range: 0.0724 - 0.0724)
Archetype Transform Summary:
archetype_transform_mean: -0.000236 (range: -0.000236 - -0.000236)
archetype_transform_std: 0.101028 (range: 0.101028 - 0.101028)
archetype_transform_norm: 7.214148 (range: 7.214148 - 7.214148)
archetype_transform_grad_norm: 0.266005 (range: 0.266005 - 0.266005)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0113, max=0.4922, mean=0.2000
Batch reconstruction MSE: 1.0474
Archetype stats: min=-7.8608, max=8.2900
Archetype change since last debug: 2.572326
Archetype gradients: norm=0.025999, mean=0.001198
Epoch 1/1
Average loss: 0.7927
Archetypal loss: 0.8655
KLD loss: 0.1375
Reconstruction loss: 0.8655
Archetype R²: 0.0783
Archetype transform grad norm: 0.277606
Archetype transform param norm: 7.3305
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.7927 (range: 0.7927 - 0.7927)
archetypal_loss: 0.8655 (range: 0.8655 - 0.8655)
kld_loss: 0.1375 (range: 0.1375 - 0.1375)
reconstruction_loss: 0.8655 (range: 0.8655 - 0.8655)
archetype_r2: 0.0783 (range: 0.0783 - 0.0783)
Archetype Transform Summary:
archetype_transform_mean: -0.000195 (range: -0.000195 - -0.000195)
archetype_transform_std: 0.102658 (range: 0.102658 - 0.102658)
archetype_transform_norm: 7.330545 (range: 7.330545 - 7.330545)
archetype_transform_grad_norm: 0.277606 (range: 0.277606 - 0.277606)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0146, max=0.5325, mean=0.2000
Batch reconstruction MSE: 1.0411
Archetype stats: min=-8.0282, max=8.9591
Archetype change since last debug: 3.178411
Archetype gradients: norm=0.058810, mean=0.002646
Epoch 1/1
Average loss: 0.7902
Archetypal loss: 0.8631
KLD loss: 0.1343
Reconstruction loss: 0.8631
Archetype R²: 0.0810
Archetype transform grad norm: 0.261656
Archetype transform param norm: 7.4168
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.7902 (range: 0.7902 - 0.7902)
archetypal_loss: 0.8631 (range: 0.8631 - 0.8631)
kld_loss: 0.1343 (range: 0.1343 - 0.1343)
reconstruction_loss: 0.8631 (range: 0.8631 - 0.8631)
archetype_r2: 0.0810 (range: 0.0810 - 0.0810)
Archetype Transform Summary:
archetype_transform_mean: -0.000229 (range: -0.000229 - -0.000229)
archetype_transform_std: 0.103866 (range: 0.103866 - 0.103866)
archetype_transform_norm: 7.416811 (range: 7.416811 - 7.416811)
archetype_transform_grad_norm: 0.261656 (range: 0.261656 - 0.261656)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0143, max=0.4894, mean=0.2000
Batch reconstruction MSE: 0.9630
Archetype stats: min=-8.7852, max=9.7047
Archetype change since last debug: 2.427087
Archetype gradients: norm=0.020577, mean=0.000957
Epoch 1/1
Average loss: 0.7866
Archetypal loss: 0.8601
KLD loss: 0.1255
Reconstruction loss: 0.8601
Archetype R²: 0.0843
Archetype transform grad norm: 0.262841
Archetype transform param norm: 7.5235
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.7866 (range: 0.7866 - 0.7866)
archetypal_loss: 0.8601 (range: 0.8601 - 0.8601)
kld_loss: 0.1255 (range: 0.1255 - 0.1255)
reconstruction_loss: 0.8601 (range: 0.8601 - 0.8601)
archetype_r2: 0.0843 (range: 0.0843 - 0.0843)
Archetype Transform Summary:
archetype_transform_mean: -0.000221 (range: -0.000221 - -0.000221)
archetype_transform_std: 0.105360 (range: 0.105360 - 0.105360)
archetype_transform_norm: 7.523520 (range: 7.523520 - 7.523520)
archetype_transform_grad_norm: 0.262841 (range: 0.262841 - 0.262841)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0174, max=0.5279, mean=0.2000
Batch reconstruction MSE: 0.9849
Archetype stats: min=-9.7953, max=10.3876
Archetype change since last debug: 2.744976
Archetype gradients: norm=0.060415, mean=0.002486
Epoch 1/1
Average loss: 0.7860
Archetypal loss: 0.8597
KLD loss: 0.1222
Reconstruction loss: 0.8597
Archetype R²: 0.0847
Archetype transform grad norm: 0.264123
Archetype transform param norm: 7.5991
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.7860 (range: 0.7860 - 0.7860)
archetypal_loss: 0.8597 (range: 0.8597 - 0.8597)
kld_loss: 0.1222 (range: 0.1222 - 0.1222)
reconstruction_loss: 0.8597 (range: 0.8597 - 0.8597)
archetype_r2: 0.0847 (range: 0.0847 - 0.0847)
Archetype Transform Summary:
archetype_transform_mean: -0.000219 (range: -0.000219 - -0.000219)
archetype_transform_std: 0.106418 (range: 0.106418 - 0.106418)
archetype_transform_norm: 7.599056 (range: 7.599056 - 7.599056)
archetype_transform_grad_norm: 0.264123 (range: 0.264123 - 0.264123)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0167, max=0.5103, mean=0.2000
Batch reconstruction MSE: 1.0505
Archetype stats: min=-10.3769, max=10.9654
Archetype change since last debug: 2.180879
Archetype gradients: norm=0.057848, mean=0.002376
Epoch 1/1
Average loss: 0.7874
Archetypal loss: 0.8613
KLD loss: 0.1226
Reconstruction loss: 0.8613
Archetype R²: 0.0829
Archetype transform grad norm: 0.285669
Archetype transform param norm: 7.6576
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.7874 (range: 0.7874 - 0.7874)
archetypal_loss: 0.8613 (range: 0.8613 - 0.8613)
kld_loss: 0.1226 (range: 0.1226 - 0.1226)
reconstruction_loss: 0.8613 (range: 0.8613 - 0.8613)
archetype_r2: 0.0829 (range: 0.0829 - 0.0829)
Archetype Transform Summary:
archetype_transform_mean: -0.000261 (range: -0.000261 - -0.000261)
archetype_transform_std: 0.107238 (range: 0.107238 - 0.107238)
archetype_transform_norm: 7.657627 (range: 7.657627 - 7.657627)
archetype_transform_grad_norm: 0.285669 (range: 0.285669 - 0.285669)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0207, max=0.5796, mean=0.2000
Batch reconstruction MSE: 1.0860
Archetype stats: min=-11.1792, max=11.3672
Archetype change since last debug: 1.954960
Archetype gradients: norm=0.086189, mean=0.003814
Epoch 1/1
Average loss: 0.7875
Archetypal loss: 0.8613
KLD loss: 0.1227
Reconstruction loss: 0.8613
Archetype R²: 0.0828
Archetype transform grad norm: 0.277305
Archetype transform param norm: 7.6760
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.7875 (range: 0.7875 - 0.7875)
archetypal_loss: 0.8613 (range: 0.8613 - 0.8613)
kld_loss: 0.1227 (range: 0.1227 - 0.1227)
reconstruction_loss: 0.8613 (range: 0.8613 - 0.8613)
archetype_r2: 0.0828 (range: 0.0828 - 0.0828)
Archetype Transform Summary:
archetype_transform_mean: -0.000219 (range: -0.000219 - -0.000219)
archetype_transform_std: 0.107496 (range: 0.107496 - 0.107496)
archetype_transform_norm: 7.676005 (range: 7.676005 - 7.676005)
archetype_transform_grad_norm: 0.277305 (range: 0.277305 - 0.277305)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0197, max=0.5089, mean=0.2000
Batch reconstruction MSE: 0.9982
Archetype stats: min=-11.4379, max=11.6641
Archetype change since last debug: 1.318897
Archetype gradients: norm=0.028818, mean=0.001479
Epoch 1/1
Average loss: 0.7845
Archetypal loss: 0.8585
KLD loss: 0.1192
Reconstruction loss: 0.8585
Archetype R²: 0.0860
Archetype transform grad norm: 0.278603
Archetype transform param norm: 7.7299
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.7845 (range: 0.7845 - 0.7845)
archetypal_loss: 0.8585 (range: 0.8585 - 0.8585)
kld_loss: 0.1192 (range: 0.1192 - 0.1192)
reconstruction_loss: 0.8585 (range: 0.8585 - 0.8585)
archetype_r2: 0.0860 (range: 0.0860 - 0.0860)
Archetype Transform Summary:
archetype_transform_mean: -0.000227 (range: -0.000227 - -0.000227)
archetype_transform_std: 0.108251 (range: 0.108251 - 0.108251)
archetype_transform_norm: 7.729905 (range: 7.729905 - 7.729905)
archetype_transform_grad_norm: 0.278603 (range: 0.278603 - 0.278603)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0224, max=0.4913, mean=0.2000
Batch reconstruction MSE: 0.9515
Archetype stats: min=-12.0731, max=11.9549
Archetype change since last debug: 1.638605
Archetype gradients: norm=0.051925, mean=0.002108
Epoch 1/1
Average loss: 0.7826
Archetypal loss: 0.8567
KLD loss: 0.1156
Reconstruction loss: 0.8567
Archetype R²: 0.0880
Archetype transform grad norm: 0.266946
Archetype transform param norm: 7.7763
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.7826 (range: 0.7826 - 0.7826)
archetypal_loss: 0.8567 (range: 0.8567 - 0.8567)
kld_loss: 0.1156 (range: 0.1156 - 0.1156)
reconstruction_loss: 0.8567 (range: 0.8567 - 0.8567)
archetype_r2: 0.0880 (range: 0.0880 - 0.0880)
Archetype Transform Summary:
archetype_transform_mean: -0.000236 (range: -0.000236 - -0.000236)
archetype_transform_std: 0.108900 (range: 0.108900 - 0.108900)
archetype_transform_norm: 7.776305 (range: 7.776305 - 7.776305)
archetype_transform_grad_norm: 0.266946 (range: 0.266946 - 0.266946)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0236, max=0.4371, mean=0.2000
Batch reconstruction MSE: 0.9625
Archetype stats: min=-12.4079, max=12.3290
Archetype change since last debug: 1.641380
Archetype gradients: norm=0.023883, mean=0.001204
Epoch 1/1
Average loss: 0.7819
Archetypal loss: 0.8565
KLD loss: 0.1107
Reconstruction loss: 0.8565
Archetype R²: 0.0882
Archetype transform grad norm: 0.276490
Archetype transform param norm: 7.8386
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.7819 (range: 0.7819 - 0.7819)
archetypal_loss: 0.8565 (range: 0.8565 - 0.8565)
kld_loss: 0.1107 (range: 0.1107 - 0.1107)
reconstruction_loss: 0.8565 (range: 0.8565 - 0.8565)
archetype_r2: 0.0882 (range: 0.0882 - 0.0882)
Archetype Transform Summary:
archetype_transform_mean: -0.000212 (range: -0.000212 - -0.000212)
archetype_transform_std: 0.109773 (range: 0.109773 - 0.109773)
archetype_transform_norm: 7.838636 (range: 7.838636 - 7.838636)
archetype_transform_grad_norm: 0.276490 (range: 0.276490 - 0.276490)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0212, max=0.4771, mean=0.2000
Batch reconstruction MSE: 0.9746
Archetype stats: min=-12.9790, max=12.6591
Archetype change since last debug: 1.618960
Archetype gradients: norm=0.062503, mean=0.002485
Epoch 1/1
Average loss: 0.7822
Archetypal loss: 0.8568
KLD loss: 0.1112
Reconstruction loss: 0.8568
Archetype R²: 0.0879
Archetype transform grad norm: 0.273160
Archetype transform param norm: 7.8667
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.7822 (range: 0.7822 - 0.7822)
archetypal_loss: 0.8568 (range: 0.8568 - 0.8568)
kld_loss: 0.1112 (range: 0.1112 - 0.1112)
reconstruction_loss: 0.8568 (range: 0.8568 - 0.8568)
archetype_r2: 0.0879 (range: 0.0879 - 0.0879)
Archetype Transform Summary:
archetype_transform_mean: -0.000239 (range: -0.000239 - -0.000239)
archetype_transform_std: 0.110166 (range: 0.110166 - 0.110166)
archetype_transform_norm: 7.866657 (range: 7.866657 - 7.866657)
archetype_transform_grad_norm: 0.273160 (range: 0.273160 - 0.273160)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0270, max=0.4061, mean=0.2000
Batch reconstruction MSE: 1.0124
Archetype stats: min=-13.0763, max=12.9607
Archetype change since last debug: 1.202036
Archetype gradients: norm=0.039841, mean=0.001926
Epoch 1/1
Average loss: 0.7825
Archetypal loss: 0.8574
KLD loss: 0.1082
Reconstruction loss: 0.8574
Archetype R²: 0.0872
Archetype transform grad norm: 0.285958
Archetype transform param norm: 7.9055
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.7825 (range: 0.7825 - 0.7825)
archetypal_loss: 0.8574 (range: 0.8574 - 0.8574)
kld_loss: 0.1082 (range: 0.1082 - 0.1082)
reconstruction_loss: 0.8574 (range: 0.8574 - 0.8574)
archetype_r2: 0.0872 (range: 0.0872 - 0.0872)
Archetype Transform Summary:
archetype_transform_mean: -0.000164 (range: -0.000164 - -0.000164)
archetype_transform_std: 0.110710 (range: 0.110710 - 0.110710)
archetype_transform_norm: 7.905504 (range: 7.905504 - 7.905504)
archetype_transform_grad_norm: 0.285958 (range: 0.285958 - 0.285958)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0219, max=0.4560, mean=0.2000
Batch reconstruction MSE: 0.9972
Archetype stats: min=-13.4315, max=13.0842
Archetype change since last debug: 1.193353
Archetype gradients: norm=0.089722, mean=0.003499
Epoch 1/1
Average loss: 0.7824
Archetypal loss: 0.8570
KLD loss: 0.1105
Reconstruction loss: 0.8570
Archetype R²: 0.0876
Archetype transform grad norm: 0.284143
Archetype transform param norm: 7.9151
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.7824 (range: 0.7824 - 0.7824)
archetypal_loss: 0.8570 (range: 0.8570 - 0.8570)
kld_loss: 0.1105 (range: 0.1105 - 0.1105)
reconstruction_loss: 0.8570 (range: 0.8570 - 0.8570)
archetype_r2: 0.0876 (range: 0.0876 - 0.0876)
Archetype Transform Summary:
archetype_transform_mean: -0.000245 (range: -0.000245 - -0.000245)
archetype_transform_std: 0.110844 (range: 0.110844 - 0.110844)
archetype_transform_norm: 7.915083 (range: 7.915083 - 7.915083)
archetype_transform_grad_norm: 0.284143 (range: 0.284143 - 0.284143)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0285, max=0.4336, mean=0.2000
Batch reconstruction MSE: 1.1366
Archetype stats: min=-13.2583, max=13.2773
Archetype change since last debug: 1.099174
Archetype gradients: norm=0.105545, mean=0.005019
Epoch 1/1
Average loss: 0.7865
Archetypal loss: 0.8613
KLD loss: 0.1133
Reconstruction loss: 0.8613
Archetype R²: 0.0828
Archetype transform grad norm: 0.315972
Archetype transform param norm: 7.9142
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.7865 (range: 0.7865 - 0.7865)
archetypal_loss: 0.8613 (range: 0.8613 - 0.8613)
kld_loss: 0.1133 (range: 0.1133 - 0.1133)
reconstruction_loss: 0.8613 (range: 0.8613 - 0.8613)
archetype_r2: 0.0828 (range: 0.0828 - 0.0828)
Archetype Transform Summary:
archetype_transform_mean: -0.000060 (range: -0.000060 - -0.000060)
archetype_transform_std: 0.110832 (range: 0.110832 - 0.110832)
archetype_transform_norm: 7.914178 (range: 7.914178 - 7.914178)
archetype_transform_grad_norm: 0.315972 (range: 0.315972 - 0.315972)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0225, max=0.5048, mean=0.2000
Batch reconstruction MSE: 1.1770
Archetype stats: min=-13.3387, max=12.4229
Archetype change since last debug: 1.831255
Archetype gradients: norm=0.126364, mean=0.005755
Epoch 1/1
Average loss: 0.7875
Archetypal loss: 0.8618
KLD loss: 0.1194
Reconstruction loss: 0.8618
Archetype R²: 0.0821
Archetype transform grad norm: 0.312479
Archetype transform param norm: 7.8843
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.7875 (range: 0.7875 - 0.7875)
archetypal_loss: 0.8618 (range: 0.8618 - 0.8618)
kld_loss: 0.1194 (range: 0.1194 - 0.1194)
reconstruction_loss: 0.8618 (range: 0.8618 - 0.8618)
archetype_r2: 0.0821 (range: 0.0821 - 0.0821)
Archetype Transform Summary:
archetype_transform_mean: -0.000172 (range: -0.000172 - -0.000172)
archetype_transform_std: 0.110413 (range: 0.110413 - 0.110413)
archetype_transform_norm: 7.884286 (range: 7.884286 - 7.884286)
archetype_transform_grad_norm: 0.312479 (range: 0.312479 - 0.312479)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0279, max=0.4821, mean=0.2000
Batch reconstruction MSE: 1.0902
Archetype stats: min=-12.9485, max=12.1816
Archetype change since last debug: 1.614917
Archetype gradients: norm=0.091879, mean=0.004081
Epoch 1/1
Average loss: 0.7846
Archetypal loss: 0.8589
KLD loss: 0.1154
Reconstruction loss: 0.8589
Archetype R²: 0.0854
Archetype transform grad norm: 0.288574
Archetype transform param norm: 7.8849
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.7846 (range: 0.7846 - 0.7846)
archetypal_loss: 0.8589 (range: 0.8589 - 0.8589)
kld_loss: 0.1154 (range: 0.1154 - 0.1154)
reconstruction_loss: 0.8589 (range: 0.8589 - 0.8589)
archetype_r2: 0.0854 (range: 0.0854 - 0.0854)
Archetype Transform Summary:
archetype_transform_mean: -0.000021 (range: -0.000021 - -0.000021)
archetype_transform_std: 0.110422 (range: 0.110422 - 0.110422)
archetype_transform_norm: 7.884921 (range: 7.884921 - 7.884921)
archetype_transform_grad_norm: 0.288574 (range: 0.288574 - 0.288574)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0296, max=0.4599, mean=0.2000
Batch reconstruction MSE: 1.0079
Archetype stats: min=-13.2139, max=12.2291
Archetype change since last debug: 1.601976
Archetype gradients: norm=0.067900, mean=0.002889
Epoch 1/1
Average loss: 0.7816
Archetypal loss: 0.8559
KLD loss: 0.1135
Reconstruction loss: 0.8559
Archetype R²: 0.0888
Archetype transform grad norm: 0.273369
Archetype transform param norm: 7.8998
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.7816 (range: 0.7816 - 0.7816)
archetypal_loss: 0.8559 (range: 0.8559 - 0.8559)
kld_loss: 0.1135 (range: 0.1135 - 0.1135)
reconstruction_loss: 0.8559 (range: 0.8559 - 0.8559)
archetype_r2: 0.0888 (range: 0.0888 - 0.0888)
Archetype Transform Summary:
archetype_transform_mean: -0.000074 (range: -0.000074 - -0.000074)
archetype_transform_std: 0.110631 (range: 0.110631 - 0.110631)
archetype_transform_norm: 7.899848 (range: 7.899848 - 7.899848)
archetype_transform_grad_norm: 0.273369 (range: 0.273369 - 0.273369)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0273, max=0.4237, mean=0.2000
Batch reconstruction MSE: 0.9020
Archetype stats: min=-13.2593, max=12.4968
Archetype change since last debug: 0.988854
Archetype gradients: norm=0.025953, mean=0.001233
Epoch 1/1
Average loss: 0.7782
Archetypal loss: 0.8528
KLD loss: 0.1071
Reconstruction loss: 0.8528
Archetype R²: 0.0924
Archetype transform grad norm: 0.258079
Archetype transform param norm: 7.9494
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.7782 (range: 0.7782 - 0.7782)
archetypal_loss: 0.8528 (range: 0.8528 - 0.8528)
kld_loss: 0.1071 (range: 0.1071 - 0.1071)
reconstruction_loss: 0.8528 (range: 0.8528 - 0.8528)
archetype_r2: 0.0924 (range: 0.0924 - 0.0924)
Archetype Transform Summary:
archetype_transform_mean: -0.000056 (range: -0.000056 - -0.000056)
archetype_transform_std: 0.111325 (range: 0.111325 - 0.111325)
archetype_transform_norm: 7.949442 (range: 7.949442 - 7.949442)
archetype_transform_grad_norm: 0.258079 (range: 0.258079 - 0.258079)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0305, max=0.3969, mean=0.2000
Batch reconstruction MSE: 0.9080
Archetype stats: min=-13.6916, max=12.7008
Archetype change since last debug: 1.632428
Archetype gradients: norm=0.032741, mean=0.001243
Epoch 1/1
Average loss: 0.7778
Archetypal loss: 0.8528
KLD loss: 0.1030
Reconstruction loss: 0.8528
Archetype R²: 0.0923
Archetype transform grad norm: 0.261478
Archetype transform param norm: 7.9969
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.7778 (range: 0.7778 - 0.7778)
archetypal_loss: 0.8528 (range: 0.8528 - 0.8528)
kld_loss: 0.1030 (range: 0.1030 - 0.1030)
reconstruction_loss: 0.8528 (range: 0.8528 - 0.8528)
archetype_r2: 0.0923 (range: 0.0923 - 0.0923)
Archetype Transform Summary:
archetype_transform_mean: -0.000072 (range: -0.000072 - -0.000072)
archetype_transform_std: 0.111989 (range: 0.111989 - 0.111989)
archetype_transform_norm: 7.996865 (range: 7.996865 - 7.996865)
archetype_transform_grad_norm: 0.261478 (range: 0.261478 - 0.261478)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0319, max=0.4168, mean=0.2000
Batch reconstruction MSE: 0.9138
Archetype stats: min=-13.9084, max=13.0538
Archetype change since last debug: 1.379871
Archetype gradients: norm=0.025561, mean=0.001263
Epoch 1/1
Average loss: 0.7778
Archetypal loss: 0.8529
KLD loss: 0.1018
Reconstruction loss: 0.8529
Archetype R²: 0.0922
Archetype transform grad norm: 0.268062
Archetype transform param norm: 8.0405
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.7778 (range: 0.7778 - 0.7778)
archetypal_loss: 0.8529 (range: 0.8529 - 0.8529)
kld_loss: 0.1018 (range: 0.1018 - 0.1018)
reconstruction_loss: 0.8529 (range: 0.8529 - 0.8529)
archetype_r2: 0.0922 (range: 0.0922 - 0.0922)
Archetype Transform Summary:
archetype_transform_mean: -0.000066 (range: -0.000066 - -0.000066)
archetype_transform_std: 0.112601 (range: 0.112601 - 0.112601)
archetype_transform_norm: 8.040507 (range: 8.040507 - 8.040507)
archetype_transform_grad_norm: 0.268062 (range: 0.268062 - 0.268062)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0272, max=0.4875, mean=0.2000
Batch reconstruction MSE: 1.0188
Archetype stats: min=-14.3057, max=13.1476
Archetype change since last debug: 1.297634
Archetype gradients: norm=0.046704, mean=0.001782
Epoch 1/1
Average loss: 0.7801
Archetypal loss: 0.8554
KLD loss: 0.1026
Reconstruction loss: 0.8554
Archetype R²: 0.0892
Archetype transform grad norm: 0.272501
Archetype transform param norm: 8.0551
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.7801 (range: 0.7801 - 0.7801)
archetypal_loss: 0.8554 (range: 0.8554 - 0.8554)
kld_loss: 0.1026 (range: 0.1026 - 0.1026)
reconstruction_loss: 0.8554 (range: 0.8554 - 0.8554)
archetype_r2: 0.0892 (range: 0.0892 - 0.0892)
Archetype Transform Summary:
archetype_transform_mean: -0.000071 (range: -0.000071 - -0.000071)
archetype_transform_std: 0.112804 (range: 0.112804 - 0.112804)
archetype_transform_norm: 8.055051 (range: 8.055051 - 8.055051)
archetype_transform_grad_norm: 0.272501 (range: 0.272501 - 0.272501)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0309, max=0.4497, mean=0.2000
Batch reconstruction MSE: 1.0041
Archetype stats: min=-14.2804, max=13.3898
Archetype change since last debug: 0.924414
Archetype gradients: norm=0.053464, mean=0.002654
Epoch 1/1
Average loss: 0.7802
Archetypal loss: 0.8553
KLD loss: 0.1042
Reconstruction loss: 0.8553
Archetype R²: 0.0894
Archetype transform grad norm: 0.288720
Archetype transform param norm: 8.0678
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.7802 (range: 0.7802 - 0.7802)
archetypal_loss: 0.8553 (range: 0.8553 - 0.8553)
kld_loss: 0.1042 (range: 0.1042 - 0.1042)
reconstruction_loss: 0.8553 (range: 0.8553 - 0.8553)
archetype_r2: 0.0894 (range: 0.0894 - 0.0894)
Archetype Transform Summary:
archetype_transform_mean: -0.000082 (range: -0.000082 - -0.000082)
archetype_transform_std: 0.112982 (range: 0.112982 - 0.112982)
archetype_transform_norm: 8.067770 (range: 8.067770 - 8.067770)
archetype_transform_grad_norm: 0.288720 (range: 0.288720 - 0.288720)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0255, max=0.4459, mean=0.2000
Batch reconstruction MSE: 1.0698
Archetype stats: min=-14.6084, max=13.2245
Archetype change since last debug: 1.033965
Archetype gradients: norm=0.075735, mean=0.003145
Epoch 1/1
Average loss: 0.7814
Archetypal loss: 0.8566
KLD loss: 0.1041
Reconstruction loss: 0.8566
Archetype R²: 0.0879
Archetype transform grad norm: 0.294480
Archetype transform param norm: 8.0660
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.7814 (range: 0.7814 - 0.7814)
archetypal_loss: 0.8566 (range: 0.8566 - 0.8566)
kld_loss: 0.1041 (range: 0.1041 - 0.1041)
reconstruction_loss: 0.8566 (range: 0.8566 - 0.8566)
archetype_r2: 0.0879 (range: 0.0879 - 0.0879)
Archetype Transform Summary:
archetype_transform_mean: -0.000077 (range: -0.000077 - -0.000077)
archetype_transform_std: 0.112957 (range: 0.112957 - 0.112957)
archetype_transform_norm: 8.065965 (range: 8.065965 - 8.065965)
archetype_transform_grad_norm: 0.294480 (range: 0.294480 - 0.294480)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0327, max=0.4269, mean=0.2000
Batch reconstruction MSE: 1.0319
Archetype stats: min=-14.3993, max=13.4019
Archetype change since last debug: 1.356633
Archetype gradients: norm=0.071767, mean=0.003553
Epoch 1/1
Average loss: 0.7808
Archetypal loss: 0.8558
KLD loss: 0.1059
Reconstruction loss: 0.8558
Archetype R²: 0.0888
Archetype transform grad norm: 0.291807
Archetype transform param norm: 8.0717
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.7808 (range: 0.7808 - 0.7808)
archetypal_loss: 0.8558 (range: 0.8558 - 0.8558)
kld_loss: 0.1059 (range: 0.1059 - 0.1059)
reconstruction_loss: 0.8558 (range: 0.8558 - 0.8558)
archetype_r2: 0.0888 (range: 0.0888 - 0.0888)
Archetype Transform Summary:
archetype_transform_mean: -0.000121 (range: -0.000121 - -0.000121)
archetype_transform_std: 0.113037 (range: 0.113037 - 0.113037)
archetype_transform_norm: 8.071656 (range: 8.071656 - 8.071656)
archetype_transform_grad_norm: 0.291807 (range: 0.291807 - 0.291807)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0247, max=0.4302, mean=0.2000
Batch reconstruction MSE: 1.0147
Archetype stats: min=-14.7373, max=13.2298
Archetype change since last debug: 1.153362
Archetype gradients: norm=0.090335, mean=0.003489
Epoch 1/1
Average loss: 0.7795
Archetypal loss: 0.8548
KLD loss: 0.1019
Reconstruction loss: 0.8548
Archetype R²: 0.0899
Archetype transform grad norm: 0.285350
Archetype transform param norm: 8.0784
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.7795 (range: 0.7795 - 0.7795)
archetypal_loss: 0.8548 (range: 0.8548 - 0.8548)
kld_loss: 0.1019 (range: 0.1019 - 0.1019)
reconstruction_loss: 0.8548 (range: 0.8548 - 0.8548)
archetype_r2: 0.0899 (range: 0.0899 - 0.0899)
Archetype Transform Summary:
archetype_transform_mean: -0.000110 (range: -0.000110 - -0.000110)
archetype_transform_std: 0.113132 (range: 0.113132 - 0.113132)
archetype_transform_norm: 8.078445 (range: 8.078445 - 8.078445)
archetype_transform_grad_norm: 0.285350 (range: 0.285350 - 0.285350)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0325, max=0.4000, mean=0.2000
Batch reconstruction MSE: 0.9781
Archetype stats: min=-14.5950, max=13.4255
Archetype change since last debug: 0.978517
Archetype gradients: norm=0.062597, mean=0.002995
Epoch 1/1
Average loss: 0.7783
Archetypal loss: 0.8538
KLD loss: 0.0989
Reconstruction loss: 0.8538
Archetype R²: 0.0910
Archetype transform grad norm: 0.275561
Archetype transform param norm: 8.1022
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.7783 (range: 0.7783 - 0.7783)
archetypal_loss: 0.8538 (range: 0.8538 - 0.8538)
kld_loss: 0.0989 (range: 0.0989 - 0.0989)
reconstruction_loss: 0.8538 (range: 0.8538 - 0.8538)
archetype_r2: 0.0910 (range: 0.0910 - 0.0910)
Archetype Transform Summary:
archetype_transform_mean: -0.000114 (range: -0.000114 - -0.000114)
archetype_transform_std: 0.113465 (range: 0.113465 - 0.113465)
archetype_transform_norm: 8.102217 (range: 8.102217 - 8.102217)
archetype_transform_grad_norm: 0.275561 (range: 0.275561 - 0.275561)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0280, max=0.3650, mean=0.2000
Batch reconstruction MSE: 0.9256
Archetype stats: min=-14.8610, max=13.4108
Archetype change since last debug: 0.947017
Archetype gradients: norm=0.074681, mean=0.002574
Epoch 1/1
Average loss: 0.7768
Archetypal loss: 0.8523
KLD loss: 0.0973
Reconstruction loss: 0.8523
Archetype R²: 0.0928
Archetype transform grad norm: 0.272483
Archetype transform param norm: 8.1263
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.7768 (range: 0.7768 - 0.7768)
archetypal_loss: 0.8523 (range: 0.8523 - 0.8523)
kld_loss: 0.0973 (range: 0.0973 - 0.0973)
reconstruction_loss: 0.8523 (range: 0.8523 - 0.8523)
archetype_r2: 0.0928 (range: 0.0928 - 0.0928)
Archetype Transform Summary:
archetype_transform_mean: -0.000150 (range: -0.000150 - -0.000150)
archetype_transform_std: 0.113802 (range: 0.113802 - 0.113802)
archetype_transform_norm: 8.126283 (range: 8.126283 - 8.126283)
archetype_transform_grad_norm: 0.272483 (range: 0.272483 - 0.272483)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0306, max=0.3955, mean=0.2000
Batch reconstruction MSE: 0.9537
Archetype stats: min=-14.8371, max=13.6559
Archetype change since last debug: 1.247618
Archetype gradients: norm=0.058131, mean=0.002714
Epoch 1/1
Average loss: 0.7771
Archetypal loss: 0.8530
KLD loss: 0.0936
Reconstruction loss: 0.8530
Archetype R²: 0.0919
Archetype transform grad norm: 0.276501
Archetype transform param norm: 8.1553
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.7771 (range: 0.7771 - 0.7771)
archetypal_loss: 0.8530 (range: 0.8530 - 0.8530)
kld_loss: 0.0936 (range: 0.0936 - 0.0936)
reconstruction_loss: 0.8530 (range: 0.8530 - 0.8530)
archetype_r2: 0.0919 (range: 0.0919 - 0.0919)
Archetype Transform Summary:
archetype_transform_mean: -0.000123 (range: -0.000123 - -0.000123)
archetype_transform_std: 0.114208 (range: 0.114208 - 0.114208)
archetype_transform_norm: 8.155283 (range: 8.155283 - 8.155283)
archetype_transform_grad_norm: 0.276501 (range: 0.276501 - 0.276501)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0296, max=0.3726, mean=0.2000
Batch reconstruction MSE: 0.9207
Archetype stats: min=-15.0936, max=13.6667
Archetype change since last debug: 0.881011
Archetype gradients: norm=0.083048, mean=0.002930
Epoch 1/1
Average loss: 0.7763
Archetypal loss: 0.8521
KLD loss: 0.0947
Reconstruction loss: 0.8521
Archetype R²: 0.0930
Archetype transform grad norm: 0.276924
Archetype transform param norm: 8.1765
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.7763 (range: 0.7763 - 0.7763)
archetypal_loss: 0.8521 (range: 0.8521 - 0.8521)
kld_loss: 0.0947 (range: 0.0947 - 0.0947)
reconstruction_loss: 0.8521 (range: 0.8521 - 0.8521)
archetype_r2: 0.0930 (range: 0.0930 - 0.0930)
Archetype Transform Summary:
archetype_transform_mean: -0.000185 (range: -0.000185 - -0.000185)
archetype_transform_std: 0.114505 (range: 0.114505 - 0.114505)
archetype_transform_norm: 8.176515 (range: 8.176515 - 8.176515)
archetype_transform_grad_norm: 0.276924 (range: 0.276924 - 0.276924)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0308, max=0.3884, mean=0.2000
Batch reconstruction MSE: 1.0107
Archetype stats: min=-15.0269, max=13.8718
Archetype change since last debug: 1.186975
Archetype gradients: norm=0.073305, mean=0.003397
Epoch 1/1
Average loss: 0.7780
Archetypal loss: 0.8543
KLD loss: 0.0912
Reconstruction loss: 0.8543
Archetype R²: 0.0904
Archetype transform grad norm: 0.285948
Archetype transform param norm: 8.1892
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.7780 (range: 0.7780 - 0.7780)
archetypal_loss: 0.8543 (range: 0.8543 - 0.8543)
kld_loss: 0.0912 (range: 0.0912 - 0.0912)
reconstruction_loss: 0.8543 (range: 0.8543 - 0.8543)
archetype_r2: 0.0904 (range: 0.0904 - 0.0904)
Archetype Transform Summary:
archetype_transform_mean: -0.000097 (range: -0.000097 - -0.000097)
archetype_transform_std: 0.114683 (range: 0.114683 - 0.114683)
archetype_transform_norm: 8.189226 (range: 8.189226 - 8.189226)
archetype_transform_grad_norm: 0.285948 (range: 0.285948 - 0.285948)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0324, max=0.4073, mean=0.2000
Batch reconstruction MSE: 0.9839
Archetype stats: min=-15.1452, max=13.7605
Archetype change since last debug: 0.749054
Archetype gradients: norm=0.084167, mean=0.003705
Epoch 1/1
Average loss: 0.7777
Archetypal loss: 0.8534
KLD loss: 0.0966
Reconstruction loss: 0.8534
Archetype R²: 0.0915
Archetype transform grad norm: 0.281297
Archetype transform param norm: 8.1931
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.7777 (range: 0.7777 - 0.7777)
archetypal_loss: 0.8534 (range: 0.8534 - 0.8534)
kld_loss: 0.0966 (range: 0.0966 - 0.0966)
reconstruction_loss: 0.8534 (range: 0.8534 - 0.8534)
archetype_r2: 0.0915 (range: 0.0915 - 0.0915)
Archetype Transform Summary:
archetype_transform_mean: -0.000188 (range: -0.000188 - -0.000188)
archetype_transform_std: 0.114738 (range: 0.114738 - 0.114738)
archetype_transform_norm: 8.193149 (range: 8.193149 - 8.193149)
archetype_transform_grad_norm: 0.281297 (range: 0.281297 - 0.281297)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0280, max=0.4133, mean=0.2000
Batch reconstruction MSE: 1.0492
Archetype stats: min=-15.0280, max=13.9363
Archetype change since last debug: 0.794416
Archetype gradients: norm=0.085173, mean=0.004275
Epoch 1/1
Average loss: 0.7793
Archetypal loss: 0.8553
KLD loss: 0.0950
Reconstruction loss: 0.8553
Archetype R²: 0.0893
Archetype transform grad norm: 0.289617
Archetype transform param norm: 8.1932
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.7793 (range: 0.7793 - 0.7793)
archetypal_loss: 0.8553 (range: 0.8553 - 0.8553)
kld_loss: 0.0950 (range: 0.0950 - 0.0950)
reconstruction_loss: 0.8553 (range: 0.8553 - 0.8553)
archetype_r2: 0.0893 (range: 0.0893 - 0.0893)
Archetype Transform Summary:
archetype_transform_mean: -0.000022 (range: -0.000022 - -0.000022)
archetype_transform_std: 0.114740 (range: 0.114740 - 0.114740)
archetype_transform_norm: 8.193243 (range: 8.193243 - 8.193243)
archetype_transform_grad_norm: 0.289617 (range: 0.289617 - 0.289617)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0342, max=0.3803, mean=0.2000
Batch reconstruction MSE: 1.0393
Archetype stats: min=-15.1828, max=13.7172
Archetype change since last debug: 1.074246
Archetype gradients: norm=0.099119, mean=0.004611
Epoch 1/1
Average loss: 0.7790
Archetypal loss: 0.8547
KLD loss: 0.0974
Reconstruction loss: 0.8547
Archetype R²: 0.0900
Archetype transform grad norm: 0.290580
Archetype transform param norm: 8.1825
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.7790 (range: 0.7790 - 0.7790)
archetypal_loss: 0.8547 (range: 0.8547 - 0.8547)
kld_loss: 0.0974 (range: 0.0974 - 0.0974)
reconstruction_loss: 0.8547 (range: 0.8547 - 0.8547)
archetype_r2: 0.0900 (range: 0.0900 - 0.0900)
Archetype Transform Summary:
archetype_transform_mean: -0.000134 (range: -0.000134 - -0.000134)
archetype_transform_std: 0.114589 (range: 0.114589 - 0.114589)
archetype_transform_norm: 8.182492 (range: 8.182492 - 8.182492)
archetype_transform_grad_norm: 0.290580 (range: 0.290580 - 0.290580)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0272, max=0.3993, mean=0.2000
Batch reconstruction MSE: 0.9791
Archetype stats: min=-14.9862, max=13.8342
Archetype change since last debug: 0.941700
Archetype gradients: norm=0.064926, mean=0.003306
Epoch 1/1
Average loss: 0.7770
Archetypal loss: 0.8529
KLD loss: 0.0939
Reconstruction loss: 0.8529
Archetype R²: 0.0920
Archetype transform grad norm: 0.280294
Archetype transform param norm: 8.1952
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.7770 (range: 0.7770 - 0.7770)
archetypal_loss: 0.8529 (range: 0.8529 - 0.8529)
kld_loss: 0.0939 (range: 0.0939 - 0.0939)
reconstruction_loss: 0.8529 (range: 0.8529 - 0.8529)
archetype_r2: 0.0920 (range: 0.0920 - 0.0920)
Archetype Transform Summary:
archetype_transform_mean: -0.000003 (range: -0.000003 - -0.000003)
archetype_transform_std: 0.114767 (range: 0.114767 - 0.114767)
archetype_transform_norm: 8.195183 (range: 8.195183 - 8.195183)
archetype_transform_grad_norm: 0.280294 (range: 0.280294 - 0.280294)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0385, max=0.3580, mean=0.2000
Batch reconstruction MSE: 0.9409
Archetype stats: min=-15.2403, max=13.6541
Archetype change since last debug: 0.878761
Archetype gradients: norm=0.069928, mean=0.003113
Epoch 1/1
Average loss: 0.7761
Archetypal loss: 0.8522
KLD loss: 0.0915
Reconstruction loss: 0.8522
Archetype R²: 0.0929
Archetype transform grad norm: 0.283325
Archetype transform param norm: 8.2114
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.7761 (range: 0.7761 - 0.7761)
archetypal_loss: 0.8522 (range: 0.8522 - 0.8522)
kld_loss: 0.0915 (range: 0.0915 - 0.0915)
reconstruction_loss: 0.8522 (range: 0.8522 - 0.8522)
archetype_r2: 0.0929 (range: 0.0929 - 0.0929)
Archetype Transform Summary:
archetype_transform_mean: -0.000125 (range: -0.000125 - -0.000125)
archetype_transform_std: 0.114994 (range: 0.114994 - 0.114994)
archetype_transform_norm: 8.211414 (range: 8.211414 - 8.211414)
archetype_transform_grad_norm: 0.283325 (range: 0.283325 - 0.283325)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0321, max=0.3931, mean=0.2000
Batch reconstruction MSE: 0.9707
Archetype stats: min=-15.2494, max=13.8608
Archetype change since last debug: 0.946874
Archetype gradients: norm=0.047205, mean=0.002554
Epoch 1/1
Average loss: 0.7766
Archetypal loss: 0.8526
KLD loss: 0.0918
Reconstruction loss: 0.8526
Archetype R²: 0.0923
Archetype transform grad norm: 0.286031
Archetype transform param norm: 8.2329
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.7766 (range: 0.7766 - 0.7766)
archetypal_loss: 0.8526 (range: 0.8526 - 0.8526)
kld_loss: 0.0918 (range: 0.0918 - 0.0918)
reconstruction_loss: 0.8526 (range: 0.8526 - 0.8526)
archetype_r2: 0.0923 (range: 0.0923 - 0.0923)
Archetype Transform Summary:
archetype_transform_mean: -0.000018 (range: -0.000018 - -0.000018)
archetype_transform_std: 0.115295 (range: 0.115295 - 0.115295)
archetype_transform_norm: 8.232904 (range: 8.232904 - 8.232904)
archetype_transform_grad_norm: 0.286031 (range: 0.286031 - 0.286031)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0346, max=0.4381, mean=0.2000
Batch reconstruction MSE: 1.0294
Archetype stats: min=-15.5516, max=13.8058
Archetype change since last debug: 0.852879
Archetype gradients: norm=0.082832, mean=0.003495
Epoch 1/1
Average loss: 0.7779
Archetypal loss: 0.8541
KLD loss: 0.0918
Reconstruction loss: 0.8541
Archetype R²: 0.0906
Archetype transform grad norm: 0.286027
Archetype transform param norm: 8.2248
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.7779 (range: 0.7779 - 0.7779)
archetypal_loss: 0.8541 (range: 0.8541 - 0.8541)
kld_loss: 0.0918 (range: 0.0918 - 0.0918)
reconstruction_loss: 0.8541 (range: 0.8541 - 0.8541)
archetype_r2: 0.0906 (range: 0.0906 - 0.0906)
Archetype Transform Summary:
archetype_transform_mean: -0.000143 (range: -0.000143 - -0.000143)
archetype_transform_std: 0.115182 (range: 0.115182 - 0.115182)
archetype_transform_norm: 8.224809 (range: 8.224809 - 8.224809)
archetype_transform_grad_norm: 0.286027 (range: 0.286027 - 0.286027)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0356, max=0.3912, mean=0.2000
Batch reconstruction MSE: 1.0285
Archetype stats: min=-15.3681, max=14.0020
Archetype change since last debug: 0.901165
Archetype gradients: norm=0.053901, mean=0.002837
Epoch 1/1
Average loss: 0.7778
Archetypal loss: 0.8538
KLD loss: 0.0944
Reconstruction loss: 0.8538
Archetype R²: 0.0910
Archetype transform grad norm: 0.292621
Archetype transform param norm: 8.2349
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.7778 (range: 0.7778 - 0.7778)
archetypal_loss: 0.8538 (range: 0.8538 - 0.8538)
kld_loss: 0.0944 (range: 0.0944 - 0.0944)
reconstruction_loss: 0.8538 (range: 0.8538 - 0.8538)
archetype_r2: 0.0910 (range: 0.0910 - 0.0910)
Archetype Transform Summary:
archetype_transform_mean: -0.000026 (range: -0.000026 - -0.000026)
archetype_transform_std: 0.115323 (range: 0.115323 - 0.115323)
archetype_transform_norm: 8.234910 (range: 8.234910 - 8.234910)
archetype_transform_grad_norm: 0.292621 (range: 0.292621 - 0.292621)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0298, max=0.3886, mean=0.2000
Batch reconstruction MSE: 1.0116
Archetype stats: min=-15.6044, max=13.8312
Archetype change since last debug: 1.026571
Archetype gradients: norm=0.067856, mean=0.002760
Epoch 1/1
Average loss: 0.7771
Archetypal loss: 0.8532
KLD loss: 0.0918
Reconstruction loss: 0.8532
Archetype R²: 0.0916
Archetype transform grad norm: 0.276823
Archetype transform param norm: 8.2274
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.7771 (range: 0.7771 - 0.7771)
archetypal_loss: 0.8532 (range: 0.8532 - 0.8532)
kld_loss: 0.0918 (range: 0.0918 - 0.0918)
reconstruction_loss: 0.8532 (range: 0.8532 - 0.8532)
archetype_r2: 0.0916 (range: 0.0916 - 0.0916)
Archetype Transform Summary:
archetype_transform_mean: -0.000129 (range: -0.000129 - -0.000129)
archetype_transform_std: 0.115218 (range: 0.115218 - 0.115218)
archetype_transform_norm: 8.227400 (range: 8.227400 - 8.227400)
archetype_transform_grad_norm: 0.276823 (range: 0.276823 - 0.276823)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0376, max=0.3756, mean=0.2000
Batch reconstruction MSE: 0.9177
Archetype stats: min=-15.4290, max=14.0172
Archetype change since last debug: 0.708922
Archetype gradients: norm=0.036020, mean=0.001875
Epoch 1/1
Average loss: 0.7748
Archetypal loss: 0.8507
KLD loss: 0.0920
Reconstruction loss: 0.8507
Archetype R²: 0.0945
Archetype transform grad norm: 0.277497
Archetype transform param norm: 8.2586
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.7748 (range: 0.7748 - 0.7748)
archetypal_loss: 0.8507 (range: 0.8507 - 0.8507)
kld_loss: 0.0920 (range: 0.0920 - 0.0920)
reconstruction_loss: 0.8507 (range: 0.8507 - 0.8507)
archetype_r2: 0.0945 (range: 0.0945 - 0.0945)
Archetype Transform Summary:
archetype_transform_mean: -0.000056 (range: -0.000056 - -0.000056)
archetype_transform_std: 0.115655 (range: 0.115655 - 0.115655)
archetype_transform_norm: 8.258593 (range: 8.258593 - 8.258593)
archetype_transform_grad_norm: 0.277497 (range: 0.277497 - 0.277497)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0292, max=0.4088, mean=0.2000
Batch reconstruction MSE: 0.9003
Archetype stats: min=-15.7649, max=14.0797
Archetype change since last debug: 1.021653
Archetype gradients: norm=0.049850, mean=0.001921
Epoch 1/1
Average loss: 0.7741
Archetypal loss: 0.8504
KLD loss: 0.0871
Reconstruction loss: 0.8504
Archetype R²: 0.0949
Archetype transform grad norm: 0.275015
Archetype transform param norm: 8.2831
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.7741 (range: 0.7741 - 0.7741)
archetypal_loss: 0.8504 (range: 0.8504 - 0.8504)
kld_loss: 0.0871 (range: 0.0871 - 0.0871)
reconstruction_loss: 0.8504 (range: 0.8504 - 0.8504)
archetype_r2: 0.0949 (range: 0.0949 - 0.0949)
Archetype Transform Summary:
archetype_transform_mean: -0.000121 (range: -0.000121 - -0.000121)
archetype_transform_std: 0.115998 (range: 0.115998 - 0.115998)
archetype_transform_norm: 8.283093 (range: 8.283093 - 8.283093)
archetype_transform_grad_norm: 0.275015 (range: 0.275015 - 0.275015)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0351, max=0.3740, mean=0.2000
Batch reconstruction MSE: 0.8781
Archetype stats: min=-15.8376, max=14.3320
Archetype change since last debug: 1.050745
Archetype gradients: norm=0.036801, mean=0.001640
Epoch 1/1
Average loss: 0.7733
Archetypal loss: 0.8496
KLD loss: 0.0859
Reconstruction loss: 0.8496
Archetype R²: 0.0957
Archetype transform grad norm: 0.278530
Archetype transform param norm: 8.3256
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.7733 (range: 0.7733 - 0.7733)
archetypal_loss: 0.8496 (range: 0.8496 - 0.8496)
kld_loss: 0.0859 (range: 0.0859 - 0.0859)
reconstruction_loss: 0.8496 (range: 0.8496 - 0.8496)
archetype_r2: 0.0957 (range: 0.0957 - 0.0957)
Archetype Transform Summary:
archetype_transform_mean: -0.000078 (range: -0.000078 - -0.000078)
archetype_transform_std: 0.116594 (range: 0.116594 - 0.116594)
archetype_transform_norm: 8.325632 (range: 8.325632 - 8.325632)
archetype_transform_grad_norm: 0.278530 (range: 0.278530 - 0.278530)
Fold 3/3
Model input_dim: 50 (auto-detected from data)
Archetypes parameter registered: True
Archetypes requires_grad: True
Deep_AA (Deep Archetypal Analysis) initialized:
- Single-stage architecture (like Deep_2)
- Inflation factor: 1.5
- Direct archetypal coordinates (no bottleneck)
Consolidated Archetype Initialization
PCHA: True, Inflation: True (factor: 1.5)
Test inflation: False
Running PCHA initialization...
Input shape: (128, 50)
Target archetypes: 5
Running PCHA with 5 archetypes...
Data shape for PCHA: (50, 128)
PCHA Results:
Archetypes shape: (5, 50)
Archetype R²: 0.2141
SSE: 4491.1002
PCHA archetype R²: 0.2141
Archetype shape: (5, 50)
[OK] Initialized 5 archetypes using PCHA
Scalar Archetypal Inflation (factor: 1.50)
[OK] Inflation complete
[STATS] Positioning verification:
Data radius (max): 17.464
Data radius (mean): 6.150
Archetype distances: 3.655 to 24.275
Archetypes outside data: 2/5
Min archetype separation: 6.619
[OK] Archetype initialization complete (success: True)
[OK] Archetype initialization complete (PCHA: True, Inflation: 1.5)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0015, max=0.8659, mean=0.2000
Batch reconstruction MSE: 1.0215
Archetype stats: min=-2.6651, max=1.4511
Archetype gradients: norm=0.021706, mean=0.001020
Epoch 1/1
Average loss: 0.8967
Archetypal loss: 0.9914
KLD loss: 0.0444
Reconstruction loss: 0.9914
Archetype R²: -0.0188
Archetype transform grad norm: 0.225654
Archetype transform param norm: 5.8054
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.8967 (range: 0.8967 - 0.8967)
archetypal_loss: 0.9914 (range: 0.9914 - 0.9914)
kld_loss: 0.0444 (range: 0.0444 - 0.0444)
reconstruction_loss: 0.9914 (range: 0.9914 - 0.9914)
archetype_r2: -0.0188 (range: -0.0188 - -0.0188)
Archetype Transform Summary:
archetype_transform_mean: -0.001773 (range: -0.001773 - -0.001773)
archetype_transform_std: 0.081281 (range: 0.081281 - 0.081281)
archetype_transform_norm: 5.805441 (range: 5.805441 - 5.805441)
archetype_transform_grad_norm: 0.225654 (range: 0.225654 - 0.225654)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0037, max=0.8697, mean=0.2000
Batch reconstruction MSE: 0.8596
Archetype stats: min=-1.5266, max=1.1499
Archetype change since last debug: 6.744623
Archetype gradients: norm=0.003849, mean=0.000182
Epoch 1/1
Average loss: 0.8784
Archetypal loss: 0.9698
KLD loss: 0.0560
Reconstruction loss: 0.9698
Archetype R²: 0.0037
Archetype transform grad norm: 0.154074
Archetype transform param norm: 5.8241
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.8784 (range: 0.8784 - 0.8784)
archetypal_loss: 0.9698 (range: 0.9698 - 0.9698)
kld_loss: 0.0560 (range: 0.0560 - 0.0560)
reconstruction_loss: 0.9698 (range: 0.9698 - 0.9698)
archetype_r2: 0.0037 (range: 0.0037 - 0.0037)
Archetype Transform Summary:
archetype_transform_mean: -0.001784 (range: -0.001784 - -0.001784)
archetype_transform_std: 0.081542 (range: 0.081542 - 0.081542)
archetype_transform_norm: 5.824089 (range: 5.824089 - 5.824089)
archetype_transform_grad_norm: 0.154074 (range: 0.154074 - 0.154074)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0053, max=0.8431, mean=0.2000
Batch reconstruction MSE: 0.8750
Archetype stats: min=-2.1655, max=1.7277
Archetype change since last debug: 3.670420
Archetype gradients: norm=0.005382, mean=0.000235
Epoch 1/1
Average loss: 0.8695
Archetypal loss: 0.9564
KLD loss: 0.0872
Reconstruction loss: 0.9564
Archetype R²: 0.0175
Archetype transform grad norm: 0.178584
Archetype transform param norm: 5.9223
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.8695 (range: 0.8695 - 0.8695)
archetypal_loss: 0.9564 (range: 0.9564 - 0.9564)
kld_loss: 0.0872 (range: 0.0872 - 0.0872)
reconstruction_loss: 0.9564 (range: 0.9564 - 0.9564)
archetype_r2: 0.0175 (range: 0.0175 - 0.0175)
Archetype Transform Summary:
archetype_transform_mean: -0.001413 (range: -0.001413 - -0.001413)
archetype_transform_std: 0.082925 (range: 0.082925 - 0.082925)
archetype_transform_norm: 5.922297 (range: 5.922297 - 5.922297)
archetype_transform_grad_norm: 0.178584 (range: 0.178584 - 0.178584)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0040, max=0.8603, mean=0.2000
Batch reconstruction MSE: 0.9059
Archetype stats: min=-3.3822, max=2.9473
Archetype change since last debug: 6.055868
Archetype gradients: norm=0.008390, mean=0.000375
Epoch 1/1
Average loss: 0.8577
Archetypal loss: 0.9401
KLD loss: 0.1156
Reconstruction loss: 0.9401
Archetype R²: 0.0342
Archetype transform grad norm: 0.198883
Archetype transform param norm: 6.1199
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.8577 (range: 0.8577 - 0.8577)
archetypal_loss: 0.9401 (range: 0.9401 - 0.9401)
kld_loss: 0.1156 (range: 0.1156 - 0.1156)
reconstruction_loss: 0.9401 (range: 0.9401 - 0.9401)
archetype_r2: 0.0342 (range: 0.0342 - 0.0342)
Archetype Transform Summary:
archetype_transform_mean: -0.001123 (range: -0.001123 - -0.001123)
archetype_transform_std: 0.085697 (range: 0.085697 - 0.085697)
archetype_transform_norm: 6.119949 (range: 6.119949 - 6.119949)
archetype_transform_grad_norm: 0.198883 (range: 0.198883 - 0.198883)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0035, max=0.8967, mean=0.2000
Batch reconstruction MSE: 0.9328
Archetype stats: min=-5.8484, max=4.8567
Archetype change since last debug: 7.459946
Archetype gradients: norm=0.015591, mean=0.000717
Epoch 1/1
Average loss: 0.8450
Archetypal loss: 0.9244
KLD loss: 0.1311
Reconstruction loss: 0.9244
Archetype R²: 0.0504
Archetype transform grad norm: 0.213824
Archetype transform param norm: 6.3837
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.8450 (range: 0.8450 - 0.8450)
archetypal_loss: 0.9244 (range: 0.9244 - 0.9244)
kld_loss: 0.1311 (range: 0.1311 - 0.1311)
reconstruction_loss: 0.9244 (range: 0.9244 - 0.9244)
archetype_r2: 0.0504 (range: 0.0504 - 0.0504)
Archetype Transform Summary:
archetype_transform_mean: -0.001216 (range: -0.001216 - -0.001216)
archetype_transform_std: 0.089390 (range: 0.089390 - 0.089390)
archetype_transform_norm: 6.383715 (range: 6.383715 - 6.383715)
archetype_transform_grad_norm: 0.213824 (range: 0.213824 - 0.213824)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0039, max=0.8560, mean=0.2000
Batch reconstruction MSE: 0.9725
Archetype stats: min=-8.3041, max=6.6371
Archetype change since last debug: 7.463617
Archetype gradients: norm=0.021988, mean=0.000970
Epoch 1/1
Average loss: 0.8369
Archetypal loss: 0.9162
KLD loss: 0.1238
Reconstruction loss: 0.9162
Archetype R²: 0.0587
Archetype transform grad norm: 0.230825
Archetype transform param norm: 6.6264
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.8369 (range: 0.8369 - 0.8369)
archetypal_loss: 0.9162 (range: 0.9162 - 0.9162)
kld_loss: 0.1238 (range: 0.1238 - 0.1238)
reconstruction_loss: 0.9162 (range: 0.9162 - 0.9162)
archetype_r2: 0.0587 (range: 0.0587 - 0.0587)
Archetype Transform Summary:
archetype_transform_mean: -0.001380 (range: -0.001380 - -0.001380)
archetype_transform_std: 0.092788 (range: 0.092788 - 0.092788)
archetype_transform_norm: 6.626443 (range: 6.626443 - 6.626443)
archetype_transform_grad_norm: 0.230825 (range: 0.230825 - 0.230825)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0040, max=0.9329, mean=0.2000
Batch reconstruction MSE: 0.9765
Archetype stats: min=-9.8995, max=7.9164
Archetype change since last debug: 5.698006
Archetype gradients: norm=0.022428, mean=0.001060
Epoch 1/1
Average loss: 0.8317
Archetypal loss: 0.9104
KLD loss: 0.1236
Reconstruction loss: 0.9104
Archetype R²: 0.0647
Archetype transform grad norm: 0.239826
Archetype transform param norm: 6.8322
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.8317 (range: 0.8317 - 0.8317)
archetypal_loss: 0.9104 (range: 0.9104 - 0.9104)
kld_loss: 0.1236 (range: 0.1236 - 0.1236)
reconstruction_loss: 0.9104 (range: 0.9104 - 0.9104)
archetype_r2: 0.0647 (range: 0.0647 - 0.0647)
Archetype Transform Summary:
archetype_transform_mean: -0.001513 (range: -0.001513 - -0.001513)
archetype_transform_std: 0.095668 (range: 0.095668 - 0.095668)
archetype_transform_norm: 6.832228 (range: 6.832228 - 6.832228)
archetype_transform_grad_norm: 0.239826 (range: 0.239826 - 0.239826)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0042, max=0.8577, mean=0.2000
Batch reconstruction MSE: 1.0259
Archetype stats: min=-11.2186, max=8.7505
Archetype change since last debug: 4.746328
Archetype gradients: norm=0.032223, mean=0.001381
Epoch 1/1
Average loss: 0.8276
Archetypal loss: 0.9045
KLD loss: 0.1358
Reconstruction loss: 0.9045
Archetype R²: 0.0707
Archetype transform grad norm: 0.259068
Archetype transform param norm: 7.0355
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.8276 (range: 0.8276 - 0.8276)
archetypal_loss: 0.9045 (range: 0.9045 - 0.9045)
kld_loss: 0.1358 (range: 0.1358 - 0.1358)
reconstruction_loss: 0.9045 (range: 0.9045 - 0.9045)
archetype_r2: 0.0707 (range: 0.0707 - 0.0707)
Archetype Transform Summary:
archetype_transform_mean: -0.001554 (range: -0.001554 - -0.001554)
archetype_transform_std: 0.098515 (range: 0.098515 - 0.098515)
archetype_transform_norm: 7.035546 (range: 7.035546 - 7.035546)
archetype_transform_grad_norm: 0.259068 (range: 0.259068 - 0.259068)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0044, max=0.8656, mean=0.2000
Batch reconstruction MSE: 1.0439
Archetype stats: min=-11.5060, max=9.0124
Archetype change since last debug: 4.808419
Archetype gradients: norm=0.058841, mean=0.002435
Epoch 1/1
Average loss: 0.8229
Archetypal loss: 0.8988
KLD loss: 0.1398
Reconstruction loss: 0.8988
Archetype R²: 0.0764
Archetype transform grad norm: 0.254546
Archetype transform param norm: 7.2139
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.8229 (range: 0.8229 - 0.8229)
archetypal_loss: 0.8988 (range: 0.8988 - 0.8988)
kld_loss: 0.1398 (range: 0.1398 - 0.1398)
reconstruction_loss: 0.8988 (range: 0.8988 - 0.8988)
archetype_r2: 0.0764 (range: 0.0764 - 0.0764)
Archetype Transform Summary:
archetype_transform_mean: -0.001606 (range: -0.001606 - -0.001606)
archetype_transform_std: 0.101011 (range: 0.101011 - 0.101011)
archetype_transform_norm: 7.213868 (range: 7.213868 - 7.213868)
archetype_transform_grad_norm: 0.254546 (range: 0.254546 - 0.254546)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0051, max=0.7500, mean=0.2000
Batch reconstruction MSE: 1.0177
Archetype stats: min=-12.3770, max=9.5102
Archetype change since last debug: 3.653929
Archetype gradients: norm=0.042177, mean=0.001732
Epoch 1/1
Average loss: 0.8183
Archetypal loss: 0.8951
KLD loss: 0.1274
Reconstruction loss: 0.8951
Archetype R²: 0.0803
Archetype transform grad norm: 0.260183
Archetype transform param norm: 7.3710
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.8183 (range: 0.8183 - 0.8183)
archetypal_loss: 0.8951 (range: 0.8951 - 0.8951)
kld_loss: 0.1274 (range: 0.1274 - 0.1274)
reconstruction_loss: 0.8951 (range: 0.8951 - 0.8951)
archetype_r2: 0.0803 (range: 0.0803 - 0.0803)
Archetype Transform Summary:
archetype_transform_mean: -0.001545 (range: -0.001545 - -0.001545)
archetype_transform_std: 0.103213 (range: 0.103213 - 0.103213)
archetype_transform_norm: 7.370956 (range: 7.370956 - 7.370956)
archetype_transform_grad_norm: 0.260183 (range: 0.260183 - 0.260183)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0064, max=0.6800, mean=0.2000
Batch reconstruction MSE: 1.0001
Archetype stats: min=-12.8981, max=9.8710
Archetype change since last debug: 3.346763
Archetype gradients: norm=0.050523, mean=0.002051
Epoch 1/1
Average loss: 0.8159
Archetypal loss: 0.8928
KLD loss: 0.1238
Reconstruction loss: 0.8928
Archetype R²: 0.0827
Archetype transform grad norm: 0.258798
Archetype transform param norm: 7.4942
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.8159 (range: 0.8159 - 0.8159)
archetypal_loss: 0.8928 (range: 0.8928 - 0.8928)
kld_loss: 0.1238 (range: 0.1238 - 0.1238)
reconstruction_loss: 0.8928 (range: 0.8928 - 0.8928)
archetype_r2: 0.0827 (range: 0.0827 - 0.0827)
Archetype Transform Summary:
archetype_transform_mean: -0.001581 (range: -0.001581 - -0.001581)
archetype_transform_std: 0.104938 (range: 0.104938 - 0.104938)
archetype_transform_norm: 7.494221 (range: 7.494221 - 7.494221)
archetype_transform_grad_norm: 0.258798 (range: 0.258798 - 0.258798)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0075, max=0.5018, mean=0.2000
Batch reconstruction MSE: 1.0345
Archetype stats: min=-13.7024, max=10.2683
Archetype change since last debug: 2.914817
Archetype gradients: norm=0.040597, mean=0.002018
Epoch 1/1
Average loss: 0.8152
Archetypal loss: 0.8926
KLD loss: 0.1185
Reconstruction loss: 0.8926
Archetype R²: 0.0827
Archetype transform grad norm: 0.273820
Archetype transform param norm: 7.5953
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.8152 (range: 0.8152 - 0.8152)
archetypal_loss: 0.8926 (range: 0.8926 - 0.8926)
kld_loss: 0.1185 (range: 0.1185 - 0.1185)
reconstruction_loss: 0.8926 (range: 0.8926 - 0.8926)
archetype_r2: 0.0827 (range: 0.0827 - 0.0827)
Archetype Transform Summary:
archetype_transform_mean: -0.001482 (range: -0.001482 - -0.001482)
archetype_transform_std: 0.106356 (range: 0.106356 - 0.106356)
archetype_transform_norm: 7.595350 (range: 7.595350 - 7.595350)
archetype_transform_grad_norm: 0.273820 (range: 0.273820 - 0.273820)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0063, max=0.5813, mean=0.2000
Batch reconstruction MSE: 1.0475
Archetype stats: min=-14.0693, max=10.3900
Archetype change since last debug: 2.350663
Archetype gradients: norm=0.063212, mean=0.002718
Epoch 1/1
Average loss: 0.8147
Archetypal loss: 0.8918
KLD loss: 0.1205
Reconstruction loss: 0.8918
Archetype R²: 0.0835
Archetype transform grad norm: 0.270704
Archetype transform param norm: 7.6644
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.8147 (range: 0.8147 - 0.8147)
archetypal_loss: 0.8918 (range: 0.8918 - 0.8918)
kld_loss: 0.1205 (range: 0.1205 - 0.1205)
reconstruction_loss: 0.8918 (range: 0.8918 - 0.8918)
archetype_r2: 0.0835 (range: 0.0835 - 0.0835)
Archetype Transform Summary:
archetype_transform_mean: -0.001589 (range: -0.001589 - -0.001589)
archetype_transform_std: 0.107322 (range: 0.107322 - 0.107322)
archetype_transform_norm: 7.664426 (range: 7.664426 - 7.664426)
archetype_transform_grad_norm: 0.270704 (range: 0.270704 - 0.270704)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0111, max=0.4543, mean=0.2000
Batch reconstruction MSE: 1.0135
Archetype stats: min=-14.3723, max=10.4831
Archetype change since last debug: 1.815717
Archetype gradients: norm=0.045643, mean=0.001926
Epoch 1/1
Average loss: 0.8130
Archetypal loss: 0.8904
KLD loss: 0.1161
Reconstruction loss: 0.8904
Archetype R²: 0.0850
Archetype transform grad norm: 0.278100
Archetype transform param norm: 7.7344
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.8130 (range: 0.8130 - 0.8130)
archetypal_loss: 0.8904 (range: 0.8904 - 0.8904)
kld_loss: 0.1161 (range: 0.1161 - 0.1161)
reconstruction_loss: 0.8904 (range: 0.8904 - 0.8904)
archetype_r2: 0.0850 (range: 0.0850 - 0.0850)
Archetype Transform Summary:
archetype_transform_mean: -0.001514 (range: -0.001514 - -0.001514)
archetype_transform_std: 0.108304 (range: 0.108304 - 0.108304)
archetype_transform_norm: 7.734445 (range: 7.734445 - 7.734445)
archetype_transform_grad_norm: 0.278100 (range: 0.278100 - 0.278100)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0083, max=0.5783, mean=0.2000
Batch reconstruction MSE: 1.0194
Archetype stats: min=-14.7437, max=10.3949
Archetype change since last debug: 2.026941
Archetype gradients: norm=0.055848, mean=0.002712
Epoch 1/1
Average loss: 0.8125
Archetypal loss: 0.8898
KLD loss: 0.1164
Reconstruction loss: 0.8898
Archetype R²: 0.0855
Archetype transform grad norm: 0.280733
Archetype transform param norm: 7.7964
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.8125 (range: 0.8125 - 0.8125)
archetypal_loss: 0.8898 (range: 0.8898 - 0.8898)
kld_loss: 0.1164 (range: 0.1164 - 0.1164)
reconstruction_loss: 0.8898 (range: 0.8898 - 0.8898)
archetype_r2: 0.0855 (range: 0.0855 - 0.0855)
Archetype Transform Summary:
archetype_transform_mean: -0.001594 (range: -0.001594 - -0.001594)
archetype_transform_std: 0.109171 (range: 0.109171 - 0.109171)
archetype_transform_norm: 7.796431 (range: 7.796431 - 7.796431)
archetype_transform_grad_norm: 0.280733 (range: 0.280733 - 0.280733)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0113, max=0.4362, mean=0.2000
Batch reconstruction MSE: 0.9525
Archetype stats: min=-14.7283, max=10.4618
Archetype change since last debug: 1.671155
Archetype gradients: norm=0.043574, mean=0.001837
Epoch 1/1
Average loss: 0.8099
Archetypal loss: 0.8875
KLD loss: 0.1113
Reconstruction loss: 0.8875
Archetype R²: 0.0881
Archetype transform grad norm: 0.282324
Archetype transform param norm: 7.8644
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.8099 (range: 0.8099 - 0.8099)
archetypal_loss: 0.8875 (range: 0.8875 - 0.8875)
kld_loss: 0.1113 (range: 0.1113 - 0.1113)
reconstruction_loss: 0.8875 (range: 0.8875 - 0.8875)
archetype_r2: 0.0881 (range: 0.0881 - 0.0881)
Archetype Transform Summary:
archetype_transform_mean: -0.001513 (range: -0.001513 - -0.001513)
archetype_transform_std: 0.110125 (range: 0.110125 - 0.110125)
archetype_transform_norm: 7.864444 (range: 7.864444 - 7.864444)
archetype_transform_grad_norm: 0.282324 (range: 0.282324 - 0.282324)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0085, max=0.5208, mean=0.2000
Batch reconstruction MSE: 0.9894
Archetype stats: min=-15.2873, max=10.4866
Archetype change since last debug: 2.059916
Archetype gradients: norm=0.049886, mean=0.002572
Epoch 1/1
Average loss: 0.8103
Archetypal loss: 0.8881
KLD loss: 0.1106
Reconstruction loss: 0.8881
Archetype R²: 0.0873
Archetype transform grad norm: 0.292839
Archetype transform param norm: 7.9221
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.8103 (range: 0.8103 - 0.8103)
archetypal_loss: 0.8881 (range: 0.8881 - 0.8881)
kld_loss: 0.1106 (range: 0.1106 - 0.1106)
reconstruction_loss: 0.8881 (range: 0.8881 - 0.8881)
archetype_r2: 0.0873 (range: 0.0873 - 0.0873)
Archetype Transform Summary:
archetype_transform_mean: -0.001559 (range: -0.001559 - -0.001559)
archetype_transform_std: 0.110932 (range: 0.110932 - 0.110932)
archetype_transform_norm: 7.922106 (range: 7.922106 - 7.922106)
archetype_transform_grad_norm: 0.292839 (range: 0.292839 - 0.292839)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0100, max=0.3995, mean=0.2000
Batch reconstruction MSE: 1.0257
Archetype stats: min=-15.0708, max=10.5984
Archetype change since last debug: 1.609692
Archetype gradients: norm=0.056857, mean=0.002608
Epoch 1/1
Average loss: 0.8105
Archetypal loss: 0.8884
KLD loss: 0.1089
Reconstruction loss: 0.8884
Archetype R²: 0.0868
Archetype transform grad norm: 0.288123
Archetype transform param norm: 7.9605
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.8105 (range: 0.8105 - 0.8105)
archetypal_loss: 0.8884 (range: 0.8884 - 0.8884)
kld_loss: 0.1089 (range: 0.1089 - 0.1089)
reconstruction_loss: 0.8884 (range: 0.8884 - 0.8884)
archetype_r2: 0.0868 (range: 0.0868 - 0.0868)
Archetype Transform Summary:
archetype_transform_mean: -0.001509 (range: -0.001509 - -0.001509)
archetype_transform_std: 0.111470 (range: 0.111470 - 0.111470)
archetype_transform_norm: 7.960482 (range: 7.960482 - 7.960482)
archetype_transform_grad_norm: 0.288123 (range: 0.288123 - 0.288123)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0097, max=0.4947, mean=0.2000
Batch reconstruction MSE: 1.0293
Archetype stats: min=-15.3922, max=10.3696
Archetype change since last debug: 1.570462
Archetype gradients: norm=0.054742, mean=0.002776
Epoch 1/1
Average loss: 0.8105
Archetypal loss: 0.8883
KLD loss: 0.1106
Reconstruction loss: 0.8883
Archetype R²: 0.0869
Archetype transform grad norm: 0.293030
Archetype transform param norm: 7.9925
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.8105 (range: 0.8105 - 0.8105)
archetypal_loss: 0.8883 (range: 0.8883 - 0.8883)
kld_loss: 0.1106 (range: 0.1106 - 0.1106)
reconstruction_loss: 0.8883 (range: 0.8883 - 0.8883)
archetype_r2: 0.0869 (range: 0.0869 - 0.0869)
Archetype Transform Summary:
archetype_transform_mean: -0.001593 (range: -0.001593 - -0.001593)
archetype_transform_std: 0.111917 (range: 0.111917 - 0.111917)
archetype_transform_norm: 7.992488 (range: 7.992488 - 7.992488)
archetype_transform_grad_norm: 0.293030 (range: 0.293030 - 0.293030)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0095, max=0.5266, mean=0.2000
Batch reconstruction MSE: 1.0149
Archetype stats: min=-14.9863, max=10.5047
Archetype change since last debug: 1.419197
Archetype gradients: norm=0.053157, mean=0.002471
Epoch 1/1
Average loss: 0.8090
Archetypal loss: 0.8872
KLD loss: 0.1058
Reconstruction loss: 0.8872
Archetype R²: 0.0881
Archetype transform grad norm: 0.276378
Archetype transform param norm: 8.0185
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.8090 (range: 0.8090 - 0.8090)
archetypal_loss: 0.8872 (range: 0.8872 - 0.8872)
kld_loss: 0.1058 (range: 0.1058 - 0.1058)
reconstruction_loss: 0.8872 (range: 0.8872 - 0.8872)
archetype_r2: 0.0881 (range: 0.0881 - 0.0881)
Archetype Transform Summary:
archetype_transform_mean: -0.001533 (range: -0.001533 - -0.001533)
archetype_transform_std: 0.112283 (range: 0.112283 - 0.112283)
archetype_transform_norm: 8.018539 (range: 8.018539 - 8.018539)
archetype_transform_grad_norm: 0.276378 (range: 0.276378 - 0.276378)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0121, max=0.4519, mean=0.2000
Batch reconstruction MSE: 0.9402
Archetype stats: min=-15.3973, max=10.4835
Archetype change since last debug: 1.338678
Archetype gradients: norm=0.028021, mean=0.001133
Epoch 1/1
Average loss: 0.8070
Archetypal loss: 0.8849
KLD loss: 0.1055
Reconstruction loss: 0.8849
Archetype R²: 0.0905
Archetype transform grad norm: 0.276907
Archetype transform param norm: 8.0697
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.8070 (range: 0.8070 - 0.8070)
archetypal_loss: 0.8849 (range: 0.8849 - 0.8849)
kld_loss: 0.1055 (range: 0.1055 - 0.1055)
reconstruction_loss: 0.8849 (range: 0.8849 - 0.8849)
archetype_r2: 0.0905 (range: 0.0905 - 0.0905)
Archetype Transform Summary:
archetype_transform_mean: -0.001571 (range: -0.001571 - -0.001571)
archetype_transform_std: 0.112998 (range: 0.112998 - 0.112998)
archetype_transform_norm: 8.069654 (range: 8.069654 - 8.069654)
archetype_transform_grad_norm: 0.276907 (range: 0.276907 - 0.276907)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0100, max=0.4683, mean=0.2000
Batch reconstruction MSE: 0.9353
Archetype stats: min=-15.5611, max=10.8302
Archetype change since last debug: 1.558584
Archetype gradients: norm=0.044684, mean=0.001907
Epoch 1/1
Average loss: 0.8061
Archetypal loss: 0.8845
KLD loss: 0.1012
Reconstruction loss: 0.8845
Archetype R²: 0.0910
Archetype transform grad norm: 0.272324
Archetype transform param norm: 8.1120
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.8061 (range: 0.8061 - 0.8061)
archetypal_loss: 0.8845 (range: 0.8845 - 0.8845)
kld_loss: 0.1012 (range: 0.1012 - 0.1012)
reconstruction_loss: 0.8845 (range: 0.8845 - 0.8845)
archetype_r2: 0.0910 (range: 0.0910 - 0.0910)
Archetype Transform Summary:
archetype_transform_mean: -0.001515 (range: -0.001515 - -0.001515)
archetype_transform_std: 0.113591 (range: 0.113591 - 0.113591)
archetype_transform_norm: 8.111981 (range: 8.111981 - 8.111981)
archetype_transform_grad_norm: 0.272324 (range: 0.272324 - 0.272324)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0136, max=0.3901, mean=0.2000
Batch reconstruction MSE: 0.9179
Archetype stats: min=-16.0969, max=11.0130
Archetype change since last debug: 1.566859
Archetype gradients: norm=0.027797, mean=0.001296
Epoch 1/1
Average loss: 0.8056
Archetypal loss: 0.8839
KLD loss: 0.1008
Reconstruction loss: 0.8839
Archetype R²: 0.0916
Archetype transform grad norm: 0.281350
Archetype transform param norm: 8.1669
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.8056 (range: 0.8056 - 0.8056)
archetypal_loss: 0.8839 (range: 0.8839 - 0.8839)
kld_loss: 0.1008 (range: 0.1008 - 0.1008)
reconstruction_loss: 0.8839 (range: 0.8839 - 0.8839)
archetype_r2: 0.0916 (range: 0.0916 - 0.0916)
Archetype Transform Summary:
archetype_transform_mean: -0.001553 (range: -0.001553 - -0.001553)
archetype_transform_std: 0.114360 (range: 0.114360 - 0.114360)
archetype_transform_norm: 8.166891 (range: 8.166891 - 8.166891)
archetype_transform_grad_norm: 0.281350 (range: 0.281350 - 0.281350)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0111, max=0.4632, mean=0.2000
Batch reconstruction MSE: 0.9780
Archetype stats: min=-16.2584, max=11.3288
Archetype change since last debug: 1.464891
Archetype gradients: norm=0.050462, mean=0.002003
Epoch 1/1
Average loss: 0.8065
Archetypal loss: 0.8852
KLD loss: 0.0977
Reconstruction loss: 0.8852
Archetype R²: 0.0900
Archetype transform grad norm: 0.278796
Archetype transform param norm: 8.1888
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.8065 (range: 0.8065 - 0.8065)
archetypal_loss: 0.8852 (range: 0.8852 - 0.8852)
kld_loss: 0.0977 (range: 0.0977 - 0.0977)
reconstruction_loss: 0.8852 (range: 0.8852 - 0.8852)
archetype_r2: 0.0900 (range: 0.0900 - 0.0900)
Archetype Transform Summary:
archetype_transform_mean: -0.001540 (range: -0.001540 - -0.001540)
archetype_transform_std: 0.114668 (range: 0.114668 - 0.114668)
archetype_transform_norm: 8.188835 (range: 8.188835 - 8.188835)
archetype_transform_grad_norm: 0.278796 (range: 0.278796 - 0.278796)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0156, max=0.3937, mean=0.2000
Batch reconstruction MSE: 0.9311
Archetype stats: min=-16.5591, max=11.4829
Archetype change since last debug: 1.041628
Archetype gradients: norm=0.027201, mean=0.001262
Epoch 1/1
Average loss: 0.8050
Archetypal loss: 0.8836
KLD loss: 0.0981
Reconstruction loss: 0.8836
Archetype R²: 0.0918
Archetype transform grad norm: 0.282784
Archetype transform param norm: 8.2308
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.8050 (range: 0.8050 - 0.8050)
archetypal_loss: 0.8836 (range: 0.8836 - 0.8836)
kld_loss: 0.0981 (range: 0.0981 - 0.0981)
reconstruction_loss: 0.8836 (range: 0.8836 - 0.8836)
archetype_r2: 0.0918 (range: 0.0918 - 0.0918)
Archetype Transform Summary:
archetype_transform_mean: -0.001581 (range: -0.001581 - -0.001581)
archetype_transform_std: 0.115255 (range: 0.115255 - 0.115255)
archetype_transform_norm: 8.230822 (range: 8.230822 - 8.230822)
archetype_transform_grad_norm: 0.282784 (range: 0.282784 - 0.282784)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0137, max=0.4716, mean=0.2000
Batch reconstruction MSE: 0.9320
Archetype stats: min=-16.5776, max=11.7175
Archetype change since last debug: 1.294190
Archetype gradients: norm=0.037300, mean=0.001576
Epoch 1/1
Average loss: 0.8050
Archetypal loss: 0.8838
KLD loss: 0.0956
Reconstruction loss: 0.8838
Archetype R²: 0.0915
Archetype transform grad norm: 0.286446
Archetype transform param norm: 8.2593
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.8050 (range: 0.8050 - 0.8050)
archetypal_loss: 0.8838 (range: 0.8838 - 0.8838)
kld_loss: 0.0956 (range: 0.0956 - 0.0956)
reconstruction_loss: 0.8838 (range: 0.8838 - 0.8838)
archetype_r2: 0.0915 (range: 0.0915 - 0.0915)
Archetype Transform Summary:
archetype_transform_mean: -0.001570 (range: -0.001570 - -0.001570)
archetype_transform_std: 0.115654 (range: 0.115654 - 0.115654)
archetype_transform_norm: 8.259288 (range: 8.259288 - 8.259288)
archetype_transform_grad_norm: 0.286446 (range: 0.286446 - 0.286446)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0184, max=0.4277, mean=0.2000
Batch reconstruction MSE: 0.8961
Archetype stats: min=-16.9164, max=11.8215
Archetype change since last debug: 1.181818
Archetype gradients: norm=0.025352, mean=0.001216
Epoch 1/1
Average loss: 0.8037
Archetypal loss: 0.8825
KLD loss: 0.0946
Reconstruction loss: 0.8825
Archetype R²: 0.0930
Archetype transform grad norm: 0.284748
Archetype transform param norm: 8.3029
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.8037 (range: 0.8037 - 0.8037)
archetypal_loss: 0.8825 (range: 0.8825 - 0.8825)
kld_loss: 0.0946 (range: 0.0946 - 0.0946)
reconstruction_loss: 0.8825 (range: 0.8825 - 0.8825)
archetype_r2: 0.0930 (range: 0.0930 - 0.0930)
Archetype Transform Summary:
archetype_transform_mean: -0.001580 (range: -0.001580 - -0.001580)
archetype_transform_std: 0.116264 (range: 0.116264 - 0.116264)
archetype_transform_norm: 8.302887 (range: 8.302887 - 8.302887)
archetype_transform_grad_norm: 0.284748 (range: 0.284748 - 0.284748)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0140, max=0.4676, mean=0.2000
Batch reconstruction MSE: 0.9549
Archetype stats: min=-16.9543, max=12.0655
Archetype change since last debug: 1.371248
Archetype gradients: norm=0.042381, mean=0.002049
Epoch 1/1
Average loss: 0.8045
Archetypal loss: 0.8837
KLD loss: 0.0922
Reconstruction loss: 0.8837
Archetype R²: 0.0915
Archetype transform grad norm: 0.291066
Archetype transform param norm: 8.3268
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.8045 (range: 0.8045 - 0.8045)
archetypal_loss: 0.8837 (range: 0.8837 - 0.8837)
kld_loss: 0.0922 (range: 0.0922 - 0.0922)
reconstruction_loss: 0.8837 (range: 0.8837 - 0.8837)
archetype_r2: 0.0915 (range: 0.0915 - 0.0915)
Archetype Transform Summary:
archetype_transform_mean: -0.001519 (range: -0.001519 - -0.001519)
archetype_transform_std: 0.116600 (range: 0.116600 - 0.116600)
archetype_transform_norm: 8.326762 (range: 8.326762 - 8.326762)
archetype_transform_grad_norm: 0.291066 (range: 0.291066 - 0.291066)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0218, max=0.4341, mean=0.2000
Batch reconstruction MSE: 0.9540
Archetype stats: min=-17.3896, max=12.1529
Archetype change since last debug: 1.118524
Archetype gradients: norm=0.038522, mean=0.001665
Epoch 1/1
Average loss: 0.8048
Archetypal loss: 0.8837
KLD loss: 0.0947
Reconstruction loss: 0.8837
Archetype R²: 0.0914
Archetype transform grad norm: 0.296064
Archetype transform param norm: 8.3497
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.8048 (range: 0.8048 - 0.8048)
archetypal_loss: 0.8837 (range: 0.8837 - 0.8837)
kld_loss: 0.0947 (range: 0.0947 - 0.0947)
reconstruction_loss: 0.8837 (range: 0.8837 - 0.8837)
archetype_r2: 0.0914 (range: 0.0914 - 0.0914)
Archetype Transform Summary:
archetype_transform_mean: -0.001627 (range: -0.001627 - -0.001627)
archetype_transform_std: 0.116920 (range: 0.116920 - 0.116920)
archetype_transform_norm: 8.349721 (range: 8.349721 - 8.349721)
archetype_transform_grad_norm: 0.296064 (range: 0.296064 - 0.296064)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0152, max=0.4638, mean=0.2000
Batch reconstruction MSE: 1.0234
Archetype stats: min=-17.0959, max=12.4252
Archetype change since last debug: 1.193382
Archetype gradients: norm=0.058617, mean=0.002967
Epoch 1/1
Average loss: 0.8062
Archetypal loss: 0.8855
KLD loss: 0.0929
Reconstruction loss: 0.8855
Archetype R²: 0.0894
Archetype transform grad norm: 0.302902
Archetype transform param norm: 8.3453
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.8062 (range: 0.8062 - 0.8062)
archetypal_loss: 0.8855 (range: 0.8855 - 0.8855)
kld_loss: 0.0929 (range: 0.0929 - 0.0929)
reconstruction_loss: 0.8855 (range: 0.8855 - 0.8855)
archetype_r2: 0.0894 (range: 0.0894 - 0.0894)
Archetype Transform Summary:
archetype_transform_mean: -0.001538 (range: -0.001538 - -0.001538)
archetype_transform_std: 0.116859 (range: 0.116859 - 0.116859)
archetype_transform_norm: 8.345325 (range: 8.345325 - 8.345325)
archetype_transform_grad_norm: 0.302902 (range: 0.302902 - 0.302902)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0199, max=0.4128, mean=0.2000
Batch reconstruction MSE: 0.9645
Archetype stats: min=-17.3966, max=12.2687
Archetype change since last debug: 1.211500
Archetype gradients: norm=0.044577, mean=0.002037
Epoch 1/1
Average loss: 0.8047
Archetypal loss: 0.8835
KLD loss: 0.0955
Reconstruction loss: 0.8835
Archetype R²: 0.0916
Archetype transform grad norm: 0.299430
Archetype transform param norm: 8.3632
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.8047 (range: 0.8047 - 0.8047)
archetypal_loss: 0.8835 (range: 0.8835 - 0.8835)
kld_loss: 0.0955 (range: 0.0955 - 0.0955)
reconstruction_loss: 0.8835 (range: 0.8835 - 0.8835)
archetype_r2: 0.0916 (range: 0.0916 - 0.0916)
Archetype Transform Summary:
archetype_transform_mean: -0.001697 (range: -0.001697 - -0.001697)
archetype_transform_std: 0.117107 (range: 0.117107 - 0.117107)
archetype_transform_norm: 8.363187 (range: 8.363187 - 8.363187)
archetype_transform_grad_norm: 0.299430 (range: 0.299430 - 0.299430)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0188, max=0.4708, mean=0.2000
Batch reconstruction MSE: 0.9785
Archetype stats: min=-16.9172, max=12.5867
Archetype change since last debug: 1.413746
Archetype gradients: norm=0.060914, mean=0.002982
Epoch 1/1
Average loss: 0.8047
Archetypal loss: 0.8838
KLD loss: 0.0932
Reconstruction loss: 0.8838
Archetype R²: 0.0912
Archetype transform grad norm: 0.293380
Archetype transform param norm: 8.3660
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.8047 (range: 0.8047 - 0.8047)
archetypal_loss: 0.8838 (range: 0.8838 - 0.8838)
kld_loss: 0.0932 (range: 0.0932 - 0.0932)
reconstruction_loss: 0.8838 (range: 0.8838 - 0.8838)
archetype_r2: 0.0912 (range: 0.0912 - 0.0912)
Archetype Transform Summary:
archetype_transform_mean: -0.001573 (range: -0.001573 - -0.001573)
archetype_transform_std: 0.117148 (range: 0.117148 - 0.117148)
archetype_transform_norm: 8.365989 (range: 8.365989 - 8.365989)
archetype_transform_grad_norm: 0.293380 (range: 0.293380 - 0.293380)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0161, max=0.4619, mean=0.2000
Batch reconstruction MSE: 0.9545
Archetype stats: min=-17.4797, max=12.2257
Archetype change since last debug: 1.562589
Archetype gradients: norm=0.049537, mean=0.002525
Epoch 1/1
Average loss: 0.8041
Archetypal loss: 0.8830
KLD loss: 0.0939
Reconstruction loss: 0.8830
Archetype R²: 0.0921
Archetype transform grad norm: 0.294780
Archetype transform param norm: 8.3879
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.8041 (range: 0.8041 - 0.8041)
archetypal_loss: 0.8830 (range: 0.8830 - 0.8830)
kld_loss: 0.0939 (range: 0.0939 - 0.0939)
reconstruction_loss: 0.8830 (range: 0.8830 - 0.8830)
archetype_r2: 0.0921 (range: 0.0921 - 0.0921)
Archetype Transform Summary:
archetype_transform_mean: -0.001684 (range: -0.001684 - -0.001684)
archetype_transform_std: 0.117454 (range: 0.117454 - 0.117454)
archetype_transform_norm: 8.387921 (range: 8.387921 - 8.387921)
archetype_transform_grad_norm: 0.294780 (range: 0.294780 - 0.294780)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0262, max=0.4933, mean=0.2000
Batch reconstruction MSE: 0.9412
Archetype stats: min=-17.0125, max=12.5834
Archetype change since last debug: 1.408245
Archetype gradients: norm=0.057159, mean=0.002426
Epoch 1/1
Average loss: 0.8030
Archetypal loss: 0.8821
KLD loss: 0.0906
Reconstruction loss: 0.8821
Archetype R²: 0.0930
Archetype transform grad norm: 0.290471
Archetype transform param norm: 8.4094
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.8030 (range: 0.8030 - 0.8030)
archetypal_loss: 0.8821 (range: 0.8821 - 0.8821)
kld_loss: 0.0906 (range: 0.0906 - 0.0906)
reconstruction_loss: 0.8821 (range: 0.8821 - 0.8821)
archetype_r2: 0.0930 (range: 0.0930 - 0.0930)
Archetype Transform Summary:
archetype_transform_mean: -0.001533 (range: -0.001533 - -0.001533)
archetype_transform_std: 0.117757 (range: 0.117757 - 0.117757)
archetype_transform_norm: 8.409445 (range: 8.409445 - 8.409445)
archetype_transform_grad_norm: 0.290471 (range: 0.290471 - 0.290471)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0154, max=0.4377, mean=0.2000
Batch reconstruction MSE: 0.9622
Archetype stats: min=-17.6507, max=12.3090
Archetype change since last debug: 1.644049
Archetype gradients: norm=0.059164, mean=0.002906
Epoch 1/1
Average loss: 0.8033
Archetypal loss: 0.8824
KLD loss: 0.0917
Reconstruction loss: 0.8824
Archetype R²: 0.0926
Archetype transform grad norm: 0.289119
Archetype transform param norm: 8.4236
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.8033 (range: 0.8033 - 0.8033)
archetypal_loss: 0.8824 (range: 0.8824 - 0.8824)
kld_loss: 0.0917 (range: 0.0917 - 0.0917)
reconstruction_loss: 0.8824 (range: 0.8824 - 0.8824)
archetype_r2: 0.0926 (range: 0.0926 - 0.0926)
Archetype Transform Summary:
archetype_transform_mean: -0.001664 (range: -0.001664 - -0.001664)
archetype_transform_std: 0.117954 (range: 0.117954 - 0.117954)
archetype_transform_norm: 8.423617 (range: 8.423617 - 8.423617)
archetype_transform_grad_norm: 0.289119 (range: 0.289119 - 0.289119)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0287, max=0.4338, mean=0.2000
Batch reconstruction MSE: 0.9192
Archetype stats: min=-17.2243, max=12.6509
Archetype change since last debug: 1.261036
Archetype gradients: norm=0.052981, mean=0.002375
Epoch 1/1
Average loss: 0.8020
Archetypal loss: 0.8811
KLD loss: 0.0899
Reconstruction loss: 0.8811
Archetype R²: 0.0940
Archetype transform grad norm: 0.288095
Archetype transform param norm: 8.4553
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.8020 (range: 0.8020 - 0.8020)
archetypal_loss: 0.8811 (range: 0.8811 - 0.8811)
kld_loss: 0.0899 (range: 0.0899 - 0.0899)
reconstruction_loss: 0.8811 (range: 0.8811 - 0.8811)
archetype_r2: 0.0940 (range: 0.0940 - 0.0940)
Archetype Transform Summary:
archetype_transform_mean: -0.001558 (range: -0.001558 - -0.001558)
archetype_transform_std: 0.118399 (range: 0.118399 - 0.118399)
archetype_transform_norm: 8.455252 (range: 8.455252 - 8.455252)
archetype_transform_grad_norm: 0.288095 (range: 0.288095 - 0.288095)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0206, max=0.5258, mean=0.2000
Batch reconstruction MSE: 0.9352
Archetype stats: min=-17.8463, max=12.4886
Archetype change since last debug: 1.523259
Archetype gradients: norm=0.067242, mean=0.002955
Epoch 1/1
Average loss: 0.8023
Archetypal loss: 0.8816
KLD loss: 0.0883
Reconstruction loss: 0.8816
Archetype R²: 0.0934
Archetype transform grad norm: 0.293961
Archetype transform param norm: 8.4643
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.8023 (range: 0.8023 - 0.8023)
archetypal_loss: 0.8816 (range: 0.8816 - 0.8816)
kld_loss: 0.0883 (range: 0.0883 - 0.0883)
reconstruction_loss: 0.8816 (range: 0.8816 - 0.8816)
archetype_r2: 0.0934 (range: 0.0934 - 0.0934)
Archetype Transform Summary:
archetype_transform_mean: -0.001642 (range: -0.001642 - -0.001642)
archetype_transform_std: 0.118524 (range: 0.118524 - 0.118524)
archetype_transform_norm: 8.464260 (range: 8.464260 - 8.464260)
archetype_transform_grad_norm: 0.293961 (range: 0.293961 - 0.293961)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0261, max=0.4555, mean=0.2000
Batch reconstruction MSE: 0.9051
Archetype stats: min=-17.5552, max=12.7970
Archetype change since last debug: 1.190476
Archetype gradients: norm=0.050705, mean=0.002222
Epoch 1/1
Average loss: 0.8012
Archetypal loss: 0.8805
KLD loss: 0.0879
Reconstruction loss: 0.8805
Archetype R²: 0.0946
Archetype transform grad norm: 0.293116
Archetype transform param norm: 8.4970
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.8012 (range: 0.8012 - 0.8012)
archetypal_loss: 0.8805 (range: 0.8805 - 0.8805)
kld_loss: 0.0879 (range: 0.0879 - 0.0879)
reconstruction_loss: 0.8805 (range: 0.8805 - 0.8805)
archetype_r2: 0.0946 (range: 0.0946 - 0.0946)
Archetype Transform Summary:
archetype_transform_mean: -0.001561 (range: -0.001561 - -0.001561)
archetype_transform_std: 0.118983 (range: 0.118983 - 0.118983)
archetype_transform_norm: 8.496960 (range: 8.496960 - 8.496960)
archetype_transform_grad_norm: 0.293116 (range: 0.293116 - 0.293116)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0226, max=0.4333, mean=0.2000
Batch reconstruction MSE: 0.9332
Archetype stats: min=-18.1365, max=12.7124
Archetype change since last debug: 1.384670
Archetype gradients: norm=0.061118, mean=0.002663
Epoch 1/1
Average loss: 0.8016
Archetypal loss: 0.8811
KLD loss: 0.0865
Reconstruction loss: 0.8811
Archetype R²: 0.0939
Archetype transform grad norm: 0.291040
Archetype transform param norm: 8.5072
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.8016 (range: 0.8016 - 0.8016)
archetypal_loss: 0.8811 (range: 0.8811 - 0.8811)
kld_loss: 0.0865 (range: 0.0865 - 0.0865)
reconstruction_loss: 0.8811 (range: 0.8811 - 0.8811)
archetype_r2: 0.0939 (range: 0.0939 - 0.0939)
Archetype Transform Summary:
archetype_transform_mean: -0.001636 (range: -0.001636 - -0.001636)
archetype_transform_std: 0.119125 (range: 0.119125 - 0.119125)
archetype_transform_norm: 8.507181 (range: 8.507181 - 8.507181)
archetype_transform_grad_norm: 0.291040 (range: 0.291040 - 0.291040)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0248, max=0.5056, mean=0.2000
Batch reconstruction MSE: 0.9275
Archetype stats: min=-17.9532, max=13.0283
Archetype change since last debug: 1.126939
Archetype gradients: norm=0.043990, mean=0.001914
Epoch 1/1
Average loss: 0.8012
Archetypal loss: 0.8807
KLD loss: 0.0862
Reconstruction loss: 0.8807
Archetype R²: 0.0943
Archetype transform grad norm: 0.290285
Archetype transform param norm: 8.5284
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.8012 (range: 0.8012 - 0.8012)
archetypal_loss: 0.8807 (range: 0.8807 - 0.8807)
kld_loss: 0.0862 (range: 0.0862 - 0.0862)
reconstruction_loss: 0.8807 (range: 0.8807 - 0.8807)
archetype_r2: 0.0943 (range: 0.0943 - 0.0943)
Archetype Transform Summary:
archetype_transform_mean: -0.001568 (range: -0.001568 - -0.001568)
archetype_transform_std: 0.119423 (range: 0.119423 - 0.119423)
archetype_transform_norm: 8.528398 (range: 8.528398 - 8.528398)
archetype_transform_grad_norm: 0.290285 (range: 0.290285 - 0.290285)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0196, max=0.4488, mean=0.2000
Batch reconstruction MSE: 0.9695
Archetype stats: min=-18.4118, max=12.9406
Archetype change since last debug: 1.170521
Archetype gradients: norm=0.053374, mean=0.002327
Epoch 1/1
Average loss: 0.8019
Archetypal loss: 0.8815
KLD loss: 0.0855
Reconstruction loss: 0.8815
Archetype R²: 0.0933
Archetype transform grad norm: 0.289752
Archetype transform param norm: 8.5329
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.8019 (range: 0.8019 - 0.8019)
archetypal_loss: 0.8815 (range: 0.8815 - 0.8815)
kld_loss: 0.0855 (range: 0.0855 - 0.0855)
reconstruction_loss: 0.8815 (range: 0.8815 - 0.8815)
archetype_r2: 0.0933 (range: 0.0933 - 0.0933)
Archetype Transform Summary:
archetype_transform_mean: -0.001640 (range: -0.001640 - -0.001640)
archetype_transform_std: 0.119485 (range: 0.119485 - 0.119485)
archetype_transform_norm: 8.532934 (range: 8.532934 - 8.532934)
archetype_transform_grad_norm: 0.289752 (range: 0.289752 - 0.289752)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0287, max=0.5099, mean=0.2000
Batch reconstruction MSE: 0.9188
Archetype stats: min=-18.0841, max=13.1976
Archetype change since last debug: 1.044665
Archetype gradients: norm=0.026972, mean=0.001082
Epoch 1/1
Average loss: 0.8007
Archetypal loss: 0.8800
KLD loss: 0.0865
Reconstruction loss: 0.8800
Archetype R²: 0.0950
Archetype transform grad norm: 0.284011
Archetype transform param norm: 8.5513
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.8007 (range: 0.8007 - 0.8007)
archetypal_loss: 0.8800 (range: 0.8800 - 0.8800)
kld_loss: 0.0865 (range: 0.0865 - 0.0865)
reconstruction_loss: 0.8800 (range: 0.8800 - 0.8800)
archetype_r2: 0.0950 (range: 0.0950 - 0.0950)
Archetype Transform Summary:
archetype_transform_mean: -0.001606 (range: -0.001606 - -0.001606)
archetype_transform_std: 0.119743 (range: 0.119743 - 0.119743)
archetype_transform_norm: 8.551282 (range: 8.551282 - 8.551282)
archetype_transform_grad_norm: 0.284011 (range: 0.284011 - 0.284011)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0211, max=0.4544, mean=0.2000
Batch reconstruction MSE: 0.8873
Archetype stats: min=-18.4849, max=13.1541
Archetype change since last debug: 1.025215
Archetype gradients: norm=0.019896, mean=0.000983
Epoch 1/1
Average loss: 0.7995
Archetypal loss: 0.8791
KLD loss: 0.0828
Reconstruction loss: 0.8791
Archetype R²: 0.0959
Archetype transform grad norm: 0.284509
Archetype transform param norm: 8.5795
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.7995 (range: 0.7995 - 0.7995)
archetypal_loss: 0.8791 (range: 0.8791 - 0.8791)
kld_loss: 0.0828 (range: 0.0828 - 0.0828)
reconstruction_loss: 0.8791 (range: 0.8791 - 0.8791)
archetype_r2: 0.0959 (range: 0.0959 - 0.0959)
Archetype Transform Summary:
archetype_transform_mean: -0.001642 (range: -0.001642 - -0.001642)
archetype_transform_std: 0.120138 (range: 0.120138 - 0.120138)
archetype_transform_norm: 8.579529 (range: 8.579529 - 8.579529)
archetype_transform_grad_norm: 0.284509 (range: 0.284509 - 0.284509)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0339, max=0.4929, mean=0.2000
Batch reconstruction MSE: 0.8483
Archetype stats: min=-18.4965, max=13.4507
Archetype change since last debug: 1.132374
Archetype gradients: norm=0.027191, mean=0.001412
Epoch 1/1
Average loss: 0.7987
Archetypal loss: 0.8783
KLD loss: 0.0828
Reconstruction loss: 0.8783
Archetype R²: 0.0969
Archetype transform grad norm: 0.286054
Archetype transform param norm: 8.6145
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.7987 (range: 0.7987 - 0.7987)
archetypal_loss: 0.8783 (range: 0.8783 - 0.8783)
kld_loss: 0.0828 (range: 0.0828 - 0.0828)
reconstruction_loss: 0.8783 (range: 0.8783 - 0.8783)
archetype_r2: 0.0969 (range: 0.0969 - 0.0969)
Archetype Transform Summary:
archetype_transform_mean: -0.001567 (range: -0.001567 - -0.001567)
archetype_transform_std: 0.120628 (range: 0.120628 - 0.120628)
archetype_transform_norm: 8.614465 (range: 8.614465 - 8.614465)
archetype_transform_grad_norm: 0.286054 (range: 0.286054 - 0.286054)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0352, max=0.4845, mean=0.2000
Batch reconstruction MSE: 0.8553
Archetype stats: min=-19.0356, max=13.5392
Archetype change since last debug: 1.350572
Archetype gradients: norm=0.027344, mean=0.001339
Epoch 1/1
Average loss: 0.7986
Archetypal loss: 0.8784
KLD loss: 0.0801
Reconstruction loss: 0.8784
Archetype R²: 0.0967
Archetype transform grad norm: 0.293900
Archetype transform param norm: 8.6511
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.7986 (range: 0.7986 - 0.7986)
archetypal_loss: 0.8784 (range: 0.8784 - 0.8784)
kld_loss: 0.0801 (range: 0.0801 - 0.0801)
reconstruction_loss: 0.8784 (range: 0.8784 - 0.8784)
archetype_r2: 0.0967 (range: 0.0967 - 0.0967)
Archetype Transform Summary:
archetype_transform_mean: -0.001643 (range: -0.001643 - -0.001643)
archetype_transform_std: 0.121141 (range: 0.121141 - 0.121141)
archetype_transform_norm: 8.651116 (range: 8.651116 - 8.651116)
archetype_transform_grad_norm: 0.293900 (range: 0.293900 - 0.293900)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0370, max=0.4628, mean=0.2000
Batch reconstruction MSE: 0.8839
Archetype stats: min=-19.0588, max=13.8331
Archetype change since last debug: 1.218853
Archetype gradients: norm=0.049580, mean=0.002443
Epoch 1/1
Average loss: 0.7997
Archetypal loss: 0.8795
KLD loss: 0.0811
Reconstruction loss: 0.8795
Archetype R²: 0.0955
Archetype transform grad norm: 0.308287
Archetype transform param norm: 8.6704
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.7997 (range: 0.7997 - 0.7997)
archetypal_loss: 0.8795 (range: 0.8795 - 0.8795)
kld_loss: 0.0811 (range: 0.0811 - 0.0811)
reconstruction_loss: 0.8795 (range: 0.8795 - 0.8795)
archetype_r2: 0.0955 (range: 0.0955 - 0.0955)
Archetype Transform Summary:
archetype_transform_mean: -0.001488 (range: -0.001488 - -0.001488)
archetype_transform_std: 0.121412 (range: 0.121412 - 0.121412)
archetype_transform_norm: 8.670356 (range: 8.670356 - 8.670356)
archetype_transform_grad_norm: 0.308287 (range: 0.308287 - 0.308287)
[OK] Completed in 38.3s
[STATS] Mean archetype R²: 0.0917
[STATS] Mean validation R²: 0.0917
đź§Ş Configuration 10/20: {'n_archetypes': 5, 'hidden_dims': [256, 128, 64], 'inflation_factor': 1.5, 'use_pcha_init': True, 'use_inflation': True}
Fold 1/3
Model input_dim: 50 (auto-detected from data)
Archetypes parameter registered: True
Archetypes requires_grad: True
Deep_AA (Deep Archetypal Analysis) initialized:
- Single-stage architecture (like Deep_2)
- Inflation factor: 1.5
- Direct archetypal coordinates (no bottleneck)
Consolidated Archetype Initialization
PCHA: True, Inflation: True (factor: 1.5)
Test inflation: False
Running PCHA initialization...
Input shape: (128, 50)
Target archetypes: 5
Running PCHA with 5 archetypes...
Data shape for PCHA: (50, 128)
PCHA Results:
Archetypes shape: (5, 50)
Archetype R²: 0.2392
SSE: 4520.9859
PCHA archetype R²: 0.2392
Archetype shape: (5, 50)
[OK] Initialized 5 archetypes using PCHA
Scalar Archetypal Inflation (factor: 1.50)
[OK] Inflation complete
[STATS] Positioning verification:
Data radius (max): 17.006
Data radius (mean): 6.155
Archetype distances: 3.814 to 21.714
Archetypes outside data: 2/5
Min archetype separation: 5.571
[OK] Archetype initialization complete (success: True)
[OK] Archetype initialization complete (PCHA: True, Inflation: 1.5)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0013, max=0.9261, mean=0.2000
Batch reconstruction MSE: 1.1457
Archetype stats: min=-2.2545, max=1.4857
Archetype gradients: norm=0.012621, mean=0.000571
Epoch 1/1
Average loss: 0.8707
Archetypal loss: 0.9643
KLD loss: 0.0282
Reconstruction loss: 0.9643
Archetype R²: -0.0124
Archetype transform grad norm: 0.195110
Archetype transform param norm: 5.7809
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.8707 (range: 0.8707 - 0.8707)
archetypal_loss: 0.9643 (range: 0.9643 - 0.9643)
kld_loss: 0.0282 (range: 0.0282 - 0.0282)
reconstruction_loss: 0.9643 (range: 0.9643 - 0.9643)
archetype_r2: -0.0124 (range: -0.0124 - -0.0124)
Archetype Transform Summary:
archetype_transform_mean: -0.000633 (range: -0.000633 - -0.000633)
archetype_transform_std: 0.080954 (range: 0.080954 - 0.080954)
archetype_transform_norm: 5.780872 (range: 5.780872 - 5.780872)
archetype_transform_grad_norm: 0.195110 (range: 0.195110 - 0.195110)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0021, max=0.8543, mean=0.2000
Batch reconstruction MSE: 1.0531
Archetype stats: min=-1.1857, max=0.9815
Archetype change since last debug: 5.294855
Archetype gradients: norm=0.003016, mean=0.000151
Epoch 1/1
Average loss: 0.8565
Archetypal loss: 0.9440
KLD loss: 0.0689
Reconstruction loss: 0.9440
Archetype R²: 0.0087
Archetype transform grad norm: 0.160173
Archetype transform param norm: 5.8066
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.8565 (range: 0.8565 - 0.8565)
archetypal_loss: 0.9440 (range: 0.9440 - 0.9440)
kld_loss: 0.0689 (range: 0.0689 - 0.0689)
reconstruction_loss: 0.9440 (range: 0.9440 - 0.9440)
archetype_r2: 0.0087 (range: 0.0087 - 0.0087)
Archetype Transform Summary:
archetype_transform_mean: -0.000792 (range: -0.000792 - -0.000792)
archetype_transform_std: 0.081312 (range: 0.081312 - 0.081312)
archetype_transform_norm: 5.806560 (range: 5.806560 - 5.806560)
archetype_transform_grad_norm: 0.160173 (range: 0.160173 - 0.160173)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0045, max=0.9317, mean=0.2000
Batch reconstruction MSE: 1.0910
Archetype stats: min=-2.7501, max=1.9380
Archetype change since last debug: 6.316041
Archetype gradients: norm=0.005704, mean=0.000269
Epoch 1/1
Average loss: 0.8448
Archetypal loss: 0.9289
KLD loss: 0.0882
Reconstruction loss: 0.9289
Archetype R²: 0.0246
Archetype transform grad norm: 0.192017
Archetype transform param norm: 5.9293
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.8448 (range: 0.8448 - 0.8448)
archetypal_loss: 0.9289 (range: 0.9289 - 0.9289)
kld_loss: 0.0882 (range: 0.0882 - 0.0882)
reconstruction_loss: 0.9289 (range: 0.9289 - 0.9289)
archetype_r2: 0.0246 (range: 0.0246 - 0.0246)
Archetype Transform Summary:
archetype_transform_mean: -0.000959 (range: -0.000959 - -0.000959)
archetype_transform_std: 0.083029 (range: 0.083029 - 0.083029)
archetype_transform_norm: 5.929256 (range: 5.929256 - 5.929256)
archetype_transform_grad_norm: 0.192017 (range: 0.192017 - 0.192017)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0092, max=0.8408, mean=0.2000
Batch reconstruction MSE: 1.1253
Archetype stats: min=-4.4776, max=3.1748
Archetype change since last debug: 7.919987
Archetype gradients: norm=0.007639, mean=0.000368
Epoch 1/1
Average loss: 0.8377
Archetypal loss: 0.9211
KLD loss: 0.0870
Reconstruction loss: 0.9211
Archetype R²: 0.0329
Archetype transform grad norm: 0.207791
Archetype transform param norm: 6.0848
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.8377 (range: 0.8377 - 0.8377)
archetypal_loss: 0.9211 (range: 0.9211 - 0.9211)
kld_loss: 0.0870 (range: 0.0870 - 0.0870)
reconstruction_loss: 0.9211 (range: 0.9211 - 0.9211)
archetype_r2: 0.0329 (range: 0.0329 - 0.0329)
Archetype Transform Summary:
archetype_transform_mean: -0.000985 (range: -0.000985 - -0.000985)
archetype_transform_std: 0.085207 (range: 0.085207 - 0.085207)
archetype_transform_norm: 6.084811 (range: 6.084811 - 6.084811)
archetype_transform_grad_norm: 0.207791 (range: 0.207791 - 0.207791)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0049, max=0.9352, mean=0.2000
Batch reconstruction MSE: 1.1272
Archetype stats: min=-5.5130, max=4.1181
Archetype change since last debug: 5.654299
Archetype gradients: norm=0.011323, mean=0.000548
Epoch 1/1
Average loss: 0.8309
Archetypal loss: 0.9120
KLD loss: 0.1011
Reconstruction loss: 0.9120
Archetype R²: 0.0426
Archetype transform grad norm: 0.222614
Archetype transform param norm: 6.2801
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.8309 (range: 0.8309 - 0.8309)
archetypal_loss: 0.9120 (range: 0.9120 - 0.9120)
kld_loss: 0.1011 (range: 0.1011 - 0.1011)
reconstruction_loss: 0.9120 (range: 0.9120 - 0.9120)
archetype_r2: 0.0426 (range: 0.0426 - 0.0426)
Archetype Transform Summary:
archetype_transform_mean: -0.000920 (range: -0.000920 - -0.000920)
archetype_transform_std: 0.087942 (range: 0.087942 - 0.087942)
archetype_transform_norm: 6.280063 (range: 6.280063 - 6.280063)
archetype_transform_grad_norm: 0.222614 (range: 0.222614 - 0.222614)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0070, max=0.8815, mean=0.2000
Batch reconstruction MSE: 1.1640
Archetype stats: min=-6.1416, max=5.0430
Archetype change since last debug: 6.090302
Archetype gradients: norm=0.035344, mean=0.001395
Epoch 1/1
Average loss: 0.8253
Archetypal loss: 0.9046
KLD loss: 0.1113
Reconstruction loss: 0.9046
Archetype R²: 0.0504
Archetype transform grad norm: 0.241280
Archetype transform param norm: 6.4953
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.8253 (range: 0.8253 - 0.8253)
archetypal_loss: 0.9046 (range: 0.9046 - 0.9046)
kld_loss: 0.1113 (range: 0.1113 - 0.1113)
reconstruction_loss: 0.9046 (range: 0.9046 - 0.9046)
archetype_r2: 0.0504 (range: 0.0504 - 0.0504)
Archetype Transform Summary:
archetype_transform_mean: -0.000844 (range: -0.000844 - -0.000844)
archetype_transform_std: 0.090957 (range: 0.090957 - 0.090957)
archetype_transform_norm: 6.495257 (range: 6.495257 - 6.495257)
archetype_transform_grad_norm: 0.241280 (range: 0.241280 - 0.241280)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0050, max=0.9256, mean=0.2000
Batch reconstruction MSE: 1.2353
Archetype stats: min=-6.5805, max=5.6027
Archetype change since last debug: 4.863963
Archetype gradients: norm=0.025804, mean=0.001306
Epoch 1/1
Average loss: 0.8201
Archetypal loss: 0.8977
KLD loss: 0.1219
Reconstruction loss: 0.8977
Archetype R²: 0.0579
Archetype transform grad norm: 0.241341
Archetype transform param norm: 6.7005
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.8201 (range: 0.8201 - 0.8201)
archetypal_loss: 0.8977 (range: 0.8977 - 0.8977)
kld_loss: 0.1219 (range: 0.1219 - 0.1219)
reconstruction_loss: 0.8977 (range: 0.8977 - 0.8977)
archetype_r2: 0.0579 (range: 0.0579 - 0.0579)
Archetype Transform Summary:
archetype_transform_mean: -0.000726 (range: -0.000726 - -0.000726)
archetype_transform_std: 0.093833 (range: 0.093833 - 0.093833)
archetype_transform_norm: 6.700534 (range: 6.700534 - 6.700534)
archetype_transform_grad_norm: 0.241341 (range: 0.241341 - 0.241341)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0085, max=0.8946, mean=0.2000
Batch reconstruction MSE: 1.2023
Archetype stats: min=-6.4704, max=6.2235
Archetype change since last debug: 4.787647
Archetype gradients: norm=0.061305, mean=0.002355
Epoch 1/1
Average loss: 0.8124
Archetypal loss: 0.8879
KLD loss: 0.1324
Reconstruction loss: 0.8879
Archetype R²: 0.0681
Archetype transform grad norm: 0.245657
Archetype transform param norm: 6.9201
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.8124 (range: 0.8124 - 0.8124)
archetypal_loss: 0.8879 (range: 0.8879 - 0.8879)
kld_loss: 0.1324 (range: 0.1324 - 0.1324)
reconstruction_loss: 0.8879 (range: 0.8879 - 0.8879)
archetype_r2: 0.0681 (range: 0.0681 - 0.0681)
Archetype Transform Summary:
archetype_transform_mean: -0.000680 (range: -0.000680 - -0.000680)
archetype_transform_std: 0.096908 (range: 0.096908 - 0.096908)
archetype_transform_norm: 6.920101 (range: 6.920101 - 6.920101)
archetype_transform_grad_norm: 0.245657 (range: 0.245657 - 0.245657)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0201, max=0.7432, mean=0.2000
Batch reconstruction MSE: 1.2011
Archetype stats: min=-6.7141, max=7.7383
Archetype change since last debug: 4.886470
Archetype gradients: norm=0.019778, mean=0.000968
Epoch 1/1
Average loss: 0.8072
Archetypal loss: 0.8833
KLD loss: 0.1217
Reconstruction loss: 0.8833
Archetype R²: 0.0729
Archetype transform grad norm: 0.257148
Archetype transform param norm: 7.1254
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.8072 (range: 0.8072 - 0.8072)
archetypal_loss: 0.8833 (range: 0.8833 - 0.8833)
kld_loss: 0.1217 (range: 0.1217 - 0.1217)
reconstruction_loss: 0.8833 (range: 0.8833 - 0.8833)
archetype_r2: 0.0729 (range: 0.0729 - 0.0729)
Archetype Transform Summary:
archetype_transform_mean: -0.000589 (range: -0.000589 - -0.000589)
archetype_transform_std: 0.099784 (range: 0.099784 - 0.099784)
archetype_transform_norm: 7.125418 (range: 7.125418 - 7.125418)
archetype_transform_grad_norm: 0.257148 (range: 0.257148 - 0.257148)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0212, max=0.6583, mean=0.2000
Batch reconstruction MSE: 1.1636
Archetype stats: min=-7.2470, max=8.9143
Archetype change since last debug: 4.536054
Archetype gradients: norm=0.046082, mean=0.001826
Epoch 1/1
Average loss: 0.8033
Archetypal loss: 0.8792
KLD loss: 0.1208
Reconstruction loss: 0.8792
Archetype R²: 0.0773
Archetype transform grad norm: 0.262017
Archetype transform param norm: 7.2799
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.8033 (range: 0.8033 - 0.8033)
archetypal_loss: 0.8792 (range: 0.8792 - 0.8792)
kld_loss: 0.1208 (range: 0.1208 - 0.1208)
reconstruction_loss: 0.8792 (range: 0.8792 - 0.8792)
archetype_r2: 0.0773 (range: 0.0773 - 0.0773)
Archetype Transform Summary:
archetype_transform_mean: -0.000552 (range: -0.000552 - -0.000552)
archetype_transform_std: 0.101948 (range: 0.101948 - 0.101948)
archetype_transform_norm: 7.279949 (range: 7.279949 - 7.279949)
archetype_transform_grad_norm: 0.262017 (range: 0.262017 - 0.262017)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0242, max=0.5875, mean=0.2000
Batch reconstruction MSE: 1.1905
Archetype stats: min=-8.0917, max=9.9757
Archetype change since last debug: 3.862504
Archetype gradients: norm=0.018687, mean=0.000925
Epoch 1/1
Average loss: 0.7995
Archetypal loss: 0.8759
KLD loss: 0.1117
Reconstruction loss: 0.8759
Archetype R²: 0.0807
Archetype transform grad norm: 0.262301
Archetype transform param norm: 7.4189
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.7995 (range: 0.7995 - 0.7995)
archetypal_loss: 0.8759 (range: 0.8759 - 0.8759)
kld_loss: 0.1117 (range: 0.1117 - 0.1117)
reconstruction_loss: 0.8759 (range: 0.8759 - 0.8759)
archetype_r2: 0.0807 (range: 0.0807 - 0.0807)
Archetype Transform Summary:
archetype_transform_mean: -0.000510 (range: -0.000510 - -0.000510)
archetype_transform_std: 0.103895 (range: 0.103895 - 0.103895)
archetype_transform_norm: 7.418935 (range: 7.418935 - 7.418935)
archetype_transform_grad_norm: 0.262301 (range: 0.262301 - 0.262301)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0295, max=0.5477, mean=0.2000
Batch reconstruction MSE: 1.1499
Archetype stats: min=-8.7108, max=11.0785
Archetype change since last debug: 3.788690
Archetype gradients: norm=0.040256, mean=0.001703
Epoch 1/1
Average loss: 0.7968
Archetypal loss: 0.8730
KLD loss: 0.1110
Reconstruction loss: 0.8730
Archetype R²: 0.0837
Archetype transform grad norm: 0.266695
Archetype transform param norm: 7.5318
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.7968 (range: 0.7968 - 0.7968)
archetypal_loss: 0.8730 (range: 0.8730 - 0.8730)
kld_loss: 0.1110 (range: 0.1110 - 0.1110)
reconstruction_loss: 0.8730 (range: 0.8730 - 0.8730)
archetype_r2: 0.0837 (range: 0.0837 - 0.0837)
Archetype Transform Summary:
archetype_transform_mean: -0.000510 (range: -0.000510 - -0.000510)
archetype_transform_std: 0.105476 (range: 0.105476 - 0.105476)
archetype_transform_norm: 7.531821 (range: 7.531821 - 7.531821)
archetype_transform_grad_norm: 0.266695 (range: 0.266695 - 0.266695)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0318, max=0.5110, mean=0.2000
Batch reconstruction MSE: 1.1673
Archetype stats: min=-9.4762, max=12.0269
Archetype change since last debug: 3.285085
Archetype gradients: norm=0.017949, mean=0.000819
Epoch 1/1
Average loss: 0.7949
Archetypal loss: 0.8715
KLD loss: 0.1057
Reconstruction loss: 0.8715
Archetype R²: 0.0853
Archetype transform grad norm: 0.274602
Archetype transform param norm: 7.6451
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.7949 (range: 0.7949 - 0.7949)
archetypal_loss: 0.8715 (range: 0.8715 - 0.8715)
kld_loss: 0.1057 (range: 0.1057 - 0.1057)
reconstruction_loss: 0.8715 (range: 0.8715 - 0.8715)
archetype_r2: 0.0853 (range: 0.0853 - 0.0853)
Archetype Transform Summary:
archetype_transform_mean: -0.000503 (range: -0.000503 - -0.000503)
archetype_transform_std: 0.107063 (range: 0.107063 - 0.107063)
archetype_transform_norm: 7.645149 (range: 7.645149 - 7.645149)
archetype_transform_grad_norm: 0.274602 (range: 0.274602 - 0.274602)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0405, max=0.4779, mean=0.2000
Batch reconstruction MSE: 1.1527
Archetype stats: min=-9.8489, max=13.0037
Archetype change since last debug: 3.183903
Archetype gradients: norm=0.047574, mean=0.002003
Epoch 1/1
Average loss: 0.7938
Archetypal loss: 0.8703
KLD loss: 0.1056
Reconstruction loss: 0.8703
Archetype R²: 0.0865
Archetype transform grad norm: 0.279331
Archetype transform param norm: 7.7199
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.7938 (range: 0.7938 - 0.7938)
archetypal_loss: 0.8703 (range: 0.8703 - 0.8703)
kld_loss: 0.1056 (range: 0.1056 - 0.1056)
reconstruction_loss: 0.8703 (range: 0.8703 - 0.8703)
archetype_r2: 0.0865 (range: 0.0865 - 0.0865)
Archetype Transform Summary:
archetype_transform_mean: -0.000505 (range: -0.000505 - -0.000505)
archetype_transform_std: 0.108110 (range: 0.108110 - 0.108110)
archetype_transform_norm: 7.719904 (range: 7.719904 - 7.719904)
archetype_transform_grad_norm: 0.279331 (range: 0.279331 - 0.279331)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0373, max=0.4085, mean=0.2000
Batch reconstruction MSE: 1.1590
Archetype stats: min=-10.4078, max=13.7212
Archetype change since last debug: 2.463678
Archetype gradients: norm=0.016923, mean=0.000719
Epoch 1/1
Average loss: 0.7938
Archetypal loss: 0.8710
KLD loss: 0.0991
Reconstruction loss: 0.8710
Archetype R²: 0.0858
Archetype transform grad norm: 0.303399
Archetype transform param norm: 7.8003
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.7938 (range: 0.7938 - 0.7938)
archetypal_loss: 0.8710 (range: 0.8710 - 0.8710)
kld_loss: 0.0991 (range: 0.0991 - 0.0991)
reconstruction_loss: 0.8710 (range: 0.8710 - 0.8710)
archetype_r2: 0.0858 (range: 0.0858 - 0.0858)
Archetype Transform Summary:
archetype_transform_mean: -0.000486 (range: -0.000486 - -0.000486)
archetype_transform_std: 0.109236 (range: 0.109236 - 0.109236)
archetype_transform_norm: 7.800294 (range: 7.800294 - 7.800294)
archetype_transform_grad_norm: 0.303399 (range: 0.303399 - 0.303399)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0341, max=0.6800, mean=0.2000
Batch reconstruction MSE: 1.1435
Archetype stats: min=-10.4510, max=14.0859
Archetype change since last debug: 2.381516
Archetype gradients: norm=0.053037, mean=0.002217
Epoch 1/1
Average loss: 0.7932
Archetypal loss: 0.8699
KLD loss: 0.1027
Reconstruction loss: 0.8699
Archetype R²: 0.0869
Archetype transform grad norm: 0.299507
Archetype transform param norm: 7.8389
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.7932 (range: 0.7932 - 0.7932)
archetypal_loss: 0.8699 (range: 0.8699 - 0.8699)
kld_loss: 0.1027 (range: 0.1027 - 0.1027)
reconstruction_loss: 0.8699 (range: 0.8699 - 0.8699)
archetype_r2: 0.0869 (range: 0.0869 - 0.0869)
Archetype Transform Summary:
archetype_transform_mean: -0.000472 (range: -0.000472 - -0.000472)
archetype_transform_std: 0.109777 (range: 0.109777 - 0.109777)
archetype_transform_norm: 7.838923 (range: 7.838923 - 7.838923)
archetype_transform_grad_norm: 0.299507 (range: 0.299507 - 0.299507)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0486, max=0.4830, mean=0.2000
Batch reconstruction MSE: 1.2030
Archetype stats: min=-10.8871, max=14.3228
Archetype change since last debug: 1.831392
Archetype gradients: norm=0.017233, mean=0.000730
Epoch 1/1
Average loss: 0.7913
Archetypal loss: 0.8688
KLD loss: 0.0934
Reconstruction loss: 0.8688
Archetype R²: 0.0880
Archetype transform grad norm: 0.284814
Archetype transform param norm: 7.8890
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.7913 (range: 0.7913 - 0.7913)
archetypal_loss: 0.8688 (range: 0.8688 - 0.8688)
kld_loss: 0.0934 (range: 0.0934 - 0.0934)
reconstruction_loss: 0.8688 (range: 0.8688 - 0.8688)
archetype_r2: 0.0880 (range: 0.0880 - 0.0880)
Archetype Transform Summary:
archetype_transform_mean: -0.000477 (range: -0.000477 - -0.000477)
archetype_transform_std: 0.110478 (range: 0.110478 - 0.110478)
archetype_transform_norm: 7.889018 (range: 7.889018 - 7.889018)
archetype_transform_grad_norm: 0.284814 (range: 0.284814 - 0.284814)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0546, max=0.4973, mean=0.2000
Batch reconstruction MSE: 1.0805
Archetype stats: min=-11.0175, max=14.8200
Archetype change since last debug: 1.834943
Archetype gradients: norm=0.022792, mean=0.001020
Epoch 1/1
Average loss: 0.7889
Archetypal loss: 0.8653
KLD loss: 0.1015
Reconstruction loss: 0.8653
Archetype R²: 0.0915
Archetype transform grad norm: 0.283054
Archetype transform param norm: 7.9511
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.7889 (range: 0.7889 - 0.7889)
archetypal_loss: 0.8653 (range: 0.8653 - 0.8653)
kld_loss: 0.1015 (range: 0.1015 - 0.1015)
reconstruction_loss: 0.8653 (range: 0.8653 - 0.8653)
archetype_r2: 0.0915 (range: 0.0915 - 0.0915)
Archetype Transform Summary:
archetype_transform_mean: -0.000490 (range: -0.000490 - -0.000490)
archetype_transform_std: 0.111347 (range: 0.111347 - 0.111347)
archetype_transform_norm: 7.951098 (range: 7.951098 - 7.951098)
archetype_transform_grad_norm: 0.283054 (range: 0.283054 - 0.283054)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0499, max=0.3971, mean=0.2000
Batch reconstruction MSE: 1.1699
Archetype stats: min=-11.4485, max=15.3283
Archetype change since last debug: 2.128414
Archetype gradients: norm=0.025196, mean=0.001084
Epoch 1/1
Average loss: 0.7884
Archetypal loss: 0.8662
KLD loss: 0.0880
Reconstruction loss: 0.8662
Archetype R²: 0.0906
Archetype transform grad norm: 0.279371
Archetype transform param norm: 8.0063
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.7884 (range: 0.7884 - 0.7884)
archetypal_loss: 0.8662 (range: 0.8662 - 0.8662)
kld_loss: 0.0880 (range: 0.0880 - 0.0880)
reconstruction_loss: 0.8662 (range: 0.8662 - 0.8662)
archetype_r2: 0.0906 (range: 0.0906 - 0.0906)
Archetype Transform Summary:
archetype_transform_mean: -0.000515 (range: -0.000515 - -0.000515)
archetype_transform_std: 0.112120 (range: 0.112120 - 0.112120)
archetype_transform_norm: 8.006281 (range: 8.006281 - 8.006281)
archetype_transform_grad_norm: 0.279371 (range: 0.279371 - 0.279371)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0660, max=0.4441, mean=0.2000
Batch reconstruction MSE: 1.0722
Archetype stats: min=-11.5580, max=15.8152
Archetype change since last debug: 1.762124
Archetype gradients: norm=0.017061, mean=0.000814
Epoch 1/1
Average loss: 0.7872
Archetypal loss: 0.8639
KLD loss: 0.0969
Reconstruction loss: 0.8639
Archetype R²: 0.0929
Archetype transform grad norm: 0.287669
Archetype transform param norm: 8.0723
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.7872 (range: 0.7872 - 0.7872)
archetypal_loss: 0.8639 (range: 0.8639 - 0.8639)
kld_loss: 0.0969 (range: 0.0969 - 0.0969)
reconstruction_loss: 0.8639 (range: 0.8639 - 0.8639)
archetype_r2: 0.0929 (range: 0.0929 - 0.0929)
Archetype Transform Summary:
archetype_transform_mean: -0.000484 (range: -0.000484 - -0.000484)
archetype_transform_std: 0.113045 (range: 0.113045 - 0.113045)
archetype_transform_norm: 8.072307 (range: 8.072307 - 8.072307)
archetype_transform_grad_norm: 0.287669 (range: 0.287669 - 0.287669)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0573, max=0.4382, mean=0.2000
Batch reconstruction MSE: 1.2320
Archetype stats: min=-11.8164, max=16.1111
Archetype change since last debug: 1.957048
Archetype gradients: norm=0.046835, mean=0.002293
Epoch 1/1
Average loss: 0.7897
Archetypal loss: 0.8676
KLD loss: 0.0886
Reconstruction loss: 0.8676
Archetype R²: 0.0893
Archetype transform grad norm: 0.304882
Archetype transform param norm: 8.0975
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.7897 (range: 0.7897 - 0.7897)
archetypal_loss: 0.8676 (range: 0.8676 - 0.8676)
kld_loss: 0.0886 (range: 0.0886 - 0.0886)
reconstruction_loss: 0.8676 (range: 0.8676 - 0.8676)
archetype_r2: 0.0893 (range: 0.0893 - 0.0893)
Archetype Transform Summary:
archetype_transform_mean: -0.000545 (range: -0.000545 - -0.000545)
archetype_transform_std: 0.113397 (range: 0.113397 - 0.113397)
archetype_transform_norm: 8.097467 (range: 8.097467 - 8.097467)
archetype_transform_grad_norm: 0.304882 (range: 0.304882 - 0.304882)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0341, max=0.5365, mean=0.2000
Batch reconstruction MSE: 1.1566
Archetype stats: min=-11.8734, max=16.1761
Archetype change since last debug: 1.194959
Archetype gradients: norm=0.028107, mean=0.001338
Epoch 1/1
Average loss: 0.7884
Archetypal loss: 0.8656
KLD loss: 0.0939
Reconstruction loss: 0.8656
Archetype R²: 0.0913
Archetype transform grad norm: 0.299820
Archetype transform param norm: 8.1263
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.7884 (range: 0.7884 - 0.7884)
archetypal_loss: 0.8656 (range: 0.8656 - 0.8656)
kld_loss: 0.0939 (range: 0.0939 - 0.0939)
reconstruction_loss: 0.8656 (range: 0.8656 - 0.8656)
archetype_r2: 0.0913 (range: 0.0913 - 0.0913)
Archetype Transform Summary:
archetype_transform_mean: -0.000472 (range: -0.000472 - -0.000472)
archetype_transform_std: 0.113801 (range: 0.113801 - 0.113801)
archetype_transform_norm: 8.126320 (range: 8.126320 - 8.126320)
archetype_transform_grad_norm: 0.299820 (range: 0.299820 - 0.299820)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0579, max=0.4084, mean=0.2000
Batch reconstruction MSE: 1.1448
Archetype stats: min=-12.0596, max=16.0992
Archetype change since last debug: 1.315117
Archetype gradients: norm=0.046984, mean=0.002146
Epoch 1/1
Average loss: 0.7869
Archetypal loss: 0.8645
KLD loss: 0.0888
Reconstruction loss: 0.8645
Archetype R²: 0.0923
Archetype transform grad norm: 0.295042
Archetype transform param norm: 8.1568
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.7869 (range: 0.7869 - 0.7869)
archetypal_loss: 0.8645 (range: 0.8645 - 0.8645)
kld_loss: 0.0888 (range: 0.0888 - 0.0888)
reconstruction_loss: 0.8645 (range: 0.8645 - 0.8645)
archetype_r2: 0.0923 (range: 0.0923 - 0.0923)
Archetype Transform Summary:
archetype_transform_mean: -0.000561 (range: -0.000561 - -0.000561)
archetype_transform_std: 0.114228 (range: 0.114228 - 0.114228)
archetype_transform_norm: 8.156828 (range: 8.156828 - 8.156828)
archetype_transform_grad_norm: 0.295042 (range: 0.295042 - 0.295042)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0847, max=0.4556, mean=0.2000
Batch reconstruction MSE: 1.1010
Archetype stats: min=-12.3756, max=16.5832
Archetype change since last debug: 1.482686
Archetype gradients: norm=0.038276, mean=0.001829
Epoch 1/1
Average loss: 0.7859
Archetypal loss: 0.8632
KLD loss: 0.0906
Reconstruction loss: 0.8632
Archetype R²: 0.0936
Archetype transform grad norm: 0.296216
Archetype transform param norm: 8.2049
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.7859 (range: 0.7859 - 0.7859)
archetypal_loss: 0.8632 (range: 0.8632 - 0.8632)
kld_loss: 0.0906 (range: 0.0906 - 0.0906)
reconstruction_loss: 0.8632 (range: 0.8632 - 0.8632)
archetype_r2: 0.0936 (range: 0.0936 - 0.0936)
Archetype Transform Summary:
archetype_transform_mean: -0.000494 (range: -0.000494 - -0.000494)
archetype_transform_std: 0.114902 (range: 0.114902 - 0.114902)
archetype_transform_norm: 8.204900 (range: 8.204900 - 8.204900)
archetype_transform_grad_norm: 0.296216 (range: 0.296216 - 0.296216)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0721, max=0.4262, mean=0.2000
Batch reconstruction MSE: 1.1468
Archetype stats: min=-12.7316, max=16.7236
Archetype change since last debug: 1.559831
Archetype gradients: norm=0.058046, mean=0.002285
Epoch 1/1
Average loss: 0.7860
Archetypal loss: 0.8639
KLD loss: 0.0843
Reconstruction loss: 0.8639
Archetype R²: 0.0929
Archetype transform grad norm: 0.294602
Archetype transform param norm: 8.2268
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.7860 (range: 0.7860 - 0.7860)
archetypal_loss: 0.8639 (range: 0.8639 - 0.8639)
kld_loss: 0.0843 (range: 0.0843 - 0.0843)
reconstruction_loss: 0.8639 (range: 0.8639 - 0.8639)
archetype_r2: 0.0929 (range: 0.0929 - 0.0929)
Archetype Transform Summary:
archetype_transform_mean: -0.000567 (range: -0.000567 - -0.000567)
archetype_transform_std: 0.115208 (range: 0.115208 - 0.115208)
archetype_transform_norm: 8.226821 (range: 8.226821 - 8.226821)
archetype_transform_grad_norm: 0.294602 (range: 0.294602 - 0.294602)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0629, max=0.5133, mean=0.2000
Batch reconstruction MSE: 1.0920
Archetype stats: min=-12.8644, max=17.1577
Archetype change since last debug: 1.330357
Archetype gradients: norm=0.046537, mean=0.002120
Epoch 1/1
Average loss: 0.7852
Archetypal loss: 0.8627
KLD loss: 0.0878
Reconstruction loss: 0.8627
Archetype R²: 0.0940
Archetype transform grad norm: 0.302138
Archetype transform param norm: 8.2695
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.7852 (range: 0.7852 - 0.7852)
archetypal_loss: 0.8627 (range: 0.8627 - 0.8627)
kld_loss: 0.0878 (range: 0.0878 - 0.0878)
reconstruction_loss: 0.8627 (range: 0.8627 - 0.8627)
archetype_r2: 0.0940 (range: 0.0940 - 0.0940)
Archetype Transform Summary:
archetype_transform_mean: -0.000512 (range: -0.000512 - -0.000512)
archetype_transform_std: 0.115807 (range: 0.115807 - 0.115807)
archetype_transform_norm: 8.269515 (range: 8.269515 - 8.269515)
archetype_transform_grad_norm: 0.302138 (range: 0.302138 - 0.302138)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0625, max=0.4455, mean=0.2000
Batch reconstruction MSE: 1.1353
Archetype stats: min=-13.1874, max=17.1961
Archetype change since last debug: 1.434682
Archetype gradients: norm=0.058547, mean=0.002347
Epoch 1/1
Average loss: 0.7858
Archetypal loss: 0.8640
KLD loss: 0.0819
Reconstruction loss: 0.8640
Archetype R²: 0.0927
Archetype transform grad norm: 0.309916
Archetype transform param norm: 8.2876
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.7858 (range: 0.7858 - 0.7858)
archetypal_loss: 0.8640 (range: 0.8640 - 0.8640)
kld_loss: 0.0819 (range: 0.0819 - 0.0819)
reconstruction_loss: 0.8640 (range: 0.8640 - 0.8640)
archetype_r2: 0.0927 (range: 0.0927 - 0.0927)
Archetype Transform Summary:
archetype_transform_mean: -0.000567 (range: -0.000567 - -0.000567)
archetype_transform_std: 0.116060 (range: 0.116060 - 0.116060)
archetype_transform_norm: 8.287624 (range: 8.287624 - 8.287624)
archetype_transform_grad_norm: 0.309916 (range: 0.309916 - 0.309916)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0563, max=0.4136, mean=0.2000
Batch reconstruction MSE: 1.1459
Archetype stats: min=-12.9442, max=17.5237
Archetype change since last debug: 1.190246
Archetype gradients: norm=0.057135, mean=0.002949
Epoch 1/1
Average loss: 0.7866
Archetypal loss: 0.8646
KLD loss: 0.0854
Reconstruction loss: 0.8646
Archetype R²: 0.0922
Archetype transform grad norm: 0.321677
Archetype transform param norm: 8.3091
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.7866 (range: 0.7866 - 0.7866)
archetypal_loss: 0.8646 (range: 0.8646 - 0.8646)
kld_loss: 0.0854 (range: 0.0854 - 0.0854)
reconstruction_loss: 0.8646 (range: 0.8646 - 0.8646)
archetype_r2: 0.0922 (range: 0.0922 - 0.0922)
Archetype Transform Summary:
archetype_transform_mean: -0.000529 (range: -0.000529 - -0.000529)
archetype_transform_std: 0.116361 (range: 0.116361 - 0.116361)
archetype_transform_norm: 8.309074 (range: 8.309074 - 8.309074)
archetype_transform_grad_norm: 0.321677 (range: 0.321677 - 0.321677)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0927, max=0.4339, mean=0.2000
Batch reconstruction MSE: 1.1822
Archetype stats: min=-13.0426, max=17.0929
Archetype change since last debug: 1.417428
Archetype gradients: norm=0.076262, mean=0.003372
Epoch 1/1
Average loss: 0.7863
Archetypal loss: 0.8643
KLD loss: 0.0838
Reconstruction loss: 0.8643
Archetype R²: 0.0925
Archetype transform grad norm: 0.312144
Archetype transform param norm: 8.3180
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.7863 (range: 0.7863 - 0.7863)
archetypal_loss: 0.8643 (range: 0.8643 - 0.8643)
kld_loss: 0.0838 (range: 0.0838 - 0.0838)
reconstruction_loss: 0.8643 (range: 0.8643 - 0.8643)
archetype_r2: 0.0925 (range: 0.0925 - 0.0925)
Archetype Transform Summary:
archetype_transform_mean: -0.000552 (range: -0.000552 - -0.000552)
archetype_transform_std: 0.116486 (range: 0.116486 - 0.116486)
archetype_transform_norm: 8.318008 (range: 8.318008 - 8.318008)
archetype_transform_grad_norm: 0.312144 (range: 0.312144 - 0.312144)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0301, max=0.4228, mean=0.2000
Batch reconstruction MSE: 1.1945
Archetype stats: min=-12.4726, max=17.6132
Archetype change since last debug: 1.671867
Archetype gradients: norm=0.075704, mean=0.003729
Epoch 1/1
Average loss: 0.7872
Archetypal loss: 0.8652
KLD loss: 0.0852
Reconstruction loss: 0.8652
Archetype R²: 0.0916
Archetype transform grad norm: 0.326840
Archetype transform param norm: 8.3199
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.7872 (range: 0.7872 - 0.7872)
archetypal_loss: 0.8652 (range: 0.8652 - 0.8652)
kld_loss: 0.0852 (range: 0.0852 - 0.0852)
reconstruction_loss: 0.8652 (range: 0.8652 - 0.8652)
archetype_r2: 0.0916 (range: 0.0916 - 0.0916)
Archetype Transform Summary:
archetype_transform_mean: -0.000518 (range: -0.000518 - -0.000518)
archetype_transform_std: 0.116511 (range: 0.116511 - 0.116511)
archetype_transform_norm: 8.319851 (range: 8.319851 - 8.319851)
archetype_transform_grad_norm: 0.326840 (range: 0.326840 - 0.326840)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0542, max=0.4846, mean=0.2000
Batch reconstruction MSE: 1.1300
Archetype stats: min=-12.6276, max=17.0877
Archetype change since last debug: 1.432189
Archetype gradients: norm=0.066041, mean=0.003090
Epoch 1/1
Average loss: 0.7859
Archetypal loss: 0.8641
KLD loss: 0.0822
Reconstruction loss: 0.8641
Archetype R²: 0.0926
Archetype transform grad norm: 0.330425
Archetype transform param norm: 8.3459
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.7859 (range: 0.7859 - 0.7859)
archetypal_loss: 0.8641 (range: 0.8641 - 0.8641)
kld_loss: 0.0822 (range: 0.0822 - 0.0822)
reconstruction_loss: 0.8641 (range: 0.8641 - 0.8641)
archetype_r2: 0.0926 (range: 0.0926 - 0.0926)
Archetype Transform Summary:
archetype_transform_mean: -0.000532 (range: -0.000532 - -0.000532)
archetype_transform_std: 0.116876 (range: 0.116876 - 0.116876)
archetype_transform_norm: 8.345916 (range: 8.345916 - 8.345916)
archetype_transform_grad_norm: 0.330425 (range: 0.330425 - 0.330425)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0615, max=0.4214, mean=0.2000
Batch reconstruction MSE: 1.1263
Archetype stats: min=-12.1416, max=17.3666
Archetype change since last debug: 1.461591
Archetype gradients: norm=0.077620, mean=0.003276
Epoch 1/1
Average loss: 0.7850
Archetypal loss: 0.8632
KLD loss: 0.0819
Reconstruction loss: 0.8632
Archetype R²: 0.0935
Archetype transform grad norm: 0.313562
Archetype transform param norm: 8.3447
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.7850 (range: 0.7850 - 0.7850)
archetypal_loss: 0.8632 (range: 0.8632 - 0.8632)
kld_loss: 0.0819 (range: 0.0819 - 0.0819)
reconstruction_loss: 0.8632 (range: 0.8632 - 0.8632)
archetype_r2: 0.0935 (range: 0.0935 - 0.0935)
Archetype Transform Summary:
archetype_transform_mean: -0.000517 (range: -0.000517 - -0.000517)
archetype_transform_std: 0.116860 (range: 0.116860 - 0.116860)
archetype_transform_norm: 8.344748 (range: 8.344748 - 8.344748)
archetype_transform_grad_norm: 0.313562 (range: 0.313562 - 0.313562)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0827, max=0.3806, mean=0.2000
Batch reconstruction MSE: 1.0804
Archetype stats: min=-12.4297, max=17.2102
Archetype change since last debug: 1.178910
Archetype gradients: norm=0.048958, mean=0.002189
Epoch 1/1
Average loss: 0.7841
Archetypal loss: 0.8620
KLD loss: 0.0831
Reconstruction loss: 0.8620
Archetype R²: 0.0947
Archetype transform grad norm: 0.315479
Archetype transform param norm: 8.3867
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.7841 (range: 0.7841 - 0.7841)
archetypal_loss: 0.8620 (range: 0.8620 - 0.8620)
kld_loss: 0.0831 (range: 0.0831 - 0.0831)
reconstruction_loss: 0.8620 (range: 0.8620 - 0.8620)
archetype_r2: 0.0947 (range: 0.0947 - 0.0947)
Archetype Transform Summary:
archetype_transform_mean: -0.000522 (range: -0.000522 - -0.000522)
archetype_transform_std: 0.117447 (range: 0.117447 - 0.117447)
archetype_transform_norm: 8.386657 (range: 8.386657 - 8.386657)
archetype_transform_grad_norm: 0.315479 (range: 0.315479 - 0.315479)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0958, max=0.3796, mean=0.2000
Batch reconstruction MSE: 1.0698
Archetype stats: min=-12.3053, max=17.5678
Archetype change since last debug: 1.333580
Archetype gradients: norm=0.053576, mean=0.002133
Epoch 1/1
Average loss: 0.7827
Archetypal loss: 0.8611
KLD loss: 0.0765
Reconstruction loss: 0.8611
Archetype R²: 0.0956
Archetype transform grad norm: 0.299437
Archetype transform param norm: 8.4015
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.7827 (range: 0.7827 - 0.7827)
archetypal_loss: 0.8611 (range: 0.8611 - 0.8611)
kld_loss: 0.0765 (range: 0.0765 - 0.0765)
reconstruction_loss: 0.8611 (range: 0.8611 - 0.8611)
archetype_r2: 0.0956 (range: 0.0956 - 0.0956)
Archetype Transform Summary:
archetype_transform_mean: -0.000529 (range: -0.000529 - -0.000529)
archetype_transform_std: 0.117655 (range: 0.117655 - 0.117655)
archetype_transform_norm: 8.401536 (range: 8.401536 - 8.401536)
archetype_transform_grad_norm: 0.299437 (range: 0.299437 - 0.299437)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0853, max=0.3797, mean=0.2000
Batch reconstruction MSE: 1.0527
Archetype stats: min=-12.6572, max=17.7230
Archetype change since last debug: 1.280660
Archetype gradients: norm=0.038335, mean=0.001712
Epoch 1/1
Average loss: 0.7823
Archetypal loss: 0.8606
KLD loss: 0.0780
Reconstruction loss: 0.8606
Archetype R²: 0.0961
Archetype transform grad norm: 0.305987
Archetype transform param norm: 8.4453
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.7823 (range: 0.7823 - 0.7823)
archetypal_loss: 0.8606 (range: 0.8606 - 0.8606)
kld_loss: 0.0780 (range: 0.0780 - 0.0780)
reconstruction_loss: 0.8606 (range: 0.8606 - 0.8606)
archetype_r2: 0.0961 (range: 0.0961 - 0.0961)
Archetype Transform Summary:
archetype_transform_mean: -0.000530 (range: -0.000530 - -0.000530)
archetype_transform_std: 0.118268 (range: 0.118268 - 0.118268)
archetype_transform_norm: 8.445314 (range: 8.445314 - 8.445314)
archetype_transform_grad_norm: 0.305987 (range: 0.305987 - 0.305987)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0895, max=0.3988, mean=0.2000
Batch reconstruction MSE: 1.0630
Archetype stats: min=-12.6432, max=17.9834
Archetype change since last debug: 1.309096
Archetype gradients: norm=0.047712, mean=0.001848
Epoch 1/1
Average loss: 0.7817
Archetypal loss: 0.8603
KLD loss: 0.0739
Reconstruction loss: 0.8603
Archetype R²: 0.0963
Archetype transform grad norm: 0.297839
Archetype transform param norm: 8.4673
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.7817 (range: 0.7817 - 0.7817)
archetypal_loss: 0.8603 (range: 0.8603 - 0.8603)
kld_loss: 0.0739 (range: 0.0739 - 0.0739)
reconstruction_loss: 0.8603 (range: 0.8603 - 0.8603)
archetype_r2: 0.0963 (range: 0.0963 - 0.0963)
Archetype Transform Summary:
archetype_transform_mean: -0.000548 (range: -0.000548 - -0.000548)
archetype_transform_std: 0.118576 (range: 0.118576 - 0.118576)
archetype_transform_norm: 8.467310 (range: 8.467310 - 8.467310)
archetype_transform_grad_norm: 0.297839 (range: 0.297839 - 0.297839)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0788, max=0.3672, mean=0.2000
Batch reconstruction MSE: 1.0500
Archetype stats: min=-12.9778, max=18.1983
Archetype change since last debug: 1.230897
Archetype gradients: norm=0.034356, mean=0.001625
Epoch 1/1
Average loss: 0.7812
Archetypal loss: 0.8598
KLD loss: 0.0739
Reconstruction loss: 0.8598
Archetype R²: 0.0969
Archetype transform grad norm: 0.300887
Archetype transform param norm: 8.5082
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.7812 (range: 0.7812 - 0.7812)
archetypal_loss: 0.8598 (range: 0.8598 - 0.8598)
kld_loss: 0.0739 (range: 0.0739 - 0.0739)
reconstruction_loss: 0.8598 (range: 0.8598 - 0.8598)
archetype_r2: 0.0969 (range: 0.0969 - 0.0969)
Archetype Transform Summary:
archetype_transform_mean: -0.000530 (range: -0.000530 - -0.000530)
archetype_transform_std: 0.119149 (range: 0.119149 - 0.119149)
archetype_transform_norm: 8.508182 (range: 8.508182 - 8.508182)
archetype_transform_grad_norm: 0.300887 (range: 0.300887 - 0.300887)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0899, max=0.3877, mean=0.2000
Batch reconstruction MSE: 1.0530
Archetype stats: min=-13.0509, max=18.5024
Archetype change since last debug: 1.237439
Archetype gradients: norm=0.043295, mean=0.001775
Epoch 1/1
Average loss: 0.7810
Archetypal loss: 0.8597
KLD loss: 0.0729
Reconstruction loss: 0.8597
Archetype R²: 0.0969
Archetype transform grad norm: 0.300480
Archetype transform param norm: 8.5320
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.7810 (range: 0.7810 - 0.7810)
archetypal_loss: 0.8597 (range: 0.8597 - 0.8597)
kld_loss: 0.0729 (range: 0.0729 - 0.0729)
reconstruction_loss: 0.8597 (range: 0.8597 - 0.8597)
archetype_r2: 0.0969 (range: 0.0969 - 0.0969)
Archetype Transform Summary:
archetype_transform_mean: -0.000570 (range: -0.000570 - -0.000570)
archetype_transform_std: 0.119482 (range: 0.119482 - 0.119482)
archetype_transform_norm: 8.531974 (range: 8.531974 - 8.531974)
archetype_transform_grad_norm: 0.300480 (range: 0.300480 - 0.300480)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0817, max=0.3642, mean=0.2000
Batch reconstruction MSE: 1.0923
Archetype stats: min=-13.3695, max=18.7031
Archetype change since last debug: 1.235379
Archetype gradients: norm=0.039163, mean=0.001844
Epoch 1/1
Average loss: 0.7814
Archetypal loss: 0.8604
KLD loss: 0.0702
Reconstruction loss: 0.8604
Archetype R²: 0.0962
Archetype transform grad norm: 0.302533
Archetype transform param norm: 8.5619
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.7814 (range: 0.7814 - 0.7814)
archetypal_loss: 0.8604 (range: 0.8604 - 0.8604)
kld_loss: 0.0702 (range: 0.0702 - 0.0702)
reconstruction_loss: 0.8604 (range: 0.8604 - 0.8604)
archetype_r2: 0.0962 (range: 0.0962 - 0.0962)
Archetype Transform Summary:
archetype_transform_mean: -0.000549 (range: -0.000549 - -0.000549)
archetype_transform_std: 0.119901 (range: 0.119901 - 0.119901)
archetype_transform_norm: 8.561926 (range: 8.561926 - 8.561926)
archetype_transform_grad_norm: 0.302533 (range: 0.302533 - 0.302533)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0772, max=0.4283, mean=0.2000
Batch reconstruction MSE: 1.0954
Archetype stats: min=-13.3798, max=18.9929
Archetype change since last debug: 1.055109
Archetype gradients: norm=0.055219, mean=0.002192
Epoch 1/1
Average loss: 0.7821
Archetypal loss: 0.8607
KLD loss: 0.0743
Reconstruction loss: 0.8607
Archetype R²: 0.0959
Archetype transform grad norm: 0.308783
Archetype transform param norm: 8.5709
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.7821 (range: 0.7821 - 0.7821)
archetypal_loss: 0.8607 (range: 0.8607 - 0.8607)
kld_loss: 0.0743 (range: 0.0743 - 0.0743)
reconstruction_loss: 0.8607 (range: 0.8607 - 0.8607)
archetype_r2: 0.0959 (range: 0.0959 - 0.0959)
Archetype Transform Summary:
archetype_transform_mean: -0.000590 (range: -0.000590 - -0.000590)
archetype_transform_std: 0.120027 (range: 0.120027 - 0.120027)
archetype_transform_norm: 8.570878 (range: 8.570878 - 8.570878)
archetype_transform_grad_norm: 0.308783 (range: 0.308783 - 0.308783)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0436, max=0.4939, mean=0.2000
Batch reconstruction MSE: 1.2004
Archetype stats: min=-13.5706, max=19.0998
Archetype change since last debug: 1.005636
Archetype gradients: norm=0.049363, mean=0.002235
Epoch 1/1
Average loss: 0.7834
Archetypal loss: 0.8629
KLD loss: 0.0683
Reconstruction loss: 0.8629
Archetype R²: 0.0939
Archetype transform grad norm: 0.306075
Archetype transform param norm: 8.5677
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.7834 (range: 0.7834 - 0.7834)
archetypal_loss: 0.8629 (range: 0.8629 - 0.8629)
kld_loss: 0.0683 (range: 0.0683 - 0.0683)
reconstruction_loss: 0.8629 (range: 0.8629 - 0.8629)
archetype_r2: 0.0939 (range: 0.0939 - 0.0939)
Archetype Transform Summary:
archetype_transform_mean: -0.000569 (range: -0.000569 - -0.000569)
archetype_transform_std: 0.119983 (range: 0.119983 - 0.119983)
archetype_transform_norm: 8.567736 (range: 8.567736 - 8.567736)
archetype_transform_grad_norm: 0.306075 (range: 0.306075 - 0.306075)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0702, max=0.3642, mean=0.2000
Batch reconstruction MSE: 1.0997
Archetype stats: min=-13.3464, max=19.1377
Archetype change since last debug: 0.978538
Archetype gradients: norm=0.052702, mean=0.001970
Epoch 1/1
Average loss: 0.7823
Archetypal loss: 0.8608
KLD loss: 0.0753
Reconstruction loss: 0.8608
Archetype R²: 0.0958
Archetype transform grad norm: 0.309005
Archetype transform param norm: 8.5675
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.7823 (range: 0.7823 - 0.7823)
archetypal_loss: 0.8608 (range: 0.8608 - 0.8608)
kld_loss: 0.0753 (range: 0.0753 - 0.0753)
reconstruction_loss: 0.8608 (range: 0.8608 - 0.8608)
archetype_r2: 0.0958 (range: 0.0958 - 0.0958)
Archetype Transform Summary:
archetype_transform_mean: -0.000594 (range: -0.000594 - -0.000594)
archetype_transform_std: 0.119979 (range: 0.119979 - 0.119979)
archetype_transform_norm: 8.567501 (range: 8.567501 - 8.567501)
archetype_transform_grad_norm: 0.309005 (range: 0.309005 - 0.309005)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0511, max=0.4764, mean=0.2000
Batch reconstruction MSE: 1.1440
Archetype stats: min=-13.4865, max=19.1110
Archetype change since last debug: 0.843017
Archetype gradients: norm=0.062409, mean=0.002410
Epoch 1/1
Average loss: 0.7832
Archetypal loss: 0.8623
KLD loss: 0.0713
Reconstruction loss: 0.8623
Archetype R²: 0.0943
Archetype transform grad norm: 0.320085
Archetype transform param norm: 8.5732
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.7832 (range: 0.7832 - 0.7832)
archetypal_loss: 0.8623 (range: 0.8623 - 0.8623)
kld_loss: 0.0713 (range: 0.0713 - 0.0713)
reconstruction_loss: 0.8623 (range: 0.8623 - 0.8623)
archetype_r2: 0.0943 (range: 0.0943 - 0.0943)
Archetype Transform Summary:
archetype_transform_mean: -0.000607 (range: -0.000607 - -0.000607)
archetype_transform_std: 0.120058 (range: 0.120058 - 0.120058)
archetype_transform_norm: 8.573152 (range: 8.573152 - 8.573152)
archetype_transform_grad_norm: 0.320085 (range: 0.320085 - 0.320085)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0508, max=0.3997, mean=0.2000
Batch reconstruction MSE: 1.0987
Archetype stats: min=-13.4400, max=19.0898
Archetype change since last debug: 0.893241
Archetype gradients: norm=0.058142, mean=0.002459
Epoch 1/1
Average loss: 0.7817
Archetypal loss: 0.8603
KLD loss: 0.0734
Reconstruction loss: 0.8603
Archetype R²: 0.0963
Archetype transform grad norm: 0.304142
Archetype transform param norm: 8.5768
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.7817 (range: 0.7817 - 0.7817)
archetypal_loss: 0.8603 (range: 0.8603 - 0.8603)
kld_loss: 0.0734 (range: 0.0734 - 0.0734)
reconstruction_loss: 0.8603 (range: 0.8603 - 0.8603)
archetype_r2: 0.0963 (range: 0.0963 - 0.0963)
Archetype Transform Summary:
archetype_transform_mean: -0.000590 (range: -0.000590 - -0.000590)
archetype_transform_std: 0.120109 (range: 0.120109 - 0.120109)
archetype_transform_norm: 8.576796 (range: 8.576796 - 8.576796)
archetype_transform_grad_norm: 0.304142 (range: 0.304142 - 0.304142)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0923, max=0.3523, mean=0.2000
Batch reconstruction MSE: 1.0739
Archetype stats: min=-13.7534, max=19.1662
Archetype change since last debug: 0.968215
Archetype gradients: norm=0.051329, mean=0.002021
Epoch 1/1
Average loss: 0.7806
Archetypal loss: 0.8595
KLD loss: 0.0699
Reconstruction loss: 0.8595
Archetype R²: 0.0971
Archetype transform grad norm: 0.301964
Archetype transform param norm: 8.5986
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.7806 (range: 0.7806 - 0.7806)
archetypal_loss: 0.8595 (range: 0.8595 - 0.8595)
kld_loss: 0.0699 (range: 0.0699 - 0.0699)
reconstruction_loss: 0.8595 (range: 0.8595 - 0.8595)
archetype_r2: 0.0971 (range: 0.0971 - 0.0971)
Archetype Transform Summary:
archetype_transform_mean: -0.000620 (range: -0.000620 - -0.000620)
archetype_transform_std: 0.120415 (range: 0.120415 - 0.120415)
archetype_transform_norm: 8.598621 (range: 8.598621 - 8.598621)
archetype_transform_grad_norm: 0.301964 (range: 0.301964 - 0.301964)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0801, max=0.3781, mean=0.2000
Batch reconstruction MSE: 1.0648
Archetype stats: min=-13.7657, max=19.4531
Archetype change since last debug: 1.201224
Archetype gradients: norm=0.056292, mean=0.002488
Epoch 1/1
Average loss: 0.7812
Archetypal loss: 0.8600
KLD loss: 0.0720
Reconstruction loss: 0.8600
Archetype R²: 0.0966
Archetype transform grad norm: 0.317746
Archetype transform param norm: 8.6188
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.7812 (range: 0.7812 - 0.7812)
archetypal_loss: 0.8600 (range: 0.8600 - 0.8600)
kld_loss: 0.0720 (range: 0.0720 - 0.0720)
reconstruction_loss: 0.8600 (range: 0.8600 - 0.8600)
archetype_r2: 0.0966 (range: 0.0966 - 0.0966)
Archetype Transform Summary:
archetype_transform_mean: -0.000597 (range: -0.000597 - -0.000597)
archetype_transform_std: 0.120697 (range: 0.120697 - 0.120697)
archetype_transform_norm: 8.618779 (range: 8.618779 - 8.618779)
archetype_transform_grad_norm: 0.317746 (range: 0.317746 - 0.317746)
Fold 2/3
Model input_dim: 50 (auto-detected from data)
Archetypes parameter registered: True
Archetypes requires_grad: True
Deep_AA (Deep Archetypal Analysis) initialized:
- Single-stage architecture (like Deep_2)
- Inflation factor: 1.5
- Direct archetypal coordinates (no bottleneck)
Consolidated Archetype Initialization
PCHA: True, Inflation: True (factor: 1.5)
Test inflation: False
Running PCHA initialization...
Input shape: (128, 50)
Target archetypes: 5
Running PCHA with 5 archetypes...
Data shape for PCHA: (50, 128)
PCHA Results:
Archetypes shape: (5, 50)
Archetype R²: 0.3240
SSE: 3983.7531
PCHA archetype R²: 0.3240
Archetype shape: (5, 50)
[OK] Initialized 5 archetypes using PCHA
Scalar Archetypal Inflation (factor: 1.50)
[OK] Inflation complete
[STATS] Positioning verification:
Data radius (max): 28.203
Data radius (mean): 5.939
Archetype distances: 4.465 to 36.565
Archetypes outside data: 1/5
Min archetype separation: 9.446
[OK] Archetype initialization complete (success: True)
[OK] Archetype initialization complete (PCHA: True, Inflation: 1.5)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0046, max=0.8964, mean=0.2000
Batch reconstruction MSE: 1.0287
Archetype stats: min=-3.0797, max=2.2981
Archetype gradients: norm=0.019130, mean=0.000919
Epoch 1/1
Average loss: 0.8638
Archetypal loss: 0.9573
KLD loss: 0.0221
Reconstruction loss: 0.9573
Archetype R²: -0.0191
Archetype transform grad norm: 0.227657
Archetype transform param norm: 5.8818
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.8638 (range: 0.8638 - 0.8638)
archetypal_loss: 0.9573 (range: 0.9573 - 0.9573)
kld_loss: 0.0221 (range: 0.0221 - 0.0221)
reconstruction_loss: 0.9573 (range: 0.9573 - 0.9573)
archetype_r2: -0.0191 (range: -0.0191 - -0.0191)
Archetype Transform Summary:
archetype_transform_mean: 0.001113 (range: 0.001113 - 0.001113)
archetype_transform_std: 0.082361 (range: 0.082361 - 0.082361)
archetype_transform_norm: 5.881773 (range: 5.881773 - 5.881773)
archetype_transform_grad_norm: 0.227657 (range: 0.227657 - 0.227657)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0031, max=0.9209, mean=0.2000
Batch reconstruction MSE: 0.8656
Archetype stats: min=-1.0739, max=0.9668
Archetype change since last debug: 7.345598
Archetype gradients: norm=0.005277, mean=0.000251
Epoch 1/1
Average loss: 0.8526
Archetypal loss: 0.9426
KLD loss: 0.0432
Reconstruction loss: 0.9426
Archetype R²: -0.0031
Archetype transform grad norm: 0.151642
Archetype transform param norm: 5.8799
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.8526 (range: 0.8526 - 0.8526)
archetypal_loss: 0.9426 (range: 0.9426 - 0.9426)
kld_loss: 0.0432 (range: 0.0432 - 0.0432)
reconstruction_loss: 0.9426 (range: 0.9426 - 0.9426)
archetype_r2: -0.0031 (range: -0.0031 - -0.0031)
Archetype Transform Summary:
archetype_transform_mean: 0.001282 (range: 0.001282 - 0.001282)
archetype_transform_std: 0.082333 (range: 0.082333 - 0.082333)
archetype_transform_norm: 5.879907 (range: 5.879907 - 5.879907)
archetype_transform_grad_norm: 0.151642 (range: 0.151642 - 0.151642)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0013, max=0.7738, mean=0.2000
Batch reconstruction MSE: 0.8645
Archetype stats: min=-1.5149, max=1.2594
Archetype change since last debug: 2.294359
Archetype gradients: norm=0.003273, mean=0.000158
Epoch 1/1
Average loss: 0.8432
Archetypal loss: 0.9290
KLD loss: 0.0709
Reconstruction loss: 0.9290
Archetype R²: 0.0114
Archetype transform grad norm: 0.175633
Archetype transform param norm: 5.9536
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.8432 (range: 0.8432 - 0.8432)
archetypal_loss: 0.9290 (range: 0.9290 - 0.9290)
kld_loss: 0.0709 (range: 0.0709 - 0.0709)
reconstruction_loss: 0.9290 (range: 0.9290 - 0.9290)
archetype_r2: 0.0114 (range: 0.0114 - 0.0114)
Archetype Transform Summary:
archetype_transform_mean: 0.001261 (range: 0.001261 - 0.001261)
archetype_transform_std: 0.083365 (range: 0.083365 - 0.083365)
archetype_transform_norm: 5.953560 (range: 5.953560 - 5.953560)
archetype_transform_grad_norm: 0.175633 (range: 0.175633 - 0.175633)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0028, max=0.9151, mean=0.2000
Batch reconstruction MSE: 0.9122
Archetype stats: min=-2.9717, max=2.0947
Archetype change since last debug: 5.812454
Archetype gradients: norm=0.012242, mean=0.000541
Epoch 1/1
Average loss: 0.8321
Archetypal loss: 0.9131
KLD loss: 0.1028
Reconstruction loss: 0.9131
Archetype R²: 0.0284
Archetype transform grad norm: 0.200926
Archetype transform param norm: 6.1260
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.8321 (range: 0.8321 - 0.8321)
archetypal_loss: 0.9131 (range: 0.9131 - 0.9131)
kld_loss: 0.1028 (range: 0.1028 - 0.1028)
reconstruction_loss: 0.9131 (range: 0.9131 - 0.9131)
archetype_r2: 0.0284 (range: 0.0284 - 0.0284)
Archetype Transform Summary:
archetype_transform_mean: 0.001084 (range: 0.001084 - 0.001084)
archetype_transform_std: 0.085782 (range: 0.085782 - 0.085782)
archetype_transform_norm: 6.125972 (range: 6.125972 - 6.125972)
archetype_transform_grad_norm: 0.200926 (range: 0.200926 - 0.200926)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0048, max=0.9618, mean=0.2000
Batch reconstruction MSE: 0.9598
Archetype stats: min=-4.5260, max=4.0403
Archetype change since last debug: 7.059488
Archetype gradients: norm=0.011311, mean=0.000481
Epoch 1/1
Average loss: 0.8217
Archetypal loss: 0.8993
KLD loss: 0.1238
Reconstruction loss: 0.8993
Archetype R²: 0.0431
Archetype transform grad norm: 0.232826
Archetype transform param norm: 6.3529
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.8217 (range: 0.8217 - 0.8217)
archetypal_loss: 0.8993 (range: 0.8993 - 0.8993)
kld_loss: 0.1238 (range: 0.1238 - 0.1238)
reconstruction_loss: 0.8993 (range: 0.8993 - 0.8993)
archetype_r2: 0.0431 (range: 0.0431 - 0.0431)
Archetype Transform Summary:
archetype_transform_mean: 0.000889 (range: 0.000889 - 0.000889)
archetype_transform_std: 0.088963 (range: 0.088963 - 0.088963)
archetype_transform_norm: 6.352912 (range: 6.352912 - 6.352912)
archetype_transform_grad_norm: 0.232826 (range: 0.232826 - 0.232826)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0033, max=0.8848, mean=0.2000
Batch reconstruction MSE: 1.1551
Archetype stats: min=-6.2494, max=6.2959
Archetype change since last debug: 7.228617
Archetype gradients: norm=0.061767, mean=0.002689
Epoch 1/1
Average loss: 0.8184
Archetypal loss: 0.8937
KLD loss: 0.1411
Reconstruction loss: 0.8937
Archetype R²: 0.0488
Archetype transform grad norm: 0.247706
Archetype transform param norm: 6.5115
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.8184 (range: 0.8184 - 0.8184)
archetypal_loss: 0.8937 (range: 0.8937 - 0.8937)
kld_loss: 0.1411 (range: 0.1411 - 0.1411)
reconstruction_loss: 0.8937 (range: 0.8937 - 0.8937)
archetype_r2: 0.0488 (range: 0.0488 - 0.0488)
Archetype Transform Summary:
archetype_transform_mean: 0.000769 (range: 0.000769 - 0.000769)
archetype_transform_std: 0.091185 (range: 0.091185 - 0.091185)
archetype_transform_norm: 6.511533 (range: 6.511533 - 6.511533)
archetype_transform_grad_norm: 0.247706 (range: 0.247706 - 0.247706)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0046, max=0.9024, mean=0.2000
Batch reconstruction MSE: 1.0947
Archetype stats: min=-6.8196, max=6.8027
Archetype change since last debug: 4.515402
Archetype gradients: norm=0.025248, mean=0.001203
Epoch 1/1
Average loss: 0.8129
Archetypal loss: 0.8863
KLD loss: 0.1526
Reconstruction loss: 0.8863
Archetype R²: 0.0568
Archetype transform grad norm: 0.261295
Archetype transform param norm: 6.6538
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.8129 (range: 0.8129 - 0.8129)
archetypal_loss: 0.8863 (range: 0.8863 - 0.8863)
kld_loss: 0.1526 (range: 0.1526 - 0.1526)
reconstruction_loss: 0.8863 (range: 0.8863 - 0.8863)
archetype_r2: 0.0568 (range: 0.0568 - 0.0568)
Archetype Transform Summary:
archetype_transform_mean: 0.000797 (range: 0.000797 - 0.000797)
archetype_transform_std: 0.093178 (range: 0.093178 - 0.093178)
archetype_transform_norm: 6.653811 (range: 6.653811 - 6.653811)
archetype_transform_grad_norm: 0.261295 (range: 0.261295 - 0.261295)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0097, max=0.7227, mean=0.2000
Batch reconstruction MSE: 1.0087
Archetype stats: min=-8.6148, max=7.8902
Archetype change since last debug: 4.144254
Archetype gradients: norm=0.037916, mean=0.001705
Epoch 1/1
Average loss: 0.8052
Archetypal loss: 0.8798
KLD loss: 0.1337
Reconstruction loss: 0.8798
Archetype R²: 0.0639
Archetype transform grad norm: 0.248980
Archetype transform param norm: 6.7854
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.8052 (range: 0.8052 - 0.8052)
archetypal_loss: 0.8798 (range: 0.8798 - 0.8798)
kld_loss: 0.1337 (range: 0.1337 - 0.1337)
reconstruction_loss: 0.8798 (range: 0.8798 - 0.8798)
archetype_r2: 0.0639 (range: 0.0639 - 0.0639)
Archetype Transform Summary:
archetype_transform_mean: 0.000802 (range: 0.000802 - 0.000802)
archetype_transform_std: 0.095020 (range: 0.095020 - 0.095020)
archetype_transform_norm: 6.785391 (range: 6.785391 - 6.785391)
archetype_transform_grad_norm: 0.248980 (range: 0.248980 - 0.248980)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0103, max=0.7718, mean=0.2000
Batch reconstruction MSE: 0.9920
Archetype stats: min=-9.9497, max=8.4832
Archetype change since last debug: 3.817375
Archetype gradients: norm=0.033694, mean=0.001712
Epoch 1/1
Average loss: 0.8010
Archetypal loss: 0.8754
KLD loss: 0.1320
Reconstruction loss: 0.8754
Archetype R²: 0.0687
Archetype transform grad norm: 0.257829
Archetype transform param norm: 6.9258
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.8010 (range: 0.8010 - 0.8010)
archetypal_loss: 0.8754 (range: 0.8754 - 0.8754)
kld_loss: 0.1320 (range: 0.1320 - 0.1320)
reconstruction_loss: 0.8754 (range: 0.8754 - 0.8754)
archetype_r2: 0.0687 (range: 0.0687 - 0.0687)
Archetype Transform Summary:
archetype_transform_mean: 0.000948 (range: 0.000948 - 0.000948)
archetype_transform_std: 0.096985 (range: 0.096985 - 0.096985)
archetype_transform_norm: 6.925753 (range: 6.925753 - 6.925753)
archetype_transform_grad_norm: 0.257829 (range: 0.257829 - 0.257829)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0072, max=0.7711, mean=0.2000
Batch reconstruction MSE: 1.0525
Archetype stats: min=-11.1553, max=9.2716
Archetype change since last debug: 3.696074
Archetype gradients: norm=0.059511, mean=0.002125
Epoch 1/1
Average loss: 0.7978
Archetypal loss: 0.8713
KLD loss: 0.1369
Reconstruction loss: 0.8713
Archetype R²: 0.0729
Archetype transform grad norm: 0.264994
Archetype transform param norm: 7.0686
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.7978 (range: 0.7978 - 0.7978)
archetypal_loss: 0.8713 (range: 0.8713 - 0.8713)
kld_loss: 0.1369 (range: 0.1369 - 0.1369)
reconstruction_loss: 0.8713 (range: 0.8713 - 0.8713)
archetype_r2: 0.0729 (range: 0.0729 - 0.0729)
Archetype Transform Summary:
archetype_transform_mean: 0.001149 (range: 0.001149 - 0.001149)
archetype_transform_std: 0.098983 (range: 0.098983 - 0.098983)
archetype_transform_norm: 7.068558 (range: 7.068558 - 7.068558)
archetype_transform_grad_norm: 0.264994 (range: 0.264994 - 0.264994)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0097, max=0.8830, mean=0.2000
Batch reconstruction MSE: 1.2149
Archetype stats: min=-12.0547, max=9.3479
Archetype change since last debug: 4.028645
Archetype gradients: norm=0.089197, mean=0.004050
Epoch 1/1
Average loss: 0.7994
Archetypal loss: 0.8710
KLD loss: 0.1549
Reconstruction loss: 0.8710
Archetype R²: 0.0727
Archetype transform grad norm: 0.286094
Archetype transform param norm: 7.1642
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.7994 (range: 0.7994 - 0.7994)
archetypal_loss: 0.8710 (range: 0.8710 - 0.8710)
kld_loss: 0.1549 (range: 0.1549 - 0.1549)
reconstruction_loss: 0.8710 (range: 0.8710 - 0.8710)
archetype_r2: 0.0727 (range: 0.0727 - 0.0727)
Archetype Transform Summary:
archetype_transform_mean: 0.001289 (range: 0.001289 - 0.001289)
archetype_transform_std: 0.100321 (range: 0.100321 - 0.100321)
archetype_transform_norm: 7.164246 (range: 7.164246 - 7.164246)
archetype_transform_grad_norm: 0.286094 (range: 0.286094 - 0.286094)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0112, max=0.7424, mean=0.2000
Batch reconstruction MSE: 1.2831
Archetype stats: min=-11.8970, max=9.3364
Archetype change since last debug: 2.913696
Archetype gradients: norm=0.063887, mean=0.002769
Epoch 1/1
Average loss: 0.8005
Archetypal loss: 0.8718
KLD loss: 0.1593
Reconstruction loss: 0.8718
Archetype R²: 0.0718
Archetype transform grad norm: 0.335886
Archetype transform param norm: 7.2514
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.8005 (range: 0.8005 - 0.8005)
archetypal_loss: 0.8718 (range: 0.8718 - 0.8718)
kld_loss: 0.1593 (range: 0.1593 - 0.1593)
reconstruction_loss: 0.8718 (range: 0.8718 - 0.8718)
archetype_r2: 0.0718 (range: 0.0718 - 0.0718)
Archetype Transform Summary:
archetype_transform_mean: 0.001354 (range: 0.001354 - 0.001354)
archetype_transform_std: 0.101541 (range: 0.101541 - 0.101541)
archetype_transform_norm: 7.251377 (range: 7.251377 - 7.251377)
archetype_transform_grad_norm: 0.335886 (range: 0.335886 - 0.335886)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0060, max=0.7958, mean=0.2000
Batch reconstruction MSE: 1.2948
Archetype stats: min=-12.2567, max=9.7951
Archetype change since last debug: 4.205256
Archetype gradients: norm=0.161506, mean=0.005320
Epoch 1/1
Average loss: 0.7979
Archetypal loss: 0.8687
KLD loss: 0.1606
Reconstruction loss: 0.8687
Archetype R²: 0.0749
Archetype transform grad norm: 0.273187
Archetype transform param norm: 7.2811
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.7979 (range: 0.7979 - 0.7979)
archetypal_loss: 0.8687 (range: 0.8687 - 0.8687)
kld_loss: 0.1606 (range: 0.1606 - 0.1606)
reconstruction_loss: 0.8687 (range: 0.8687 - 0.8687)
archetype_r2: 0.0749 (range: 0.0749 - 0.0749)
Archetype Transform Summary:
archetype_transform_mean: 0.001253 (range: 0.001253 - 0.001253)
archetype_transform_std: 0.101958 (range: 0.101958 - 0.101958)
archetype_transform_norm: 7.281120 (range: 7.281120 - 7.281120)
archetype_transform_grad_norm: 0.273187 (range: 0.273187 - 0.273187)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0134, max=0.5731, mean=0.2000
Batch reconstruction MSE: 1.1904
Archetype stats: min=-12.9819, max=10.1353
Archetype change since last debug: 2.304351
Archetype gradients: norm=0.067234, mean=0.002872
Epoch 1/1
Average loss: 0.7915
Archetypal loss: 0.8646
KLD loss: 0.1337
Reconstruction loss: 0.8646
Archetype R²: 0.0795
Archetype transform grad norm: 0.262456
Archetype transform param norm: 7.3141
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.7915 (range: 0.7915 - 0.7915)
archetypal_loss: 0.8646 (range: 0.8646 - 0.8646)
kld_loss: 0.1337 (range: 0.1337 - 0.1337)
reconstruction_loss: 0.8646 (range: 0.8646 - 0.8646)
archetype_r2: 0.0795 (range: 0.0795 - 0.0795)
Archetype Transform Summary:
archetype_transform_mean: 0.001315 (range: 0.001315 - 0.001315)
archetype_transform_std: 0.102420 (range: 0.102420 - 0.102420)
archetype_transform_norm: 7.314127 (range: 7.314127 - 7.314127)
archetype_transform_grad_norm: 0.262456 (range: 0.262456 - 0.262456)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0195, max=0.6042, mean=0.2000
Batch reconstruction MSE: 1.0037
Archetype stats: min=-12.8612, max=9.9362
Archetype change since last debug: 2.119041
Archetype gradients: norm=0.052680, mean=0.002195
Epoch 1/1
Average loss: 0.7867
Archetypal loss: 0.8589
KLD loss: 0.1372
Reconstruction loss: 0.8589
Archetype R²: 0.0860
Archetype transform grad norm: 0.257037
Archetype transform param norm: 7.3917
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.7867 (range: 0.7867 - 0.7867)
archetypal_loss: 0.8589 (range: 0.8589 - 0.8589)
kld_loss: 0.1372 (range: 0.1372 - 0.1372)
reconstruction_loss: 0.8589 (range: 0.8589 - 0.8589)
archetype_r2: 0.0860 (range: 0.0860 - 0.0860)
Archetype Transform Summary:
archetype_transform_mean: 0.001381 (range: 0.001381 - 0.001381)
archetype_transform_std: 0.103506 (range: 0.103506 - 0.103506)
archetype_transform_norm: 7.391750 (range: 7.391750 - 7.391750)
archetype_transform_grad_norm: 0.257037 (range: 0.257037 - 0.257037)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0208, max=0.4531, mean=0.2000
Batch reconstruction MSE: 1.0496
Archetype stats: min=-13.7476, max=10.5089
Archetype change since last debug: 2.512835
Archetype gradients: norm=0.052298, mean=0.002567
Epoch 1/1
Average loss: 0.7856
Archetypal loss: 0.8591
KLD loss: 0.1246
Reconstruction loss: 0.8591
Archetype R²: 0.0857
Archetype transform grad norm: 0.267258
Archetype transform param norm: 7.4586
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.7856 (range: 0.7856 - 0.7856)
archetypal_loss: 0.8591 (range: 0.8591 - 0.8591)
kld_loss: 0.1246 (range: 0.1246 - 0.1246)
reconstruction_loss: 0.8591 (range: 0.8591 - 0.8591)
archetype_r2: 0.0857 (range: 0.0857 - 0.0857)
Archetype Transform Summary:
archetype_transform_mean: 0.001329 (range: 0.001329 - 0.001329)
archetype_transform_std: 0.104442 (range: 0.104442 - 0.104442)
archetype_transform_norm: 7.458551 (range: 7.458551 - 7.458551)
archetype_transform_grad_norm: 0.267258 (range: 0.267258 - 0.267258)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0239, max=0.5693, mean=0.2000
Batch reconstruction MSE: 0.9796
Archetype stats: min=-13.9996, max=10.8258
Archetype change since last debug: 1.830352
Archetype gradients: norm=0.048213, mean=0.002259
Epoch 1/1
Average loss: 0.7830
Archetypal loss: 0.8565
KLD loss: 0.1222
Reconstruction loss: 0.8565
Archetype R²: 0.0886
Archetype transform grad norm: 0.264378
Archetype transform param norm: 7.5297
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.7830 (range: 0.7830 - 0.7830)
archetypal_loss: 0.8565 (range: 0.8565 - 0.8565)
kld_loss: 0.1222 (range: 0.1222 - 0.1222)
reconstruction_loss: 0.8565 (range: 0.8565 - 0.8565)
archetype_r2: 0.0886 (range: 0.0886 - 0.0886)
Archetype Transform Summary:
archetype_transform_mean: 0.001430 (range: 0.001430 - 0.001430)
archetype_transform_std: 0.105437 (range: 0.105437 - 0.105437)
archetype_transform_norm: 7.529651 (range: 7.529651 - 7.529651)
archetype_transform_grad_norm: 0.264378 (range: 0.264378 - 0.264378)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0244, max=0.5204, mean=0.2000
Batch reconstruction MSE: 1.0788
Archetype stats: min=-14.7446, max=11.1991
Archetype change since last debug: 2.251716
Archetype gradients: norm=0.089851, mean=0.003881
Epoch 1/1
Average loss: 0.7857
Archetypal loss: 0.8591
KLD loss: 0.1253
Reconstruction loss: 0.8591
Archetype R²: 0.0855
Archetype transform grad norm: 0.289478
Archetype transform param norm: 7.5723
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.7857 (range: 0.7857 - 0.7857)
archetypal_loss: 0.8591 (range: 0.8591 - 0.8591)
kld_loss: 0.1253 (range: 0.1253 - 0.1253)
reconstruction_loss: 0.8591 (range: 0.8591 - 0.8591)
archetype_r2: 0.0855 (range: 0.0855 - 0.0855)
Archetype Transform Summary:
archetype_transform_mean: 0.001325 (range: 0.001325 - 0.001325)
archetype_transform_std: 0.106036 (range: 0.106036 - 0.106036)
archetype_transform_norm: 7.572310 (range: 7.572310 - 7.572310)
archetype_transform_grad_norm: 0.289478 (range: 0.289478 - 0.289478)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0220, max=0.5492, mean=0.2000
Batch reconstruction MSE: 1.2658
Archetype stats: min=-14.4102, max=11.4544
Archetype change since last debug: 1.606043
Archetype gradients: norm=0.109117, mean=0.005249
Epoch 1/1
Average loss: 0.7896
Archetypal loss: 0.8633
KLD loss: 0.1258
Reconstruction loss: 0.8633
Archetype R²: 0.0806
Archetype transform grad norm: 0.302192
Archetype transform param norm: 7.5767
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.7896 (range: 0.7896 - 0.7896)
archetypal_loss: 0.8633 (range: 0.8633 - 0.8633)
kld_loss: 0.1258 (range: 0.1258 - 0.1258)
reconstruction_loss: 0.8633 (range: 0.8633 - 0.8633)
archetype_r2: 0.0806 (range: 0.0806 - 0.0806)
Archetype Transform Summary:
archetype_transform_mean: 0.001556 (range: 0.001556 - 0.001556)
archetype_transform_std: 0.106094 (range: 0.106094 - 0.106094)
archetype_transform_norm: 7.576665 (range: 7.576665 - 7.576665)
archetype_transform_grad_norm: 0.302192 (range: 0.302192 - 0.302192)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0237, max=0.5965, mean=0.2000
Batch reconstruction MSE: 1.2354
Archetype stats: min=-14.3600, max=10.6388
Archetype change since last debug: 2.091155
Archetype gradients: norm=0.147256, mean=0.005658
Epoch 1/1
Average loss: 0.7881
Archetypal loss: 0.8617
KLD loss: 0.1263
Reconstruction loss: 0.8617
Archetype R²: 0.0823
Archetype transform grad norm: 0.297953
Archetype transform param norm: 7.5749
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.7881 (range: 0.7881 - 0.7881)
archetypal_loss: 0.8617 (range: 0.8617 - 0.8617)
kld_loss: 0.1263 (range: 0.1263 - 0.1263)
reconstruction_loss: 0.8617 (range: 0.8617 - 0.8617)
archetype_r2: 0.0823 (range: 0.0823 - 0.0823)
Archetype Transform Summary:
archetype_transform_mean: 0.001431 (range: 0.001431 - 0.001431)
archetype_transform_std: 0.106070 (range: 0.106070 - 0.106070)
archetype_transform_norm: 7.574887 (range: 7.574887 - 7.574887)
archetype_transform_grad_norm: 0.297953 (range: 0.297953 - 0.297953)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0278, max=0.5018, mean=0.2000
Batch reconstruction MSE: 1.0347
Archetype stats: min=-14.3010, max=10.7822
Archetype change since last debug: 1.668857
Archetype gradients: norm=0.051941, mean=0.002217
Epoch 1/1
Average loss: 0.7818
Archetypal loss: 0.8556
KLD loss: 0.1176
Reconstruction loss: 0.8556
Archetype R²: 0.0892
Archetype transform grad norm: 0.269492
Archetype transform param norm: 7.6081
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.7818 (range: 0.7818 - 0.7818)
archetypal_loss: 0.8556 (range: 0.8556 - 0.8556)
kld_loss: 0.1176 (range: 0.1176 - 0.1176)
reconstruction_loss: 0.8556 (range: 0.8556 - 0.8556)
archetype_r2: 0.0892 (range: 0.0892 - 0.0892)
Archetype Transform Summary:
archetype_transform_mean: 0.001510 (range: 0.001510 - 0.001510)
archetype_transform_std: 0.106534 (range: 0.106534 - 0.106534)
archetype_transform_norm: 7.608061 (range: 7.608061 - 7.608061)
archetype_transform_grad_norm: 0.269492 (range: 0.269492 - 0.269492)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0303, max=0.3945, mean=0.2000
Batch reconstruction MSE: 0.9185
Archetype stats: min=-14.8585, max=10.8973
Archetype change since last debug: 1.686481
Archetype gradients: norm=0.031809, mean=0.001547
Epoch 1/1
Average loss: 0.7787
Archetypal loss: 0.8523
KLD loss: 0.1163
Reconstruction loss: 0.8523
Archetype R²: 0.0930
Archetype transform grad norm: 0.265055
Archetype transform param norm: 7.6708
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.7787 (range: 0.7787 - 0.7787)
archetypal_loss: 0.8523 (range: 0.8523 - 0.8523)
kld_loss: 0.1163 (range: 0.1163 - 0.1163)
reconstruction_loss: 0.8523 (range: 0.8523 - 0.8523)
archetype_r2: 0.0930 (range: 0.0930 - 0.0930)
Archetype Transform Summary:
archetype_transform_mean: 0.001448 (range: 0.001448 - 0.001448)
archetype_transform_std: 0.107414 (range: 0.107414 - 0.107414)
archetype_transform_norm: 7.670807 (range: 7.670807 - 7.670807)
archetype_transform_grad_norm: 0.265055 (range: 0.265055 - 0.265055)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0229, max=0.4481, mean=0.2000
Batch reconstruction MSE: 0.9428
Archetype stats: min=-15.2916, max=11.2661
Archetype change since last debug: 1.961861
Archetype gradients: norm=0.032047, mean=0.001508
Epoch 1/1
Average loss: 0.7779
Archetypal loss: 0.8524
KLD loss: 0.1074
Reconstruction loss: 0.8524
Archetype R²: 0.0928
Archetype transform grad norm: 0.264142
Archetype transform param norm: 7.7298
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.7779 (range: 0.7779 - 0.7779)
archetypal_loss: 0.8524 (range: 0.8524 - 0.8524)
kld_loss: 0.1074 (range: 0.1074 - 0.1074)
reconstruction_loss: 0.8524 (range: 0.8524 - 0.8524)
archetype_r2: 0.0928 (range: 0.0928 - 0.0928)
Archetype Transform Summary:
archetype_transform_mean: 0.001501 (range: 0.001501 - 0.001501)
archetype_transform_std: 0.108240 (range: 0.108240 - 0.108240)
archetype_transform_norm: 7.729842 (range: 7.729842 - 7.729842)
archetype_transform_grad_norm: 0.264142 (range: 0.264142 - 0.264142)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0369, max=0.4111, mean=0.2000
Batch reconstruction MSE: 0.9206
Archetype stats: min=-15.8726, max=11.4673
Archetype change since last debug: 1.713773
Archetype gradients: norm=0.039378, mean=0.001764
Epoch 1/1
Average loss: 0.7776
Archetypal loss: 0.8517
KLD loss: 0.1107
Reconstruction loss: 0.8517
Archetype R²: 0.0935
Archetype transform grad norm: 0.268070
Archetype transform param norm: 7.7849
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.7776 (range: 0.7776 - 0.7776)
archetypal_loss: 0.8517 (range: 0.8517 - 0.8517)
kld_loss: 0.1107 (range: 0.1107 - 0.1107)
reconstruction_loss: 0.8517 (range: 0.8517 - 0.8517)
archetype_r2: 0.0935 (range: 0.0935 - 0.0935)
Archetype Transform Summary:
archetype_transform_mean: 0.001443 (range: 0.001443 - 0.001443)
archetype_transform_std: 0.109011 (range: 0.109011 - 0.109011)
archetype_transform_norm: 7.784865 (range: 7.784865 - 7.784865)
archetype_transform_grad_norm: 0.268070 (range: 0.268070 - 0.268070)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0118, max=0.5474, mean=0.2000
Batch reconstruction MSE: 1.1418
Archetype stats: min=-16.1329, max=11.8200
Archetype change since last debug: 1.696800
Archetype gradients: norm=0.062221, mean=0.003079
Epoch 1/1
Average loss: 0.7813
Archetypal loss: 0.8567
KLD loss: 0.1028
Reconstruction loss: 0.8567
Archetype R²: 0.0878
Archetype transform grad norm: 0.280730
Archetype transform param norm: 7.8017
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.7813 (range: 0.7813 - 0.7813)
archetypal_loss: 0.8567 (range: 0.8567 - 0.8567)
kld_loss: 0.1028 (range: 0.1028 - 0.1028)
reconstruction_loss: 0.8567 (range: 0.8567 - 0.8567)
archetype_r2: 0.0878 (range: 0.0878 - 0.0878)
Archetype Transform Summary:
archetype_transform_mean: 0.001549 (range: 0.001549 - 0.001549)
archetype_transform_std: 0.109245 (range: 0.109245 - 0.109245)
archetype_transform_norm: 7.801671 (range: 7.801671 - 7.801671)
archetype_transform_grad_norm: 0.280730 (range: 0.280730 - 0.280730)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0323, max=0.4706, mean=0.2000
Batch reconstruction MSE: 1.0083
Archetype stats: min=-16.4100, max=11.6082
Archetype change since last debug: 1.367511
Archetype gradients: norm=0.082596, mean=0.003454
Epoch 1/1
Average loss: 0.7797
Archetypal loss: 0.8537
KLD loss: 0.1135
Reconstruction loss: 0.8537
Archetype R²: 0.0912
Archetype transform grad norm: 0.282633
Archetype transform param norm: 7.8202
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.7797 (range: 0.7797 - 0.7797)
archetypal_loss: 0.8537 (range: 0.8537 - 0.8537)
kld_loss: 0.1135 (range: 0.1135 - 0.1135)
reconstruction_loss: 0.8537 (range: 0.8537 - 0.8537)
archetype_r2: 0.0912 (range: 0.0912 - 0.0912)
Archetype Transform Summary:
archetype_transform_mean: 0.001414 (range: 0.001414 - 0.001414)
archetype_transform_std: 0.109506 (range: 0.109506 - 0.109506)
archetype_transform_norm: 7.820213 (range: 7.820213 - 7.820213)
archetype_transform_grad_norm: 0.282633 (range: 0.282633 - 0.282633)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0267, max=0.5139, mean=0.2000
Batch reconstruction MSE: 1.2621
Archetype stats: min=-15.9169, max=11.9147
Archetype change since last debug: 1.685620
Archetype gradients: norm=0.079309, mean=0.004107
Epoch 1/1
Average loss: 0.7838
Archetypal loss: 0.8593
KLD loss: 0.1049
Reconstruction loss: 0.8593
Archetype R²: 0.0847
Archetype transform grad norm: 0.299099
Archetype transform param norm: 7.8158
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.7838 (range: 0.7838 - 0.7838)
archetypal_loss: 0.8593 (range: 0.8593 - 0.8593)
kld_loss: 0.1049 (range: 0.1049 - 0.1049)
reconstruction_loss: 0.8593 (range: 0.8593 - 0.8593)
archetype_r2: 0.0847 (range: 0.0847 - 0.0847)
Archetype Transform Summary:
archetype_transform_mean: 0.001574 (range: 0.001574 - 0.001574)
archetype_transform_std: 0.109442 (range: 0.109442 - 0.109442)
archetype_transform_norm: 7.815753 (range: 7.815753 - 7.815753)
archetype_transform_grad_norm: 0.299099 (range: 0.299099 - 0.299099)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0361, max=0.4406, mean=0.2000
Batch reconstruction MSE: 0.9973
Archetype stats: min=-16.0309, max=11.3776
Archetype change since last debug: 1.858443
Archetype gradients: norm=0.074272, mean=0.002762
Epoch 1/1
Average loss: 0.7779
Archetypal loss: 0.8522
KLD loss: 0.1090
Reconstruction loss: 0.8522
Archetype R²: 0.0927
Archetype transform grad norm: 0.264981
Archetype transform param norm: 7.8342
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.7779 (range: 0.7779 - 0.7779)
archetypal_loss: 0.8522 (range: 0.8522 - 0.8522)
kld_loss: 0.1090 (range: 0.1090 - 0.1090)
reconstruction_loss: 0.8522 (range: 0.8522 - 0.8522)
archetype_r2: 0.0927 (range: 0.0927 - 0.0927)
Archetype Transform Summary:
archetype_transform_mean: 0.001455 (range: 0.001455 - 0.001455)
archetype_transform_std: 0.109702 (range: 0.109702 - 0.109702)
archetype_transform_norm: 7.834208 (range: 7.834208 - 7.834208)
archetype_transform_grad_norm: 0.264981 (range: 0.264981 - 0.264981)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0362, max=0.4200, mean=0.2000
Batch reconstruction MSE: 0.9968
Archetype stats: min=-15.9230, max=11.7881
Archetype change since last debug: 1.612342
Archetype gradients: norm=0.048339, mean=0.002546
Epoch 1/1
Average loss: 0.7773
Archetypal loss: 0.8522
KLD loss: 0.1030
Reconstruction loss: 0.8522
Archetype R²: 0.0927
Archetype transform grad norm: 0.281440
Archetype transform param norm: 7.8739
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.7773 (range: 0.7773 - 0.7773)
archetypal_loss: 0.8522 (range: 0.8522 - 0.8522)
kld_loss: 0.1030 (range: 0.1030 - 0.1030)
reconstruction_loss: 0.8522 (range: 0.8522 - 0.8522)
archetype_r2: 0.0927 (range: 0.0927 - 0.0927)
Archetype Transform Summary:
archetype_transform_mean: 0.001525 (range: 0.001525 - 0.001525)
archetype_transform_std: 0.110258 (range: 0.110258 - 0.110258)
archetype_transform_norm: 7.873944 (range: 7.873944 - 7.873944)
archetype_transform_grad_norm: 0.281440 (range: 0.281440 - 0.281440)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0447, max=0.5009, mean=0.2000
Batch reconstruction MSE: 0.9297
Archetype stats: min=-16.4674, max=11.8097
Archetype change since last debug: 1.311204
Archetype gradients: norm=0.060549, mean=0.002482
Epoch 1/1
Average loss: 0.7757
Archetypal loss: 0.8503
KLD loss: 0.1046
Reconstruction loss: 0.8503
Archetype R²: 0.0949
Archetype transform grad norm: 0.272492
Archetype transform param norm: 7.9107
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.7757 (range: 0.7757 - 0.7757)
archetypal_loss: 0.8503 (range: 0.8503 - 0.8503)
kld_loss: 0.1046 (range: 0.1046 - 0.1046)
reconstruction_loss: 0.8503 (range: 0.8503 - 0.8503)
archetype_r2: 0.0949 (range: 0.0949 - 0.0949)
Archetype Transform Summary:
archetype_transform_mean: 0.001429 (range: 0.001429 - 0.001429)
archetype_transform_std: 0.110773 (range: 0.110773 - 0.110773)
archetype_transform_norm: 7.910654 (range: 7.910654 - 7.910654)
archetype_transform_grad_norm: 0.272492 (range: 0.272492 - 0.272492)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0363, max=0.4252, mean=0.2000
Batch reconstruction MSE: 0.9839
Archetype stats: min=-16.6095, max=12.1607
Archetype change since last debug: 1.497065
Archetype gradients: norm=0.043832, mean=0.002337
Epoch 1/1
Average loss: 0.7759
Archetypal loss: 0.8515
KLD loss: 0.0956
Reconstruction loss: 0.8515
Archetype R²: 0.0936
Archetype transform grad norm: 0.284983
Archetype transform param norm: 7.9505
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.7759 (range: 0.7759 - 0.7759)
archetypal_loss: 0.8515 (range: 0.8515 - 0.8515)
kld_loss: 0.0956 (range: 0.0956 - 0.0956)
reconstruction_loss: 0.8515 (range: 0.8515 - 0.8515)
archetype_r2: 0.0936 (range: 0.0936 - 0.0936)
Archetype Transform Summary:
archetype_transform_mean: 0.001521 (range: 0.001521 - 0.001521)
archetype_transform_std: 0.111330 (range: 0.111330 - 0.111330)
archetype_transform_norm: 7.950531 (range: 7.950531 - 7.950531)
archetype_transform_grad_norm: 0.284983 (range: 0.284983 - 0.284983)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0442, max=0.3972, mean=0.2000
Batch reconstruction MSE: 0.9183
Archetype stats: min=-17.1425, max=12.1310
Archetype change since last debug: 1.281887
Archetype gradients: norm=0.064518, mean=0.002788
Epoch 1/1
Average loss: 0.7755
Archetypal loss: 0.8499
KLD loss: 0.1054
Reconstruction loss: 0.8499
Archetype R²: 0.0953
Archetype transform grad norm: 0.281110
Archetype transform param norm: 7.9834
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.7755 (range: 0.7755 - 0.7755)
archetypal_loss: 0.8499 (range: 0.8499 - 0.8499)
kld_loss: 0.1054 (range: 0.1054 - 0.1054)
reconstruction_loss: 0.8499 (range: 0.8499 - 0.8499)
archetype_r2: 0.0953 (range: 0.0953 - 0.0953)
Archetype Transform Summary:
archetype_transform_mean: 0.001431 (range: 0.001431 - 0.001431)
archetype_transform_std: 0.111792 (range: 0.111792 - 0.111792)
archetype_transform_norm: 7.983424 (range: 7.983424 - 7.983424)
archetype_transform_grad_norm: 0.281110 (range: 0.281110 - 0.281110)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0348, max=0.4447, mean=0.2000
Batch reconstruction MSE: 1.1441
Archetype stats: min=-17.2039, max=12.4701
Archetype change since last debug: 1.371164
Archetype gradients: norm=0.055128, mean=0.002626
Epoch 1/1
Average loss: 0.7783
Archetypal loss: 0.8551
KLD loss: 0.0879
Reconstruction loss: 0.8551
Archetype R²: 0.0894
Archetype transform grad norm: 0.295953
Archetype transform param norm: 7.9889
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.7783 (range: 0.7783 - 0.7783)
archetypal_loss: 0.8551 (range: 0.8551 - 0.8551)
kld_loss: 0.0879 (range: 0.0879 - 0.0879)
reconstruction_loss: 0.8551 (range: 0.8551 - 0.8551)
archetype_r2: 0.0894 (range: 0.0894 - 0.0894)
Archetype Transform Summary:
archetype_transform_mean: 0.001533 (range: 0.001533 - 0.001533)
archetype_transform_std: 0.111868 (range: 0.111868 - 0.111868)
archetype_transform_norm: 7.988926 (range: 7.988926 - 7.988926)
archetype_transform_grad_norm: 0.295953 (range: 0.295953 - 0.295953)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0442, max=0.4551, mean=0.2000
Batch reconstruction MSE: 0.9299
Archetype stats: min=-17.4200, max=12.1114
Archetype change since last debug: 1.304299
Archetype gradients: norm=0.035452, mean=0.001737
Epoch 1/1
Average loss: 0.7762
Archetypal loss: 0.8496
KLD loss: 0.1151
Reconstruction loss: 0.8496
Archetype R²: 0.0956
Archetype transform grad norm: 0.266913
Archetype transform param norm: 8.0112
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.7762 (range: 0.7762 - 0.7762)
archetypal_loss: 0.8496 (range: 0.8496 - 0.8496)
kld_loss: 0.1151 (range: 0.1151 - 0.1151)
reconstruction_loss: 0.8496 (range: 0.8496 - 0.8496)
archetype_r2: 0.0956 (range: 0.0956 - 0.0956)
Archetype Transform Summary:
archetype_transform_mean: 0.001491 (range: 0.001491 - 0.001491)
archetype_transform_std: 0.112181 (range: 0.112181 - 0.112181)
archetype_transform_norm: 8.011240 (range: 8.011240 - 8.011240)
archetype_transform_grad_norm: 0.266913 (range: 0.266913 - 0.266913)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0333, max=0.4479, mean=0.2000
Batch reconstruction MSE: 1.2150
Archetype stats: min=-17.6015, max=12.4433
Archetype change since last debug: 1.352102
Archetype gradients: norm=0.060982, mean=0.002836
Epoch 1/1
Average loss: 0.7785
Archetypal loss: 0.8554
KLD loss: 0.0858
Reconstruction loss: 0.8554
Archetype R²: 0.0888
Archetype transform grad norm: 0.271811
Archetype transform param norm: 7.9944
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.7785 (range: 0.7785 - 0.7785)
archetypal_loss: 0.8554 (range: 0.8554 - 0.8554)
kld_loss: 0.0858 (range: 0.0858 - 0.0858)
reconstruction_loss: 0.8554 (range: 0.8554 - 0.8554)
archetype_r2: 0.0888 (range: 0.0888 - 0.0888)
Archetype Transform Summary:
archetype_transform_mean: 0.001477 (range: 0.001477 - 0.001477)
archetype_transform_std: 0.111945 (range: 0.111945 - 0.111945)
archetype_transform_norm: 7.994411 (range: 7.994411 - 7.994411)
archetype_transform_grad_norm: 0.271811 (range: 0.271811 - 0.271811)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0573, max=0.5057, mean=0.2000
Batch reconstruction MSE: 0.8651
Archetype stats: min=-17.5451, max=12.2238
Archetype change since last debug: 1.155187
Archetype gradients: norm=0.015250, mean=0.000783
Epoch 1/1
Average loss: 0.7739
Archetypal loss: 0.8475
KLD loss: 0.1119
Reconstruction loss: 0.8475
Archetype R²: 0.0980
Archetype transform grad norm: 0.258452
Archetype transform param norm: 8.0332
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.7739 (range: 0.7739 - 0.7739)
archetypal_loss: 0.8475 (range: 0.8475 - 0.8475)
kld_loss: 0.1119 (range: 0.1119 - 0.1119)
reconstruction_loss: 0.8475 (range: 0.8475 - 0.8475)
archetype_r2: 0.0980 (range: 0.0980 - 0.0980)
Archetype Transform Summary:
archetype_transform_mean: 0.001474 (range: 0.001474 - 0.001474)
archetype_transform_std: 0.112489 (range: 0.112489 - 0.112489)
archetype_transform_norm: 8.033238 (range: 8.033238 - 8.033238)
archetype_transform_grad_norm: 0.258452 (range: 0.258452 - 0.258452)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0290, max=0.4184, mean=0.2000
Batch reconstruction MSE: 1.0438
Archetype stats: min=-17.9991, max=12.5759
Archetype change since last debug: 1.734590
Archetype gradients: norm=0.036395, mean=0.001673
Epoch 1/1
Average loss: 0.7744
Archetypal loss: 0.8511
KLD loss: 0.0846
Reconstruction loss: 0.8511
Archetype R²: 0.0938
Archetype transform grad norm: 0.262474
Archetype transform param norm: 8.0514
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.7744 (range: 0.7744 - 0.7744)
archetypal_loss: 0.8511 (range: 0.8511 - 0.8511)
kld_loss: 0.0846 (range: 0.0846 - 0.0846)
reconstruction_loss: 0.8511 (range: 0.8511 - 0.8511)
archetype_r2: 0.0938 (range: 0.0938 - 0.0938)
Archetype Transform Summary:
archetype_transform_mean: 0.001464 (range: 0.001464 - 0.001464)
archetype_transform_std: 0.112743 (range: 0.112743 - 0.112743)
archetype_transform_norm: 8.051353 (range: 8.051353 - 8.051353)
archetype_transform_grad_norm: 0.262474 (range: 0.262474 - 0.262474)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0528, max=0.4174, mean=0.2000
Batch reconstruction MSE: 0.8716
Archetype stats: min=-18.1053, max=12.5775
Archetype change since last debug: 0.660156
Archetype gradients: norm=0.017076, mean=0.000753
Epoch 1/1
Average loss: 0.7732
Archetypal loss: 0.8474
KLD loss: 0.1053
Reconstruction loss: 0.8474
Archetype R²: 0.0981
Archetype transform grad norm: 0.265256
Archetype transform param norm: 8.0942
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.7732 (range: 0.7732 - 0.7732)
archetypal_loss: 0.8474 (range: 0.8474 - 0.8474)
kld_loss: 0.1053 (range: 0.1053 - 0.1053)
reconstruction_loss: 0.8474 (range: 0.8474 - 0.8474)
archetype_r2: 0.0981 (range: 0.0981 - 0.0981)
Archetype Transform Summary:
archetype_transform_mean: 0.001481 (range: 0.001481 - 0.001481)
archetype_transform_std: 0.113343 (range: 0.113343 - 0.113343)
archetype_transform_norm: 8.094195 (range: 8.094195 - 8.094195)
archetype_transform_grad_norm: 0.265256 (range: 0.265256 - 0.265256)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0283, max=0.4816, mean=0.2000
Batch reconstruction MSE: 1.1400
Archetype stats: min=-18.5603, max=12.8501
Archetype change since last debug: 1.489568
Archetype gradients: norm=0.063978, mean=0.002703
Epoch 1/1
Average loss: 0.7762
Archetypal loss: 0.8532
KLD loss: 0.0838
Reconstruction loss: 0.8532
Archetype R²: 0.0913
Archetype transform grad norm: 0.266734
Archetype transform param norm: 8.0831
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.7762 (range: 0.7762 - 0.7762)
archetypal_loss: 0.8532 (range: 0.8532 - 0.8532)
kld_loss: 0.0838 (range: 0.0838 - 0.0838)
reconstruction_loss: 0.8532 (range: 0.8532 - 0.8532)
archetype_r2: 0.0913 (range: 0.0913 - 0.0913)
Archetype Transform Summary:
archetype_transform_mean: 0.001433 (range: 0.001433 - 0.001433)
archetype_transform_std: 0.113188 (range: 0.113188 - 0.113188)
archetype_transform_norm: 8.083067 (range: 8.083067 - 8.083067)
archetype_transform_grad_norm: 0.266734 (range: 0.266734 - 0.266734)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0569, max=0.4225, mean=0.2000
Batch reconstruction MSE: 0.8904
Archetype stats: min=-18.4510, max=12.7956
Archetype change since last debug: 1.009057
Archetype gradients: norm=0.031702, mean=0.001528
Epoch 1/1
Average loss: 0.7731
Archetypal loss: 0.8476
KLD loss: 0.1025
Reconstruction loss: 0.8476
Archetype R²: 0.0977
Archetype transform grad norm: 0.270016
Archetype transform param norm: 8.1159
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.7731 (range: 0.7731 - 0.7731)
archetypal_loss: 0.8476 (range: 0.8476 - 0.8476)
kld_loss: 0.1025 (range: 0.1025 - 0.1025)
reconstruction_loss: 0.8476 (range: 0.8476 - 0.8476)
archetype_r2: 0.0977 (range: 0.0977 - 0.0977)
Archetype Transform Summary:
archetype_transform_mean: 0.001494 (range: 0.001494 - 0.001494)
archetype_transform_std: 0.113646 (range: 0.113646 - 0.113646)
archetype_transform_norm: 8.115852 (range: 8.115852 - 8.115852)
archetype_transform_grad_norm: 0.270016 (range: 0.270016 - 0.270016)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0641, max=0.4006, mean=0.2000
Batch reconstruction MSE: 1.0074
Archetype stats: min=-18.9824, max=13.0322
Archetype change since last debug: 1.422482
Archetype gradients: norm=0.075196, mean=0.003218
Epoch 1/1
Average loss: 0.7741
Archetypal loss: 0.8505
KLD loss: 0.0866
Reconstruction loss: 0.8505
Archetype R²: 0.0944
Archetype transform grad norm: 0.280968
Archetype transform param norm: 8.1261
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.7741 (range: 0.7741 - 0.7741)
archetypal_loss: 0.8505 (range: 0.8505 - 0.8505)
kld_loss: 0.0866 (range: 0.0866 - 0.0866)
reconstruction_loss: 0.8505 (range: 0.8505 - 0.8505)
archetype_r2: 0.0944 (range: 0.0944 - 0.0944)
Archetype Transform Summary:
archetype_transform_mean: 0.001380 (range: 0.001380 - 0.001380)
archetype_transform_std: 0.113792 (range: 0.113792 - 0.113792)
archetype_transform_norm: 8.126147 (range: 8.126147 - 8.126147)
archetype_transform_grad_norm: 0.280968 (range: 0.280968 - 0.280968)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0478, max=0.4796, mean=0.2000
Batch reconstruction MSE: 1.0700
Archetype stats: min=-18.8248, max=13.1904
Archetype change since last debug: 0.852832
Archetype gradients: norm=0.086601, mean=0.004510
Epoch 1/1
Average loss: 0.7775
Archetypal loss: 0.8528
KLD loss: 0.0995
Reconstruction loss: 0.8528
Archetype R²: 0.0918
Archetype transform grad norm: 0.301543
Archetype transform param norm: 8.1267
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.7775 (range: 0.7775 - 0.7775)
archetypal_loss: 0.8528 (range: 0.8528 - 0.8528)
kld_loss: 0.0995 (range: 0.0995 - 0.0995)
reconstruction_loss: 0.8528 (range: 0.8528 - 0.8528)
archetype_r2: 0.0918 (range: 0.0918 - 0.0918)
Archetype Transform Summary:
archetype_transform_mean: 0.001536 (range: 0.001536 - 0.001536)
archetype_transform_std: 0.113798 (range: 0.113798 - 0.113798)
archetype_transform_norm: 8.126744 (range: 8.126744 - 8.126744)
archetype_transform_grad_norm: 0.301543 (range: 0.301543 - 0.301543)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0456, max=0.4393, mean=0.2000
Batch reconstruction MSE: 1.3374
Archetype stats: min=-19.0751, max=13.0021
Archetype change since last debug: 1.255256
Archetype gradients: norm=0.175721, mean=0.007549
Epoch 1/1
Average loss: 0.7839
Archetypal loss: 0.8596
KLD loss: 0.1028
Reconstruction loss: 0.8596
Archetype R²: 0.0839
Archetype transform grad norm: 0.320712
Archetype transform param norm: 8.0714
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.7839 (range: 0.7839 - 0.7839)
archetypal_loss: 0.8596 (range: 0.8596 - 0.8596)
kld_loss: 0.1028 (range: 0.1028 - 0.1028)
reconstruction_loss: 0.8596 (range: 0.8596 - 0.8596)
archetype_r2: 0.0839 (range: 0.0839 - 0.0839)
Archetype Transform Summary:
archetype_transform_mean: 0.001299 (range: 0.001299 - 0.001299)
archetype_transform_std: 0.113025 (range: 0.113025 - 0.113025)
archetype_transform_norm: 8.071360 (range: 8.071360 - 8.071360)
archetype_transform_grad_norm: 0.320712 (range: 0.320712 - 0.320712)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0263, max=0.4966, mean=0.2000
Batch reconstruction MSE: 1.4754
Archetype stats: min=-17.1698, max=12.8184
Archetype change since last debug: 3.352494
Archetype gradients: norm=0.141631, mean=0.006199
Epoch 1/1
Average loss: 0.7866
Archetypal loss: 0.8622
KLD loss: 0.1066
Reconstruction loss: 0.8622
Archetype R²: 0.0809
Archetype transform grad norm: 0.310334
Archetype transform param norm: 7.9944
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.7866 (range: 0.7866 - 0.7866)
archetypal_loss: 0.8622 (range: 0.8622 - 0.8622)
kld_loss: 0.1066 (range: 0.1066 - 0.1066)
reconstruction_loss: 0.8622 (range: 0.8622 - 0.8622)
archetype_r2: 0.0809 (range: 0.0809 - 0.0809)
Archetype Transform Summary:
archetype_transform_mean: 0.001532 (range: 0.001532 - 0.001532)
archetype_transform_std: 0.111944 (range: 0.111944 - 0.111944)
archetype_transform_norm: 7.994381 (range: 7.994381 - 7.994381)
archetype_transform_grad_norm: 0.310334 (range: 0.310334 - 0.310334)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0300, max=0.4503, mean=0.2000
Batch reconstruction MSE: 1.2137
Archetype stats: min=-16.8734, max=11.3112
Archetype change since last debug: 3.366116
Archetype gradients: norm=0.091277, mean=0.004032
Epoch 1/1
Average loss: 0.7798
Archetypal loss: 0.8548
KLD loss: 0.1050
Reconstruction loss: 0.8548
Archetype R²: 0.0893
Archetype transform grad norm: 0.275646
Archetype transform param norm: 7.9642
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.7798 (range: 0.7798 - 0.7798)
archetypal_loss: 0.8548 (range: 0.8548 - 0.8548)
kld_loss: 0.1050 (range: 0.1050 - 0.1050)
reconstruction_loss: 0.8548 (range: 0.8548 - 0.8548)
archetype_r2: 0.0893 (range: 0.0893 - 0.0893)
Archetype Transform Summary:
archetype_transform_mean: 0.001515 (range: 0.001515 - 0.001515)
archetype_transform_std: 0.111522 (range: 0.111522 - 0.111522)
archetype_transform_norm: 7.964204 (range: 7.964204 - 7.964204)
archetype_transform_grad_norm: 0.275646 (range: 0.275646 - 0.275646)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0394, max=0.3977, mean=0.2000
Batch reconstruction MSE: 0.9838
Archetype stats: min=-16.6021, max=11.5509
Archetype change since last debug: 1.248444
Archetype gradients: norm=0.019510, mean=0.000987
Epoch 1/1
Average loss: 0.7735
Archetypal loss: 0.8487
KLD loss: 0.0965
Reconstruction loss: 0.8487
Archetype R²: 0.0964
Archetype transform grad norm: 0.248430
Archetype transform param norm: 7.9940
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.7735 (range: 0.7735 - 0.7735)
archetypal_loss: 0.8487 (range: 0.8487 - 0.8487)
kld_loss: 0.0965 (range: 0.0965 - 0.0965)
reconstruction_loss: 0.8487 (range: 0.8487 - 0.8487)
archetype_r2: 0.0964 (range: 0.0964 - 0.0964)
Archetype Transform Summary:
archetype_transform_mean: 0.001481 (range: 0.001481 - 0.001481)
archetype_transform_std: 0.111940 (range: 0.111940 - 0.111940)
archetype_transform_norm: 7.994035 (range: 7.994035 - 7.994035)
archetype_transform_grad_norm: 0.248430 (range: 0.248430 - 0.248430)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0605, max=0.4034, mean=0.2000
Batch reconstruction MSE: 0.8948
Archetype stats: min=-16.8231, max=11.6446
Archetype change since last debug: 1.233676
Archetype gradients: norm=0.032538, mean=0.001257
Epoch 1/1
Average loss: 0.7716
Archetypal loss: 0.8465
KLD loss: 0.0971
Reconstruction loss: 0.8465
Archetype R²: 0.0988
Archetype transform grad norm: 0.248985
Archetype transform param norm: 8.0426
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.7716 (range: 0.7716 - 0.7716)
archetypal_loss: 0.8465 (range: 0.8465 - 0.8465)
kld_loss: 0.0971 (range: 0.0971 - 0.0971)
reconstruction_loss: 0.8465 (range: 0.8465 - 0.8465)
archetype_r2: 0.0988 (range: 0.0988 - 0.0988)
Archetype Transform Summary:
archetype_transform_mean: 0.001458 (range: 0.001458 - 0.001458)
archetype_transform_std: 0.112621 (range: 0.112621 - 0.112621)
archetype_transform_norm: 8.042639 (range: 8.042639 - 8.042639)
archetype_transform_grad_norm: 0.248985 (range: 0.248985 - 0.248985)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0675, max=0.4209, mean=0.2000
Batch reconstruction MSE: 0.8867
Archetype stats: min=-17.2774, max=11.9516
Archetype change since last debug: 1.614415
Archetype gradients: norm=0.023648, mean=0.001128
Epoch 1/1
Average loss: 0.7707
Archetypal loss: 0.8462
KLD loss: 0.0910
Reconstruction loss: 0.8462
Archetype R²: 0.0992
Archetype transform grad norm: 0.254525
Archetype transform param norm: 8.0961
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.7707 (range: 0.7707 - 0.7707)
archetypal_loss: 0.8462 (range: 0.8462 - 0.8462)
kld_loss: 0.0910 (range: 0.0910 - 0.0910)
reconstruction_loss: 0.8462 (range: 0.8462 - 0.8462)
archetype_r2: 0.0992 (range: 0.0992 - 0.0992)
Archetype Transform Summary:
archetype_transform_mean: 0.001448 (range: 0.001448 - 0.001448)
archetype_transform_std: 0.113370 (range: 0.113370 - 0.113370)
archetype_transform_norm: 8.096081 (range: 8.096081 - 8.096081)
archetype_transform_grad_norm: 0.254525 (range: 0.254525 - 0.254525)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0595, max=0.3839, mean=0.2000
Batch reconstruction MSE: 0.8598
Archetype stats: min=-17.6475, max=12.2016
Archetype change since last debug: 1.461314
Archetype gradients: norm=0.039531, mean=0.001656
Epoch 1/1
Average loss: 0.7703
Archetypal loss: 0.8457
KLD loss: 0.0918
Reconstruction loss: 0.8457
Archetype R²: 0.0998
Archetype transform grad norm: 0.257618
Archetype transform param norm: 8.1429
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.7703 (range: 0.7703 - 0.7703)
archetypal_loss: 0.8457 (range: 0.8457 - 0.8457)
kld_loss: 0.0918 (range: 0.0918 - 0.0918)
reconstruction_loss: 0.8457 (range: 0.8457 - 0.8457)
archetype_r2: 0.0998 (range: 0.0998 - 0.0998)
Archetype Transform Summary:
archetype_transform_mean: 0.001437 (range: 0.001437 - 0.001437)
archetype_transform_std: 0.114025 (range: 0.114025 - 0.114025)
archetype_transform_norm: 8.142856 (range: 8.142856 - 8.142856)
archetype_transform_grad_norm: 0.257618 (range: 0.257618 - 0.257618)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0660, max=0.4318, mean=0.2000
Batch reconstruction MSE: 0.9284
Archetype stats: min=-18.1867, max=12.4884
Archetype change since last debug: 1.571225
Archetype gradients: norm=0.045354, mean=0.002071
Epoch 1/1
Average loss: 0.7714
Archetypal loss: 0.8474
KLD loss: 0.0870
Reconstruction loss: 0.8474
Archetype R²: 0.0978
Archetype transform grad norm: 0.274949
Archetype transform param norm: 8.1825
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.7714 (range: 0.7714 - 0.7714)
archetypal_loss: 0.8474 (range: 0.8474 - 0.8474)
kld_loss: 0.0870 (range: 0.0870 - 0.0870)
reconstruction_loss: 0.8474 (range: 0.8474 - 0.8474)
archetype_r2: 0.0978 (range: 0.0978 - 0.0978)
Archetype Transform Summary:
archetype_transform_mean: 0.001410 (range: 0.001410 - 0.001410)
archetype_transform_std: 0.114580 (range: 0.114580 - 0.114580)
archetype_transform_norm: 8.182480 (range: 8.182480 - 8.182480)
archetype_transform_grad_norm: 0.274949 (range: 0.274949 - 0.274949)
Fold 3/3
Model input_dim: 50 (auto-detected from data)
Archetypes parameter registered: True
Archetypes requires_grad: True
Deep_AA (Deep Archetypal Analysis) initialized:
- Single-stage architecture (like Deep_2)
- Inflation factor: 1.5
- Direct archetypal coordinates (no bottleneck)
Consolidated Archetype Initialization
PCHA: True, Inflation: True (factor: 1.5)
Test inflation: False
Running PCHA initialization...
Input shape: (128, 50)
Target archetypes: 5
Running PCHA with 5 archetypes...
Data shape for PCHA: (50, 128)
PCHA Results:
Archetypes shape: (5, 50)
Archetype R²: 0.2141
SSE: 4491.1002
PCHA archetype R²: 0.2141
Archetype shape: (5, 50)
[OK] Initialized 5 archetypes using PCHA
Scalar Archetypal Inflation (factor: 1.50)
[OK] Inflation complete
[STATS] Positioning verification:
Data radius (max): 17.464
Data radius (mean): 6.150
Archetype distances: 3.655 to 24.275
Archetypes outside data: 2/5
Min archetype separation: 6.619
[OK] Archetype initialization complete (success: True)
[OK] Archetype initialization complete (PCHA: True, Inflation: 1.5)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0009, max=0.8576, mean=0.2000
Batch reconstruction MSE: 1.0033
Archetype stats: min=-1.4992, max=2.0753
Archetype gradients: norm=0.017225, mean=0.000788
Epoch 1/1
Average loss: 0.8917
Archetypal loss: 0.9887
KLD loss: 0.0189
Reconstruction loss: 0.9887
Archetype R²: -0.0161
Archetype transform grad norm: 0.205694
Archetype transform param norm: 5.8223
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.8917 (range: 0.8917 - 0.8917)
archetypal_loss: 0.9887 (range: 0.9887 - 0.9887)
kld_loss: 0.0189 (range: 0.0189 - 0.0189)
reconstruction_loss: 0.9887 (range: 0.9887 - 0.9887)
archetype_r2: -0.0161 (range: -0.0161 - -0.0161)
Archetype Transform Summary:
archetype_transform_mean: -0.000086 (range: -0.000086 - -0.000086)
archetype_transform_std: 0.081535 (range: 0.081535 - 0.081535)
archetype_transform_norm: 5.822265 (range: 5.822265 - 5.822265)
archetype_transform_grad_norm: 0.205694 (range: 0.205694 - 0.205694)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0027, max=0.8973, mean=0.2000
Batch reconstruction MSE: 0.8575
Archetype stats: min=-0.9205, max=1.0745
Archetype change since last debug: 5.604730
Archetype gradients: norm=0.002602, mean=0.000129
Epoch 1/1
Average loss: 0.8801
Archetypal loss: 0.9732
KLD loss: 0.0423
Reconstruction loss: 0.9732
Archetype R²: 0.0002
Archetype transform grad norm: 0.161201
Archetype transform param norm: 5.8326
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.8801 (range: 0.8801 - 0.8801)
archetypal_loss: 0.9732 (range: 0.9732 - 0.9732)
kld_loss: 0.0423 (range: 0.0423 - 0.0423)
reconstruction_loss: 0.9732 (range: 0.9732 - 0.9732)
archetype_r2: 0.0002 (range: 0.0002 - 0.0002)
Archetype Transform Summary:
archetype_transform_mean: -0.000225 (range: -0.000225 - -0.000225)
archetype_transform_std: 0.081680 (range: 0.081680 - 0.081680)
archetype_transform_norm: 5.832560 (range: 5.832560 - 5.832560)
archetype_transform_grad_norm: 0.161201 (range: 0.161201 - 0.161201)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0025, max=0.9140, mean=0.2000
Batch reconstruction MSE: 0.8681
Archetype stats: min=-1.5966, max=1.7932
Archetype change since last debug: 3.803782
Archetype gradients: norm=0.004519, mean=0.000204
Epoch 1/1
Average loss: 0.8687
Archetypal loss: 0.9547
KLD loss: 0.0944
Reconstruction loss: 0.9547
Archetype R²: 0.0192
Archetype transform grad norm: 0.189728
Archetype transform param norm: 5.9523
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.8687 (range: 0.8687 - 0.8687)
archetypal_loss: 0.9547 (range: 0.9547 - 0.9547)
kld_loss: 0.0944 (range: 0.0944 - 0.0944)
reconstruction_loss: 0.9547 (range: 0.9547 - 0.9547)
archetype_r2: 0.0192 (range: 0.0192 - 0.0192)
Archetype Transform Summary:
archetype_transform_mean: -0.000065 (range: -0.000065 - -0.000065)
archetype_transform_std: 0.083357 (range: 0.083357 - 0.083357)
archetype_transform_norm: 5.952341 (range: 5.952341 - 5.952341)
archetype_transform_grad_norm: 0.189728 (range: 0.189728 - 0.189728)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0038, max=0.9178, mean=0.2000
Batch reconstruction MSE: 0.9130
Archetype stats: min=-3.6355, max=2.8260
Archetype change since last debug: 8.116158
Archetype gradients: norm=0.008149, mean=0.000380
Epoch 1/1
Average loss: 0.8539
Archetypal loss: 0.9359
KLD loss: 0.1158
Reconstruction loss: 0.9359
Archetype R²: 0.0385
Archetype transform grad norm: 0.215406
Archetype transform param norm: 6.1933
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.8539 (range: 0.8539 - 0.8539)
archetypal_loss: 0.9359 (range: 0.9359 - 0.9359)
kld_loss: 0.1158 (range: 0.1158 - 0.1158)
reconstruction_loss: 0.9359 (range: 0.9359 - 0.9359)
archetype_r2: 0.0385 (range: 0.0385 - 0.0385)
Archetype Transform Summary:
archetype_transform_mean: 0.000005 (range: 0.000005 - 0.000005)
archetype_transform_std: 0.086732 (range: 0.086732 - 0.086732)
archetype_transform_norm: 6.193304 (range: 6.193304 - 6.193304)
archetype_transform_grad_norm: 0.215406 (range: 0.215406 - 0.215406)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0043, max=0.8901, mean=0.2000
Batch reconstruction MSE: 0.9422
Archetype stats: min=-5.6184, max=5.3895
Archetype change since last debug: 8.304589
Archetype gradients: norm=0.016435, mean=0.000685
Epoch 1/1
Average loss: 0.8434
Archetypal loss: 0.9241
KLD loss: 0.1169
Reconstruction loss: 0.9241
Archetype R²: 0.0504
Archetype transform grad norm: 0.235223
Archetype transform param norm: 6.4537
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.8434 (range: 0.8434 - 0.8434)
archetypal_loss: 0.9241 (range: 0.9241 - 0.9241)
kld_loss: 0.1169 (range: 0.1169 - 0.1169)
reconstruction_loss: 0.9241 (range: 0.9241 - 0.9241)
archetype_r2: 0.0504 (range: 0.0504 - 0.0504)
Archetype Transform Summary:
archetype_transform_mean: -0.000080 (range: -0.000080 - -0.000080)
archetype_transform_std: 0.090379 (range: 0.090379 - 0.090379)
archetype_transform_norm: 6.453718 (range: 6.453718 - 6.453718)
archetype_transform_grad_norm: 0.235223 (range: 0.235223 - 0.235223)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0043, max=0.8235, mean=0.2000
Batch reconstruction MSE: 1.0493
Archetype stats: min=-7.1593, max=8.1844
Archetype change since last debug: 7.183975
Archetype gradients: norm=0.020292, mean=0.000942
Epoch 1/1
Average loss: 0.8392
Archetypal loss: 0.9199
KLD loss: 0.1135
Reconstruction loss: 0.9199
Archetype R²: 0.0544
Archetype transform grad norm: 0.254273
Archetype transform param norm: 6.6375
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.8392 (range: 0.8392 - 0.8392)
archetypal_loss: 0.9199 (range: 0.9199 - 0.9199)
kld_loss: 0.1135 (range: 0.1135 - 0.1135)
reconstruction_loss: 0.9199 (range: 0.9199 - 0.9199)
archetype_r2: 0.0544 (range: 0.0544 - 0.0544)
Archetype Transform Summary:
archetype_transform_mean: -0.000271 (range: -0.000271 - -0.000271)
archetype_transform_std: 0.092953 (range: 0.092953 - 0.092953)
archetype_transform_norm: 6.637547 (range: 6.637547 - 6.637547)
archetype_transform_grad_norm: 0.254273 (range: 0.254273 - 0.254273)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0041, max=0.8221, mean=0.2000
Batch reconstruction MSE: 1.0288
Archetype stats: min=-7.7360, max=9.8101
Archetype change since last debug: 4.824461
Archetype gradients: norm=0.036912, mean=0.001533
Epoch 1/1
Average loss: 0.8348
Archetypal loss: 0.9149
KLD loss: 0.1142
Reconstruction loss: 0.9149
Archetype R²: 0.0596
Archetype transform grad norm: 0.255372
Archetype transform param norm: 6.7791
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.8348 (range: 0.8348 - 0.8348)
archetypal_loss: 0.9149 (range: 0.9149 - 0.9149)
kld_loss: 0.1142 (range: 0.1142 - 0.1142)
reconstruction_loss: 0.9149 (range: 0.9149 - 0.9149)
archetype_r2: 0.0596 (range: 0.0596 - 0.0596)
Archetype Transform Summary:
archetype_transform_mean: -0.000321 (range: -0.000321 - -0.000321)
archetype_transform_std: 0.094935 (range: 0.094935 - 0.094935)
archetype_transform_norm: 6.779067 (range: 6.779067 - 6.779067)
archetype_transform_grad_norm: 0.255372 (range: 0.255372 - 0.255372)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0036, max=0.8562, mean=0.2000
Batch reconstruction MSE: 0.9723
Archetype stats: min=-8.4161, max=11.3317
Archetype change since last debug: 3.898655
Archetype gradients: norm=0.016768, mean=0.000746
Epoch 1/1
Average loss: 0.8289
Archetypal loss: 0.9077
KLD loss: 0.1194
Reconstruction loss: 0.9077
Archetype R²: 0.0671
Archetype transform grad norm: 0.260630
Archetype transform param norm: 6.9470
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.8289 (range: 0.8289 - 0.8289)
archetypal_loss: 0.9077 (range: 0.9077 - 0.9077)
kld_loss: 0.1194 (range: 0.1194 - 0.1194)
reconstruction_loss: 0.9077 (range: 0.9077 - 0.9077)
archetype_r2: 0.0671 (range: 0.0671 - 0.0671)
Archetype Transform Summary:
archetype_transform_mean: -0.000425 (range: -0.000425 - -0.000425)
archetype_transform_std: 0.097287 (range: 0.097287 - 0.097287)
archetype_transform_norm: 6.947042 (range: 6.947042 - 6.947042)
archetype_transform_grad_norm: 0.260630 (range: 0.260630 - 0.260630)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0028, max=0.8065, mean=0.2000
Batch reconstruction MSE: 0.9788
Archetype stats: min=-9.0424, max=12.4137
Archetype change since last debug: 4.416446
Archetype gradients: norm=0.049109, mean=0.001881
Epoch 1/1
Average loss: 0.8240
Archetypal loss: 0.9009
KLD loss: 0.1317
Reconstruction loss: 0.9009
Archetype R²: 0.0741
Archetype transform grad norm: 0.266707
Archetype transform param norm: 7.1304
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.8240 (range: 0.8240 - 0.8240)
archetypal_loss: 0.9009 (range: 0.9009 - 0.9009)
kld_loss: 0.1317 (range: 0.1317 - 0.1317)
reconstruction_loss: 0.9009 (range: 0.9009 - 0.9009)
archetype_r2: 0.0741 (range: 0.0741 - 0.0741)
Archetype Transform Summary:
archetype_transform_mean: -0.000412 (range: -0.000412 - -0.000412)
archetype_transform_std: 0.099854 (range: 0.099854 - 0.099854)
archetype_transform_norm: 7.130352 (range: 7.130352 - 7.130352)
archetype_transform_grad_norm: 0.266707 (range: 0.266707 - 0.266707)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0042, max=0.7624, mean=0.2000
Batch reconstruction MSE: 1.0046
Archetype stats: min=-10.0050, max=13.6394
Archetype change since last debug: 4.501757
Archetype gradients: norm=0.035231, mean=0.001621
Epoch 1/1
Average loss: 0.8203
Archetypal loss: 0.8972
KLD loss: 0.1280
Reconstruction loss: 0.8972
Archetype R²: 0.0778
Archetype transform grad norm: 0.285803
Archetype transform param norm: 7.3094
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.8203 (range: 0.8203 - 0.8203)
archetypal_loss: 0.8972 (range: 0.8972 - 0.8972)
kld_loss: 0.1280 (range: 0.1280 - 0.1280)
reconstruction_loss: 0.8972 (range: 0.8972 - 0.8972)
archetype_r2: 0.0778 (range: 0.0778 - 0.0778)
Archetype Transform Summary:
archetype_transform_mean: -0.000499 (range: -0.000499 - -0.000499)
archetype_transform_std: 0.102361 (range: 0.102361 - 0.102361)
archetype_transform_norm: 7.309410 (range: 7.309410 - 7.309410)
archetype_transform_grad_norm: 0.285803 (range: 0.285803 - 0.285803)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0045, max=0.6435, mean=0.2000
Batch reconstruction MSE: 0.9607
Archetype stats: min=-10.3662, max=14.1491
Archetype change since last debug: 3.731683
Archetype gradients: norm=0.048206, mean=0.001970
Epoch 1/1
Average loss: 0.8163
Archetypal loss: 0.8931
KLD loss: 0.1249
Reconstruction loss: 0.8931
Archetype R²: 0.0821
Archetype transform grad norm: 0.278440
Archetype transform param norm: 7.4566
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.8163 (range: 0.8163 - 0.8163)
archetypal_loss: 0.8931 (range: 0.8931 - 0.8931)
kld_loss: 0.1249 (range: 0.1249 - 0.1249)
reconstruction_loss: 0.8931 (range: 0.8931 - 0.8931)
archetype_r2: 0.0821 (range: 0.0821 - 0.0821)
Archetype Transform Summary:
archetype_transform_mean: -0.000488 (range: -0.000488 - -0.000488)
archetype_transform_std: 0.104423 (range: 0.104423 - 0.104423)
archetype_transform_norm: 7.456615 (range: 7.456615 - 7.456615)
archetype_transform_grad_norm: 0.278440 (range: 0.278440 - 0.278440)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0079, max=0.5895, mean=0.2000
Batch reconstruction MSE: 1.0017
Archetype stats: min=-10.9623, max=15.1536
Archetype change since last debug: 3.351448
Archetype gradients: norm=0.033569, mean=0.001634
Epoch 1/1
Average loss: 0.8149
Archetypal loss: 0.8925
KLD loss: 0.1166
Reconstruction loss: 0.8925
Archetype R²: 0.0826
Archetype transform grad norm: 0.289433
Archetype transform param norm: 7.5785
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.8149 (range: 0.8149 - 0.8149)
archetypal_loss: 0.8925 (range: 0.8925 - 0.8925)
kld_loss: 0.1166 (range: 0.1166 - 0.1166)
reconstruction_loss: 0.8925 (range: 0.8925 - 0.8925)
archetype_r2: 0.0826 (range: 0.0826 - 0.0826)
Archetype Transform Summary:
archetype_transform_mean: -0.000563 (range: -0.000563 - -0.000563)
archetype_transform_std: 0.106129 (range: 0.106129 - 0.106129)
archetype_transform_norm: 7.578483 (range: 7.578483 - 7.578483)
archetype_transform_grad_norm: 0.289433 (range: 0.289433 - 0.289433)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0065, max=0.5618, mean=0.2000
Batch reconstruction MSE: 1.0213
Archetype stats: min=-11.3458, max=15.4394
Archetype change since last debug: 2.776948
Archetype gradients: norm=0.054730, mean=0.002688
Epoch 1/1
Average loss: 0.8148
Archetypal loss: 0.8922
KLD loss: 0.1188
Reconstruction loss: 0.8922
Archetype R²: 0.0828
Archetype transform grad norm: 0.301475
Archetype transform param norm: 7.6640
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.8148 (range: 0.8148 - 0.8148)
archetypal_loss: 0.8922 (range: 0.8922 - 0.8922)
kld_loss: 0.1188 (range: 0.1188 - 0.1188)
reconstruction_loss: 0.8922 (range: 0.8922 - 0.8922)
archetype_r2: 0.0828 (range: 0.0828 - 0.0828)
Archetype Transform Summary:
archetype_transform_mean: -0.000565 (range: -0.000565 - -0.000565)
archetype_transform_std: 0.107326 (range: 0.107326 - 0.107326)
archetype_transform_norm: 7.663967 (range: 7.663967 - 7.663967)
archetype_transform_grad_norm: 0.301475 (range: 0.301475 - 0.301475)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0104, max=0.5237, mean=0.2000
Batch reconstruction MSE: 1.0594
Archetype stats: min=-11.1679, max=16.1064
Archetype change since last debug: 2.138026
Archetype gradients: norm=0.044408, mean=0.002091
Epoch 1/1
Average loss: 0.8143
Archetypal loss: 0.8920
KLD loss: 0.1157
Reconstruction loss: 0.8920
Archetype R²: 0.0829
Archetype transform grad norm: 0.297013
Archetype transform param norm: 7.7309
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.8143 (range: 0.8143 - 0.8143)
archetypal_loss: 0.8920 (range: 0.8920 - 0.8920)
kld_loss: 0.1157 (range: 0.1157 - 0.1157)
reconstruction_loss: 0.8920 (range: 0.8920 - 0.8920)
archetype_r2: 0.0829 (range: 0.0829 - 0.0829)
Archetype Transform Summary:
archetype_transform_mean: -0.000695 (range: -0.000695 - -0.000695)
archetype_transform_std: 0.108263 (range: 0.108263 - 0.108263)
archetype_transform_norm: 7.730900 (range: 7.730900 - 7.730900)
archetype_transform_grad_norm: 0.297013 (range: 0.297013 - 0.297013)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0090, max=0.5047, mean=0.2000
Batch reconstruction MSE: 0.9775
Archetype stats: min=-11.2552, max=16.0367
Archetype change since last debug: 1.971152
Archetype gradients: norm=0.051701, mean=0.002260
Epoch 1/1
Average loss: 0.8124
Archetypal loss: 0.8902
KLD loss: 0.1125
Reconstruction loss: 0.8902
Archetype R²: 0.0850
Archetype transform grad norm: 0.295909
Archetype transform param norm: 7.7947
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.8124 (range: 0.8124 - 0.8124)
archetypal_loss: 0.8902 (range: 0.8902 - 0.8902)
kld_loss: 0.1125 (range: 0.1125 - 0.1125)
reconstruction_loss: 0.8902 (range: 0.8902 - 0.8902)
archetype_r2: 0.0850 (range: 0.0850 - 0.0850)
Archetype Transform Summary:
archetype_transform_mean: -0.000685 (range: -0.000685 - -0.000685)
archetype_transform_std: 0.109156 (range: 0.109156 - 0.109156)
archetype_transform_norm: 7.794684 (range: 7.794684 - 7.794684)
archetype_transform_grad_norm: 0.295909 (range: 0.295909 - 0.295909)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0166, max=0.4984, mean=0.2000
Batch reconstruction MSE: 0.9252
Archetype stats: min=-11.2397, max=16.6247
Archetype change since last debug: 1.757250
Archetype gradients: norm=0.029149, mean=0.001325
Epoch 1/1
Average loss: 0.8103
Archetypal loss: 0.8882
KLD loss: 0.1089
Reconstruction loss: 0.8882
Archetype R²: 0.0871
Archetype transform grad norm: 0.296145
Archetype transform param norm: 7.8682
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.8103 (range: 0.8103 - 0.8103)
archetypal_loss: 0.8882 (range: 0.8882 - 0.8882)
kld_loss: 0.1089 (range: 0.1089 - 0.1089)
reconstruction_loss: 0.8882 (range: 0.8882 - 0.8882)
archetype_r2: 0.0871 (range: 0.0871 - 0.0871)
Archetype Transform Summary:
archetype_transform_mean: -0.000748 (range: -0.000748 - -0.000748)
archetype_transform_std: 0.110186 (range: 0.110186 - 0.110186)
archetype_transform_norm: 7.868236 (range: 7.868236 - 7.868236)
archetype_transform_grad_norm: 0.296145 (range: 0.296145 - 0.296145)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0093, max=0.4774, mean=0.2000
Batch reconstruction MSE: 0.9285
Archetype stats: min=-11.6600, max=16.8612
Archetype change since last debug: 2.094984
Archetype gradients: norm=0.037223, mean=0.001769
Epoch 1/1
Average loss: 0.8095
Archetypal loss: 0.8878
KLD loss: 0.1044
Reconstruction loss: 0.8878
Archetype R²: 0.0875
Archetype transform grad norm: 0.303984
Archetype transform param norm: 7.9326
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.8095 (range: 0.8095 - 0.8095)
archetypal_loss: 0.8878 (range: 0.8878 - 0.8878)
kld_loss: 0.1044 (range: 0.1044 - 0.1044)
reconstruction_loss: 0.8878 (range: 0.8878 - 0.8878)
archetype_r2: 0.0875 (range: 0.0875 - 0.0875)
Archetype Transform Summary:
archetype_transform_mean: -0.000726 (range: -0.000726 - -0.000726)
archetype_transform_std: 0.111088 (range: 0.111088 - 0.111088)
archetype_transform_norm: 7.932648 (range: 7.932648 - 7.932648)
archetype_transform_grad_norm: 0.303984 (range: 0.303984 - 0.303984)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0175, max=0.4397, mean=0.2000
Batch reconstruction MSE: 0.8904
Archetype stats: min=-11.8147, max=17.4181
Archetype change since last debug: 1.748866
Archetype gradients: norm=0.018380, mean=0.000802
Epoch 1/1
Average loss: 0.8078
Archetypal loss: 0.8862
KLD loss: 0.1019
Reconstruction loss: 0.8862
Archetype R²: 0.0892
Archetype transform grad norm: 0.297753
Archetype transform param norm: 7.9999
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.8078 (range: 0.8078 - 0.8078)
archetypal_loss: 0.8862 (range: 0.8862 - 0.8862)
kld_loss: 0.1019 (range: 0.1019 - 0.1019)
reconstruction_loss: 0.8862 (range: 0.8862 - 0.8862)
archetype_r2: 0.0892 (range: 0.0892 - 0.0892)
Archetype Transform Summary:
archetype_transform_mean: -0.000769 (range: -0.000769 - -0.000769)
archetype_transform_std: 0.112030 (range: 0.112030 - 0.112030)
archetype_transform_norm: 7.999944 (range: 7.999944 - 7.999944)
archetype_transform_grad_norm: 0.297753 (range: 0.297753 - 0.297753)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0114, max=0.4805, mean=0.2000
Batch reconstruction MSE: 0.9286
Archetype stats: min=-12.1755, max=17.6767
Archetype change since last debug: 1.899126
Archetype gradients: norm=0.034744, mean=0.001574
Epoch 1/1
Average loss: 0.8072
Archetypal loss: 0.8862
KLD loss: 0.0963
Reconstruction loss: 0.8862
Archetype R²: 0.0890
Archetype transform grad norm: 0.294494
Archetype transform param norm: 8.0515
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.8072 (range: 0.8072 - 0.8072)
archetypal_loss: 0.8862 (range: 0.8862 - 0.8862)
kld_loss: 0.0963 (range: 0.0963 - 0.0963)
reconstruction_loss: 0.8862 (range: 0.8862 - 0.8862)
archetype_r2: 0.0890 (range: 0.0890 - 0.0890)
Archetype Transform Summary:
archetype_transform_mean: -0.000745 (range: -0.000745 - -0.000745)
archetype_transform_std: 0.112752 (range: 0.112752 - 0.112752)
archetype_transform_norm: 8.051497 (range: 8.051497 - 8.051497)
archetype_transform_grad_norm: 0.294494 (range: 0.294494 - 0.294494)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0212, max=0.4827, mean=0.2000
Batch reconstruction MSE: 0.9121
Archetype stats: min=-12.3628, max=18.1741
Archetype change since last debug: 1.541868
Archetype gradients: norm=0.025082, mean=0.001141
Epoch 1/1
Average loss: 0.8076
Archetypal loss: 0.8862
KLD loss: 0.1003
Reconstruction loss: 0.8862
Archetype R²: 0.0890
Archetype transform grad norm: 0.313045
Archetype transform param norm: 8.1004
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.8076 (range: 0.8076 - 0.8076)
archetypal_loss: 0.8862 (range: 0.8862 - 0.8862)
kld_loss: 0.1003 (range: 0.1003 - 0.1003)
reconstruction_loss: 0.8862 (range: 0.8862 - 0.8862)
archetype_r2: 0.0890 (range: 0.0890 - 0.0890)
Archetype Transform Summary:
archetype_transform_mean: -0.000772 (range: -0.000772 - -0.000772)
archetype_transform_std: 0.113437 (range: 0.113437 - 0.113437)
archetype_transform_norm: 8.100381 (range: 8.100381 - 8.100381)
archetype_transform_grad_norm: 0.313045 (range: 0.313045 - 0.313045)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0121, max=0.5688, mean=0.2000
Batch reconstruction MSE: 0.9719
Archetype stats: min=-12.6707, max=18.1521
Archetype change since last debug: 1.535792
Archetype gradients: norm=0.039875, mean=0.001795
Epoch 1/1
Average loss: 0.8072
Archetypal loss: 0.8865
KLD loss: 0.0931
Reconstruction loss: 0.8865
Archetype R²: 0.0885
Archetype transform grad norm: 0.299645
Archetype transform param norm: 8.1292
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.8072 (range: 0.8072 - 0.8072)
archetypal_loss: 0.8865 (range: 0.8865 - 0.8865)
kld_loss: 0.0931 (range: 0.0931 - 0.0931)
reconstruction_loss: 0.8865 (range: 0.8865 - 0.8865)
archetype_r2: 0.0885 (range: 0.0885 - 0.0885)
Archetype Transform Summary:
archetype_transform_mean: -0.000757 (range: -0.000757 - -0.000757)
archetype_transform_std: 0.113840 (range: 0.113840 - 0.113840)
archetype_transform_norm: 8.129187 (range: 8.129187 - 8.129187)
archetype_transform_grad_norm: 0.299645 (range: 0.299645 - 0.299645)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0211, max=0.4032, mean=0.2000
Batch reconstruction MSE: 0.9113
Archetype stats: min=-12.5599, max=18.6065
Archetype change since last debug: 1.306079
Archetype gradients: norm=0.023111, mean=0.001101
Epoch 1/1
Average loss: 0.8063
Archetypal loss: 0.8851
KLD loss: 0.0975
Reconstruction loss: 0.8851
Archetype R²: 0.0901
Archetype transform grad norm: 0.303884
Archetype transform param norm: 8.1720
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.8063 (range: 0.8063 - 0.8063)
archetypal_loss: 0.8851 (range: 0.8851 - 0.8851)
kld_loss: 0.0975 (range: 0.0975 - 0.0975)
reconstruction_loss: 0.8851 (range: 0.8851 - 0.8851)
archetype_r2: 0.0901 (range: 0.0901 - 0.0901)
Archetype Transform Summary:
archetype_transform_mean: -0.000794 (range: -0.000794 - -0.000794)
archetype_transform_std: 0.114439 (range: 0.114439 - 0.114439)
archetype_transform_norm: 8.171970 (range: 8.171970 - 8.171970)
archetype_transform_grad_norm: 0.303884 (range: 0.303884 - 0.303884)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0091, max=0.5723, mean=0.2000
Batch reconstruction MSE: 0.9526
Archetype stats: min=-12.8358, max=18.4294
Archetype change since last debug: 1.513466
Archetype gradients: norm=0.031362, mean=0.001272
Epoch 1/1
Average loss: 0.8063
Archetypal loss: 0.8858
KLD loss: 0.0905
Reconstruction loss: 0.8858
Archetype R²: 0.0892
Archetype transform grad norm: 0.300256
Archetype transform param norm: 8.2052
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.8063 (range: 0.8063 - 0.8063)
archetypal_loss: 0.8858 (range: 0.8858 - 0.8858)
kld_loss: 0.0905 (range: 0.0905 - 0.0905)
reconstruction_loss: 0.8858 (range: 0.8858 - 0.8858)
archetype_r2: 0.0892 (range: 0.0892 - 0.0892)
Archetype Transform Summary:
archetype_transform_mean: -0.000800 (range: -0.000800 - -0.000800)
archetype_transform_std: 0.114904 (range: 0.114904 - 0.114904)
archetype_transform_norm: 8.205161 (range: 8.205161 - 8.205161)
archetype_transform_grad_norm: 0.300256 (range: 0.300256 - 0.300256)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0265, max=0.5735, mean=0.2000
Batch reconstruction MSE: 0.9201
Archetype stats: min=-12.5975, max=18.9071
Archetype change since last debug: 1.427856
Archetype gradients: norm=0.038480, mean=0.001725
Epoch 1/1
Average loss: 0.8068
Archetypal loss: 0.8858
KLD loss: 0.0956
Reconstruction loss: 0.8858
Archetype R²: 0.0892
Archetype transform grad norm: 0.317113
Archetype transform param norm: 8.2377
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.8068 (range: 0.8068 - 0.8068)
archetypal_loss: 0.8858 (range: 0.8858 - 0.8858)
kld_loss: 0.0956 (range: 0.0956 - 0.0956)
reconstruction_loss: 0.8858 (range: 0.8858 - 0.8858)
archetype_r2: 0.0892 (range: 0.0892 - 0.0892)
Archetype Transform Summary:
archetype_transform_mean: -0.000845 (range: -0.000845 - -0.000845)
archetype_transform_std: 0.115359 (range: 0.115359 - 0.115359)
archetype_transform_norm: 8.237708 (range: 8.237708 - 8.237708)
archetype_transform_grad_norm: 0.317113 (range: 0.317113 - 0.317113)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0200, max=0.4407, mean=0.2000
Batch reconstruction MSE: 0.9295
Archetype stats: min=-12.9116, max=18.6219
Archetype change since last debug: 1.380846
Archetype gradients: norm=0.039856, mean=0.001943
Epoch 1/1
Average loss: 0.8053
Archetypal loss: 0.8848
KLD loss: 0.0902
Reconstruction loss: 0.8848
Archetype R²: 0.0903
Archetype transform grad norm: 0.306623
Archetype transform param norm: 8.2648
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.8053 (range: 0.8053 - 0.8053)
archetypal_loss: 0.8848 (range: 0.8848 - 0.8848)
kld_loss: 0.0902 (range: 0.0902 - 0.0902)
reconstruction_loss: 0.8848 (range: 0.8848 - 0.8848)
archetype_r2: 0.0903 (range: 0.0903 - 0.0903)
Archetype Transform Summary:
archetype_transform_mean: -0.000831 (range: -0.000831 - -0.000831)
archetype_transform_std: 0.115739 (range: 0.115739 - 0.115739)
archetype_transform_norm: 8.264808 (range: 8.264808 - 8.264808)
archetype_transform_grad_norm: 0.306623 (range: 0.306623 - 0.306623)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0288, max=0.4447, mean=0.2000
Batch reconstruction MSE: 0.9302
Archetype stats: min=-12.7271, max=19.2414
Archetype change since last debug: 1.417861
Archetype gradients: norm=0.060206, mean=0.002795
Epoch 1/1
Average loss: 0.8065
Archetypal loss: 0.8858
KLD loss: 0.0929
Reconstruction loss: 0.8858
Archetype R²: 0.0892
Archetype transform grad norm: 0.324054
Archetype transform param norm: 8.2847
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.8065 (range: 0.8065 - 0.8065)
archetypal_loss: 0.8858 (range: 0.8858 - 0.8858)
kld_loss: 0.0929 (range: 0.0929 - 0.0929)
reconstruction_loss: 0.8858 (range: 0.8858 - 0.8858)
archetype_r2: 0.0892 (range: 0.0892 - 0.0892)
Archetype Transform Summary:
archetype_transform_mean: -0.000879 (range: -0.000879 - -0.000879)
archetype_transform_std: 0.116017 (range: 0.116017 - 0.116017)
archetype_transform_norm: 8.284680 (range: 8.284680 - 8.284680)
archetype_transform_grad_norm: 0.324054 (range: 0.324054 - 0.324054)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0216, max=0.3960, mean=0.2000
Batch reconstruction MSE: 0.9639
Archetype stats: min=-13.0826, max=19.0253
Archetype change since last debug: 1.324139
Archetype gradients: norm=0.058701, mean=0.002696
Epoch 1/1
Average loss: 0.8064
Archetypal loss: 0.8857
KLD loss: 0.0924
Reconstruction loss: 0.8857
Archetype R²: 0.0891
Archetype transform grad norm: 0.319825
Archetype transform param norm: 8.2996
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.8064 (range: 0.8064 - 0.8064)
archetypal_loss: 0.8857 (range: 0.8857 - 0.8857)
kld_loss: 0.0924 (range: 0.0924 - 0.0924)
reconstruction_loss: 0.8857 (range: 0.8857 - 0.8857)
archetype_r2: 0.0891 (range: 0.0891 - 0.0891)
Archetype Transform Summary:
archetype_transform_mean: -0.000795 (range: -0.000795 - -0.000795)
archetype_transform_std: 0.116226 (range: 0.116226 - 0.116226)
archetype_transform_norm: 8.299558 (range: 8.299558 - 8.299558)
archetype_transform_grad_norm: 0.319825 (range: 0.319825 - 0.319825)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0396, max=0.4225, mean=0.2000
Batch reconstruction MSE: 0.9663
Archetype stats: min=-12.9989, max=19.4850
Archetype change since last debug: 1.497250
Archetype gradients: norm=0.058543, mean=0.003111
Epoch 1/1
Average loss: 0.8064
Archetypal loss: 0.8860
KLD loss: 0.0896
Reconstruction loss: 0.8860
Archetype R²: 0.0887
Archetype transform grad norm: 0.331525
Archetype transform param norm: 8.3077
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.8064 (range: 0.8064 - 0.8064)
archetypal_loss: 0.8860 (range: 0.8860 - 0.8860)
kld_loss: 0.0896 (range: 0.0896 - 0.0896)
reconstruction_loss: 0.8860 (range: 0.8860 - 0.8860)
archetype_r2: 0.0887 (range: 0.0887 - 0.0887)
Archetype Transform Summary:
archetype_transform_mean: -0.000892 (range: -0.000892 - -0.000892)
archetype_transform_std: 0.116340 (range: 0.116340 - 0.116340)
archetype_transform_norm: 8.307740 (range: 8.307740 - 8.307740)
archetype_transform_grad_norm: 0.331525 (range: 0.331525 - 0.331525)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0275, max=0.3975, mean=0.2000
Batch reconstruction MSE: 0.9347
Archetype stats: min=-12.8212, max=19.1248
Archetype change since last debug: 1.419855
Archetype gradients: norm=0.046329, mean=0.002230
Epoch 1/1
Average loss: 0.8051
Archetypal loss: 0.8841
KLD loss: 0.0939
Reconstruction loss: 0.8841
Archetype R²: 0.0908
Archetype transform grad norm: 0.312470
Archetype transform param norm: 8.3292
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.8051 (range: 0.8051 - 0.8051)
archetypal_loss: 0.8841 (range: 0.8841 - 0.8841)
kld_loss: 0.0939 (range: 0.0939 - 0.0939)
reconstruction_loss: 0.8841 (range: 0.8841 - 0.8841)
archetype_r2: 0.0908 (range: 0.0908 - 0.0908)
Archetype Transform Summary:
archetype_transform_mean: -0.000828 (range: -0.000828 - -0.000828)
archetype_transform_std: 0.116641 (range: 0.116641 - 0.116641)
archetype_transform_norm: 8.329217 (range: 8.329217 - 8.329217)
archetype_transform_grad_norm: 0.312470 (range: 0.312470 - 0.312470)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0396, max=0.4078, mean=0.2000
Batch reconstruction MSE: 0.9573
Archetype stats: min=-13.0899, max=19.4921
Archetype change since last debug: 1.432585
Archetype gradients: norm=0.043433, mean=0.002168
Epoch 1/1
Average loss: 0.8042
Archetypal loss: 0.8841
KLD loss: 0.0847
Reconstruction loss: 0.8841
Archetype R²: 0.0907
Archetype transform grad norm: 0.303716
Archetype transform param norm: 8.3469
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.8042 (range: 0.8042 - 0.8042)
archetypal_loss: 0.8841 (range: 0.8841 - 0.8841)
kld_loss: 0.0847 (range: 0.0847 - 0.0847)
reconstruction_loss: 0.8841 (range: 0.8841 - 0.8841)
archetype_r2: 0.0907 (range: 0.0907 - 0.0907)
Archetype Transform Summary:
archetype_transform_mean: -0.000914 (range: -0.000914 - -0.000914)
archetype_transform_std: 0.116887 (range: 0.116887 - 0.116887)
archetype_transform_norm: 8.346872 (range: 8.346872 - 8.346872)
archetype_transform_grad_norm: 0.303716 (range: 0.303716 - 0.303716)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0394, max=0.4159, mean=0.2000
Batch reconstruction MSE: 0.8370
Archetype stats: min=-13.0955, max=19.3774
Archetype change since last debug: 1.137276
Archetype gradients: norm=0.020524, mean=0.000981
Epoch 1/1
Average loss: 0.8020
Archetypal loss: 0.8812
KLD loss: 0.0892
Reconstruction loss: 0.8812
Archetype R²: 0.0940
Archetype transform grad norm: 0.299666
Archetype transform param norm: 8.3912
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.8020 (range: 0.8020 - 0.8020)
archetypal_loss: 0.8812 (range: 0.8812 - 0.8812)
kld_loss: 0.0892 (range: 0.0892 - 0.0892)
reconstruction_loss: 0.8812 (range: 0.8812 - 0.8812)
archetype_r2: 0.0940 (range: 0.0940 - 0.0940)
Archetype Transform Summary:
archetype_transform_mean: -0.000867 (range: -0.000867 - -0.000867)
archetype_transform_std: 0.117508 (range: 0.117508 - 0.117508)
archetype_transform_norm: 8.391157 (range: 8.391157 - 8.391157)
archetype_transform_grad_norm: 0.299666 (range: 0.299666 - 0.299666)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0328, max=0.4365, mean=0.2000
Batch reconstruction MSE: 0.8748
Archetype stats: min=-13.5202, max=20.0012
Archetype change since last debug: 1.565019
Archetype gradients: norm=0.020495, mean=0.001003
Epoch 1/1
Average loss: 0.8018
Archetypal loss: 0.8819
KLD loss: 0.0809
Reconstruction loss: 0.8819
Archetype R²: 0.0931
Archetype transform grad norm: 0.307086
Archetype transform param norm: 8.4286
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.8018 (range: 0.8018 - 0.8018)
archetypal_loss: 0.8819 (range: 0.8819 - 0.8819)
kld_loss: 0.0809 (range: 0.0809 - 0.0809)
reconstruction_loss: 0.8819 (range: 0.8819 - 0.8819)
archetype_r2: 0.0931 (range: 0.0931 - 0.0931)
Archetype Transform Summary:
archetype_transform_mean: -0.000896 (range: -0.000896 - -0.000896)
archetype_transform_std: 0.118032 (range: 0.118032 - 0.118032)
archetype_transform_norm: 8.428580 (range: 8.428580 - 8.428580)
archetype_transform_grad_norm: 0.307086 (range: 0.307086 - 0.307086)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0406, max=0.3933, mean=0.2000
Batch reconstruction MSE: 0.8553
Archetype stats: min=-13.6185, max=20.0813
Archetype change since last debug: 1.326222
Archetype gradients: norm=0.017926, mean=0.000917
Epoch 1/1
Average loss: 0.8025
Archetypal loss: 0.8821
KLD loss: 0.0855
Reconstruction loss: 0.8821
Archetype R²: 0.0929
Archetype transform grad norm: 0.318000
Archetype transform param norm: 8.4632
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.8025 (range: 0.8025 - 0.8025)
archetypal_loss: 0.8821 (range: 0.8821 - 0.8821)
kld_loss: 0.0855 (range: 0.0855 - 0.0855)
reconstruction_loss: 0.8821 (range: 0.8821 - 0.8821)
archetype_r2: 0.0929 (range: 0.0929 - 0.0929)
Archetype Transform Summary:
archetype_transform_mean: -0.000891 (range: -0.000891 - -0.000891)
archetype_transform_std: 0.118517 (range: 0.118517 - 0.118517)
archetype_transform_norm: 8.463193 (range: 8.463193 - 8.463193)
archetype_transform_grad_norm: 0.318000 (range: 0.318000 - 0.318000)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0361, max=0.4937, mean=0.2000
Batch reconstruction MSE: 0.9393
Archetype stats: min=-13.8405, max=20.4142
Archetype change since last debug: 1.111212
Archetype gradients: norm=0.030887, mean=0.001421
Epoch 1/1
Average loss: 0.8033
Archetypal loss: 0.8838
KLD loss: 0.0786
Reconstruction loss: 0.8838
Archetype R²: 0.0910
Archetype transform grad norm: 0.315493
Archetype transform param norm: 8.4707
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.8033 (range: 0.8033 - 0.8033)
archetypal_loss: 0.8838 (range: 0.8838 - 0.8838)
kld_loss: 0.0786 (range: 0.0786 - 0.0786)
reconstruction_loss: 0.8838 (range: 0.8838 - 0.8838)
archetype_r2: 0.0910 (range: 0.0910 - 0.0910)
Archetype Transform Summary:
archetype_transform_mean: -0.000866 (range: -0.000866 - -0.000866)
archetype_transform_std: 0.118622 (range: 0.118622 - 0.118622)
archetype_transform_norm: 8.470726 (range: 8.470726 - 8.470726)
archetype_transform_grad_norm: 0.315493 (range: 0.315493 - 0.315493)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0472, max=0.4240, mean=0.2000
Batch reconstruction MSE: 0.9063
Archetype stats: min=-13.7535, max=20.2349
Archetype change since last debug: 0.869789
Archetype gradients: norm=0.031416, mean=0.001506
Epoch 1/1
Average loss: 0.8027
Archetypal loss: 0.8824
KLD loss: 0.0854
Reconstruction loss: 0.8824
Archetype R²: 0.0924
Archetype transform grad norm: 0.305161
Archetype transform param norm: 8.4861
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.8027 (range: 0.8027 - 0.8027)
archetypal_loss: 0.8824 (range: 0.8824 - 0.8824)
kld_loss: 0.0854 (range: 0.0854 - 0.0854)
reconstruction_loss: 0.8824 (range: 0.8824 - 0.8824)
archetype_r2: 0.0924 (range: 0.0924 - 0.0924)
Archetype Transform Summary:
archetype_transform_mean: -0.000917 (range: -0.000917 - -0.000917)
archetype_transform_std: 0.118837 (range: 0.118837 - 0.118837)
archetype_transform_norm: 8.486084 (range: 8.486084 - 8.486084)
archetype_transform_grad_norm: 0.305161 (range: 0.305161 - 0.305161)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0392, max=0.4141, mean=0.2000
Batch reconstruction MSE: 0.9550
Archetype stats: min=-14.0900, max=20.7031
Archetype change since last debug: 1.095968
Archetype gradients: norm=0.041599, mean=0.002005
Epoch 1/1
Average loss: 0.8029
Archetypal loss: 0.8832
KLD loss: 0.0798
Reconstruction loss: 0.8832
Archetype R²: 0.0915
Archetype transform grad norm: 0.311508
Archetype transform param norm: 8.4933
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.8029 (range: 0.8029 - 0.8029)
archetypal_loss: 0.8832 (range: 0.8832 - 0.8832)
kld_loss: 0.0798 (range: 0.0798 - 0.0798)
reconstruction_loss: 0.8832 (range: 0.8832 - 0.8832)
archetype_r2: 0.0915 (range: 0.0915 - 0.0915)
Archetype Transform Summary:
archetype_transform_mean: -0.000808 (range: -0.000808 - -0.000808)
archetype_transform_std: 0.118939 (range: 0.118939 - 0.118939)
archetype_transform_norm: 8.493287 (range: 8.493287 - 8.493287)
archetype_transform_grad_norm: 0.311508 (range: 0.311508 - 0.311508)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0589, max=0.4191, mean=0.2000
Batch reconstruction MSE: 0.9338
Archetype stats: min=-13.8956, max=20.4754
Archetype change since last debug: 1.194679
Archetype gradients: norm=0.047050, mean=0.002384
Epoch 1/1
Average loss: 0.8028
Archetypal loss: 0.8825
KLD loss: 0.0854
Reconstruction loss: 0.8825
Archetype R²: 0.0922
Archetype transform grad norm: 0.307781
Archetype transform param norm: 8.5006
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.8028 (range: 0.8028 - 0.8028)
archetypal_loss: 0.8825 (range: 0.8825 - 0.8825)
kld_loss: 0.0854 (range: 0.0854 - 0.0854)
reconstruction_loss: 0.8825 (range: 0.8825 - 0.8825)
archetype_r2: 0.0922 (range: 0.0922 - 0.0922)
Archetype Transform Summary:
archetype_transform_mean: -0.000942 (range: -0.000942 - -0.000942)
archetype_transform_std: 0.119041 (range: 0.119041 - 0.119041)
archetype_transform_norm: 8.500638 (range: 8.500638 - 8.500638)
archetype_transform_grad_norm: 0.307781 (range: 0.307781 - 0.307781)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0424, max=0.4294, mean=0.2000
Batch reconstruction MSE: 0.9382
Archetype stats: min=-14.2430, max=20.9285
Archetype change since last debug: 1.323249
Archetype gradients: norm=0.070588, mean=0.003271
Epoch 1/1
Average loss: 0.8030
Archetypal loss: 0.8828
KLD loss: 0.0849
Reconstruction loss: 0.8828
Archetype R²: 0.0919
Archetype transform grad norm: 0.321102
Archetype transform param norm: 8.5058
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.8030 (range: 0.8030 - 0.8030)
archetypal_loss: 0.8828 (range: 0.8828 - 0.8828)
kld_loss: 0.0849 (range: 0.0849 - 0.0849)
reconstruction_loss: 0.8828 (range: 0.8828 - 0.8828)
archetype_r2: 0.0919 (range: 0.0919 - 0.0919)
Archetype Transform Summary:
archetype_transform_mean: -0.000793 (range: -0.000793 - -0.000793)
archetype_transform_std: 0.119114 (range: 0.119114 - 0.119114)
archetype_transform_norm: 8.505777 (range: 8.505777 - 8.505777)
archetype_transform_grad_norm: 0.321102 (range: 0.321102 - 0.321102)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0611, max=0.4198, mean=0.2000
Batch reconstruction MSE: 0.9245
Archetype stats: min=-14.1038, max=20.8074
Archetype change since last debug: 1.436611
Archetype gradients: norm=0.056027, mean=0.002758
Epoch 1/1
Average loss: 0.8032
Archetypal loss: 0.8830
KLD loss: 0.0844
Reconstruction loss: 0.8830
Archetype R²: 0.0917
Archetype transform grad norm: 0.326457
Archetype transform param norm: 8.5294
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.8032 (range: 0.8032 - 0.8032)
archetypal_loss: 0.8830 (range: 0.8830 - 0.8830)
kld_loss: 0.0844 (range: 0.0844 - 0.0844)
reconstruction_loss: 0.8830 (range: 0.8830 - 0.8830)
archetype_r2: 0.0917 (range: 0.0917 - 0.0917)
Archetype Transform Summary:
archetype_transform_mean: -0.000943 (range: -0.000943 - -0.000943)
archetype_transform_std: 0.119444 (range: 0.119444 - 0.119444)
archetype_transform_norm: 8.529423 (range: 8.529423 - 8.529423)
archetype_transform_grad_norm: 0.326457 (range: 0.326457 - 0.326457)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0439, max=0.4181, mean=0.2000
Batch reconstruction MSE: 0.9393
Archetype stats: min=-14.4353, max=21.1916
Archetype change since last debug: 1.790090
Archetype gradients: norm=0.063132, mean=0.002798
Epoch 1/1
Average loss: 0.8031
Archetypal loss: 0.8832
KLD loss: 0.0822
Reconstruction loss: 0.8832
Archetype R²: 0.0914
Archetype transform grad norm: 0.326779
Archetype transform param norm: 8.5335
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.8031 (range: 0.8031 - 0.8031)
archetypal_loss: 0.8832 (range: 0.8832 - 0.8832)
kld_loss: 0.0822 (range: 0.0822 - 0.0822)
reconstruction_loss: 0.8832 (range: 0.8832 - 0.8832)
archetype_r2: 0.0914 (range: 0.0914 - 0.0914)
Archetype Transform Summary:
archetype_transform_mean: -0.000849 (range: -0.000849 - -0.000849)
archetype_transform_std: 0.119501 (range: 0.119501 - 0.119501)
archetype_transform_norm: 8.533474 (range: 8.533474 - 8.533474)
archetype_transform_grad_norm: 0.326779 (range: 0.326779 - 0.326779)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0846, max=0.4299, mean=0.2000
Batch reconstruction MSE: 0.8816
Archetype stats: min=-14.0287, max=20.7016
Archetype change since last debug: 1.641799
Archetype gradients: norm=0.045116, mean=0.002410
Epoch 1/1
Average loss: 0.8016
Archetypal loss: 0.8815
KLD loss: 0.0825
Reconstruction loss: 0.8815
Archetype R²: 0.0933
Archetype transform grad norm: 0.316837
Archetype transform param norm: 8.5591
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.8016 (range: 0.8016 - 0.8016)
archetypal_loss: 0.8815 (range: 0.8815 - 0.8815)
kld_loss: 0.0825 (range: 0.0825 - 0.0825)
reconstruction_loss: 0.8815 (range: 0.8815 - 0.8815)
archetype_r2: 0.0933 (range: 0.0933 - 0.0933)
Archetype Transform Summary:
archetype_transform_mean: -0.000954 (range: -0.000954 - -0.000954)
archetype_transform_std: 0.119860 (range: 0.119860 - 0.119860)
archetype_transform_norm: 8.559123 (range: 8.559123 - 8.559123)
archetype_transform_grad_norm: 0.316837 (range: 0.316837 - 0.316837)
[OK] Completed in 52.6s
[STATS] Mean archetype R²: 0.0912
[STATS] Mean validation R²: 0.0912
đź§Ş Configuration 11/20: {'n_archetypes': 5, 'hidden_dims': [128], 'inflation_factor': 1.5, 'use_pcha_init': True, 'use_inflation': True}
Fold 1/3
Model input_dim: 50 (auto-detected from data)
Archetypes parameter registered: True
Archetypes requires_grad: True
Deep_AA (Deep Archetypal Analysis) initialized:
- Single-stage architecture (like Deep_2)
- Inflation factor: 1.5
- Direct archetypal coordinates (no bottleneck)
Consolidated Archetype Initialization
PCHA: True, Inflation: True (factor: 1.5)
Test inflation: False
Running PCHA initialization...
Input shape: (128, 50)
Target archetypes: 5
Running PCHA with 5 archetypes...
Data shape for PCHA: (50, 128)
PCHA Results:
Archetypes shape: (5, 50)
Archetype R²: 0.2392
SSE: 4520.9859
PCHA archetype R²: 0.2392
Archetype shape: (5, 50)
[OK] Initialized 5 archetypes using PCHA
Scalar Archetypal Inflation (factor: 1.50)
[OK] Inflation complete
[STATS] Positioning verification:
Data radius (max): 17.006
Data radius (mean): 6.155
Archetype distances: 3.814 to 21.714
Archetypes outside data: 2/5
Min archetype separation: 5.571
[OK] Archetype initialization complete (success: True)
[OK] Archetype initialization complete (PCHA: True, Inflation: 1.5)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0011, max=0.8431, mean=0.2000
Batch reconstruction MSE: 1.1442
Archetype stats: min=-1.3595, max=1.2014
Archetype gradients: norm=0.011702, mean=0.000590
Epoch 1/1
Average loss: 0.8745
Archetypal loss: 0.9611
KLD loss: 0.0958
Reconstruction loss: 0.9611
Archetype R²: -0.0091
Archetype transform grad norm: 0.174872
Archetype transform param norm: 5.7846
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.8745 (range: 0.8745 - 0.8745)
archetypal_loss: 0.9611 (range: 0.9611 - 0.9611)
kld_loss: 0.0958 (range: 0.0958 - 0.0958)
reconstruction_loss: 0.9611 (range: 0.9611 - 0.9611)
archetype_r2: -0.0091 (range: -0.0091 - -0.0091)
Archetype Transform Summary:
archetype_transform_mean: 0.001846 (range: 0.001846 - 0.001846)
archetype_transform_std: 0.080988 (range: 0.080988 - 0.080988)
archetype_transform_norm: 5.784616 (range: 5.784616 - 5.784616)
archetype_transform_grad_norm: 0.174872 (range: 0.174872 - 0.174872)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0008, max=0.9120, mean=0.2000
Batch reconstruction MSE: 1.0642
Archetype stats: min=-1.2188, max=1.3597
Archetype change since last debug: 5.799057
Archetype gradients: norm=0.003776, mean=0.000181
Epoch 1/1
Average loss: 0.8543
Archetypal loss: 0.9390
KLD loss: 0.0917
Reconstruction loss: 0.9390
Archetype R²: 0.0139
Archetype transform grad norm: 0.153520
Archetype transform param norm: 5.8583
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.8543 (range: 0.8543 - 0.8543)
archetypal_loss: 0.9390 (range: 0.9390 - 0.9390)
kld_loss: 0.0917 (range: 0.0917 - 0.0917)
reconstruction_loss: 0.9390 (range: 0.9390 - 0.9390)
archetype_r2: 0.0139 (range: 0.0139 - 0.0139)
Archetype Transform Summary:
archetype_transform_mean: 0.001706 (range: 0.001706 - 0.001706)
archetype_transform_std: 0.082022 (range: 0.082022 - 0.082022)
archetype_transform_norm: 5.858267 (range: 5.858267 - 5.858267)
archetype_transform_grad_norm: 0.153520 (range: 0.153520 - 0.153520)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0011, max=0.8974, mean=0.2000
Batch reconstruction MSE: 1.1057
Archetype stats: min=-2.8683, max=3.5287
Archetype change since last debug: 7.446868
Archetype gradients: norm=0.008579, mean=0.000389
Epoch 1/1
Average loss: 0.8396
Archetypal loss: 0.9185
KLD loss: 0.1302
Reconstruction loss: 0.9185
Archetype R²: 0.0357
Archetype transform grad norm: 0.190052
Archetype transform param norm: 6.0567
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.8396 (range: 0.8396 - 0.8396)
archetypal_loss: 0.9185 (range: 0.9185 - 0.9185)
kld_loss: 0.1302 (range: 0.1302 - 0.1302)
reconstruction_loss: 0.9185 (range: 0.9185 - 0.9185)
archetype_r2: 0.0357 (range: 0.0357 - 0.0357)
Archetype Transform Summary:
archetype_transform_mean: 0.001530 (range: 0.001530 - 0.001530)
archetype_transform_std: 0.084806 (range: 0.084806 - 0.084806)
archetype_transform_norm: 6.056738 (range: 6.056738 - 6.056738)
archetype_transform_grad_norm: 0.190052 (range: 0.190052 - 0.190052)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0022, max=0.8351, mean=0.2000
Batch reconstruction MSE: 1.2007
Archetype stats: min=-5.0062, max=6.3525
Archetype change since last debug: 8.644984
Archetype gradients: norm=0.016790, mean=0.000861
Epoch 1/1
Average loss: 0.8300
Archetypal loss: 0.9071
KLD loss: 0.1357
Reconstruction loss: 0.9071
Archetype R²: 0.0480
Archetype transform grad norm: 0.215117
Archetype transform param norm: 6.2823
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.8300 (range: 0.8300 - 0.8300)
archetypal_loss: 0.9071 (range: 0.9071 - 0.9071)
kld_loss: 0.1357 (range: 0.1357 - 0.1357)
reconstruction_loss: 0.9071 (range: 0.9071 - 0.9071)
archetype_r2: 0.0480 (range: 0.0480 - 0.0480)
Archetype Transform Summary:
archetype_transform_mean: 0.001347 (range: 0.001347 - 0.001347)
archetype_transform_std: 0.087967 (range: 0.087967 - 0.087967)
archetype_transform_norm: 6.282254 (range: 6.282254 - 6.282254)
archetype_transform_grad_norm: 0.215117 (range: 0.215117 - 0.215117)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0040, max=0.8219, mean=0.2000
Batch reconstruction MSE: 1.2401
Archetype stats: min=-6.2489, max=8.5218
Archetype change since last debug: 6.485952
Archetype gradients: norm=0.027789, mean=0.001449
Epoch 1/1
Average loss: 0.8228
Archetypal loss: 0.8997
KLD loss: 0.1303
Reconstruction loss: 0.8997
Archetype R²: 0.0559
Archetype transform grad norm: 0.224842
Archetype transform param norm: 6.4781
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.8228 (range: 0.8228 - 0.8228)
archetypal_loss: 0.8997 (range: 0.8997 - 0.8997)
kld_loss: 0.1303 (range: 0.1303 - 0.1303)
reconstruction_loss: 0.8997 (range: 0.8997 - 0.8997)
archetype_r2: 0.0559 (range: 0.0559 - 0.0559)
Archetype Transform Summary:
archetype_transform_mean: 0.001187 (range: 0.001187 - 0.001187)
archetype_transform_std: 0.090713 (range: 0.090713 - 0.090713)
archetype_transform_norm: 6.478106 (range: 6.478106 - 6.478106)
archetype_transform_grad_norm: 0.224842 (range: 0.224842 - 0.224842)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0043, max=0.8025, mean=0.2000
Batch reconstruction MSE: 1.2706
Archetype stats: min=-6.9940, max=10.3322
Archetype change since last debug: 4.926695
Archetype gradients: norm=0.037335, mean=0.001836
Epoch 1/1
Average loss: 0.8175
Archetypal loss: 0.8937
KLD loss: 0.1318
Reconstruction loss: 0.8937
Archetype R²: 0.0623
Archetype transform grad norm: 0.231914
Archetype transform param norm: 6.6544
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.8175 (range: 0.8175 - 0.8175)
archetypal_loss: 0.8937 (range: 0.8937 - 0.8937)
kld_loss: 0.1318 (range: 0.1318 - 0.1318)
reconstruction_loss: 0.8937 (range: 0.8937 - 0.8937)
archetype_r2: 0.0623 (range: 0.0623 - 0.0623)
Archetype Transform Summary:
archetype_transform_mean: 0.001074 (range: 0.001074 - 0.001074)
archetype_transform_std: 0.093183 (range: 0.093183 - 0.093183)
archetype_transform_norm: 6.654413 (range: 6.654413 - 6.654413)
archetype_transform_grad_norm: 0.231914 (range: 0.231914 - 0.231914)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0044, max=0.8108, mean=0.2000
Batch reconstruction MSE: 1.2845
Archetype stats: min=-7.4344, max=11.7633
Archetype change since last debug: 4.170619
Archetype gradients: norm=0.045334, mean=0.002093
Epoch 1/1
Average loss: 0.8126
Archetypal loss: 0.8877
KLD loss: 0.1361
Reconstruction loss: 0.8877
Archetype R²: 0.0687
Archetype transform grad norm: 0.237103
Archetype transform param norm: 6.8286
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.8126 (range: 0.8126 - 0.8126)
archetypal_loss: 0.8877 (range: 0.8877 - 0.8877)
kld_loss: 0.1361 (range: 0.1361 - 0.1361)
reconstruction_loss: 0.8877 (range: 0.8877 - 0.8877)
archetype_r2: 0.0687 (range: 0.0687 - 0.0687)
Archetype Transform Summary:
archetype_transform_mean: 0.001005 (range: 0.001005 - 0.001005)
archetype_transform_std: 0.095624 (range: 0.095624 - 0.095624)
archetype_transform_norm: 6.828638 (range: 6.828638 - 6.828638)
archetype_transform_grad_norm: 0.237103 (range: 0.237103 - 0.237103)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0042, max=0.7970, mean=0.2000
Batch reconstruction MSE: 1.3107
Archetype stats: min=-7.7818, max=12.9600
Archetype change since last debug: 3.945640
Archetype gradients: norm=0.057118, mean=0.002439
Epoch 1/1
Average loss: 0.8089
Archetypal loss: 0.8833
KLD loss: 0.1396
Reconstruction loss: 0.8833
Archetype R²: 0.0734
Archetype transform grad norm: 0.243058
Archetype transform param norm: 6.9818
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.8089 (range: 0.8089 - 0.8089)
archetypal_loss: 0.8833 (range: 0.8833 - 0.8833)
kld_loss: 0.1396 (range: 0.1396 - 0.1396)
reconstruction_loss: 0.8833 (range: 0.8833 - 0.8833)
archetype_r2: 0.0734 (range: 0.0734 - 0.0734)
Archetype Transform Summary:
archetype_transform_mean: 0.000943 (range: 0.000943 - 0.000943)
archetype_transform_std: 0.097770 (range: 0.097770 - 0.097770)
archetype_transform_norm: 6.981841 (range: 6.981841 - 6.981841)
archetype_transform_grad_norm: 0.243058 (range: 0.243058 - 0.243058)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0054, max=0.7554, mean=0.2000
Batch reconstruction MSE: 1.3241
Archetype stats: min=-8.0268, max=13.7713
Archetype change since last debug: 3.271472
Archetype gradients: norm=0.062640, mean=0.002588
Epoch 1/1
Average loss: 0.8062
Archetypal loss: 0.8808
KLD loss: 0.1345
Reconstruction loss: 0.8808
Archetype R²: 0.0761
Archetype transform grad norm: 0.247358
Archetype transform param norm: 7.1018
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.8062 (range: 0.8062 - 0.8062)
archetypal_loss: 0.8808 (range: 0.8808 - 0.8808)
kld_loss: 0.1345 (range: 0.1345 - 0.1345)
reconstruction_loss: 0.8808 (range: 0.8808 - 0.8808)
archetype_r2: 0.0761 (range: 0.0761 - 0.0761)
Archetype Transform Summary:
archetype_transform_mean: 0.000928 (range: 0.000928 - 0.000928)
archetype_transform_std: 0.099451 (range: 0.099451 - 0.099451)
archetype_transform_norm: 7.101849 (range: 7.101849 - 7.101849)
archetype_transform_grad_norm: 0.247358 (range: 0.247358 - 0.247358)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0055, max=0.7004, mean=0.2000
Batch reconstruction MSE: 1.3210
Archetype stats: min=-8.4430, max=14.3962
Archetype change since last debug: 2.601277
Archetype gradients: norm=0.061298, mean=0.002589
Epoch 1/1
Average loss: 0.8038
Archetypal loss: 0.8784
KLD loss: 0.1318
Reconstruction loss: 0.8784
Archetype R²: 0.0785
Archetype transform grad norm: 0.248003
Archetype transform param norm: 7.1983
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.8038 (range: 0.8038 - 0.8038)
archetypal_loss: 0.8784 (range: 0.8784 - 0.8784)
kld_loss: 0.1318 (range: 0.1318 - 0.1318)
reconstruction_loss: 0.8784 (range: 0.8784 - 0.8784)
archetype_r2: 0.0785 (range: 0.0785 - 0.0785)
Archetype Transform Summary:
archetype_transform_mean: 0.000904 (range: 0.000904 - 0.000904)
archetype_transform_std: 0.100802 (range: 0.100802 - 0.100802)
archetype_transform_norm: 7.198317 (range: 7.198317 - 7.198317)
archetype_transform_grad_norm: 0.248003 (range: 0.248003 - 0.248003)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0069, max=0.6434, mean=0.2000
Batch reconstruction MSE: 1.3077
Archetype stats: min=-8.7843, max=14.9075
Archetype change since last debug: 2.225440
Archetype gradients: norm=0.060629, mean=0.002502
Epoch 1/1
Average loss: 0.8017
Archetypal loss: 0.8766
KLD loss: 0.1272
Reconstruction loss: 0.8766
Archetype R²: 0.0804
Archetype transform grad norm: 0.250185
Archetype transform param norm: 7.2795
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.8017 (range: 0.8017 - 0.8017)
archetypal_loss: 0.8766 (range: 0.8766 - 0.8766)
kld_loss: 0.1272 (range: 0.1272 - 0.1272)
reconstruction_loss: 0.8766 (range: 0.8766 - 0.8766)
archetype_r2: 0.0804 (range: 0.0804 - 0.0804)
Archetype Transform Summary:
archetype_transform_mean: 0.000908 (range: 0.000908 - 0.000908)
archetype_transform_std: 0.101939 (range: 0.101939 - 0.101939)
archetype_transform_norm: 7.279470 (range: 7.279470 - 7.279470)
archetype_transform_grad_norm: 0.250185 (range: 0.250185 - 0.250185)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0077, max=0.6364, mean=0.2000
Batch reconstruction MSE: 1.2867
Archetype stats: min=-9.0941, max=15.4063
Archetype change since last debug: 1.967235
Archetype gradients: norm=0.053800, mean=0.002325
Epoch 1/1
Average loss: 0.8001
Archetypal loss: 0.8752
KLD loss: 0.1242
Reconstruction loss: 0.8752
Archetype R²: 0.0818
Archetype transform grad norm: 0.251324
Archetype transform param norm: 7.3530
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.8001 (range: 0.8001 - 0.8001)
archetypal_loss: 0.8752 (range: 0.8752 - 0.8752)
kld_loss: 0.1242 (range: 0.1242 - 0.1242)
reconstruction_loss: 0.8752 (range: 0.8752 - 0.8752)
archetype_r2: 0.0818 (range: 0.0818 - 0.0818)
Archetype Transform Summary:
archetype_transform_mean: 0.000906 (range: 0.000906 - 0.000906)
archetype_transform_std: 0.102969 (range: 0.102969 - 0.102969)
archetype_transform_norm: 7.353039 (range: 7.353039 - 7.353039)
archetype_transform_grad_norm: 0.251324 (range: 0.251324 - 0.251324)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0098, max=0.5875, mean=0.2000
Batch reconstruction MSE: 1.2703
Archetype stats: min=-9.3709, max=15.7841
Archetype change since last debug: 1.798980
Archetype gradients: norm=0.050031, mean=0.002149
Epoch 1/1
Average loss: 0.7987
Archetypal loss: 0.8740
KLD loss: 0.1211
Reconstruction loss: 0.8740
Archetype R²: 0.0831
Archetype transform grad norm: 0.252141
Archetype transform param norm: 7.4188
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.7987 (range: 0.7987 - 0.7987)
archetypal_loss: 0.8740 (range: 0.8740 - 0.8740)
kld_loss: 0.1211 (range: 0.1211 - 0.1211)
reconstruction_loss: 0.8740 (range: 0.8740 - 0.8740)
archetype_r2: 0.0831 (range: 0.0831 - 0.0831)
Archetype Transform Summary:
archetype_transform_mean: 0.000923 (range: 0.000923 - 0.000923)
archetype_transform_std: 0.103891 (range: 0.103891 - 0.103891)
archetype_transform_norm: 7.418839 (range: 7.418839 - 7.418839)
archetype_transform_grad_norm: 0.252141 (range: 0.252141 - 0.252141)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0115, max=0.5926, mean=0.2000
Batch reconstruction MSE: 1.2481
Archetype stats: min=-9.6308, max=16.1658
Archetype change since last debug: 1.646645
Archetype gradients: norm=0.044087, mean=0.001998
Epoch 1/1
Average loss: 0.7975
Archetypal loss: 0.8730
KLD loss: 0.1189
Reconstruction loss: 0.8730
Archetype R²: 0.0841
Archetype transform grad norm: 0.254337
Archetype transform param norm: 7.4803
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.7975 (range: 0.7975 - 0.7975)
archetypal_loss: 0.8730 (range: 0.8730 - 0.8730)
kld_loss: 0.1189 (range: 0.1189 - 0.1189)
reconstruction_loss: 0.8730 (range: 0.8730 - 0.8730)
archetype_r2: 0.0841 (range: 0.0841 - 0.0841)
Archetype Transform Summary:
archetype_transform_mean: 0.000924 (range: 0.000924 - 0.000924)
archetype_transform_std: 0.104751 (range: 0.104751 - 0.104751)
archetype_transform_norm: 7.480277 (range: 7.480277 - 7.480277)
archetype_transform_grad_norm: 0.254337 (range: 0.254337 - 0.254337)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0117, max=0.5632, mean=0.2000
Batch reconstruction MSE: 1.2469
Archetype stats: min=-9.8576, max=16.4101
Archetype change since last debug: 1.586279
Archetype gradients: norm=0.042323, mean=0.001877
Epoch 1/1
Average loss: 0.7967
Archetypal loss: 0.8722
KLD loss: 0.1170
Reconstruction loss: 0.8722
Archetype R²: 0.0849
Archetype transform grad norm: 0.256157
Archetype transform param norm: 7.5343
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.7967 (range: 0.7967 - 0.7967)
archetypal_loss: 0.8722 (range: 0.8722 - 0.8722)
kld_loss: 0.1170 (range: 0.1170 - 0.1170)
reconstruction_loss: 0.8722 (range: 0.8722 - 0.8722)
archetype_r2: 0.0849 (range: 0.0849 - 0.0849)
Archetype Transform Summary:
archetype_transform_mean: 0.000938 (range: 0.000938 - 0.000938)
archetype_transform_std: 0.105508 (range: 0.105508 - 0.105508)
archetype_transform_norm: 7.534316 (range: 7.534316 - 7.534316)
archetype_transform_grad_norm: 0.256157 (range: 0.256157 - 0.256157)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0156, max=0.5750, mean=0.2000
Batch reconstruction MSE: 1.2272
Archetype stats: min=-10.0567, max=16.7247
Archetype change since last debug: 1.396171
Archetype gradients: norm=0.039573, mean=0.001843
Epoch 1/1
Average loss: 0.7957
Archetypal loss: 0.8713
KLD loss: 0.1153
Reconstruction loss: 0.8713
Archetype R²: 0.0858
Archetype transform grad norm: 0.255223
Archetype transform param norm: 7.5857
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.7957 (range: 0.7957 - 0.7957)
archetypal_loss: 0.8713 (range: 0.8713 - 0.8713)
kld_loss: 0.1153 (range: 0.1153 - 0.1153)
reconstruction_loss: 0.8713 (range: 0.8713 - 0.8713)
archetype_r2: 0.0858 (range: 0.0858 - 0.0858)
Archetype Transform Summary:
archetype_transform_mean: 0.000950 (range: 0.000950 - 0.000950)
archetype_transform_std: 0.106227 (range: 0.106227 - 0.106227)
archetype_transform_norm: 7.585693 (range: 7.585693 - 7.585693)
archetype_transform_grad_norm: 0.255223 (range: 0.255223 - 0.255223)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0145, max=0.5442, mean=0.2000
Batch reconstruction MSE: 1.2197
Archetype stats: min=-10.3254, max=16.9585
Archetype change since last debug: 1.482391
Archetype gradients: norm=0.039784, mean=0.001667
Epoch 1/1
Average loss: 0.7950
Archetypal loss: 0.8707
KLD loss: 0.1141
Reconstruction loss: 0.8707
Archetype R²: 0.0864
Archetype transform grad norm: 0.260723
Archetype transform param norm: 7.6335
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.7950 (range: 0.7950 - 0.7950)
archetypal_loss: 0.8707 (range: 0.8707 - 0.8707)
kld_loss: 0.1141 (range: 0.1141 - 0.1141)
reconstruction_loss: 0.8707 (range: 0.8707 - 0.8707)
archetype_r2: 0.0864 (range: 0.0864 - 0.0864)
Archetype Transform Summary:
archetype_transform_mean: 0.000957 (range: 0.000957 - 0.000957)
archetype_transform_std: 0.106896 (range: 0.106896 - 0.106896)
archetype_transform_norm: 7.633455 (range: 7.633455 - 7.633455)
archetype_transform_grad_norm: 0.260723 (range: 0.260723 - 0.260723)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0218, max=0.5615, mean=0.2000
Batch reconstruction MSE: 1.1979
Archetype stats: min=-10.4864, max=17.3173
Archetype change since last debug: 1.278690
Archetype gradients: norm=0.040424, mean=0.001717
Epoch 1/1
Average loss: 0.7942
Archetypal loss: 0.8700
KLD loss: 0.1118
Reconstruction loss: 0.8700
Archetype R²: 0.0871
Archetype transform grad norm: 0.265426
Archetype transform param norm: 7.6779
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.7942 (range: 0.7942 - 0.7942)
archetypal_loss: 0.8700 (range: 0.8700 - 0.8700)
kld_loss: 0.1118 (range: 0.1118 - 0.1118)
reconstruction_loss: 0.8700 (range: 0.8700 - 0.8700)
archetype_r2: 0.0871 (range: 0.0871 - 0.0871)
Archetype Transform Summary:
archetype_transform_mean: 0.000975 (range: 0.000975 - 0.000975)
archetype_transform_std: 0.107518 (range: 0.107518 - 0.107518)
archetype_transform_norm: 7.677885 (range: 7.677885 - 7.677885)
archetype_transform_grad_norm: 0.265426 (range: 0.265426 - 0.265426)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0156, max=0.4792, mean=0.2000
Batch reconstruction MSE: 1.2125
Archetype stats: min=-10.7871, max=17.4475
Archetype change since last debug: 1.403838
Archetype gradients: norm=0.040145, mean=0.001669
Epoch 1/1
Average loss: 0.7952
Archetypal loss: 0.8710
KLD loss: 0.1125
Reconstruction loss: 0.8710
Archetype R²: 0.0861
Archetype transform grad norm: 0.281900
Archetype transform param norm: 7.7094
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.7952 (range: 0.7952 - 0.7952)
archetypal_loss: 0.8710 (range: 0.8710 - 0.8710)
kld_loss: 0.1125 (range: 0.1125 - 0.1125)
reconstruction_loss: 0.8710 (range: 0.8710 - 0.8710)
archetype_r2: 0.0861 (range: 0.0861 - 0.0861)
Archetype Transform Summary:
archetype_transform_mean: 0.000977 (range: 0.000977 - 0.000977)
archetype_transform_std: 0.107959 (range: 0.107959 - 0.107959)
archetype_transform_norm: 7.709370 (range: 7.709370 - 7.709370)
archetype_transform_grad_norm: 0.281900 (range: 0.281900 - 0.281900)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0256, max=0.5721, mean=0.2000
Batch reconstruction MSE: 1.2264
Archetype stats: min=-10.6549, max=17.5426
Archetype change since last debug: 0.944405
Archetype gradients: norm=0.051939, mean=0.002227
Epoch 1/1
Average loss: 0.7952
Archetypal loss: 0.8711
KLD loss: 0.1121
Reconstruction loss: 0.8711
Archetype R²: 0.0860
Archetype transform grad norm: 0.287036
Archetype transform param norm: 7.7256
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.7952 (range: 0.7952 - 0.7952)
archetypal_loss: 0.8711 (range: 0.8711 - 0.8711)
kld_loss: 0.1121 (range: 0.1121 - 0.1121)
reconstruction_loss: 0.8711 (range: 0.8711 - 0.8711)
archetype_r2: 0.0860 (range: 0.0860 - 0.0860)
Archetype Transform Summary:
archetype_transform_mean: 0.000992 (range: 0.000992 - 0.000992)
archetype_transform_std: 0.108186 (range: 0.108186 - 0.108186)
archetype_transform_norm: 7.725625 (range: 7.725625 - 7.725625)
archetype_transform_grad_norm: 0.287036 (range: 0.287036 - 0.287036)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0170, max=0.4895, mean=0.2000
Batch reconstruction MSE: 1.2039
Archetype stats: min=-10.6658, max=17.2374
Archetype change since last debug: 1.101485
Archetype gradients: norm=0.033255, mean=0.001580
Epoch 1/1
Average loss: 0.7943
Archetypal loss: 0.8701
KLD loss: 0.1118
Reconstruction loss: 0.8701
Archetype R²: 0.0870
Archetype transform grad norm: 0.286163
Archetype transform param norm: 7.7511
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.7943 (range: 0.7943 - 0.7943)
archetypal_loss: 0.8701 (range: 0.8701 - 0.8701)
kld_loss: 0.1118 (range: 0.1118 - 0.1118)
reconstruction_loss: 0.8701 (range: 0.8701 - 0.8701)
archetype_r2: 0.0870 (range: 0.0870 - 0.0870)
Archetype Transform Summary:
archetype_transform_mean: 0.000989 (range: 0.000989 - 0.000989)
archetype_transform_std: 0.108544 (range: 0.108544 - 0.108544)
archetype_transform_norm: 7.751139 (range: 7.751139 - 7.751139)
archetype_transform_grad_norm: 0.286163 (range: 0.286163 - 0.286163)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0247, max=0.5437, mean=0.2000
Batch reconstruction MSE: 1.1948
Archetype stats: min=-10.5838, max=17.2859
Archetype change since last debug: 0.963919
Archetype gradients: norm=0.047415, mean=0.002083
Epoch 1/1
Average loss: 0.7931
Archetypal loss: 0.8689
KLD loss: 0.1106
Reconstruction loss: 0.8689
Archetype R²: 0.0882
Archetype transform grad norm: 0.269983
Archetype transform param norm: 7.7817
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.7931 (range: 0.7931 - 0.7931)
archetypal_loss: 0.8689 (range: 0.8689 - 0.8689)
kld_loss: 0.1106 (range: 0.1106 - 0.1106)
reconstruction_loss: 0.8689 (range: 0.8689 - 0.8689)
archetype_r2: 0.0882 (range: 0.0882 - 0.0882)
Archetype Transform Summary:
archetype_transform_mean: 0.000989 (range: 0.000989 - 0.000989)
archetype_transform_std: 0.108972 (range: 0.108972 - 0.108972)
archetype_transform_norm: 7.781697 (range: 7.781697 - 7.781697)
archetype_transform_grad_norm: 0.269983 (range: 0.269983 - 0.269983)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0168, max=0.4970, mean=0.2000
Batch reconstruction MSE: 1.2040
Archetype stats: min=-10.8616, max=17.3719
Archetype change since last debug: 1.211918
Archetype gradients: norm=0.024832, mean=0.001255
Epoch 1/1
Average loss: 0.7937
Archetypal loss: 0.8696
KLD loss: 0.1112
Reconstruction loss: 0.8696
Archetype R²: 0.0875
Archetype transform grad norm: 0.284576
Archetype transform param norm: 7.8072
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.7937 (range: 0.7937 - 0.7937)
archetypal_loss: 0.8696 (range: 0.8696 - 0.8696)
kld_loss: 0.1112 (range: 0.1112 - 0.1112)
reconstruction_loss: 0.8696 (range: 0.8696 - 0.8696)
archetype_r2: 0.0875 (range: 0.0875 - 0.0875)
Archetype Transform Summary:
archetype_transform_mean: 0.000995 (range: 0.000995 - 0.000995)
archetype_transform_std: 0.109329 (range: 0.109329 - 0.109329)
archetype_transform_norm: 7.807228 (range: 7.807228 - 7.807228)
archetype_transform_grad_norm: 0.284576 (range: 0.284576 - 0.284576)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0284, max=0.5121, mean=0.2000
Batch reconstruction MSE: 1.2166
Archetype stats: min=-10.8140, max=17.4605
Archetype change since last debug: 0.966334
Archetype gradients: norm=0.070340, mean=0.002723
Epoch 1/1
Average loss: 0.7930
Archetypal loss: 0.8689
KLD loss: 0.1102
Reconstruction loss: 0.8689
Archetype R²: 0.0883
Archetype transform grad norm: 0.271023
Archetype transform param norm: 7.8231
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.7930 (range: 0.7930 - 0.7930)
archetypal_loss: 0.8689 (range: 0.8689 - 0.8689)
kld_loss: 0.1102 (range: 0.1102 - 0.1102)
reconstruction_loss: 0.8689 (range: 0.8689 - 0.8689)
archetype_r2: 0.0883 (range: 0.0883 - 0.0883)
Archetype Transform Summary:
archetype_transform_mean: 0.000984 (range: 0.000984 - 0.000984)
archetype_transform_std: 0.109551 (range: 0.109551 - 0.109551)
archetype_transform_norm: 7.823055 (range: 7.823055 - 7.823055)
archetype_transform_grad_norm: 0.271023 (range: 0.271023 - 0.271023)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0206, max=0.4801, mean=0.2000
Batch reconstruction MSE: 1.1779
Archetype stats: min=-11.0691, max=17.7248
Archetype change since last debug: 1.110653
Archetype gradients: norm=0.022097, mean=0.001080
Epoch 1/1
Average loss: 0.7922
Archetypal loss: 0.8680
KLD loss: 0.1106
Reconstruction loss: 0.8680
Archetype R²: 0.0892
Archetype transform grad norm: 0.272176
Archetype transform param norm: 7.8461
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.7922 (range: 0.7922 - 0.7922)
archetypal_loss: 0.8680 (range: 0.8680 - 0.8680)
kld_loss: 0.1106 (range: 0.1106 - 0.1106)
reconstruction_loss: 0.8680 (range: 0.8680 - 0.8680)
archetype_r2: 0.0892 (range: 0.0892 - 0.0892)
Archetype Transform Summary:
archetype_transform_mean: 0.000978 (range: 0.000978 - 0.000978)
archetype_transform_std: 0.109874 (range: 0.109874 - 0.109874)
archetype_transform_norm: 7.846107 (range: 7.846107 - 7.846107)
archetype_transform_grad_norm: 0.272176 (range: 0.272176 - 0.272176)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0304, max=0.5172, mean=0.2000
Batch reconstruction MSE: 1.1800
Archetype stats: min=-11.1734, max=17.9089
Archetype change since last debug: 0.922952
Archetype gradients: norm=0.044061, mean=0.001788
Epoch 1/1
Average loss: 0.7915
Archetypal loss: 0.8673
KLD loss: 0.1091
Reconstruction loss: 0.8673
Archetype R²: 0.0899
Archetype transform grad norm: 0.261490
Archetype transform param norm: 7.8747
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.7915 (range: 0.7915 - 0.7915)
archetypal_loss: 0.8673 (range: 0.8673 - 0.8673)
kld_loss: 0.1091 (range: 0.1091 - 0.1091)
reconstruction_loss: 0.8673 (range: 0.8673 - 0.8673)
archetype_r2: 0.0899 (range: 0.0899 - 0.0899)
Archetype Transform Summary:
archetype_transform_mean: 0.000971 (range: 0.000971 - 0.000971)
archetype_transform_std: 0.110274 (range: 0.110274 - 0.110274)
archetype_transform_norm: 7.874700 (range: 7.874700 - 7.874700)
archetype_transform_grad_norm: 0.261490 (range: 0.261490 - 0.261490)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0184, max=0.4794, mean=0.2000
Batch reconstruction MSE: 1.1875
Archetype stats: min=-11.3295, max=18.1722
Archetype change since last debug: 0.979656
Archetype gradients: norm=0.022624, mean=0.001072
Epoch 1/1
Average loss: 0.7917
Archetypal loss: 0.8677
KLD loss: 0.1078
Reconstruction loss: 0.8677
Archetype R²: 0.0894
Archetype transform grad norm: 0.272162
Archetype transform param norm: 7.8977
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.7917 (range: 0.7917 - 0.7917)
archetypal_loss: 0.8677 (range: 0.8677 - 0.8677)
kld_loss: 0.1078 (range: 0.1078 - 0.1078)
reconstruction_loss: 0.8677 (range: 0.8677 - 0.8677)
archetype_r2: 0.0894 (range: 0.0894 - 0.0894)
Archetype Transform Summary:
archetype_transform_mean: 0.000967 (range: 0.000967 - 0.000967)
archetype_transform_std: 0.110597 (range: 0.110597 - 0.110597)
archetype_transform_norm: 7.897723 (range: 7.897723 - 7.897723)
archetype_transform_grad_norm: 0.272162 (range: 0.272162 - 0.272162)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0345, max=0.4947, mean=0.2000
Batch reconstruction MSE: 1.1659
Archetype stats: min=-11.3558, max=18.3323
Archetype change since last debug: 0.823522
Archetype gradients: norm=0.043708, mean=0.001846
Epoch 1/1
Average loss: 0.7906
Archetypal loss: 0.8666
KLD loss: 0.1064
Reconstruction loss: 0.8666
Archetype R²: 0.0905
Archetype transform grad norm: 0.267813
Archetype transform param norm: 7.9258
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.7906 (range: 0.7906 - 0.7906)
archetypal_loss: 0.8666 (range: 0.8666 - 0.8666)
kld_loss: 0.1064 (range: 0.1064 - 0.1064)
reconstruction_loss: 0.8666 (range: 0.8666 - 0.8666)
archetype_r2: 0.0905 (range: 0.0905 - 0.0905)
Archetype Transform Summary:
archetype_transform_mean: 0.000972 (range: 0.000972 - 0.000972)
archetype_transform_std: 0.110990 (range: 0.110990 - 0.110990)
archetype_transform_norm: 7.925773 (range: 7.925773 - 7.925773)
archetype_transform_grad_norm: 0.267813 (range: 0.267813 - 0.267813)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0168, max=0.4504, mean=0.2000
Batch reconstruction MSE: 1.1656
Archetype stats: min=-11.6434, max=18.5236
Archetype change since last debug: 1.079044
Archetype gradients: norm=0.020931, mean=0.001097
Epoch 1/1
Average loss: 0.7907
Archetypal loss: 0.8670
KLD loss: 0.1047
Reconstruction loss: 0.8670
Archetype R²: 0.0902
Archetype transform grad norm: 0.280565
Archetype transform param norm: 7.9484
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.7907 (range: 0.7907 - 0.7907)
archetypal_loss: 0.8670 (range: 0.8670 - 0.8670)
kld_loss: 0.1047 (range: 0.1047 - 0.1047)
reconstruction_loss: 0.8670 (range: 0.8670 - 0.8670)
archetype_r2: 0.0902 (range: 0.0902 - 0.0902)
Archetype Transform Summary:
archetype_transform_mean: 0.000975 (range: 0.000975 - 0.000975)
archetype_transform_std: 0.111306 (range: 0.111306 - 0.111306)
archetype_transform_norm: 7.948357 (range: 7.948357 - 7.948357)
archetype_transform_grad_norm: 0.280565 (range: 0.280565 - 0.280565)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0317, max=0.4767, mean=0.2000
Batch reconstruction MSE: 1.1764
Archetype stats: min=-11.6708, max=18.6788
Archetype change since last debug: 0.803106
Archetype gradients: norm=0.044528, mean=0.002003
Epoch 1/1
Average loss: 0.7904
Archetypal loss: 0.8667
KLD loss: 0.1037
Reconstruction loss: 0.8667
Archetype R²: 0.0904
Archetype transform grad norm: 0.277770
Archetype transform param norm: 7.9688
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.7904 (range: 0.7904 - 0.7904)
archetypal_loss: 0.8667 (range: 0.8667 - 0.8667)
kld_loss: 0.1037 (range: 0.1037 - 0.1037)
reconstruction_loss: 0.8667 (range: 0.8667 - 0.8667)
archetype_r2: 0.0904 (range: 0.0904 - 0.0904)
Archetype Transform Summary:
archetype_transform_mean: 0.000985 (range: 0.000985 - 0.000985)
archetype_transform_std: 0.111592 (range: 0.111592 - 0.111592)
archetype_transform_norm: 7.968800 (range: 7.968800 - 7.968800)
archetype_transform_grad_norm: 0.277770 (range: 0.277770 - 0.277770)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0211, max=0.4324, mean=0.2000
Batch reconstruction MSE: 1.1733
Archetype stats: min=-11.8628, max=18.6593
Archetype change since last debug: 0.891766
Archetype gradients: norm=0.023662, mean=0.001241
Epoch 1/1
Average loss: 0.7909
Archetypal loss: 0.8672
KLD loss: 0.1041
Reconstruction loss: 0.8672
Archetype R²: 0.0899
Archetype transform grad norm: 0.288007
Archetype transform param norm: 7.9847
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.7909 (range: 0.7909 - 0.7909)
archetypal_loss: 0.8672 (range: 0.8672 - 0.8672)
kld_loss: 0.1041 (range: 0.1041 - 0.1041)
reconstruction_loss: 0.8672 (range: 0.8672 - 0.8672)
archetype_r2: 0.0899 (range: 0.0899 - 0.0899)
Archetype Transform Summary:
archetype_transform_mean: 0.000975 (range: 0.000975 - 0.000975)
archetype_transform_std: 0.111815 (range: 0.111815 - 0.111815)
archetype_transform_norm: 7.984678 (range: 7.984678 - 7.984678)
archetype_transform_grad_norm: 0.288007 (range: 0.288007 - 0.288007)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0352, max=0.4690, mean=0.2000
Batch reconstruction MSE: 1.1850
Archetype stats: min=-11.7430, max=18.6724
Archetype change since last debug: 0.715777
Archetype gradients: norm=0.046608, mean=0.002143
Epoch 1/1
Average loss: 0.7904
Archetypal loss: 0.8667
KLD loss: 0.1030
Reconstruction loss: 0.8667
Archetype R²: 0.0904
Archetype transform grad norm: 0.279825
Archetype transform param norm: 7.9970
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.7904 (range: 0.7904 - 0.7904)
archetypal_loss: 0.8667 (range: 0.8667 - 0.8667)
kld_loss: 0.1030 (range: 0.1030 - 0.1030)
reconstruction_loss: 0.8667 (range: 0.8667 - 0.8667)
archetype_r2: 0.0904 (range: 0.0904 - 0.0904)
Archetype Transform Summary:
archetype_transform_mean: 0.000986 (range: 0.000986 - 0.000986)
archetype_transform_std: 0.111987 (range: 0.111987 - 0.111987)
archetype_transform_norm: 7.996994 (range: 7.996994 - 7.996994)
archetype_transform_grad_norm: 0.279825 (range: 0.279825 - 0.279825)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0185, max=0.4273, mean=0.2000
Batch reconstruction MSE: 1.1795
Archetype stats: min=-11.8441, max=18.6708
Archetype change since last debug: 0.771731
Archetype gradients: norm=0.026501, mean=0.001351
Epoch 1/1
Average loss: 0.7908
Archetypal loss: 0.8671
KLD loss: 0.1050
Reconstruction loss: 0.8671
Archetype R²: 0.0901
Archetype transform grad norm: 0.286903
Archetype transform param norm: 8.0065
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.7908 (range: 0.7908 - 0.7908)
archetypal_loss: 0.8671 (range: 0.8671 - 0.8671)
kld_loss: 0.1050 (range: 0.1050 - 0.1050)
reconstruction_loss: 0.8671 (range: 0.8671 - 0.8671)
archetype_r2: 0.0901 (range: 0.0901 - 0.0901)
Archetype Transform Summary:
archetype_transform_mean: 0.000978 (range: 0.000978 - 0.000978)
archetype_transform_std: 0.112121 (range: 0.112121 - 0.112121)
archetype_transform_norm: 8.006543 (range: 8.006543 - 8.006543)
archetype_transform_grad_norm: 0.286903 (range: 0.286903 - 0.286903)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0407, max=0.4858, mean=0.2000
Batch reconstruction MSE: 1.1859
Archetype stats: min=-11.7737, max=18.6736
Archetype change since last debug: 0.639799
Archetype gradients: norm=0.044683, mean=0.001958
Epoch 1/1
Average loss: 0.7900
Archetypal loss: 0.8664
KLD loss: 0.1025
Reconstruction loss: 0.8664
Archetype R²: 0.0907
Archetype transform grad norm: 0.278141
Archetype transform param norm: 8.0166
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.7900 (range: 0.7900 - 0.7900)
archetypal_loss: 0.8664 (range: 0.8664 - 0.8664)
kld_loss: 0.1025 (range: 0.1025 - 0.1025)
reconstruction_loss: 0.8664 (range: 0.8664 - 0.8664)
archetype_r2: 0.0907 (range: 0.0907 - 0.0907)
Archetype Transform Summary:
archetype_transform_mean: 0.001001 (range: 0.001001 - 0.001001)
archetype_transform_std: 0.112261 (range: 0.112261 - 0.112261)
archetype_transform_norm: 8.016605 (range: 8.016605 - 8.016605)
archetype_transform_grad_norm: 0.278141 (range: 0.278141 - 0.278141)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0302, max=0.4049, mean=0.2000
Batch reconstruction MSE: 1.1504
Archetype stats: min=-11.8862, max=18.6968
Archetype change since last debug: 0.761824
Archetype gradients: norm=0.031657, mean=0.001351
Epoch 1/1
Average loss: 0.7891
Archetypal loss: 0.8654
KLD loss: 0.1023
Reconstruction loss: 0.8654
Archetype R²: 0.0917
Archetype transform grad norm: 0.273706
Archetype transform param norm: 8.0371
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.7891 (range: 0.7891 - 0.7891)
archetypal_loss: 0.8654 (range: 0.8654 - 0.8654)
kld_loss: 0.1023 (range: 0.1023 - 0.1023)
reconstruction_loss: 0.8654 (range: 0.8654 - 0.8654)
archetype_r2: 0.0917 (range: 0.0917 - 0.0917)
Archetype Transform Summary:
archetype_transform_mean: 0.000998 (range: 0.000998 - 0.000998)
archetype_transform_std: 0.112548 (range: 0.112548 - 0.112548)
archetype_transform_norm: 8.037097 (range: 8.037097 - 8.037097)
archetype_transform_grad_norm: 0.273706 (range: 0.273706 - 0.273706)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0412, max=0.4823, mean=0.2000
Batch reconstruction MSE: 1.1741
Archetype stats: min=-11.9950, max=18.9120
Archetype change since last debug: 0.819464
Archetype gradients: norm=0.032564, mean=0.001348
Epoch 1/1
Average loss: 0.7896
Archetypal loss: 0.8659
KLD loss: 0.1034
Reconstruction loss: 0.8659
Archetype R²: 0.0913
Archetype transform grad norm: 0.266900
Archetype transform param norm: 8.0526
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.7896 (range: 0.7896 - 0.7896)
archetypal_loss: 0.8659 (range: 0.8659 - 0.8659)
kld_loss: 0.1034 (range: 0.1034 - 0.1034)
reconstruction_loss: 0.8659 (range: 0.8659 - 0.8659)
archetype_r2: 0.0913 (range: 0.0913 - 0.0913)
Archetype Transform Summary:
archetype_transform_mean: 0.000999 (range: 0.000999 - 0.000999)
archetype_transform_std: 0.112766 (range: 0.112766 - 0.112766)
archetype_transform_norm: 8.052627 (range: 8.052627 - 8.052627)
archetype_transform_grad_norm: 0.266900 (range: 0.266900 - 0.266900)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0236, max=0.4334, mean=0.2000
Batch reconstruction MSE: 1.2077
Archetype stats: min=-12.1209, max=18.9875
Archetype change since last debug: 0.709369
Archetype gradients: norm=0.049398, mean=0.001932
Epoch 1/1
Average loss: 0.7906
Archetypal loss: 0.8669
KLD loss: 0.1043
Reconstruction loss: 0.8669
Archetype R²: 0.0903
Archetype transform grad norm: 0.269894
Archetype transform param norm: 8.0530
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.7906 (range: 0.7906 - 0.7906)
archetypal_loss: 0.8669 (range: 0.8669 - 0.8669)
kld_loss: 0.1043 (range: 0.1043 - 0.1043)
reconstruction_loss: 0.8669 (range: 0.8669 - 0.8669)
archetype_r2: 0.0903 (range: 0.0903 - 0.0903)
Archetype Transform Summary:
archetype_transform_mean: 0.000983 (range: 0.000983 - 0.000983)
archetype_transform_std: 0.112771 (range: 0.112771 - 0.112771)
archetype_transform_norm: 8.053011 (range: 8.053011 - 8.053011)
archetype_transform_grad_norm: 0.269894 (range: 0.269894 - 0.269894)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0414, max=0.4494, mean=0.2000
Batch reconstruction MSE: 1.1991
Archetype stats: min=-12.1376, max=19.0726
Archetype change since last debug: 0.680663
Archetype gradients: norm=0.030639, mean=0.001308
Epoch 1/1
Average loss: 0.7897
Archetypal loss: 0.8660
KLD loss: 0.1037
Reconstruction loss: 0.8660
Archetype R²: 0.0912
Archetype transform grad norm: 0.264567
Archetype transform param norm: 8.0569
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.7897 (range: 0.7897 - 0.7897)
archetypal_loss: 0.8660 (range: 0.8660 - 0.8660)
kld_loss: 0.1037 (range: 0.1037 - 0.1037)
reconstruction_loss: 0.8660 (range: 0.8660 - 0.8660)
archetype_r2: 0.0912 (range: 0.0912 - 0.0912)
Archetype Transform Summary:
archetype_transform_mean: 0.000988 (range: 0.000988 - 0.000988)
archetype_transform_std: 0.112825 (range: 0.112825 - 0.112825)
archetype_transform_norm: 8.056854 (range: 8.056854 - 8.056854)
archetype_transform_grad_norm: 0.264567 (range: 0.264567 - 0.264567)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0290, max=0.4530, mean=0.2000
Batch reconstruction MSE: 1.1677
Archetype stats: min=-12.1796, max=19.0024
Archetype change since last debug: 0.629945
Archetype gradients: norm=0.050237, mean=0.001849
Epoch 1/1
Average loss: 0.7889
Archetypal loss: 0.8652
KLD loss: 0.1023
Reconstruction loss: 0.8652
Archetype R²: 0.0919
Archetype transform grad norm: 0.265250
Archetype transform param norm: 8.0686
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.7889 (range: 0.7889 - 0.7889)
archetypal_loss: 0.8652 (range: 0.8652 - 0.8652)
kld_loss: 0.1023 (range: 0.1023 - 0.1023)
reconstruction_loss: 0.8652 (range: 0.8652 - 0.8652)
archetype_r2: 0.0919 (range: 0.0919 - 0.0919)
Archetype Transform Summary:
archetype_transform_mean: 0.000972 (range: 0.000972 - 0.000972)
archetype_transform_std: 0.112990 (range: 0.112990 - 0.112990)
archetype_transform_norm: 8.068580 (range: 8.068580 - 8.068580)
archetype_transform_grad_norm: 0.265250 (range: 0.265250 - 0.265250)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0404, max=0.4138, mean=0.2000
Batch reconstruction MSE: 1.1376
Archetype stats: min=-12.2907, max=19.2145
Archetype change since last debug: 0.777666
Archetype gradients: norm=0.023953, mean=0.001105
Epoch 1/1
Average loss: 0.7879
Archetypal loss: 0.8642
KLD loss: 0.1008
Reconstruction loss: 0.8642
Archetype R²: 0.0929
Archetype transform grad norm: 0.263637
Archetype transform param norm: 8.0894
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.7879 (range: 0.7879 - 0.7879)
archetypal_loss: 0.8642 (range: 0.8642 - 0.8642)
kld_loss: 0.1008 (range: 0.1008 - 0.1008)
reconstruction_loss: 0.8642 (range: 0.8642 - 0.8642)
archetype_r2: 0.0929 (range: 0.0929 - 0.0929)
Archetype Transform Summary:
archetype_transform_mean: 0.000986 (range: 0.000986 - 0.000986)
archetype_transform_std: 0.113281 (range: 0.113281 - 0.113281)
archetype_transform_norm: 8.089411 (range: 8.089411 - 8.089411)
archetype_transform_grad_norm: 0.263637 (range: 0.263637 - 0.263637)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0326, max=0.4567, mean=0.2000
Batch reconstruction MSE: 1.1376
Archetype stats: min=-12.5109, max=19.4019
Archetype change since last debug: 0.894176
Archetype gradients: norm=0.038035, mean=0.001405
Epoch 1/1
Average loss: 0.7877
Archetypal loss: 0.8641
KLD loss: 0.0997
Reconstruction loss: 0.8641
Archetype R²: 0.0930
Archetype transform grad norm: 0.262870
Archetype transform param norm: 8.1121
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.7877 (range: 0.7877 - 0.7877)
archetypal_loss: 0.8641 (range: 0.8641 - 0.8641)
kld_loss: 0.0997 (range: 0.0997 - 0.0997)
reconstruction_loss: 0.8641 (range: 0.8641 - 0.8641)
archetype_r2: 0.0930 (range: 0.0930 - 0.0930)
Archetype Transform Summary:
archetype_transform_mean: 0.000981 (range: 0.000981 - 0.000981)
archetype_transform_std: 0.113599 (range: 0.113599 - 0.113599)
archetype_transform_norm: 8.112113 (range: 8.112113 - 8.112113)
archetype_transform_grad_norm: 0.262870 (range: 0.262870 - 0.262870)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0341, max=0.4062, mean=0.2000
Batch reconstruction MSE: 1.1553
Archetype stats: min=-12.6439, max=19.6625
Archetype change since last debug: 0.883334
Archetype gradients: norm=0.022885, mean=0.000989
Epoch 1/1
Average loss: 0.7879
Archetypal loss: 0.8645
KLD loss: 0.0990
Reconstruction loss: 0.8645
Archetype R²: 0.0927
Archetype transform grad norm: 0.268249
Archetype transform param norm: 8.1304
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.7879 (range: 0.7879 - 0.7879)
archetypal_loss: 0.8645 (range: 0.8645 - 0.8645)
kld_loss: 0.0990 (range: 0.0990 - 0.0990)
reconstruction_loss: 0.8645 (range: 0.8645 - 0.8645)
archetype_r2: 0.0927 (range: 0.0927 - 0.0927)
Archetype Transform Summary:
archetype_transform_mean: 0.000995 (range: 0.000995 - 0.000995)
archetype_transform_std: 0.113855 (range: 0.113855 - 0.113855)
archetype_transform_norm: 8.130356 (range: 8.130356 - 8.130356)
archetype_transform_grad_norm: 0.268249 (range: 0.268249 - 0.268249)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0299, max=0.4647, mean=0.2000
Batch reconstruction MSE: 1.2005
Archetype stats: min=-12.7947, max=19.7696
Archetype change since last debug: 0.689440
Archetype gradients: norm=0.044314, mean=0.001799
Epoch 1/1
Average loss: 0.7893
Archetypal loss: 0.8657
KLD loss: 0.1018
Reconstruction loss: 0.8657
Archetype R²: 0.0914
Archetype transform grad norm: 0.268314
Archetype transform param norm: 8.1302
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.7893 (range: 0.7893 - 0.7893)
archetypal_loss: 0.8657 (range: 0.8657 - 0.8657)
kld_loss: 0.1018 (range: 0.1018 - 0.1018)
reconstruction_loss: 0.8657 (range: 0.8657 - 0.8657)
archetype_r2: 0.0914 (range: 0.0914 - 0.0914)
Archetype Transform Summary:
archetype_transform_mean: 0.000979 (range: 0.000979 - 0.000979)
archetype_transform_std: 0.113852 (range: 0.113852 - 0.113852)
archetype_transform_norm: 8.130169 (range: 8.130169 - 8.130169)
archetype_transform_grad_norm: 0.268314 (range: 0.268314 - 0.268314)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0343, max=0.4043, mean=0.2000
Batch reconstruction MSE: 1.1802
Archetype stats: min=-12.6382, max=19.7616
Archetype change since last debug: 0.690549
Archetype gradients: norm=0.028027, mean=0.001444
Epoch 1/1
Average loss: 0.7888
Archetypal loss: 0.8652
KLD loss: 0.1006
Reconstruction loss: 0.8652
Archetype R²: 0.0919
Archetype transform grad norm: 0.277236
Archetype transform param norm: 8.1305
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.7888 (range: 0.7888 - 0.7888)
archetypal_loss: 0.8652 (range: 0.8652 - 0.8652)
kld_loss: 0.1006 (range: 0.1006 - 0.1006)
reconstruction_loss: 0.8652 (range: 0.8652 - 0.8652)
archetype_r2: 0.0919 (range: 0.0919 - 0.0919)
Archetype Transform Summary:
archetype_transform_mean: 0.001000 (range: 0.001000 - 0.001000)
archetype_transform_std: 0.113857 (range: 0.113857 - 0.113857)
archetype_transform_norm: 8.130540 (range: 8.130540 - 8.130540)
archetype_transform_grad_norm: 0.277236 (range: 0.277236 - 0.277236)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0303, max=0.4593, mean=0.2000
Batch reconstruction MSE: 1.1801
Archetype stats: min=-12.8679, max=19.7070
Archetype change since last debug: 0.780180
Archetype gradients: norm=0.040793, mean=0.001856
Epoch 1/1
Average loss: 0.7890
Archetypal loss: 0.8655
KLD loss: 0.1006
Reconstruction loss: 0.8655
Archetype R²: 0.0916
Archetype transform grad norm: 0.287992
Archetype transform param norm: 8.1329
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.7890 (range: 0.7890 - 0.7890)
archetypal_loss: 0.8655 (range: 0.8655 - 0.8655)
kld_loss: 0.1006 (range: 0.1006 - 0.1006)
reconstruction_loss: 0.8655 (range: 0.8655 - 0.8655)
archetype_r2: 0.0916 (range: 0.0916 - 0.0916)
Archetype Transform Summary:
archetype_transform_mean: 0.000982 (range: 0.000982 - 0.000982)
archetype_transform_std: 0.113890 (range: 0.113890 - 0.113890)
archetype_transform_norm: 8.132902 (range: 8.132902 - 8.132902)
archetype_transform_grad_norm: 0.287992 (range: 0.287992 - 0.287992)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0300, max=0.4323, mean=0.2000
Batch reconstruction MSE: 1.1853
Archetype stats: min=-12.6515, max=19.7136
Archetype change since last debug: 0.789991
Archetype gradients: norm=0.033371, mean=0.001762
Epoch 1/1
Average loss: 0.7885
Archetypal loss: 0.8651
KLD loss: 0.0992
Reconstruction loss: 0.8651
Archetype R²: 0.0920
Archetype transform grad norm: 0.290157
Archetype transform param norm: 8.1382
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.7885 (range: 0.7885 - 0.7885)
archetypal_loss: 0.8651 (range: 0.8651 - 0.8651)
kld_loss: 0.0992 (range: 0.0992 - 0.0992)
reconstruction_loss: 0.8651 (range: 0.8651 - 0.8651)
archetype_r2: 0.0920 (range: 0.0920 - 0.0920)
Archetype Transform Summary:
archetype_transform_mean: 0.000999 (range: 0.000999 - 0.000999)
archetype_transform_std: 0.113964 (range: 0.113964 - 0.113964)
archetype_transform_norm: 8.138154 (range: 8.138154 - 8.138154)
archetype_transform_grad_norm: 0.290157 (range: 0.290157 - 0.290157)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0344, max=0.5081, mean=0.2000
Batch reconstruction MSE: 1.1753
Archetype stats: min=-12.7328, max=19.7757
Archetype change since last debug: 0.755432
Archetype gradients: norm=0.039064, mean=0.001876
Epoch 1/1
Average loss: 0.7884
Archetypal loss: 0.8650
KLD loss: 0.0995
Reconstruction loss: 0.8650
Archetype R²: 0.0921
Archetype transform grad norm: 0.283541
Archetype transform param norm: 8.1454
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.7884 (range: 0.7884 - 0.7884)
archetypal_loss: 0.8650 (range: 0.8650 - 0.8650)
kld_loss: 0.0995 (range: 0.0995 - 0.0995)
reconstruction_loss: 0.8650 (range: 0.8650 - 0.8650)
archetype_r2: 0.0921 (range: 0.0921 - 0.0921)
Archetype Transform Summary:
archetype_transform_mean: 0.000997 (range: 0.000997 - 0.000997)
archetype_transform_std: 0.114065 (range: 0.114065 - 0.114065)
archetype_transform_norm: 8.145397 (range: 8.145397 - 8.145397)
archetype_transform_grad_norm: 0.283541 (range: 0.283541 - 0.283541)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0306, max=0.3848, mean=0.2000
Batch reconstruction MSE: 1.1853
Archetype stats: min=-12.7016, max=19.8177
Archetype change since last debug: 0.615421
Archetype gradients: norm=0.029695, mean=0.001412
Epoch 1/1
Average loss: 0.7891
Archetypal loss: 0.8656
KLD loss: 0.1005
Reconstruction loss: 0.8656
Archetype R²: 0.0915
Archetype transform grad norm: 0.284373
Archetype transform param norm: 8.1483
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.7891 (range: 0.7891 - 0.7891)
archetypal_loss: 0.8656 (range: 0.8656 - 0.8656)
kld_loss: 0.1005 (range: 0.1005 - 0.1005)
reconstruction_loss: 0.8656 (range: 0.8656 - 0.8656)
archetype_r2: 0.0915 (range: 0.0915 - 0.0915)
Archetype Transform Summary:
archetype_transform_mean: 0.001029 (range: 0.001029 - 0.001029)
archetype_transform_std: 0.114106 (range: 0.114106 - 0.114106)
archetype_transform_norm: 8.148329 (range: 8.148329 - 8.148329)
archetype_transform_grad_norm: 0.284373 (range: 0.284373 - 0.284373)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0421, max=0.4483, mean=0.2000
Batch reconstruction MSE: 1.1755
Archetype stats: min=-12.7949, max=19.7353
Archetype change since last debug: 0.785521
Archetype gradients: norm=0.036839, mean=0.001789
Epoch 1/1
Average loss: 0.7878
Archetypal loss: 0.8643
KLD loss: 0.0991
Reconstruction loss: 0.8643
Archetype R²: 0.0928
Archetype transform grad norm: 0.269303
Archetype transform param norm: 8.1544
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.7878 (range: 0.7878 - 0.7878)
archetypal_loss: 0.8643 (range: 0.8643 - 0.8643)
kld_loss: 0.0991 (range: 0.0991 - 0.0991)
reconstruction_loss: 0.8643 (range: 0.8643 - 0.8643)
archetype_r2: 0.0928 (range: 0.0928 - 0.0928)
Archetype Transform Summary:
archetype_transform_mean: 0.001036 (range: 0.001036 - 0.001036)
archetype_transform_std: 0.114191 (range: 0.114191 - 0.114191)
archetype_transform_norm: 8.154423 (range: 8.154423 - 8.154423)
archetype_transform_grad_norm: 0.269303 (range: 0.269303 - 0.269303)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0297, max=0.3845, mean=0.2000
Batch reconstruction MSE: 1.1504
Archetype stats: min=-12.8248, max=19.8501
Archetype change since last debug: 0.604440
Archetype gradients: norm=0.029086, mean=0.001311
Epoch 1/1
Average loss: 0.7871
Archetypal loss: 0.8636
KLD loss: 0.0989
Reconstruction loss: 0.8636
Archetype R²: 0.0935
Archetype transform grad norm: 0.268710
Archetype transform param norm: 8.1716
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.7871 (range: 0.7871 - 0.7871)
archetypal_loss: 0.8636 (range: 0.8636 - 0.8636)
kld_loss: 0.0989 (range: 0.0989 - 0.0989)
reconstruction_loss: 0.8636 (range: 0.8636 - 0.8636)
archetype_r2: 0.0935 (range: 0.0935 - 0.0935)
Archetype Transform Summary:
archetype_transform_mean: 0.001051 (range: 0.001051 - 0.001051)
archetype_transform_std: 0.114432 (range: 0.114432 - 0.114432)
archetype_transform_norm: 8.171614 (range: 8.171614 - 8.171614)
archetype_transform_grad_norm: 0.268710 (range: 0.268710 - 0.268710)
Fold 2/3
Model input_dim: 50 (auto-detected from data)
Archetypes parameter registered: True
Archetypes requires_grad: True
Deep_AA (Deep Archetypal Analysis) initialized:
- Single-stage architecture (like Deep_2)
- Inflation factor: 1.5
- Direct archetypal coordinates (no bottleneck)
Consolidated Archetype Initialization
PCHA: True, Inflation: True (factor: 1.5)
Test inflation: False
Running PCHA initialization...
Input shape: (128, 50)
Target archetypes: 5
Running PCHA with 5 archetypes...
Data shape for PCHA: (50, 128)
PCHA Results:
Archetypes shape: (5, 50)
Archetype R²: 0.2408
SSE: 3665.8459
PCHA archetype R²: 0.2408
Archetype shape: (5, 50)
[OK] Initialized 5 archetypes using PCHA
Scalar Archetypal Inflation (factor: 1.50)
[OK] Inflation complete
[STATS] Positioning verification:
Data radius (max): 14.828
Data radius (mean): 5.748
Archetype distances: 3.620 to 17.442
Archetypes outside data: 1/5
Min archetype separation: 6.674
[OK] Archetype initialization complete (success: True)
[OK] Archetype initialization complete (PCHA: True, Inflation: 1.5)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0002, max=0.9646, mean=0.2000
Batch reconstruction MSE: 0.9398
Archetype stats: min=-1.5434, max=1.9227
Archetype gradients: norm=0.011834, mean=0.000570
Epoch 1/1
Average loss: 0.8628
Archetypal loss: 0.9487
KLD loss: 0.0900
Reconstruction loss: 0.9487
Archetype R²: -0.0097
Archetype transform grad norm: 0.135722
Archetype transform param norm: 5.8032
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.8628 (range: 0.8628 - 0.8628)
archetypal_loss: 0.9487 (range: 0.9487 - 0.9487)
kld_loss: 0.0900 (range: 0.0900 - 0.0900)
reconstruction_loss: 0.9487 (range: 0.9487 - 0.9487)
archetype_r2: -0.0097 (range: -0.0097 - -0.0097)
Archetype Transform Summary:
archetype_transform_mean: -0.000809 (range: -0.000809 - -0.000809)
archetype_transform_std: 0.081265 (range: 0.081265 - 0.081265)
archetype_transform_norm: 5.803175 (range: 5.803175 - 5.803175)
archetype_transform_grad_norm: 0.135722 (range: 0.135722 - 0.135722)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0044, max=0.8748, mean=0.2000
Batch reconstruction MSE: 0.8670
Archetype stats: min=-0.8880, max=1.0520
Archetype change since last debug: 5.001666
Archetype gradients: norm=0.003528, mean=0.000179
Epoch 1/1
Average loss: 0.8466
Archetypal loss: 0.9326
KLD loss: 0.0725
Reconstruction loss: 0.9326
Archetype R²: 0.0076
Archetype transform grad norm: 0.116256
Archetype transform param norm: 5.8673
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.8466 (range: 0.8466 - 0.8466)
archetypal_loss: 0.9326 (range: 0.9326 - 0.9326)
kld_loss: 0.0725 (range: 0.0725 - 0.0725)
reconstruction_loss: 0.9326 (range: 0.9326 - 0.9326)
archetype_r2: 0.0076 (range: 0.0076 - 0.0076)
Archetype Transform Summary:
archetype_transform_mean: -0.000644 (range: -0.000644 - -0.000644)
archetype_transform_std: 0.082164 (range: 0.082164 - 0.082164)
archetype_transform_norm: 5.867262 (range: 5.867262 - 5.867262)
archetype_transform_grad_norm: 0.116256 (range: 0.116256 - 0.116256)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0027, max=0.8913, mean=0.2000
Batch reconstruction MSE: 0.8908
Archetype stats: min=-1.9663, max=2.3546
Archetype change since last debug: 5.069725
Archetype gradients: norm=0.007268, mean=0.000325
Epoch 1/1
Average loss: 0.8357
Archetypal loss: 0.9166
KLD loss: 0.1071
Reconstruction loss: 0.9166
Archetype R²: 0.0247
Archetype transform grad norm: 0.140946
Archetype transform param norm: 6.0503
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.8357 (range: 0.8357 - 0.8357)
archetypal_loss: 0.9166 (range: 0.9166 - 0.9166)
kld_loss: 0.1071 (range: 0.1071 - 0.1071)
reconstruction_loss: 0.9166 (range: 0.9166 - 0.9166)
archetype_r2: 0.0247 (range: 0.0247 - 0.0247)
Archetype Transform Summary:
archetype_transform_mean: -0.000260 (range: -0.000260 - -0.000260)
archetype_transform_std: 0.084730 (range: 0.084730 - 0.084730)
archetype_transform_norm: 6.050335 (range: 6.050335 - 6.050335)
archetype_transform_grad_norm: 0.140946 (range: 0.140946 - 0.140946)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0040, max=0.8818, mean=0.2000
Batch reconstruction MSE: 0.9625
Archetype stats: min=-3.5011, max=3.8397
Archetype change since last debug: 7.005153
Archetype gradients: norm=0.015845, mean=0.000738
Epoch 1/1
Average loss: 0.8243
Archetypal loss: 0.9014
KLD loss: 0.1300
Reconstruction loss: 0.9014
Archetype R²: 0.0408
Archetype transform grad norm: 0.164973
Archetype transform param norm: 6.3125
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.8243 (range: 0.8243 - 0.8243)
archetypal_loss: 0.9014 (range: 0.9014 - 0.9014)
kld_loss: 0.1300 (range: 0.1300 - 0.1300)
reconstruction_loss: 0.9014 (range: 0.9014 - 0.9014)
archetype_r2: 0.0408 (range: 0.0408 - 0.0408)
Archetype Transform Summary:
archetype_transform_mean: -0.000368 (range: -0.000368 - -0.000368)
archetype_transform_std: 0.088401 (range: 0.088401 - 0.088401)
archetype_transform_norm: 6.312515 (range: 6.312515 - 6.312515)
archetype_transform_grad_norm: 0.164973 (range: 0.164973 - 0.164973)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0040, max=0.8609, mean=0.2000
Batch reconstruction MSE: 1.0348
Archetype stats: min=-5.0980, max=5.4931
Archetype change since last debug: 7.449564
Archetype gradients: norm=0.026066, mean=0.001280
Epoch 1/1
Average loss: 0.8149
Archetypal loss: 0.8901
KLD loss: 0.1381
Reconstruction loss: 0.8901
Archetype R²: 0.0527
Archetype transform grad norm: 0.180870
Archetype transform param norm: 6.5779
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.8149 (range: 0.8149 - 0.8149)
archetypal_loss: 0.8901 (range: 0.8901 - 0.8901)
kld_loss: 0.1381 (range: 0.1381 - 0.1381)
reconstruction_loss: 0.8901 (range: 0.8901 - 0.8901)
archetype_r2: 0.0527 (range: 0.0527 - 0.0527)
Archetype Transform Summary:
archetype_transform_mean: -0.000659 (range: -0.000659 - -0.000659)
archetype_transform_std: 0.092115 (range: 0.092115 - 0.092115)
archetype_transform_norm: 6.577874 (range: 6.577874 - 6.577874)
archetype_transform_grad_norm: 0.180870 (range: 0.180870 - 0.180870)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0044, max=0.8314, mean=0.2000
Batch reconstruction MSE: 1.0956
Archetype stats: min=-6.5413, max=7.2630
Archetype change since last debug: 6.232305
Archetype gradients: norm=0.036164, mean=0.001782
Epoch 1/1
Average loss: 0.8087
Archetypal loss: 0.8836
KLD loss: 0.1337
Reconstruction loss: 0.8836
Archetype R²: 0.0594
Archetype transform grad norm: 0.190726
Archetype transform param norm: 6.7836
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.8087 (range: 0.8087 - 0.8087)
archetypal_loss: 0.8836 (range: 0.8836 - 0.8836)
kld_loss: 0.1337 (range: 0.1337 - 0.1337)
reconstruction_loss: 0.8836 (range: 0.8836 - 0.8836)
archetype_r2: 0.0594 (range: 0.0594 - 0.0594)
Archetype Transform Summary:
archetype_transform_mean: -0.000780 (range: -0.000780 - -0.000780)
archetype_transform_std: 0.094995 (range: 0.094995 - 0.094995)
archetype_transform_norm: 6.783589 (range: 6.783589 - 6.783589)
archetype_transform_grad_norm: 0.190726 (range: 0.190726 - 0.190726)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0050, max=0.7966, mean=0.2000
Batch reconstruction MSE: 1.1098
Archetype stats: min=-7.7291, max=8.6944
Archetype change since last debug: 4.541819
Archetype gradients: norm=0.038028, mean=0.001956
Epoch 1/1
Average loss: 0.8029
Archetypal loss: 0.8762
KLD loss: 0.1427
Reconstruction loss: 0.8762
Archetype R²: 0.0671
Archetype transform grad norm: 0.196820
Archetype transform param norm: 6.9758
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.8029 (range: 0.8029 - 0.8029)
archetypal_loss: 0.8762 (range: 0.8762 - 0.8762)
kld_loss: 0.1427 (range: 0.1427 - 0.1427)
reconstruction_loss: 0.8762 (range: 0.8762 - 0.8762)
archetype_r2: 0.0671 (range: 0.0671 - 0.0671)
Archetype Transform Summary:
archetype_transform_mean: -0.000853 (range: -0.000853 - -0.000853)
archetype_transform_std: 0.097686 (range: 0.097686 - 0.097686)
archetype_transform_norm: 6.975780 (range: 6.975780 - 6.975780)
archetype_transform_grad_norm: 0.196820 (range: 0.196820 - 0.196820)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0055, max=0.8053, mean=0.2000
Batch reconstruction MSE: 1.1404
Archetype stats: min=-8.6583, max=9.9035
Archetype change since last debug: 4.496847
Archetype gradients: norm=0.049814, mean=0.002466
Epoch 1/1
Average loss: 0.7974
Archetypal loss: 0.8702
KLD loss: 0.1423
Reconstruction loss: 0.8702
Archetype R²: 0.0734
Archetype transform grad norm: 0.202065
Archetype transform param norm: 7.1551
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.7974 (range: 0.7974 - 0.7974)
archetypal_loss: 0.8702 (range: 0.8702 - 0.8702)
kld_loss: 0.1423 (range: 0.1423 - 0.1423)
reconstruction_loss: 0.8702 (range: 0.8702 - 0.8702)
archetype_r2: 0.0734 (range: 0.0734 - 0.0734)
Archetype Transform Summary:
archetype_transform_mean: -0.000952 (range: -0.000952 - -0.000952)
archetype_transform_std: 0.100197 (range: 0.100197 - 0.100197)
archetype_transform_norm: 7.155111 (range: 7.155111 - 7.155111)
archetype_transform_grad_norm: 0.202065 (range: 0.202065 - 0.202065)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0058, max=0.8169, mean=0.2000
Batch reconstruction MSE: 1.1744
Archetype stats: min=-9.3734, max=10.9407
Archetype change since last debug: 3.826419
Archetype gradients: norm=0.065785, mean=0.002980
Epoch 1/1
Average loss: 0.7945
Archetypal loss: 0.8672
KLD loss: 0.1402
Reconstruction loss: 0.8672
Archetype R²: 0.0764
Archetype transform grad norm: 0.209053
Archetype transform param norm: 7.2922
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.7945 (range: 0.7945 - 0.7945)
archetypal_loss: 0.8672 (range: 0.8672 - 0.8672)
kld_loss: 0.1402 (range: 0.1402 - 0.1402)
reconstruction_loss: 0.8672 (range: 0.8672 - 0.8672)
archetype_r2: 0.0764 (range: 0.0764 - 0.0764)
Archetype Transform Summary:
archetype_transform_mean: -0.001033 (range: -0.001033 - -0.001033)
archetype_transform_std: 0.102116 (range: 0.102116 - 0.102116)
archetype_transform_norm: 7.292173 (range: 7.292173 - 7.292173)
archetype_transform_grad_norm: 0.209053 (range: 0.209053 - 0.209053)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0066, max=0.7668, mean=0.2000
Batch reconstruction MSE: 1.1742
Archetype stats: min=-9.8797, max=11.7164
Archetype change since last debug: 2.833062
Archetype gradients: norm=0.067288, mean=0.003038
Epoch 1/1
Average loss: 0.7917
Archetypal loss: 0.8647
KLD loss: 0.1346
Reconstruction loss: 0.8647
Archetype R²: 0.0791
Archetype transform grad norm: 0.211531
Archetype transform param norm: 7.3946
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.7917 (range: 0.7917 - 0.7917)
archetypal_loss: 0.8647 (range: 0.8647 - 0.8647)
kld_loss: 0.1346 (range: 0.1346 - 0.1346)
reconstruction_loss: 0.8647 (range: 0.8647 - 0.8647)
archetype_r2: 0.0791 (range: 0.0791 - 0.0791)
Archetype Transform Summary:
archetype_transform_mean: -0.001112 (range: -0.001112 - -0.001112)
archetype_transform_std: 0.103550 (range: 0.103550 - 0.103550)
archetype_transform_norm: 7.394616 (range: 7.394616 - 7.394616)
archetype_transform_grad_norm: 0.211531 (range: 0.211531 - 0.211531)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0071, max=0.7236, mean=0.2000
Batch reconstruction MSE: 1.1599
Archetype stats: min=-10.2631, max=12.3753
Archetype change since last debug: 2.349663
Archetype gradients: norm=0.064757, mean=0.002938
Epoch 1/1
Average loss: 0.7896
Archetypal loss: 0.8627
KLD loss: 0.1309
Reconstruction loss: 0.8627
Archetype R²: 0.0811
Archetype transform grad norm: 0.213611
Archetype transform param norm: 7.4807
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.7896 (range: 0.7896 - 0.7896)
archetypal_loss: 0.8627 (range: 0.8627 - 0.8627)
kld_loss: 0.1309 (range: 0.1309 - 0.1309)
reconstruction_loss: 0.8627 (range: 0.8627 - 0.8627)
archetype_r2: 0.0811 (range: 0.0811 - 0.0811)
Archetype Transform Summary:
archetype_transform_mean: -0.001155 (range: -0.001155 - -0.001155)
archetype_transform_std: 0.104754 (range: 0.104754 - 0.104754)
archetype_transform_norm: 7.480663 (range: 7.480663 - 7.480663)
archetype_transform_grad_norm: 0.213611 (range: 0.213611 - 0.213611)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0078, max=0.6697, mean=0.2000
Batch reconstruction MSE: 1.1367
Archetype stats: min=-10.5578, max=12.9063
Archetype change since last debug: 2.035073
Archetype gradients: norm=0.061750, mean=0.002795
Epoch 1/1
Average loss: 0.7876
Archetypal loss: 0.8609
KLD loss: 0.1273
Reconstruction loss: 0.8609
Archetype R²: 0.0830
Archetype transform grad norm: 0.214605
Archetype transform param norm: 7.5577
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.7876 (range: 0.7876 - 0.7876)
archetypal_loss: 0.8609 (range: 0.8609 - 0.8609)
kld_loss: 0.1273 (range: 0.1273 - 0.1273)
reconstruction_loss: 0.8609 (range: 0.8609 - 0.8609)
archetype_r2: 0.0830 (range: 0.0830 - 0.0830)
Archetype Transform Summary:
archetype_transform_mean: -0.001191 (range: -0.001191 - -0.001191)
archetype_transform_std: 0.105832 (range: 0.105832 - 0.105832)
archetype_transform_norm: 7.557668 (range: 7.557668 - 7.557668)
archetype_transform_grad_norm: 0.214605 (range: 0.214605 - 0.214605)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0085, max=0.6230, mean=0.2000
Batch reconstruction MSE: 1.1134
Archetype stats: min=-10.8999, max=13.4308
Archetype change since last debug: 1.894883
Archetype gradients: norm=0.053817, mean=0.002538
Epoch 1/1
Average loss: 0.7860
Archetypal loss: 0.8595
KLD loss: 0.1244
Reconstruction loss: 0.8595
Archetype R²: 0.0846
Archetype transform grad norm: 0.216176
Archetype transform param norm: 7.6292
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.7860 (range: 0.7860 - 0.7860)
archetypal_loss: 0.8595 (range: 0.8595 - 0.8595)
kld_loss: 0.1244 (range: 0.1244 - 0.1244)
reconstruction_loss: 0.8595 (range: 0.8595 - 0.8595)
archetype_r2: 0.0846 (range: 0.0846 - 0.0846)
Archetype Transform Summary:
archetype_transform_mean: -0.001233 (range: -0.001233 - -0.001233)
archetype_transform_std: 0.106833 (range: 0.106833 - 0.106833)
archetype_transform_norm: 7.629157 (range: 7.629157 - 7.629157)
archetype_transform_grad_norm: 0.216176 (range: 0.216176 - 0.216176)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0092, max=0.5494, mean=0.2000
Batch reconstruction MSE: 1.0958
Archetype stats: min=-11.1223, max=13.8635
Archetype change since last debug: 1.732779
Archetype gradients: norm=0.051757, mean=0.002442
Epoch 1/1
Average loss: 0.7848
Archetypal loss: 0.8584
KLD loss: 0.1221
Reconstruction loss: 0.8584
Archetype R²: 0.0857
Archetype transform grad norm: 0.218963
Archetype transform param norm: 7.6941
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.7848 (range: 0.7848 - 0.7848)
archetypal_loss: 0.8584 (range: 0.8584 - 0.8584)
kld_loss: 0.1221 (range: 0.1221 - 0.1221)
reconstruction_loss: 0.8584 (range: 0.8584 - 0.8584)
archetype_r2: 0.0857 (range: 0.0857 - 0.0857)
Archetype Transform Summary:
archetype_transform_mean: -0.001254 (range: -0.001254 - -0.001254)
archetype_transform_std: 0.107743 (range: 0.107743 - 0.107743)
archetype_transform_norm: 7.694143 (range: 7.694143 - 7.694143)
archetype_transform_grad_norm: 0.218963 (range: 0.218963 - 0.218963)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0109, max=0.5328, mean=0.2000
Batch reconstruction MSE: 1.0887
Archetype stats: min=-11.4711, max=14.2683
Archetype change since last debug: 1.660119
Archetype gradients: norm=0.044332, mean=0.002172
Epoch 1/1
Average loss: 0.7843
Archetypal loss: 0.8579
KLD loss: 0.1213
Reconstruction loss: 0.8579
Archetype R²: 0.0862
Archetype transform grad norm: 0.225181
Archetype transform param norm: 7.7514
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.7843 (range: 0.7843 - 0.7843)
archetypal_loss: 0.8579 (range: 0.8579 - 0.8579)
kld_loss: 0.1213 (range: 0.1213 - 0.1213)
reconstruction_loss: 0.8579 (range: 0.8579 - 0.8579)
archetype_r2: 0.0862 (range: 0.0862 - 0.0862)
Archetype Transform Summary:
archetype_transform_mean: -0.001313 (range: -0.001313 - -0.001313)
archetype_transform_std: 0.108543 (range: 0.108543 - 0.108543)
archetype_transform_norm: 7.751353 (range: 7.751353 - 7.751353)
archetype_transform_grad_norm: 0.225181 (range: 0.225181 - 0.225181)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0112, max=0.4897, mean=0.2000
Batch reconstruction MSE: 1.0740
Archetype stats: min=-11.4338, max=14.5520
Archetype change since last debug: 1.443755
Archetype gradients: norm=0.051104, mean=0.002364
Epoch 1/1
Average loss: 0.7835
Archetypal loss: 0.8571
KLD loss: 0.1207
Reconstruction loss: 0.8571
Archetype R²: 0.0871
Archetype transform grad norm: 0.228233
Archetype transform param norm: 7.7997
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.7835 (range: 0.7835 - 0.7835)
archetypal_loss: 0.8571 (range: 0.8571 - 0.8571)
kld_loss: 0.1207 (range: 0.1207 - 0.1207)
reconstruction_loss: 0.8571 (range: 0.8571 - 0.8571)
archetype_r2: 0.0871 (range: 0.0871 - 0.0871)
Archetype Transform Summary:
archetype_transform_mean: -0.001329 (range: -0.001329 - -0.001329)
archetype_transform_std: 0.109221 (range: 0.109221 - 0.109221)
archetype_transform_norm: 7.799733 (range: 7.799733 - 7.799733)
archetype_transform_grad_norm: 0.228233 (range: 0.228233 - 0.228233)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0125, max=0.4838, mean=0.2000
Batch reconstruction MSE: 1.0756
Archetype stats: min=-11.7647, max=14.8552
Archetype change since last debug: 1.414538
Archetype gradients: norm=0.039474, mean=0.001954
Epoch 1/1
Average loss: 0.7832
Archetypal loss: 0.8569
KLD loss: 0.1197
Reconstruction loss: 0.8569
Archetype R²: 0.0873
Archetype transform grad norm: 0.238569
Archetype transform param norm: 7.8443
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.7832 (range: 0.7832 - 0.7832)
archetypal_loss: 0.8569 (range: 0.8569 - 0.8569)
kld_loss: 0.1197 (range: 0.1197 - 0.1197)
reconstruction_loss: 0.8569 (range: 0.8569 - 0.8569)
archetype_r2: 0.0873 (range: 0.0873 - 0.0873)
Archetype Transform Summary:
archetype_transform_mean: -0.001385 (range: -0.001385 - -0.001385)
archetype_transform_std: 0.109844 (range: 0.109844 - 0.109844)
archetype_transform_norm: 7.844317 (range: 7.844317 - 7.844317)
archetype_transform_grad_norm: 0.238569 (range: 0.238569 - 0.238569)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0137, max=0.4653, mean=0.2000
Batch reconstruction MSE: 1.0598
Archetype stats: min=-11.5842, max=15.1301
Archetype change since last debug: 1.374711
Archetype gradients: norm=0.056339, mean=0.002546
Epoch 1/1
Average loss: 0.7823
Archetypal loss: 0.8559
KLD loss: 0.1198
Reconstruction loss: 0.8559
Archetype R²: 0.0883
Archetype transform grad norm: 0.236138
Archetype transform param norm: 7.8838
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.7823 (range: 0.7823 - 0.7823)
archetypal_loss: 0.8559 (range: 0.8559 - 0.8559)
kld_loss: 0.1198 (range: 0.1198 - 0.1198)
reconstruction_loss: 0.8559 (range: 0.8559 - 0.8559)
archetype_r2: 0.0883 (range: 0.0883 - 0.0883)
Archetype Transform Summary:
archetype_transform_mean: -0.001379 (range: -0.001379 - -0.001379)
archetype_transform_std: 0.110398 (range: 0.110398 - 0.110398)
archetype_transform_norm: 7.883830 (range: 7.883830 - 7.883830)
archetype_transform_grad_norm: 0.236138 (range: 0.236138 - 0.236138)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0125, max=0.4747, mean=0.2000
Batch reconstruction MSE: 1.0545
Archetype stats: min=-11.9725, max=15.3948
Archetype change since last debug: 1.355084
Archetype gradients: norm=0.038954, mean=0.001849
Epoch 1/1
Average loss: 0.7819
Archetypal loss: 0.8556
KLD loss: 0.1187
Reconstruction loss: 0.8556
Archetype R²: 0.0887
Archetype transform grad norm: 0.241191
Archetype transform param norm: 7.9232
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.7819 (range: 0.7819 - 0.7819)
archetypal_loss: 0.8556 (range: 0.8556 - 0.8556)
kld_loss: 0.1187 (range: 0.1187 - 0.1187)
reconstruction_loss: 0.8556 (range: 0.8556 - 0.8556)
archetype_r2: 0.0887 (range: 0.0887 - 0.0887)
Archetype Transform Summary:
archetype_transform_mean: -0.001401 (range: -0.001401 - -0.001401)
archetype_transform_std: 0.110949 (range: 0.110949 - 0.110949)
archetype_transform_norm: 7.923191 (range: 7.923191 - 7.923191)
archetype_transform_grad_norm: 0.241191 (range: 0.241191 - 0.241191)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0157, max=0.4344, mean=0.2000
Batch reconstruction MSE: 1.0339
Archetype stats: min=-11.8978, max=15.8287
Archetype change since last debug: 1.307955
Archetype gradients: norm=0.053295, mean=0.002300
Epoch 1/1
Average loss: 0.7808
Archetypal loss: 0.8546
KLD loss: 0.1169
Reconstruction loss: 0.8546
Archetype R²: 0.0898
Archetype transform grad norm: 0.236953
Archetype transform param norm: 7.9609
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.7808 (range: 0.7808 - 0.7808)
archetypal_loss: 0.8546 (range: 0.8546 - 0.8546)
kld_loss: 0.1169 (range: 0.1169 - 0.1169)
reconstruction_loss: 0.8546 (range: 0.8546 - 0.8546)
archetype_r2: 0.0898 (range: 0.0898 - 0.0898)
Archetype Transform Summary:
archetype_transform_mean: -0.001402 (range: -0.001402 - -0.001402)
archetype_transform_std: 0.111477 (range: 0.111477 - 0.111477)
archetype_transform_norm: 7.960915 (range: 7.960915 - 7.960915)
archetype_transform_grad_norm: 0.236953 (range: 0.236953 - 0.236953)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0157, max=0.5085, mean=0.2000
Batch reconstruction MSE: 1.0370
Archetype stats: min=-12.2238, max=15.9369
Archetype change since last debug: 1.263608
Archetype gradients: norm=0.042649, mean=0.001821
Epoch 1/1
Average loss: 0.7810
Archetypal loss: 0.8548
KLD loss: 0.1167
Reconstruction loss: 0.8548
Archetype R²: 0.0895
Archetype transform grad norm: 0.245349
Archetype transform param norm: 7.9939
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.7810 (range: 0.7810 - 0.7810)
archetypal_loss: 0.8548 (range: 0.8548 - 0.8548)
kld_loss: 0.1167 (range: 0.1167 - 0.1167)
reconstruction_loss: 0.8548 (range: 0.8548 - 0.8548)
archetype_r2: 0.0895 (range: 0.0895 - 0.0895)
Archetype Transform Summary:
archetype_transform_mean: -0.001447 (range: -0.001447 - -0.001447)
archetype_transform_std: 0.111938 (range: 0.111938 - 0.111938)
archetype_transform_norm: 7.993861 (range: 7.993861 - 7.993861)
archetype_transform_grad_norm: 0.245349 (range: 0.245349 - 0.245349)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0166, max=0.4217, mean=0.2000
Batch reconstruction MSE: 1.0547
Archetype stats: min=-12.0871, max=16.2468
Archetype change since last debug: 1.210675
Archetype gradients: norm=0.057900, mean=0.002535
Epoch 1/1
Average loss: 0.7811
Archetypal loss: 0.8550
KLD loss: 0.1164
Reconstruction loss: 0.8550
Archetype R²: 0.0892
Archetype transform grad norm: 0.248096
Archetype transform param norm: 8.0142
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.7811 (range: 0.7811 - 0.7811)
archetypal_loss: 0.8550 (range: 0.8550 - 0.8550)
kld_loss: 0.1164 (range: 0.1164 - 0.1164)
reconstruction_loss: 0.8550 (range: 0.8550 - 0.8550)
archetype_r2: 0.0892 (range: 0.0892 - 0.0892)
Archetype Transform Summary:
archetype_transform_mean: -0.001512 (range: -0.001512 - -0.001512)
archetype_transform_std: 0.112221 (range: 0.112221 - 0.112221)
archetype_transform_norm: 8.014158 (range: 8.014158 - 8.014158)
archetype_transform_grad_norm: 0.248096 (range: 0.248096 - 0.248096)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0196, max=0.4381, mean=0.2000
Batch reconstruction MSE: 1.0544
Archetype stats: min=-12.1481, max=15.9138
Archetype change since last debug: 1.129548
Archetype gradients: norm=0.042666, mean=0.002107
Epoch 1/1
Average loss: 0.7810
Archetypal loss: 0.8547
KLD loss: 0.1177
Reconstruction loss: 0.8547
Archetype R²: 0.0895
Archetype transform grad norm: 0.251048
Archetype transform param norm: 8.0327
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.7810 (range: 0.7810 - 0.7810)
archetypal_loss: 0.8547 (range: 0.8547 - 0.8547)
kld_loss: 0.1177 (range: 0.1177 - 0.1177)
reconstruction_loss: 0.8547 (range: 0.8547 - 0.8547)
archetype_r2: 0.0895 (range: 0.0895 - 0.0895)
Archetype Transform Summary:
archetype_transform_mean: -0.001568 (range: -0.001568 - -0.001568)
archetype_transform_std: 0.112481 (range: 0.112481 - 0.112481)
archetype_transform_norm: 8.032732 (range: 8.032732 - 8.032732)
archetype_transform_grad_norm: 0.251048 (range: 0.251048 - 0.251048)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0181, max=0.5062, mean=0.2000
Batch reconstruction MSE: 1.0508
Archetype stats: min=-11.8702, max=16.0039
Archetype change since last debug: 0.984320
Archetype gradients: norm=0.053295, mean=0.002409
Epoch 1/1
Average loss: 0.7796
Archetypal loss: 0.8535
KLD loss: 0.1148
Reconstruction loss: 0.8535
Archetype R²: 0.0908
Archetype transform grad norm: 0.235016
Archetype transform param norm: 8.0558
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.7796 (range: 0.7796 - 0.7796)
archetypal_loss: 0.8535 (range: 0.8535 - 0.8535)
kld_loss: 0.1148 (range: 0.1148 - 0.1148)
reconstruction_loss: 0.8535 (range: 0.8535 - 0.8535)
archetype_r2: 0.0908 (range: 0.0908 - 0.0908)
Archetype Transform Summary:
archetype_transform_mean: -0.001599 (range: -0.001599 - -0.001599)
archetype_transform_std: 0.112803 (range: 0.112803 - 0.112803)
archetype_transform_norm: 8.055776 (range: 8.055776 - 8.055776)
archetype_transform_grad_norm: 0.235016 (range: 0.235016 - 0.235016)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0252, max=0.4376, mean=0.2000
Batch reconstruction MSE: 1.0193
Archetype stats: min=-12.0196, max=15.9732
Archetype change since last debug: 1.061466
Archetype gradients: norm=0.042488, mean=0.001777
Epoch 1/1
Average loss: 0.7794
Archetypal loss: 0.8531
KLD loss: 0.1158
Reconstruction loss: 0.8531
Archetype R²: 0.0912
Archetype transform grad norm: 0.249399
Archetype transform param norm: 8.0854
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.7794 (range: 0.7794 - 0.7794)
archetypal_loss: 0.8531 (range: 0.8531 - 0.8531)
kld_loss: 0.1158 (range: 0.1158 - 0.1158)
reconstruction_loss: 0.8531 (range: 0.8531 - 0.8531)
archetype_r2: 0.0912 (range: 0.0912 - 0.0912)
Archetype Transform Summary:
archetype_transform_mean: -0.001605 (range: -0.001605 - -0.001605)
archetype_transform_std: 0.113218 (range: 0.113218 - 0.113218)
archetype_transform_norm: 8.085383 (range: 8.085383 - 8.085383)
archetype_transform_grad_norm: 0.249399 (range: 0.249399 - 0.249399)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0194, max=0.4522, mean=0.2000
Batch reconstruction MSE: 1.0286
Archetype stats: min=-11.9923, max=16.1986
Archetype change since last debug: 0.997077
Archetype gradients: norm=0.055200, mean=0.002750
Epoch 1/1
Average loss: 0.7786
Archetypal loss: 0.8526
KLD loss: 0.1126
Reconstruction loss: 0.8526
Archetype R²: 0.0918
Archetype transform grad norm: 0.241150
Archetype transform param norm: 8.1133
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.7786 (range: 0.7786 - 0.7786)
archetypal_loss: 0.8526 (range: 0.8526 - 0.8526)
kld_loss: 0.1126 (range: 0.1126 - 0.1126)
reconstruction_loss: 0.8526 (range: 0.8526 - 0.8526)
archetype_r2: 0.0918 (range: 0.0918 - 0.0918)
Archetype Transform Summary:
archetype_transform_mean: -0.001616 (range: -0.001616 - -0.001616)
archetype_transform_std: 0.113609 (range: 0.113609 - 0.113609)
archetype_transform_norm: 8.113299 (range: 8.113299 - 8.113299)
archetype_transform_grad_norm: 0.241150 (range: 0.241150 - 0.241150)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0246, max=0.4142, mean=0.2000
Batch reconstruction MSE: 1.0182
Archetype stats: min=-12.1466, max=16.2834
Archetype change since last debug: 1.015004
Archetype gradients: norm=0.040838, mean=0.001800
Epoch 1/1
Average loss: 0.7787
Archetypal loss: 0.8526
KLD loss: 0.1137
Reconstruction loss: 0.8526
Archetype R²: 0.0917
Archetype transform grad norm: 0.249429
Archetype transform param norm: 8.1377
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.7787 (range: 0.7787 - 0.7787)
archetypal_loss: 0.8526 (range: 0.8526 - 0.8526)
kld_loss: 0.1137 (range: 0.1137 - 0.1137)
reconstruction_loss: 0.8526 (range: 0.8526 - 0.8526)
archetype_r2: 0.0917 (range: 0.0917 - 0.0917)
Archetype Transform Summary:
archetype_transform_mean: -0.001614 (range: -0.001614 - -0.001614)
archetype_transform_std: 0.113951 (range: 0.113951 - 0.113951)
archetype_transform_norm: 8.137744 (range: 8.137744 - 8.137744)
archetype_transform_grad_norm: 0.249429 (range: 0.249429 - 0.249429)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0215, max=0.4320, mean=0.2000
Batch reconstruction MSE: 1.0312
Archetype stats: min=-12.0977, max=16.4662
Archetype change since last debug: 0.860898
Archetype gradients: norm=0.055749, mean=0.002672
Epoch 1/1
Average loss: 0.7785
Archetypal loss: 0.8526
KLD loss: 0.1119
Reconstruction loss: 0.8526
Archetype R²: 0.0917
Archetype transform grad norm: 0.242707
Archetype transform param norm: 8.1580
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.7785 (range: 0.7785 - 0.7785)
archetypal_loss: 0.8526 (range: 0.8526 - 0.8526)
kld_loss: 0.1119 (range: 0.1119 - 0.1119)
reconstruction_loss: 0.8526 (range: 0.8526 - 0.8526)
archetype_r2: 0.0917 (range: 0.0917 - 0.0917)
Archetype Transform Summary:
archetype_transform_mean: -0.001639 (range: -0.001639 - -0.001639)
archetype_transform_std: 0.114234 (range: 0.114234 - 0.114234)
archetype_transform_norm: 8.158008 (range: 8.158008 - 8.158008)
archetype_transform_grad_norm: 0.242707 (range: 0.242707 - 0.242707)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0256, max=0.4143, mean=0.2000
Batch reconstruction MSE: 1.0249
Archetype stats: min=-12.1768, max=16.5086
Archetype change since last debug: 0.834362
Archetype gradients: norm=0.038429, mean=0.001653
Epoch 1/1
Average loss: 0.7788
Archetypal loss: 0.8527
KLD loss: 0.1141
Reconstruction loss: 0.8527
Archetype R²: 0.0916
Archetype transform grad norm: 0.252112
Archetype transform param norm: 8.1719
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.7788 (range: 0.7788 - 0.7788)
archetypal_loss: 0.8527 (range: 0.8527 - 0.8527)
kld_loss: 0.1141 (range: 0.1141 - 0.1141)
reconstruction_loss: 0.8527 (range: 0.8527 - 0.8527)
archetype_r2: 0.0916 (range: 0.0916 - 0.0916)
Archetype Transform Summary:
archetype_transform_mean: -0.001647 (range: -0.001647 - -0.001647)
archetype_transform_std: 0.114428 (range: 0.114428 - 0.114428)
archetype_transform_norm: 8.171862 (range: 8.171862 - 8.171862)
archetype_transform_grad_norm: 0.252112 (range: 0.252112 - 0.252112)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0288, max=0.4177, mean=0.2000
Batch reconstruction MSE: 1.0319
Archetype stats: min=-12.0447, max=16.6093
Archetype change since last debug: 0.773573
Archetype gradients: norm=0.051718, mean=0.002380
Epoch 1/1
Average loss: 0.7779
Archetypal loss: 0.8519
KLD loss: 0.1119
Reconstruction loss: 0.8519
Archetype R²: 0.0924
Archetype transform grad norm: 0.237725
Archetype transform param norm: 8.1881
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.7779 (range: 0.7779 - 0.7779)
archetypal_loss: 0.8519 (range: 0.8519 - 0.8519)
kld_loss: 0.1119 (range: 0.1119 - 0.1119)
reconstruction_loss: 0.8519 (range: 0.8519 - 0.8519)
archetype_r2: 0.0924 (range: 0.0924 - 0.0924)
Archetype Transform Summary:
archetype_transform_mean: -0.001660 (range: -0.001660 - -0.001660)
archetype_transform_std: 0.114656 (range: 0.114656 - 0.114656)
archetype_transform_norm: 8.188116 (range: 8.188116 - 8.188116)
archetype_transform_grad_norm: 0.237725 (range: 0.237725 - 0.237725)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0261, max=0.5257, mean=0.2000
Batch reconstruction MSE: 1.0101
Archetype stats: min=-12.0962, max=16.7639
Archetype change since last debug: 0.846843
Archetype gradients: norm=0.029264, mean=0.001337
Epoch 1/1
Average loss: 0.7777
Archetypal loss: 0.8514
KLD loss: 0.1139
Reconstruction loss: 0.8514
Archetype R²: 0.0929
Archetype transform grad norm: 0.241635
Archetype transform param norm: 8.2093
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.7777 (range: 0.7777 - 0.7777)
archetypal_loss: 0.8514 (range: 0.8514 - 0.8514)
kld_loss: 0.1139 (range: 0.1139 - 0.1139)
reconstruction_loss: 0.8514 (range: 0.8514 - 0.8514)
archetype_r2: 0.0929 (range: 0.0929 - 0.0929)
Archetype Transform Summary:
archetype_transform_mean: -0.001684 (range: -0.001684 - -0.001684)
archetype_transform_std: 0.114952 (range: 0.114952 - 0.114952)
archetype_transform_norm: 8.209307 (range: 8.209307 - 8.209307)
archetype_transform_grad_norm: 0.241635 (range: 0.241635 - 0.241635)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0297, max=0.4328, mean=0.2000
Batch reconstruction MSE: 1.0194
Archetype stats: min=-12.0786, max=16.9027
Archetype change since last debug: 0.790847
Archetype gradients: norm=0.044295, mean=0.002132
Epoch 1/1
Average loss: 0.7770
Archetypal loss: 0.8510
KLD loss: 0.1112
Reconstruction loss: 0.8510
Archetype R²: 0.0933
Archetype transform grad norm: 0.233987
Archetype transform param norm: 8.2303
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.7770 (range: 0.7770 - 0.7770)
archetypal_loss: 0.8510 (range: 0.8510 - 0.8510)
kld_loss: 0.1112 (range: 0.1112 - 0.1112)
reconstruction_loss: 0.8510 (range: 0.8510 - 0.8510)
archetype_r2: 0.0933 (range: 0.0933 - 0.0933)
Archetype Transform Summary:
archetype_transform_mean: -0.001690 (range: -0.001690 - -0.001690)
archetype_transform_std: 0.115247 (range: 0.115247 - 0.115247)
archetype_transform_norm: 8.230347 (range: 8.230347 - 8.230347)
archetype_transform_grad_norm: 0.233987 (range: 0.233987 - 0.233987)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0254, max=0.3964, mean=0.2000
Batch reconstruction MSE: 0.9963
Archetype stats: min=-12.1823, max=17.1019
Archetype change since last debug: 0.832179
Archetype gradients: norm=0.026611, mean=0.001282
Epoch 1/1
Average loss: 0.7765
Archetypal loss: 0.8505
KLD loss: 0.1108
Reconstruction loss: 0.8505
Archetype R²: 0.0939
Archetype transform grad norm: 0.238389
Archetype transform param norm: 8.2566
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.7765 (range: 0.7765 - 0.7765)
archetypal_loss: 0.8505 (range: 0.8505 - 0.8505)
kld_loss: 0.1108 (range: 0.1108 - 0.1108)
reconstruction_loss: 0.8505 (range: 0.8505 - 0.8505)
archetype_r2: 0.0939 (range: 0.0939 - 0.0939)
Archetype Transform Summary:
archetype_transform_mean: -0.001691 (range: -0.001691 - -0.001691)
archetype_transform_std: 0.115614 (range: 0.115614 - 0.115614)
archetype_transform_norm: 8.256580 (range: 8.256580 - 8.256580)
archetype_transform_grad_norm: 0.238389 (range: 0.238389 - 0.238389)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0334, max=0.4232, mean=0.2000
Batch reconstruction MSE: 1.0130
Archetype stats: min=-12.2199, max=17.3148
Archetype change since last debug: 0.836298
Archetype gradients: norm=0.039435, mean=0.001846
Epoch 1/1
Average loss: 0.7763
Archetypal loss: 0.8505
KLD loss: 0.1085
Reconstruction loss: 0.8505
Archetype R²: 0.0938
Archetype transform grad norm: 0.231818
Archetype transform param norm: 8.2772
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.7763 (range: 0.7763 - 0.7763)
archetypal_loss: 0.8505 (range: 0.8505 - 0.8505)
kld_loss: 0.1085 (range: 0.1085 - 0.1085)
reconstruction_loss: 0.8505 (range: 0.8505 - 0.8505)
archetype_r2: 0.0938 (range: 0.0938 - 0.0938)
Archetype Transform Summary:
archetype_transform_mean: -0.001707 (range: -0.001707 - -0.001707)
archetype_transform_std: 0.115903 (range: 0.115903 - 0.115903)
archetype_transform_norm: 8.277227 (range: 8.277227 - 8.277227)
archetype_transform_grad_norm: 0.231818 (range: 0.231818 - 0.231818)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0252, max=0.4274, mean=0.2000
Batch reconstruction MSE: 1.0264
Archetype stats: min=-12.3273, max=17.4798
Archetype change since last debug: 0.805243
Archetype gradients: norm=0.037774, mean=0.001785
Epoch 1/1
Average loss: 0.7772
Archetypal loss: 0.8511
KLD loss: 0.1122
Reconstruction loss: 0.8511
Archetype R²: 0.0931
Archetype transform grad norm: 0.241741
Archetype transform param norm: 8.2880
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.7772 (range: 0.7772 - 0.7772)
archetypal_loss: 0.8511 (range: 0.8511 - 0.8511)
kld_loss: 0.1122 (range: 0.1122 - 0.1122)
reconstruction_loss: 0.8511 (range: 0.8511 - 0.8511)
archetype_r2: 0.0931 (range: 0.0931 - 0.0931)
Archetype Transform Summary:
archetype_transform_mean: -0.001711 (range: -0.001711 - -0.001711)
archetype_transform_std: 0.116054 (range: 0.116054 - 0.116054)
archetype_transform_norm: 8.288032 (range: 8.288032 - 8.288032)
archetype_transform_grad_norm: 0.241741 (range: 0.241741 - 0.241741)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0351, max=0.4156, mean=0.2000
Batch reconstruction MSE: 1.0355
Archetype stats: min=-12.3173, max=17.5169
Archetype change since last debug: 0.610264
Archetype gradients: norm=0.038182, mean=0.001812
Epoch 1/1
Average loss: 0.7766
Archetypal loss: 0.8508
KLD loss: 0.1087
Reconstruction loss: 0.8508
Archetype R²: 0.0935
Archetype transform grad norm: 0.231125
Archetype transform param norm: 8.2959
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.7766 (range: 0.7766 - 0.7766)
archetypal_loss: 0.8508 (range: 0.8508 - 0.8508)
kld_loss: 0.1087 (range: 0.1087 - 0.1087)
reconstruction_loss: 0.8508 (range: 0.8508 - 0.8508)
archetype_r2: 0.0935 (range: 0.0935 - 0.0935)
Archetype Transform Summary:
archetype_transform_mean: -0.001736 (range: -0.001736 - -0.001736)
archetype_transform_std: 0.116165 (range: 0.116165 - 0.116165)
archetype_transform_norm: 8.295925 (range: 8.295925 - 8.295925)
archetype_transform_grad_norm: 0.231125 (range: 0.231125 - 0.231125)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0232, max=0.4640, mean=0.2000
Batch reconstruction MSE: 1.0112
Archetype stats: min=-12.2505, max=17.6046
Archetype change since last debug: 0.661967
Archetype gradients: norm=0.033792, mean=0.001574
Epoch 1/1
Average loss: 0.7762
Archetypal loss: 0.8502
KLD loss: 0.1103
Reconstruction loss: 0.8502
Archetype R²: 0.0941
Archetype transform grad norm: 0.234325
Archetype transform param norm: 8.3109
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.7762 (range: 0.7762 - 0.7762)
archetypal_loss: 0.8502 (range: 0.8502 - 0.8502)
kld_loss: 0.1103 (range: 0.1103 - 0.1103)
reconstruction_loss: 0.8502 (range: 0.8502 - 0.8502)
archetype_r2: 0.0941 (range: 0.0941 - 0.0941)
Archetype Transform Summary:
archetype_transform_mean: -0.001760 (range: -0.001760 - -0.001760)
archetype_transform_std: 0.116374 (range: 0.116374 - 0.116374)
archetype_transform_norm: 8.310895 (range: 8.310895 - 8.310895)
archetype_transform_grad_norm: 0.234325 (range: 0.234325 - 0.234325)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0329, max=0.4245, mean=0.2000
Batch reconstruction MSE: 0.9873
Archetype stats: min=-12.2444, max=17.6562
Archetype change since last debug: 0.671154
Archetype gradients: norm=0.032784, mean=0.001556
Epoch 1/1
Average loss: 0.7752
Archetypal loss: 0.8494
KLD loss: 0.1077
Reconstruction loss: 0.8494
Archetype R²: 0.0950
Archetype transform grad norm: 0.232149
Archetype transform param norm: 8.3333
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.7752 (range: 0.7752 - 0.7752)
archetypal_loss: 0.8494 (range: 0.8494 - 0.8494)
kld_loss: 0.1077 (range: 0.1077 - 0.1077)
reconstruction_loss: 0.8494 (range: 0.8494 - 0.8494)
archetype_r2: 0.0950 (range: 0.0950 - 0.0950)
Archetype Transform Summary:
archetype_transform_mean: -0.001774 (range: -0.001774 - -0.001774)
archetype_transform_std: 0.116688 (range: 0.116688 - 0.116688)
archetype_transform_norm: 8.333340 (range: 8.333340 - 8.333340)
archetype_transform_grad_norm: 0.232149 (range: 0.232149 - 0.232149)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0236, max=0.3684, mean=0.2000
Batch reconstruction MSE: 0.9792
Archetype stats: min=-12.3857, max=17.8375
Archetype change since last debug: 0.868888
Archetype gradients: norm=0.028561, mean=0.001342
Epoch 1/1
Average loss: 0.7753
Archetypal loss: 0.8494
KLD loss: 0.1080
Reconstruction loss: 0.8494
Archetype R²: 0.0950
Archetype transform grad norm: 0.237748
Archetype transform param norm: 8.3565
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.7753 (range: 0.7753 - 0.7753)
archetypal_loss: 0.8494 (range: 0.8494 - 0.8494)
kld_loss: 0.1080 (range: 0.1080 - 0.1080)
reconstruction_loss: 0.8494 (range: 0.8494 - 0.8494)
archetype_r2: 0.0950 (range: 0.0950 - 0.0950)
Archetype Transform Summary:
archetype_transform_mean: -0.001778 (range: -0.001778 - -0.001778)
archetype_transform_std: 0.117012 (range: 0.117012 - 0.117012)
archetype_transform_norm: 8.356486 (range: 8.356486 - 8.356486)
archetype_transform_grad_norm: 0.237748 (range: 0.237748 - 0.237748)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0314, max=0.3756, mean=0.2000
Batch reconstruction MSE: 0.9952
Archetype stats: min=-12.4152, max=18.0650
Archetype change since last debug: 0.755865
Archetype gradients: norm=0.033895, mean=0.001572
Epoch 1/1
Average loss: 0.7752
Archetypal loss: 0.8495
KLD loss: 0.1067
Reconstruction loss: 0.8495
Archetype R²: 0.0949
Archetype transform grad norm: 0.231552
Archetype transform param norm: 8.3724
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.7752 (range: 0.7752 - 0.7752)
archetypal_loss: 0.8495 (range: 0.8495 - 0.8495)
kld_loss: 0.1067 (range: 0.1067 - 0.1067)
reconstruction_loss: 0.8495 (range: 0.8495 - 0.8495)
archetype_r2: 0.0949 (range: 0.0949 - 0.0949)
Archetype Transform Summary:
archetype_transform_mean: -0.001785 (range: -0.001785 - -0.001785)
archetype_transform_std: 0.117235 (range: 0.117235 - 0.117235)
archetype_transform_norm: 8.372439 (range: 8.372439 - 8.372439)
archetype_transform_grad_norm: 0.231552 (range: 0.231552 - 0.231552)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0219, max=0.4527, mean=0.2000
Batch reconstruction MSE: 1.0546
Archetype stats: min=-12.5075, max=18.1436
Archetype change since last debug: 0.665636
Archetype gradients: norm=0.041650, mean=0.001909
Epoch 1/1
Average loss: 0.7790
Archetypal loss: 0.8531
KLD loss: 0.1127
Reconstruction loss: 0.8531
Archetype R²: 0.0912
Archetype transform grad norm: 0.246906
Archetype transform param norm: 8.3621
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.7790 (range: 0.7790 - 0.7790)
archetypal_loss: 0.8531 (range: 0.8531 - 0.8531)
kld_loss: 0.1127 (range: 0.1127 - 0.1127)
reconstruction_loss: 0.8531 (range: 0.8531 - 0.8531)
archetype_r2: 0.0912 (range: 0.0912 - 0.0912)
Archetype Transform Summary:
archetype_transform_mean: -0.001771 (range: -0.001771 - -0.001771)
archetype_transform_std: 0.117091 (range: 0.117091 - 0.117091)
archetype_transform_norm: 8.362105 (range: 8.362105 - 8.362105)
archetype_transform_grad_norm: 0.246906 (range: 0.246906 - 0.246906)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0368, max=0.4356, mean=0.2000
Batch reconstruction MSE: 1.0637
Archetype stats: min=-12.3033, max=18.1200
Archetype change since last debug: 1.031402
Archetype gradients: norm=0.066037, mean=0.003075
Epoch 1/1
Average loss: 0.7778
Archetypal loss: 0.8520
KLD loss: 0.1096
Reconstruction loss: 0.8520
Archetype R²: 0.0921
Archetype transform grad norm: 0.242941
Archetype transform param norm: 8.3189
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.7778 (range: 0.7778 - 0.7778)
archetypal_loss: 0.8520 (range: 0.8520 - 0.8520)
kld_loss: 0.1096 (range: 0.1096 - 0.1096)
reconstruction_loss: 0.8520 (range: 0.8520 - 0.8520)
archetype_r2: 0.0921 (range: 0.0921 - 0.0921)
Archetype Transform Summary:
archetype_transform_mean: -0.001748 (range: -0.001748 - -0.001748)
archetype_transform_std: 0.116486 (range: 0.116486 - 0.116486)
archetype_transform_norm: 8.318863 (range: 8.318863 - 8.318863)
archetype_transform_grad_norm: 0.242941 (range: 0.242941 - 0.242941)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0252, max=0.4446, mean=0.2000
Batch reconstruction MSE: 1.0199
Archetype stats: min=-12.3085, max=17.8300
Archetype change since last debug: 1.101599
Archetype gradients: norm=0.045223, mean=0.002000
Epoch 1/1
Average loss: 0.7766
Archetypal loss: 0.8505
KLD loss: 0.1118
Reconstruction loss: 0.8505
Archetype R²: 0.0937
Archetype transform grad norm: 0.249905
Archetype transform param norm: 8.3148
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.7766 (range: 0.7766 - 0.7766)
archetypal_loss: 0.8505 (range: 0.8505 - 0.8505)
kld_loss: 0.1118 (range: 0.1118 - 0.1118)
reconstruction_loss: 0.8505 (range: 0.8505 - 0.8505)
archetype_r2: 0.0937 (range: 0.0937 - 0.0937)
Archetype Transform Summary:
archetype_transform_mean: -0.001727 (range: -0.001727 - -0.001727)
archetype_transform_std: 0.116430 (range: 0.116430 - 0.116430)
archetype_transform_norm: 8.314843 (range: 8.314843 - 8.314843)
archetype_transform_grad_norm: 0.249905 (range: 0.249905 - 0.249905)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0337, max=0.4240, mean=0.2000
Batch reconstruction MSE: 1.0024
Archetype stats: min=-12.2471, max=17.9177
Archetype change since last debug: 0.669512
Archetype gradients: norm=0.059817, mean=0.002772
Epoch 1/1
Average loss: 0.7752
Archetypal loss: 0.8494
KLD loss: 0.1072
Reconstruction loss: 0.8494
Archetype R²: 0.0949
Archetype transform grad norm: 0.239480
Archetype transform param norm: 8.3288
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.7752 (range: 0.7752 - 0.7752)
archetypal_loss: 0.8494 (range: 0.8494 - 0.8494)
kld_loss: 0.1072 (range: 0.1072 - 0.1072)
reconstruction_loss: 0.8494 (range: 0.8494 - 0.8494)
archetype_r2: 0.0949 (range: 0.0949 - 0.0949)
Archetype Transform Summary:
archetype_transform_mean: -0.001748 (range: -0.001748 - -0.001748)
archetype_transform_std: 0.116625 (range: 0.116625 - 0.116625)
archetype_transform_norm: 8.328777 (range: 8.328777 - 8.328777)
archetype_transform_grad_norm: 0.239480 (range: 0.239480 - 0.239480)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0252, max=0.4136, mean=0.2000
Batch reconstruction MSE: 0.9820
Archetype stats: min=-12.4191, max=17.9847
Archetype change since last debug: 0.848969
Archetype gradients: norm=0.039306, mean=0.001744
Epoch 1/1
Average loss: 0.7749
Archetypal loss: 0.8490
KLD loss: 0.1087
Reconstruction loss: 0.8490
Archetype R²: 0.0954
Archetype transform grad norm: 0.244781
Archetype transform param norm: 8.3510
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.7749 (range: 0.7749 - 0.7749)
archetypal_loss: 0.8490 (range: 0.8490 - 0.8490)
kld_loss: 0.1087 (range: 0.1087 - 0.1087)
reconstruction_loss: 0.8490 (range: 0.8490 - 0.8490)
archetype_r2: 0.0954 (range: 0.0954 - 0.0954)
Archetype Transform Summary:
archetype_transform_mean: -0.001736 (range: -0.001736 - -0.001736)
archetype_transform_std: 0.116936 (range: 0.116936 - 0.116936)
archetype_transform_norm: 8.351034 (range: 8.351034 - 8.351034)
archetype_transform_grad_norm: 0.244781 (range: 0.244781 - 0.244781)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0301, max=0.3997, mean=0.2000
Batch reconstruction MSE: 0.9960
Archetype stats: min=-12.4202, max=18.1999
Archetype change since last debug: 0.760997
Archetype gradients: norm=0.053141, mean=0.002595
Epoch 1/1
Average loss: 0.7745
Archetypal loss: 0.8489
KLD loss: 0.1045
Reconstruction loss: 0.8489
Archetype R²: 0.0954
Archetype transform grad norm: 0.240937
Archetype transform param norm: 8.3702
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.7745 (range: 0.7745 - 0.7745)
archetypal_loss: 0.8489 (range: 0.8489 - 0.8489)
kld_loss: 0.1045 (range: 0.1045 - 0.1045)
reconstruction_loss: 0.8489 (range: 0.8489 - 0.8489)
archetype_r2: 0.0954 (range: 0.0954 - 0.0954)
Archetype Transform Summary:
archetype_transform_mean: -0.001758 (range: -0.001758 - -0.001758)
archetype_transform_std: 0.117205 (range: 0.117205 - 0.117205)
archetype_transform_norm: 8.370235 (range: 8.370235 - 8.370235)
archetype_transform_grad_norm: 0.240937 (range: 0.240937 - 0.240937)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0281, max=0.4205, mean=0.2000
Batch reconstruction MSE: 0.9888
Archetype stats: min=-12.5623, max=18.2740
Archetype change since last debug: 0.783663
Archetype gradients: norm=0.040433, mean=0.001736
Epoch 1/1
Average loss: 0.7750
Archetypal loss: 0.8491
KLD loss: 0.1080
Reconstruction loss: 0.8491
Archetype R²: 0.0952
Archetype transform grad norm: 0.250665
Archetype transform param norm: 8.3864
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.7750 (range: 0.7750 - 0.7750)
archetypal_loss: 0.8491 (range: 0.8491 - 0.8491)
kld_loss: 0.1080 (range: 0.1080 - 0.1080)
reconstruction_loss: 0.8491 (range: 0.8491 - 0.8491)
archetype_r2: 0.0952 (range: 0.0952 - 0.0952)
Archetype Transform Summary:
archetype_transform_mean: -0.001752 (range: -0.001752 - -0.001752)
archetype_transform_std: 0.117432 (range: 0.117432 - 0.117432)
archetype_transform_norm: 8.386423 (range: 8.386423 - 8.386423)
archetype_transform_grad_norm: 0.250665 (range: 0.250665 - 0.250665)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0341, max=0.4081, mean=0.2000
Batch reconstruction MSE: 1.0348
Archetype stats: min=-12.5886, max=18.4027
Archetype change since last debug: 0.662301
Archetype gradients: norm=0.058818, mean=0.003021
Epoch 1/1
Average loss: 0.7755
Archetypal loss: 0.8499
KLD loss: 0.1056
Reconstruction loss: 0.8499
Archetype R²: 0.0943
Archetype transform grad norm: 0.248436
Archetype transform param norm: 8.3896
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.7755 (range: 0.7755 - 0.7755)
archetypal_loss: 0.8499 (range: 0.8499 - 0.8499)
kld_loss: 0.1056 (range: 0.1056 - 0.1056)
reconstruction_loss: 0.8499 (range: 0.8499 - 0.8499)
archetype_r2: 0.0943 (range: 0.0943 - 0.0943)
Archetype Transform Summary:
archetype_transform_mean: -0.001803 (range: -0.001803 - -0.001803)
archetype_transform_std: 0.117475 (range: 0.117475 - 0.117475)
archetype_transform_norm: 8.389579 (range: 8.389579 - 8.389579)
archetype_transform_grad_norm: 0.248436 (range: 0.248436 - 0.248436)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0264, max=0.3984, mean=0.2000
Batch reconstruction MSE: 1.0532
Archetype stats: min=-12.4695, max=18.1906
Archetype change since last debug: 0.686999
Archetype gradients: norm=0.052892, mean=0.002486
Epoch 1/1
Average loss: 0.7765
Archetypal loss: 0.8507
KLD loss: 0.1092
Reconstruction loss: 0.8507
Archetype R²: 0.0934
Archetype transform grad norm: 0.258770
Archetype transform param norm: 8.3842
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.7765 (range: 0.7765 - 0.7765)
archetypal_loss: 0.8507 (range: 0.8507 - 0.8507)
kld_loss: 0.1092 (range: 0.1092 - 0.1092)
reconstruction_loss: 0.8507 (range: 0.8507 - 0.8507)
archetype_r2: 0.0934 (range: 0.0934 - 0.0934)
Archetype Transform Summary:
archetype_transform_mean: -0.001817 (range: -0.001817 - -0.001817)
archetype_transform_std: 0.117400 (range: 0.117400 - 0.117400)
archetype_transform_norm: 8.384206 (range: 8.384206 - 8.384206)
archetype_transform_grad_norm: 0.258770 (range: 0.258770 - 0.258770)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0366, max=0.4654, mean=0.2000
Batch reconstruction MSE: 1.0402
Archetype stats: min=-12.4368, max=18.0972
Archetype change since last debug: 0.856078
Archetype gradients: norm=0.058344, mean=0.002940
Epoch 1/1
Average loss: 0.7757
Archetypal loss: 0.8500
KLD loss: 0.1075
Reconstruction loss: 0.8500
Archetype R²: 0.0942
Archetype transform grad norm: 0.248848
Archetype transform param norm: 8.3835
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.7757 (range: 0.7757 - 0.7757)
archetypal_loss: 0.8500 (range: 0.8500 - 0.8500)
kld_loss: 0.1075 (range: 0.1075 - 0.1075)
reconstruction_loss: 0.8500 (range: 0.8500 - 0.8500)
archetype_r2: 0.0942 (range: 0.0942 - 0.0942)
Archetype Transform Summary:
archetype_transform_mean: -0.001872 (range: -0.001872 - -0.001872)
archetype_transform_std: 0.117389 (range: 0.117389 - 0.117389)
archetype_transform_norm: 8.383497 (range: 8.383497 - 8.383497)
archetype_transform_grad_norm: 0.248848 (range: 0.248848 - 0.248848)
Fold 3/3
Model input_dim: 50 (auto-detected from data)
Archetypes parameter registered: True
Archetypes requires_grad: True
Deep_AA (Deep Archetypal Analysis) initialized:
- Single-stage architecture (like Deep_2)
- Inflation factor: 1.5
- Direct archetypal coordinates (no bottleneck)
Consolidated Archetype Initialization
PCHA: True, Inflation: True (factor: 1.5)
Test inflation: False
Running PCHA initialization...
Input shape: (128, 50)
Target archetypes: 5
Running PCHA with 5 archetypes...
Data shape for PCHA: (50, 128)
PCHA Results:
Archetypes shape: (5, 50)
Archetype R²: 0.2141
SSE: 4491.1002
PCHA archetype R²: 0.2141
Archetype shape: (5, 50)
[OK] Initialized 5 archetypes using PCHA
Scalar Archetypal Inflation (factor: 1.50)
[OK] Inflation complete
[STATS] Positioning verification:
Data radius (max): 17.464
Data radius (mean): 6.150
Archetype distances: 3.655 to 24.275
Archetypes outside data: 2/5
Min archetype separation: 6.619
[OK] Archetype initialization complete (success: True)
[OK] Archetype initialization complete (PCHA: True, Inflation: 1.5)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0018, max=0.8591, mean=0.2000
Batch reconstruction MSE: 0.9905
Archetype stats: min=-1.8724, max=2.0159
Archetype gradients: norm=0.016530, mean=0.000761
Epoch 1/1
Average loss: 0.8951
Archetypal loss: 0.9827
KLD loss: 0.1066
Reconstruction loss: 0.9827
Archetype R²: -0.0098
Archetype transform grad norm: 0.216536
Archetype transform param norm: 5.8066
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.8951 (range: 0.8951 - 0.8951)
archetypal_loss: 0.9827 (range: 0.9827 - 0.9827)
kld_loss: 0.1066 (range: 0.1066 - 0.1066)
reconstruction_loss: 0.9827 (range: 0.9827 - 0.9827)
archetype_r2: -0.0098 (range: -0.0098 - -0.0098)
Archetype Transform Summary:
archetype_transform_mean: -0.000923 (range: -0.000923 - -0.000923)
archetype_transform_std: 0.081312 (range: 0.081312 - 0.081312)
archetype_transform_norm: 5.806618 (range: 5.806618 - 5.806618)
archetype_transform_grad_norm: 0.216536 (range: 0.216536 - 0.216536)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0028, max=0.9155, mean=0.2000
Batch reconstruction MSE: 0.8813
Archetype stats: min=-1.6318, max=1.5004
Archetype change since last debug: 6.084078
Archetype gradients: norm=0.005177, mean=0.000237
Epoch 1/1
Average loss: 0.8747
Archetypal loss: 0.9619
KLD loss: 0.0895
Reconstruction loss: 0.9619
Archetype R²: 0.0117
Archetype transform grad norm: 0.181817
Archetype transform param norm: 5.8535
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.8747 (range: 0.8747 - 0.8747)
archetypal_loss: 0.9619 (range: 0.9619 - 0.9619)
kld_loss: 0.0895 (range: 0.0895 - 0.0895)
reconstruction_loss: 0.9619 (range: 0.9619 - 0.9619)
archetype_r2: 0.0117 (range: 0.0117 - 0.0117)
Archetype Transform Summary:
archetype_transform_mean: -0.000767 (range: -0.000767 - -0.000767)
archetype_transform_std: 0.081970 (range: 0.081970 - 0.081970)
archetype_transform_norm: 5.853544 (range: 5.853544 - 5.853544)
archetype_transform_grad_norm: 0.181817 (range: 0.181817 - 0.181817)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0024, max=0.9213, mean=0.2000
Batch reconstruction MSE: 0.9393
Archetype stats: min=-2.5503, max=2.7533
Archetype change since last debug: 5.402703
Archetype gradients: norm=0.010426, mean=0.000423
Epoch 1/1
Average loss: 0.8661
Archetypal loss: 0.9504
KLD loss: 0.1076
Reconstruction loss: 0.9504
Archetype R²: 0.0232
Archetype transform grad norm: 0.202403
Archetype transform param norm: 5.9802
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.8661 (range: 0.8661 - 0.8661)
archetypal_loss: 0.9504 (range: 0.9504 - 0.9504)
kld_loss: 0.1076 (range: 0.1076 - 0.1076)
reconstruction_loss: 0.9504 (range: 0.9504 - 0.9504)
archetype_r2: 0.0232 (range: 0.0232 - 0.0232)
Archetype Transform Summary:
archetype_transform_mean: -0.000826 (range: -0.000826 - -0.000826)
archetype_transform_std: 0.083744 (range: 0.083744 - 0.083744)
archetype_transform_norm: 5.980206 (range: 5.980206 - 5.980206)
archetype_transform_grad_norm: 0.202403 (range: 0.202403 - 0.202403)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0018, max=0.9265, mean=0.2000
Batch reconstruction MSE: 0.9863
Archetype stats: min=-3.1060, max=4.8518
Archetype change since last debug: 5.432127
Archetype gradients: norm=0.014545, mean=0.000644
Epoch 1/1
Average loss: 0.8564
Archetypal loss: 0.9373
KLD loss: 0.1283
Reconstruction loss: 0.9373
Archetype R²: 0.0366
Archetype transform grad norm: 0.217764
Archetype transform param norm: 6.1722
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.8564 (range: 0.8564 - 0.8564)
archetypal_loss: 0.9373 (range: 0.9373 - 0.9373)
kld_loss: 0.1283 (range: 0.1283 - 0.1283)
reconstruction_loss: 0.9373 (range: 0.9373 - 0.9373)
archetype_r2: 0.0366 (range: 0.0366 - 0.0366)
Archetype Transform Summary:
archetype_transform_mean: -0.001026 (range: -0.001026 - -0.001026)
archetype_transform_std: 0.086431 (range: 0.086431 - 0.086431)
archetype_transform_norm: 6.172232 (range: 6.172232 - 6.172232)
archetype_transform_grad_norm: 0.217764 (range: 0.217764 - 0.217764)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0011, max=0.9316, mean=0.2000
Batch reconstruction MSE: 1.0415
Archetype stats: min=-3.9712, max=6.8786
Archetype change since last debug: 5.972647
Archetype gradients: norm=0.022049, mean=0.001049
Epoch 1/1
Average loss: 0.8474
Archetypal loss: 0.9259
KLD loss: 0.1409
Reconstruction loss: 0.9259
Archetype R²: 0.0481
Archetype transform grad norm: 0.227577
Archetype transform param norm: 6.3899
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.8474 (range: 0.8474 - 0.8474)
archetypal_loss: 0.9259 (range: 0.9259 - 0.9259)
kld_loss: 0.1409 (range: 0.1409 - 0.1409)
reconstruction_loss: 0.9259 (range: 0.9259 - 0.9259)
archetype_r2: 0.0481 (range: 0.0481 - 0.0481)
Archetype Transform Summary:
archetype_transform_mean: -0.001195 (range: -0.001195 - -0.001195)
archetype_transform_std: 0.089477 (range: 0.089477 - 0.089477)
archetype_transform_norm: 6.389915 (range: 6.389915 - 6.389915)
archetype_transform_grad_norm: 0.227577 (range: 0.227577 - 0.227577)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0011, max=0.9255, mean=0.2000
Batch reconstruction MSE: 1.0877
Archetype stats: min=-5.0522, max=8.6451
Archetype change since last debug: 5.581238
Archetype gradients: norm=0.030745, mean=0.001509
Epoch 1/1
Average loss: 0.8395
Archetypal loss: 0.9164
KLD loss: 0.1471
Reconstruction loss: 0.9164
Archetype R²: 0.0577
Archetype transform grad norm: 0.233877
Archetype transform param norm: 6.6166
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.8395 (range: 0.8395 - 0.8395)
archetypal_loss: 0.9164 (range: 0.9164 - 0.9164)
kld_loss: 0.1471 (range: 0.1471 - 0.1471)
reconstruction_loss: 0.9164 (range: 0.9164 - 0.9164)
archetype_r2: 0.0577 (range: 0.0577 - 0.0577)
Archetype Transform Summary:
archetype_transform_mean: -0.001351 (range: -0.001351 - -0.001351)
archetype_transform_std: 0.092650 (range: 0.092650 - 0.092650)
archetype_transform_norm: 6.616555 (range: 6.616555 - 6.616555)
archetype_transform_grad_norm: 0.233877 (range: 0.233877 - 0.233877)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0012, max=0.9519, mean=0.2000
Batch reconstruction MSE: 1.1256
Archetype stats: min=-5.9364, max=10.1321
Archetype change since last debug: 5.190681
Archetype gradients: norm=0.038715, mean=0.001972
Epoch 1/1
Average loss: 0.8325
Archetypal loss: 0.9079
KLD loss: 0.1544
Reconstruction loss: 0.9079
Archetype R²: 0.0663
Archetype transform grad norm: 0.239993
Archetype transform param norm: 6.8451
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.8325 (range: 0.8325 - 0.8325)
archetypal_loss: 0.9079 (range: 0.9079 - 0.9079)
kld_loss: 0.1544 (range: 0.1544 - 0.1544)
reconstruction_loss: 0.9079 (range: 0.9079 - 0.9079)
archetype_r2: 0.0663 (range: 0.0663 - 0.0663)
Archetype Transform Summary:
archetype_transform_mean: -0.001477 (range: -0.001477 - -0.001477)
archetype_transform_std: 0.095849 (range: 0.095849 - 0.095849)
archetype_transform_norm: 6.845114 (range: 6.845114 - 6.845114)
archetype_transform_grad_norm: 0.239993 (range: 0.239993 - 0.239993)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0017, max=0.9560, mean=0.2000
Batch reconstruction MSE: 1.1706
Archetype stats: min=-6.5847, max=11.3006
Archetype change since last debug: 4.883953
Archetype gradients: norm=0.055050, mean=0.002637
Epoch 1/1
Average loss: 0.8283
Archetypal loss: 0.9034
KLD loss: 0.1521
Reconstruction loss: 0.9034
Archetype R²: 0.0708
Archetype transform grad norm: 0.245854
Archetype transform param norm: 7.0263
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.8283 (range: 0.8283 - 0.8283)
archetypal_loss: 0.9034 (range: 0.9034 - 0.9034)
kld_loss: 0.1521 (range: 0.1521 - 0.1521)
reconstruction_loss: 0.9034 (range: 0.9034 - 0.9034)
archetype_r2: 0.0708 (range: 0.0708 - 0.0708)
Archetype Transform Summary:
archetype_transform_mean: -0.001589 (range: -0.001589 - -0.001589)
archetype_transform_std: 0.098385 (range: 0.098385 - 0.098385)
archetype_transform_norm: 7.026333 (range: 7.026333 - 7.026333)
archetype_transform_grad_norm: 0.245854 (range: 0.245854 - 0.245854)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0021, max=0.9411, mean=0.2000
Batch reconstruction MSE: 1.1918
Archetype stats: min=-7.0189, max=12.2135
Archetype change since last debug: 3.489257
Archetype gradients: norm=0.062995, mean=0.002928
Epoch 1/1
Average loss: 0.8258
Archetypal loss: 0.9012
KLD loss: 0.1475
Reconstruction loss: 0.9012
Archetype R²: 0.0730
Archetype transform grad norm: 0.249297
Archetype transform param norm: 7.1447
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.8258 (range: 0.8258 - 0.8258)
archetypal_loss: 0.9012 (range: 0.9012 - 0.9012)
kld_loss: 0.1475 (range: 0.1475 - 0.1475)
reconstruction_loss: 0.9012 (range: 0.9012 - 0.9012)
archetype_r2: 0.0730 (range: 0.0730 - 0.0730)
Archetype Transform Summary:
archetype_transform_mean: -0.001678 (range: -0.001678 - -0.001678)
archetype_transform_std: 0.100041 (range: 0.100041 - 0.100041)
archetype_transform_norm: 7.144696 (range: 7.144696 - 7.144696)
archetype_transform_grad_norm: 0.249297 (range: 0.249297 - 0.249297)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0027, max=0.9072, mean=0.2000
Batch reconstruction MSE: 1.1820
Archetype stats: min=-7.1610, max=12.6722
Archetype change since last debug: 2.545457
Archetype gradients: norm=0.063060, mean=0.002924
Epoch 1/1
Average loss: 0.8226
Archetypal loss: 0.8982
KLD loss: 0.1421
Reconstruction loss: 0.8982
Archetype R²: 0.0760
Archetype transform grad norm: 0.249992
Archetype transform param norm: 7.2338
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.8226 (range: 0.8226 - 0.8226)
archetypal_loss: 0.8982 (range: 0.8982 - 0.8982)
kld_loss: 0.1421 (range: 0.1421 - 0.1421)
reconstruction_loss: 0.8982 (range: 0.8982 - 0.8982)
archetype_r2: 0.0760 (range: 0.0760 - 0.0760)
Archetype Transform Summary:
archetype_transform_mean: -0.001747 (range: -0.001747 - -0.001747)
archetype_transform_std: 0.101289 (range: 0.101289 - 0.101289)
archetype_transform_norm: 7.233815 (range: 7.233815 - 7.233815)
archetype_transform_grad_norm: 0.249992 (range: 0.249992 - 0.249992)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0034, max=0.8827, mean=0.2000
Batch reconstruction MSE: 1.1644
Archetype stats: min=-7.4170, max=13.2631
Archetype change since last debug: 2.350052
Archetype gradients: norm=0.061864, mean=0.002855
Epoch 1/1
Average loss: 0.8206
Archetypal loss: 0.8965
KLD loss: 0.1376
Reconstruction loss: 0.8965
Archetype R²: 0.0778
Archetype transform grad norm: 0.252002
Archetype transform param norm: 7.3130
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.8206 (range: 0.8206 - 0.8206)
archetypal_loss: 0.8965 (range: 0.8965 - 0.8965)
kld_loss: 0.1376 (range: 0.1376 - 0.1376)
reconstruction_loss: 0.8965 (range: 0.8965 - 0.8965)
archetype_r2: 0.0778 (range: 0.0778 - 0.0778)
Archetype Transform Summary:
archetype_transform_mean: -0.001793 (range: -0.001793 - -0.001793)
archetype_transform_std: 0.102396 (range: 0.102396 - 0.102396)
archetype_transform_norm: 7.312964 (range: 7.312964 - 7.312964)
archetype_transform_grad_norm: 0.252002 (range: 0.252002 - 0.252002)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0038, max=0.8458, mean=0.2000
Batch reconstruction MSE: 1.1426
Archetype stats: min=-7.6818, max=13.7104
Archetype change since last debug: 2.061831
Archetype gradients: norm=0.058886, mean=0.002721
Epoch 1/1
Average loss: 0.8183
Archetypal loss: 0.8944
KLD loss: 0.1339
Reconstruction loss: 0.8944
Archetype R²: 0.0800
Archetype transform grad norm: 0.252883
Archetype transform param norm: 7.3852
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.8183 (range: 0.8183 - 0.8183)
archetypal_loss: 0.8944 (range: 0.8944 - 0.8944)
kld_loss: 0.1339 (range: 0.1339 - 0.1339)
reconstruction_loss: 0.8944 (range: 0.8944 - 0.8944)
archetype_r2: 0.0800 (range: 0.0800 - 0.0800)
Archetype Transform Summary:
archetype_transform_mean: -0.001835 (range: -0.001835 - -0.001835)
archetype_transform_std: 0.103407 (range: 0.103407 - 0.103407)
archetype_transform_norm: 7.385180 (range: 7.385180 - 7.385180)
archetype_transform_grad_norm: 0.252883 (range: 0.252883 - 0.252883)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0047, max=0.7861, mean=0.2000
Batch reconstruction MSE: 1.1185
Archetype stats: min=-8.0525, max=14.2101
Archetype change since last debug: 1.983086
Archetype gradients: norm=0.053496, mean=0.002493
Epoch 1/1
Average loss: 0.8168
Archetypal loss: 0.8930
KLD loss: 0.1310
Reconstruction loss: 0.8930
Archetype R²: 0.0815
Archetype transform grad norm: 0.253854
Archetype transform param norm: 7.4526
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.8168 (range: 0.8168 - 0.8168)
archetypal_loss: 0.8930 (range: 0.8930 - 0.8930)
kld_loss: 0.1310 (range: 0.1310 - 0.1310)
reconstruction_loss: 0.8930 (range: 0.8930 - 0.8930)
archetype_r2: 0.0815 (range: 0.0815 - 0.0815)
Archetype Transform Summary:
archetype_transform_mean: -0.001864 (range: -0.001864 - -0.001864)
archetype_transform_std: 0.104351 (range: 0.104351 - 0.104351)
archetype_transform_norm: 7.452631 (range: 7.452631 - 7.452631)
archetype_transform_grad_norm: 0.253854 (range: 0.253854 - 0.253854)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0056, max=0.7828, mean=0.2000
Batch reconstruction MSE: 1.0987
Archetype stats: min=-8.2532, max=14.5830
Archetype change since last debug: 1.767190
Archetype gradients: norm=0.051547, mean=0.002454
Epoch 1/1
Average loss: 0.8152
Archetypal loss: 0.8916
KLD loss: 0.1282
Reconstruction loss: 0.8916
Archetype R²: 0.0829
Archetype transform grad norm: 0.256546
Archetype transform param norm: 7.5146
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.8152 (range: 0.8152 - 0.8152)
archetypal_loss: 0.8916 (range: 0.8916 - 0.8916)
kld_loss: 0.1282 (range: 0.1282 - 0.1282)
reconstruction_loss: 0.8916 (range: 0.8916 - 0.8916)
archetype_r2: 0.0829 (range: 0.0829 - 0.0829)
Archetype Transform Summary:
archetype_transform_mean: -0.001902 (range: -0.001902 - -0.001902)
archetype_transform_std: 0.105218 (range: 0.105218 - 0.105218)
archetype_transform_norm: 7.514591 (range: 7.514591 - 7.514591)
archetype_transform_grad_norm: 0.256546 (range: 0.256546 - 0.256546)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0080, max=0.6274, mean=0.2000
Batch reconstruction MSE: 1.0877
Archetype stats: min=-8.6432, max=14.9915
Archetype change since last debug: 1.770521
Archetype gradients: norm=0.043485, mean=0.002095
Epoch 1/1
Average loss: 0.8142
Archetypal loss: 0.8905
KLD loss: 0.1272
Reconstruction loss: 0.8905
Archetype R²: 0.0840
Archetype transform grad norm: 0.256657
Archetype transform param norm: 7.5707
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.8142 (range: 0.8142 - 0.8142)
archetypal_loss: 0.8905 (range: 0.8905 - 0.8905)
kld_loss: 0.1272 (range: 0.1272 - 0.1272)
reconstruction_loss: 0.8905 (range: 0.8905 - 0.8905)
archetype_r2: 0.0840 (range: 0.0840 - 0.0840)
Archetype Transform Summary:
archetype_transform_mean: -0.001940 (range: -0.001940 - -0.001940)
archetype_transform_std: 0.106004 (range: 0.106004 - 0.106004)
archetype_transform_norm: 7.570733 (range: 7.570733 - 7.570733)
archetype_transform_grad_norm: 0.256657 (range: 0.256657 - 0.256657)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0089, max=0.8133, mean=0.2000
Batch reconstruction MSE: 1.0645
Archetype stats: min=-8.7644, max=15.2890
Archetype change since last debug: 1.566507
Archetype gradients: norm=0.046749, mean=0.002271
Epoch 1/1
Average loss: 0.8128
Archetypal loss: 0.8893
KLD loss: 0.1243
Reconstruction loss: 0.8893
Archetype R²: 0.0852
Archetype transform grad norm: 0.259602
Archetype transform param norm: 7.6254
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.8128 (range: 0.8128 - 0.8128)
archetypal_loss: 0.8893 (range: 0.8893 - 0.8893)
kld_loss: 0.1243 (range: 0.1243 - 0.1243)
reconstruction_loss: 0.8893 (range: 0.8893 - 0.8893)
archetype_r2: 0.0852 (range: 0.0852 - 0.0852)
Archetype Transform Summary:
archetype_transform_mean: -0.001969 (range: -0.001969 - -0.001969)
archetype_transform_std: 0.106769 (range: 0.106769 - 0.106769)
archetype_transform_norm: 7.625376 (range: 7.625376 - 7.625376)
archetype_transform_grad_norm: 0.259602 (range: 0.259602 - 0.259602)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0121, max=0.6130, mean=0.2000
Batch reconstruction MSE: 1.0439
Archetype stats: min=-9.2372, max=15.6414
Archetype change since last debug: 1.682211
Archetype gradients: norm=0.035290, mean=0.001721
Epoch 1/1
Average loss: 0.8117
Archetypal loss: 0.8883
KLD loss: 0.1225
Reconstruction loss: 0.8883
Archetype R²: 0.0863
Archetype transform grad norm: 0.263780
Archetype transform param norm: 7.6801
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.8117 (range: 0.8117 - 0.8117)
archetypal_loss: 0.8883 (range: 0.8883 - 0.8883)
kld_loss: 0.1225 (range: 0.1225 - 0.1225)
reconstruction_loss: 0.8883 (range: 0.8883 - 0.8883)
archetype_r2: 0.0863 (range: 0.0863 - 0.0863)
Archetype Transform Summary:
archetype_transform_mean: -0.002001 (range: -0.002001 - -0.002001)
archetype_transform_std: 0.107535 (range: 0.107535 - 0.107535)
archetype_transform_norm: 7.680134 (range: 7.680134 - 7.680134)
archetype_transform_grad_norm: 0.263780 (range: 0.263780 - 0.263780)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0124, max=0.8237, mean=0.2000
Batch reconstruction MSE: 1.0380
Archetype stats: min=-9.2638, max=15.9664
Archetype change since last debug: 1.533922
Archetype gradients: norm=0.047012, mean=0.002251
Epoch 1/1
Average loss: 0.8112
Archetypal loss: 0.8878
KLD loss: 0.1219
Reconstruction loss: 0.8878
Archetype R²: 0.0867
Archetype transform grad norm: 0.265804
Archetype transform param norm: 7.7267
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.8112 (range: 0.8112 - 0.8112)
archetypal_loss: 0.8878 (range: 0.8878 - 0.8878)
kld_loss: 0.1219 (range: 0.1219 - 0.1219)
reconstruction_loss: 0.8878 (range: 0.8878 - 0.8878)
archetype_r2: 0.0867 (range: 0.0867 - 0.0867)
Archetype Transform Summary:
archetype_transform_mean: -0.002013 (range: -0.002013 - -0.002013)
archetype_transform_std: 0.108188 (range: 0.108188 - 0.108188)
archetype_transform_norm: 7.726739 (range: 7.726739 - 7.726739)
archetype_transform_grad_norm: 0.265804 (range: 0.265804 - 0.265804)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0163, max=0.6647, mean=0.2000
Batch reconstruction MSE: 1.0397
Archetype stats: min=-9.7235, max=16.2321
Archetype change since last debug: 1.516995
Archetype gradients: norm=0.037551, mean=0.001725
Epoch 1/1
Average loss: 0.8116
Archetypal loss: 0.8882
KLD loss: 0.1220
Reconstruction loss: 0.8882
Archetype R²: 0.0864
Archetype transform grad norm: 0.277602
Archetype transform param norm: 7.7630
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.8116 (range: 0.8116 - 0.8116)
archetypal_loss: 0.8882 (range: 0.8882 - 0.8882)
kld_loss: 0.1220 (range: 0.1220 - 0.1220)
reconstruction_loss: 0.8882 (range: 0.8882 - 0.8882)
archetype_r2: 0.0864 (range: 0.0864 - 0.0864)
Archetype Transform Summary:
archetype_transform_mean: -0.002042 (range: -0.002042 - -0.002042)
archetype_transform_std: 0.108695 (range: 0.108695 - 0.108695)
archetype_transform_norm: 7.762982 (range: 7.762982 - 7.762982)
archetype_transform_grad_norm: 0.277602 (range: 0.277602 - 0.277602)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0134, max=0.7711, mean=0.2000
Batch reconstruction MSE: 1.0463
Archetype stats: min=-9.4997, max=16.3541
Archetype change since last debug: 1.297083
Archetype gradients: norm=0.041210, mean=0.002135
Epoch 1/1
Average loss: 0.8108
Archetypal loss: 0.8874
KLD loss: 0.1214
Reconstruction loss: 0.8874
Archetype R²: 0.0871
Archetype transform grad norm: 0.277838
Archetype transform param norm: 7.7922
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.8108 (range: 0.8108 - 0.8108)
archetypal_loss: 0.8874 (range: 0.8874 - 0.8874)
kld_loss: 0.1214 (range: 0.1214 - 0.1214)
reconstruction_loss: 0.8874 (range: 0.8874 - 0.8874)
archetype_r2: 0.0871 (range: 0.0871 - 0.0871)
Archetype Transform Summary:
archetype_transform_mean: -0.002055 (range: -0.002055 - -0.002055)
archetype_transform_std: 0.109104 (range: 0.109104 - 0.109104)
archetype_transform_norm: 7.792211 (range: 7.792211 - 7.792211)
archetype_transform_grad_norm: 0.277838 (range: 0.277838 - 0.277838)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0159, max=0.7594, mean=0.2000
Batch reconstruction MSE: 1.0221
Archetype stats: min=-9.7746, max=16.2428
Archetype change since last debug: 1.244974
Archetype gradients: norm=0.048557, mean=0.001962
Epoch 1/1
Average loss: 0.8097
Archetypal loss: 0.8863
KLD loss: 0.1203
Reconstruction loss: 0.8863
Archetype R²: 0.0882
Archetype transform grad norm: 0.274933
Archetype transform param norm: 7.8248
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.8097 (range: 0.8097 - 0.8097)
archetypal_loss: 0.8863 (range: 0.8863 - 0.8863)
kld_loss: 0.1203 (range: 0.1203 - 0.1203)
reconstruction_loss: 0.8863 (range: 0.8863 - 0.8863)
archetype_r2: 0.0882 (range: 0.0882 - 0.0882)
Archetype Transform Summary:
archetype_transform_mean: -0.002065 (range: -0.002065 - -0.002065)
archetype_transform_std: 0.109560 (range: 0.109560 - 0.109560)
archetype_transform_norm: 7.824756 (range: 7.824756 - 7.824756)
archetype_transform_grad_norm: 0.274933 (range: 0.274933 - 0.274933)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0178, max=0.6847, mean=0.2000
Batch reconstruction MSE: 1.0095
Archetype stats: min=-9.7298, max=16.5118
Archetype change since last debug: 1.176284
Archetype gradients: norm=0.030600, mean=0.001476
Epoch 1/1
Average loss: 0.8088
Archetypal loss: 0.8856
KLD loss: 0.1177
Reconstruction loss: 0.8856
Archetype R²: 0.0890
Archetype transform grad norm: 0.273214
Archetype transform param norm: 7.8617
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.8088 (range: 0.8088 - 0.8088)
archetypal_loss: 0.8856 (range: 0.8856 - 0.8856)
kld_loss: 0.1177 (range: 0.1177 - 0.1177)
reconstruction_loss: 0.8856 (range: 0.8856 - 0.8856)
archetype_r2: 0.0890 (range: 0.0890 - 0.0890)
Archetype Transform Summary:
archetype_transform_mean: -0.002080 (range: -0.002080 - -0.002080)
archetype_transform_std: 0.110077 (range: 0.110077 - 0.110077)
archetype_transform_norm: 7.861687 (range: 7.861687 - 7.861687)
archetype_transform_grad_norm: 0.273214 (range: 0.273214 - 0.273214)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0186, max=0.8058, mean=0.2000
Batch reconstruction MSE: 1.0048
Archetype stats: min=-10.0326, max=16.4538
Archetype change since last debug: 1.266384
Archetype gradients: norm=0.058487, mean=0.002412
Epoch 1/1
Average loss: 0.8090
Archetypal loss: 0.8856
KLD loss: 0.1192
Reconstruction loss: 0.8856
Archetype R²: 0.0889
Archetype transform grad norm: 0.282109
Archetype transform param norm: 7.8863
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.8090 (range: 0.8090 - 0.8090)
archetypal_loss: 0.8856 (range: 0.8856 - 0.8856)
kld_loss: 0.1192 (range: 0.1192 - 0.1192)
reconstruction_loss: 0.8856 (range: 0.8856 - 0.8856)
archetype_r2: 0.0889 (range: 0.0889 - 0.0889)
Archetype Transform Summary:
archetype_transform_mean: -0.002062 (range: -0.002062 - -0.002062)
archetype_transform_std: 0.110421 (range: 0.110421 - 0.110421)
archetype_transform_norm: 7.886262 (range: 7.886262 - 7.886262)
archetype_transform_grad_norm: 0.282109 (range: 0.282109 - 0.282109)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0199, max=0.6731, mean=0.2000
Batch reconstruction MSE: 1.0040
Archetype stats: min=-10.0259, max=16.7018
Archetype change since last debug: 1.049515
Archetype gradients: norm=0.030315, mean=0.001325
Epoch 1/1
Average loss: 0.8080
Archetypal loss: 0.8849
KLD loss: 0.1157
Reconstruction loss: 0.8849
Archetype R²: 0.0896
Archetype transform grad norm: 0.281269
Archetype transform param norm: 7.9174
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.8080 (range: 0.8080 - 0.8080)
archetypal_loss: 0.8849 (range: 0.8849 - 0.8849)
kld_loss: 0.1157 (range: 0.1157 - 0.1157)
reconstruction_loss: 0.8849 (range: 0.8849 - 0.8849)
archetype_r2: 0.0896 (range: 0.0896 - 0.0896)
Archetype Transform Summary:
archetype_transform_mean: -0.002082 (range: -0.002082 - -0.002082)
archetype_transform_std: 0.110857 (range: 0.110857 - 0.110857)
archetype_transform_norm: 7.917428 (range: 7.917428 - 7.917428)
archetype_transform_grad_norm: 0.281269 (range: 0.281269 - 0.281269)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0189, max=0.7095, mean=0.2000
Batch reconstruction MSE: 0.9870
Archetype stats: min=-10.2794, max=16.5624
Archetype change since last debug: 1.202743
Archetype gradients: norm=0.052720, mean=0.002268
Epoch 1/1
Average loss: 0.8082
Archetypal loss: 0.8849
KLD loss: 0.1181
Reconstruction loss: 0.8849
Archetype R²: 0.0896
Archetype transform grad norm: 0.291571
Archetype transform param norm: 7.9404
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.8082 (range: 0.8082 - 0.8082)
archetypal_loss: 0.8849 (range: 0.8849 - 0.8849)
kld_loss: 0.1181 (range: 0.1181 - 0.1181)
reconstruction_loss: 0.8849 (range: 0.8849 - 0.8849)
archetype_r2: 0.0896 (range: 0.0896 - 0.0896)
Archetype Transform Summary:
archetype_transform_mean: -0.002075 (range: -0.002075 - -0.002075)
archetype_transform_std: 0.111180 (range: 0.111180 - 0.111180)
archetype_transform_norm: 7.940411 (range: 7.940411 - 7.940411)
archetype_transform_grad_norm: 0.291571 (range: 0.291571 - 0.291571)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0185, max=0.7741, mean=0.2000
Batch reconstruction MSE: 1.0066
Archetype stats: min=-10.2638, max=16.7112
Archetype change since last debug: 0.968076
Archetype gradients: norm=0.049252, mean=0.002439
Epoch 1/1
Average loss: 0.8079
Archetypal loss: 0.8848
KLD loss: 0.1160
Reconstruction loss: 0.8848
Archetype R²: 0.0897
Archetype transform grad norm: 0.283487
Archetype transform param norm: 7.9579
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.8079 (range: 0.8079 - 0.8079)
archetypal_loss: 0.8848 (range: 0.8848 - 0.8848)
kld_loss: 0.1160 (range: 0.1160 - 0.1160)
reconstruction_loss: 0.8848 (range: 0.8848 - 0.8848)
archetype_r2: 0.0897 (range: 0.0897 - 0.0897)
Archetype Transform Summary:
archetype_transform_mean: -0.002076 (range: -0.002076 - -0.002076)
archetype_transform_std: 0.111425 (range: 0.111425 - 0.111425)
archetype_transform_norm: 7.957925 (range: 7.957925 - 7.957925)
archetype_transform_grad_norm: 0.283487 (range: 0.283487 - 0.283487)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0211, max=0.6517, mean=0.2000
Batch reconstruction MSE: 1.0109
Archetype stats: min=-10.4594, max=16.6872
Archetype change since last debug: 1.018001
Archetype gradients: norm=0.053145, mean=0.002151
Epoch 1/1
Average loss: 0.8082
Archetypal loss: 0.8848
KLD loss: 0.1186
Reconstruction loss: 0.8848
Archetype R²: 0.0896
Archetype transform grad norm: 0.287520
Archetype transform param norm: 7.9714
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.8082 (range: 0.8082 - 0.8082)
archetypal_loss: 0.8848 (range: 0.8848 - 0.8848)
kld_loss: 0.1186 (range: 0.1186 - 0.1186)
reconstruction_loss: 0.8848 (range: 0.8848 - 0.8848)
archetype_r2: 0.0896 (range: 0.0896 - 0.0896)
Archetype Transform Summary:
archetype_transform_mean: -0.002068 (range: -0.002068 - -0.002068)
archetype_transform_std: 0.111614 (range: 0.111614 - 0.111614)
archetype_transform_norm: 7.971391 (range: 7.971391 - 7.971391)
archetype_transform_grad_norm: 0.287520 (range: 0.287520 - 0.287520)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0198, max=0.7815, mean=0.2000
Batch reconstruction MSE: 1.0160
Archetype stats: min=-10.3667, max=16.7079
Archetype change since last debug: 0.900093
Archetype gradients: norm=0.061067, mean=0.002749
Epoch 1/1
Average loss: 0.8076
Archetypal loss: 0.8846
KLD loss: 0.1153
Reconstruction loss: 0.8846
Archetype R²: 0.0898
Archetype transform grad norm: 0.281938
Archetype transform param norm: 7.9803
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.8076 (range: 0.8076 - 0.8076)
archetypal_loss: 0.8846 (range: 0.8846 - 0.8846)
kld_loss: 0.1153 (range: 0.1153 - 0.1153)
reconstruction_loss: 0.8846 (range: 0.8846 - 0.8846)
archetype_r2: 0.0898 (range: 0.0898 - 0.0898)
Archetype Transform Summary:
archetype_transform_mean: -0.002056 (range: -0.002056 - -0.002056)
archetype_transform_std: 0.111738 (range: 0.111738 - 0.111738)
archetype_transform_norm: 7.980273 (range: 7.980273 - 7.980273)
archetype_transform_grad_norm: 0.281938 (range: 0.281938 - 0.281938)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0221, max=0.6665, mean=0.2000
Batch reconstruction MSE: 0.9796
Archetype stats: min=-10.4812, max=16.7918
Archetype change since last debug: 0.882666
Archetype gradients: norm=0.037984, mean=0.001406
Epoch 1/1
Average loss: 0.8064
Archetypal loss: 0.8831
KLD loss: 0.1161
Reconstruction loss: 0.8831
Archetype R²: 0.0913
Archetype transform grad norm: 0.278644
Archetype transform param norm: 8.0020
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.8064 (range: 0.8064 - 0.8064)
archetypal_loss: 0.8831 (range: 0.8831 - 0.8831)
kld_loss: 0.1161 (range: 0.1161 - 0.1161)
reconstruction_loss: 0.8831 (range: 0.8831 - 0.8831)
archetype_r2: 0.0913 (range: 0.0913 - 0.0913)
Archetype Transform Summary:
archetype_transform_mean: -0.002048 (range: -0.002048 - -0.002048)
archetype_transform_std: 0.112043 (range: 0.112043 - 0.112043)
archetype_transform_norm: 8.002047 (range: 8.002047 - 8.002047)
archetype_transform_grad_norm: 0.278644 (range: 0.278644 - 0.278644)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0239, max=0.7127, mean=0.2000
Batch reconstruction MSE: 0.9716
Archetype stats: min=-10.5052, max=16.9214
Archetype change since last debug: 0.920303
Archetype gradients: norm=0.041810, mean=0.001752
Epoch 1/1
Average loss: 0.8060
Archetypal loss: 0.8829
KLD loss: 0.1140
Reconstruction loss: 0.8829
Archetype R²: 0.0917
Archetype transform grad norm: 0.268414
Archetype transform param norm: 8.0267
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.8060 (range: 0.8060 - 0.8060)
archetypal_loss: 0.8829 (range: 0.8829 - 0.8829)
kld_loss: 0.1140 (range: 0.1140 - 0.1140)
reconstruction_loss: 0.8829 (range: 0.8829 - 0.8829)
archetype_r2: 0.0917 (range: 0.0917 - 0.0917)
Archetype Transform Summary:
archetype_transform_mean: -0.002053 (range: -0.002053 - -0.002053)
archetype_transform_std: 0.112389 (range: 0.112389 - 0.112389)
archetype_transform_norm: 8.026726 (range: 8.026726 - 8.026726)
archetype_transform_grad_norm: 0.268414 (range: 0.268414 - 0.268414)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0205, max=0.6939, mean=0.2000
Batch reconstruction MSE: 0.9599
Archetype stats: min=-10.6797, max=16.9863
Archetype change since last debug: 0.913364
Archetype gradients: norm=0.028126, mean=0.001281
Epoch 1/1
Average loss: 0.8057
Archetypal loss: 0.8825
KLD loss: 0.1145
Reconstruction loss: 0.8825
Archetype R²: 0.0921
Archetype transform grad norm: 0.273400
Archetype transform param norm: 8.0515
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.8057 (range: 0.8057 - 0.8057)
archetypal_loss: 0.8825 (range: 0.8825 - 0.8825)
kld_loss: 0.1145 (range: 0.1145 - 0.1145)
reconstruction_loss: 0.8825 (range: 0.8825 - 0.8825)
archetype_r2: 0.0921 (range: 0.0921 - 0.0921)
Archetype Transform Summary:
archetype_transform_mean: -0.002067 (range: -0.002067 - -0.002067)
archetype_transform_std: 0.112736 (range: 0.112736 - 0.112736)
archetype_transform_norm: 8.051501 (range: 8.051501 - 8.051501)
archetype_transform_grad_norm: 0.273400 (range: 0.273400 - 0.273400)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0199, max=0.7504, mean=0.2000
Batch reconstruction MSE: 0.9840
Archetype stats: min=-10.7526, max=17.0861
Archetype change since last debug: 0.818856
Archetype gradients: norm=0.037693, mean=0.001658
Epoch 1/1
Average loss: 0.8055
Archetypal loss: 0.8825
KLD loss: 0.1131
Reconstruction loss: 0.8825
Archetype R²: 0.0920
Archetype transform grad norm: 0.263431
Archetype transform param norm: 8.0674
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.8055 (range: 0.8055 - 0.8055)
archetypal_loss: 0.8825 (range: 0.8825 - 0.8825)
kld_loss: 0.1131 (range: 0.1131 - 0.1131)
reconstruction_loss: 0.8825 (range: 0.8825 - 0.8825)
archetype_r2: 0.0920 (range: 0.0920 - 0.0920)
Archetype Transform Summary:
archetype_transform_mean: -0.002069 (range: -0.002069 - -0.002069)
archetype_transform_std: 0.112958 (range: 0.112958 - 0.112958)
archetype_transform_norm: 8.067375 (range: 8.067375 - 8.067375)
archetype_transform_grad_norm: 0.263431 (range: 0.263431 - 0.263431)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0242, max=0.6059, mean=0.2000
Batch reconstruction MSE: 0.9718
Archetype stats: min=-10.8470, max=17.3129
Archetype change since last debug: 0.799754
Archetype gradients: norm=0.027768, mean=0.001283
Epoch 1/1
Average loss: 0.8055
Archetypal loss: 0.8823
KLD loss: 0.1149
Reconstruction loss: 0.8823
Archetype R²: 0.0922
Archetype transform grad norm: 0.266837
Archetype transform param norm: 8.0875
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.8055 (range: 0.8055 - 0.8055)
archetypal_loss: 0.8823 (range: 0.8823 - 0.8823)
kld_loss: 0.1149 (range: 0.1149 - 0.1149)
reconstruction_loss: 0.8823 (range: 0.8823 - 0.8823)
archetype_r2: 0.0922 (range: 0.0922 - 0.0922)
Archetype Transform Summary:
archetype_transform_mean: -0.002077 (range: -0.002077 - -0.002077)
archetype_transform_std: 0.113239 (range: 0.113239 - 0.113239)
archetype_transform_norm: 8.087483 (range: 8.087483 - 8.087483)
archetype_transform_grad_norm: 0.266837 (range: 0.266837 - 0.266837)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0244, max=0.7692, mean=0.2000
Batch reconstruction MSE: 0.9775
Archetype stats: min=-10.9668, max=17.3740
Archetype change since last debug: 0.768672
Archetype gradients: norm=0.037279, mean=0.001647
Epoch 1/1
Average loss: 0.8048
Archetypal loss: 0.8819
KLD loss: 0.1112
Reconstruction loss: 0.8819
Archetype R²: 0.0925
Archetype transform grad norm: 0.264095
Archetype transform param norm: 8.1021
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.8048 (range: 0.8048 - 0.8048)
archetypal_loss: 0.8819 (range: 0.8819 - 0.8819)
kld_loss: 0.1112 (range: 0.1112 - 0.1112)
reconstruction_loss: 0.8819 (range: 0.8819 - 0.8819)
archetype_r2: 0.0925 (range: 0.0925 - 0.0925)
Archetype Transform Summary:
archetype_transform_mean: -0.002077 (range: -0.002077 - -0.002077)
archetype_transform_std: 0.113444 (range: 0.113444 - 0.113444)
archetype_transform_norm: 8.102112 (range: 8.102112 - 8.102112)
archetype_transform_grad_norm: 0.264095 (range: 0.264095 - 0.264095)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0228, max=0.7300, mean=0.2000
Batch reconstruction MSE: 0.9714
Archetype stats: min=-11.1762, max=17.5827
Archetype change since last debug: 0.808216
Archetype gradients: norm=0.028094, mean=0.001380
Epoch 1/1
Average loss: 0.8047
Archetypal loss: 0.8815
KLD loss: 0.1137
Reconstruction loss: 0.8815
Archetype R²: 0.0929
Archetype transform grad norm: 0.265174
Archetype transform param norm: 8.1193
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.8047 (range: 0.8047 - 0.8047)
archetypal_loss: 0.8815 (range: 0.8815 - 0.8815)
kld_loss: 0.1137 (range: 0.1137 - 0.1137)
reconstruction_loss: 0.8815 (range: 0.8815 - 0.8815)
archetype_r2: 0.0929 (range: 0.0929 - 0.0929)
Archetype Transform Summary:
archetype_transform_mean: -0.002067 (range: -0.002067 - -0.002067)
archetype_transform_std: 0.113685 (range: 0.113685 - 0.113685)
archetype_transform_norm: 8.119268 (range: 8.119268 - 8.119268)
archetype_transform_grad_norm: 0.265174 (range: 0.265174 - 0.265174)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0283, max=0.7673, mean=0.2000
Batch reconstruction MSE: 0.9534
Archetype stats: min=-11.3286, max=17.5714
Archetype change since last debug: 0.790513
Archetype gradients: norm=0.029346, mean=0.001421
Epoch 1/1
Average loss: 0.8036
Archetypal loss: 0.8807
KLD loss: 0.1095
Reconstruction loss: 0.8807
Archetype R²: 0.0938
Archetype transform grad norm: 0.263023
Archetype transform param norm: 8.1431
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.8036 (range: 0.8036 - 0.8036)
archetypal_loss: 0.8807 (range: 0.8807 - 0.8807)
kld_loss: 0.1095 (range: 0.1095 - 0.1095)
reconstruction_loss: 0.8807 (range: 0.8807 - 0.8807)
archetype_r2: 0.0938 (range: 0.0938 - 0.0938)
Archetype Transform Summary:
archetype_transform_mean: -0.002078 (range: -0.002078 - -0.002078)
archetype_transform_std: 0.114019 (range: 0.114019 - 0.114019)
archetype_transform_norm: 8.143112 (range: 8.143112 - 8.143112)
archetype_transform_grad_norm: 0.263023 (range: 0.263023 - 0.263023)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0257, max=0.6022, mean=0.2000
Batch reconstruction MSE: 0.9596
Archetype stats: min=-11.5029, max=17.7867
Archetype change since last debug: 0.890710
Archetype gradients: norm=0.025431, mean=0.001307
Epoch 1/1
Average loss: 0.8039
Archetypal loss: 0.8808
KLD loss: 0.1117
Reconstruction loss: 0.8808
Archetype R²: 0.0936
Archetype transform grad norm: 0.266165
Archetype transform param norm: 8.1679
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.8039 (range: 0.8039 - 0.8039)
archetypal_loss: 0.8808 (range: 0.8808 - 0.8808)
kld_loss: 0.1117 (range: 0.1117 - 0.1117)
reconstruction_loss: 0.8808 (range: 0.8808 - 0.8808)
archetype_r2: 0.0936 (range: 0.0936 - 0.0936)
Archetype Transform Summary:
archetype_transform_mean: -0.002093 (range: -0.002093 - -0.002093)
archetype_transform_std: 0.114365 (range: 0.114365 - 0.114365)
archetype_transform_norm: 8.167852 (range: 8.167852 - 8.167852)
archetype_transform_grad_norm: 0.266165 (range: 0.266165 - 0.266165)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0235, max=0.7707, mean=0.2000
Batch reconstruction MSE: 0.9653
Archetype stats: min=-11.6490, max=17.7896
Archetype change since last debug: 0.827008
Archetype gradients: norm=0.028187, mean=0.001398
Epoch 1/1
Average loss: 0.8037
Archetypal loss: 0.8808
KLD loss: 0.1093
Reconstruction loss: 0.8808
Archetype R²: 0.0935
Archetype transform grad norm: 0.269629
Archetype transform param norm: 8.1853
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.8037 (range: 0.8037 - 0.8037)
archetypal_loss: 0.8808 (range: 0.8808 - 0.8808)
kld_loss: 0.1093 (range: 0.1093 - 0.1093)
reconstruction_loss: 0.8808 (range: 0.8808 - 0.8808)
archetype_r2: 0.0935 (range: 0.0935 - 0.0935)
Archetype Transform Summary:
archetype_transform_mean: -0.002112 (range: -0.002112 - -0.002112)
archetype_transform_std: 0.114609 (range: 0.114609 - 0.114609)
archetype_transform_norm: 8.185283 (range: 8.185283 - 8.185283)
archetype_transform_grad_norm: 0.269629 (range: 0.269629 - 0.269629)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0278, max=0.6035, mean=0.2000
Batch reconstruction MSE: 0.9763
Archetype stats: min=-11.7951, max=18.0200
Archetype change since last debug: 0.749203
Archetype gradients: norm=0.030805, mean=0.001573
Epoch 1/1
Average loss: 0.8042
Archetypal loss: 0.8813
KLD loss: 0.1106
Reconstruction loss: 0.8813
Archetype R²: 0.0930
Archetype transform grad norm: 0.272814
Archetype transform param norm: 8.1997
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.8042 (range: 0.8042 - 0.8042)
archetypal_loss: 0.8813 (range: 0.8813 - 0.8813)
kld_loss: 0.1106 (range: 0.1106 - 0.1106)
reconstruction_loss: 0.8813 (range: 0.8813 - 0.8813)
archetype_r2: 0.0930 (range: 0.0930 - 0.0930)
Archetype Transform Summary:
archetype_transform_mean: -0.002120 (range: -0.002120 - -0.002120)
archetype_transform_std: 0.114810 (range: 0.114810 - 0.114810)
archetype_transform_norm: 8.199672 (range: 8.199672 - 8.199672)
archetype_transform_grad_norm: 0.272814 (range: 0.272814 - 0.272814)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0208, max=0.8386, mean=0.2000
Batch reconstruction MSE: 1.0152
Archetype stats: min=-11.9289, max=17.8011
Archetype change since last debug: 0.801158
Archetype gradients: norm=0.045899, mean=0.002103
Epoch 1/1
Average loss: 0.8054
Archetypal loss: 0.8823
KLD loss: 0.1130
Reconstruction loss: 0.8823
Archetype R²: 0.0918
Archetype transform grad norm: 0.286331
Archetype transform param norm: 8.1944
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.8054 (range: 0.8054 - 0.8054)
archetypal_loss: 0.8823 (range: 0.8823 - 0.8823)
kld_loss: 0.1130 (range: 0.1130 - 0.1130)
reconstruction_loss: 0.8823 (range: 0.8823 - 0.8823)
archetype_r2: 0.0918 (range: 0.0918 - 0.0918)
Archetype Transform Summary:
archetype_transform_mean: -0.002111 (range: -0.002111 - -0.002111)
archetype_transform_std: 0.114737 (range: 0.114737 - 0.114737)
archetype_transform_norm: 8.194443 (range: 8.194443 - 8.194443)
archetype_transform_grad_norm: 0.286331 (range: 0.286331 - 0.286331)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0334, max=0.6474, mean=0.2000
Batch reconstruction MSE: 1.0300
Archetype stats: min=-12.0311, max=17.9012
Archetype change since last debug: 0.912107
Archetype gradients: norm=0.060726, mean=0.002992
Epoch 1/1
Average loss: 0.8055
Archetypal loss: 0.8826
KLD loss: 0.1110
Reconstruction loss: 0.8826
Archetype R²: 0.0914
Archetype transform grad norm: 0.299356
Archetype transform param norm: 8.1852
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.8055 (range: 0.8055 - 0.8055)
archetypal_loss: 0.8826 (range: 0.8826 - 0.8826)
kld_loss: 0.1110 (range: 0.1110 - 0.1110)
reconstruction_loss: 0.8826 (range: 0.8826 - 0.8826)
archetype_r2: 0.0914 (range: 0.0914 - 0.0914)
Archetype Transform Summary:
archetype_transform_mean: -0.002108 (range: -0.002108 - -0.002108)
archetype_transform_std: 0.114607 (range: 0.114607 - 0.114607)
archetype_transform_norm: 8.185194 (range: 8.185194 - 8.185194)
archetype_transform_grad_norm: 0.299356 (range: 0.299356 - 0.299356)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0255, max=0.7588, mean=0.2000
Batch reconstruction MSE: 0.9884
Archetype stats: min=-12.0928, max=17.4387
Archetype change since last debug: 0.924629
Archetype gradients: norm=0.070924, mean=0.002596
Epoch 1/1
Average loss: 0.8049
Archetypal loss: 0.8818
KLD loss: 0.1122
Reconstruction loss: 0.8818
Archetype R²: 0.0923
Archetype transform grad norm: 0.298615
Archetype transform param norm: 8.1815
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.8049 (range: 0.8049 - 0.8049)
archetypal_loss: 0.8818 (range: 0.8818 - 0.8818)
kld_loss: 0.1122 (range: 0.1122 - 0.1122)
reconstruction_loss: 0.8818 (range: 0.8818 - 0.8818)
archetype_r2: 0.0923 (range: 0.0923 - 0.0923)
Archetype Transform Summary:
archetype_transform_mean: -0.002074 (range: -0.002074 - -0.002074)
archetype_transform_std: 0.114557 (range: 0.114557 - 0.114557)
archetype_transform_norm: 8.181526 (range: 8.181526 - 8.181526)
archetype_transform_grad_norm: 0.298615 (range: 0.298615 - 0.298615)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0332, max=0.6597, mean=0.2000
Batch reconstruction MSE: 1.0168
Archetype stats: min=-12.1806, max=17.4360
Archetype change since last debug: 0.859461
Archetype gradients: norm=0.071445, mean=0.003444
Epoch 1/1
Average loss: 0.8053
Archetypal loss: 0.8824
KLD loss: 0.1120
Reconstruction loss: 0.8824
Archetype R²: 0.0917
Archetype transform grad norm: 0.288829
Archetype transform param norm: 8.1713
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.8053 (range: 0.8053 - 0.8053)
archetypal_loss: 0.8824 (range: 0.8824 - 0.8824)
kld_loss: 0.1120 (range: 0.1120 - 0.1120)
reconstruction_loss: 0.8824 (range: 0.8824 - 0.8824)
archetype_r2: 0.0917 (range: 0.0917 - 0.0917)
Archetype Transform Summary:
archetype_transform_mean: -0.002062 (range: -0.002062 - -0.002062)
archetype_transform_std: 0.114413 (range: 0.114413 - 0.114413)
archetype_transform_norm: 8.171276 (range: 8.171276 - 8.171276)
archetype_transform_grad_norm: 0.288829 (range: 0.288829 - 0.288829)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0219, max=0.7133, mean=0.2000
Batch reconstruction MSE: 0.9812
Archetype stats: min=-12.1727, max=17.3663
Archetype change since last debug: 0.738123
Archetype gradients: norm=0.040479, mean=0.001691
Epoch 1/1
Average loss: 0.8039
Archetypal loss: 0.8809
KLD loss: 0.1109
Reconstruction loss: 0.8809
Archetype R²: 0.0932
Archetype transform grad norm: 0.283772
Archetype transform param norm: 8.1785
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.8039 (range: 0.8039 - 0.8039)
archetypal_loss: 0.8809 (range: 0.8809 - 0.8809)
kld_loss: 0.1109 (range: 0.1109 - 0.1109)
reconstruction_loss: 0.8809 (range: 0.8809 - 0.8809)
archetype_r2: 0.0932 (range: 0.0932 - 0.0932)
Archetype Transform Summary:
archetype_transform_mean: -0.002048 (range: -0.002048 - -0.002048)
archetype_transform_std: 0.114514 (range: 0.114514 - 0.114514)
archetype_transform_norm: 8.178476 (range: 8.178476 - 8.178476)
archetype_transform_grad_norm: 0.283772 (range: 0.283772 - 0.283772)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0253, max=0.7897, mean=0.2000
Batch reconstruction MSE: 0.9830
Archetype stats: min=-12.2906, max=17.4152
Archetype change since last debug: 0.603276
Archetype gradients: norm=0.060618, mean=0.002446
Epoch 1/1
Average loss: 0.8036
Archetypal loss: 0.8806
KLD loss: 0.1106
Reconstruction loss: 0.8806
Archetype R²: 0.0935
Archetype transform grad norm: 0.273953
Archetype transform param norm: 8.1854
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.8036 (range: 0.8036 - 0.8036)
archetypal_loss: 0.8806 (range: 0.8806 - 0.8806)
kld_loss: 0.1106 (range: 0.1106 - 0.1106)
reconstruction_loss: 0.8806 (range: 0.8806 - 0.8806)
archetype_r2: 0.0935 (range: 0.0935 - 0.0935)
Archetype Transform Summary:
archetype_transform_mean: -0.002048 (range: -0.002048 - -0.002048)
archetype_transform_std: 0.114611 (range: 0.114611 - 0.114611)
archetype_transform_norm: 8.185400 (range: 8.185400 - 8.185400)
archetype_transform_grad_norm: 0.273953 (range: 0.273953 - 0.273953)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0326, max=0.7469, mean=0.2000
Batch reconstruction MSE: 0.9529
Archetype stats: min=-12.4678, max=17.5049
Archetype change since last debug: 0.742650
Archetype gradients: norm=0.029136, mean=0.001175
Epoch 1/1
Average loss: 0.8025
Archetypal loss: 0.8796
KLD loss: 0.1092
Reconstruction loss: 0.8796
Archetype R²: 0.0946
Archetype transform grad norm: 0.266883
Archetype transform param norm: 8.2054
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.8025 (range: 0.8025 - 0.8025)
archetypal_loss: 0.8796 (range: 0.8796 - 0.8796)
kld_loss: 0.1092 (range: 0.1092 - 0.1092)
reconstruction_loss: 0.8796 (range: 0.8796 - 0.8796)
archetype_r2: 0.0946 (range: 0.0946 - 0.0946)
Archetype Transform Summary:
archetype_transform_mean: -0.002043 (range: -0.002043 - -0.002043)
archetype_transform_std: 0.114892 (range: 0.114892 - 0.114892)
archetype_transform_norm: 8.205430 (range: 8.205430 - 8.205430)
archetype_transform_grad_norm: 0.266883 (range: 0.266883 - 0.266883)
[OK] Completed in 39.8s
[STATS] Mean archetype R²: 0.0919
[STATS] Mean validation R²: 0.0919
đź§Ş Configuration 12/20: {'n_archetypes': 5, 'hidden_dims': [512, 256, 128], 'inflation_factor': 1.5, 'use_pcha_init': True, 'use_inflation': True}
Fold 1/3
Model input_dim: 50 (auto-detected from data)
Archetypes parameter registered: True
Archetypes requires_grad: True
Deep_AA (Deep Archetypal Analysis) initialized:
- Single-stage architecture (like Deep_2)
- Inflation factor: 1.5
- Direct archetypal coordinates (no bottleneck)
Consolidated Archetype Initialization
PCHA: True, Inflation: True (factor: 1.5)
Test inflation: False
Running PCHA initialization...
Input shape: (128, 50)
Target archetypes: 5
Running PCHA with 5 archetypes...
Data shape for PCHA: (50, 128)
PCHA Results:
Archetypes shape: (5, 50)
Archetype R²: 0.2392
SSE: 4520.9859
PCHA archetype R²: 0.2392
Archetype shape: (5, 50)
[OK] Initialized 5 archetypes using PCHA
Scalar Archetypal Inflation (factor: 1.50)
[OK] Inflation complete
[STATS] Positioning verification:
Data radius (max): 17.006
Data radius (mean): 6.155
Archetype distances: 3.814 to 21.714
Archetypes outside data: 2/5
Min archetype separation: 5.571
[OK] Archetype initialization complete (success: True)
[OK] Archetype initialization complete (PCHA: True, Inflation: 1.5)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0016, max=0.9306, mean=0.2000
Batch reconstruction MSE: 1.2188
Archetype stats: min=-1.8419, max=1.7539
Archetype gradients: norm=0.020112, mean=0.000959
Epoch 1/1
Average loss: 0.8751
Archetypal loss: 0.9684
KLD loss: 0.0356
Reconstruction loss: 0.9684
Archetype R²: -0.0166
Archetype transform grad norm: 0.210440
Archetype transform param norm: 5.8086
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.8751 (range: 0.8751 - 0.8751)
archetypal_loss: 0.9684 (range: 0.9684 - 0.9684)
kld_loss: 0.0356 (range: 0.0356 - 0.0356)
reconstruction_loss: 0.9684 (range: 0.9684 - 0.9684)
archetype_r2: -0.0166 (range: -0.0166 - -0.0166)
Archetype Transform Summary:
archetype_transform_mean: -0.000066 (range: -0.000066 - -0.000066)
archetype_transform_std: 0.081344 (range: 0.081344 - 0.081344)
archetype_transform_norm: 5.808568 (range: 5.808568 - 5.808568)
archetype_transform_grad_norm: 0.210440 (range: 0.210440 - 0.210440)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0003, max=0.9883, mean=0.2000
Batch reconstruction MSE: 1.0440
Archetype stats: min=-1.2445, max=1.1562
Archetype change since last debug: 6.964643
Archetype gradients: norm=0.004161, mean=0.000206
Epoch 1/1
Average loss: 0.8558
Archetypal loss: 0.9409
KLD loss: 0.0905
Reconstruction loss: 0.9409
Archetype R²: 0.0119
Archetype transform grad norm: 0.156957
Archetype transform param norm: 5.8476
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.8558 (range: 0.8558 - 0.8558)
archetypal_loss: 0.9409 (range: 0.9409 - 0.9409)
kld_loss: 0.0905 (range: 0.0905 - 0.0905)
reconstruction_loss: 0.9409 (range: 0.9409 - 0.9409)
archetype_r2: 0.0119 (range: 0.0119 - 0.0119)
Archetype Transform Summary:
archetype_transform_mean: -0.000031 (range: -0.000031 - -0.000031)
archetype_transform_std: 0.081891 (range: 0.081891 - 0.081891)
archetype_transform_norm: 5.847634 (range: 5.847634 - 5.847634)
archetype_transform_grad_norm: 0.156957 (range: 0.156957 - 0.156957)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0050, max=0.8643, mean=0.2000
Batch reconstruction MSE: 1.0919
Archetype stats: min=-2.3747, max=2.5158
Archetype change since last debug: 7.130992
Archetype gradients: norm=0.005711, mean=0.000272
Epoch 1/1
Average loss: 0.8437
Archetypal loss: 0.9280
KLD loss: 0.0851
Reconstruction loss: 0.9280
Archetype R²: 0.0256
Archetype transform grad norm: 0.186530
Archetype transform param norm: 5.9743
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.8437 (range: 0.8437 - 0.8437)
archetypal_loss: 0.9280 (range: 0.9280 - 0.9280)
kld_loss: 0.0851 (range: 0.0851 - 0.0851)
reconstruction_loss: 0.9280 (range: 0.9280 - 0.9280)
archetype_r2: 0.0256 (range: 0.0256 - 0.0256)
Archetype Transform Summary:
archetype_transform_mean: 0.000091 (range: 0.000091 - 0.000091)
archetype_transform_std: 0.083665 (range: 0.083665 - 0.083665)
archetype_transform_norm: 5.974305 (range: 5.974305 - 5.974305)
archetype_transform_grad_norm: 0.186530 (range: 0.186530 - 0.186530)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0065, max=0.8660, mean=0.2000
Batch reconstruction MSE: 1.0925
Archetype stats: min=-3.9268, max=3.9968
Archetype change since last debug: 7.270668
Archetype gradients: norm=0.006666, mean=0.000329
Epoch 1/1
Average loss: 0.8386
Archetypal loss: 0.9223
KLD loss: 0.0855
Reconstruction loss: 0.9223
Archetype R²: 0.0317
Archetype transform grad norm: 0.213477
Archetype transform param norm: 6.1134
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.8386 (range: 0.8386 - 0.8386)
archetypal_loss: 0.9223 (range: 0.9223 - 0.9223)
kld_loss: 0.0855 (range: 0.0855 - 0.0855)
reconstruction_loss: 0.9223 (range: 0.9223 - 0.9223)
archetype_r2: 0.0317 (range: 0.0317 - 0.0317)
Archetype Transform Summary:
archetype_transform_mean: 0.000207 (range: 0.000207 - 0.000207)
archetype_transform_std: 0.085613 (range: 0.085613 - 0.085613)
archetype_transform_norm: 6.113429 (range: 6.113429 - 6.113429)
archetype_transform_grad_norm: 0.213477 (range: 0.213477 - 0.213477)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0039, max=0.9076, mean=0.2000
Batch reconstruction MSE: 1.1432
Archetype stats: min=-4.7863, max=5.1343
Archetype change since last debug: 5.090044
Archetype gradients: norm=0.011977, mean=0.000596
Epoch 1/1
Average loss: 0.8319
Archetypal loss: 0.9123
KLD loss: 0.1082
Reconstruction loss: 0.9123
Archetype R²: 0.0423
Archetype transform grad norm: 0.217855
Archetype transform param norm: 6.2865
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.8319 (range: 0.8319 - 0.8319)
archetypal_loss: 0.9123 (range: 0.9123 - 0.9123)
kld_loss: 0.1082 (range: 0.1082 - 0.1082)
reconstruction_loss: 0.9123 (range: 0.9123 - 0.9123)
archetype_r2: 0.0423 (range: 0.0423 - 0.0423)
Archetype Transform Summary:
archetype_transform_mean: 0.000337 (range: 0.000337 - 0.000337)
archetype_transform_std: 0.088036 (range: 0.088036 - 0.088036)
archetype_transform_norm: 6.286451 (range: 6.286451 - 6.286451)
archetype_transform_grad_norm: 0.217855 (range: 0.217855 - 0.217855)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0081, max=0.7910, mean=0.2000
Batch reconstruction MSE: 1.1579
Archetype stats: min=-5.3112, max=6.4639
Archetype change since last debug: 5.824833
Archetype gradients: norm=0.022923, mean=0.001043
Epoch 1/1
Average loss: 0.8236
Archetypal loss: 0.9014
KLD loss: 0.1232
Reconstruction loss: 0.9014
Archetype R²: 0.0539
Archetype transform grad norm: 0.230503
Archetype transform param norm: 6.5238
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.8236 (range: 0.8236 - 0.8236)
archetypal_loss: 0.9014 (range: 0.9014 - 0.9014)
kld_loss: 0.1232 (range: 0.1232 - 0.1232)
reconstruction_loss: 0.9014 (range: 0.9014 - 0.9014)
archetype_r2: 0.0539 (range: 0.0539 - 0.0539)
Archetype Transform Summary:
archetype_transform_mean: 0.000467 (range: 0.000467 - 0.000467)
archetype_transform_std: 0.091359 (range: 0.091359 - 0.091359)
archetype_transform_norm: 6.523793 (range: 6.523793 - 6.523793)
archetype_transform_grad_norm: 0.230503 (range: 0.230503 - 0.230503)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0090, max=0.8773, mean=0.2000
Batch reconstruction MSE: 1.2343
Archetype stats: min=-6.2632, max=7.9106
Archetype change since last debug: 6.203814
Archetype gradients: norm=0.033873, mean=0.001506
Epoch 1/1
Average loss: 0.8177
Archetypal loss: 0.8937
KLD loss: 0.1330
Reconstruction loss: 0.8937
Archetype R²: 0.0621
Archetype transform grad norm: 0.252161
Archetype transform param norm: 6.7479
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.8177 (range: 0.8177 - 0.8177)
archetypal_loss: 0.8937 (range: 0.8937 - 0.8937)
kld_loss: 0.1330 (range: 0.1330 - 0.1330)
reconstruction_loss: 0.8937 (range: 0.8937 - 0.8937)
archetype_r2: 0.0621 (range: 0.0621 - 0.0621)
Archetype Transform Summary:
archetype_transform_mean: 0.000447 (range: 0.000447 - 0.000447)
archetype_transform_std: 0.094498 (range: 0.094498 - 0.094498)
archetype_transform_norm: 6.747904 (range: 6.747904 - 6.747904)
archetype_transform_grad_norm: 0.252161 (range: 0.252161 - 0.252161)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0101, max=0.7542, mean=0.2000
Batch reconstruction MSE: 1.2957
Archetype stats: min=-7.4590, max=8.5694
Archetype change since last debug: 5.214748
Archetype gradients: norm=0.052586, mean=0.002442
Epoch 1/1
Average loss: 0.8135
Archetypal loss: 0.8889
KLD loss: 0.1354
Reconstruction loss: 0.8889
Archetype R²: 0.0673
Archetype transform grad norm: 0.259059
Archetype transform param norm: 6.9195
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.8135 (range: 0.8135 - 0.8135)
archetypal_loss: 0.8889 (range: 0.8889 - 0.8889)
kld_loss: 0.1354 (range: 0.1354 - 0.1354)
reconstruction_loss: 0.8889 (range: 0.8889 - 0.8889)
archetype_r2: 0.0673 (range: 0.0673 - 0.0673)
Archetype Transform Summary:
archetype_transform_mean: 0.000537 (range: 0.000537 - 0.000537)
archetype_transform_std: 0.096900 (range: 0.096900 - 0.096900)
archetype_transform_norm: 6.919489 (range: 6.919489 - 6.919489)
archetype_transform_grad_norm: 0.259059 (range: 0.259059 - 0.259059)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0166, max=0.6026, mean=0.2000
Batch reconstruction MSE: 1.2239
Archetype stats: min=-8.5388, max=8.9839
Archetype change since last debug: 4.252413
Archetype gradients: norm=0.044681, mean=0.001981
Epoch 1/1
Average loss: 0.8080
Archetypal loss: 0.8833
KLD loss: 0.1308
Reconstruction loss: 0.8833
Archetype R²: 0.0731
Archetype transform grad norm: 0.269912
Archetype transform param norm: 7.0668
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.8080 (range: 0.8080 - 0.8080)
archetypal_loss: 0.8833 (range: 0.8833 - 0.8833)
kld_loss: 0.1308 (range: 0.1308 - 0.1308)
reconstruction_loss: 0.8833 (range: 0.8833 - 0.8833)
archetype_r2: 0.0731 (range: 0.0731 - 0.0731)
Archetype Transform Summary:
archetype_transform_mean: 0.000416 (range: 0.000416 - 0.000416)
archetype_transform_std: 0.098964 (range: 0.098964 - 0.098964)
archetype_transform_norm: 7.066795 (range: 7.066795 - 7.066795)
archetype_transform_grad_norm: 0.269912 (range: 0.269912 - 0.269912)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0112, max=0.6122, mean=0.2000
Batch reconstruction MSE: 1.2692
Archetype stats: min=-9.8322, max=9.5965
Archetype change since last debug: 4.183145
Archetype gradients: norm=0.038430, mean=0.001859
Epoch 1/1
Average loss: 0.8052
Archetypal loss: 0.8805
KLD loss: 0.1274
Reconstruction loss: 0.8805
Archetype R²: 0.0760
Archetype transform grad norm: 0.274763
Archetype transform param norm: 7.1868
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.8052 (range: 0.8052 - 0.8052)
archetypal_loss: 0.8805 (range: 0.8805 - 0.8805)
kld_loss: 0.1274 (range: 0.1274 - 0.1274)
reconstruction_loss: 0.8805 (range: 0.8805 - 0.8805)
archetype_r2: 0.0760 (range: 0.0760 - 0.0760)
Archetype Transform Summary:
archetype_transform_mean: 0.000499 (range: 0.000499 - 0.000499)
archetype_transform_std: 0.100644 (range: 0.100644 - 0.100644)
archetype_transform_norm: 7.186800 (range: 7.186800 - 7.186800)
archetype_transform_grad_norm: 0.274763 (range: 0.274763 - 0.274763)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0125, max=0.7127, mean=0.2000
Batch reconstruction MSE: 1.2988
Archetype stats: min=-10.8690, max=10.0389
Archetype change since last debug: 3.813306
Archetype gradients: norm=0.078619, mean=0.003229
Epoch 1/1
Average loss: 0.8027
Archetypal loss: 0.8784
KLD loss: 0.1218
Reconstruction loss: 0.8784
Archetype R²: 0.0784
Archetype transform grad norm: 0.272438
Archetype transform param norm: 7.2595
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.8027 (range: 0.8027 - 0.8027)
archetypal_loss: 0.8784 (range: 0.8784 - 0.8784)
kld_loss: 0.1218 (range: 0.1218 - 0.1218)
reconstruction_loss: 0.8784 (range: 0.8784 - 0.8784)
archetype_r2: 0.0784 (range: 0.0784 - 0.0784)
Archetype Transform Summary:
archetype_transform_mean: 0.000364 (range: 0.000364 - 0.000364)
archetype_transform_std: 0.101662 (range: 0.101662 - 0.101662)
archetype_transform_norm: 7.259454 (range: 7.259454 - 7.259454)
archetype_transform_grad_norm: 0.272438 (range: 0.272438 - 0.272438)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0160, max=0.5149, mean=0.2000
Batch reconstruction MSE: 1.1814
Archetype stats: min=-11.9779, max=10.4381
Archetype change since last debug: 3.121910
Archetype gradients: norm=0.016990, mean=0.000791
Epoch 1/1
Average loss: 0.7978
Archetypal loss: 0.8731
KLD loss: 0.1202
Reconstruction loss: 0.8731
Archetype R²: 0.0837
Archetype transform grad norm: 0.264985
Archetype transform param norm: 7.3614
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.7978 (range: 0.7978 - 0.7978)
archetypal_loss: 0.8731 (range: 0.8731 - 0.8731)
kld_loss: 0.1202 (range: 0.1202 - 0.1202)
reconstruction_loss: 0.8731 (range: 0.8731 - 0.8731)
archetype_r2: 0.0837 (range: 0.0837 - 0.0837)
Archetype Transform Summary:
archetype_transform_mean: 0.000424 (range: 0.000424 - 0.000424)
archetype_transform_std: 0.103090 (range: 0.103090 - 0.103090)
archetype_transform_norm: 7.361427 (range: 7.361427 - 7.361427)
archetype_transform_grad_norm: 0.264985 (range: 0.264985 - 0.264985)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0194, max=0.6317, mean=0.2000
Batch reconstruction MSE: 1.2424
Archetype stats: min=-13.0498, max=10.8309
Archetype change since last debug: 3.459157
Archetype gradients: norm=0.067880, mean=0.002675
Epoch 1/1
Average loss: 0.7961
Archetypal loss: 0.8724
KLD loss: 0.1095
Reconstruction loss: 0.8724
Archetype R²: 0.0845
Archetype transform grad norm: 0.266769
Archetype transform param norm: 7.4250
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.7961 (range: 0.7961 - 0.7961)
archetypal_loss: 0.8724 (range: 0.8724 - 0.8724)
kld_loss: 0.1095 (range: 0.1095 - 0.1095)
reconstruction_loss: 0.8724 (range: 0.8724 - 0.8724)
archetype_r2: 0.0845 (range: 0.0845 - 0.0845)
Archetype Transform Summary:
archetype_transform_mean: 0.000362 (range: 0.000362 - 0.000362)
archetype_transform_std: 0.103981 (range: 0.103981 - 0.103981)
archetype_transform_norm: 7.425017 (range: 7.425017 - 7.425017)
archetype_transform_grad_norm: 0.266769 (range: 0.266769 - 0.266769)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0250, max=0.5153, mean=0.2000
Batch reconstruction MSE: 1.1235
Archetype stats: min=-13.9915, max=11.0575
Archetype change since last debug: 2.674157
Archetype gradients: norm=0.017225, mean=0.000787
Epoch 1/1
Average loss: 0.7938
Archetypal loss: 0.8687
KLD loss: 0.1193
Reconstruction loss: 0.8687
Archetype R²: 0.0881
Archetype transform grad norm: 0.271066
Archetype transform param norm: 7.5147
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.7938 (range: 0.7938 - 0.7938)
archetypal_loss: 0.8687 (range: 0.8687 - 0.8687)
kld_loss: 0.1193 (range: 0.1193 - 0.1193)
reconstruction_loss: 0.8687 (range: 0.8687 - 0.8687)
archetype_r2: 0.0881 (range: 0.0881 - 0.0881)
Archetype Transform Summary:
archetype_transform_mean: 0.000424 (range: 0.000424 - 0.000424)
archetype_transform_std: 0.105236 (range: 0.105236 - 0.105236)
archetype_transform_norm: 7.514669 (range: 7.514669 - 7.514669)
archetype_transform_grad_norm: 0.271066 (range: 0.271066 - 0.271066)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0191, max=0.5169, mean=0.2000
Batch reconstruction MSE: 1.3016
Archetype stats: min=-14.9490, max=11.3551
Archetype change since last debug: 3.016649
Archetype gradients: norm=0.067423, mean=0.002616
Epoch 1/1
Average loss: 0.7943
Archetypal loss: 0.8715
KLD loss: 0.0992
Reconstruction loss: 0.8715
Archetype R²: 0.0855
Archetype transform grad norm: 0.274773
Archetype transform param norm: 7.5545
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.7943 (range: 0.7943 - 0.7943)
archetypal_loss: 0.8715 (range: 0.8715 - 0.8715)
kld_loss: 0.0992 (range: 0.0992 - 0.0992)
reconstruction_loss: 0.8715 (range: 0.8715 - 0.8715)
archetype_r2: 0.0855 (range: 0.0855 - 0.0855)
Archetype Transform Summary:
archetype_transform_mean: 0.000350 (range: 0.000350 - 0.000350)
archetype_transform_std: 0.105793 (range: 0.105793 - 0.105793)
archetype_transform_norm: 7.554457 (range: 7.554457 - 7.554457)
archetype_transform_grad_norm: 0.274773 (range: 0.274773 - 0.274773)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0299, max=0.4375, mean=0.2000
Batch reconstruction MSE: 1.1335
Archetype stats: min=-15.3193, max=11.2713
Archetype change since last debug: 1.754531
Archetype gradients: norm=0.042318, mean=0.001365
Epoch 1/1
Average loss: 0.7930
Archetypal loss: 0.8676
KLD loss: 0.1221
Reconstruction loss: 0.8676
Archetype R²: 0.0893
Archetype transform grad norm: 0.277173
Archetype transform param norm: 7.6097
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.7930 (range: 0.7930 - 0.7930)
archetypal_loss: 0.8676 (range: 0.8676 - 0.8676)
kld_loss: 0.1221 (range: 0.1221 - 0.1221)
reconstruction_loss: 0.8676 (range: 0.8676 - 0.8676)
archetype_r2: 0.0893 (range: 0.0893 - 0.0893)
Archetype Transform Summary:
archetype_transform_mean: 0.000408 (range: 0.000408 - 0.000408)
archetype_transform_std: 0.106567 (range: 0.106567 - 0.106567)
archetype_transform_norm: 7.609709 (range: 7.609709 - 7.609709)
archetype_transform_grad_norm: 0.277173 (range: 0.277173 - 0.277173)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0160, max=0.5449, mean=0.2000
Batch reconstruction MSE: 1.4102
Archetype stats: min=-15.9462, max=11.4112
Archetype change since last debug: 2.280219
Archetype gradients: norm=0.072475, mean=0.002928
Epoch 1/1
Average loss: 0.7949
Archetypal loss: 0.8725
KLD loss: 0.0970
Reconstruction loss: 0.8725
Archetype R²: 0.0847
Archetype transform grad norm: 0.283010
Archetype transform param norm: 7.6224
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.7949 (range: 0.7949 - 0.7949)
archetypal_loss: 0.8725 (range: 0.8725 - 0.8725)
kld_loss: 0.0970 (range: 0.0970 - 0.0970)
reconstruction_loss: 0.8725 (range: 0.8725 - 0.8725)
archetype_r2: 0.0847 (range: 0.0847 - 0.0847)
Archetype Transform Summary:
archetype_transform_mean: 0.000368 (range: 0.000368 - 0.000368)
archetype_transform_std: 0.106745 (range: 0.106745 - 0.106745)
archetype_transform_norm: 7.622445 (range: 7.622445 - 7.622445)
archetype_transform_grad_norm: 0.283010 (range: 0.283010 - 0.283010)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0251, max=0.4362, mean=0.2000
Batch reconstruction MSE: 1.1054
Archetype stats: min=-16.0012, max=11.2367
Archetype change since last debug: 1.549874
Archetype gradients: norm=0.019111, mean=0.000869
Epoch 1/1
Average loss: 0.7892
Archetypal loss: 0.8649
KLD loss: 0.1083
Reconstruction loss: 0.8649
Archetype R²: 0.0920
Archetype transform grad norm: 0.267388
Archetype transform param norm: 7.6758
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.7892 (range: 0.7892 - 0.7892)
archetypal_loss: 0.8649 (range: 0.8649 - 0.8649)
kld_loss: 0.1083 (range: 0.1083 - 0.1083)
reconstruction_loss: 0.8649 (range: 0.8649 - 0.8649)
archetype_r2: 0.0920 (range: 0.0920 - 0.0920)
Archetype Transform Summary:
archetype_transform_mean: 0.000415 (range: 0.000415 - 0.000415)
archetype_transform_std: 0.107492 (range: 0.107492 - 0.107492)
archetype_transform_norm: 7.675764 (range: 7.675764 - 7.675764)
archetype_transform_grad_norm: 0.267388 (range: 0.267388 - 0.267388)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0248, max=0.4307, mean=0.2000
Batch reconstruction MSE: 1.1279
Archetype stats: min=-16.8591, max=11.6200
Archetype change since last debug: 2.426316
Archetype gradients: norm=0.017608, mean=0.000821
Epoch 1/1
Average loss: 0.7877
Archetypal loss: 0.8647
KLD loss: 0.0944
Reconstruction loss: 0.8647
Archetype R²: 0.0922
Archetype transform grad norm: 0.270530
Archetype transform param norm: 7.7450
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.7877 (range: 0.7877 - 0.7877)
archetypal_loss: 0.8647 (range: 0.8647 - 0.8647)
kld_loss: 0.0944 (range: 0.0944 - 0.0944)
reconstruction_loss: 0.8647 (range: 0.8647 - 0.8647)
archetype_r2: 0.0922 (range: 0.0922 - 0.0922)
Archetype Transform Summary:
archetype_transform_mean: 0.000433 (range: 0.000433 - 0.000433)
archetype_transform_std: 0.108462 (range: 0.108462 - 0.108462)
archetype_transform_norm: 7.745016 (range: 7.745016 - 7.745016)
archetype_transform_grad_norm: 0.270530 (range: 0.270530 - 0.270530)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0323, max=0.4117, mean=0.2000
Batch reconstruction MSE: 1.0567
Archetype stats: min=-17.5876, max=11.9112
Archetype change since last debug: 2.131430
Archetype gradients: norm=0.022085, mean=0.001005
Epoch 1/1
Average loss: 0.7865
Archetypal loss: 0.8627
KLD loss: 0.1007
Reconstruction loss: 0.8627
Archetype R²: 0.0941
Archetype transform grad norm: 0.272693
Archetype transform param norm: 7.8125
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.7865 (range: 0.7865 - 0.7865)
archetypal_loss: 0.8627 (range: 0.8627 - 0.8627)
kld_loss: 0.1007 (range: 0.1007 - 0.1007)
reconstruction_loss: 0.8627 (range: 0.8627 - 0.8627)
archetype_r2: 0.0941 (range: 0.0941 - 0.0941)
Archetype Transform Summary:
archetype_transform_mean: 0.000450 (range: 0.000450 - 0.000450)
archetype_transform_std: 0.109407 (range: 0.109407 - 0.109407)
archetype_transform_norm: 7.812516 (range: 7.812516 - 7.812516)
archetype_transform_grad_norm: 0.272693 (range: 0.272693 - 0.272693)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0271, max=0.4521, mean=0.2000
Batch reconstruction MSE: 1.1535
Archetype stats: min=-18.3187, max=12.2434
Archetype change since last debug: 2.237924
Archetype gradients: norm=0.020888, mean=0.000909
Epoch 1/1
Average loss: 0.7869
Archetypal loss: 0.8646
KLD loss: 0.0872
Reconstruction loss: 0.8646
Archetype R²: 0.0923
Archetype transform grad norm: 0.282826
Archetype transform param norm: 7.8682
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.7869 (range: 0.7869 - 0.7869)
archetypal_loss: 0.8646 (range: 0.8646 - 0.8646)
kld_loss: 0.0872 (range: 0.0872 - 0.0872)
reconstruction_loss: 0.8646 (range: 0.8646 - 0.8646)
archetype_r2: 0.0923 (range: 0.0923 - 0.0923)
Archetype Transform Summary:
archetype_transform_mean: 0.000485 (range: 0.000485 - 0.000485)
archetype_transform_std: 0.110186 (range: 0.110186 - 0.110186)
archetype_transform_norm: 7.868174 (range: 7.868174 - 7.868174)
archetype_transform_grad_norm: 0.282826 (range: 0.282826 - 0.282826)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0392, max=0.4216, mean=0.2000
Batch reconstruction MSE: 1.1591
Archetype stats: min=-18.7660, max=12.3953
Archetype change since last debug: 1.578926
Archetype gradients: norm=0.047501, mean=0.002230
Epoch 1/1
Average loss: 0.7893
Archetypal loss: 0.8655
KLD loss: 0.1030
Reconstruction loss: 0.8655
Archetype R²: 0.0914
Archetype transform grad norm: 0.302645
Archetype transform param norm: 7.8983
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.7893 (range: 0.7893 - 0.7893)
archetypal_loss: 0.8655 (range: 0.8655 - 0.8655)
kld_loss: 0.1030 (range: 0.1030 - 0.1030)
reconstruction_loss: 0.8655 (range: 0.8655 - 0.8655)
archetype_r2: 0.0914 (range: 0.0914 - 0.0914)
Archetype Transform Summary:
archetype_transform_mean: 0.000405 (range: 0.000405 - 0.000405)
archetype_transform_std: 0.110608 (range: 0.110608 - 0.110608)
archetype_transform_norm: 7.898298 (range: 7.898298 - 7.898298)
archetype_transform_grad_norm: 0.302645 (range: 0.302645 - 0.302645)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0302, max=0.4552, mean=0.2000
Batch reconstruction MSE: 1.4057
Archetype stats: min=-18.4330, max=12.0556
Archetype change since last debug: 1.343076
Archetype gradients: norm=0.069184, mean=0.003285
Epoch 1/1
Average loss: 0.7935
Archetypal loss: 0.8711
KLD loss: 0.0949
Reconstruction loss: 0.8711
Archetype R²: 0.0860
Archetype transform grad norm: 0.318495
Archetype transform param norm: 7.8806
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.7935 (range: 0.7935 - 0.7935)
archetypal_loss: 0.8711 (range: 0.8711 - 0.8711)
kld_loss: 0.0949 (range: 0.0949 - 0.0949)
reconstruction_loss: 0.8711 (range: 0.8711 - 0.8711)
archetype_r2: 0.0860 (range: 0.0860 - 0.0860)
Archetype Transform Summary:
archetype_transform_mean: 0.000542 (range: 0.000542 - 0.000542)
archetype_transform_std: 0.110360 (range: 0.110360 - 0.110360)
archetype_transform_norm: 7.880631 (range: 7.880631 - 7.880631)
archetype_transform_grad_norm: 0.318495 (range: 0.318495 - 0.318495)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0332, max=0.4617, mean=0.2000
Batch reconstruction MSE: 1.2323
Archetype stats: min=-17.9236, max=11.6554
Archetype change since last debug: 1.702476
Archetype gradients: norm=0.085910, mean=0.003545
Epoch 1/1
Average loss: 0.7902
Archetypal loss: 0.8668
KLD loss: 0.1011
Reconstruction loss: 0.8668
Archetype R²: 0.0901
Archetype transform grad norm: 0.308817
Archetype transform param norm: 7.8861
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.7902 (range: 0.7902 - 0.7902)
archetypal_loss: 0.8668 (range: 0.8668 - 0.8668)
kld_loss: 0.1011 (range: 0.1011 - 0.1011)
reconstruction_loss: 0.8668 (range: 0.8668 - 0.8668)
archetype_r2: 0.0901 (range: 0.0901 - 0.0901)
Archetype Transform Summary:
archetype_transform_mean: 0.000342 (range: 0.000342 - 0.000342)
archetype_transform_std: 0.110438 (range: 0.110438 - 0.110438)
archetype_transform_norm: 7.886138 (range: 7.886138 - 7.886138)
archetype_transform_grad_norm: 0.308817 (range: 0.308817 - 0.308817)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0404, max=0.4846, mean=0.2000
Batch reconstruction MSE: 1.2950
Archetype stats: min=-17.3760, max=11.2074
Archetype change since last debug: 1.466252
Archetype gradients: norm=0.100878, mean=0.004681
Epoch 1/1
Average loss: 0.7921
Archetypal loss: 0.8682
KLD loss: 0.1070
Reconstruction loss: 0.8682
Archetype R²: 0.0888
Archetype transform grad norm: 0.310811
Archetype transform param norm: 7.8834
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.7921 (range: 0.7921 - 0.7921)
archetypal_loss: 0.8682 (range: 0.8682 - 0.8682)
kld_loss: 0.1070 (range: 0.1070 - 0.1070)
reconstruction_loss: 0.8682 (range: 0.8682 - 0.8682)
archetype_r2: 0.0888 (range: 0.0888 - 0.0888)
Archetype Transform Summary:
archetype_transform_mean: 0.000564 (range: 0.000564 - 0.000564)
archetype_transform_std: 0.110399 (range: 0.110399 - 0.110399)
archetype_transform_norm: 7.883396 (range: 7.883396 - 7.883396)
archetype_transform_grad_norm: 0.310811 (range: 0.310811 - 0.310811)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0309, max=0.5076, mean=0.2000
Batch reconstruction MSE: 1.3288
Archetype stats: min=-17.7009, max=11.3480
Archetype change since last debug: 1.720947
Archetype gradients: norm=0.114968, mean=0.004630
Epoch 1/1
Average loss: 0.7914
Archetypal loss: 0.8685
KLD loss: 0.0969
Reconstruction loss: 0.8685
Archetype R²: 0.0884
Archetype transform grad norm: 0.317255
Archetype transform param norm: 7.8792
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.7914 (range: 0.7914 - 0.7914)
archetypal_loss: 0.8685 (range: 0.8685 - 0.8685)
kld_loss: 0.0969 (range: 0.0969 - 0.0969)
reconstruction_loss: 0.8685 (range: 0.8685 - 0.8685)
archetype_r2: 0.0884 (range: 0.0884 - 0.0884)
Archetype Transform Summary:
archetype_transform_mean: 0.000330 (range: 0.000330 - 0.000330)
archetype_transform_std: 0.110341 (range: 0.110341 - 0.110341)
archetype_transform_norm: 7.879155 (range: 7.879155 - 7.879155)
archetype_transform_grad_norm: 0.317255 (range: 0.317255 - 0.317255)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0346, max=0.4945, mean=0.2000
Batch reconstruction MSE: 1.0946
Archetype stats: min=-16.9939, max=10.8398
Archetype change since last debug: 1.616639
Archetype gradients: norm=0.037846, mean=0.001955
Epoch 1/1
Average loss: 0.7860
Archetypal loss: 0.8625
KLD loss: 0.0979
Reconstruction loss: 0.8625
Archetype R²: 0.0943
Archetype transform grad norm: 0.288437
Archetype transform param norm: 7.9123
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.7860 (range: 0.7860 - 0.7860)
archetypal_loss: 0.8625 (range: 0.8625 - 0.8625)
kld_loss: 0.0979 (range: 0.0979 - 0.0979)
reconstruction_loss: 0.8625 (range: 0.8625 - 0.8625)
archetype_r2: 0.0943 (range: 0.0943 - 0.0943)
Archetype Transform Summary:
archetype_transform_mean: 0.000513 (range: 0.000513 - 0.000513)
archetype_transform_std: 0.110803 (range: 0.110803 - 0.110803)
archetype_transform_norm: 7.912259 (range: 7.912259 - 7.912259)
archetype_transform_grad_norm: 0.288437 (range: 0.288437 - 0.288437)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0459, max=0.4224, mean=0.2000
Batch reconstruction MSE: 1.0916
Archetype stats: min=-17.7477, max=11.2788
Archetype change since last debug: 1.755928
Archetype gradients: norm=0.034472, mean=0.001467
Epoch 1/1
Average loss: 0.7845
Archetypal loss: 0.8619
KLD loss: 0.0872
Reconstruction loss: 0.8619
Archetype R²: 0.0948
Archetype transform grad norm: 0.288039
Archetype transform param norm: 7.9596
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.7845 (range: 0.7845 - 0.7845)
archetypal_loss: 0.8619 (range: 0.8619 - 0.8619)
kld_loss: 0.0872 (range: 0.0872 - 0.0872)
reconstruction_loss: 0.8619 (range: 0.8619 - 0.8619)
archetype_r2: 0.0948 (range: 0.0948 - 0.0948)
Archetype Transform Summary:
archetype_transform_mean: 0.000457 (range: 0.000457 - 0.000457)
archetype_transform_std: 0.111466 (range: 0.111466 - 0.111466)
archetype_transform_norm: 7.959556 (range: 7.959556 - 7.959556)
archetype_transform_grad_norm: 0.288039 (range: 0.288039 - 0.288039)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0396, max=0.4633, mean=0.2000
Batch reconstruction MSE: 1.0287
Archetype stats: min=-17.8498, max=11.3680
Archetype change since last debug: 1.563422
Archetype gradients: norm=0.016002, mean=0.000785
Epoch 1/1
Average loss: 0.7833
Archetypal loss: 0.8602
KLD loss: 0.0911
Reconstruction loss: 0.8602
Archetype R²: 0.0965
Archetype transform grad norm: 0.282573
Archetype transform param norm: 8.0118
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.7833 (range: 0.7833 - 0.7833)
archetypal_loss: 0.8602 (range: 0.8602 - 0.8602)
kld_loss: 0.0911 (range: 0.0911 - 0.0911)
reconstruction_loss: 0.8602 (range: 0.8602 - 0.8602)
archetype_r2: 0.0965 (range: 0.0965 - 0.0965)
Archetype Transform Summary:
archetype_transform_mean: 0.000538 (range: 0.000538 - 0.000538)
archetype_transform_std: 0.112197 (range: 0.112197 - 0.112197)
archetype_transform_norm: 8.011805 (range: 8.011805 - 8.011805)
archetype_transform_grad_norm: 0.282573 (range: 0.282573 - 0.282573)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0461, max=0.4022, mean=0.2000
Batch reconstruction MSE: 1.1043
Archetype stats: min=-18.6474, max=11.8122
Archetype change since last debug: 1.948239
Archetype gradients: norm=0.024690, mean=0.001067
Epoch 1/1
Average loss: 0.7834
Archetypal loss: 0.8617
KLD loss: 0.0789
Reconstruction loss: 0.8617
Archetype R²: 0.0951
Archetype transform grad norm: 0.288391
Archetype transform param norm: 8.0519
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.7834 (range: 0.7834 - 0.7834)
archetypal_loss: 0.8617 (range: 0.8617 - 0.8617)
kld_loss: 0.0789 (range: 0.0789 - 0.0789)
reconstruction_loss: 0.8617 (range: 0.8617 - 0.8617)
archetype_r2: 0.0951 (range: 0.0951 - 0.0951)
Archetype Transform Summary:
archetype_transform_mean: 0.000496 (range: 0.000496 - 0.000496)
archetype_transform_std: 0.112759 (range: 0.112759 - 0.112759)
archetype_transform_norm: 8.051903 (range: 8.051903 - 8.051903)
archetype_transform_grad_norm: 0.288391 (range: 0.288391 - 0.288391)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0673, max=0.3956, mean=0.2000
Batch reconstruction MSE: 1.0557
Archetype stats: min=-18.7804, max=11.8298
Archetype change since last debug: 1.274665
Archetype gradients: norm=0.013911, mean=0.000652
Epoch 1/1
Average loss: 0.7840
Archetypal loss: 0.8609
KLD loss: 0.0916
Reconstruction loss: 0.8609
Archetype R²: 0.0958
Archetype transform grad norm: 0.290257
Archetype transform param norm: 8.0921
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.7840 (range: 0.7840 - 0.7840)
archetypal_loss: 0.8609 (range: 0.8609 - 0.8609)
kld_loss: 0.0916 (range: 0.0916 - 0.0916)
reconstruction_loss: 0.8609 (range: 0.8609 - 0.8609)
archetype_r2: 0.0958 (range: 0.0958 - 0.0958)
Archetype Transform Summary:
archetype_transform_mean: 0.000568 (range: 0.000568 - 0.000568)
archetype_transform_std: 0.113322 (range: 0.113322 - 0.113322)
archetype_transform_norm: 8.092094 (range: 8.092094 - 8.092094)
archetype_transform_grad_norm: 0.290257 (range: 0.290257 - 0.290257)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0493, max=0.4444, mean=0.2000
Batch reconstruction MSE: 1.2688
Archetype stats: min=-19.3157, max=12.0887
Archetype change since last debug: 1.432254
Archetype gradients: norm=0.052150, mean=0.002179
Epoch 1/1
Average loss: 0.7859
Archetypal loss: 0.8651
KLD loss: 0.0734
Reconstruction loss: 0.8651
Archetype R²: 0.0918
Archetype transform grad norm: 0.289159
Archetype transform param norm: 8.0857
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.7859 (range: 0.7859 - 0.7859)
archetypal_loss: 0.8651 (range: 0.8651 - 0.8651)
kld_loss: 0.0734 (range: 0.0734 - 0.0734)
reconstruction_loss: 0.8651 (range: 0.8651 - 0.8651)
archetype_r2: 0.0918 (range: 0.0918 - 0.0918)
Archetype Transform Summary:
archetype_transform_mean: 0.000494 (range: 0.000494 - 0.000494)
archetype_transform_std: 0.113232 (range: 0.113232 - 0.113232)
archetype_transform_norm: 8.085684 (range: 8.085684 - 8.085684)
archetype_transform_grad_norm: 0.289159 (range: 0.289159 - 0.289159)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0818, max=0.4057, mean=0.2000
Batch reconstruction MSE: 1.0377
Archetype stats: min=-18.9971, max=11.8211
Archetype change since last debug: 1.052792
Archetype gradients: norm=0.012382, mean=0.000580
Epoch 1/1
Average loss: 0.7831
Archetypal loss: 0.8600
KLD loss: 0.0909
Reconstruction loss: 0.8600
Archetype R²: 0.0967
Archetype transform grad norm: 0.286389
Archetype transform param norm: 8.1228
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.7831 (range: 0.7831 - 0.7831)
archetypal_loss: 0.8600 (range: 0.8600 - 0.8600)
kld_loss: 0.0909 (range: 0.0909 - 0.0909)
reconstruction_loss: 0.8600 (range: 0.8600 - 0.8600)
archetype_r2: 0.0967 (range: 0.0967 - 0.0967)
Archetype Transform Summary:
archetype_transform_mean: 0.000553 (range: 0.000553 - 0.000553)
archetype_transform_std: 0.113751 (range: 0.113751 - 0.113751)
archetype_transform_norm: 8.122766 (range: 8.122766 - 8.122766)
archetype_transform_grad_norm: 0.286389 (range: 0.286389 - 0.286389)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0635, max=0.4087, mean=0.2000
Batch reconstruction MSE: 1.1586
Archetype stats: min=-19.6636, max=12.1888
Archetype change since last debug: 1.652333
Archetype gradients: norm=0.043405, mean=0.001918
Epoch 1/1
Average loss: 0.7835
Archetypal loss: 0.8623
KLD loss: 0.0749
Reconstruction loss: 0.8623
Archetype R²: 0.0945
Archetype transform grad norm: 0.283938
Archetype transform param norm: 8.1358
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.7835 (range: 0.7835 - 0.7835)
archetypal_loss: 0.8623 (range: 0.8623 - 0.8623)
kld_loss: 0.0749 (range: 0.0749 - 0.0749)
reconstruction_loss: 0.8623 (range: 0.8623 - 0.8623)
archetype_r2: 0.0945 (range: 0.0945 - 0.0945)
Archetype Transform Summary:
archetype_transform_mean: 0.000487 (range: 0.000487 - 0.000487)
archetype_transform_std: 0.113934 (range: 0.113934 - 0.113934)
archetype_transform_norm: 8.135786 (range: 8.135786 - 8.135786)
archetype_transform_grad_norm: 0.283938 (range: 0.283938 - 0.283938)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0725, max=0.4255, mean=0.2000
Batch reconstruction MSE: 1.0784
Archetype stats: min=-19.6505, max=12.0900
Archetype change since last debug: 0.893487
Archetype gradients: norm=0.025640, mean=0.001184
Epoch 1/1
Average loss: 0.7831
Archetypal loss: 0.8603
KLD loss: 0.0883
Reconstruction loss: 0.8603
Archetype R²: 0.0963
Archetype transform grad norm: 0.289109
Archetype transform param norm: 8.1739
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.7831 (range: 0.7831 - 0.7831)
archetypal_loss: 0.8603 (range: 0.8603 - 0.8603)
kld_loss: 0.0883 (range: 0.0883 - 0.0883)
reconstruction_loss: 0.8603 (range: 0.8603 - 0.8603)
archetype_r2: 0.0963 (range: 0.0963 - 0.0963)
Archetype Transform Summary:
archetype_transform_mean: 0.000559 (range: 0.000559 - 0.000559)
archetype_transform_std: 0.114468 (range: 0.114468 - 0.114468)
archetype_transform_norm: 8.173935 (range: 8.173935 - 8.173935)
archetype_transform_grad_norm: 0.289109 (range: 0.289109 - 0.289109)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0592, max=0.4597, mean=0.2000
Batch reconstruction MSE: 1.2334
Archetype stats: min=-20.0738, max=12.2839
Archetype change since last debug: 1.347265
Archetype gradients: norm=0.071905, mean=0.003311
Epoch 1/1
Average loss: 0.7851
Archetypal loss: 0.8639
KLD loss: 0.0757
Reconstruction loss: 0.8639
Archetype R²: 0.0929
Archetype transform grad norm: 0.298892
Archetype transform param norm: 8.1627
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.7851 (range: 0.7851 - 0.7851)
archetypal_loss: 0.8639 (range: 0.8639 - 0.8639)
kld_loss: 0.0757 (range: 0.0757 - 0.0757)
reconstruction_loss: 0.8639 (range: 0.8639 - 0.8639)
archetype_r2: 0.0929 (range: 0.0929 - 0.0929)
Archetype Transform Summary:
archetype_transform_mean: 0.000453 (range: 0.000453 - 0.000453)
archetype_transform_std: 0.114312 (range: 0.114312 - 0.114312)
archetype_transform_norm: 8.162745 (range: 8.162745 - 8.162745)
archetype_transform_grad_norm: 0.298892 (range: 0.298892 - 0.298892)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0719, max=0.4258, mean=0.2000
Batch reconstruction MSE: 1.1269
Archetype stats: min=-20.0722, max=12.2036
Archetype change since last debug: 0.915643
Archetype gradients: norm=0.035603, mean=0.001918
Epoch 1/1
Average loss: 0.7842
Archetypal loss: 0.8617
KLD loss: 0.0869
Reconstruction loss: 0.8617
Archetype R²: 0.0950
Archetype transform grad norm: 0.306974
Archetype transform param norm: 8.1910
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.7842 (range: 0.7842 - 0.7842)
archetypal_loss: 0.8617 (range: 0.8617 - 0.8617)
kld_loss: 0.0869 (range: 0.0869 - 0.0869)
reconstruction_loss: 0.8617 (range: 0.8617 - 0.8617)
archetype_r2: 0.0950 (range: 0.0950 - 0.0950)
Archetype Transform Summary:
archetype_transform_mean: 0.000563 (range: 0.000563 - 0.000563)
archetype_transform_std: 0.114706 (range: 0.114706 - 0.114706)
archetype_transform_norm: 8.190953 (range: 8.190953 - 8.190953)
archetype_transform_grad_norm: 0.306974 (range: 0.306974 - 0.306974)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0739, max=0.4043, mean=0.2000
Batch reconstruction MSE: 1.2607
Archetype stats: min=-20.0623, max=12.1522
Archetype change since last debug: 1.132608
Archetype gradients: norm=0.092300, mean=0.004560
Epoch 1/1
Average loss: 0.7875
Archetypal loss: 0.8654
KLD loss: 0.0859
Reconstruction loss: 0.8654
Archetype R²: 0.0913
Archetype transform grad norm: 0.321935
Archetype transform param norm: 8.1703
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.7875 (range: 0.7875 - 0.7875)
archetypal_loss: 0.8654 (range: 0.8654 - 0.8654)
kld_loss: 0.0859 (range: 0.0859 - 0.0859)
reconstruction_loss: 0.8654 (range: 0.8654 - 0.8654)
archetype_r2: 0.0913 (range: 0.0913 - 0.0913)
Archetype Transform Summary:
archetype_transform_mean: 0.000488 (range: 0.000488 - 0.000488)
archetype_transform_std: 0.114418 (range: 0.114418 - 0.114418)
archetype_transform_norm: 8.170349 (range: 8.170349 - 8.170349)
archetype_transform_grad_norm: 0.321935 (range: 0.321935 - 0.321935)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0635, max=0.4953, mean=0.2000
Batch reconstruction MSE: 1.2881
Archetype stats: min=-20.2426, max=12.1805
Archetype change since last debug: 1.438514
Archetype gradients: norm=0.063155, mean=0.003352
Epoch 1/1
Average loss: 0.7890
Archetypal loss: 0.8671
KLD loss: 0.0864
Reconstruction loss: 0.8671
Archetype R²: 0.0897
Archetype transform grad norm: 0.345316
Archetype transform param norm: 8.1709
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.7890 (range: 0.7890 - 0.7890)
archetypal_loss: 0.8671 (range: 0.8671 - 0.8671)
kld_loss: 0.0864 (range: 0.0864 - 0.0864)
reconstruction_loss: 0.8671 (range: 0.8671 - 0.8671)
archetype_r2: 0.0897 (range: 0.0897 - 0.0897)
Archetype Transform Summary:
archetype_transform_mean: 0.000551 (range: 0.000551 - 0.000551)
archetype_transform_std: 0.114425 (range: 0.114425 - 0.114425)
archetype_transform_norm: 8.170902 (range: 8.170902 - 8.170902)
archetype_transform_grad_norm: 0.345316 (range: 0.345316 - 0.345316)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0659, max=0.4277, mean=0.2000
Batch reconstruction MSE: 1.2404
Archetype stats: min=-19.0832, max=11.3875
Archetype change since last debug: 2.669689
Archetype gradients: norm=0.092998, mean=0.004263
Epoch 1/1
Average loss: 0.7867
Archetypal loss: 0.8643
KLD loss: 0.0883
Reconstruction loss: 0.8643
Archetype R²: 0.0924
Archetype transform grad norm: 0.301176
Archetype transform param norm: 8.1427
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.7867 (range: 0.7867 - 0.7867)
archetypal_loss: 0.8643 (range: 0.8643 - 0.8643)
kld_loss: 0.0883 (range: 0.0883 - 0.0883)
reconstruction_loss: 0.8643 (range: 0.8643 - 0.8643)
archetype_r2: 0.0924 (range: 0.0924 - 0.0924)
Archetype Transform Summary:
archetype_transform_mean: 0.000468 (range: 0.000468 - 0.000468)
archetype_transform_std: 0.114031 (range: 0.114031 - 0.114031)
archetype_transform_norm: 8.142729 (range: 8.142729 - 8.142729)
archetype_transform_grad_norm: 0.301176 (range: 0.301176 - 0.301176)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0541, max=0.4980, mean=0.2000
Batch reconstruction MSE: 1.1462
Archetype stats: min=-19.5029, max=11.6055
Archetype change since last debug: 1.337016
Archetype gradients: norm=0.034228, mean=0.001699
Epoch 1/1
Average loss: 0.7830
Archetypal loss: 0.8612
KLD loss: 0.0796
Reconstruction loss: 0.8612
Archetype R²: 0.0955
Archetype transform grad norm: 0.287894
Archetype transform param norm: 8.1714
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.7830 (range: 0.7830 - 0.7830)
archetypal_loss: 0.8612 (range: 0.8612 - 0.8612)
kld_loss: 0.0796 (range: 0.0796 - 0.0796)
reconstruction_loss: 0.8612 (range: 0.8612 - 0.8612)
archetype_r2: 0.0955 (range: 0.0955 - 0.0955)
Archetype Transform Summary:
archetype_transform_mean: 0.000528 (range: 0.000528 - 0.000528)
archetype_transform_std: 0.114433 (range: 0.114433 - 0.114433)
archetype_transform_norm: 8.171449 (range: 8.171449 - 8.171449)
archetype_transform_grad_norm: 0.287894 (range: 0.287894 - 0.287894)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0766, max=0.3818, mean=0.2000
Batch reconstruction MSE: 1.0444
Archetype stats: min=-19.3544, max=11.4697
Archetype change since last debug: 1.110584
Archetype gradients: norm=0.047137, mean=0.001885
Epoch 1/1
Average loss: 0.7811
Archetypal loss: 0.8587
KLD loss: 0.0822
Reconstruction loss: 0.8587
Archetype R²: 0.0978
Archetype transform grad norm: 0.280055
Archetype transform param norm: 8.1968
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.7811 (range: 0.7811 - 0.7811)
archetypal_loss: 0.8587 (range: 0.8587 - 0.8587)
kld_loss: 0.0822 (range: 0.0822 - 0.0822)
reconstruction_loss: 0.8587 (range: 0.8587 - 0.8587)
archetype_r2: 0.0978 (range: 0.0978 - 0.0978)
Archetype Transform Summary:
archetype_transform_mean: 0.000501 (range: 0.000501 - 0.000501)
archetype_transform_std: 0.114788 (range: 0.114788 - 0.114788)
archetype_transform_norm: 8.196770 (range: 8.196770 - 8.196770)
archetype_transform_grad_norm: 0.280055 (range: 0.280055 - 0.280055)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0640, max=0.4116, mean=0.2000
Batch reconstruction MSE: 1.0744
Archetype stats: min=-20.1147, max=11.8853
Archetype change since last debug: 1.767498
Archetype gradients: norm=0.027222, mean=0.001363
Epoch 1/1
Average loss: 0.7807
Archetypal loss: 0.8591
KLD loss: 0.0747
Reconstruction loss: 0.8591
Archetype R²: 0.0975
Archetype transform grad norm: 0.283422
Archetype transform param norm: 8.2415
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.7807 (range: 0.7807 - 0.7807)
archetypal_loss: 0.8591 (range: 0.8591 - 0.8591)
kld_loss: 0.0747 (range: 0.0747 - 0.0747)
reconstruction_loss: 0.8591 (range: 0.8591 - 0.8591)
archetype_r2: 0.0975 (range: 0.0975 - 0.0975)
Archetype Transform Summary:
archetype_transform_mean: 0.000562 (range: 0.000562 - 0.000562)
archetype_transform_std: 0.115414 (range: 0.115414 - 0.115414)
archetype_transform_norm: 8.241532 (range: 8.241532 - 8.241532)
archetype_transform_grad_norm: 0.283422 (range: 0.283422 - 0.283422)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0797, max=0.4068, mean=0.2000
Batch reconstruction MSE: 1.0082
Archetype stats: min=-20.3552, max=11.9704
Archetype change since last debug: 1.204966
Archetype gradients: norm=0.035168, mean=0.001510
Epoch 1/1
Average loss: 0.7795
Archetypal loss: 0.8576
KLD loss: 0.0767
Reconstruction loss: 0.8576
Archetype R²: 0.0989
Archetype transform grad norm: 0.282589
Archetype transform param norm: 8.2763
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.7795 (range: 0.7795 - 0.7795)
archetypal_loss: 0.8576 (range: 0.8576 - 0.8576)
kld_loss: 0.0767 (range: 0.0767 - 0.0767)
reconstruction_loss: 0.8576 (range: 0.8576 - 0.8576)
archetype_r2: 0.0989 (range: 0.0989 - 0.0989)
Archetype Transform Summary:
archetype_transform_mean: 0.000550 (range: 0.000550 - 0.000550)
archetype_transform_std: 0.115901 (range: 0.115901 - 0.115901)
archetype_transform_norm: 8.276264 (range: 8.276264 - 8.276264)
archetype_transform_grad_norm: 0.282589 (range: 0.282589 - 0.282589)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0861, max=0.3979, mean=0.2000
Batch reconstruction MSE: 1.0480
Archetype stats: min=-21.1057, max=12.3795
Archetype change since last debug: 1.848732
Archetype gradients: norm=0.032891, mean=0.001632
Epoch 1/1
Average loss: 0.7797
Archetypal loss: 0.8585
KLD loss: 0.0710
Reconstruction loss: 0.8585
Archetype R²: 0.0980
Archetype transform grad norm: 0.293023
Archetype transform param norm: 8.3232
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.7797 (range: 0.7797 - 0.7797)
archetypal_loss: 0.8585 (range: 0.8585 - 0.8585)
kld_loss: 0.0710 (range: 0.0710 - 0.0710)
reconstruction_loss: 0.8585 (range: 0.8585 - 0.8585)
archetype_r2: 0.0980 (range: 0.0980 - 0.0980)
Archetype Transform Summary:
archetype_transform_mean: 0.000580 (range: 0.000580 - 0.000580)
archetype_transform_std: 0.116559 (range: 0.116559 - 0.116559)
archetype_transform_norm: 8.323231 (range: 8.323231 - 8.323231)
archetype_transform_grad_norm: 0.293023 (range: 0.293023 - 0.293023)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0769, max=0.4069, mean=0.2000
Batch reconstruction MSE: 1.0463
Archetype stats: min=-21.2703, max=12.4021
Archetype change since last debug: 1.187136
Archetype gradients: norm=0.057658, mean=0.002557
Epoch 1/1
Average loss: 0.7805
Archetypal loss: 0.8588
KLD loss: 0.0755
Reconstruction loss: 0.8588
Archetype R²: 0.0977
Archetype transform grad norm: 0.295962
Archetype transform param norm: 8.3409
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.7805 (range: 0.7805 - 0.7805)
archetypal_loss: 0.8588 (range: 0.8588 - 0.8588)
kld_loss: 0.0755 (range: 0.0755 - 0.0755)
reconstruction_loss: 0.8588 (range: 0.8588 - 0.8588)
archetype_r2: 0.0977 (range: 0.0977 - 0.0977)
Archetype Transform Summary:
archetype_transform_mean: 0.000588 (range: 0.000588 - 0.000588)
archetype_transform_std: 0.116806 (range: 0.116806 - 0.116806)
archetype_transform_norm: 8.340921 (range: 8.340921 - 8.340921)
archetype_transform_grad_norm: 0.295962 (range: 0.295962 - 0.295962)
Fold 2/3
Model input_dim: 50 (auto-detected from data)
Archetypes parameter registered: True
Archetypes requires_grad: True
Deep_AA (Deep Archetypal Analysis) initialized:
- Single-stage architecture (like Deep_2)
- Inflation factor: 1.5
- Direct archetypal coordinates (no bottleneck)
Consolidated Archetype Initialization
PCHA: True, Inflation: True (factor: 1.5)
Test inflation: False
Running PCHA initialization...
Input shape: (128, 50)
Target archetypes: 5
Running PCHA with 5 archetypes...
Data shape for PCHA: (50, 128)
PCHA Results:
Archetypes shape: (5, 50)
Archetype R²: 0.3240
SSE: 3983.7531
PCHA archetype R²: 0.3240
Archetype shape: (5, 50)
[OK] Initialized 5 archetypes using PCHA
Scalar Archetypal Inflation (factor: 1.50)
[OK] Inflation complete
[STATS] Positioning verification:
Data radius (max): 28.203
Data radius (mean): 5.939
Archetype distances: 4.465 to 36.565
Archetypes outside data: 1/5
Min archetype separation: 9.446
[OK] Archetype initialization complete (success: True)
[OK] Archetype initialization complete (PCHA: True, Inflation: 1.5)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0002, max=0.9629, mean=0.2000
Batch reconstruction MSE: 0.9933
Archetype stats: min=-2.3857, max=3.4697
Archetype gradients: norm=0.012566, mean=0.000620
Epoch 1/1
Average loss: 0.8666
Archetypal loss: 0.9589
KLD loss: 0.0362
Reconstruction loss: 0.9589
Archetype R²: -0.0207
Archetype transform grad norm: 0.237640
Archetype transform param norm: 5.8493
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.8666 (range: 0.8666 - 0.8666)
archetypal_loss: 0.9589 (range: 0.9589 - 0.9589)
kld_loss: 0.0362 (range: 0.0362 - 0.0362)
reconstruction_loss: 0.9589 (range: 0.9589 - 0.9589)
archetype_r2: -0.0207 (range: -0.0207 - -0.0207)
Archetype Transform Summary:
archetype_transform_mean: -0.000781 (range: -0.000781 - -0.000781)
archetype_transform_std: 0.081911 (range: 0.081911 - 0.081911)
archetype_transform_norm: 5.849318 (range: 5.849318 - 5.849318)
archetype_transform_grad_norm: 0.237640 (range: 0.237640 - 0.237640)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0002, max=0.9568, mean=0.2000
Batch reconstruction MSE: 0.8547
Archetype stats: min=-0.8328, max=0.9883
Archetype change since last debug: 8.391176
Archetype gradients: norm=0.003478, mean=0.000169
Epoch 1/1
Average loss: 0.8571
Archetypal loss: 0.9428
KLD loss: 0.0859
Reconstruction loss: 0.9428
Archetype R²: -0.0033
Archetype transform grad norm: 0.154850
Archetype transform param norm: 5.8564
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.8571 (range: 0.8571 - 0.8571)
archetypal_loss: 0.9428 (range: 0.9428 - 0.9428)
kld_loss: 0.0859 (range: 0.0859 - 0.0859)
reconstruction_loss: 0.9428 (range: 0.9428 - 0.9428)
archetype_r2: -0.0033 (range: -0.0033 - -0.0033)
Archetype Transform Summary:
archetype_transform_mean: -0.000763 (range: -0.000763 - -0.000763)
archetype_transform_std: 0.082011 (range: 0.082011 - 0.082011)
archetype_transform_norm: 5.856418 (range: 5.856418 - 5.856418)
archetype_transform_grad_norm: 0.154850 (range: 0.154850 - 0.154850)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0003, max=0.8438, mean=0.2000
Batch reconstruction MSE: 0.8682
Archetype stats: min=-1.3123, max=1.2490
Archetype change since last debug: 1.984605
Archetype gradients: norm=0.003819, mean=0.000181
Epoch 1/1
Average loss: 0.8452
Archetypal loss: 0.9300
KLD loss: 0.0818
Reconstruction loss: 0.9300
Archetype R²: 0.0103
Archetype transform grad norm: 0.178899
Archetype transform param norm: 5.9400
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.8452 (range: 0.8452 - 0.8452)
archetypal_loss: 0.9300 (range: 0.9300 - 0.9300)
kld_loss: 0.0818 (range: 0.0818 - 0.0818)
reconstruction_loss: 0.9300 (range: 0.9300 - 0.9300)
archetype_r2: 0.0103 (range: 0.0103 - 0.0103)
Archetype Transform Summary:
archetype_transform_mean: -0.000856 (range: -0.000856 - -0.000856)
archetype_transform_std: 0.083180 (range: 0.083180 - 0.083180)
archetype_transform_norm: 5.939972 (range: 5.939972 - 5.939972)
archetype_transform_grad_norm: 0.178899 (range: 0.178899 - 0.178899)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0014, max=0.9255, mean=0.2000
Batch reconstruction MSE: 0.9551
Archetype stats: min=-2.8438, max=2.4405
Archetype change since last debug: 5.923936
Archetype gradients: norm=0.012627, mean=0.000511
Epoch 1/1
Average loss: 0.8388
Archetypal loss: 0.9156
KLD loss: 0.1470
Reconstruction loss: 0.9156
Archetype R²: 0.0255
Archetype transform grad norm: 0.215302
Archetype transform param norm: 6.1346
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.8388 (range: 0.8388 - 0.8388)
archetypal_loss: 0.9156 (range: 0.9156 - 0.9156)
kld_loss: 0.1470 (range: 0.1470 - 0.1470)
reconstruction_loss: 0.9156 (range: 0.9156 - 0.9156)
archetype_r2: 0.0255 (range: 0.0255 - 0.0255)
Archetype Transform Summary:
archetype_transform_mean: -0.000994 (range: -0.000994 - -0.000994)
archetype_transform_std: 0.085905 (range: 0.085905 - 0.085905)
archetype_transform_norm: 6.134628 (range: 6.134628 - 6.134628)
archetype_transform_grad_norm: 0.215302 (range: 0.215302 - 0.215302)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0024, max=0.9182, mean=0.2000
Batch reconstruction MSE: 1.0188
Archetype stats: min=-3.8261, max=3.5060
Archetype change since last debug: 6.487609
Archetype gradients: norm=0.038414, mean=0.001800
Epoch 1/1
Average loss: 0.8281
Archetypal loss: 0.8981
KLD loss: 0.1979
Reconstruction loss: 0.8981
Archetype R²: 0.0440
Archetype transform grad norm: 0.233382
Archetype transform param norm: 6.3950
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.8281 (range: 0.8281 - 0.8281)
archetypal_loss: 0.8981 (range: 0.8981 - 0.8981)
kld_loss: 0.1979 (range: 0.1979 - 0.1979)
reconstruction_loss: 0.8981 (range: 0.8981 - 0.8981)
archetype_r2: 0.0440 (range: 0.0440 - 0.0440)
Archetype Transform Summary:
archetype_transform_mean: -0.000924 (range: -0.000924 - -0.000924)
archetype_transform_std: 0.089552 (range: 0.089552 - 0.089552)
archetype_transform_norm: 6.395030 (range: 6.395030 - 6.395030)
archetype_transform_grad_norm: 0.233382 (range: 0.233382 - 0.233382)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0020, max=0.8996, mean=0.2000
Batch reconstruction MSE: 1.1696
Archetype stats: min=-4.7327, max=5.0092
Archetype change since last debug: 6.955781
Archetype gradients: norm=0.028119, mean=0.001213
Epoch 1/1
Average loss: 0.8150
Archetypal loss: 0.8858
KLD loss: 0.1778
Reconstruction loss: 0.8858
Archetype R²: 0.0569
Archetype transform grad norm: 0.276672
Archetype transform param norm: 6.6776
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.8150 (range: 0.8150 - 0.8150)
archetypal_loss: 0.8858 (range: 0.8858 - 0.8858)
kld_loss: 0.1778 (range: 0.1778 - 0.1778)
reconstruction_loss: 0.8858 (range: 0.8858 - 0.8858)
archetype_r2: 0.0569 (range: 0.0569 - 0.0569)
Archetype Transform Summary:
archetype_transform_mean: -0.000876 (range: -0.000876 - -0.000876)
archetype_transform_std: 0.093510 (range: 0.093510 - 0.093510)
archetype_transform_norm: 6.677575 (range: 6.677575 - 6.677575)
archetype_transform_grad_norm: 0.276672 (range: 0.276672 - 0.276672)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0014, max=0.9373, mean=0.2000
Batch reconstruction MSE: 1.2720
Archetype stats: min=-6.5996, max=6.2414
Archetype change since last debug: 6.719379
Archetype gradients: norm=0.090869, mean=0.003850
Epoch 1/1
Average loss: 0.8112
Archetypal loss: 0.8788
KLD loss: 0.2026
Reconstruction loss: 0.8788
Archetype R²: 0.0640
Archetype transform grad norm: 0.265554
Archetype transform param norm: 6.8711
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.8112 (range: 0.8112 - 0.8112)
archetypal_loss: 0.8788 (range: 0.8788 - 0.8788)
kld_loss: 0.2026 (range: 0.2026 - 0.2026)
reconstruction_loss: 0.8788 (range: 0.8788 - 0.8788)
archetype_r2: 0.0640 (range: 0.0640 - 0.0640)
Archetype Transform Summary:
archetype_transform_mean: -0.000651 (range: -0.000651 - -0.000651)
archetype_transform_std: 0.096221 (range: 0.096221 - 0.096221)
archetype_transform_norm: 6.871056 (range: 6.871056 - 6.871056)
archetype_transform_grad_norm: 0.265554 (range: 0.265554 - 0.265554)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0007, max=0.8257, mean=0.2000
Batch reconstruction MSE: 1.2148
Archetype stats: min=-8.9203, max=5.9868
Archetype change since last debug: 5.137959
Archetype gradients: norm=0.094143, mean=0.003858
Epoch 1/1
Average loss: 0.8020
Archetypal loss: 0.8709
KLD loss: 0.1815
Reconstruction loss: 0.8709
Archetype R²: 0.0726
Archetype transform grad norm: 0.260244
Archetype transform param norm: 7.0056
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.8020 (range: 0.8020 - 0.8020)
archetypal_loss: 0.8709 (range: 0.8709 - 0.8709)
kld_loss: 0.1815 (range: 0.1815 - 0.1815)
reconstruction_loss: 0.8709 (range: 0.8709 - 0.8709)
archetype_r2: 0.0726 (range: 0.0726 - 0.0726)
Archetype Transform Summary:
archetype_transform_mean: -0.000600 (range: -0.000600 - -0.000600)
archetype_transform_std: 0.098106 (range: 0.098106 - 0.098106)
archetype_transform_norm: 7.005588 (range: 7.005588 - 7.005588)
archetype_transform_grad_norm: 0.260244 (range: 0.260244 - 0.260244)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0064, max=0.7945, mean=0.2000
Batch reconstruction MSE: 1.2859
Archetype stats: min=-9.6165, max=6.6945
Archetype change since last debug: 3.401941
Archetype gradients: norm=0.072733, mean=0.003445
Epoch 1/1
Average loss: 0.8010
Archetypal loss: 0.8701
KLD loss: 0.1788
Reconstruction loss: 0.8701
Archetype R²: 0.0731
Archetype transform grad norm: 0.294547
Archetype transform param norm: 7.1160
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.8010 (range: 0.8010 - 0.8010)
archetypal_loss: 0.8701 (range: 0.8701 - 0.8701)
kld_loss: 0.1788 (range: 0.1788 - 0.1788)
reconstruction_loss: 0.8701 (range: 0.8701 - 0.8701)
archetype_r2: 0.0731 (range: 0.0731 - 0.0731)
Archetype Transform Summary:
archetype_transform_mean: -0.000473 (range: -0.000473 - -0.000473)
archetype_transform_std: 0.099653 (range: 0.099653 - 0.099653)
archetype_transform_norm: 7.116038 (range: 7.116038 - 7.116038)
archetype_transform_grad_norm: 0.294547 (range: 0.294547 - 0.294547)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0078, max=0.7818, mean=0.2000
Batch reconstruction MSE: 1.2801
Archetype stats: min=-10.4637, max=7.2074
Archetype change since last debug: 3.116527
Archetype gradients: norm=0.169117, mean=0.006109
Epoch 1/1
Average loss: 0.7970
Archetypal loss: 0.8673
KLD loss: 0.1638
Reconstruction loss: 0.8673
Archetype R²: 0.0763
Archetype transform grad norm: 0.273923
Archetype transform param norm: 7.1585
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.7970 (range: 0.7970 - 0.7970)
archetypal_loss: 0.8673 (range: 0.8673 - 0.8673)
kld_loss: 0.1638 (range: 0.1638 - 0.1638)
reconstruction_loss: 0.8673 (range: 0.8673 - 0.8673)
archetype_r2: 0.0763 (range: 0.0763 - 0.0763)
Archetype Transform Summary:
archetype_transform_mean: -0.000587 (range: -0.000587 - -0.000587)
archetype_transform_std: 0.100246 (range: 0.100246 - 0.100246)
archetype_transform_norm: 7.158454 (range: 7.158454 - 7.158454)
archetype_transform_grad_norm: 0.273923 (range: 0.273923 - 0.273923)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0006, max=0.9236, mean=0.2000
Batch reconstruction MSE: 1.1607
Archetype stats: min=-11.1133, max=7.7086
Archetype change since last debug: 2.742239
Archetype gradients: norm=0.048130, mean=0.002270
Epoch 1/1
Average loss: 0.7906
Archetypal loss: 0.8620
KLD loss: 0.1474
Reconstruction loss: 0.8620
Archetype R²: 0.0821
Archetype transform grad norm: 0.264476
Archetype transform param norm: 7.2299
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.7906 (range: 0.7906 - 0.7906)
archetypal_loss: 0.8620 (range: 0.8620 - 0.8620)
kld_loss: 0.1474 (range: 0.1474 - 0.1474)
reconstruction_loss: 0.8620 (range: 0.8620 - 0.8620)
archetype_r2: 0.0821 (range: 0.0821 - 0.0821)
Archetype Transform Summary:
archetype_transform_mean: -0.000490 (range: -0.000490 - -0.000490)
archetype_transform_std: 0.101248 (range: 0.101248 - 0.101248)
archetype_transform_norm: 7.229929 (range: 7.229929 - 7.229929)
archetype_transform_grad_norm: 0.264476 (range: 0.264476 - 0.264476)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0176, max=0.6006, mean=0.2000
Batch reconstruction MSE: 0.9586
Archetype stats: min=-12.1575, max=8.0368
Archetype change since last debug: 2.509204
Archetype gradients: norm=0.033298, mean=0.001222
Epoch 1/1
Average loss: 0.7844
Archetypal loss: 0.8554
KLD loss: 0.1445
Reconstruction loss: 0.8554
Archetype R²: 0.0895
Archetype transform grad norm: 0.254603
Archetype transform param norm: 7.3380
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.7844 (range: 0.7844 - 0.7844)
archetypal_loss: 0.8554 (range: 0.8554 - 0.8554)
kld_loss: 0.1445 (range: 0.1445 - 0.1445)
reconstruction_loss: 0.8554 (range: 0.8554 - 0.8554)
archetype_r2: 0.0895 (range: 0.0895 - 0.0895)
Archetype Transform Summary:
archetype_transform_mean: -0.000505 (range: -0.000505 - -0.000505)
archetype_transform_std: 0.102761 (range: 0.102761 - 0.102761)
archetype_transform_norm: 7.338005 (range: 7.338005 - 7.338005)
archetype_transform_grad_norm: 0.254603 (range: 0.254603 - 0.254603)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0127, max=0.5882, mean=0.2000
Batch reconstruction MSE: 1.0693
Archetype stats: min=-13.0358, max=8.5889
Archetype change since last debug: 2.940506
Archetype gradients: norm=0.053556, mean=0.002792
Epoch 1/1
Average loss: 0.7843
Archetypal loss: 0.8568
KLD loss: 0.1324
Reconstruction loss: 0.8568
Archetype R²: 0.0878
Archetype transform grad norm: 0.268478
Archetype transform param norm: 7.4232
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.7843 (range: 0.7843 - 0.7843)
archetypal_loss: 0.8568 (range: 0.8568 - 0.8568)
kld_loss: 0.1324 (range: 0.1324 - 0.1324)
reconstruction_loss: 0.8568 (range: 0.8568 - 0.8568)
archetype_r2: 0.0878 (range: 0.0878 - 0.0878)
Archetype Transform Summary:
archetype_transform_mean: -0.000438 (range: -0.000438 - -0.000438)
archetype_transform_std: 0.103955 (range: 0.103955 - 0.103955)
archetype_transform_norm: 7.423212 (range: 7.423212 - 7.423212)
archetype_transform_grad_norm: 0.268478 (range: 0.268478 - 0.268478)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0293, max=0.5611, mean=0.2000
Batch reconstruction MSE: 1.0176
Archetype stats: min=-13.9234, max=8.9681
Archetype change since last debug: 2.238027
Archetype gradients: norm=0.058088, mean=0.002057
Epoch 1/1
Average loss: 0.7832
Archetypal loss: 0.8556
KLD loss: 0.1312
Reconstruction loss: 0.8556
Archetype R²: 0.0891
Archetype transform grad norm: 0.277784
Archetype transform param norm: 7.5029
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.7832 (range: 0.7832 - 0.7832)
archetypal_loss: 0.8556 (range: 0.8556 - 0.8556)
kld_loss: 0.1312 (range: 0.1312 - 0.1312)
reconstruction_loss: 0.8556 (range: 0.8556 - 0.8556)
archetype_r2: 0.0891 (range: 0.0891 - 0.0891)
Archetype Transform Summary:
archetype_transform_mean: -0.000491 (range: -0.000491 - -0.000491)
archetype_transform_std: 0.105070 (range: 0.105070 - 0.105070)
archetype_transform_norm: 7.502861 (range: 7.502861 - 7.502861)
archetype_transform_grad_norm: 0.277784 (range: 0.277784 - 0.277784)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0109, max=0.6668, mean=0.2000
Batch reconstruction MSE: 1.2139
Archetype stats: min=-14.1279, max=9.4796
Archetype change since last debug: 1.996501
Archetype gradients: norm=0.090193, mean=0.004517
Epoch 1/1
Average loss: 0.7872
Archetypal loss: 0.8597
KLD loss: 0.1350
Reconstruction loss: 0.8597
Archetype R²: 0.0843
Archetype transform grad norm: 0.287034
Archetype transform param norm: 7.5280
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.7872 (range: 0.7872 - 0.7872)
archetypal_loss: 0.8597 (range: 0.8597 - 0.8597)
kld_loss: 0.1350 (range: 0.1350 - 0.1350)
reconstruction_loss: 0.8597 (range: 0.8597 - 0.8597)
archetype_r2: 0.0843 (range: 0.0843 - 0.0843)
Archetype Transform Summary:
archetype_transform_mean: -0.000406 (range: -0.000406 - -0.000406)
archetype_transform_std: 0.105423 (range: 0.105423 - 0.105423)
archetype_transform_norm: 7.528047 (range: 7.528047 - 7.528047)
archetype_transform_grad_norm: 0.287034 (range: 0.287034 - 0.287034)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0006, max=0.8627, mean=0.2000
Batch reconstruction MSE: 1.1109
Archetype stats: min=-14.5685, max=9.6352
Archetype change since last debug: 1.247612
Archetype gradients: norm=0.054405, mean=0.001969
Epoch 1/1
Average loss: 0.7843
Archetypal loss: 0.8568
KLD loss: 0.1324
Reconstruction loss: 0.8568
Archetype R²: 0.0877
Archetype transform grad norm: 0.281689
Archetype transform param norm: 7.5744
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.7843 (range: 0.7843 - 0.7843)
archetypal_loss: 0.8568 (range: 0.8568 - 0.8568)
kld_loss: 0.1324 (range: 0.1324 - 0.1324)
reconstruction_loss: 0.8568 (range: 0.8568 - 0.8568)
archetype_r2: 0.0877 (range: 0.0877 - 0.0877)
Archetype Transform Summary:
archetype_transform_mean: -0.000467 (range: -0.000467 - -0.000467)
archetype_transform_std: 0.106073 (range: 0.106073 - 0.106073)
archetype_transform_norm: 7.574443 (range: 7.574443 - 7.574443)
archetype_transform_grad_norm: 0.281689 (range: 0.281689 - 0.281689)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0189, max=0.7923, mean=0.2000
Batch reconstruction MSE: 1.2120
Archetype stats: min=-14.6215, max=10.0213
Archetype change since last debug: 1.642771
Archetype gradients: norm=0.097091, mean=0.004753
Epoch 1/1
Average loss: 0.7858
Archetypal loss: 0.8587
KLD loss: 0.1296
Reconstruction loss: 0.8587
Archetype R²: 0.0853
Archetype transform grad norm: 0.288843
Archetype transform param norm: 7.5876
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.7858 (range: 0.7858 - 0.7858)
archetypal_loss: 0.8587 (range: 0.8587 - 0.8587)
kld_loss: 0.1296 (range: 0.1296 - 0.1296)
reconstruction_loss: 0.8587 (range: 0.8587 - 0.8587)
archetype_r2: 0.0853 (range: 0.0853 - 0.0853)
Archetype Transform Summary:
archetype_transform_mean: -0.000338 (range: -0.000338 - -0.000338)
archetype_transform_std: 0.106257 (range: 0.106257 - 0.106257)
archetype_transform_norm: 7.587586 (range: 7.587586 - 7.587586)
archetype_transform_grad_norm: 0.288843 (range: 0.288843 - 0.288843)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0035, max=0.6766, mean=0.2000
Batch reconstruction MSE: 1.1586
Archetype stats: min=-15.2064, max=9.6282
Archetype change since last debug: 1.889732
Archetype gradients: norm=0.070082, mean=0.002800
Epoch 1/1
Average loss: 0.7859
Archetypal loss: 0.8585
KLD loss: 0.1326
Reconstruction loss: 0.8585
Archetype R²: 0.0856
Archetype transform grad norm: 0.304341
Archetype transform param norm: 7.6230
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.7859 (range: 0.7859 - 0.7859)
archetypal_loss: 0.8585 (range: 0.8585 - 0.8585)
kld_loss: 0.1326 (range: 0.1326 - 0.1326)
reconstruction_loss: 0.8585 (range: 0.8585 - 0.8585)
archetype_r2: 0.0856 (range: 0.0856 - 0.0856)
Archetype Transform Summary:
archetype_transform_mean: -0.000362 (range: -0.000362 - -0.000362)
archetype_transform_std: 0.106753 (range: 0.106753 - 0.106753)
archetype_transform_norm: 7.622967 (range: 7.622967 - 7.622967)
archetype_transform_grad_norm: 0.304341 (range: 0.304341 - 0.304341)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0005, max=0.9569, mean=0.2000
Batch reconstruction MSE: 1.0979
Archetype stats: min=-14.8630, max=9.8420
Archetype change since last debug: 1.617656
Archetype gradients: norm=0.108681, mean=0.004721
Epoch 1/1
Average loss: 0.7832
Archetypal loss: 0.8552
KLD loss: 0.1357
Reconstruction loss: 0.8552
Archetype R²: 0.0893
Archetype transform grad norm: 0.276373
Archetype transform param norm: 7.6344
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.7832 (range: 0.7832 - 0.7832)
archetypal_loss: 0.8552 (range: 0.8552 - 0.8552)
kld_loss: 0.1357 (range: 0.1357 - 0.1357)
reconstruction_loss: 0.8552 (range: 0.8552 - 0.8552)
archetype_r2: 0.0893 (range: 0.0893 - 0.0893)
Archetype Transform Summary:
archetype_transform_mean: -0.000347 (range: -0.000347 - -0.000347)
archetype_transform_std: 0.106913 (range: 0.106913 - 0.106913)
archetype_transform_norm: 7.634426 (range: 7.634426 - 7.634426)
archetype_transform_grad_norm: 0.276373 (range: 0.276373 - 0.276373)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0114, max=0.6338, mean=0.2000
Batch reconstruction MSE: 1.2503
Archetype stats: min=-15.4199, max=10.2294
Archetype change since last debug: 1.583820
Archetype gradients: norm=0.062769, mean=0.003083
Epoch 1/1
Average loss: 0.7840
Archetypal loss: 0.8580
KLD loss: 0.1186
Reconstruction loss: 0.8580
Archetype R²: 0.0860
Archetype transform grad norm: 0.286599
Archetype transform param norm: 7.6520
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.7840 (range: 0.7840 - 0.7840)
archetypal_loss: 0.8580 (range: 0.8580 - 0.8580)
kld_loss: 0.1186 (range: 0.1186 - 0.1186)
reconstruction_loss: 0.8580 (range: 0.8580 - 0.8580)
archetype_r2: 0.0860 (range: 0.0860 - 0.0860)
Archetype Transform Summary:
archetype_transform_mean: -0.000355 (range: -0.000355 - -0.000355)
archetype_transform_std: 0.107160 (range: 0.107160 - 0.107160)
archetype_transform_norm: 7.652038 (range: 7.652038 - 7.652038)
archetype_transform_grad_norm: 0.286599 (range: 0.286599 - 0.286599)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0384, max=0.4834, mean=0.2000
Batch reconstruction MSE: 0.9507
Archetype stats: min=-15.3863, max=10.2270
Archetype change since last debug: 1.114874
Archetype gradients: norm=0.042086, mean=0.001757
Epoch 1/1
Average loss: 0.7774
Archetypal loss: 0.8501
KLD loss: 0.1223
Reconstruction loss: 0.8501
Archetype R²: 0.0949
Archetype transform grad norm: 0.258807
Archetype transform param norm: 7.6974
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.7774 (range: 0.7774 - 0.7774)
archetypal_loss: 0.8501 (range: 0.8501 - 0.8501)
kld_loss: 0.1223 (range: 0.1223 - 0.1223)
reconstruction_loss: 0.8501 (range: 0.8501 - 0.8501)
archetype_r2: 0.0949 (range: 0.0949 - 0.0949)
Archetype Transform Summary:
archetype_transform_mean: -0.000347 (range: -0.000347 - -0.000347)
archetype_transform_std: 0.107796 (range: 0.107796 - 0.107796)
archetype_transform_norm: 7.697450 (range: 7.697450 - 7.697450)
archetype_transform_grad_norm: 0.258807 (range: 0.258807 - 0.258807)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0287, max=0.6242, mean=0.2000
Batch reconstruction MSE: 0.9861
Archetype stats: min=-16.1262, max=10.6998
Archetype change since last debug: 2.053893
Archetype gradients: norm=0.043950, mean=0.002005
Epoch 1/1
Average loss: 0.7770
Archetypal loss: 0.8508
KLD loss: 0.1126
Reconstruction loss: 0.8508
Archetype R²: 0.0941
Archetype transform grad norm: 0.268212
Archetype transform param norm: 7.7564
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.7770 (range: 0.7770 - 0.7770)
archetypal_loss: 0.8508 (range: 0.8508 - 0.8508)
kld_loss: 0.1126 (range: 0.1126 - 0.1126)
reconstruction_loss: 0.8508 (range: 0.8508 - 0.8508)
archetype_r2: 0.0941 (range: 0.0941 - 0.0941)
Archetype Transform Summary:
archetype_transform_mean: -0.000357 (range: -0.000357 - -0.000357)
archetype_transform_std: 0.108622 (range: 0.108622 - 0.108622)
archetype_transform_norm: 7.756411 (range: 7.756411 - 7.756411)
archetype_transform_grad_norm: 0.268212 (range: 0.268212 - 0.268212)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0368, max=0.5740, mean=0.2000
Batch reconstruction MSE: 0.9949
Archetype stats: min=-16.3750, max=11.0396
Archetype change since last debug: 1.507129
Archetype gradients: norm=0.075210, mean=0.003081
Epoch 1/1
Average loss: 0.7774
Archetypal loss: 0.8510
KLD loss: 0.1146
Reconstruction loss: 0.8510
Archetype R²: 0.0938
Archetype transform grad norm: 0.280933
Archetype transform param norm: 7.7969
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.7774 (range: 0.7774 - 0.7774)
archetypal_loss: 0.8510 (range: 0.8510 - 0.8510)
kld_loss: 0.1146 (range: 0.1146 - 0.1146)
reconstruction_loss: 0.8510 (range: 0.8510 - 0.8510)
archetype_r2: 0.0938 (range: 0.0938 - 0.0938)
Archetype Transform Summary:
archetype_transform_mean: -0.000364 (range: -0.000364 - -0.000364)
archetype_transform_std: 0.109189 (range: 0.109189 - 0.109189)
archetype_transform_norm: 7.796947 (range: 7.796947 - 7.796947)
archetype_transform_grad_norm: 0.280933 (range: 0.280933 - 0.280933)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0190, max=0.4549, mean=0.2000
Batch reconstruction MSE: 1.1170
Archetype stats: min=-16.9021, max=11.3859
Archetype change since last debug: 1.442873
Archetype gradients: norm=0.072660, mean=0.003568
Epoch 1/1
Average loss: 0.7789
Archetypal loss: 0.8536
KLD loss: 0.1064
Reconstruction loss: 0.8536
Archetype R²: 0.0908
Archetype transform grad norm: 0.284391
Archetype transform param norm: 7.8239
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.7789 (range: 0.7789 - 0.7789)
archetypal_loss: 0.8536 (range: 0.8536 - 0.8536)
kld_loss: 0.1064 (range: 0.1064 - 0.1064)
reconstruction_loss: 0.8536 (range: 0.8536 - 0.8536)
archetype_r2: 0.0908 (range: 0.0908 - 0.0908)
Archetype Transform Summary:
archetype_transform_mean: -0.000352 (range: -0.000352 - -0.000352)
archetype_transform_std: 0.109566 (range: 0.109566 - 0.109566)
archetype_transform_norm: 7.823872 (range: 7.823872 - 7.823872)
archetype_transform_grad_norm: 0.284391 (range: 0.284391 - 0.284391)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0341, max=0.5118, mean=0.2000
Batch reconstruction MSE: 1.1070
Archetype stats: min=-16.8021, max=11.6467
Archetype change since last debug: 1.125020
Archetype gradients: norm=0.086663, mean=0.004160
Epoch 1/1
Average loss: 0.7814
Archetypal loss: 0.8546
KLD loss: 0.1232
Reconstruction loss: 0.8546
Archetype R²: 0.0898
Archetype transform grad norm: 0.305480
Archetype transform param norm: 7.8313
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.7814 (range: 0.7814 - 0.7814)
archetypal_loss: 0.8546 (range: 0.8546 - 0.8546)
kld_loss: 0.1232 (range: 0.1232 - 0.1232)
reconstruction_loss: 0.8546 (range: 0.8546 - 0.8546)
archetype_r2: 0.0898 (range: 0.0898 - 0.0898)
Archetype Transform Summary:
archetype_transform_mean: -0.000404 (range: -0.000404 - -0.000404)
archetype_transform_std: 0.109670 (range: 0.109670 - 0.109670)
archetype_transform_norm: 7.831320 (range: 7.831320 - 7.831320)
archetype_transform_grad_norm: 0.305480 (range: 0.305480 - 0.305480)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0302, max=0.5859, mean=0.2000
Batch reconstruction MSE: 1.2421
Archetype stats: min=-17.1885, max=11.8736
Archetype change since last debug: 1.593063
Archetype gradients: norm=0.096069, mean=0.004295
Epoch 1/1
Average loss: 0.7819
Archetypal loss: 0.8563
KLD loss: 0.1118
Reconstruction loss: 0.8563
Archetype R²: 0.0875
Archetype transform grad norm: 0.290862
Archetype transform param norm: 7.8270
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.7819 (range: 0.7819 - 0.7819)
archetypal_loss: 0.8563 (range: 0.8563 - 0.8563)
kld_loss: 0.1118 (range: 0.1118 - 0.1118)
reconstruction_loss: 0.8563 (range: 0.8563 - 0.8563)
archetype_r2: 0.0875 (range: 0.0875 - 0.0875)
Archetype Transform Summary:
archetype_transform_mean: -0.000375 (range: -0.000375 - -0.000375)
archetype_transform_std: 0.109609 (range: 0.109609 - 0.109609)
archetype_transform_norm: 7.826953 (range: 7.826953 - 7.826953)
archetype_transform_grad_norm: 0.290862 (range: 0.290862 - 0.290862)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0232, max=0.5171, mean=0.2000
Batch reconstruction MSE: 1.1685
Archetype stats: min=-16.7023, max=11.9683
Archetype change since last debug: 1.608403
Archetype gradients: norm=0.124872, mean=0.004652
Epoch 1/1
Average loss: 0.7793
Archetypal loss: 0.8543
KLD loss: 0.1044
Reconstruction loss: 0.8543
Archetype R²: 0.0899
Archetype transform grad norm: 0.275661
Archetype transform param norm: 7.8097
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.7793 (range: 0.7793 - 0.7793)
archetypal_loss: 0.8543 (range: 0.8543 - 0.8543)
kld_loss: 0.1044 (range: 0.1044 - 0.1044)
reconstruction_loss: 0.8543 (range: 0.8543 - 0.8543)
archetype_r2: 0.0899 (range: 0.0899 - 0.0899)
Archetype Transform Summary:
archetype_transform_mean: -0.000420 (range: -0.000420 - -0.000420)
archetype_transform_std: 0.109367 (range: 0.109367 - 0.109367)
archetype_transform_norm: 7.809685 (range: 7.809685 - 7.809685)
archetype_transform_grad_norm: 0.275661 (range: 0.275661 - 0.275661)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0449, max=0.5503, mean=0.2000
Batch reconstruction MSE: 0.9613
Archetype stats: min=-17.1537, max=11.9271
Archetype change since last debug: 1.437039
Archetype gradients: norm=0.048039, mean=0.002284
Epoch 1/1
Average loss: 0.7761
Archetypal loss: 0.8492
KLD loss: 0.1182
Reconstruction loss: 0.8492
Archetype R²: 0.0958
Archetype transform grad norm: 0.267647
Archetype transform param norm: 7.8532
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.7761 (range: 0.7761 - 0.7761)
archetypal_loss: 0.8492 (range: 0.8492 - 0.8492)
kld_loss: 0.1182 (range: 0.1182 - 0.1182)
reconstruction_loss: 0.8492 (range: 0.8492 - 0.8492)
archetype_r2: 0.0958 (range: 0.0958 - 0.0958)
Archetype Transform Summary:
archetype_transform_mean: -0.000405 (range: -0.000405 - -0.000405)
archetype_transform_std: 0.109976 (range: 0.109976 - 0.109976)
archetype_transform_norm: 7.853165 (range: 7.853165 - 7.853165)
archetype_transform_grad_norm: 0.267647 (range: 0.267647 - 0.267647)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0417, max=0.4780, mean=0.2000
Batch reconstruction MSE: 1.1500
Archetype stats: min=-17.3495, max=12.3109
Archetype change since last debug: 1.594486
Archetype gradients: norm=0.075660, mean=0.003193
Epoch 1/1
Average loss: 0.7772
Archetypal loss: 0.8528
KLD loss: 0.0964
Reconstruction loss: 0.8528
Archetype R²: 0.0914
Archetype transform grad norm: 0.268297
Archetype transform param norm: 7.8585
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.7772 (range: 0.7772 - 0.7772)
archetypal_loss: 0.8528 (range: 0.8528 - 0.8528)
kld_loss: 0.0964 (range: 0.0964 - 0.0964)
reconstruction_loss: 0.8528 (range: 0.8528 - 0.8528)
archetype_r2: 0.0914 (range: 0.0914 - 0.0914)
Archetype Transform Summary:
archetype_transform_mean: -0.000406 (range: -0.000406 - -0.000406)
archetype_transform_std: 0.110051 (range: 0.110051 - 0.110051)
archetype_transform_norm: 7.858475 (range: 7.858475 - 7.858475)
archetype_transform_grad_norm: 0.268297 (range: 0.268297 - 0.268297)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0604, max=0.5538, mean=0.2000
Batch reconstruction MSE: 0.8752
Archetype stats: min=-17.6366, max=12.2431
Archetype change since last debug: 0.831488
Archetype gradients: norm=0.026712, mean=0.001025
Epoch 1/1
Average loss: 0.7737
Archetypal loss: 0.8468
KLD loss: 0.1166
Reconstruction loss: 0.8468
Archetype R²: 0.0985
Archetype transform grad norm: 0.260429
Archetype transform param norm: 7.9137
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.7737 (range: 0.7737 - 0.7737)
archetypal_loss: 0.8468 (range: 0.8468 - 0.8468)
kld_loss: 0.1166 (range: 0.1166 - 0.1166)
reconstruction_loss: 0.8468 (range: 0.8468 - 0.8468)
archetype_r2: 0.0985 (range: 0.0985 - 0.0985)
Archetype Transform Summary:
archetype_transform_mean: -0.000408 (range: -0.000408 - -0.000408)
archetype_transform_std: 0.110825 (range: 0.110825 - 0.110825)
archetype_transform_norm: 7.913746 (range: 7.913746 - 7.913746)
archetype_transform_grad_norm: 0.260429 (range: 0.260429 - 0.260429)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0272, max=0.4580, mean=0.2000
Batch reconstruction MSE: 1.1584
Archetype stats: min=-18.1667, max=12.6583
Archetype change since last debug: 1.899060
Archetype gradients: norm=0.035543, mean=0.001685
Epoch 1/1
Average loss: 0.7763
Archetypal loss: 0.8526
KLD loss: 0.0894
Reconstruction loss: 0.8526
Archetype R²: 0.0916
Archetype transform grad norm: 0.273370
Archetype transform param norm: 7.9277
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.7763 (range: 0.7763 - 0.7763)
archetypal_loss: 0.8526 (range: 0.8526 - 0.8526)
kld_loss: 0.0894 (range: 0.0894 - 0.0894)
reconstruction_loss: 0.8526 (range: 0.8526 - 0.8526)
archetype_r2: 0.0916 (range: 0.0916 - 0.0916)
Archetype Transform Summary:
archetype_transform_mean: -0.000379 (range: -0.000379 - -0.000379)
archetype_transform_std: 0.111020 (range: 0.111020 - 0.111020)
archetype_transform_norm: 7.927656 (range: 7.927656 - 7.927656)
archetype_transform_grad_norm: 0.273370 (range: 0.273370 - 0.273370)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0629, max=0.5449, mean=0.2000
Batch reconstruction MSE: 0.8786
Archetype stats: min=-18.2641, max=12.5163
Archetype change since last debug: 0.828860
Archetype gradients: norm=0.025695, mean=0.000879
Epoch 1/1
Average loss: 0.7737
Archetypal loss: 0.8466
KLD loss: 0.1168
Reconstruction loss: 0.8466
Archetype R²: 0.0986
Archetype transform grad norm: 0.265055
Archetype transform param norm: 7.9727
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.7737 (range: 0.7737 - 0.7737)
archetypal_loss: 0.8466 (range: 0.8466 - 0.8466)
kld_loss: 0.1168 (range: 0.1168 - 0.1168)
reconstruction_loss: 0.8466 (range: 0.8466 - 0.8466)
archetype_r2: 0.0986 (range: 0.0986 - 0.0986)
Archetype Transform Summary:
archetype_transform_mean: -0.000403 (range: -0.000403 - -0.000403)
archetype_transform_std: 0.111650 (range: 0.111650 - 0.111650)
archetype_transform_norm: 7.972668 (range: 7.972668 - 7.972668)
archetype_transform_grad_norm: 0.265055 (range: 0.265055 - 0.265055)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0283, max=0.5017, mean=0.2000
Batch reconstruction MSE: 1.2246
Archetype stats: min=-18.6345, max=12.9248
Archetype change since last debug: 1.620905
Archetype gradients: norm=0.065040, mean=0.003235
Epoch 1/1
Average loss: 0.7773
Archetypal loss: 0.8538
KLD loss: 0.0882
Reconstruction loss: 0.8538
Archetype R²: 0.0901
Archetype transform grad norm: 0.277867
Archetype transform param norm: 7.9642
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.7773 (range: 0.7773 - 0.7773)
archetypal_loss: 0.8538 (range: 0.8538 - 0.8538)
kld_loss: 0.0882 (range: 0.0882 - 0.0882)
reconstruction_loss: 0.8538 (range: 0.8538 - 0.8538)
archetype_r2: 0.0901 (range: 0.0901 - 0.0901)
Archetype Transform Summary:
archetype_transform_mean: -0.000357 (range: -0.000357 - -0.000357)
archetype_transform_std: 0.111531 (range: 0.111531 - 0.111531)
archetype_transform_norm: 7.964178 (range: 7.964178 - 7.964178)
archetype_transform_grad_norm: 0.277867 (range: 0.277867 - 0.277867)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0657, max=0.5032, mean=0.2000
Batch reconstruction MSE: 0.8650
Archetype stats: min=-18.6634, max=12.8391
Archetype change since last debug: 1.111489
Archetype gradients: norm=0.017888, mean=0.000818
Epoch 1/1
Average loss: 0.7720
Archetypal loss: 0.8458
KLD loss: 0.1077
Reconstruction loss: 0.8458
Archetype R²: 0.0995
Archetype transform grad norm: 0.260786
Archetype transform param norm: 8.0110
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.7720 (range: 0.7720 - 0.7720)
archetypal_loss: 0.8458 (range: 0.8458 - 0.8458)
kld_loss: 0.1077 (range: 0.1077 - 0.1077)
reconstruction_loss: 0.8458 (range: 0.8458 - 0.8458)
archetype_r2: 0.0995 (range: 0.0995 - 0.0995)
Archetype Transform Summary:
archetype_transform_mean: -0.000397 (range: -0.000397 - -0.000397)
archetype_transform_std: 0.112187 (range: 0.112187 - 0.112187)
archetype_transform_norm: 8.011047 (range: 8.011047 - 8.011047)
archetype_transform_grad_norm: 0.260786 (range: 0.260786 - 0.260786)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0431, max=0.3954, mean=0.2000
Batch reconstruction MSE: 0.9600
Archetype stats: min=-19.0969, max=13.2644
Archetype change since last debug: 1.829592
Archetype gradients: norm=0.014152, mean=0.000768
Epoch 1/1
Average loss: 0.7718
Archetypal loss: 0.8477
KLD loss: 0.0886
Reconstruction loss: 0.8477
Archetype R²: 0.0972
Archetype transform grad norm: 0.271183
Archetype transform param norm: 8.0555
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.7718 (range: 0.7718 - 0.7718)
archetypal_loss: 0.8477 (range: 0.8477 - 0.8477)
kld_loss: 0.0886 (range: 0.0886 - 0.0886)
reconstruction_loss: 0.8477 (range: 0.8477 - 0.8477)
archetype_r2: 0.0972 (range: 0.0972 - 0.0972)
Archetype Transform Summary:
archetype_transform_mean: -0.000397 (range: -0.000397 - -0.000397)
archetype_transform_std: 0.112810 (range: 0.112810 - 0.112810)
archetype_transform_norm: 8.055496 (range: 8.055496 - 8.055496)
archetype_transform_grad_norm: 0.271183 (range: 0.271183 - 0.271183)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0674, max=0.5951, mean=0.2000
Batch reconstruction MSE: 0.8411
Archetype stats: min=-19.4410, max=13.5334
Archetype change since last debug: 1.048139
Archetype gradients: norm=0.013645, mean=0.000729
Epoch 1/1
Average loss: 0.7715
Archetypal loss: 0.8452
KLD loss: 0.1078
Reconstruction loss: 0.8452
Archetype R²: 0.1001
Archetype transform grad norm: 0.267370
Archetype transform param norm: 8.1091
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.7715 (range: 0.7715 - 0.7715)
archetypal_loss: 0.8452 (range: 0.8452 - 0.8452)
kld_loss: 0.1078 (range: 0.1078 - 0.1078)
reconstruction_loss: 0.8452 (range: 0.8452 - 0.8452)
archetype_r2: 0.1001 (range: 0.1001 - 0.1001)
Archetype Transform Summary:
archetype_transform_mean: -0.000412 (range: -0.000412 - -0.000412)
archetype_transform_std: 0.113561 (range: 0.113561 - 0.113561)
archetype_transform_norm: 8.109120 (range: 8.109120 - 8.109120)
archetype_transform_grad_norm: 0.267370 (range: 0.267370 - 0.267370)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0362, max=0.5376, mean=0.2000
Batch reconstruction MSE: 1.1656
Archetype stats: min=-20.0069, max=13.9600
Archetype change since last debug: 1.661254
Archetype gradients: norm=0.045832, mean=0.002196
Epoch 1/1
Average loss: 0.7746
Archetypal loss: 0.8518
KLD loss: 0.0798
Reconstruction loss: 0.8518
Archetype R²: 0.0924
Archetype transform grad norm: 0.274054
Archetype transform param norm: 8.1015
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.7746 (range: 0.7746 - 0.7746)
archetypal_loss: 0.8518 (range: 0.8518 - 0.8518)
kld_loss: 0.0798 (range: 0.0798 - 0.0798)
reconstruction_loss: 0.8518 (range: 0.8518 - 0.8518)
archetype_r2: 0.0924 (range: 0.0924 - 0.0924)
Archetype Transform Summary:
archetype_transform_mean: -0.000411 (range: -0.000411 - -0.000411)
archetype_transform_std: 0.113454 (range: 0.113454 - 0.113454)
archetype_transform_norm: 8.101460 (range: 8.101460 - 8.101460)
archetype_transform_grad_norm: 0.274054 (range: 0.274054 - 0.274054)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0604, max=0.4991, mean=0.2000
Batch reconstruction MSE: 0.8686
Archetype stats: min=-19.9088, max=13.9266
Archetype change since last debug: 1.157766
Archetype gradients: norm=0.024691, mean=0.001204
Epoch 1/1
Average loss: 0.7724
Archetypal loss: 0.8459
KLD loss: 0.1104
Reconstruction loss: 0.8459
Archetype R²: 0.0992
Archetype transform grad norm: 0.276377
Archetype transform param norm: 8.1349
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.7724 (range: 0.7724 - 0.7724)
archetypal_loss: 0.8459 (range: 0.8459 - 0.8459)
kld_loss: 0.1104 (range: 0.1104 - 0.1104)
reconstruction_loss: 0.8459 (range: 0.8459 - 0.8459)
archetype_r2: 0.0992 (range: 0.0992 - 0.0992)
Archetype Transform Summary:
archetype_transform_mean: -0.000419 (range: -0.000419 - -0.000419)
archetype_transform_std: 0.113922 (range: 0.113922 - 0.113922)
archetype_transform_norm: 8.134927 (range: 8.134927 - 8.134927)
archetype_transform_grad_norm: 0.276377 (range: 0.276377 - 0.276377)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0323, max=0.4355, mean=0.2000
Batch reconstruction MSE: 1.1765
Archetype stats: min=-20.3076, max=14.1981
Archetype change since last debug: 1.361668
Archetype gradients: norm=0.065185, mean=0.002407
Epoch 1/1
Average loss: 0.7753
Archetypal loss: 0.8524
KLD loss: 0.0818
Reconstruction loss: 0.8524
Archetype R²: 0.0917
Archetype transform grad norm: 0.291329
Archetype transform param norm: 8.1205
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.7753 (range: 0.7753 - 0.7753)
archetypal_loss: 0.8524 (range: 0.8524 - 0.8524)
kld_loss: 0.0818 (range: 0.0818 - 0.0818)
reconstruction_loss: 0.8524 (range: 0.8524 - 0.8524)
archetype_r2: 0.0917 (range: 0.0917 - 0.0917)
Archetype Transform Summary:
archetype_transform_mean: -0.000428 (range: -0.000428 - -0.000428)
archetype_transform_std: 0.113720 (range: 0.113720 - 0.113720)
archetype_transform_norm: 8.120488 (range: 8.120488 - 8.120488)
archetype_transform_grad_norm: 0.291329 (range: 0.291329 - 0.291329)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0642, max=0.4688, mean=0.2000
Batch reconstruction MSE: 0.8854
Archetype stats: min=-20.1613, max=14.0396
Archetype change since last debug: 1.212857
Archetype gradients: norm=0.033446, mean=0.001540
Epoch 1/1
Average loss: 0.7715
Archetypal loss: 0.8459
KLD loss: 0.1027
Reconstruction loss: 0.8459
Archetype R²: 0.0992
Archetype transform grad norm: 0.272741
Archetype transform param norm: 8.1518
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.7715 (range: 0.7715 - 0.7715)
archetypal_loss: 0.8459 (range: 0.8459 - 0.8459)
kld_loss: 0.1027 (range: 0.1027 - 0.1027)
reconstruction_loss: 0.8459 (range: 0.8459 - 0.8459)
archetype_r2: 0.0992 (range: 0.0992 - 0.0992)
Archetype Transform Summary:
archetype_transform_mean: -0.000392 (range: -0.000392 - -0.000392)
archetype_transform_std: 0.114159 (range: 0.114159 - 0.114159)
archetype_transform_norm: 8.151828 (range: 8.151828 - 8.151828)
archetype_transform_grad_norm: 0.272741 (range: 0.272741 - 0.272741)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0432, max=0.4111, mean=0.2000
Batch reconstruction MSE: 1.0578
Archetype stats: min=-20.6777, max=14.2999
Archetype change since last debug: 1.496014
Archetype gradients: norm=0.084790, mean=0.003784
Epoch 1/1
Average loss: 0.7739
Archetypal loss: 0.8501
KLD loss: 0.0874
Reconstruction loss: 0.8501
Archetype R²: 0.0943
Archetype transform grad norm: 0.293765
Archetype transform param norm: 8.1561
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.7739 (range: 0.7739 - 0.7739)
archetypal_loss: 0.8501 (range: 0.8501 - 0.8501)
kld_loss: 0.0874 (range: 0.0874 - 0.0874)
reconstruction_loss: 0.8501 (range: 0.8501 - 0.8501)
archetype_r2: 0.0943 (range: 0.0943 - 0.0943)
Archetype Transform Summary:
archetype_transform_mean: -0.000490 (range: -0.000490 - -0.000490)
archetype_transform_std: 0.114218 (range: 0.114218 - 0.114218)
archetype_transform_norm: 8.156092 (range: 8.156092 - 8.156092)
archetype_transform_grad_norm: 0.293765 (range: 0.293765 - 0.293765)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0518, max=0.6131, mean=0.2000
Batch reconstruction MSE: 1.1099
Archetype stats: min=-20.5600, max=14.4816
Archetype change since last debug: 0.823553
Archetype gradients: norm=0.117624, mean=0.005860
Epoch 1/1
Average loss: 0.7781
Archetypal loss: 0.8528
KLD loss: 0.1059
Reconstruction loss: 0.8528
Archetype R²: 0.0914
Archetype transform grad norm: 0.309820
Archetype transform param norm: 8.1423
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.7781 (range: 0.7781 - 0.7781)
archetypal_loss: 0.8528 (range: 0.8528 - 0.8528)
kld_loss: 0.1059 (range: 0.1059 - 0.1059)
reconstruction_loss: 0.8528 (range: 0.8528 - 0.8528)
archetype_r2: 0.0914 (range: 0.0914 - 0.0914)
Archetype Transform Summary:
archetype_transform_mean: -0.000296 (range: -0.000296 - -0.000296)
archetype_transform_std: 0.114026 (range: 0.114026 - 0.114026)
archetype_transform_norm: 8.142291 (range: 8.142291 - 8.142291)
archetype_transform_grad_norm: 0.309820 (range: 0.309820 - 0.309820)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0309, max=0.4862, mean=0.2000
Batch reconstruction MSE: 1.4748
Archetype stats: min=-20.8783, max=13.9695
Archetype change since last debug: 1.975335
Archetype gradients: norm=0.178227, mean=0.008440
Epoch 1/1
Average loss: 0.7867
Archetypal loss: 0.8615
KLD loss: 0.1144
Reconstruction loss: 0.8615
Archetype R²: 0.0813
Archetype transform grad norm: 0.333903
Archetype transform param norm: 8.0571
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.7867 (range: 0.7867 - 0.7867)
archetypal_loss: 0.8615 (range: 0.8615 - 0.8615)
kld_loss: 0.1144 (range: 0.1144 - 0.1144)
reconstruction_loss: 0.8615 (range: 0.8615 - 0.8615)
archetype_r2: 0.0813 (range: 0.0813 - 0.0813)
Archetype Transform Summary:
archetype_transform_mean: -0.000434 (range: -0.000434 - -0.000434)
archetype_transform_std: 0.112832 (range: 0.112832 - 0.112832)
archetype_transform_norm: 8.057112 (range: 8.057112 - 8.057112)
archetype_transform_grad_norm: 0.333903 (range: 0.333903 - 0.333903)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0289, max=0.4999, mean=0.2000
Batch reconstruction MSE: 1.2920
Archetype stats: min=-19.2159, max=13.2301
Archetype change since last debug: 3.643546
Archetype gradients: norm=0.078391, mean=0.004220
Epoch 1/1
Average loss: 0.7796
Archetypal loss: 0.8552
KLD loss: 0.0987
Reconstruction loss: 0.8552
Archetype R²: 0.0883
Archetype transform grad norm: 0.290904
Archetype transform param norm: 8.0023
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.7796 (range: 0.7796 - 0.7796)
archetypal_loss: 0.8552 (range: 0.8552 - 0.8552)
kld_loss: 0.0987 (range: 0.0987 - 0.0987)
reconstruction_loss: 0.8552 (range: 0.8552 - 0.8552)
archetype_r2: 0.0883 (range: 0.0883 - 0.0883)
Archetype Transform Summary:
archetype_transform_mean: -0.000258 (range: -0.000258 - -0.000258)
archetype_transform_std: 0.112065 (range: 0.112065 - 0.112065)
archetype_transform_norm: 8.002300 (range: 8.002300 - 8.002300)
archetype_transform_grad_norm: 0.290904 (range: 0.290904 - 0.290904)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0537, max=0.4350, mean=0.2000
Batch reconstruction MSE: 0.9804
Archetype stats: min=-19.3357, max=12.7629
Archetype change since last debug: 1.600291
Archetype gradients: norm=0.072099, mean=0.002709
Epoch 1/1
Average loss: 0.7730
Archetypal loss: 0.8477
KLD loss: 0.1007
Reconstruction loss: 0.8477
Archetype R²: 0.0969
Archetype transform grad norm: 0.264277
Archetype transform param norm: 8.0150
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.7730 (range: 0.7730 - 0.7730)
archetypal_loss: 0.8477 (range: 0.8477 - 0.8477)
kld_loss: 0.1007 (range: 0.1007 - 0.1007)
reconstruction_loss: 0.8477 (range: 0.8477 - 0.8477)
archetype_r2: 0.0969 (range: 0.0969 - 0.0969)
Archetype Transform Summary:
archetype_transform_mean: -0.000355 (range: -0.000355 - -0.000355)
archetype_transform_std: 0.112243 (range: 0.112243 - 0.112243)
archetype_transform_norm: 8.014999 (range: 8.014999 - 8.014999)
archetype_transform_grad_norm: 0.264277 (range: 0.264277 - 0.264277)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0442, max=0.5485, mean=0.2000
Batch reconstruction MSE: 0.9710
Archetype stats: min=-19.3099, max=13.2522
Archetype change since last debug: 1.467795
Archetype gradients: norm=0.039483, mean=0.002026
Epoch 1/1
Average loss: 0.7723
Archetypal loss: 0.8474
KLD loss: 0.0962
Reconstruction loss: 0.8474
Archetype R²: 0.0973
Archetype transform grad norm: 0.275124
Archetype transform param norm: 8.0608
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.7723 (range: 0.7723 - 0.7723)
archetypal_loss: 0.8474 (range: 0.8474 - 0.8474)
kld_loss: 0.0962 (range: 0.0962 - 0.0962)
reconstruction_loss: 0.8474 (range: 0.8474 - 0.8474)
archetype_r2: 0.0973 (range: 0.0973 - 0.0973)
Archetype Transform Summary:
archetype_transform_mean: -0.000307 (range: -0.000307 - -0.000307)
archetype_transform_std: 0.112884 (range: 0.112884 - 0.112884)
archetype_transform_norm: 8.060764 (range: 8.060764 - 8.060764)
archetype_transform_grad_norm: 0.275124 (range: 0.275124 - 0.275124)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0756, max=0.4315, mean=0.2000
Batch reconstruction MSE: 0.8737
Archetype stats: min=-19.6868, max=13.5379
Archetype change since last debug: 1.143175
Archetype gradients: norm=0.039902, mean=0.001710
Epoch 1/1
Average loss: 0.7699
Archetypal loss: 0.8450
KLD loss: 0.0939
Reconstruction loss: 0.8450
Archetype R²: 0.1001
Archetype transform grad norm: 0.266385
Archetype transform param norm: 8.1041
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.7699 (range: 0.7699 - 0.7699)
archetypal_loss: 0.8450 (range: 0.8450 - 0.8450)
kld_loss: 0.0939 (range: 0.0939 - 0.0939)
reconstruction_loss: 0.8450 (range: 0.8450 - 0.8450)
archetype_r2: 0.1001 (range: 0.1001 - 0.1001)
Archetype Transform Summary:
archetype_transform_mean: -0.000380 (range: -0.000380 - -0.000380)
archetype_transform_std: 0.113491 (range: 0.113491 - 0.113491)
archetype_transform_norm: 8.104143 (range: 8.104143 - 8.104143)
archetype_transform_grad_norm: 0.266385 (range: 0.266385 - 0.266385)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0754, max=0.4680, mean=0.2000
Batch reconstruction MSE: 0.8850
Archetype stats: min=-20.0246, max=13.9841
Archetype change since last debug: 1.471374
Archetype gradients: norm=0.029196, mean=0.001590
Epoch 1/1
Average loss: 0.7697
Archetypal loss: 0.8452
KLD loss: 0.0902
Reconstruction loss: 0.8452
Archetype R²: 0.0998
Archetype transform grad norm: 0.278020
Archetype transform param norm: 8.1607
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.7697 (range: 0.7697 - 0.7697)
archetypal_loss: 0.8452 (range: 0.8452 - 0.8452)
kld_loss: 0.0902 (range: 0.0902 - 0.0902)
reconstruction_loss: 0.8452 (range: 0.8452 - 0.8452)
archetype_r2: 0.0998 (range: 0.0998 - 0.0998)
Archetype Transform Summary:
archetype_transform_mean: -0.000348 (range: -0.000348 - -0.000348)
archetype_transform_std: 0.114283 (range: 0.114283 - 0.114283)
archetype_transform_norm: 8.160660 (range: 8.160660 - 8.160660)
archetype_transform_grad_norm: 0.278020 (range: 0.278020 - 0.278020)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0804, max=0.4187, mean=0.2000
Batch reconstruction MSE: 0.9088
Archetype stats: min=-20.5663, max=14.3221
Archetype change since last debug: 1.410769
Archetype gradients: norm=0.053460, mean=0.002358
Epoch 1/1
Average loss: 0.7702
Archetypal loss: 0.8459
KLD loss: 0.0895
Reconstruction loss: 0.8459
Archetype R²: 0.0991
Archetype transform grad norm: 0.281213
Archetype transform param norm: 8.1955
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.7702 (range: 0.7702 - 0.7702)
archetypal_loss: 0.8459 (range: 0.8459 - 0.8459)
kld_loss: 0.0895 (range: 0.0895 - 0.0895)
reconstruction_loss: 0.8459 (range: 0.8459 - 0.8459)
archetype_r2: 0.0991 (range: 0.0991 - 0.0991)
Archetype Transform Summary:
archetype_transform_mean: -0.000432 (range: -0.000432 - -0.000432)
archetype_transform_std: 0.114771 (range: 0.114771 - 0.114771)
archetype_transform_norm: 8.195526 (range: 8.195526 - 8.195526)
archetype_transform_grad_norm: 0.281213 (range: 0.281213 - 0.281213)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0535, max=0.4790, mean=0.2000
Batch reconstruction MSE: 0.9639
Archetype stats: min=-20.5968, max=14.7192
Archetype change since last debug: 1.131938
Archetype gradients: norm=0.042364, mean=0.002238
Epoch 1/1
Average loss: 0.7709
Archetypal loss: 0.8470
KLD loss: 0.0857
Reconstruction loss: 0.8470
Archetype R²: 0.0977
Archetype transform grad norm: 0.288832
Archetype transform param norm: 8.2286
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.7709 (range: 0.7709 - 0.7709)
archetypal_loss: 0.8470 (range: 0.8470 - 0.8470)
kld_loss: 0.0857 (range: 0.0857 - 0.0857)
reconstruction_loss: 0.8470 (range: 0.8470 - 0.8470)
archetype_r2: 0.0977 (range: 0.0977 - 0.0977)
Archetype Transform Summary:
archetype_transform_mean: -0.000370 (range: -0.000370 - -0.000370)
archetype_transform_std: 0.115234 (range: 0.115234 - 0.115234)
archetype_transform_norm: 8.228622 (range: 8.228622 - 8.228622)
archetype_transform_grad_norm: 0.288832 (range: 0.288832 - 0.288832)
Fold 3/3
Model input_dim: 50 (auto-detected from data)
Archetypes parameter registered: True
Archetypes requires_grad: True
Deep_AA (Deep Archetypal Analysis) initialized:
- Single-stage architecture (like Deep_2)
- Inflation factor: 1.5
- Direct archetypal coordinates (no bottleneck)
Consolidated Archetype Initialization
PCHA: True, Inflation: True (factor: 1.5)
Test inflation: False
Running PCHA initialization...
Input shape: (128, 50)
Target archetypes: 5
Running PCHA with 5 archetypes...
Data shape for PCHA: (50, 128)
PCHA Results:
Archetypes shape: (5, 50)
Archetype R²: 0.2141
SSE: 4491.1002
PCHA archetype R²: 0.2141
Archetype shape: (5, 50)
[OK] Initialized 5 archetypes using PCHA
Scalar Archetypal Inflation (factor: 1.50)
[OK] Inflation complete
[STATS] Positioning verification:
Data radius (max): 17.464
Data radius (mean): 6.150
Archetype distances: 3.655 to 24.275
Archetypes outside data: 2/5
Min archetype separation: 6.619
[OK] Archetype initialization complete (success: True)
[OK] Archetype initialization complete (PCHA: True, Inflation: 1.5)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0008, max=0.9381, mean=0.2000
Batch reconstruction MSE: 1.0942
Archetype stats: min=-2.4747, max=2.0290
Archetype gradients: norm=0.020953, mean=0.000904
Epoch 1/1
Average loss: 0.9001
Archetypal loss: 0.9945
KLD loss: 0.0513
Reconstruction loss: 0.9945
Archetype R²: -0.0219
Archetype transform grad norm: 0.236823
Archetype transform param norm: 5.7822
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.9001 (range: 0.9001 - 0.9001)
archetypal_loss: 0.9945 (range: 0.9945 - 0.9945)
kld_loss: 0.0513 (range: 0.0513 - 0.0513)
reconstruction_loss: 0.9945 (range: 0.9945 - 0.9945)
archetype_r2: -0.0219 (range: -0.0219 - -0.0219)
Archetype Transform Summary:
archetype_transform_mean: -0.000422 (range: -0.000422 - -0.000422)
archetype_transform_std: 0.080973 (range: 0.080973 - 0.080973)
archetype_transform_norm: 5.782161 (range: 5.782161 - 5.782161)
archetype_transform_grad_norm: 0.236823 (range: 0.236823 - 0.236823)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0002, max=0.9851, mean=0.2000
Batch reconstruction MSE: 0.8502
Archetype stats: min=-1.4760, max=1.1285
Archetype change since last debug: 7.806493
Archetype gradients: norm=0.003485, mean=0.000168
Epoch 1/1
Average loss: 0.8775
Archetypal loss: 0.9664
KLD loss: 0.0773
Reconstruction loss: 0.9664
Archetype R²: 0.0073
Archetype transform grad norm: 0.166397
Archetype transform param norm: 5.8035
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.8775 (range: 0.8775 - 0.8775)
archetypal_loss: 0.9664 (range: 0.9664 - 0.9664)
kld_loss: 0.0773 (range: 0.0773 - 0.0773)
reconstruction_loss: 0.9664 (range: 0.9664 - 0.9664)
archetype_r2: 0.0073 (range: 0.0073 - 0.0073)
Archetype Transform Summary:
archetype_transform_mean: -0.000334 (range: -0.000334 - -0.000334)
archetype_transform_std: 0.081273 (range: 0.081273 - 0.081273)
archetype_transform_norm: 5.803537 (range: 5.803537 - 5.803537)
archetype_transform_grad_norm: 0.166397 (range: 0.166397 - 0.166397)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0025, max=0.9166, mean=0.2000
Batch reconstruction MSE: 0.8888
Archetype stats: min=-2.4685, max=2.0262
Archetype change since last debug: 4.831685
Archetype gradients: norm=0.004576, mean=0.000209
Epoch 1/1
Average loss: 0.8678
Archetypal loss: 0.9555
KLD loss: 0.0778
Reconstruction loss: 0.9555
Archetype R²: 0.0184
Archetype transform grad norm: 0.183741
Archetype transform param norm: 5.9028
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.8678 (range: 0.8678 - 0.8678)
archetypal_loss: 0.9555 (range: 0.9555 - 0.9555)
kld_loss: 0.0778 (range: 0.0778 - 0.0778)
reconstruction_loss: 0.9555 (range: 0.9555 - 0.9555)
archetype_r2: 0.0184 (range: 0.0184 - 0.0184)
Archetype Transform Summary:
archetype_transform_mean: -0.000215 (range: -0.000215 - -0.000215)
archetype_transform_std: 0.082664 (range: 0.082664 - 0.082664)
archetype_transform_norm: 5.902845 (range: 5.902845 - 5.902845)
archetype_transform_grad_norm: 0.183741 (range: 0.183741 - 0.183741)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0025, max=0.8581, mean=0.2000
Batch reconstruction MSE: 0.8892
Archetype stats: min=-3.5791, max=3.2401
Archetype change since last debug: 5.477199
Archetype gradients: norm=0.006479, mean=0.000312
Epoch 1/1
Average loss: 0.8594
Archetypal loss: 0.9431
KLD loss: 0.1056
Reconstruction loss: 0.9431
Archetype R²: 0.0312
Archetype transform grad norm: 0.208865
Archetype transform param norm: 6.0925
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.8594 (range: 0.8594 - 0.8594)
archetypal_loss: 0.9431 (range: 0.9431 - 0.9431)
kld_loss: 0.1056 (range: 0.1056 - 0.1056)
reconstruction_loss: 0.9431 (range: 0.9431 - 0.9431)
archetype_r2: 0.0312 (range: 0.0312 - 0.0312)
Archetype Transform Summary:
archetype_transform_mean: -0.000114 (range: -0.000114 - -0.000114)
archetype_transform_std: 0.085321 (range: 0.085321 - 0.085321)
archetype_transform_norm: 6.092544 (range: 6.092544 - 6.092544)
archetype_transform_grad_norm: 0.208865 (range: 0.208865 - 0.208865)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0023, max=0.9201, mean=0.2000
Batch reconstruction MSE: 0.9735
Archetype stats: min=-4.6495, max=5.1101
Archetype change since last debug: 6.416776
Archetype gradients: norm=0.013550, mean=0.000662
Epoch 1/1
Average loss: 0.8501
Archetypal loss: 0.9305
KLD loss: 0.1271
Reconstruction loss: 0.9305
Archetype R²: 0.0439
Archetype transform grad norm: 0.214907
Archetype transform param norm: 6.3565
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.8501 (range: 0.8501 - 0.8501)
archetypal_loss: 0.9305 (range: 0.9305 - 0.9305)
kld_loss: 0.1271 (range: 0.1271 - 0.1271)
reconstruction_loss: 0.9305 (range: 0.9305 - 0.9305)
archetype_r2: 0.0439 (range: 0.0439 - 0.0439)
Archetype Transform Summary:
archetype_transform_mean: -0.000094 (range: -0.000094 - -0.000094)
archetype_transform_std: 0.089018 (range: 0.089018 - 0.089018)
archetype_transform_norm: 6.356547 (range: 6.356547 - 6.356547)
archetype_transform_grad_norm: 0.214907 (range: 0.214907 - 0.214907)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0040, max=0.9005, mean=0.2000
Batch reconstruction MSE: 0.9995
Archetype stats: min=-5.6395, max=6.8817
Archetype change since last debug: 6.234308
Archetype gradients: norm=0.023348, mean=0.001072
Epoch 1/1
Average loss: 0.8396
Archetypal loss: 0.9161
KLD loss: 0.1507
Reconstruction loss: 0.9161
Archetype R²: 0.0585
Archetype transform grad norm: 0.233192
Archetype transform param norm: 6.6587
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.8396 (range: 0.8396 - 0.8396)
archetypal_loss: 0.9161 (range: 0.9161 - 0.9161)
kld_loss: 0.1507 (range: 0.1507 - 0.1507)
reconstruction_loss: 0.9161 (range: 0.9161 - 0.9161)
archetype_r2: 0.0585 (range: 0.0585 - 0.0585)
Archetype Transform Summary:
archetype_transform_mean: -0.000306 (range: -0.000306 - -0.000306)
archetype_transform_std: 0.093250 (range: 0.093250 - 0.093250)
archetype_transform_norm: 6.658734 (range: 6.658734 - 6.658734)
archetype_transform_grad_norm: 0.233192 (range: 0.233192 - 0.233192)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0046, max=0.9376, mean=0.2000
Batch reconstruction MSE: 1.0714
Archetype stats: min=-6.4350, max=8.6390
Archetype change since last debug: 6.554428
Archetype gradients: norm=0.042522, mean=0.001960
Epoch 1/1
Average loss: 0.8326
Archetypal loss: 0.9082
KLD loss: 0.1520
Reconstruction loss: 0.9082
Archetype R²: 0.0663
Archetype transform grad norm: 0.244675
Archetype transform param norm: 6.9170
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.8326 (range: 0.8326 - 0.8326)
archetypal_loss: 0.9082 (range: 0.9082 - 0.9082)
kld_loss: 0.1520 (range: 0.1520 - 0.1520)
reconstruction_loss: 0.9082 (range: 0.9082 - 0.9082)
archetype_r2: 0.0663 (range: 0.0663 - 0.0663)
Archetype Transform Summary:
archetype_transform_mean: -0.000555 (range: -0.000555 - -0.000555)
archetype_transform_std: 0.096865 (range: 0.096865 - 0.096865)
archetype_transform_norm: 6.916974 (range: 6.916974 - 6.916974)
archetype_transform_grad_norm: 0.244675 (range: 0.244675 - 0.244675)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0072, max=0.7414, mean=0.2000
Batch reconstruction MSE: 1.0987
Archetype stats: min=-7.1292, max=10.1094
Archetype change since last debug: 5.160229
Archetype gradients: norm=0.037335, mean=0.001748
Epoch 1/1
Average loss: 0.8269
Archetypal loss: 0.9025
KLD loss: 0.1470
Reconstruction loss: 0.9025
Archetype R²: 0.0720
Archetype transform grad norm: 0.259888
Archetype transform param norm: 7.1144
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.8269 (range: 0.8269 - 0.8269)
archetypal_loss: 0.9025 (range: 0.9025 - 0.9025)
kld_loss: 0.1470 (range: 0.1470 - 0.1470)
reconstruction_loss: 0.9025 (range: 0.9025 - 0.9025)
archetype_r2: 0.0720 (range: 0.0720 - 0.0720)
Archetype Transform Summary:
archetype_transform_mean: -0.000754 (range: -0.000754 - -0.000754)
archetype_transform_std: 0.099628 (range: 0.099628 - 0.099628)
archetype_transform_norm: 7.114390 (range: 7.114390 - 7.114390)
archetype_transform_grad_norm: 0.259888 (range: 0.259888 - 0.259888)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0061, max=0.7846, mean=0.2000
Batch reconstruction MSE: 1.1071
Archetype stats: min=-7.3210, max=10.8790
Archetype change since last debug: 4.518642
Archetype gradients: norm=0.066310, mean=0.002921
Epoch 1/1
Average loss: 0.8227
Archetypal loss: 0.8982
KLD loss: 0.1429
Reconstruction loss: 0.8982
Archetype R²: 0.0762
Archetype transform grad norm: 0.257058
Archetype transform param norm: 7.2596
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.8227 (range: 0.8227 - 0.8227)
archetypal_loss: 0.8982 (range: 0.8982 - 0.8982)
kld_loss: 0.1429 (range: 0.1429 - 0.1429)
reconstruction_loss: 0.8982 (range: 0.8982 - 0.8982)
archetype_r2: 0.0762 (range: 0.0762 - 0.0762)
Archetype Transform Summary:
archetype_transform_mean: -0.000863 (range: -0.000863 - -0.000863)
archetype_transform_std: 0.101660 (range: 0.101660 - 0.101660)
archetype_transform_norm: 7.259562 (range: 7.259562 - 7.259562)
archetype_transform_grad_norm: 0.257058 (range: 0.257058 - 0.257058)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0085, max=0.5210, mean=0.2000
Batch reconstruction MSE: 1.0647
Archetype stats: min=-7.9750, max=12.1917
Archetype change since last debug: 3.692261
Archetype gradients: norm=0.030579, mean=0.001580
Epoch 1/1
Average loss: 0.8192
Archetypal loss: 0.8952
KLD loss: 0.1347
Reconstruction loss: 0.8952
Archetype R²: 0.0794
Archetype transform grad norm: 0.276969
Archetype transform param norm: 7.3895
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.8192 (range: 0.8192 - 0.8192)
archetypal_loss: 0.8952 (range: 0.8952 - 0.8952)
kld_loss: 0.1347 (range: 0.1347 - 0.1347)
reconstruction_loss: 0.8952 (range: 0.8952 - 0.8952)
archetype_r2: 0.0794 (range: 0.0794 - 0.0794)
Archetype Transform Summary:
archetype_transform_mean: -0.000973 (range: -0.000973 - -0.000973)
archetype_transform_std: 0.103479 (range: 0.103479 - 0.103479)
archetype_transform_norm: 7.389502 (range: 7.389502 - 7.389502)
archetype_transform_grad_norm: 0.276969 (range: 0.276969 - 0.276969)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0087, max=0.7969, mean=0.2000
Batch reconstruction MSE: 1.0250
Archetype stats: min=-8.2167, max=12.8762
Archetype change since last debug: 3.236685
Archetype gradients: norm=0.065641, mean=0.003070
Epoch 1/1
Average loss: 0.8168
Archetypal loss: 0.8922
KLD loss: 0.1378
Reconstruction loss: 0.8922
Archetype R²: 0.0825
Archetype transform grad norm: 0.271028
Archetype transform param norm: 7.4903
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.8168 (range: 0.8168 - 0.8168)
archetypal_loss: 0.8922 (range: 0.8922 - 0.8922)
kld_loss: 0.1378 (range: 0.1378 - 0.1378)
reconstruction_loss: 0.8922 (range: 0.8922 - 0.8922)
archetype_r2: 0.0825 (range: 0.0825 - 0.0825)
Archetype Transform Summary:
archetype_transform_mean: -0.001069 (range: -0.001069 - -0.001069)
archetype_transform_std: 0.104891 (range: 0.104891 - 0.104891)
archetype_transform_norm: 7.490337 (range: 7.490337 - 7.490337)
archetype_transform_grad_norm: 0.271028 (range: 0.271028 - 0.271028)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0118, max=0.4826, mean=0.2000
Batch reconstruction MSE: 1.0600
Archetype stats: min=-8.7483, max=13.9689
Archetype change since last debug: 3.065737
Archetype gradients: norm=0.030260, mean=0.001542
Epoch 1/1
Average loss: 0.8153
Archetypal loss: 0.8920
KLD loss: 0.1241
Reconstruction loss: 0.8920
Archetype R²: 0.0825
Archetype transform grad norm: 0.288160
Archetype transform param norm: 7.5873
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.8153 (range: 0.8153 - 0.8153)
archetypal_loss: 0.8920 (range: 0.8920 - 0.8920)
kld_loss: 0.1241 (range: 0.1241 - 0.1241)
reconstruction_loss: 0.8920 (range: 0.8920 - 0.8920)
archetype_r2: 0.0825 (range: 0.0825 - 0.0825)
Archetype Transform Summary:
archetype_transform_mean: -0.001175 (range: -0.001175 - -0.001175)
archetype_transform_std: 0.106247 (range: 0.106247 - 0.106247)
archetype_transform_norm: 7.587288 (range: 7.587288 - 7.587288)
archetype_transform_grad_norm: 0.288160 (range: 0.288160 - 0.288160)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0119, max=0.6398, mean=0.2000
Batch reconstruction MSE: 0.9828
Archetype stats: min=-8.8272, max=14.3769
Archetype change since last debug: 2.457476
Archetype gradients: norm=0.077185, mean=0.003059
Epoch 1/1
Average loss: 0.8137
Archetypal loss: 0.8900
KLD loss: 0.1272
Reconstruction loss: 0.8900
Archetype R²: 0.0848
Archetype transform grad norm: 0.291152
Archetype transform param norm: 7.6496
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.8137 (range: 0.8137 - 0.8137)
archetypal_loss: 0.8900 (range: 0.8900 - 0.8900)
kld_loss: 0.1272 (range: 0.1272 - 0.1272)
reconstruction_loss: 0.8900 (range: 0.8900 - 0.8900)
archetype_r2: 0.0848 (range: 0.0848 - 0.0848)
Archetype Transform Summary:
archetype_transform_mean: -0.001170 (range: -0.001170 - -0.001170)
archetype_transform_std: 0.107120 (range: 0.107120 - 0.107120)
archetype_transform_norm: 7.649622 (range: 7.649622 - 7.649622)
archetype_transform_grad_norm: 0.291152 (range: 0.291152 - 0.291152)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0117, max=0.5085, mean=0.2000
Batch reconstruction MSE: 1.0423
Archetype stats: min=-9.1930, max=15.1229
Archetype change since last debug: 2.308557
Archetype gradients: norm=0.033927, mean=0.001753
Epoch 1/1
Average loss: 0.8118
Archetypal loss: 0.8891
KLD loss: 0.1158
Reconstruction loss: 0.8891
Archetype R²: 0.0855
Archetype transform grad norm: 0.287643
Archetype transform param norm: 7.7209
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.8118 (range: 0.8118 - 0.8118)
archetypal_loss: 0.8891 (range: 0.8891 - 0.8891)
kld_loss: 0.1158 (range: 0.1158 - 0.1158)
reconstruction_loss: 0.8891 (range: 0.8891 - 0.8891)
archetype_r2: 0.0855 (range: 0.0855 - 0.0855)
Archetype Transform Summary:
archetype_transform_mean: -0.001287 (range: -0.001287 - -0.001287)
archetype_transform_std: 0.108117 (range: 0.108117 - 0.108117)
archetype_transform_norm: 7.720868 (range: 7.720868 - 7.720868)
archetype_transform_grad_norm: 0.287643 (range: 0.287643 - 0.287643)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0117, max=0.7673, mean=0.2000
Batch reconstruction MSE: 0.9092
Archetype stats: min=-9.2555, max=15.3827
Archetype change since last debug: 1.915706
Archetype gradients: norm=0.036895, mean=0.001679
Epoch 1/1
Average loss: 0.8084
Archetypal loss: 0.8850
KLD loss: 0.1191
Reconstruction loss: 0.8850
Archetype R²: 0.0900
Archetype transform grad norm: 0.275340
Archetype transform param norm: 7.7966
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.8084 (range: 0.8084 - 0.8084)
archetypal_loss: 0.8850 (range: 0.8850 - 0.8850)
kld_loss: 0.1191 (range: 0.1191 - 0.1191)
reconstruction_loss: 0.8850 (range: 0.8850 - 0.8850)
archetype_r2: 0.0900 (range: 0.0900 - 0.0900)
Archetype Transform Summary:
archetype_transform_mean: -0.001282 (range: -0.001282 - -0.001282)
archetype_transform_std: 0.109178 (range: 0.109178 - 0.109178)
archetype_transform_norm: 7.796621 (range: 7.796621 - 7.796621)
archetype_transform_grad_norm: 0.275340 (range: 0.275340 - 0.275340)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0146, max=0.6842, mean=0.2000
Batch reconstruction MSE: 1.0291
Archetype stats: min=-9.6382, max=16.2066
Archetype change since last debug: 2.488606
Archetype gradients: norm=0.036268, mean=0.001432
Epoch 1/1
Average loss: 0.8092
Archetypal loss: 0.8875
KLD loss: 0.1038
Reconstruction loss: 0.8875
Archetype R²: 0.0870
Archetype transform grad norm: 0.285435
Archetype transform param norm: 7.8567
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.8092 (range: 0.8092 - 0.8092)
archetypal_loss: 0.8875 (range: 0.8875 - 0.8875)
kld_loss: 0.1038 (range: 0.1038 - 0.1038)
reconstruction_loss: 0.8875 (range: 0.8875 - 0.8875)
archetype_r2: 0.0870 (range: 0.0870 - 0.0870)
Archetype Transform Summary:
archetype_transform_mean: -0.001337 (range: -0.001337 - -0.001337)
archetype_transform_std: 0.110019 (range: 0.110019 - 0.110019)
archetype_transform_norm: 7.856739 (range: 7.856739 - 7.856739)
archetype_transform_grad_norm: 0.285435 (range: 0.285435 - 0.285435)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0237, max=0.6606, mean=0.2000
Batch reconstruction MSE: 0.9157
Archetype stats: min=-9.6148, max=16.3189
Archetype change since last debug: 1.538334
Archetype gradients: norm=0.046287, mean=0.001954
Epoch 1/1
Average loss: 0.8076
Archetypal loss: 0.8843
KLD loss: 0.1172
Reconstruction loss: 0.8843
Archetype R²: 0.0906
Archetype transform grad norm: 0.286189
Archetype transform param norm: 7.9171
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.8076 (range: 0.8076 - 0.8076)
archetypal_loss: 0.8843 (range: 0.8843 - 0.8843)
kld_loss: 0.1172 (range: 0.1172 - 0.1172)
reconstruction_loss: 0.8843 (range: 0.8843 - 0.8843)
archetype_r2: 0.0906 (range: 0.0906 - 0.0906)
Archetype Transform Summary:
archetype_transform_mean: -0.001326 (range: -0.001326 - -0.001326)
archetype_transform_std: 0.110864 (range: 0.110864 - 0.110864)
archetype_transform_norm: 7.917094 (range: 7.917094 - 7.917094)
archetype_transform_grad_norm: 0.286189 (range: 0.286189 - 0.286189)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0144, max=0.5985, mean=0.2000
Batch reconstruction MSE: 1.0888
Archetype stats: min=-9.8802, max=16.9267
Archetype change since last debug: 2.123407
Archetype gradients: norm=0.065318, mean=0.002570
Epoch 1/1
Average loss: 0.8096
Archetypal loss: 0.8885
KLD loss: 0.0997
Reconstruction loss: 0.8885
Archetype R²: 0.0858
Archetype transform grad norm: 0.300109
Archetype transform param norm: 7.9445
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.8096 (range: 0.8096 - 0.8096)
archetypal_loss: 0.8885 (range: 0.8885 - 0.8885)
kld_loss: 0.0997 (range: 0.0997 - 0.0997)
reconstruction_loss: 0.8885 (range: 0.8885 - 0.8885)
archetype_r2: 0.0858 (range: 0.0858 - 0.0858)
Archetype Transform Summary:
archetype_transform_mean: -0.001406 (range: -0.001406 - -0.001406)
archetype_transform_std: 0.111247 (range: 0.111247 - 0.111247)
archetype_transform_norm: 7.944505 (range: 7.944505 - 7.944505)
archetype_transform_grad_norm: 0.300109 (range: 0.300109 - 0.300109)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0318, max=0.5293, mean=0.2000
Batch reconstruction MSE: 1.0038
Archetype stats: min=-9.7829, max=16.8894
Archetype change since last debug: 1.167320
Archetype gradients: norm=0.046513, mean=0.002433
Epoch 1/1
Average loss: 0.8101
Archetypal loss: 0.8871
KLD loss: 0.1168
Reconstruction loss: 0.8871
Archetype R²: 0.0873
Archetype transform grad norm: 0.304198
Archetype transform param norm: 7.9727
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.8101 (range: 0.8101 - 0.8101)
archetypal_loss: 0.8871 (range: 0.8871 - 0.8871)
kld_loss: 0.1168 (range: 0.1168 - 0.1168)
reconstruction_loss: 0.8871 (range: 0.8871 - 0.8871)
archetype_r2: 0.0873 (range: 0.0873 - 0.0873)
Archetype Transform Summary:
archetype_transform_mean: -0.001412 (range: -0.001412 - -0.001412)
archetype_transform_std: 0.111642 (range: 0.111642 - 0.111642)
archetype_transform_norm: 7.972691 (range: 7.972691 - 7.972691)
archetype_transform_grad_norm: 0.304198 (range: 0.304198 - 0.304198)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0151, max=0.7047, mean=0.2000
Batch reconstruction MSE: 1.1194
Archetype stats: min=-9.7724, max=17.0675
Archetype change since last debug: 1.452190
Archetype gradients: norm=0.068452, mean=0.003088
Epoch 1/1
Average loss: 0.8096
Archetypal loss: 0.8882
KLD loss: 0.1019
Reconstruction loss: 0.8882
Archetype R²: 0.0859
Archetype transform grad norm: 0.300023
Archetype transform param norm: 7.9746
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.8096 (range: 0.8096 - 0.8096)
archetypal_loss: 0.8882 (range: 0.8882 - 0.8882)
kld_loss: 0.1019 (range: 0.1019 - 0.1019)
reconstruction_loss: 0.8882 (range: 0.8882 - 0.8882)
archetype_r2: 0.0859 (range: 0.0859 - 0.0859)
Archetype Transform Summary:
archetype_transform_mean: -0.001486 (range: -0.001486 - -0.001486)
archetype_transform_std: 0.111668 (range: 0.111668 - 0.111668)
archetype_transform_norm: 7.974630 (range: 7.974630 - 7.974630)
archetype_transform_grad_norm: 0.300023 (range: 0.300023 - 0.300023)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0346, max=0.5053, mean=0.2000
Batch reconstruction MSE: 0.9275
Archetype stats: min=-9.7399, max=17.1499
Archetype change since last debug: 1.000562
Archetype gradients: norm=0.020212, mean=0.000983
Epoch 1/1
Average loss: 0.8052
Archetypal loss: 0.8827
KLD loss: 0.1071
Reconstruction loss: 0.8827
Archetype R²: 0.0920
Archetype transform grad norm: 0.283521
Archetype transform param norm: 8.0169
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.8052 (range: 0.8052 - 0.8052)
archetypal_loss: 0.8827 (range: 0.8827 - 0.8827)
kld_loss: 0.1071 (range: 0.1071 - 0.1071)
reconstruction_loss: 0.8827 (range: 0.8827 - 0.8827)
archetype_r2: 0.0920 (range: 0.0920 - 0.0920)
Archetype Transform Summary:
archetype_transform_mean: -0.001495 (range: -0.001495 - -0.001495)
archetype_transform_std: 0.112260 (range: 0.112260 - 0.112260)
archetype_transform_norm: 8.016870 (range: 8.016870 - 8.016870)
archetype_transform_grad_norm: 0.283521 (range: 0.283521 - 0.283521)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0388, max=0.5896, mean=0.2000
Batch reconstruction MSE: 0.8945
Archetype stats: min=-10.0392, max=17.6743
Archetype change since last debug: 1.723952
Archetype gradients: norm=0.029582, mean=0.001404
Epoch 1/1
Average loss: 0.8031
Archetypal loss: 0.8813
KLD loss: 0.0988
Reconstruction loss: 0.8813
Archetype R²: 0.0935
Archetype transform grad norm: 0.280447
Archetype transform param norm: 8.0759
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.8031 (range: 0.8031 - 0.8031)
archetypal_loss: 0.8813 (range: 0.8813 - 0.8813)
kld_loss: 0.0988 (range: 0.0988 - 0.0988)
reconstruction_loss: 0.8813 (range: 0.8813 - 0.8813)
archetype_r2: 0.0935 (range: 0.0935 - 0.0935)
Archetype Transform Summary:
archetype_transform_mean: -0.001504 (range: -0.001504 - -0.001504)
archetype_transform_std: 0.113086 (range: 0.113086 - 0.113086)
archetype_transform_norm: 8.075867 (range: 8.075867 - 8.075867)
archetype_transform_grad_norm: 0.280447 (range: 0.280447 - 0.280447)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0368, max=0.5131, mean=0.2000
Batch reconstruction MSE: 0.8858
Archetype stats: min=-10.2882, max=18.1375
Archetype change since last debug: 1.889990
Archetype gradients: norm=0.014750, mean=0.000681
Epoch 1/1
Average loss: 0.8030
Archetypal loss: 0.8810
KLD loss: 0.1005
Reconstruction loss: 0.8810
Archetype R²: 0.0938
Archetype transform grad norm: 0.286283
Archetype transform param norm: 8.1368
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.8030 (range: 0.8030 - 0.8030)
archetypal_loss: 0.8810 (range: 0.8810 - 0.8810)
kld_loss: 0.1005 (range: 0.1005 - 0.1005)
reconstruction_loss: 0.8810 (range: 0.8810 - 0.8810)
archetype_r2: 0.0938 (range: 0.0938 - 0.0938)
Archetype Transform Summary:
archetype_transform_mean: -0.001542 (range: -0.001542 - -0.001542)
archetype_transform_std: 0.113938 (range: 0.113938 - 0.113938)
archetype_transform_norm: 8.136758 (range: 8.136758 - 8.136758)
archetype_transform_grad_norm: 0.286283 (range: 0.286283 - 0.286283)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0354, max=0.6296, mean=0.2000
Batch reconstruction MSE: 0.9421
Archetype stats: min=-10.4830, max=18.4847
Archetype change since last debug: 1.623398
Archetype gradients: norm=0.054830, mean=0.002404
Epoch 1/1
Average loss: 0.8031
Archetypal loss: 0.8822
KLD loss: 0.0916
Reconstruction loss: 0.8822
Archetype R²: 0.0923
Archetype transform grad norm: 0.293293
Archetype transform param norm: 8.1757
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.8031 (range: 0.8031 - 0.8031)
archetypal_loss: 0.8822 (range: 0.8822 - 0.8822)
kld_loss: 0.0916 (range: 0.0916 - 0.0916)
reconstruction_loss: 0.8822 (range: 0.8822 - 0.8822)
archetype_r2: 0.0923 (range: 0.0923 - 0.0923)
Archetype Transform Summary:
archetype_transform_mean: -0.001531 (range: -0.001531 - -0.001531)
archetype_transform_std: 0.114484 (range: 0.114484 - 0.114484)
archetype_transform_norm: 8.175721 (range: 8.175721 - 8.175721)
archetype_transform_grad_norm: 0.293293 (range: 0.293293 - 0.293293)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0412, max=0.5281, mean=0.2000
Batch reconstruction MSE: 0.9482
Archetype stats: min=-10.5161, max=18.5366
Archetype change since last debug: 1.336234
Archetype gradients: norm=0.065432, mean=0.003472
Epoch 1/1
Average loss: 0.8049
Archetypal loss: 0.8827
KLD loss: 0.1048
Reconstruction loss: 0.8827
Archetype R²: 0.0918
Archetype transform grad norm: 0.314355
Archetype transform param norm: 8.2088
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.8049 (range: 0.8049 - 0.8049)
archetypal_loss: 0.8827 (range: 0.8827 - 0.8827)
kld_loss: 0.1048 (range: 0.1048 - 0.1048)
reconstruction_loss: 0.8827 (range: 0.8827 - 0.8827)
archetype_r2: 0.0918 (range: 0.0918 - 0.0918)
Archetype Transform Summary:
archetype_transform_mean: -0.001649 (range: -0.001649 - -0.001649)
archetype_transform_std: 0.114945 (range: 0.114945 - 0.114945)
archetype_transform_norm: 8.208776 (range: 8.208776 - 8.208776)
archetype_transform_grad_norm: 0.314355 (range: 0.314355 - 0.314355)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0398, max=0.5030, mean=0.2000
Batch reconstruction MSE: 1.1928
Archetype stats: min=-10.5897, max=18.6094
Archetype change since last debug: 1.402255
Archetype gradients: norm=0.163175, mean=0.006442
Epoch 1/1
Average loss: 0.8096
Archetypal loss: 0.8889
KLD loss: 0.0955
Reconstruction loss: 0.8889
Archetype R²: 0.0846
Archetype transform grad norm: 0.335378
Archetype transform param norm: 8.1832
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.8096 (range: 0.8096 - 0.8096)
archetypal_loss: 0.8889 (range: 0.8889 - 0.8889)
kld_loss: 0.0955 (range: 0.0955 - 0.0955)
reconstruction_loss: 0.8889 (range: 0.8889 - 0.8889)
archetype_r2: 0.0846 (range: 0.0846 - 0.0846)
Archetype Transform Summary:
archetype_transform_mean: -0.001556 (range: -0.001556 - -0.001556)
archetype_transform_std: 0.114588 (range: 0.114588 - 0.114588)
archetype_transform_norm: 8.183190 (range: 8.183190 - 8.183190)
archetype_transform_grad_norm: 0.335378 (range: 0.335378 - 0.335378)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0464, max=0.5385, mean=0.2000
Batch reconstruction MSE: 1.1493
Archetype stats: min=-10.5830, max=17.7790
Archetype change since last debug: 2.056353
Archetype gradients: norm=0.124117, mean=0.005790
Epoch 1/1
Average loss: 0.8096
Archetypal loss: 0.8879
KLD loss: 0.1044
Reconstruction loss: 0.8879
Archetype R²: 0.0858
Archetype transform grad norm: 0.333603
Archetype transform param norm: 8.1544
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.8096 (range: 0.8096 - 0.8096)
archetypal_loss: 0.8879 (range: 0.8879 - 0.8879)
kld_loss: 0.1044 (range: 0.1044 - 0.1044)
reconstruction_loss: 0.8879 (range: 0.8879 - 0.8879)
archetype_r2: 0.0858 (range: 0.0858 - 0.0858)
Archetype Transform Summary:
archetype_transform_mean: -0.001675 (range: -0.001675 - -0.001675)
archetype_transform_std: 0.114184 (range: 0.114184 - 0.114184)
archetype_transform_norm: 8.154424 (range: 8.154424 - 8.154424)
archetype_transform_grad_norm: 0.333603 (range: 0.333603 - 0.333603)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0440, max=0.5892, mean=0.2000
Batch reconstruction MSE: 1.0450
Archetype stats: min=-10.3940, max=18.0160
Archetype change since last debug: 2.080832
Archetype gradients: norm=0.074998, mean=0.003775
Epoch 1/1
Average loss: 0.8068
Archetypal loss: 0.8850
KLD loss: 0.1027
Reconstruction loss: 0.8850
Archetype R²: 0.0890
Archetype transform grad norm: 0.331449
Archetype transform param norm: 8.1546
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.8068 (range: 0.8068 - 0.8068)
archetypal_loss: 0.8850 (range: 0.8850 - 0.8850)
kld_loss: 0.1027 (range: 0.1027 - 0.1027)
reconstruction_loss: 0.8850 (range: 0.8850 - 0.8850)
archetype_r2: 0.0890 (range: 0.0890 - 0.0890)
Archetype Transform Summary:
archetype_transform_mean: -0.001588 (range: -0.001588 - -0.001588)
archetype_transform_std: 0.114188 (range: 0.114188 - 0.114188)
archetype_transform_norm: 8.154622 (range: 8.154622 - 8.154622)
archetype_transform_grad_norm: 0.331449 (range: 0.331449 - 0.331449)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0471, max=0.5807, mean=0.2000
Batch reconstruction MSE: 1.0386
Archetype stats: min=-10.6298, max=17.0978
Archetype change since last debug: 2.017303
Archetype gradients: norm=0.052952, mean=0.002525
Epoch 1/1
Average loss: 0.8047
Archetypal loss: 0.8835
KLD loss: 0.0953
Reconstruction loss: 0.8835
Archetype R²: 0.0905
Archetype transform grad norm: 0.304276
Archetype transform param norm: 8.1675
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.8047 (range: 0.8047 - 0.8047)
archetypal_loss: 0.8835 (range: 0.8835 - 0.8835)
kld_loss: 0.0953 (range: 0.0953 - 0.0953)
reconstruction_loss: 0.8835 (range: 0.8835 - 0.8835)
archetype_r2: 0.0905 (range: 0.0905 - 0.0905)
Archetype Transform Summary:
archetype_transform_mean: -0.001609 (range: -0.001609 - -0.001609)
archetype_transform_std: 0.114368 (range: 0.114368 - 0.114368)
archetype_transform_norm: 8.167549 (range: 8.167549 - 8.167549)
archetype_transform_grad_norm: 0.304276 (range: 0.304276 - 0.304276)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0230, max=0.5752, mean=0.2000
Batch reconstruction MSE: 0.9195
Archetype stats: min=-10.9084, max=17.4895
Archetype change since last debug: 1.697536
Archetype gradients: norm=0.047964, mean=0.002238
Epoch 1/1
Average loss: 0.8027
Archetypal loss: 0.8803
KLD loss: 0.1039
Reconstruction loss: 0.8803
Archetype R²: 0.0941
Archetype transform grad norm: 0.289867
Archetype transform param norm: 8.1953
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.8027 (range: 0.8027 - 0.8027)
archetypal_loss: 0.8803 (range: 0.8803 - 0.8803)
kld_loss: 0.1039 (range: 0.1039 - 0.1039)
reconstruction_loss: 0.8803 (range: 0.8803 - 0.8803)
archetype_r2: 0.0941 (range: 0.0941 - 0.0941)
Archetype Transform Summary:
archetype_transform_mean: -0.001694 (range: -0.001694 - -0.001694)
archetype_transform_std: 0.114755 (range: 0.114755 - 0.114755)
archetype_transform_norm: 8.195255 (range: 8.195255 - 8.195255)
archetype_transform_grad_norm: 0.289867 (range: 0.289867 - 0.289867)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0100, max=0.4693, mean=0.2000
Batch reconstruction MSE: 1.0253
Archetype stats: min=-10.9341, max=17.5210
Archetype change since last debug: 1.651421
Archetype gradients: norm=0.048110, mean=0.002426
Epoch 1/1
Average loss: 0.8025
Archetypal loss: 0.8821
KLD loss: 0.0860
Reconstruction loss: 0.8821
Archetype R²: 0.0919
Archetype transform grad norm: 0.286759
Archetype transform param norm: 8.2188
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.8025 (range: 0.8025 - 0.8025)
archetypal_loss: 0.8821 (range: 0.8821 - 0.8821)
kld_loss: 0.0860 (range: 0.0860 - 0.0860)
reconstruction_loss: 0.8821 (range: 0.8821 - 0.8821)
archetype_r2: 0.0919 (range: 0.0919 - 0.0919)
Archetype Transform Summary:
archetype_transform_mean: -0.001681 (range: -0.001681 - -0.001681)
archetype_transform_std: 0.115086 (range: 0.115086 - 0.115086)
archetype_transform_norm: 8.218847 (range: 8.218847 - 8.218847)
archetype_transform_grad_norm: 0.286759 (range: 0.286759 - 0.286759)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0120, max=0.7323, mean=0.2000
Batch reconstruction MSE: 0.8629
Archetype stats: min=-11.1363, max=17.8379
Archetype change since last debug: 1.100489
Archetype gradients: norm=0.017370, mean=0.000934
Epoch 1/1
Average loss: 0.8005
Archetypal loss: 0.8782
KLD loss: 0.1008
Reconstruction loss: 0.8782
Archetype R²: 0.0963
Archetype transform grad norm: 0.278838
Archetype transform param norm: 8.2529
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.8005 (range: 0.8005 - 0.8005)
archetypal_loss: 0.8782 (range: 0.8782 - 0.8782)
kld_loss: 0.1008 (range: 0.1008 - 0.1008)
reconstruction_loss: 0.8782 (range: 0.8782 - 0.8782)
archetype_r2: 0.0963 (range: 0.0963 - 0.0963)
Archetype Transform Summary:
archetype_transform_mean: -0.001717 (range: -0.001717 - -0.001717)
archetype_transform_std: 0.115562 (range: 0.115562 - 0.115562)
archetype_transform_norm: 8.252886 (range: 8.252886 - 8.252886)
archetype_transform_grad_norm: 0.278838 (range: 0.278838 - 0.278838)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0247, max=0.5058, mean=0.2000
Batch reconstruction MSE: 0.9794
Archetype stats: min=-11.3072, max=18.0210
Archetype change since last debug: 1.628222
Archetype gradients: norm=0.027209, mean=0.001239
Epoch 1/1
Average loss: 0.8007
Archetypal loss: 0.8806
KLD loss: 0.0817
Reconstruction loss: 0.8806
Archetype R²: 0.0935
Archetype transform grad norm: 0.281850
Archetype transform param norm: 8.2800
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.8007 (range: 0.8007 - 0.8007)
archetypal_loss: 0.8806 (range: 0.8806 - 0.8806)
kld_loss: 0.0817 (range: 0.0817 - 0.0817)
reconstruction_loss: 0.8806 (range: 0.8806 - 0.8806)
archetype_r2: 0.0935 (range: 0.0935 - 0.0935)
Archetype Transform Summary:
archetype_transform_mean: -0.001711 (range: -0.001711 - -0.001711)
archetype_transform_std: 0.115942 (range: 0.115942 - 0.115942)
archetype_transform_norm: 8.279983 (range: 8.279983 - 8.279983)
archetype_transform_grad_norm: 0.281850 (range: 0.281850 - 0.281850)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0254, max=0.7558, mean=0.2000
Batch reconstruction MSE: 0.8177
Archetype stats: min=-11.5960, max=18.3686
Archetype change since last debug: 1.069565
Archetype gradients: norm=0.020698, mean=0.001134
Epoch 1/1
Average loss: 0.7989
Archetypal loss: 0.8769
KLD loss: 0.0966
Reconstruction loss: 0.8769
Archetype R²: 0.0978
Archetype transform grad norm: 0.282505
Archetype transform param norm: 8.3227
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.7989 (range: 0.7989 - 0.7989)
archetypal_loss: 0.8769 (range: 0.8769 - 0.8769)
kld_loss: 0.0966 (range: 0.0966 - 0.0966)
reconstruction_loss: 0.8769 (range: 0.8769 - 0.8769)
archetype_r2: 0.0978 (range: 0.0978 - 0.0978)
Archetype Transform Summary:
archetype_transform_mean: -0.001747 (range: -0.001747 - -0.001747)
archetype_transform_std: 0.116540 (range: 0.116540 - 0.116540)
archetype_transform_norm: 8.322742 (range: 8.322742 - 8.322742)
archetype_transform_grad_norm: 0.282505 (range: 0.282505 - 0.282505)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0338, max=0.4139, mean=0.2000
Batch reconstruction MSE: 0.9348
Archetype stats: min=-11.8409, max=18.6428
Archetype change since last debug: 1.763526
Archetype gradients: norm=0.013259, mean=0.000620
Epoch 1/1
Average loss: 0.7992
Archetypal loss: 0.8793
KLD loss: 0.0791
Reconstruction loss: 0.8793
Archetype R²: 0.0950
Archetype transform grad norm: 0.284697
Archetype transform param norm: 8.3600
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.7992 (range: 0.7992 - 0.7992)
archetypal_loss: 0.8793 (range: 0.8793 - 0.8793)
kld_loss: 0.0791 (range: 0.0791 - 0.0791)
reconstruction_loss: 0.8793 (range: 0.8793 - 0.8793)
archetype_r2: 0.0950 (range: 0.0950 - 0.0950)
Archetype Transform Summary:
archetype_transform_mean: -0.001752 (range: -0.001752 - -0.001752)
archetype_transform_std: 0.117061 (range: 0.117061 - 0.117061)
archetype_transform_norm: 8.359980 (range: 8.359980 - 8.359980)
archetype_transform_grad_norm: 0.284697 (range: 0.284697 - 0.284697)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0296, max=0.7738, mean=0.2000
Batch reconstruction MSE: 0.8061
Archetype stats: min=-12.0919, max=18.9402
Archetype change since last debug: 0.976455
Archetype gradients: norm=0.019288, mean=0.000844
Epoch 1/1
Average loss: 0.7979
Archetypal loss: 0.8763
KLD loss: 0.0924
Reconstruction loss: 0.8763
Archetype R²: 0.0984
Archetype transform grad norm: 0.282818
Archetype transform param norm: 8.4001
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.7979 (range: 0.7979 - 0.7979)
archetypal_loss: 0.8763 (range: 0.8763 - 0.8763)
kld_loss: 0.0924 (range: 0.0924 - 0.0924)
reconstruction_loss: 0.8763 (range: 0.8763 - 0.8763)
archetype_r2: 0.0984 (range: 0.0984 - 0.0984)
Archetype Transform Summary:
archetype_transform_mean: -0.001769 (range: -0.001769 - -0.001769)
archetype_transform_std: 0.117624 (range: 0.117624 - 0.117624)
archetype_transform_norm: 8.400140 (range: 8.400140 - 8.400140)
archetype_transform_grad_norm: 0.282818 (range: 0.282818 - 0.282818)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0350, max=0.5643, mean=0.2000
Batch reconstruction MSE: 0.9126
Archetype stats: min=-12.3652, max=19.2644
Archetype change since last debug: 1.634247
Archetype gradients: norm=0.021879, mean=0.001167
Epoch 1/1
Average loss: 0.7982
Archetypal loss: 0.8785
KLD loss: 0.0754
Reconstruction loss: 0.8785
Archetype R²: 0.0957
Archetype transform grad norm: 0.288284
Archetype transform param norm: 8.4321
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.7982 (range: 0.7982 - 0.7982)
archetypal_loss: 0.8785 (range: 0.8785 - 0.8785)
kld_loss: 0.0754 (range: 0.0754 - 0.0754)
reconstruction_loss: 0.8785 (range: 0.8785 - 0.8785)
archetype_r2: 0.0957 (range: 0.0957 - 0.0957)
Archetype Transform Summary:
archetype_transform_mean: -0.001778 (range: -0.001778 - -0.001778)
archetype_transform_std: 0.118072 (range: 0.118072 - 0.118072)
archetype_transform_norm: 8.432144 (range: 8.432144 - 8.432144)
archetype_transform_grad_norm: 0.288284 (range: 0.288284 - 0.288284)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0380, max=0.4678, mean=0.2000
Batch reconstruction MSE: 0.8302
Archetype stats: min=-12.5283, max=19.5135
Archetype change since last debug: 0.919076
Archetype gradients: norm=0.031443, mean=0.001510
Epoch 1/1
Average loss: 0.7988
Archetypal loss: 0.8775
KLD loss: 0.0909
Reconstruction loss: 0.8775
Archetype R²: 0.0970
Archetype transform grad norm: 0.295458
Archetype transform param norm: 8.4656
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.7988 (range: 0.7988 - 0.7988)
archetypal_loss: 0.8775 (range: 0.8775 - 0.8775)
kld_loss: 0.0909 (range: 0.0909 - 0.0909)
reconstruction_loss: 0.8775 (range: 0.8775 - 0.8775)
archetype_r2: 0.0970 (range: 0.0970 - 0.0970)
Archetype Transform Summary:
archetype_transform_mean: -0.001785 (range: -0.001785 - -0.001785)
archetype_transform_std: 0.118541 (range: 0.118541 - 0.118541)
archetype_transform_norm: 8.465641 (range: 8.465641 - 8.465641)
archetype_transform_grad_norm: 0.295458 (range: 0.295458 - 0.295458)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0338, max=0.6558, mean=0.2000
Batch reconstruction MSE: 0.9839
Archetype stats: min=-12.8029, max=19.7414
Archetype change since last debug: 1.227959
Archetype gradients: norm=0.040806, mean=0.001841
Epoch 1/1
Average loss: 0.7996
Archetypal loss: 0.8802
KLD loss: 0.0734
Reconstruction loss: 0.8802
Archetype R²: 0.0937
Archetype transform grad norm: 0.297744
Archetype transform param norm: 8.4697
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.7996 (range: 0.7996 - 0.7996)
archetypal_loss: 0.8802 (range: 0.8802 - 0.8802)
kld_loss: 0.0734 (range: 0.0734 - 0.0734)
reconstruction_loss: 0.8802 (range: 0.8802 - 0.8802)
archetype_r2: 0.0937 (range: 0.0937 - 0.0937)
Archetype Transform Summary:
archetype_transform_mean: -0.001842 (range: -0.001842 - -0.001842)
archetype_transform_std: 0.118597 (range: 0.118597 - 0.118597)
archetype_transform_norm: 8.469709 (range: 8.469709 - 8.469709)
archetype_transform_grad_norm: 0.297744 (range: 0.297744 - 0.297744)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0406, max=0.4582, mean=0.2000
Batch reconstruction MSE: 0.8590
Archetype stats: min=-12.6925, max=19.7751
Archetype change since last debug: 0.831094
Archetype gradients: norm=0.052793, mean=0.002355
Epoch 1/1
Average loss: 0.7985
Archetypal loss: 0.8773
KLD loss: 0.0885
Reconstruction loss: 0.8773
Archetype R²: 0.0970
Archetype transform grad norm: 0.301400
Archetype transform param norm: 8.4931
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.7985 (range: 0.7985 - 0.7985)
archetypal_loss: 0.8773 (range: 0.8773 - 0.8773)
kld_loss: 0.0885 (range: 0.0885 - 0.0885)
reconstruction_loss: 0.8773 (range: 0.8773 - 0.8773)
archetype_r2: 0.0970 (range: 0.0970 - 0.0970)
Archetype Transform Summary:
archetype_transform_mean: -0.001815 (range: -0.001815 - -0.001815)
archetype_transform_std: 0.118925 (range: 0.118925 - 0.118925)
archetype_transform_norm: 8.493073 (range: 8.493073 - 8.493073)
archetype_transform_grad_norm: 0.301400 (range: 0.301400 - 0.301400)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0308, max=0.7058, mean=0.2000
Batch reconstruction MSE: 1.0137
Archetype stats: min=-12.9943, max=20.1599
Archetype change since last debug: 1.188303
Archetype gradients: norm=0.081474, mean=0.004081
Epoch 1/1
Average loss: 0.8007
Archetypal loss: 0.8807
KLD loss: 0.0809
Reconstruction loss: 0.8807
Archetype R²: 0.0931
Archetype transform grad norm: 0.312531
Archetype transform param norm: 8.4891
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.8007 (range: 0.8007 - 0.8007)
archetypal_loss: 0.8807 (range: 0.8807 - 0.8807)
kld_loss: 0.0809 (range: 0.0809 - 0.0809)
reconstruction_loss: 0.8807 (range: 0.8807 - 0.8807)
archetype_r2: 0.0931 (range: 0.0931 - 0.0931)
Archetype Transform Summary:
archetype_transform_mean: -0.001872 (range: -0.001872 - -0.001872)
archetype_transform_std: 0.118868 (range: 0.118868 - 0.118868)
archetype_transform_norm: 8.489086 (range: 8.489086 - 8.489086)
archetype_transform_grad_norm: 0.312531 (range: 0.312531 - 0.312531)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0435, max=0.5378, mean=0.2000
Batch reconstruction MSE: 1.0773
Archetype stats: min=-12.6209, max=19.7343
Archetype change since last debug: 1.388743
Archetype gradients: norm=0.113399, mean=0.004928
Epoch 1/1
Average loss: 0.8033
Archetypal loss: 0.8827
KLD loss: 0.0887
Reconstruction loss: 0.8827
Archetype R²: 0.0908
Archetype transform grad norm: 0.334737
Archetype transform param norm: 8.4808
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.8033 (range: 0.8033 - 0.8033)
archetypal_loss: 0.8827 (range: 0.8827 - 0.8827)
kld_loss: 0.0887 (range: 0.0887 - 0.0887)
reconstruction_loss: 0.8827 (range: 0.8827 - 0.8827)
archetype_r2: 0.0908 (range: 0.0908 - 0.0908)
Archetype Transform Summary:
archetype_transform_mean: -0.001826 (range: -0.001826 - -0.001826)
archetype_transform_std: 0.118752 (range: 0.118752 - 0.118752)
archetype_transform_norm: 8.480795 (range: 8.480795 - 8.480795)
archetype_transform_grad_norm: 0.334737 (range: 0.334737 - 0.334737)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0385, max=0.5825, mean=0.2000
Batch reconstruction MSE: 1.1886
Archetype stats: min=-12.7685, max=20.0850
Archetype change since last debug: 2.235724
Archetype gradients: norm=0.115353, mean=0.006207
Epoch 1/1
Average loss: 0.8064
Archetypal loss: 0.8855
KLD loss: 0.0940
Reconstruction loss: 0.8855
Archetype R²: 0.0876
Archetype transform grad norm: 0.347887
Archetype transform param norm: 8.4362
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.8064 (range: 0.8064 - 0.8064)
archetypal_loss: 0.8855 (range: 0.8855 - 0.8855)
kld_loss: 0.0940 (range: 0.0940 - 0.0940)
reconstruction_loss: 0.8855 (range: 0.8855 - 0.8855)
archetype_r2: 0.0876 (range: 0.0876 - 0.0876)
Archetype Transform Summary:
archetype_transform_mean: -0.001827 (range: -0.001827 - -0.001827)
archetype_transform_std: 0.118128 (range: 0.118128 - 0.118128)
archetype_transform_norm: 8.436207 (range: 8.436207 - 8.436207)
archetype_transform_grad_norm: 0.347887 (range: 0.347887 - 0.347887)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0471, max=0.5659, mean=0.2000
Batch reconstruction MSE: 1.1231
Archetype stats: min=-12.4249, max=18.4370
Archetype change since last debug: 2.914388
Archetype gradients: norm=0.080796, mean=0.003664
Epoch 1/1
Average loss: 0.8042
Archetypal loss: 0.8837
KLD loss: 0.0889
Reconstruction loss: 0.8837
Archetype R²: 0.0896
Archetype transform grad norm: 0.329719
Archetype transform param norm: 8.4259
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.8042 (range: 0.8042 - 0.8042)
archetypal_loss: 0.8837 (range: 0.8837 - 0.8837)
kld_loss: 0.0889 (range: 0.0889 - 0.0889)
reconstruction_loss: 0.8837 (range: 0.8837 - 0.8837)
archetype_r2: 0.0896 (range: 0.0896 - 0.0896)
Archetype Transform Summary:
archetype_transform_mean: -0.001880 (range: -0.001880 - -0.001880)
archetype_transform_std: 0.117983 (range: 0.117983 - 0.117983)
archetype_transform_norm: 8.425890 (range: 8.425890 - 8.425890)
archetype_transform_grad_norm: 0.329719 (range: 0.329719 - 0.329719)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0330, max=0.7204, mean=0.2000
Batch reconstruction MSE: 0.9808
Archetype stats: min=-12.7005, max=18.7166
Archetype change since last debug: 2.807239
Archetype gradients: norm=0.101208, mean=0.004207
Epoch 1/1
Average loss: 0.8002
Archetypal loss: 0.8793
KLD loss: 0.0887
Reconstruction loss: 0.8793
Archetype R²: 0.0945
Archetype transform grad norm: 0.294295
Archetype transform param norm: 8.4118
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.8002 (range: 0.8002 - 0.8002)
archetypal_loss: 0.8793 (range: 0.8793 - 0.8793)
kld_loss: 0.0887 (range: 0.0887 - 0.0887)
reconstruction_loss: 0.8793 (range: 0.8793 - 0.8793)
archetype_r2: 0.0945 (range: 0.0945 - 0.0945)
Archetype Transform Summary:
archetype_transform_mean: -0.001844 (range: -0.001844 - -0.001844)
archetype_transform_std: 0.117786 (range: 0.117786 - 0.117786)
archetype_transform_norm: 8.411803 (range: 8.411803 - 8.411803)
archetype_transform_grad_norm: 0.294295 (range: 0.294295 - 0.294295)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0453, max=0.5360, mean=0.2000
Batch reconstruction MSE: 0.9139
Archetype stats: min=-12.7073, max=18.5167
Archetype change since last debug: 1.714195
Archetype gradients: norm=0.069287, mean=0.002915
Epoch 1/1
Average loss: 0.7985
Archetypal loss: 0.8778
KLD loss: 0.0846
Reconstruction loss: 0.8778
Archetype R²: 0.0963
Archetype transform grad norm: 0.297884
Archetype transform param norm: 8.4473
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.7985 (range: 0.7985 - 0.7985)
archetypal_loss: 0.8778 (range: 0.8778 - 0.8778)
kld_loss: 0.0846 (range: 0.0846 - 0.0846)
reconstruction_loss: 0.8778 (range: 0.8778 - 0.8778)
archetype_r2: 0.0963 (range: 0.0963 - 0.0963)
Archetype Transform Summary:
archetype_transform_mean: -0.001911 (range: -0.001911 - -0.001911)
archetype_transform_std: 0.118282 (range: 0.118282 - 0.118282)
archetype_transform_norm: 8.447307 (range: 8.447307 - 8.447307)
archetype_transform_grad_norm: 0.297884 (range: 0.297884 - 0.297884)
[OK] Completed in 75.5s
[STATS] Mean archetype R²: 0.0911
[STATS] Mean validation R²: 0.0911
đź§Ş Configuration 13/20: {'n_archetypes': 6, 'hidden_dims': [64, 128], 'inflation_factor': 1.5, 'use_pcha_init': True, 'use_inflation': True}
Fold 1/3
Model input_dim: 50 (auto-detected from data)
Archetypes parameter registered: True
Archetypes requires_grad: True
Deep_AA (Deep Archetypal Analysis) initialized:
- Single-stage architecture (like Deep_2)
- Inflation factor: 1.5
- Direct archetypal coordinates (no bottleneck)
Consolidated Archetype Initialization
PCHA: True, Inflation: True (factor: 1.5)
Test inflation: False
Running PCHA initialization...
Input shape: (128, 50)
Target archetypes: 6
Running PCHA with 6 archetypes...
Data shape for PCHA: (50, 128)
PCHA Results:
Archetypes shape: (6, 50)
Archetype R²: 0.2784
SSE: 4287.7840
PCHA archetype R²: 0.2784
Archetype shape: (6, 50)
[OK] Initialized 6 archetypes using PCHA
Scalar Archetypal Inflation (factor: 1.50)
[OK] Inflation complete
[STATS] Positioning verification:
Data radius (max): 17.006
Data radius (mean): 6.155
Archetype distances: 3.671 to 22.125
Archetypes outside data: 3/6
Min archetype separation: 5.922
[OK] Archetype initialization complete (success: True)
[OK] Archetype initialization complete (PCHA: True, Inflation: 1.5)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0002, max=0.8708, mean=0.1667
Batch reconstruction MSE: 1.1671
Archetype stats: min=-1.8053, max=1.8757
Archetype gradients: norm=0.011228, mean=0.000500
Epoch 1/1
Average loss: 0.8761
Archetypal loss: 0.9696
KLD loss: 0.0353
Reconstruction loss: 0.9696
Archetype R²: -0.0180
Archetype transform grad norm: 0.192020
Archetype transform param norm: 5.7079
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.8761 (range: 0.8761 - 0.8761)
archetypal_loss: 0.9696 (range: 0.9696 - 0.9696)
kld_loss: 0.0353 (range: 0.0353 - 0.0353)
reconstruction_loss: 0.9696 (range: 0.9696 - 0.9696)
archetype_r2: -0.0180 (range: -0.0180 - -0.0180)
Archetype Transform Summary:
archetype_transform_mean: -0.000766 (range: -0.000766 - -0.000766)
archetype_transform_std: 0.079929 (range: 0.079929 - 0.079929)
archetype_transform_norm: 5.707866 (range: 5.707866 - 5.707866)
archetype_transform_grad_norm: 0.192020 (range: 0.192020 - 0.192020)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0037, max=0.8009, mean=0.1667
Batch reconstruction MSE: 1.0594
Archetype stats: min=-0.9079, max=0.8835
Archetype change since last debug: 7.293999
Archetype gradients: norm=0.002519, mean=0.000117
Epoch 1/1
Average loss: 0.8623
Archetypal loss: 0.9549
KLD loss: 0.0288
Reconstruction loss: 0.9549
Archetype R²: -0.0029
Archetype transform grad norm: 0.127978
Archetype transform param norm: 5.7088
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.8623 (range: 0.8623 - 0.8623)
archetypal_loss: 0.9549 (range: 0.9549 - 0.9549)
kld_loss: 0.0288 (range: 0.0288 - 0.0288)
reconstruction_loss: 0.9549 (range: 0.9549 - 0.9549)
archetype_r2: -0.0029 (range: -0.0029 - -0.0029)
Archetype Transform Summary:
archetype_transform_mean: -0.000969 (range: -0.000969 - -0.000969)
archetype_transform_std: 0.079941 (range: 0.079941 - 0.079941)
archetype_transform_norm: 5.708794 (range: 5.708794 - 5.708794)
archetype_transform_grad_norm: 0.127978 (range: 0.127978 - 0.127978)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0051, max=0.8938, mean=0.1667
Batch reconstruction MSE: 1.0610
Archetype stats: min=-1.4893, max=1.5293
Archetype change since last debug: 3.116488
Archetype gradients: norm=0.002885, mean=0.000124
Epoch 1/1
Average loss: 0.8540
Archetypal loss: 0.9406
KLD loss: 0.0749
Reconstruction loss: 0.9406
Archetype R²: 0.0122
Archetype transform grad norm: 0.153096
Archetype transform param norm: 5.7833
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.8540 (range: 0.8540 - 0.8540)
archetypal_loss: 0.9406 (range: 0.9406 - 0.9406)
kld_loss: 0.0749 (range: 0.0749 - 0.0749)
reconstruction_loss: 0.9406 (range: 0.9406 - 0.9406)
archetype_r2: 0.0122 (range: 0.0122 - 0.0122)
Archetype Transform Summary:
archetype_transform_mean: -0.000725 (range: -0.000725 - -0.000725)
archetype_transform_std: 0.080986 (range: 0.080986 - 0.080986)
archetype_transform_norm: 5.783253 (range: 5.783253 - 5.783253)
archetype_transform_grad_norm: 0.153096 (range: 0.153096 - 0.153096)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0037, max=0.8880, mean=0.1667
Batch reconstruction MSE: 1.1112
Archetype stats: min=-2.9792, max=3.2343
Archetype change since last debug: 8.346618
Archetype gradients: norm=0.006881, mean=0.000266
Epoch 1/1
Average loss: 0.8419
Archetypal loss: 0.9234
KLD loss: 0.1082
Reconstruction loss: 0.9234
Archetype R²: 0.0304
Archetype transform grad norm: 0.187092
Archetype transform param norm: 5.9406
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.8419 (range: 0.8419 - 0.8419)
archetypal_loss: 0.9234 (range: 0.9234 - 0.9234)
kld_loss: 0.1082 (range: 0.1082 - 0.1082)
reconstruction_loss: 0.9234 (range: 0.9234 - 0.9234)
archetype_r2: 0.0304 (range: 0.0304 - 0.0304)
Archetype Transform Summary:
archetype_transform_mean: -0.000615 (range: -0.000615 - -0.000615)
archetype_transform_std: 0.083191 (range: 0.083191 - 0.083191)
archetype_transform_norm: 5.940609 (range: 5.940609 - 5.940609)
archetype_transform_grad_norm: 0.187092 (range: 0.187092 - 0.187092)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0046, max=0.8686, mean=0.1667
Batch reconstruction MSE: 1.1185
Archetype stats: min=-5.7584, max=5.2767
Archetype change since last debug: 9.255078
Archetype gradients: norm=0.008539, mean=0.000329
Epoch 1/1
Average loss: 0.8293
Archetypal loss: 0.9080
KLD loss: 0.1211
Reconstruction loss: 0.9080
Archetype R²: 0.0466
Archetype transform grad norm: 0.208843
Archetype transform param norm: 6.1364
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.8293 (range: 0.8293 - 0.8293)
archetypal_loss: 0.9080 (range: 0.9080 - 0.9080)
kld_loss: 0.1211 (range: 0.1211 - 0.1211)
reconstruction_loss: 0.9080 (range: 0.9080 - 0.9080)
archetype_r2: 0.0466 (range: 0.0466 - 0.0466)
Archetype Transform Summary:
archetype_transform_mean: -0.000491 (range: -0.000491 - -0.000491)
archetype_transform_std: 0.085933 (range: 0.085933 - 0.085933)
archetype_transform_norm: 6.136381 (range: 6.136381 - 6.136381)
archetype_transform_grad_norm: 0.208843 (range: 0.208843 - 0.208843)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0065, max=0.9041, mean=0.1667
Batch reconstruction MSE: 1.1560
Archetype stats: min=-8.7178, max=6.7809
Archetype change since last debug: 9.286679
Archetype gradients: norm=0.014000, mean=0.000478
Epoch 1/1
Average loss: 0.8217
Archetypal loss: 0.8997
KLD loss: 0.1196
Reconstruction loss: 0.8997
Archetype R²: 0.0554
Archetype transform grad norm: 0.234152
Archetype transform param norm: 6.3165
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.8217 (range: 0.8217 - 0.8217)
archetypal_loss: 0.8997 (range: 0.8997 - 0.8997)
kld_loss: 0.1196 (range: 0.1196 - 0.1196)
reconstruction_loss: 0.8997 (range: 0.8997 - 0.8997)
archetype_r2: 0.0554 (range: 0.0554 - 0.0554)
Archetype Transform Summary:
archetype_transform_mean: -0.000385 (range: -0.000385 - -0.000385)
archetype_transform_std: 0.088457 (range: 0.088457 - 0.088457)
archetype_transform_norm: 6.316529 (range: 6.316529 - 6.316529)
archetype_transform_grad_norm: 0.234152 (range: 0.234152 - 0.234152)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0080, max=0.9008, mean=0.1667
Batch reconstruction MSE: 1.1933
Archetype stats: min=-11.3356, max=7.8620
Archetype change since last debug: 7.288384
Archetype gradients: norm=0.019614, mean=0.000795
Epoch 1/1
Average loss: 0.8171
Archetypal loss: 0.8944
KLD loss: 0.1218
Reconstruction loss: 0.8944
Archetype R²: 0.0611
Archetype transform grad norm: 0.243684
Archetype transform param norm: 6.4603
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.8171 (range: 0.8171 - 0.8171)
archetypal_loss: 0.8944 (range: 0.8944 - 0.8944)
kld_loss: 0.1218 (range: 0.1218 - 0.1218)
reconstruction_loss: 0.8944 (range: 0.8944 - 0.8944)
archetype_r2: 0.0611 (range: 0.0611 - 0.0611)
Archetype Transform Summary:
archetype_transform_mean: -0.000245 (range: -0.000245 - -0.000245)
archetype_transform_std: 0.090471 (range: 0.090471 - 0.090471)
archetype_transform_norm: 6.460290 (range: 6.460290 - 6.460290)
archetype_transform_grad_norm: 0.243684 (range: 0.243684 - 0.243684)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0036, max=0.9658, mean=0.1667
Batch reconstruction MSE: 1.1425
Archetype stats: min=-13.3507, max=9.5572
Archetype change since last debug: 5.626621
Archetype gradients: norm=0.018522, mean=0.000725
Epoch 1/1
Average loss: 0.8105
Archetypal loss: 0.8859
KLD loss: 0.1316
Reconstruction loss: 0.8859
Archetype R²: 0.0700
Archetype transform grad norm: 0.250427
Archetype transform param norm: 6.6203
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.8105 (range: 0.8105 - 0.8105)
archetypal_loss: 0.8859 (range: 0.8859 - 0.8859)
kld_loss: 0.1316 (range: 0.1316 - 0.1316)
reconstruction_loss: 0.8859 (range: 0.8859 - 0.8859)
archetype_r2: 0.0700 (range: 0.0700 - 0.0700)
Archetype Transform Summary:
archetype_transform_mean: -0.000099 (range: -0.000099 - -0.000099)
archetype_transform_std: 0.092711 (range: 0.092711 - 0.092711)
archetype_transform_norm: 6.620259 (range: 6.620259 - 6.620259)
archetype_transform_grad_norm: 0.250427 (range: 0.250427 - 0.250427)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0057, max=0.9317, mean=0.1667
Batch reconstruction MSE: 1.1794
Archetype stats: min=-15.2989, max=10.7295
Archetype change since last debug: 5.963953
Archetype gradients: norm=0.020098, mean=0.000863
Epoch 1/1
Average loss: 0.8052
Archetypal loss: 0.8794
KLD loss: 0.1369
Reconstruction loss: 0.8794
Archetype R²: 0.0769
Archetype transform grad norm: 0.251651
Archetype transform param norm: 6.7946
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.8052 (range: 0.8052 - 0.8052)
archetypal_loss: 0.8794 (range: 0.8794 - 0.8794)
kld_loss: 0.1369 (range: 0.1369 - 0.1369)
reconstruction_loss: 0.8794 (range: 0.8794 - 0.8794)
archetype_r2: 0.0769 (range: 0.0769 - 0.0769)
Archetype Transform Summary:
archetype_transform_mean: 0.000063 (range: 0.000063 - 0.000063)
archetype_transform_std: 0.095153 (range: 0.095153 - 0.095153)
archetype_transform_norm: 6.794597 (range: 6.794597 - 6.794597)
archetype_transform_grad_norm: 0.251651 (range: 0.251651 - 0.251651)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0067, max=0.9401, mean=0.1667
Batch reconstruction MSE: 1.2162
Archetype stats: min=-16.2558, max=11.6755
Archetype change since last debug: 5.745456
Archetype gradients: norm=0.037918, mean=0.001479
Epoch 1/1
Average loss: 0.8018
Archetypal loss: 0.8760
KLD loss: 0.1342
Reconstruction loss: 0.8760
Archetype R²: 0.0805
Archetype transform grad norm: 0.260058
Archetype transform param norm: 6.9389
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.8018 (range: 0.8018 - 0.8018)
archetypal_loss: 0.8760 (range: 0.8760 - 0.8760)
kld_loss: 0.1342 (range: 0.1342 - 0.1342)
reconstruction_loss: 0.8760 (range: 0.8760 - 0.8760)
archetype_r2: 0.0805 (range: 0.0805 - 0.0805)
Archetype Transform Summary:
archetype_transform_mean: 0.000186 (range: 0.000186 - 0.000186)
archetype_transform_std: 0.097174 (range: 0.097174 - 0.097174)
archetype_transform_norm: 6.938944 (range: 6.938944 - 6.938944)
archetype_transform_grad_norm: 0.260058 (range: 0.260058 - 0.260058)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0047, max=0.9208, mean=0.1667
Batch reconstruction MSE: 1.1577
Archetype stats: min=-17.3055, max=12.4319
Archetype change since last debug: 3.990614
Archetype gradients: norm=0.023496, mean=0.000898
Epoch 1/1
Average loss: 0.7986
Archetypal loss: 0.8725
KLD loss: 0.1338
Reconstruction loss: 0.8725
Archetype R²: 0.0841
Archetype transform grad norm: 0.266887
Archetype transform param norm: 7.0612
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.7986 (range: 0.7986 - 0.7986)
archetypal_loss: 0.8725 (range: 0.8725 - 0.8725)
kld_loss: 0.1338 (range: 0.1338 - 0.1338)
reconstruction_loss: 0.8725 (range: 0.8725 - 0.8725)
archetype_r2: 0.0841 (range: 0.0841 - 0.0841)
Archetype Transform Summary:
archetype_transform_mean: 0.000325 (range: 0.000325 - 0.000325)
archetype_transform_std: 0.098886 (range: 0.098886 - 0.098886)
archetype_transform_norm: 7.061236 (range: 7.061236 - 7.061236)
archetype_transform_grad_norm: 0.266887 (range: 0.266887 - 0.266887)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0091, max=0.8080, mean=0.1667
Batch reconstruction MSE: 1.2679
Archetype stats: min=-17.6843, max=13.1073
Archetype change since last debug: 3.877322
Archetype gradients: norm=0.045239, mean=0.001898
Epoch 1/1
Average loss: 0.7989
Archetypal loss: 0.8740
KLD loss: 0.1233
Reconstruction loss: 0.8740
Archetype R²: 0.0828
Archetype transform grad norm: 0.275457
Archetype transform param norm: 7.1365
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.7989 (range: 0.7989 - 0.7989)
archetypal_loss: 0.8740 (range: 0.8740 - 0.8740)
kld_loss: 0.1233 (range: 0.1233 - 0.1233)
reconstruction_loss: 0.8740 (range: 0.8740 - 0.8740)
archetype_r2: 0.0828 (range: 0.0828 - 0.0828)
Archetype Transform Summary:
archetype_transform_mean: 0.000348 (range: 0.000348 - 0.000348)
archetype_transform_std: 0.099940 (range: 0.099940 - 0.099940)
archetype_transform_norm: 7.136483 (range: 7.136483 - 7.136483)
archetype_transform_grad_norm: 0.275457 (range: 0.275457 - 0.275457)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0050, max=0.9132, mean=0.1667
Batch reconstruction MSE: 1.1241
Archetype stats: min=-18.2541, max=13.6378
Archetype change since last debug: 2.611441
Archetype gradients: norm=0.016668, mean=0.000808
Epoch 1/1
Average loss: 0.7958
Archetypal loss: 0.8698
KLD loss: 0.1301
Reconstruction loss: 0.8698
Archetype R²: 0.0869
Archetype transform grad norm: 0.268192
Archetype transform param norm: 7.2270
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.7958 (range: 0.7958 - 0.7958)
archetypal_loss: 0.8698 (range: 0.8698 - 0.8698)
kld_loss: 0.1301 (range: 0.1301 - 0.1301)
reconstruction_loss: 0.8698 (range: 0.8698 - 0.8698)
archetype_r2: 0.0869 (range: 0.0869 - 0.0869)
Archetype Transform Summary:
archetype_transform_mean: 0.000394 (range: 0.000394 - 0.000394)
archetype_transform_std: 0.101207 (range: 0.101207 - 0.101207)
archetype_transform_norm: 7.226963 (range: 7.226963 - 7.226963)
archetype_transform_grad_norm: 0.268192 (range: 0.268192 - 0.268192)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0095, max=0.7961, mean=0.1667
Batch reconstruction MSE: 1.1341
Archetype stats: min=-18.9558, max=14.1523
Archetype change since last debug: 3.052058
Archetype gradients: norm=0.021479, mean=0.000802
Epoch 1/1
Average loss: 0.7926
Archetypal loss: 0.8681
KLD loss: 0.1135
Reconstruction loss: 0.8681
Archetype R²: 0.0887
Archetype transform grad norm: 0.261101
Archetype transform param norm: 7.3125
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.7926 (range: 0.7926 - 0.7926)
archetypal_loss: 0.8681 (range: 0.8681 - 0.8681)
kld_loss: 0.1135 (range: 0.1135 - 0.1135)
reconstruction_loss: 0.8681 (range: 0.8681 - 0.8681)
archetype_r2: 0.0887 (range: 0.0887 - 0.0887)
Archetype Transform Summary:
archetype_transform_mean: 0.000402 (range: 0.000402 - 0.000402)
archetype_transform_std: 0.102404 (range: 0.102404 - 0.102404)
archetype_transform_norm: 7.312480 (range: 7.312480 - 7.312480)
archetype_transform_grad_norm: 0.261101 (range: 0.261101 - 0.261101)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0074, max=0.8772, mean=0.1667
Batch reconstruction MSE: 1.0910
Archetype stats: min=-19.8237, max=14.7981
Archetype change since last debug: 2.732533
Archetype gradients: norm=0.010159, mean=0.000438
Epoch 1/1
Average loss: 0.7910
Archetypal loss: 0.8663
KLD loss: 0.1141
Reconstruction loss: 0.8663
Archetype R²: 0.0905
Archetype transform grad norm: 0.268682
Archetype transform param norm: 7.4048
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.7910 (range: 0.7910 - 0.7910)
archetypal_loss: 0.8663 (range: 0.8663 - 0.8663)
kld_loss: 0.1141 (range: 0.1141 - 0.1141)
reconstruction_loss: 0.8663 (range: 0.8663 - 0.8663)
archetype_r2: 0.0905 (range: 0.0905 - 0.0905)
Archetype Transform Summary:
archetype_transform_mean: 0.000432 (range: 0.000432 - 0.000432)
archetype_transform_std: 0.103697 (range: 0.103697 - 0.103697)
archetype_transform_norm: 7.404756 (range: 7.404756 - 7.404756)
archetype_transform_grad_norm: 0.268682 (range: 0.268682 - 0.268682)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0109, max=0.7737, mean=0.1667
Batch reconstruction MSE: 1.1445
Archetype stats: min=-20.5234, max=15.3406
Archetype change since last debug: 2.785833
Archetype gradients: norm=0.032703, mean=0.001314
Epoch 1/1
Average loss: 0.7911
Archetypal loss: 0.8670
KLD loss: 0.1082
Reconstruction loss: 0.8670
Archetype R²: 0.0899
Archetype transform grad norm: 0.280204
Archetype transform param norm: 7.4772
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.7911 (range: 0.7911 - 0.7911)
archetypal_loss: 0.8670 (range: 0.8670 - 0.8670)
kld_loss: 0.1082 (range: 0.1082 - 0.1082)
reconstruction_loss: 0.8670 (range: 0.8670 - 0.8670)
archetype_r2: 0.0899 (range: 0.0899 - 0.0899)
Archetype Transform Summary:
archetype_transform_mean: 0.000424 (range: 0.000424 - 0.000424)
archetype_transform_std: 0.104711 (range: 0.104711 - 0.104711)
archetype_transform_norm: 7.477164 (range: 7.477164 - 7.477164)
archetype_transform_grad_norm: 0.280204 (range: 0.280204 - 0.280204)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0058, max=0.9018, mean=0.1667
Batch reconstruction MSE: 1.1543
Archetype stats: min=-21.1710, max=15.9407
Archetype change since last debug: 2.178459
Archetype gradients: norm=0.024240, mean=0.001142
Epoch 1/1
Average loss: 0.7910
Archetypal loss: 0.8657
KLD loss: 0.1191
Reconstruction loss: 0.8657
Archetype R²: 0.0912
Archetype transform grad norm: 0.288635
Archetype transform param norm: 7.5515
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.7910 (range: 0.7910 - 0.7910)
archetypal_loss: 0.8657 (range: 0.8657 - 0.8657)
kld_loss: 0.1191 (range: 0.1191 - 0.1191)
reconstruction_loss: 0.8657 (range: 0.8657 - 0.8657)
archetype_r2: 0.0912 (range: 0.0912 - 0.0912)
Archetype Transform Summary:
archetype_transform_mean: 0.000475 (range: 0.000475 - 0.000475)
archetype_transform_std: 0.105751 (range: 0.105751 - 0.105751)
archetype_transform_norm: 7.551502 (range: 7.551502 - 7.551502)
archetype_transform_grad_norm: 0.288635 (range: 0.288635 - 0.288635)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0054, max=0.8540, mean=0.1667
Batch reconstruction MSE: 1.1976
Archetype stats: min=-21.5015, max=16.1812
Archetype change since last debug: 2.188060
Archetype gradients: norm=0.042953, mean=0.001794
Epoch 1/1
Average loss: 0.7894
Archetypal loss: 0.8633
KLD loss: 0.1243
Reconstruction loss: 0.8633
Archetype R²: 0.0939
Archetype transform grad norm: 0.289941
Archetype transform param norm: 7.6340
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.7894 (range: 0.7894 - 0.7894)
archetypal_loss: 0.8633 (range: 0.8633 - 0.8633)
kld_loss: 0.1243 (range: 0.1243 - 0.1243)
reconstruction_loss: 0.8633 (range: 0.8633 - 0.8633)
archetype_r2: 0.0939 (range: 0.0939 - 0.0939)
Archetype Transform Summary:
archetype_transform_mean: 0.000403 (range: 0.000403 - 0.000403)
archetype_transform_std: 0.106907 (range: 0.106907 - 0.106907)
archetype_transform_norm: 7.634022 (range: 7.634022 - 7.634022)
archetype_transform_grad_norm: 0.289941 (range: 0.289941 - 0.289941)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0026, max=0.9179, mean=0.1667
Batch reconstruction MSE: 1.1792
Archetype stats: min=-22.0263, max=16.6576
Archetype change since last debug: 3.010678
Archetype gradients: norm=0.045287, mean=0.001583
Epoch 1/1
Average loss: 0.7860
Archetypal loss: 0.8577
KLD loss: 0.1399
Reconstruction loss: 0.8577
Archetype R²: 0.0996
Archetype transform grad norm: 0.283167
Archetype transform param norm: 7.7420
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.7860 (range: 0.7860 - 0.7860)
archetypal_loss: 0.8577 (range: 0.8577 - 0.8577)
kld_loss: 0.1399 (range: 0.1399 - 0.1399)
reconstruction_loss: 0.8577 (range: 0.8577 - 0.8577)
archetype_r2: 0.0996 (range: 0.0996 - 0.0996)
Archetype Transform Summary:
archetype_transform_mean: 0.000468 (range: 0.000468 - 0.000468)
archetype_transform_std: 0.108419 (range: 0.108419 - 0.108419)
archetype_transform_norm: 7.741979 (range: 7.741979 - 7.741979)
archetype_transform_grad_norm: 0.283167 (range: 0.283167 - 0.283167)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0043, max=0.8650, mean=0.1667
Batch reconstruction MSE: 1.2071
Archetype stats: min=-22.3607, max=17.0746
Archetype change since last debug: 2.860988
Archetype gradients: norm=0.039950, mean=0.001700
Epoch 1/1
Average loss: 0.7824
Archetypal loss: 0.8544
KLD loss: 0.1353
Reconstruction loss: 0.8544
Archetype R²: 0.1033
Archetype transform grad norm: 0.279308
Archetype transform param norm: 7.8577
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.7824 (range: 0.7824 - 0.7824)
archetypal_loss: 0.8544 (range: 0.8544 - 0.8544)
kld_loss: 0.1353 (range: 0.1353 - 0.1353)
reconstruction_loss: 0.8544 (range: 0.8544 - 0.8544)
archetype_r2: 0.1033 (range: 0.1033 - 0.1033)
Archetype Transform Summary:
archetype_transform_mean: 0.000450 (range: 0.000450 - 0.000450)
archetype_transform_std: 0.110040 (range: 0.110040 - 0.110040)
archetype_transform_norm: 7.857723 (range: 7.857723 - 7.857723)
archetype_transform_grad_norm: 0.279308 (range: 0.279308 - 0.279308)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0063, max=0.8099, mean=0.1667
Batch reconstruction MSE: 1.2396
Archetype stats: min=-22.8281, max=17.4216
Archetype change since last debug: 3.438834
Archetype gradients: norm=0.080283, mean=0.002534
Epoch 1/1
Average loss: 0.7829
Archetypal loss: 0.8541
KLD loss: 0.1418
Reconstruction loss: 0.8541
Archetype R²: 0.1036
Archetype transform grad norm: 0.298306
Archetype transform param norm: 7.9377
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.7829 (range: 0.7829 - 0.7829)
archetypal_loss: 0.8541 (range: 0.8541 - 0.8541)
kld_loss: 0.1418 (range: 0.1418 - 0.1418)
reconstruction_loss: 0.8541 (range: 0.8541 - 0.8541)
archetype_r2: 0.1036 (range: 0.1036 - 0.1036)
Archetype Transform Summary:
archetype_transform_mean: 0.000563 (range: 0.000563 - 0.000563)
archetype_transform_std: 0.111159 (range: 0.111159 - 0.111159)
archetype_transform_norm: 7.937697 (range: 7.937697 - 7.937697)
archetype_transform_grad_norm: 0.298306 (range: 0.298306 - 0.298306)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0087, max=0.6987, mean=0.1667
Batch reconstruction MSE: 1.4584
Archetype stats: min=-22.5337, max=17.6571
Archetype change since last debug: 1.900352
Archetype gradients: norm=0.059060, mean=0.002764
Epoch 1/1
Average loss: 0.7865
Archetypal loss: 0.8585
KLD loss: 0.1381
Reconstruction loss: 0.8585
Archetype R²: 0.0994
Archetype transform grad norm: 0.319507
Archetype transform param norm: 7.9728
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.7865 (range: 0.7865 - 0.7865)
archetypal_loss: 0.8585 (range: 0.8585 - 0.8585)
kld_loss: 0.1381 (range: 0.1381 - 0.1381)
reconstruction_loss: 0.8585 (range: 0.8585 - 0.8585)
archetype_r2: 0.0994 (range: 0.0994 - 0.0994)
Archetype Transform Summary:
archetype_transform_mean: 0.000472 (range: 0.000472 - 0.000472)
archetype_transform_std: 0.111651 (range: 0.111651 - 0.111651)
archetype_transform_norm: 7.972764 (range: 7.972764 - 7.972764)
archetype_transform_grad_norm: 0.319507 (range: 0.319507 - 0.319507)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0085, max=0.7567, mean=0.1667
Batch reconstruction MSE: 1.3563
Archetype stats: min=-21.9025, max=16.4897
Archetype change since last debug: 3.500905
Archetype gradients: norm=0.110881, mean=0.003503
Epoch 1/1
Average loss: 0.7853
Archetypal loss: 0.8559
KLD loss: 0.1503
Reconstruction loss: 0.8559
Archetype R²: 0.1019
Archetype transform grad norm: 0.313230
Archetype transform param norm: 7.9933
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.7853 (range: 0.7853 - 0.7853)
archetypal_loss: 0.8559 (range: 0.8559 - 0.8559)
kld_loss: 0.1503 (range: 0.1503 - 0.1503)
reconstruction_loss: 0.8559 (range: 0.8559 - 0.8559)
archetype_r2: 0.1019 (range: 0.1019 - 0.1019)
Archetype Transform Summary:
archetype_transform_mean: 0.000525 (range: 0.000525 - 0.000525)
archetype_transform_std: 0.111938 (range: 0.111938 - 0.111938)
archetype_transform_norm: 7.993305 (range: 7.993305 - 7.993305)
archetype_transform_grad_norm: 0.313230 (range: 0.313230 - 0.313230)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0099, max=0.6951, mean=0.1667
Batch reconstruction MSE: 1.2540
Archetype stats: min=-20.9184, max=16.3122
Archetype change since last debug: 2.107881
Archetype gradients: norm=0.049793, mean=0.002165
Epoch 1/1
Average loss: 0.7805
Archetypal loss: 0.8518
KLD loss: 0.1391
Reconstruction loss: 0.8518
Archetype R²: 0.1060
Archetype transform grad norm: 0.288175
Archetype transform param norm: 8.0362
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.7805 (range: 0.7805 - 0.7805)
archetypal_loss: 0.8518 (range: 0.8518 - 0.8518)
kld_loss: 0.1391 (range: 0.1391 - 0.1391)
reconstruction_loss: 0.8518 (range: 0.8518 - 0.8518)
archetype_r2: 0.1060 (range: 0.1060 - 0.1060)
Archetype Transform Summary:
archetype_transform_mean: 0.000505 (range: 0.000505 - 0.000505)
archetype_transform_std: 0.112539 (range: 0.112539 - 0.112539)
archetype_transform_norm: 8.036187 (range: 8.036187 - 8.036187)
archetype_transform_grad_norm: 0.288175 (range: 0.288175 - 0.288175)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0114, max=0.6621, mean=0.1667
Batch reconstruction MSE: 1.2159
Archetype stats: min=-21.3295, max=16.2913
Archetype change since last debug: 2.124036
Archetype gradients: norm=0.052129, mean=0.002061
Epoch 1/1
Average loss: 0.7790
Archetypal loss: 0.8504
KLD loss: 0.1368
Reconstruction loss: 0.8504
Archetype R²: 0.1074
Archetype transform grad norm: 0.288174
Archetype transform param norm: 8.0937
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.7790 (range: 0.7790 - 0.7790)
archetypal_loss: 0.8504 (range: 0.8504 - 0.8504)
kld_loss: 0.1368 (range: 0.1368 - 0.1368)
reconstruction_loss: 0.8504 (range: 0.8504 - 0.8504)
archetype_r2: 0.1074 (range: 0.1074 - 0.1074)
Archetype Transform Summary:
archetype_transform_mean: 0.000587 (range: 0.000587 - 0.000587)
archetype_transform_std: 0.113344 (range: 0.113344 - 0.113344)
archetype_transform_norm: 8.093722 (range: 8.093722 - 8.093722)
archetype_transform_grad_norm: 0.288174 (range: 0.288174 - 0.288174)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0161, max=0.6283, mean=0.1667
Batch reconstruction MSE: 1.2144
Archetype stats: min=-21.2875, max=16.6469
Archetype change since last debug: 1.677057
Archetype gradients: norm=0.054567, mean=0.002311
Epoch 1/1
Average loss: 0.7780
Archetypal loss: 0.8498
KLD loss: 0.1310
Reconstruction loss: 0.8498
Archetype R²: 0.1080
Archetype transform grad norm: 0.287144
Archetype transform param norm: 8.1366
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.7780 (range: 0.7780 - 0.7780)
archetypal_loss: 0.8498 (range: 0.8498 - 0.8498)
kld_loss: 0.1310 (range: 0.1310 - 0.1310)
reconstruction_loss: 0.8498 (range: 0.8498 - 0.8498)
archetype_r2: 0.1080 (range: 0.1080 - 0.1080)
Archetype Transform Summary:
archetype_transform_mean: 0.000551 (range: 0.000551 - 0.000551)
archetype_transform_std: 0.113944 (range: 0.113944 - 0.113944)
archetype_transform_norm: 8.136551 (range: 8.136551 - 8.136551)
archetype_transform_grad_norm: 0.287144 (range: 0.287144 - 0.287144)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0153, max=0.5792, mean=0.1667
Batch reconstruction MSE: 1.2189
Archetype stats: min=-21.8570, max=16.8513
Archetype change since last debug: 2.021965
Archetype gradients: norm=0.046809, mean=0.002095
Epoch 1/1
Average loss: 0.7778
Archetypal loss: 0.8496
KLD loss: 0.1314
Reconstruction loss: 0.8496
Archetype R²: 0.1082
Archetype transform grad norm: 0.294838
Archetype transform param norm: 8.1853
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.7778 (range: 0.7778 - 0.7778)
archetypal_loss: 0.8496 (range: 0.8496 - 0.8496)
kld_loss: 0.1314 (range: 0.1314 - 0.1314)
reconstruction_loss: 0.8496 (range: 0.8496 - 0.8496)
archetype_r2: 0.1082 (range: 0.1082 - 0.1082)
Archetype Transform Summary:
archetype_transform_mean: 0.000615 (range: 0.000615 - 0.000615)
archetype_transform_std: 0.114627 (range: 0.114627 - 0.114627)
archetype_transform_norm: 8.185316 (range: 8.185316 - 8.185316)
archetype_transform_grad_norm: 0.294838 (range: 0.294838 - 0.294838)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0201, max=0.5962, mean=0.1667
Batch reconstruction MSE: 1.1819
Archetype stats: min=-21.9813, max=17.1420
Archetype change since last debug: 1.561115
Archetype gradients: norm=0.062537, mean=0.002411
Epoch 1/1
Average loss: 0.7764
Archetypal loss: 0.8482
KLD loss: 0.1301
Reconstruction loss: 0.8482
Archetype R²: 0.1097
Archetype transform grad norm: 0.285692
Archetype transform param norm: 8.2201
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.7764 (range: 0.7764 - 0.7764)
archetypal_loss: 0.8482 (range: 0.8482 - 0.8482)
kld_loss: 0.1301 (range: 0.1301 - 0.1301)
reconstruction_loss: 0.8482 (range: 0.8482 - 0.8482)
archetype_r2: 0.1097 (range: 0.1097 - 0.1097)
Archetype Transform Summary:
archetype_transform_mean: 0.000631 (range: 0.000631 - 0.000631)
archetype_transform_std: 0.115114 (range: 0.115114 - 0.115114)
archetype_transform_norm: 8.220128 (range: 8.220128 - 8.220128)
archetype_transform_grad_norm: 0.285692 (range: 0.285692 - 0.285692)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0207, max=0.4832, mean=0.1667
Batch reconstruction MSE: 1.2081
Archetype stats: min=-22.5750, max=17.5200
Archetype change since last debug: 1.844293
Archetype gradients: norm=0.042217, mean=0.001879
Epoch 1/1
Average loss: 0.7760
Archetypal loss: 0.8483
KLD loss: 0.1254
Reconstruction loss: 0.8483
Archetype R²: 0.1095
Archetype transform grad norm: 0.291500
Archetype transform param norm: 8.2654
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.7760 (range: 0.7760 - 0.7760)
archetypal_loss: 0.8483 (range: 0.8483 - 0.8483)
kld_loss: 0.1254 (range: 0.1254 - 0.1254)
reconstruction_loss: 0.8483 (range: 0.8483 - 0.8483)
archetype_r2: 0.1095 (range: 0.1095 - 0.1095)
Archetype Transform Summary:
archetype_transform_mean: 0.000694 (range: 0.000694 - 0.000694)
archetype_transform_std: 0.115748 (range: 0.115748 - 0.115748)
archetype_transform_norm: 8.265404 (range: 8.265404 - 8.265404)
archetype_transform_grad_norm: 0.291500 (range: 0.291500 - 0.291500)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0184, max=0.5757, mean=0.1667
Batch reconstruction MSE: 1.1849
Archetype stats: min=-22.8020, max=17.6387
Archetype change since last debug: 1.509578
Archetype gradients: norm=0.056423, mean=0.002293
Epoch 1/1
Average loss: 0.7759
Archetypal loss: 0.8478
KLD loss: 0.1286
Reconstruction loss: 0.8478
Archetype R²: 0.1100
Archetype transform grad norm: 0.286451
Archetype transform param norm: 8.2942
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.7759 (range: 0.7759 - 0.7759)
archetypal_loss: 0.8478 (range: 0.8478 - 0.8478)
kld_loss: 0.1286 (range: 0.1286 - 0.1286)
reconstruction_loss: 0.8478 (range: 0.8478 - 0.8478)
archetype_r2: 0.1100 (range: 0.1100 - 0.1100)
Archetype Transform Summary:
archetype_transform_mean: 0.000713 (range: 0.000713 - 0.000713)
archetype_transform_std: 0.116151 (range: 0.116151 - 0.116151)
archetype_transform_norm: 8.294207 (range: 8.294207 - 8.294207)
archetype_transform_grad_norm: 0.286451 (range: 0.286451 - 0.286451)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0242, max=0.5204, mean=0.1667
Batch reconstruction MSE: 1.2873
Archetype stats: min=-22.9699, max=17.8230
Archetype change since last debug: 1.209568
Archetype gradients: norm=0.031930, mean=0.001339
Epoch 1/1
Average loss: 0.7777
Archetypal loss: 0.8505
KLD loss: 0.1227
Reconstruction loss: 0.8505
Archetype R²: 0.1074
Archetype transform grad norm: 0.298701
Archetype transform param norm: 8.3256
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.7777 (range: 0.7777 - 0.7777)
archetypal_loss: 0.8505 (range: 0.8505 - 0.8505)
kld_loss: 0.1227 (range: 0.1227 - 0.1227)
reconstruction_loss: 0.8505 (range: 0.8505 - 0.8505)
archetype_r2: 0.1074 (range: 0.1074 - 0.1074)
Archetype Transform Summary:
archetype_transform_mean: 0.000692 (range: 0.000692 - 0.000692)
archetype_transform_std: 0.116590 (range: 0.116590 - 0.116590)
archetype_transform_norm: 8.325553 (range: 8.325553 - 8.325553)
archetype_transform_grad_norm: 0.298701 (range: 0.298701 - 0.298701)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0202, max=0.5867, mean=0.1667
Batch reconstruction MSE: 1.1940
Archetype stats: min=-22.9413, max=17.2550
Archetype change since last debug: 1.766320
Archetype gradients: norm=0.078994, mean=0.002858
Epoch 1/1
Average loss: 0.7757
Archetypal loss: 0.8475
KLD loss: 0.1298
Reconstruction loss: 0.8475
Archetype R²: 0.1103
Archetype transform grad norm: 0.290711
Archetype transform param norm: 8.3454
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.7757 (range: 0.7757 - 0.7757)
archetypal_loss: 0.8475 (range: 0.8475 - 0.8475)
kld_loss: 0.1298 (range: 0.1298 - 0.1298)
reconstruction_loss: 0.8475 (range: 0.8475 - 0.8475)
archetype_r2: 0.1103 (range: 0.1103 - 0.1103)
Archetype Transform Summary:
archetype_transform_mean: 0.000716 (range: 0.000716 - 0.000716)
archetype_transform_std: 0.116868 (range: 0.116868 - 0.116868)
archetype_transform_norm: 8.345420 (range: 8.345420 - 8.345420)
archetype_transform_grad_norm: 0.290711 (range: 0.290711 - 0.290711)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0278, max=0.4374, mean=0.1667
Batch reconstruction MSE: 1.2101
Archetype stats: min=-22.9471, max=17.4538
Archetype change since last debug: 1.250215
Archetype gradients: norm=0.044007, mean=0.002076
Epoch 1/1
Average loss: 0.7748
Archetypal loss: 0.8476
KLD loss: 0.1196
Reconstruction loss: 0.8476
Archetype R²: 0.1102
Archetype transform grad norm: 0.294504
Archetype transform param norm: 8.3850
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.7748 (range: 0.7748 - 0.7748)
archetypal_loss: 0.8476 (range: 0.8476 - 0.8476)
kld_loss: 0.1196 (range: 0.1196 - 0.1196)
reconstruction_loss: 0.8476 (range: 0.8476 - 0.8476)
archetype_r2: 0.1102 (range: 0.1102 - 0.1102)
Archetype Transform Summary:
archetype_transform_mean: 0.000725 (range: 0.000725 - 0.000725)
archetype_transform_std: 0.117423 (range: 0.117423 - 0.117423)
archetype_transform_norm: 8.385045 (range: 8.385045 - 8.385045)
archetype_transform_grad_norm: 0.294504 (range: 0.294504 - 0.294504)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0249, max=0.5551, mean=0.1667
Batch reconstruction MSE: 1.1833
Archetype stats: min=-23.4080, max=17.4351
Archetype change since last debug: 1.388764
Archetype gradients: norm=0.079596, mean=0.003233
Epoch 1/1
Average loss: 0.7747
Archetypal loss: 0.8470
KLD loss: 0.1240
Reconstruction loss: 0.8470
Archetype R²: 0.1108
Archetype transform grad norm: 0.300653
Archetype transform param norm: 8.4057
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.7747 (range: 0.7747 - 0.7747)
archetypal_loss: 0.8470 (range: 0.8470 - 0.8470)
kld_loss: 0.1240 (range: 0.1240 - 0.1240)
reconstruction_loss: 0.8470 (range: 0.8470 - 0.8470)
archetype_r2: 0.1108 (range: 0.1108 - 0.1108)
Archetype Transform Summary:
archetype_transform_mean: 0.000758 (range: 0.000758 - 0.000758)
archetype_transform_std: 0.117712 (range: 0.117712 - 0.117712)
archetype_transform_norm: 8.405661 (range: 8.405661 - 8.405661)
archetype_transform_grad_norm: 0.300653 (range: 0.300653 - 0.300653)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0266, max=0.4510, mean=0.1667
Batch reconstruction MSE: 1.2712
Archetype stats: min=-23.2772, max=17.8290
Archetype change since last debug: 1.453858
Archetype gradients: norm=0.061446, mean=0.003010
Epoch 1/1
Average loss: 0.7761
Archetypal loss: 0.8491
KLD loss: 0.1188
Reconstruction loss: 0.8491
Archetype R²: 0.1087
Archetype transform grad norm: 0.313880
Archetype transform param norm: 8.4294
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.7761 (range: 0.7761 - 0.7761)
archetypal_loss: 0.8491 (range: 0.8491 - 0.8491)
kld_loss: 0.1188 (range: 0.1188 - 0.1188)
reconstruction_loss: 0.8491 (range: 0.8491 - 0.8491)
archetype_r2: 0.1087 (range: 0.1087 - 0.1087)
Archetype Transform Summary:
archetype_transform_mean: 0.000759 (range: 0.000759 - 0.000759)
archetype_transform_std: 0.118045 (range: 0.118045 - 0.118045)
archetype_transform_norm: 8.429447 (range: 8.429447 - 8.429447)
archetype_transform_grad_norm: 0.313880 (range: 0.313880 - 0.313880)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0292, max=0.4984, mean=0.1667
Batch reconstruction MSE: 1.2588
Archetype stats: min=-23.5833, max=17.4961
Archetype change since last debug: 1.598921
Archetype gradients: norm=0.089658, mean=0.003786
Epoch 1/1
Average loss: 0.7765
Archetypal loss: 0.8490
KLD loss: 0.1237
Reconstruction loss: 0.8490
Archetype R²: 0.1088
Archetype transform grad norm: 0.317786
Archetype transform param norm: 8.4305
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.7765 (range: 0.7765 - 0.7765)
archetypal_loss: 0.8490 (range: 0.8490 - 0.8490)
kld_loss: 0.1237 (range: 0.1237 - 0.1237)
reconstruction_loss: 0.8490 (range: 0.8490 - 0.8490)
archetype_r2: 0.1088 (range: 0.1088 - 0.1088)
Archetype Transform Summary:
archetype_transform_mean: 0.000796 (range: 0.000796 - 0.000796)
archetype_transform_std: 0.118059 (range: 0.118059 - 0.118059)
archetype_transform_norm: 8.430489 (range: 8.430489 - 8.430489)
archetype_transform_grad_norm: 0.317786 (range: 0.317786 - 0.317786)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0183, max=0.4119, mean=0.1667
Batch reconstruction MSE: 1.2705
Archetype stats: min=-22.8874, max=17.6764
Archetype change since last debug: 1.617665
Archetype gradients: norm=0.052346, mean=0.002605
Epoch 1/1
Average loss: 0.7756
Archetypal loss: 0.8486
KLD loss: 0.1186
Reconstruction loss: 0.8486
Archetype R²: 0.1093
Archetype transform grad norm: 0.307927
Archetype transform param norm: 8.4463
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.7756 (range: 0.7756 - 0.7756)
archetypal_loss: 0.8486 (range: 0.8486 - 0.8486)
kld_loss: 0.1186 (range: 0.1186 - 0.1186)
reconstruction_loss: 0.8486 (range: 0.8486 - 0.8486)
archetype_r2: 0.1093 (range: 0.1093 - 0.1093)
Archetype Transform Summary:
archetype_transform_mean: 0.000785 (range: 0.000785 - 0.000785)
archetype_transform_std: 0.118281 (range: 0.118281 - 0.118281)
archetype_transform_norm: 8.446279 (range: 8.446279 - 8.446279)
archetype_transform_grad_norm: 0.307927 (range: 0.307927 - 0.307927)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0242, max=0.5328, mean=0.1667
Batch reconstruction MSE: 1.3555
Archetype stats: min=-23.1349, max=17.1321
Archetype change since last debug: 1.510584
Archetype gradients: norm=0.063309, mean=0.002500
Epoch 1/1
Average loss: 0.7790
Archetypal loss: 0.8513
KLD loss: 0.1287
Reconstruction loss: 0.8513
Archetype R²: 0.1066
Archetype transform grad norm: 0.299142
Archetype transform param norm: 8.4394
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.7790 (range: 0.7790 - 0.7790)
archetypal_loss: 0.8513 (range: 0.8513 - 0.8513)
kld_loss: 0.1287 (range: 0.1287 - 0.1287)
reconstruction_loss: 0.8513 (range: 0.8513 - 0.8513)
archetype_r2: 0.1066 (range: 0.1066 - 0.1066)
Archetype Transform Summary:
archetype_transform_mean: 0.000812 (range: 0.000812 - 0.000812)
archetype_transform_std: 0.118184 (range: 0.118184 - 0.118184)
archetype_transform_norm: 8.439386 (range: 8.439386 - 8.439386)
archetype_transform_grad_norm: 0.299142 (range: 0.299142 - 0.299142)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0178, max=0.4887, mean=0.1667
Batch reconstruction MSE: 1.2758
Archetype stats: min=-22.1825, max=16.9034
Archetype change since last debug: 1.864337
Archetype gradients: norm=0.090287, mean=0.003243
Epoch 1/1
Average loss: 0.7759
Archetypal loss: 0.8485
KLD loss: 0.1227
Reconstruction loss: 0.8485
Archetype R²: 0.1093
Archetype transform grad norm: 0.293616
Archetype transform param norm: 8.4404
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.7759 (range: 0.7759 - 0.7759)
archetypal_loss: 0.8485 (range: 0.8485 - 0.8485)
kld_loss: 0.1227 (range: 0.1227 - 0.1227)
reconstruction_loss: 0.8485 (range: 0.8485 - 0.8485)
archetype_r2: 0.1093 (range: 0.1093 - 0.1093)
Archetype Transform Summary:
archetype_transform_mean: 0.000791 (range: 0.000791 - 0.000791)
archetype_transform_std: 0.118199 (range: 0.118199 - 0.118199)
archetype_transform_norm: 8.440446 (range: 8.440446 - 8.440446)
archetype_transform_grad_norm: 0.293616 (range: 0.293616 - 0.293616)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0305, max=0.4628, mean=0.1667
Batch reconstruction MSE: 1.2093
Archetype stats: min=-22.5140, max=16.7394
Archetype change since last debug: 1.219344
Archetype gradients: norm=0.054203, mean=0.002367
Epoch 1/1
Average loss: 0.7736
Archetypal loss: 0.8462
KLD loss: 0.1204
Reconstruction loss: 0.8462
Archetype R²: 0.1116
Archetype transform grad norm: 0.281726
Archetype transform param norm: 8.4598
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.7736 (range: 0.7736 - 0.7736)
archetypal_loss: 0.8462 (range: 0.8462 - 0.8462)
kld_loss: 0.1204 (range: 0.1204 - 0.1204)
reconstruction_loss: 0.8462 (range: 0.8462 - 0.8462)
archetype_r2: 0.1116 (range: 0.1116 - 0.1116)
Archetype Transform Summary:
archetype_transform_mean: 0.000819 (range: 0.000819 - 0.000819)
archetype_transform_std: 0.118470 (range: 0.118470 - 0.118470)
archetype_transform_norm: 8.459840 (range: 8.459840 - 8.459840)
archetype_transform_grad_norm: 0.281726 (range: 0.281726 - 0.281726)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0290, max=0.4608, mean=0.1667
Batch reconstruction MSE: 1.1320
Archetype stats: min=-22.4746, max=17.1094
Archetype change since last debug: 1.220992
Archetype gradients: norm=0.058260, mean=0.002166
Epoch 1/1
Average loss: 0.7712
Archetypal loss: 0.8440
KLD loss: 0.1159
Reconstruction loss: 0.8440
Archetype R²: 0.1138
Archetype transform grad norm: 0.280808
Archetype transform param norm: 8.4990
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.7712 (range: 0.7712 - 0.7712)
archetypal_loss: 0.8440 (range: 0.8440 - 0.8440)
kld_loss: 0.1159 (range: 0.1159 - 0.1159)
reconstruction_loss: 0.8440 (range: 0.8440 - 0.8440)
archetype_r2: 0.1138 (range: 0.1138 - 0.1138)
Archetype Transform Summary:
archetype_transform_mean: 0.000835 (range: 0.000835 - 0.000835)
archetype_transform_std: 0.119018 (range: 0.119018 - 0.119018)
archetype_transform_norm: 8.498981 (range: 8.498981 - 8.498981)
archetype_transform_grad_norm: 0.280808 (range: 0.280808 - 0.280808)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0286, max=0.4070, mean=0.1667
Batch reconstruction MSE: 1.1032
Archetype stats: min=-23.1005, max=17.2707
Archetype change since last debug: 1.656607
Archetype gradients: norm=0.038139, mean=0.001782
Epoch 1/1
Average loss: 0.7705
Archetypal loss: 0.8435
KLD loss: 0.1134
Reconstruction loss: 0.8435
Archetype R²: 0.1142
Archetype transform grad norm: 0.287179
Archetype transform param norm: 8.5409
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.7705 (range: 0.7705 - 0.7705)
archetypal_loss: 0.8435 (range: 0.8435 - 0.8435)
kld_loss: 0.1134 (range: 0.1134 - 0.1134)
reconstruction_loss: 0.8435 (range: 0.8435 - 0.8435)
archetype_r2: 0.1142 (range: 0.1142 - 0.1142)
Archetype Transform Summary:
archetype_transform_mean: 0.000851 (range: 0.000851 - 0.000851)
archetype_transform_std: 0.119605 (range: 0.119605 - 0.119605)
archetype_transform_norm: 8.540884 (range: 8.540884 - 8.540884)
archetype_transform_grad_norm: 0.287179 (range: 0.287179 - 0.287179)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0316, max=0.4172, mean=0.1667
Batch reconstruction MSE: 1.1011
Archetype stats: min=-23.2414, max=17.6965
Archetype change since last debug: 1.524889
Archetype gradients: norm=0.051686, mean=0.001944
Epoch 1/1
Average loss: 0.7698
Archetypal loss: 0.8432
KLD loss: 0.1091
Reconstruction loss: 0.8432
Archetype R²: 0.1145
Archetype transform grad norm: 0.286746
Archetype transform param norm: 8.5849
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.7698 (range: 0.7698 - 0.7698)
archetypal_loss: 0.8432 (range: 0.8432 - 0.8432)
kld_loss: 0.1091 (range: 0.1091 - 0.1091)
reconstruction_loss: 0.8432 (range: 0.8432 - 0.8432)
archetype_r2: 0.1145 (range: 0.1145 - 0.1145)
Archetype Transform Summary:
archetype_transform_mean: 0.000852 (range: 0.000852 - 0.000852)
archetype_transform_std: 0.120221 (range: 0.120221 - 0.120221)
archetype_transform_norm: 8.584904 (range: 8.584904 - 8.584904)
archetype_transform_grad_norm: 0.286746 (range: 0.286746 - 0.286746)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0302, max=0.4261, mean=0.1667
Batch reconstruction MSE: 1.0963
Archetype stats: min=-23.8325, max=17.8083
Archetype change since last debug: 1.635145
Archetype gradients: norm=0.040718, mean=0.001922
Epoch 1/1
Average loss: 0.7698
Archetypal loss: 0.8431
KLD loss: 0.1103
Reconstruction loss: 0.8431
Archetype R²: 0.1145
Archetype transform grad norm: 0.295261
Archetype transform param norm: 8.6234
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.7698 (range: 0.7698 - 0.7698)
archetypal_loss: 0.8431 (range: 0.8431 - 0.8431)
kld_loss: 0.1103 (range: 0.1103 - 0.1103)
reconstruction_loss: 0.8431 (range: 0.8431 - 0.8431)
archetype_r2: 0.1145 (range: 0.1145 - 0.1145)
Archetype Transform Summary:
archetype_transform_mean: 0.000888 (range: 0.000888 - 0.000888)
archetype_transform_std: 0.120760 (range: 0.120760 - 0.120760)
archetype_transform_norm: 8.623370 (range: 8.623370 - 8.623370)
archetype_transform_grad_norm: 0.295261 (range: 0.295261 - 0.295261)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0321, max=0.4066, mean=0.1667
Batch reconstruction MSE: 1.1647
Archetype stats: min=-23.8384, max=18.2090
Archetype change since last debug: 1.425986
Archetype gradients: norm=0.064906, mean=0.002470
Epoch 1/1
Average loss: 0.7706
Archetypal loss: 0.8445
KLD loss: 0.1059
Reconstruction loss: 0.8445
Archetype R²: 0.1132
Archetype transform grad norm: 0.298114
Archetype transform param norm: 8.6506
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.7706 (range: 0.7706 - 0.7706)
archetypal_loss: 0.8445 (range: 0.8445 - 0.8445)
kld_loss: 0.1059 (range: 0.1059 - 0.1059)
reconstruction_loss: 0.8445 (range: 0.8445 - 0.8445)
archetype_r2: 0.1132 (range: 0.1132 - 0.1132)
Archetype Transform Summary:
archetype_transform_mean: 0.000874 (range: 0.000874 - 0.000874)
archetype_transform_std: 0.121142 (range: 0.121142 - 0.121142)
archetype_transform_norm: 8.650618 (range: 8.650618 - 8.650618)
archetype_transform_grad_norm: 0.298114 (range: 0.298114 - 0.298114)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0313, max=0.4142, mean=0.1667
Batch reconstruction MSE: 1.1738
Archetype stats: min=-24.2561, max=18.0537
Archetype change since last debug: 1.225920
Archetype gradients: norm=0.053401, mean=0.002500
Epoch 1/1
Average loss: 0.7716
Archetypal loss: 0.8452
KLD loss: 0.1095
Reconstruction loss: 0.8452
Archetype R²: 0.1125
Archetype transform grad norm: 0.308181
Archetype transform param norm: 8.6649
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.7716 (range: 0.7716 - 0.7716)
archetypal_loss: 0.8452 (range: 0.8452 - 0.8452)
kld_loss: 0.1095 (range: 0.1095 - 0.1095)
reconstruction_loss: 0.8452 (range: 0.8452 - 0.8452)
archetype_r2: 0.1125 (range: 0.1125 - 0.1125)
Archetype Transform Summary:
archetype_transform_mean: 0.000898 (range: 0.000898 - 0.000898)
archetype_transform_std: 0.121342 (range: 0.121342 - 0.121342)
archetype_transform_norm: 8.664945 (range: 8.664945 - 8.664945)
archetype_transform_grad_norm: 0.308181 (range: 0.308181 - 0.308181)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0182, max=0.4539, mean=0.1667
Batch reconstruction MSE: 1.2994
Archetype stats: min=-23.9860, max=18.3452
Archetype change since last debug: 1.280495
Archetype gradients: norm=0.075594, mean=0.002885
Epoch 1/1
Average loss: 0.7740
Archetypal loss: 0.8479
KLD loss: 0.1088
Reconstruction loss: 0.8479
Archetype R²: 0.1099
Archetype transform grad norm: 0.304549
Archetype transform param norm: 8.6619
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.7740 (range: 0.7740 - 0.7740)
archetypal_loss: 0.8479 (range: 0.8479 - 0.8479)
kld_loss: 0.1088 (range: 0.1088 - 0.1088)
reconstruction_loss: 0.8479 (range: 0.8479 - 0.8479)
archetype_r2: 0.1099 (range: 0.1099 - 0.1099)
Archetype Transform Summary:
archetype_transform_mean: 0.000875 (range: 0.000875 - 0.000875)
archetype_transform_std: 0.121300 (range: 0.121300 - 0.121300)
archetype_transform_norm: 8.661931 (range: 8.661931 - 8.661931)
archetype_transform_grad_norm: 0.304549 (range: 0.304549 - 0.304549)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0341, max=0.3990, mean=0.1667
Batch reconstruction MSE: 1.2076
Archetype stats: min=-24.0808, max=17.8512
Archetype change since last debug: 1.385718
Archetype gradients: norm=0.050752, mean=0.002202
Epoch 1/1
Average loss: 0.7720
Archetypal loss: 0.8453
KLD loss: 0.1118
Reconstruction loss: 0.8453
Archetype R²: 0.1124
Archetype transform grad norm: 0.296137
Archetype transform param norm: 8.6622
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.7720 (range: 0.7720 - 0.7720)
archetypal_loss: 0.8453 (range: 0.8453 - 0.8453)
kld_loss: 0.1118 (range: 0.1118 - 0.1118)
reconstruction_loss: 0.8453 (range: 0.8453 - 0.8453)
archetype_r2: 0.1124 (range: 0.1124 - 0.1124)
Archetype Transform Summary:
archetype_transform_mean: 0.000909 (range: 0.000909 - 0.000909)
archetype_transform_std: 0.121304 (range: 0.121304 - 0.121304)
archetype_transform_norm: 8.662238 (range: 8.662238 - 8.662238)
archetype_transform_grad_norm: 0.296137 (range: 0.296137 - 0.296137)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0275, max=0.4137, mean=0.1667
Batch reconstruction MSE: 1.1998
Archetype stats: min=-23.8215, max=18.0377
Archetype change since last debug: 1.097065
Archetype gradients: norm=0.058924, mean=0.002172
Epoch 1/1
Average loss: 0.7708
Archetypal loss: 0.8445
KLD loss: 0.1077
Reconstruction loss: 0.8445
Archetype R²: 0.1133
Archetype transform grad norm: 0.285173
Archetype transform param norm: 8.6776
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.7708 (range: 0.7708 - 0.7708)
archetypal_loss: 0.8445 (range: 0.8445 - 0.8445)
kld_loss: 0.1077 (range: 0.1077 - 0.1077)
reconstruction_loss: 0.8445 (range: 0.8445 - 0.8445)
archetype_r2: 0.1133 (range: 0.1133 - 0.1133)
Archetype Transform Summary:
archetype_transform_mean: 0.000919 (range: 0.000919 - 0.000919)
archetype_transform_std: 0.121519 (range: 0.121519 - 0.121519)
archetype_transform_norm: 8.677601 (range: 8.677601 - 8.677601)
archetype_transform_grad_norm: 0.285173 (range: 0.285173 - 0.285173)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0335, max=0.4517, mean=0.1667
Batch reconstruction MSE: 1.0805
Archetype stats: min=-23.9724, max=17.9549
Archetype change since last debug: 0.876011
Archetype gradients: norm=0.040501, mean=0.001446
Epoch 1/1
Average loss: 0.7682
Archetypal loss: 0.8417
KLD loss: 0.1065
Reconstruction loss: 0.8417
Archetype R²: 0.1159
Archetype transform grad norm: 0.279258
Archetype transform param norm: 8.7095
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.7682 (range: 0.7682 - 0.7682)
archetypal_loss: 0.8417 (range: 0.8417 - 0.8417)
kld_loss: 0.1065 (range: 0.1065 - 0.1065)
reconstruction_loss: 0.8417 (range: 0.8417 - 0.8417)
archetype_r2: 0.1159 (range: 0.1159 - 0.1159)
Archetype Transform Summary:
archetype_transform_mean: 0.000918 (range: 0.000918 - 0.000918)
archetype_transform_std: 0.121967 (range: 0.121967 - 0.121967)
archetype_transform_norm: 8.709550 (range: 8.709550 - 8.709550)
archetype_transform_grad_norm: 0.279258 (range: 0.279258 - 0.279258)
Fold 2/3
Model input_dim: 50 (auto-detected from data)
Archetypes parameter registered: True
Archetypes requires_grad: True
Deep_AA (Deep Archetypal Analysis) initialized:
- Single-stage architecture (like Deep_2)
- Inflation factor: 1.5
- Direct archetypal coordinates (no bottleneck)
Consolidated Archetype Initialization
PCHA: True, Inflation: True (factor: 1.5)
Test inflation: False
Running PCHA initialization...
Input shape: (128, 50)
Target archetypes: 6
Running PCHA with 6 archetypes...
Data shape for PCHA: (50, 128)
PCHA Results:
Archetypes shape: (6, 50)
Archetype R²: 0.2535
SSE: 4685.7040
PCHA archetype R²: 0.2535
Archetype shape: (6, 50)
[OK] Initialized 6 archetypes using PCHA
Scalar Archetypal Inflation (factor: 1.50)
[OK] Inflation complete
[STATS] Positioning verification:
Data radius (max): 15.808
Data radius (mean): 6.452
Archetype distances: 3.771 to 21.135
Archetypes outside data: 1/6
Min archetype separation: 9.380
[OK] Archetype initialization complete (success: True)
[OK] Archetype initialization complete (PCHA: True, Inflation: 1.5)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0014, max=0.8983, mean=0.1667
Batch reconstruction MSE: 0.9235
Archetype stats: min=-2.5117, max=2.1633
Archetype gradients: norm=0.009152, mean=0.000420
Epoch 1/1
Average loss: 0.8597
Archetypal loss: 0.9506
KLD loss: 0.0415
Reconstruction loss: 0.9506
Archetype R²: -0.0118
Archetype transform grad norm: 0.154285
Archetype transform param norm: 5.7808
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.8597 (range: 0.8597 - 0.8597)
archetypal_loss: 0.9506 (range: 0.9506 - 0.9506)
kld_loss: 0.0415 (range: 0.0415 - 0.0415)
reconstruction_loss: 0.9506 (range: 0.9506 - 0.9506)
archetype_r2: -0.0118 (range: -0.0118 - -0.0118)
Archetype Transform Summary:
archetype_transform_mean: -0.000052 (range: -0.000052 - -0.000052)
archetype_transform_std: 0.080954 (range: 0.080954 - 0.080954)
archetype_transform_norm: 5.780813 (range: 5.780813 - 5.780813)
archetype_transform_grad_norm: 0.154285 (range: 0.154285 - 0.154285)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0040, max=0.8516, mean=0.1667
Batch reconstruction MSE: 0.8607
Archetype stats: min=-1.4009, max=1.0043
Archetype change since last debug: 5.655773
Archetype gradients: norm=0.003253, mean=0.000144
Epoch 1/1
Average loss: 0.8485
Archetypal loss: 0.9375
KLD loss: 0.0476
Reconstruction loss: 0.9375
Archetype R²: 0.0023
Archetype transform grad norm: 0.130554
Archetype transform param norm: 5.8003
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.8485 (range: 0.8485 - 0.8485)
archetypal_loss: 0.9375 (range: 0.9375 - 0.9375)
kld_loss: 0.0476 (range: 0.0476 - 0.0476)
reconstruction_loss: 0.9375 (range: 0.9375 - 0.9375)
archetype_r2: 0.0023 (range: 0.0023 - 0.0023)
Archetype Transform Summary:
archetype_transform_mean: 0.000014 (range: 0.000014 - 0.000014)
archetype_transform_std: 0.081229 (range: 0.081229 - 0.081229)
archetype_transform_norm: 5.800319 (range: 5.800319 - 5.800319)
archetype_transform_grad_norm: 0.130554 (range: 0.130554 - 0.130554)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0060, max=0.8014, mean=0.1667
Batch reconstruction MSE: 0.8818
Archetype stats: min=-2.4293, max=1.8685
Archetype change since last debug: 4.742198
Archetype gradients: norm=0.005178, mean=0.000203
Epoch 1/1
Average loss: 0.8399
Archetypal loss: 0.9240
KLD loss: 0.0826
Reconstruction loss: 0.9240
Archetype R²: 0.0167
Archetype transform grad norm: 0.153497
Archetype transform param norm: 5.9207
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.8399 (range: 0.8399 - 0.8399)
archetypal_loss: 0.9240 (range: 0.9240 - 0.9240)
kld_loss: 0.0826 (range: 0.0826 - 0.0826)
reconstruction_loss: 0.9240 (range: 0.9240 - 0.9240)
archetype_r2: 0.0167 (range: 0.0167 - 0.0167)
Archetype Transform Summary:
archetype_transform_mean: 0.000474 (range: 0.000474 - 0.000474)
archetype_transform_std: 0.082913 (range: 0.082913 - 0.082913)
archetype_transform_norm: 5.920723 (range: 5.920723 - 5.920723)
archetype_transform_grad_norm: 0.153497 (range: 0.153497 - 0.153497)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0054, max=0.8189, mean=0.1667
Batch reconstruction MSE: 0.9018
Archetype stats: min=-3.5194, max=3.0967
Archetype change since last debug: 7.811835
Archetype gradients: norm=0.007733, mean=0.000321
Epoch 1/1
Average loss: 0.8258
Archetypal loss: 0.9033
KLD loss: 0.1283
Reconstruction loss: 0.9033
Archetype R²: 0.0386
Archetype transform grad norm: 0.179801
Archetype transform param norm: 6.1683
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.8258 (range: 0.8258 - 0.8258)
archetypal_loss: 0.9033 (range: 0.9033 - 0.9033)
kld_loss: 0.1283 (range: 0.1283 - 0.1283)
reconstruction_loss: 0.9033 (range: 0.9033 - 0.9033)
archetype_r2: 0.0386 (range: 0.0386 - 0.0386)
Archetype Transform Summary:
archetype_transform_mean: 0.000990 (range: 0.000990 - 0.000990)
archetype_transform_std: 0.086376 (range: 0.086376 - 0.086376)
archetype_transform_norm: 6.168279 (range: 6.168279 - 6.168279)
archetype_transform_grad_norm: 0.179801 (range: 0.179801 - 0.179801)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0057, max=0.8152, mean=0.1667
Batch reconstruction MSE: 0.9872
Archetype stats: min=-4.7955, max=4.3183
Archetype change since last debug: 10.579303
Archetype gradients: norm=0.013111, mean=0.000600
Epoch 1/1
Average loss: 0.8130
Archetypal loss: 0.8873
KLD loss: 0.1449
Reconstruction loss: 0.8873
Archetype R²: 0.0555
Archetype transform grad norm: 0.205879
Archetype transform param norm: 6.4655
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.8130 (range: 0.8130 - 0.8130)
archetypal_loss: 0.8873 (range: 0.8873 - 0.8873)
kld_loss: 0.1449 (range: 0.1449 - 0.1449)
reconstruction_loss: 0.8873 (range: 0.8873 - 0.8873)
archetype_r2: 0.0555 (range: 0.0555 - 0.0555)
Archetype Transform Summary:
archetype_transform_mean: 0.001369 (range: 0.001369 - 0.001369)
archetype_transform_std: 0.090534 (range: 0.090534 - 0.090534)
archetype_transform_norm: 6.465548 (range: 6.465548 - 6.465548)
archetype_transform_grad_norm: 0.205879 (range: 0.205879 - 0.205879)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0060, max=0.8401, mean=0.1667
Batch reconstruction MSE: 1.0223
Archetype stats: min=-7.5724, max=5.7437
Archetype change since last debug: 9.315974
Archetype gradients: norm=0.029320, mean=0.001056
Epoch 1/1
Average loss: 0.8044
Archetypal loss: 0.8776
KLD loss: 0.1459
Reconstruction loss: 0.8776
Archetype R²: 0.0656
Archetype transform grad norm: 0.224854
Archetype transform param norm: 6.7081
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.8044 (range: 0.8044 - 0.8044)
archetypal_loss: 0.8776 (range: 0.8776 - 0.8776)
kld_loss: 0.1459 (range: 0.1459 - 0.1459)
reconstruction_loss: 0.8776 (range: 0.8776 - 0.8776)
archetype_r2: 0.0656 (range: 0.0656 - 0.0656)
Archetype Transform Summary:
archetype_transform_mean: 0.001580 (range: 0.001580 - 0.001580)
archetype_transform_std: 0.093928 (range: 0.093928 - 0.093928)
archetype_transform_norm: 6.708118 (range: 6.708118 - 6.708118)
archetype_transform_grad_norm: 0.224854 (range: 0.224854 - 0.224854)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0070, max=0.8773, mean=0.1667
Batch reconstruction MSE: 1.0177
Archetype stats: min=-10.2755, max=7.2925
Archetype change since last debug: 6.875709
Archetype gradients: norm=0.016440, mean=0.000734
Epoch 1/1
Average loss: 0.7981
Archetypal loss: 0.8712
KLD loss: 0.1402
Reconstruction loss: 0.8712
Archetype R²: 0.0725
Archetype transform grad norm: 0.231099
Archetype transform param norm: 6.8962
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.7981 (range: 0.7981 - 0.7981)
archetypal_loss: 0.8712 (range: 0.8712 - 0.8712)
kld_loss: 0.1402 (range: 0.1402 - 0.1402)
reconstruction_loss: 0.8712 (range: 0.8712 - 0.8712)
archetype_r2: 0.0725 (range: 0.0725 - 0.0725)
Archetype Transform Summary:
archetype_transform_mean: 0.001676 (range: 0.001676 - 0.001676)
archetype_transform_std: 0.096561 (range: 0.096561 - 0.096561)
archetype_transform_norm: 6.896199 (range: 6.896199 - 6.896199)
archetype_transform_grad_norm: 0.231099 (range: 0.231099 - 0.231099)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0068, max=0.8791, mean=0.1667
Batch reconstruction MSE: 1.0106
Archetype stats: min=-12.4456, max=8.3197
Archetype change since last debug: 5.882659
Archetype gradients: norm=0.025350, mean=0.001062
Epoch 1/1
Average loss: 0.7926
Archetypal loss: 0.8655
KLD loss: 0.1368
Reconstruction loss: 0.8655
Archetype R²: 0.0786
Archetype transform grad norm: 0.237021
Archetype transform param norm: 7.0516
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.7926 (range: 0.7926 - 0.7926)
archetypal_loss: 0.8655 (range: 0.8655 - 0.8655)
kld_loss: 0.1368 (range: 0.1368 - 0.1368)
reconstruction_loss: 0.8655 (range: 0.8655 - 0.8655)
archetype_r2: 0.0786 (range: 0.0786 - 0.0786)
Archetype Transform Summary:
archetype_transform_mean: 0.001737 (range: 0.001737 - 0.001737)
archetype_transform_std: 0.098736 (range: 0.098736 - 0.098736)
archetype_transform_norm: 7.051553 (range: 7.051553 - 7.051553)
archetype_transform_grad_norm: 0.237021 (range: 0.237021 - 0.237021)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0072, max=0.8666, mean=0.1667
Batch reconstruction MSE: 0.9920
Archetype stats: min=-14.7198, max=9.4569
Archetype change since last debug: 5.162868
Archetype gradients: norm=0.020577, mean=0.000855
Epoch 1/1
Average loss: 0.7872
Archetypal loss: 0.8591
KLD loss: 0.1402
Reconstruction loss: 0.8591
Archetype R²: 0.0854
Archetype transform grad norm: 0.242872
Archetype transform param norm: 7.2180
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.7872 (range: 0.7872 - 0.7872)
archetypal_loss: 0.8591 (range: 0.8591 - 0.8591)
kld_loss: 0.1402 (range: 0.1402 - 0.1402)
reconstruction_loss: 0.8591 (range: 0.8591 - 0.8591)
archetype_r2: 0.0854 (range: 0.0854 - 0.0854)
Archetype Transform Summary:
archetype_transform_mean: 0.001771 (range: 0.001771 - 0.001771)
archetype_transform_std: 0.101067 (range: 0.101067 - 0.101067)
archetype_transform_norm: 7.218019 (range: 7.218019 - 7.218019)
archetype_transform_grad_norm: 0.242872 (range: 0.242872 - 0.242872)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0058, max=0.8197, mean=0.1667
Batch reconstruction MSE: 1.0590
Archetype stats: min=-16.5631, max=10.2557
Archetype change since last debug: 5.163356
Archetype gradients: norm=0.035407, mean=0.001570
Epoch 1/1
Average loss: 0.7836
Archetypal loss: 0.8539
KLD loss: 0.1507
Reconstruction loss: 0.8539
Archetype R²: 0.0908
Archetype transform grad norm: 0.250178
Archetype transform param norm: 7.3827
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.7836 (range: 0.7836 - 0.7836)
archetypal_loss: 0.8539 (range: 0.8539 - 0.8539)
kld_loss: 0.1507 (range: 0.1507 - 0.1507)
reconstruction_loss: 0.8539 (range: 0.8539 - 0.8539)
archetype_r2: 0.0908 (range: 0.0908 - 0.0908)
Archetype Transform Summary:
archetype_transform_mean: 0.001698 (range: 0.001698 - 0.001698)
archetype_transform_std: 0.103375 (range: 0.103375 - 0.103375)
archetype_transform_norm: 7.382749 (range: 7.382749 - 7.382749)
archetype_transform_grad_norm: 0.250178 (range: 0.250178 - 0.250178)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0081, max=0.8193, mean=0.1667
Batch reconstruction MSE: 1.0920
Archetype stats: min=-18.1977, max=10.8862
Archetype change since last debug: 4.921739
Archetype gradients: norm=0.059386, mean=0.001874
Epoch 1/1
Average loss: 0.7804
Archetypal loss: 0.8499
KLD loss: 0.1548
Reconstruction loss: 0.8499
Archetype R²: 0.0949
Archetype transform grad norm: 0.262282
Archetype transform param norm: 7.5273
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.7804 (range: 0.7804 - 0.7804)
archetypal_loss: 0.8499 (range: 0.8499 - 0.8499)
kld_loss: 0.1548 (range: 0.1548 - 0.1548)
reconstruction_loss: 0.8499 (range: 0.8499 - 0.8499)
archetype_r2: 0.0949 (range: 0.0949 - 0.0949)
Archetype Transform Summary:
archetype_transform_mean: 0.001650 (range: 0.001650 - 0.001650)
archetype_transform_std: 0.105401 (range: 0.105401 - 0.105401)
archetype_transform_norm: 7.527312 (range: 7.527312 - 7.527312)
archetype_transform_grad_norm: 0.262282 (range: 0.262282 - 0.262282)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0096, max=0.7135, mean=0.1667
Batch reconstruction MSE: 1.0888
Archetype stats: min=-19.0622, max=11.1836
Archetype change since last debug: 3.748997
Archetype gradients: norm=0.044910, mean=0.001981
Epoch 1/1
Average loss: 0.7767
Archetypal loss: 0.8464
KLD loss: 0.1488
Reconstruction loss: 0.8464
Archetype R²: 0.0986
Archetype transform grad norm: 0.257177
Archetype transform param norm: 7.6451
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.7767 (range: 0.7767 - 0.7767)
archetypal_loss: 0.8464 (range: 0.8464 - 0.8464)
kld_loss: 0.1488 (range: 0.1488 - 0.1488)
reconstruction_loss: 0.8464 (range: 0.8464 - 0.8464)
archetype_r2: 0.0986 (range: 0.0986 - 0.0986)
Archetype Transform Summary:
archetype_transform_mean: 0.001585 (range: 0.001585 - 0.001585)
archetype_transform_std: 0.107052 (range: 0.107052 - 0.107052)
archetype_transform_norm: 7.645131 (range: 7.645131 - 7.645131)
archetype_transform_grad_norm: 0.257177 (range: 0.257177 - 0.257177)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0140, max=0.7605, mean=0.1667
Batch reconstruction MSE: 1.0466
Archetype stats: min=-20.0681, max=11.5602
Archetype change since last debug: 3.627859
Archetype gradients: norm=0.058538, mean=0.001761
Epoch 1/1
Average loss: 0.7736
Archetypal loss: 0.8434
KLD loss: 0.1454
Reconstruction loss: 0.8434
Archetype R²: 0.1018
Archetype transform grad norm: 0.264146
Archetype transform param norm: 7.7573
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.7736 (range: 0.7736 - 0.7736)
archetypal_loss: 0.8434 (range: 0.8434 - 0.8434)
kld_loss: 0.1454 (range: 0.1454 - 0.1454)
reconstruction_loss: 0.8434 (range: 0.8434 - 0.8434)
archetype_r2: 0.1018 (range: 0.1018 - 0.1018)
Archetype Transform Summary:
archetype_transform_mean: 0.001575 (range: 0.001575 - 0.001575)
archetype_transform_std: 0.108623 (range: 0.108623 - 0.108623)
archetype_transform_norm: 7.757287 (range: 7.757287 - 7.757287)
archetype_transform_grad_norm: 0.264146 (range: 0.264146 - 0.264146)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0180, max=0.5486, mean=0.1667
Batch reconstruction MSE: 1.0546
Archetype stats: min=-20.7978, max=11.8634
Archetype change since last debug: 3.044224
Archetype gradients: norm=0.036068, mean=0.001727
Epoch 1/1
Average loss: 0.7719
Archetypal loss: 0.8421
KLD loss: 0.1403
Reconstruction loss: 0.8421
Archetype R²: 0.1032
Archetype transform grad norm: 0.260674
Archetype transform param norm: 7.8511
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.7719 (range: 0.7719 - 0.7719)
archetypal_loss: 0.8421 (range: 0.8421 - 0.8421)
kld_loss: 0.1403 (range: 0.1403 - 0.1403)
reconstruction_loss: 0.8421 (range: 0.8421 - 0.8421)
archetype_r2: 0.1032 (range: 0.1032 - 0.1032)
Archetype Transform Summary:
archetype_transform_mean: 0.001530 (range: 0.001530 - 0.001530)
archetype_transform_std: 0.109938 (range: 0.109938 - 0.109938)
archetype_transform_norm: 7.851142 (range: 7.851142 - 7.851142)
archetype_transform_grad_norm: 0.260674 (range: 0.260674 - 0.260674)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0207, max=0.6572, mean=0.1667
Batch reconstruction MSE: 1.0485
Archetype stats: min=-21.5493, max=12.1399
Archetype change since last debug: 2.937392
Archetype gradients: norm=0.056792, mean=0.001647
Epoch 1/1
Average loss: 0.7708
Archetypal loss: 0.8408
KLD loss: 0.1410
Reconstruction loss: 0.8408
Archetype R²: 0.1045
Archetype transform grad norm: 0.269472
Archetype transform param norm: 7.9313
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.7708 (range: 0.7708 - 0.7708)
archetypal_loss: 0.8408 (range: 0.8408 - 0.8408)
kld_loss: 0.1410 (range: 0.1410 - 0.1410)
reconstruction_loss: 0.8408 (range: 0.8408 - 0.8408)
archetype_r2: 0.1045 (range: 0.1045 - 0.1045)
Archetype Transform Summary:
archetype_transform_mean: 0.001512 (range: 0.001512 - 0.001512)
archetype_transform_std: 0.111062 (range: 0.111062 - 0.111062)
archetype_transform_norm: 7.931343 (range: 7.931343 - 7.931343)
archetype_transform_grad_norm: 0.269472 (range: 0.269472 - 0.269472)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0195, max=0.4529, mean=0.1667
Batch reconstruction MSE: 1.0868
Archetype stats: min=-21.8979, max=12.3181
Archetype change since last debug: 2.239246
Archetype gradients: norm=0.041013, mean=0.001800
Epoch 1/1
Average loss: 0.7705
Archetypal loss: 0.8408
KLD loss: 0.1377
Reconstruction loss: 0.8408
Archetype R²: 0.1044
Archetype transform grad norm: 0.265111
Archetype transform param norm: 7.9912
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.7705 (range: 0.7705 - 0.7705)
archetypal_loss: 0.8408 (range: 0.8408 - 0.8408)
kld_loss: 0.1377 (range: 0.1377 - 0.1377)
reconstruction_loss: 0.8408 (range: 0.8408 - 0.8408)
archetype_r2: 0.1044 (range: 0.1044 - 0.1044)
Archetype Transform Summary:
archetype_transform_mean: 0.001464 (range: 0.001464 - 0.001464)
archetype_transform_std: 0.111900 (range: 0.111900 - 0.111900)
archetype_transform_norm: 7.991155 (range: 7.991155 - 7.991155)
archetype_transform_grad_norm: 0.265111 (range: 0.265111 - 0.265111)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0268, max=0.5292, mean=0.1667
Batch reconstruction MSE: 1.0177
Archetype stats: min=-22.3613, max=12.5096
Archetype change since last debug: 2.259430
Archetype gradients: norm=0.050161, mean=0.001522
Epoch 1/1
Average loss: 0.7681
Archetypal loss: 0.8382
KLD loss: 0.1371
Reconstruction loss: 0.8382
Archetype R²: 0.1073
Archetype transform grad norm: 0.267324
Archetype transform param norm: 8.0602
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.7681 (range: 0.7681 - 0.7681)
archetypal_loss: 0.8382 (range: 0.8382 - 0.8382)
kld_loss: 0.1371 (range: 0.1371 - 0.1371)
reconstruction_loss: 0.8382 (range: 0.8382 - 0.8382)
archetype_r2: 0.1073 (range: 0.1073 - 0.1073)
Archetype Transform Summary:
archetype_transform_mean: 0.001442 (range: 0.001442 - 0.001442)
archetype_transform_std: 0.112868 (range: 0.112868 - 0.112868)
archetype_transform_norm: 8.060242 (range: 8.060242 - 8.060242)
archetype_transform_grad_norm: 0.267324 (range: 0.267324 - 0.267324)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0253, max=0.4283, mean=0.1667
Batch reconstruction MSE: 1.0088
Archetype stats: min=-22.8879, max=12.8218
Archetype change since last debug: 2.057548
Archetype gradients: norm=0.033442, mean=0.001304
Epoch 1/1
Average loss: 0.7669
Archetypal loss: 0.8376
KLD loss: 0.1308
Reconstruction loss: 0.8376
Archetype R²: 0.1079
Archetype transform grad norm: 0.269313
Archetype transform param norm: 8.1220
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.7669 (range: 0.7669 - 0.7669)
archetypal_loss: 0.8376 (range: 0.8376 - 0.8376)
kld_loss: 0.1308 (range: 0.1308 - 0.1308)
reconstruction_loss: 0.8376 (range: 0.8376 - 0.8376)
archetype_r2: 0.1079 (range: 0.1079 - 0.1079)
Archetype Transform Summary:
archetype_transform_mean: 0.001420 (range: 0.001420 - 0.001420)
archetype_transform_std: 0.113733 (range: 0.113733 - 0.113733)
archetype_transform_norm: 8.121976 (range: 8.121976 - 8.121976)
archetype_transform_grad_norm: 0.269313 (range: 0.269313 - 0.269313)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0308, max=0.4234, mean=0.1667
Batch reconstruction MSE: 0.9837
Archetype stats: min=-23.4737, max=13.2357
Archetype change since last debug: 2.097934
Archetype gradients: norm=0.042275, mean=0.001341
Epoch 1/1
Average loss: 0.7658
Archetypal loss: 0.8363
KLD loss: 0.1308
Reconstruction loss: 0.8363
Archetype R²: 0.1093
Archetype transform grad norm: 0.269206
Archetype transform param norm: 8.1848
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.7658 (range: 0.7658 - 0.7658)
archetypal_loss: 0.8363 (range: 0.8363 - 0.8363)
kld_loss: 0.1308 (range: 0.1308 - 0.1308)
reconstruction_loss: 0.8363 (range: 0.8363 - 0.8363)
archetype_r2: 0.1093 (range: 0.1093 - 0.1093)
Archetype Transform Summary:
archetype_transform_mean: 0.001402 (range: 0.001402 - 0.001402)
archetype_transform_std: 0.114612 (range: 0.114612 - 0.114612)
archetype_transform_norm: 8.184778 (range: 8.184778 - 8.184778)
archetype_transform_grad_norm: 0.269206 (range: 0.269206 - 0.269206)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0234, max=0.3937, mean=0.1667
Batch reconstruction MSE: 1.0072
Archetype stats: min=-24.0341, max=13.5485
Archetype change since last debug: 1.920495
Archetype gradients: norm=0.030556, mean=0.001208
Epoch 1/1
Average loss: 0.7654
Archetypal loss: 0.8365
KLD loss: 0.1254
Reconstruction loss: 0.8365
Archetype R²: 0.1090
Archetype transform grad norm: 0.269797
Archetype transform param norm: 8.2362
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.7654 (range: 0.7654 - 0.7654)
archetypal_loss: 0.8365 (range: 0.8365 - 0.8365)
kld_loss: 0.1254 (range: 0.1254 - 0.1254)
reconstruction_loss: 0.8365 (range: 0.8365 - 0.8365)
archetype_r2: 0.1090 (range: 0.1090 - 0.1090)
Archetype Transform Summary:
archetype_transform_mean: 0.001386 (range: 0.001386 - 0.001386)
archetype_transform_std: 0.115333 (range: 0.115333 - 0.115333)
archetype_transform_norm: 8.236202 (range: 8.236202 - 8.236202)
archetype_transform_grad_norm: 0.269797 (range: 0.269797 - 0.269797)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0220, max=0.5756, mean=0.1667
Batch reconstruction MSE: 0.9929
Archetype stats: min=-24.3568, max=13.7918
Archetype change since last debug: 1.726034
Archetype gradients: norm=0.043870, mean=0.001470
Epoch 1/1
Average loss: 0.7649
Archetypal loss: 0.8357
KLD loss: 0.1271
Reconstruction loss: 0.8357
Archetype R²: 0.1098
Archetype transform grad norm: 0.273002
Archetype transform param norm: 8.2809
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.7649 (range: 0.7649 - 0.7649)
archetypal_loss: 0.8357 (range: 0.8357 - 0.8357)
kld_loss: 0.1271 (range: 0.1271 - 0.1271)
reconstruction_loss: 0.8357 (range: 0.8357 - 0.8357)
archetype_r2: 0.1098 (range: 0.1098 - 0.1098)
Archetype Transform Summary:
archetype_transform_mean: 0.001352 (range: 0.001352 - 0.001352)
archetype_transform_std: 0.115959 (range: 0.115959 - 0.115959)
archetype_transform_norm: 8.280913 (range: 8.280913 - 8.280913)
archetype_transform_grad_norm: 0.273002 (range: 0.273002 - 0.273002)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0309, max=0.4106, mean=0.1667
Batch reconstruction MSE: 1.0414
Archetype stats: min=-24.9915, max=14.1078
Archetype change since last debug: 1.671859
Archetype gradients: norm=0.030814, mean=0.001467
Epoch 1/1
Average loss: 0.7653
Archetypal loss: 0.8367
KLD loss: 0.1228
Reconstruction loss: 0.8367
Archetype R²: 0.1086
Archetype transform grad norm: 0.280620
Archetype transform param norm: 8.3161
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.7653 (range: 0.7653 - 0.7653)
archetypal_loss: 0.8367 (range: 0.8367 - 0.8367)
kld_loss: 0.1228 (range: 0.1228 - 0.1228)
reconstruction_loss: 0.8367 (range: 0.8367 - 0.8367)
archetype_r2: 0.1086 (range: 0.1086 - 0.1086)
Archetype Transform Summary:
archetype_transform_mean: 0.001323 (range: 0.001323 - 0.001323)
archetype_transform_std: 0.116453 (range: 0.116453 - 0.116453)
archetype_transform_norm: 8.316137 (range: 8.316137 - 8.316137)
archetype_transform_grad_norm: 0.280620 (range: 0.280620 - 0.280620)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0297, max=0.4345, mean=0.1667
Batch reconstruction MSE: 0.9863
Archetype stats: min=-24.8333, max=13.9950
Archetype change since last debug: 1.346783
Archetype gradients: norm=0.045630, mean=0.001821
Epoch 1/1
Average loss: 0.7638
Archetypal loss: 0.8348
KLD loss: 0.1247
Reconstruction loss: 0.8348
Archetype R²: 0.1107
Archetype transform grad norm: 0.275180
Archetype transform param norm: 8.3491
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.7638 (range: 0.7638 - 0.7638)
archetypal_loss: 0.8348 (range: 0.8348 - 0.8348)
kld_loss: 0.1247 (range: 0.1247 - 0.1247)
reconstruction_loss: 0.8348 (range: 0.8348 - 0.8348)
archetype_r2: 0.1107 (range: 0.1107 - 0.1107)
Archetype Transform Summary:
archetype_transform_mean: 0.001267 (range: 0.001267 - 0.001267)
archetype_transform_std: 0.116915 (range: 0.116915 - 0.116915)
archetype_transform_norm: 8.349075 (range: 8.349075 - 8.349075)
archetype_transform_grad_norm: 0.275180 (range: 0.275180 - 0.275180)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0320, max=0.4169, mean=0.1667
Batch reconstruction MSE: 1.0044
Archetype stats: min=-25.4798, max=14.3236
Archetype change since last debug: 1.573759
Archetype gradients: norm=0.028010, mean=0.001102
Epoch 1/1
Average loss: 0.7640
Archetypal loss: 0.8352
KLD loss: 0.1227
Reconstruction loss: 0.8352
Archetype R²: 0.1102
Archetype transform grad norm: 0.283886
Archetype transform param norm: 8.3924
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.7640 (range: 0.7640 - 0.7640)
archetypal_loss: 0.8352 (range: 0.8352 - 0.8352)
kld_loss: 0.1227 (range: 0.1227 - 0.1227)
reconstruction_loss: 0.8352 (range: 0.8352 - 0.8352)
archetype_r2: 0.1102 (range: 0.1102 - 0.1102)
Archetype Transform Summary:
archetype_transform_mean: 0.001284 (range: 0.001284 - 0.001284)
archetype_transform_std: 0.117522 (range: 0.117522 - 0.117522)
archetype_transform_norm: 8.392411 (range: 8.392411 - 8.392411)
archetype_transform_grad_norm: 0.283886 (range: 0.283886 - 0.283886)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0411, max=0.3791, mean=0.1667
Batch reconstruction MSE: 1.0357
Archetype stats: min=-25.0132, max=14.0096
Archetype change since last debug: 1.592287
Archetype gradients: norm=0.050007, mean=0.002222
Epoch 1/1
Average loss: 0.7642
Archetypal loss: 0.8354
KLD loss: 0.1232
Reconstruction loss: 0.8354
Archetype R²: 0.1099
Archetype transform grad norm: 0.284431
Archetype transform param norm: 8.4100
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.7642 (range: 0.7642 - 0.7642)
archetypal_loss: 0.8354 (range: 0.8354 - 0.8354)
kld_loss: 0.1232 (range: 0.1232 - 0.1232)
reconstruction_loss: 0.8354 (range: 0.8354 - 0.8354)
archetype_r2: 0.1099 (range: 0.1099 - 0.1099)
Archetype Transform Summary:
archetype_transform_mean: 0.001198 (range: 0.001198 - 0.001198)
archetype_transform_std: 0.117768 (range: 0.117768 - 0.117768)
archetype_transform_norm: 8.409951 (range: 8.409951 - 8.409951)
archetype_transform_grad_norm: 0.284431 (range: 0.284431 - 0.284431)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0443, max=0.4483, mean=0.1667
Batch reconstruction MSE: 0.9528
Archetype stats: min=-25.4942, max=14.2654
Archetype change since last debug: 1.319578
Archetype gradients: norm=0.027156, mean=0.001139
Epoch 1/1
Average loss: 0.7617
Archetypal loss: 0.8332
KLD loss: 0.1182
Reconstruction loss: 0.8332
Archetype R²: 0.1124
Archetype transform grad norm: 0.278834
Archetype transform param norm: 8.4572
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.7617 (range: 0.7617 - 0.7617)
archetypal_loss: 0.8332 (range: 0.8332 - 0.8332)
kld_loss: 0.1182 (range: 0.1182 - 0.1182)
reconstruction_loss: 0.8332 (range: 0.8332 - 0.8332)
archetype_r2: 0.1124 (range: 0.1124 - 0.1124)
Archetype Transform Summary:
archetype_transform_mean: 0.001250 (range: 0.001250 - 0.001250)
archetype_transform_std: 0.118429 (range: 0.118429 - 0.118429)
archetype_transform_norm: 8.457153 (range: 8.457153 - 8.457153)
archetype_transform_grad_norm: 0.278834 (range: 0.278834 - 0.278834)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0526, max=0.3515, mean=0.1667
Batch reconstruction MSE: 0.9306
Archetype stats: min=-25.5341, max=14.2709
Archetype change since last debug: 1.545931
Archetype gradients: norm=0.032165, mean=0.001491
Epoch 1/1
Average loss: 0.7608
Archetypal loss: 0.8323
KLD loss: 0.1173
Reconstruction loss: 0.8323
Archetype R²: 0.1133
Archetype transform grad norm: 0.279282
Archetype transform param norm: 8.5007
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.7608 (range: 0.7608 - 0.7608)
archetypal_loss: 0.8323 (range: 0.8323 - 0.8323)
kld_loss: 0.1173 (range: 0.1173 - 0.1173)
reconstruction_loss: 0.8323 (range: 0.8323 - 0.8323)
archetype_r2: 0.1133 (range: 0.1133 - 0.1133)
Archetype Transform Summary:
archetype_transform_mean: 0.001179 (range: 0.001179 - 0.001179)
archetype_transform_std: 0.119039 (range: 0.119039 - 0.119039)
archetype_transform_norm: 8.500659 (range: 8.500659 - 8.500659)
archetype_transform_grad_norm: 0.279282 (range: 0.279282 - 0.279282)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0486, max=0.4333, mean=0.1667
Batch reconstruction MSE: 0.9458
Archetype stats: min=-26.3839, max=14.7792
Archetype change since last debug: 1.832844
Archetype gradients: norm=0.028164, mean=0.001187
Epoch 1/1
Average loss: 0.7607
Archetypal loss: 0.8326
KLD loss: 0.1137
Reconstruction loss: 0.8326
Archetype R²: 0.1130
Archetype transform grad norm: 0.284457
Archetype transform param norm: 8.5432
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.7607 (range: 0.7607 - 0.7607)
archetypal_loss: 0.8326 (range: 0.8326 - 0.8326)
kld_loss: 0.1137 (range: 0.1137 - 0.1137)
reconstruction_loss: 0.8326 (range: 0.8326 - 0.8326)
archetype_r2: 0.1130 (range: 0.1130 - 0.1130)
Archetype Transform Summary:
archetype_transform_mean: 0.001220 (range: 0.001220 - 0.001220)
archetype_transform_std: 0.119635 (range: 0.119635 - 0.119635)
archetype_transform_norm: 8.543247 (range: 8.543247 - 8.543247)
archetype_transform_grad_norm: 0.284457 (range: 0.284457 - 0.284457)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0503, max=0.3643, mean=0.1667
Batch reconstruction MSE: 0.9384
Archetype stats: min=-26.4941, max=14.8273
Archetype change since last debug: 1.377713
Archetype gradients: norm=0.029899, mean=0.001467
Epoch 1/1
Average loss: 0.7604
Archetypal loss: 0.8323
KLD loss: 0.1138
Reconstruction loss: 0.8323
Archetype R²: 0.1133
Archetype transform grad norm: 0.283638
Archetype transform param norm: 8.5724
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.7604 (range: 0.7604 - 0.7604)
archetypal_loss: 0.8323 (range: 0.8323 - 0.8323)
kld_loss: 0.1138 (range: 0.1138 - 0.1138)
reconstruction_loss: 0.8323 (range: 0.8323 - 0.8323)
archetype_r2: 0.1133 (range: 0.1133 - 0.1133)
Archetype Transform Summary:
archetype_transform_mean: 0.001161 (range: 0.001161 - 0.001161)
archetype_transform_std: 0.120044 (range: 0.120044 - 0.120044)
archetype_transform_norm: 8.572393 (range: 8.572393 - 8.572393)
archetype_transform_grad_norm: 0.283638 (range: 0.283638 - 0.283638)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0283, max=0.4533, mean=0.1667
Batch reconstruction MSE: 1.0008
Archetype stats: min=-27.0758, max=15.1720
Archetype change since last debug: 1.412085
Archetype gradients: norm=0.036978, mean=0.001551
Epoch 1/1
Average loss: 0.7617
Archetypal loss: 0.8339
KLD loss: 0.1117
Reconstruction loss: 0.8339
Archetype R²: 0.1114
Archetype transform grad norm: 0.292755
Archetype transform param norm: 8.5932
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.7617 (range: 0.7617 - 0.7617)
archetypal_loss: 0.8339 (range: 0.8339 - 0.8339)
kld_loss: 0.1117 (range: 0.1117 - 0.1117)
reconstruction_loss: 0.8339 (range: 0.8339 - 0.8339)
archetype_r2: 0.1114 (range: 0.1114 - 0.1114)
Archetype Transform Summary:
archetype_transform_mean: 0.001186 (range: 0.001186 - 0.001186)
archetype_transform_std: 0.120335 (range: 0.120335 - 0.120335)
archetype_transform_norm: 8.593248 (range: 8.593248 - 8.593248)
archetype_transform_grad_norm: 0.292755 (range: 0.292755 - 0.292755)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0391, max=0.2998, mean=0.1667
Batch reconstruction MSE: 0.9546
Archetype stats: min=-26.8203, max=15.0381
Archetype change since last debug: 1.035288
Archetype gradients: norm=0.025535, mean=0.001132
Epoch 1/1
Average loss: 0.7605
Archetypal loss: 0.8325
KLD loss: 0.1127
Reconstruction loss: 0.8325
Archetype R²: 0.1130
Archetype transform grad norm: 0.287494
Archetype transform param norm: 8.6075
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.7605 (range: 0.7605 - 0.7605)
archetypal_loss: 0.8325 (range: 0.8325 - 0.8325)
kld_loss: 0.1127 (range: 0.1127 - 0.1127)
reconstruction_loss: 0.8325 (range: 0.8325 - 0.8325)
archetype_r2: 0.1130 (range: 0.1130 - 0.1130)
Archetype Transform Summary:
archetype_transform_mean: 0.001158 (range: 0.001158 - 0.001158)
archetype_transform_std: 0.120535 (range: 0.120535 - 0.120535)
archetype_transform_norm: 8.607481 (range: 8.607481 - 8.607481)
archetype_transform_grad_norm: 0.287494 (range: 0.287494 - 0.287494)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0280, max=0.4153, mean=0.1667
Batch reconstruction MSE: 0.9908
Archetype stats: min=-27.0950, max=15.2007
Archetype change since last debug: 1.103463
Archetype gradients: norm=0.040090, mean=0.001636
Epoch 1/1
Average loss: 0.7606
Archetypal loss: 0.8329
KLD loss: 0.1102
Reconstruction loss: 0.8329
Archetype R²: 0.1124
Archetype transform grad norm: 0.283898
Archetype transform param norm: 8.6229
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.7606 (range: 0.7606 - 0.7606)
archetypal_loss: 0.8329 (range: 0.8329 - 0.8329)
kld_loss: 0.1102 (range: 0.1102 - 0.1102)
reconstruction_loss: 0.8329 (range: 0.8329 - 0.8329)
archetype_r2: 0.1124 (range: 0.1124 - 0.1124)
Archetype Transform Summary:
archetype_transform_mean: 0.001152 (range: 0.001152 - 0.001152)
archetype_transform_std: 0.120751 (range: 0.120751 - 0.120751)
archetype_transform_norm: 8.622920 (range: 8.622920 - 8.622920)
archetype_transform_grad_norm: 0.283898 (range: 0.283898 - 0.283898)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0333, max=0.3542, mean=0.1667
Batch reconstruction MSE: 0.9810
Archetype stats: min=-27.1416, max=15.2471
Archetype change since last debug: 0.921282
Archetype gradients: norm=0.033183, mean=0.001288
Epoch 1/1
Average loss: 0.7604
Archetypal loss: 0.8323
KLD loss: 0.1132
Reconstruction loss: 0.8323
Archetype R²: 0.1130
Archetype transform grad norm: 0.286551
Archetype transform param norm: 8.6398
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.7604 (range: 0.7604 - 0.7604)
archetypal_loss: 0.8323 (range: 0.8323 - 0.8323)
kld_loss: 0.1132 (range: 0.1132 - 0.1132)
reconstruction_loss: 0.8323 (range: 0.8323 - 0.8323)
archetype_r2: 0.1130 (range: 0.1130 - 0.1130)
Archetype Transform Summary:
archetype_transform_mean: 0.001164 (range: 0.001164 - 0.001164)
archetype_transform_std: 0.120987 (range: 0.120987 - 0.120987)
archetype_transform_norm: 8.639752 (range: 8.639752 - 8.639752)
archetype_transform_grad_norm: 0.286551 (range: 0.286551 - 0.286551)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0398, max=0.4121, mean=0.1667
Batch reconstruction MSE: 1.0463
Archetype stats: min=-27.3784, max=15.4209
Archetype change since last debug: 1.159474
Archetype gradients: norm=0.061583, mean=0.002446
Epoch 1/1
Average loss: 0.7614
Archetypal loss: 0.8337
KLD loss: 0.1102
Reconstruction loss: 0.8337
Archetype R²: 0.1114
Archetype transform grad norm: 0.287079
Archetype transform param norm: 8.6350
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.7614 (range: 0.7614 - 0.7614)
archetypal_loss: 0.8337 (range: 0.8337 - 0.8337)
kld_loss: 0.1102 (range: 0.1102 - 0.1102)
reconstruction_loss: 0.8337 (range: 0.8337 - 0.8337)
archetype_r2: 0.1114 (range: 0.1114 - 0.1114)
Archetype Transform Summary:
archetype_transform_mean: 0.001112 (range: 0.001112 - 0.001112)
archetype_transform_std: 0.120921 (range: 0.120921 - 0.120921)
archetype_transform_norm: 8.635027 (range: 8.635027 - 8.635027)
archetype_transform_grad_norm: 0.287079 (range: 0.287079 - 0.287079)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0362, max=0.3232, mean=0.1667
Batch reconstruction MSE: 0.9265
Archetype stats: min=-27.4989, max=15.4861
Archetype change since last debug: 0.968697
Archetype gradients: norm=0.030259, mean=0.001324
Epoch 1/1
Average loss: 0.7587
Archetypal loss: 0.8305
KLD loss: 0.1127
Reconstruction loss: 0.8305
Archetype R²: 0.1150
Archetype transform grad norm: 0.283314
Archetype transform param norm: 8.6657
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.7587 (range: 0.7587 - 0.7587)
archetypal_loss: 0.8305 (range: 0.8305 - 0.8305)
kld_loss: 0.1127 (range: 0.1127 - 0.1127)
reconstruction_loss: 0.8305 (range: 0.8305 - 0.8305)
archetype_r2: 0.1150 (range: 0.1150 - 0.1150)
Archetype Transform Summary:
archetype_transform_mean: 0.001133 (range: 0.001133 - 0.001133)
archetype_transform_std: 0.121350 (range: 0.121350 - 0.121350)
archetype_transform_norm: 8.665687 (range: 8.665687 - 8.665687)
archetype_transform_grad_norm: 0.283314 (range: 0.283314 - 0.283314)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0233, max=0.4049, mean=0.1667
Batch reconstruction MSE: 1.0072
Archetype stats: min=-28.0308, max=15.8287
Archetype change since last debug: 1.478036
Archetype gradients: norm=0.055813, mean=0.002036
Epoch 1/1
Average loss: 0.7598
Archetypal loss: 0.8325
KLD loss: 0.1057
Reconstruction loss: 0.8325
Archetype R²: 0.1128
Archetype transform grad norm: 0.283710
Archetype transform param norm: 8.6734
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.7598 (range: 0.7598 - 0.7598)
archetypal_loss: 0.8325 (range: 0.8325 - 0.8325)
kld_loss: 0.1057 (range: 0.1057 - 0.1057)
reconstruction_loss: 0.8325 (range: 0.8325 - 0.8325)
archetype_r2: 0.1128 (range: 0.1128 - 0.1128)
Archetype Transform Summary:
archetype_transform_mean: 0.001111 (range: 0.001111 - 0.001111)
archetype_transform_std: 0.121459 (range: 0.121459 - 0.121459)
archetype_transform_norm: 8.673391 (range: 8.673391 - 8.673391)
archetype_transform_grad_norm: 0.283710 (range: 0.283710 - 0.283710)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0369, max=0.3817, mean=0.1667
Batch reconstruction MSE: 0.9508
Archetype stats: min=-27.8819, max=15.7031
Archetype change since last debug: 0.866983
Archetype gradients: norm=0.028529, mean=0.001445
Epoch 1/1
Average loss: 0.7587
Archetypal loss: 0.8306
KLD loss: 0.1109
Reconstruction loss: 0.8306
Archetype R²: 0.1148
Archetype transform grad norm: 0.281243
Archetype transform param norm: 8.6972
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.7587 (range: 0.7587 - 0.7587)
archetypal_loss: 0.8306 (range: 0.8306 - 0.8306)
kld_loss: 0.1109 (range: 0.1109 - 0.1109)
reconstruction_loss: 0.8306 (range: 0.8306 - 0.8306)
archetype_r2: 0.1148 (range: 0.1148 - 0.1148)
Archetype Transform Summary:
archetype_transform_mean: 0.001086 (range: 0.001086 - 0.001086)
archetype_transform_std: 0.121792 (range: 0.121792 - 0.121792)
archetype_transform_norm: 8.697152 (range: 8.697152 - 8.697152)
archetype_transform_grad_norm: 0.281243 (range: 0.281243 - 0.281243)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0377, max=0.3974, mean=0.1667
Batch reconstruction MSE: 1.0038
Archetype stats: min=-28.4319, max=16.0792
Archetype change since last debug: 1.337822
Archetype gradients: norm=0.053356, mean=0.002097
Epoch 1/1
Average loss: 0.7597
Archetypal loss: 0.8322
KLD loss: 0.1070
Reconstruction loss: 0.8322
Archetype R²: 0.1129
Archetype transform grad norm: 0.297016
Archetype transform param norm: 8.7094
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.7597 (range: 0.7597 - 0.7597)
archetypal_loss: 0.8322 (range: 0.8322 - 0.8322)
kld_loss: 0.1070 (range: 0.1070 - 0.1070)
reconstruction_loss: 0.8322 (range: 0.8322 - 0.8322)
archetype_r2: 0.1129 (range: 0.1129 - 0.1129)
Archetype Transform Summary:
archetype_transform_mean: 0.001123 (range: 0.001123 - 0.001123)
archetype_transform_std: 0.121963 (range: 0.121963 - 0.121963)
archetype_transform_norm: 8.709430 (range: 8.709430 - 8.709430)
archetype_transform_grad_norm: 0.297016 (range: 0.297016 - 0.297016)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0520, max=0.2933, mean=0.1667
Batch reconstruction MSE: 0.9887
Archetype stats: min=-27.5623, max=15.5820
Archetype change since last debug: 1.517237
Archetype gradients: norm=0.038351, mean=0.001917
Epoch 1/1
Average loss: 0.7596
Archetypal loss: 0.8316
KLD loss: 0.1114
Reconstruction loss: 0.8316
Archetype R²: 0.1137
Archetype transform grad norm: 0.296565
Archetype transform param norm: 8.7193
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.7596 (range: 0.7596 - 0.7596)
archetypal_loss: 0.8316 (range: 0.8316 - 0.8316)
kld_loss: 0.1114 (range: 0.1114 - 0.1114)
reconstruction_loss: 0.8316 (range: 0.8316 - 0.8316)
archetype_r2: 0.1137 (range: 0.1137 - 0.1137)
Archetype Transform Summary:
archetype_transform_mean: 0.001038 (range: 0.001038 - 0.001038)
archetype_transform_std: 0.122103 (range: 0.122103 - 0.122103)
archetype_transform_norm: 8.719333 (range: 8.719333 - 8.719333)
archetype_transform_grad_norm: 0.296565 (range: 0.296565 - 0.296565)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0553, max=0.3617, mean=0.1667
Batch reconstruction MSE: 0.8834
Archetype stats: min=-28.0630, max=15.8972
Archetype change since last debug: 1.316935
Archetype gradients: norm=0.043097, mean=0.001591
Epoch 1/1
Average loss: 0.7563
Archetypal loss: 0.8289
KLD loss: 0.1032
Reconstruction loss: 0.8289
Archetype R²: 0.1167
Archetype transform grad norm: 0.289039
Archetype transform param norm: 8.7616
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.7563 (range: 0.7563 - 0.7563)
archetypal_loss: 0.8289 (range: 0.8289 - 0.8289)
kld_loss: 0.1032 (range: 0.1032 - 0.1032)
reconstruction_loss: 0.8289 (range: 0.8289 - 0.8289)
archetype_r2: 0.1167 (range: 0.1167 - 0.1167)
Archetype Transform Summary:
archetype_transform_mean: 0.001096 (range: 0.001096 - 0.001096)
archetype_transform_std: 0.122694 (range: 0.122694 - 0.122694)
archetype_transform_norm: 8.761617 (range: 8.761617 - 8.761617)
archetype_transform_grad_norm: 0.289039 (range: 0.289039 - 0.289039)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0660, max=0.3168, mean=0.1667
Batch reconstruction MSE: 0.8871
Archetype stats: min=-27.8155, max=15.7501
Archetype change since last debug: 1.671826
Archetype gradients: norm=0.037311, mean=0.001854
Epoch 1/1
Average loss: 0.7564
Archetypal loss: 0.8288
KLD loss: 0.1043
Reconstruction loss: 0.8288
Archetype R²: 0.1168
Archetype transform grad norm: 0.292719
Archetype transform param norm: 8.7987
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.7564 (range: 0.7564 - 0.7564)
archetypal_loss: 0.8288 (range: 0.8288 - 0.8288)
kld_loss: 0.1043 (range: 0.1043 - 0.1043)
reconstruction_loss: 0.8288 (range: 0.8288 - 0.8288)
archetype_r2: 0.1168 (range: 0.1168 - 0.1168)
Archetype Transform Summary:
archetype_transform_mean: 0.001066 (range: 0.001066 - 0.001066)
archetype_transform_std: 0.123214 (range: 0.123214 - 0.123214)
archetype_transform_norm: 8.798721 (range: 8.798721 - 8.798721)
archetype_transform_grad_norm: 0.292719 (range: 0.292719 - 0.292719)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0562, max=0.3677, mean=0.1667
Batch reconstruction MSE: 0.9305
Archetype stats: min=-28.8241, max=16.3418
Archetype change since last debug: 1.898142
Archetype gradients: norm=0.064022, mean=0.002515
Epoch 1/1
Average loss: 0.7572
Archetypal loss: 0.8298
KLD loss: 0.1037
Reconstruction loss: 0.8298
Archetype R²: 0.1155
Archetype transform grad norm: 0.303654
Archetype transform param norm: 8.8296
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.7572 (range: 0.7572 - 0.7572)
archetypal_loss: 0.8298 (range: 0.8298 - 0.8298)
kld_loss: 0.1037 (range: 0.1037 - 0.1037)
reconstruction_loss: 0.8298 (range: 0.8298 - 0.8298)
archetype_r2: 0.1155 (range: 0.1155 - 0.1155)
Archetype Transform Summary:
archetype_transform_mean: 0.001090 (range: 0.001090 - 0.001090)
archetype_transform_std: 0.123646 (range: 0.123646 - 0.123646)
archetype_transform_norm: 8.829602 (range: 8.829602 - 8.829602)
archetype_transform_grad_norm: 0.303654 (range: 0.303654 - 0.303654)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0529, max=0.3889, mean=0.1667
Batch reconstruction MSE: 1.0738
Archetype stats: min=-28.0162, max=15.9078
Archetype change since last debug: 1.724708
Archetype gradients: norm=0.061378, mean=0.002837
Epoch 1/1
Average loss: 0.7605
Archetypal loss: 0.8333
KLD loss: 0.1056
Reconstruction loss: 0.8333
Archetype R²: 0.1115
Archetype transform grad norm: 0.306418
Archetype transform param norm: 8.8131
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.7605 (range: 0.7605 - 0.7605)
archetypal_loss: 0.8333 (range: 0.8333 - 0.8333)
kld_loss: 0.1056 (range: 0.1056 - 0.1056)
reconstruction_loss: 0.8333 (range: 0.8333 - 0.8333)
archetype_r2: 0.1115 (range: 0.1115 - 0.1115)
Archetype Transform Summary:
archetype_transform_mean: 0.001072 (range: 0.001072 - 0.001072)
archetype_transform_std: 0.123416 (range: 0.123416 - 0.123416)
archetype_transform_norm: 8.813100 (range: 8.813100 - 8.813100)
archetype_transform_grad_norm: 0.306418 (range: 0.306418 - 0.306418)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0351, max=0.3435, mean=0.1667
Batch reconstruction MSE: 1.0645
Archetype stats: min=-28.4870, max=16.1828
Archetype change since last debug: 1.701670
Archetype gradients: norm=0.058259, mean=0.002511
Epoch 1/1
Average loss: 0.7602
Archetypal loss: 0.8327
KLD loss: 0.1074
Reconstruction loss: 0.8327
Archetype R²: 0.1122
Archetype transform grad norm: 0.301916
Archetype transform param norm: 8.8040
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.7602 (range: 0.7602 - 0.7602)
archetypal_loss: 0.8327 (range: 0.8327 - 0.8327)
kld_loss: 0.1074 (range: 0.1074 - 0.1074)
reconstruction_loss: 0.8327 (range: 0.8327 - 0.8327)
archetype_r2: 0.1122 (range: 0.1122 - 0.1122)
Archetype Transform Summary:
archetype_transform_mean: 0.001030 (range: 0.001030 - 0.001030)
archetype_transform_std: 0.123289 (range: 0.123289 - 0.123289)
archetype_transform_norm: 8.804045 (range: 8.804045 - 8.804045)
archetype_transform_grad_norm: 0.301916 (range: 0.301916 - 0.301916)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0300, max=0.4257, mean=0.1667
Batch reconstruction MSE: 1.1597
Archetype stats: min=-27.3645, max=15.6190
Archetype change since last debug: 1.884812
Archetype gradients: norm=0.053462, mean=0.002349
Epoch 1/1
Average loss: 0.7629
Archetypal loss: 0.8354
KLD loss: 0.1098
Reconstruction loss: 0.8354
Archetype R²: 0.1090
Archetype transform grad norm: 0.298158
Archetype transform param norm: 8.7590
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.7629 (range: 0.7629 - 0.7629)
archetypal_loss: 0.8354 (range: 0.8354 - 0.8354)
kld_loss: 0.1098 (range: 0.1098 - 0.1098)
reconstruction_loss: 0.8354 (range: 0.8354 - 0.8354)
archetype_r2: 0.1090 (range: 0.1090 - 0.1090)
Archetype Transform Summary:
archetype_transform_mean: 0.001054 (range: 0.001054 - 0.001054)
archetype_transform_std: 0.122658 (range: 0.122658 - 0.122658)
archetype_transform_norm: 8.758974 (range: 8.758974 - 8.758974)
archetype_transform_grad_norm: 0.298158 (range: 0.298158 - 0.298158)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0407, max=0.3142, mean=0.1667
Batch reconstruction MSE: 0.9585
Archetype stats: min=-27.2902, max=15.5373
Archetype change since last debug: 1.967105
Archetype gradients: norm=0.044752, mean=0.001806
Epoch 1/1
Average loss: 0.7575
Archetypal loss: 0.8296
KLD loss: 0.1090
Reconstruction loss: 0.8296
Archetype R²: 0.1157
Archetype transform grad norm: 0.283313
Archetype transform param norm: 8.7644
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.7575 (range: 0.7575 - 0.7575)
archetypal_loss: 0.8296 (range: 0.8296 - 0.8296)
kld_loss: 0.1090 (range: 0.1090 - 0.1090)
reconstruction_loss: 0.8296 (range: 0.8296 - 0.8296)
archetype_r2: 0.1157 (range: 0.1157 - 0.1157)
Archetype Transform Summary:
archetype_transform_mean: 0.000983 (range: 0.000983 - 0.000983)
archetype_transform_std: 0.122734 (range: 0.122734 - 0.122734)
archetype_transform_norm: 8.764368 (range: 8.764368 - 8.764368)
archetype_transform_grad_norm: 0.283313 (range: 0.283313 - 0.283313)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0659, max=0.3744, mean=0.1667
Batch reconstruction MSE: 0.8805
Archetype stats: min=-27.2268, max=15.5521
Archetype change since last debug: 1.107052
Archetype gradients: norm=0.020903, mean=0.000992
Epoch 1/1
Average loss: 0.7552
Archetypal loss: 0.8278
KLD loss: 0.1019
Reconstruction loss: 0.8278
Archetype R²: 0.1178
Archetype transform grad norm: 0.278947
Archetype transform param norm: 8.8001
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.7552 (range: 0.7552 - 0.7552)
archetypal_loss: 0.8278 (range: 0.8278 - 0.8278)
kld_loss: 0.1019 (range: 0.1019 - 0.1019)
reconstruction_loss: 0.8278 (range: 0.8278 - 0.8278)
archetype_r2: 0.1178 (range: 0.1178 - 0.1178)
Archetype Transform Summary:
archetype_transform_mean: 0.001017 (range: 0.001017 - 0.001017)
archetype_transform_std: 0.123234 (range: 0.123234 - 0.123234)
archetype_transform_norm: 8.800134 (range: 8.800134 - 8.800134)
archetype_transform_grad_norm: 0.278947 (range: 0.278947 - 0.278947)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0606, max=0.2936, mean=0.1667
Batch reconstruction MSE: 0.8472
Archetype stats: min=-27.9518, max=15.9681
Archetype change since last debug: 1.605235
Archetype gradients: norm=0.030873, mean=0.001072
Epoch 1/1
Average loss: 0.7538
Archetypal loss: 0.8266
KLD loss: 0.0987
Reconstruction loss: 0.8266
Archetype R²: 0.1191
Archetype transform grad norm: 0.276126
Archetype transform param norm: 8.8448
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.7538 (range: 0.7538 - 0.7538)
archetypal_loss: 0.8266 (range: 0.8266 - 0.8266)
kld_loss: 0.0987 (range: 0.0987 - 0.0987)
reconstruction_loss: 0.8266 (range: 0.8266 - 0.8266)
archetype_r2: 0.1191 (range: 0.1191 - 0.1191)
Archetype Transform Summary:
archetype_transform_mean: 0.001004 (range: 0.001004 - 0.001004)
archetype_transform_std: 0.123860 (range: 0.123860 - 0.123860)
archetype_transform_norm: 8.844815 (range: 8.844815 - 8.844815)
archetype_transform_grad_norm: 0.276126 (range: 0.276126 - 0.276126)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0632, max=0.3324, mean=0.1667
Batch reconstruction MSE: 0.8480
Archetype stats: min=-28.4865, max=16.2940
Archetype change since last debug: 1.683540
Archetype gradients: norm=0.021609, mean=0.001004
Epoch 1/1
Average loss: 0.7537
Archetypal loss: 0.8268
KLD loss: 0.0957
Reconstruction loss: 0.8268
Archetype R²: 0.1189
Archetype transform grad norm: 0.283536
Archetype transform param norm: 8.8927
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.7537 (range: 0.7537 - 0.7537)
archetypal_loss: 0.8268 (range: 0.8268 - 0.8268)
kld_loss: 0.0957 (range: 0.0957 - 0.0957)
reconstruction_loss: 0.8268 (range: 0.8268 - 0.8268)
archetype_r2: 0.1189 (range: 0.1189 - 0.1189)
Archetype Transform Summary:
archetype_transform_mean: 0.001022 (range: 0.001022 - 0.001022)
archetype_transform_std: 0.124531 (range: 0.124531 - 0.124531)
archetype_transform_norm: 8.892725 (range: 8.892725 - 8.892725)
archetype_transform_grad_norm: 0.283536 (range: 0.283536 - 0.283536)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0680, max=0.3049, mean=0.1667
Batch reconstruction MSE: 0.8569
Archetype stats: min=-29.0133, max=16.5824
Archetype change since last debug: 1.523830
Archetype gradients: norm=0.039037, mean=0.001201
Epoch 1/1
Average loss: 0.7534
Archetypal loss: 0.8266
KLD loss: 0.0949
Reconstruction loss: 0.8266
Archetype R²: 0.1190
Archetype transform grad norm: 0.281812
Archetype transform param norm: 8.9286
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.7534 (range: 0.7534 - 0.7534)
archetypal_loss: 0.8266 (range: 0.8266 - 0.8266)
kld_loss: 0.0949 (range: 0.0949 - 0.0949)
reconstruction_loss: 0.8266 (range: 0.8266 - 0.8266)
archetype_r2: 0.1190 (range: 0.1190 - 0.1190)
Archetype Transform Summary:
archetype_transform_mean: 0.001012 (range: 0.001012 - 0.001012)
archetype_transform_std: 0.125033 (range: 0.125033 - 0.125033)
archetype_transform_norm: 8.928594 (range: 8.928594 - 8.928594)
archetype_transform_grad_norm: 0.281812 (range: 0.281812 - 0.281812)
Fold 3/3
Model input_dim: 50 (auto-detected from data)
Archetypes parameter registered: True
Archetypes requires_grad: True
Deep_AA (Deep Archetypal Analysis) initialized:
- Single-stage architecture (like Deep_2)
- Inflation factor: 1.5
- Direct archetypal coordinates (no bottleneck)
Consolidated Archetype Initialization
PCHA: True, Inflation: True (factor: 1.5)
Test inflation: False
Running PCHA initialization...
Input shape: (128, 50)
Target archetypes: 6
Running PCHA with 6 archetypes...
Data shape for PCHA: (50, 128)
PCHA Results:
Archetypes shape: (6, 50)
Archetype R²: 0.2233
SSE: 4384.1061
PCHA archetype R²: 0.2233
Archetype shape: (6, 50)
[OK] Initialized 6 archetypes using PCHA
Scalar Archetypal Inflation (factor: 1.50)
[OK] Inflation complete
[STATS] Positioning verification:
Data radius (max): 16.061
Data radius (mean): 6.037
Archetype distances: 3.365 to 11.476
Archetypes outside data: 0/6
Min archetype separation: 6.592
[OK] Archetype initialization complete (success: True)
[OK] Archetype initialization complete (PCHA: True, Inflation: 1.5)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0007, max=0.9235, mean=0.1667
Batch reconstruction MSE: 0.8909
Archetype stats: min=-0.7681, max=0.9679
Archetype gradients: norm=0.006951, mean=0.000297
Epoch 1/1
Average loss: 0.8884
Archetypal loss: 0.9833
KLD loss: 0.0344
Reconstruction loss: 0.9833
Archetype R²: -0.0104
Archetype transform grad norm: 0.097071
Archetype transform param norm: 5.8212
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.8884 (range: 0.8884 - 0.8884)
archetypal_loss: 0.9833 (range: 0.9833 - 0.9833)
kld_loss: 0.0344 (range: 0.0344 - 0.0344)
reconstruction_loss: 0.9833 (range: 0.9833 - 0.9833)
archetype_r2: -0.0104 (range: -0.0104 - -0.0104)
Archetype Transform Summary:
archetype_transform_mean: 0.000156 (range: 0.000156 - 0.000156)
archetype_transform_std: 0.081520 (range: 0.081520 - 0.081520)
archetype_transform_norm: 5.821176 (range: 5.821176 - 5.821176)
archetype_transform_grad_norm: 0.097071 (range: 0.097071 - 0.097071)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0025, max=0.8246, mean=0.1667
Batch reconstruction MSE: 0.8564
Archetype stats: min=-0.7317, max=0.8511
Archetype change since last debug: 3.394486
Archetype gradients: norm=0.002819, mean=0.000128
Epoch 1/1
Average loss: 0.8829
Archetypal loss: 0.9786
KLD loss: 0.0214
Reconstruction loss: 0.9786
Archetype R²: -0.0054
Archetype transform grad norm: 0.086213
Archetype transform param norm: 5.8388
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.8829 (range: 0.8829 - 0.8829)
archetypal_loss: 0.9786 (range: 0.9786 - 0.9786)
kld_loss: 0.0214 (range: 0.0214 - 0.0214)
reconstruction_loss: 0.9786 (range: 0.9786 - 0.9786)
archetype_r2: -0.0054 (range: -0.0054 - -0.0054)
Archetype Transform Summary:
archetype_transform_mean: 0.000136 (range: 0.000136 - 0.000136)
archetype_transform_std: 0.081767 (range: 0.081767 - 0.081767)
archetype_transform_norm: 5.838752 (range: 5.838752 - 5.838752)
archetype_transform_grad_norm: 0.086213 (range: 0.086213 - 0.086213)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0011, max=0.9694, mean=0.1667
Batch reconstruction MSE: 0.8543
Archetype stats: min=-1.0118, max=1.2901
Archetype change since last debug: 1.858013
Archetype gradients: norm=0.002742, mean=0.000123
Epoch 1/1
Average loss: 0.8785
Archetypal loss: 0.9706
KLD loss: 0.0490
Reconstruction loss: 0.9706
Archetype R²: 0.0028
Archetype transform grad norm: 0.096149
Archetype transform param norm: 5.9420
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.8785 (range: 0.8785 - 0.8785)
archetypal_loss: 0.9706 (range: 0.9706 - 0.9706)
kld_loss: 0.0490 (range: 0.0490 - 0.0490)
reconstruction_loss: 0.9706 (range: 0.9706 - 0.9706)
archetype_r2: 0.0028 (range: 0.0028 - 0.0028)
Archetype Transform Summary:
archetype_transform_mean: 0.000264 (range: 0.000264 - 0.000264)
archetype_transform_std: 0.083213 (range: 0.083213 - 0.083213)
archetype_transform_norm: 5.942029 (range: 5.942029 - 5.942029)
archetype_transform_grad_norm: 0.096149 (range: 0.096149 - 0.096149)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0005, max=0.9897, mean=0.1667
Batch reconstruction MSE: 0.8608
Archetype stats: min=-2.0669, max=2.5210
Archetype change since last debug: 5.068937
Archetype gradients: norm=0.005275, mean=0.000209
Epoch 1/1
Average loss: 0.8642
Archetypal loss: 0.9466
KLD loss: 0.1227
Reconstruction loss: 0.9466
Archetype R²: 0.0275
Archetype transform grad norm: 0.128167
Archetype transform param norm: 6.2675
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.8642 (range: 0.8642 - 0.8642)
archetypal_loss: 0.9466 (range: 0.9466 - 0.9466)
kld_loss: 0.1227 (range: 0.1227 - 0.1227)
reconstruction_loss: 0.9466 (range: 0.9466 - 0.9466)
archetype_r2: 0.0275 (range: 0.0275 - 0.0275)
Archetype Transform Summary:
archetype_transform_mean: 0.000515 (range: 0.000515 - 0.000515)
archetype_transform_std: 0.087769 (range: 0.087769 - 0.087769)
archetype_transform_norm: 6.267481 (range: 6.267481 - 6.267481)
archetype_transform_grad_norm: 0.128167 (range: 0.128167 - 0.128167)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0003, max=0.9839, mean=0.1667
Batch reconstruction MSE: 0.9369
Archetype stats: min=-4.2583, max=4.3984
Archetype change since last debug: 11.498429
Archetype gradients: norm=0.015094, mean=0.000648
Epoch 1/1
Average loss: 0.8467
Archetypal loss: 0.9242
KLD loss: 0.1491
Reconstruction loss: 0.9242
Archetype R²: 0.0500
Archetype transform grad norm: 0.159986
Archetype transform param norm: 6.7469
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.8467 (range: 0.8467 - 0.8467)
archetypal_loss: 0.9242 (range: 0.9242 - 0.9242)
kld_loss: 0.1491 (range: 0.1491 - 0.1491)
reconstruction_loss: 0.9242 (range: 0.9242 - 0.9242)
archetype_r2: 0.0500 (range: 0.0500 - 0.0500)
Archetype Transform Summary:
archetype_transform_mean: 0.000810 (range: 0.000810 - 0.000810)
archetype_transform_std: 0.094481 (range: 0.094481 - 0.094481)
archetype_transform_norm: 6.746862 (range: 6.746862 - 6.746862)
archetype_transform_grad_norm: 0.159986 (range: 0.159986 - 0.159986)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0016, max=0.9527, mean=0.1667
Batch reconstruction MSE: 1.0061
Archetype stats: min=-6.8111, max=5.8108
Archetype change since last debug: 10.051068
Archetype gradients: norm=0.034244, mean=0.001401
Epoch 1/1
Average loss: 0.8339
Archetypal loss: 0.9075
KLD loss: 0.1722
Reconstruction loss: 0.9075
Archetype R²: 0.0666
Archetype transform grad norm: 0.184530
Archetype transform param norm: 7.1709
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.8339 (range: 0.8339 - 0.8339)
archetypal_loss: 0.9075 (range: 0.9075 - 0.9075)
kld_loss: 0.1722 (range: 0.1722 - 0.1722)
reconstruction_loss: 0.9075 (range: 0.9075 - 0.9075)
archetype_r2: 0.0666 (range: 0.0666 - 0.0666)
Archetype Transform Summary:
archetype_transform_mean: 0.001062 (range: 0.001062 - 0.001062)
archetype_transform_std: 0.100417 (range: 0.100417 - 0.100417)
archetype_transform_norm: 7.170940 (range: 7.170940 - 7.170940)
archetype_transform_grad_norm: 0.184530 (range: 0.184530 - 0.184530)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0016, max=0.9686, mean=0.1667
Batch reconstruction MSE: 1.1173
Archetype stats: min=-9.0010, max=6.8920
Archetype change since last debug: 8.375875
Archetype gradients: norm=0.058707, mean=0.002590
Epoch 1/1
Average loss: 0.8246
Archetypal loss: 0.8957
KLD loss: 0.1854
Reconstruction loss: 0.8957
Archetype R²: 0.0781
Archetype transform grad norm: 0.202719
Archetype transform param norm: 7.5103
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.8246 (range: 0.8246 - 0.8246)
archetypal_loss: 0.8957 (range: 0.8957 - 0.8957)
kld_loss: 0.1854 (range: 0.1854 - 0.1854)
reconstruction_loss: 0.8957 (range: 0.8957 - 0.8957)
archetype_r2: 0.0781 (range: 0.0781 - 0.0781)
Archetype Transform Summary:
archetype_transform_mean: 0.001147 (range: 0.001147 - 0.001147)
archetype_transform_std: 0.105169 (range: 0.105169 - 0.105169)
archetype_transform_norm: 7.510290 (range: 7.510290 - 7.510290)
archetype_transform_grad_norm: 0.202719 (range: 0.202719 - 0.202719)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0051, max=0.8917, mean=0.1667
Batch reconstruction MSE: 1.1071
Archetype stats: min=-10.3826, max=7.8357
Archetype change since last debug: 6.244431
Archetype gradients: norm=0.054451, mean=0.002407
Epoch 1/1
Average loss: 0.8159
Archetypal loss: 0.8867
KLD loss: 0.1781
Reconstruction loss: 0.8867
Archetype R²: 0.0871
Archetype transform grad norm: 0.211400
Archetype transform param norm: 7.7747
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.8159 (range: 0.8159 - 0.8159)
archetypal_loss: 0.8867 (range: 0.8867 - 0.8867)
kld_loss: 0.1781 (range: 0.1781 - 0.1781)
reconstruction_loss: 0.8867 (range: 0.8867 - 0.8867)
archetype_r2: 0.0871 (range: 0.0871 - 0.0871)
Archetype Transform Summary:
archetype_transform_mean: 0.001294 (range: 0.001294 - 0.001294)
archetype_transform_std: 0.108870 (range: 0.108870 - 0.108870)
archetype_transform_norm: 7.774687 (range: 7.774687 - 7.774687)
archetype_transform_grad_norm: 0.211400 (range: 0.211400 - 0.211400)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0026, max=0.9507, mean=0.1667
Batch reconstruction MSE: 1.1382
Archetype stats: min=-11.7876, max=7.8501
Archetype change since last debug: 5.794677
Archetype gradients: norm=0.092449, mean=0.003539
Epoch 1/1
Average loss: 0.8115
Archetypal loss: 0.8820
KLD loss: 0.1768
Reconstruction loss: 0.8820
Archetype R²: 0.0918
Archetype transform grad norm: 0.212671
Archetype transform param norm: 7.9618
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.8115 (range: 0.8115 - 0.8115)
archetypal_loss: 0.8820 (range: 0.8820 - 0.8820)
kld_loss: 0.1768 (range: 0.1768 - 0.1768)
reconstruction_loss: 0.8820 (range: 0.8820 - 0.8820)
archetype_r2: 0.0918 (range: 0.0918 - 0.0918)
Archetype Transform Summary:
archetype_transform_mean: 0.001406 (range: 0.001406 - 0.001406)
archetype_transform_std: 0.111490 (range: 0.111490 - 0.111490)
archetype_transform_norm: 7.961826 (range: 7.961826 - 7.961826)
archetype_transform_grad_norm: 0.212671 (range: 0.212671 - 0.212671)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0057, max=0.8975, mean=0.1667
Batch reconstruction MSE: 1.0126
Archetype stats: min=-12.6071, max=8.3716
Archetype change since last debug: 4.197032
Archetype gradients: norm=0.038476, mean=0.001419
Epoch 1/1
Average loss: 0.8045
Archetypal loss: 0.8755
KLD loss: 0.1655
Reconstruction loss: 0.8755
Archetype R²: 0.0987
Archetype transform grad norm: 0.213111
Archetype transform param norm: 8.1353
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.8045 (range: 0.8045 - 0.8045)
archetypal_loss: 0.8755 (range: 0.8755 - 0.8755)
kld_loss: 0.1655 (range: 0.1655 - 0.1655)
reconstruction_loss: 0.8755 (range: 0.8755 - 0.8755)
archetype_r2: 0.0987 (range: 0.0987 - 0.0987)
Archetype Transform Summary:
archetype_transform_mean: 0.001432 (range: 0.001432 - 0.001432)
archetype_transform_std: 0.113920 (range: 0.113920 - 0.113920)
archetype_transform_norm: 8.135342 (range: 8.135342 - 8.135342)
archetype_transform_grad_norm: 0.213111 (range: 0.213111 - 0.213111)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0079, max=0.8824, mean=0.1667
Batch reconstruction MSE: 1.0193
Archetype stats: min=-13.5045, max=8.8108
Archetype change since last debug: 4.389246
Archetype gradients: norm=0.058750, mean=0.002444
Epoch 1/1
Average loss: 0.8016
Archetypal loss: 0.8728
KLD loss: 0.1602
Reconstruction loss: 0.8728
Archetype R²: 0.1014
Archetype transform grad norm: 0.213819
Archetype transform param norm: 8.2849
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.8016 (range: 0.8016 - 0.8016)
archetypal_loss: 0.8728 (range: 0.8728 - 0.8728)
kld_loss: 0.1602 (range: 0.1602 - 0.1602)
reconstruction_loss: 0.8728 (range: 0.8728 - 0.8728)
archetype_r2: 0.1014 (range: 0.1014 - 0.1014)
Archetype Transform Summary:
archetype_transform_mean: 0.001411 (range: 0.001411 - 0.001411)
archetype_transform_std: 0.116014 (range: 0.116014 - 0.116014)
archetype_transform_norm: 8.284890 (range: 8.284890 - 8.284890)
archetype_transform_grad_norm: 0.213819 (range: 0.213819 - 0.213819)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0078, max=0.8229, mean=0.1667
Batch reconstruction MSE: 0.9898
Archetype stats: min=-14.1089, max=9.4047
Archetype change since last debug: 3.761378
Archetype gradients: norm=0.036830, mean=0.001615
Epoch 1/1
Average loss: 0.7990
Archetypal loss: 0.8704
KLD loss: 0.1558
Reconstruction loss: 0.8704
Archetype R²: 0.1039
Archetype transform grad norm: 0.223456
Archetype transform param norm: 8.4185
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.7990 (range: 0.7990 - 0.7990)
archetypal_loss: 0.8704 (range: 0.8704 - 0.8704)
kld_loss: 0.1558 (range: 0.1558 - 0.1558)
reconstruction_loss: 0.8704 (range: 0.8704 - 0.8704)
archetype_r2: 0.1039 (range: 0.1039 - 0.1039)
Archetype Transform Summary:
archetype_transform_mean: 0.001433 (range: 0.001433 - 0.001433)
archetype_transform_std: 0.117886 (range: 0.117886 - 0.117886)
archetype_transform_norm: 8.418514 (range: 8.418514 - 8.418514)
archetype_transform_grad_norm: 0.223456 (range: 0.223456 - 0.223456)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0126, max=0.8094, mean=0.1667
Batch reconstruction MSE: 1.0622
Archetype stats: min=-14.7343, max=9.7853
Archetype change since last debug: 3.405149
Archetype gradients: norm=0.068404, mean=0.002919
Epoch 1/1
Average loss: 0.7985
Archetypal loss: 0.8706
KLD loss: 0.1499
Reconstruction loss: 0.8706
Archetype R²: 0.1035
Archetype transform grad norm: 0.228667
Archetype transform param norm: 8.5165
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.7985 (range: 0.7985 - 0.7985)
archetypal_loss: 0.8706 (range: 0.8706 - 0.8706)
kld_loss: 0.1499 (range: 0.1499 - 0.1499)
reconstruction_loss: 0.8706 (range: 0.8706 - 0.8706)
archetype_r2: 0.1035 (range: 0.1035 - 0.1035)
Archetype Transform Summary:
archetype_transform_mean: 0.001367 (range: 0.001367 - 0.001367)
archetype_transform_std: 0.119259 (range: 0.119259 - 0.119259)
archetype_transform_norm: 8.516506 (range: 8.516506 - 8.516506)
archetype_transform_grad_norm: 0.228667 (range: 0.228667 - 0.228667)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0049, max=0.8641, mean=0.1667
Batch reconstruction MSE: 1.1055
Archetype stats: min=-15.7152, max=10.2597
Archetype change since last debug: 2.939744
Archetype gradients: norm=0.069699, mean=0.002830
Epoch 1/1
Average loss: 0.7997
Archetypal loss: 0.8712
KLD loss: 0.1565
Reconstruction loss: 0.8712
Archetype R²: 0.1027
Archetype transform grad norm: 0.248419
Archetype transform param norm: 8.5868
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.7997 (range: 0.7997 - 0.7997)
archetypal_loss: 0.8712 (range: 0.8712 - 0.8712)
kld_loss: 0.1565 (range: 0.1565 - 0.1565)
reconstruction_loss: 0.8712 (range: 0.8712 - 0.8712)
archetype_r2: 0.1027 (range: 0.1027 - 0.1027)
Archetype Transform Summary:
archetype_transform_mean: 0.001349 (range: 0.001349 - 0.001349)
archetype_transform_std: 0.120243 (range: 0.120243 - 0.120243)
archetype_transform_norm: 8.586785 (range: 8.586785 - 8.586785)
archetype_transform_grad_norm: 0.248419 (range: 0.248419 - 0.248419)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0110, max=0.8213, mean=0.1667
Batch reconstruction MSE: 1.1680
Archetype stats: min=-15.2462, max=10.5322
Archetype change since last debug: 2.692036
Archetype gradients: norm=0.068390, mean=0.003307
Epoch 1/1
Average loss: 0.7989
Archetypal loss: 0.8711
KLD loss: 0.1497
Reconstruction loss: 0.8711
Archetype R²: 0.1025
Archetype transform grad norm: 0.240862
Archetype transform param norm: 8.6252
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.7989 (range: 0.7989 - 0.7989)
archetypal_loss: 0.8711 (range: 0.8711 - 0.8711)
kld_loss: 0.1497 (range: 0.1497 - 0.1497)
reconstruction_loss: 0.8711 (range: 0.8711 - 0.8711)
archetype_r2: 0.1025 (range: 0.1025 - 0.1025)
Archetype Transform Summary:
archetype_transform_mean: 0.001356 (range: 0.001356 - 0.001356)
archetype_transform_std: 0.120781 (range: 0.120781 - 0.120781)
archetype_transform_norm: 8.625177 (range: 8.625177 - 8.625177)
archetype_transform_grad_norm: 0.240862 (range: 0.240862 - 0.240862)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0074, max=0.8497, mean=0.1667
Batch reconstruction MSE: 1.0474
Archetype stats: min=-15.4314, max=10.3923
Archetype change since last debug: 1.924456
Archetype gradients: norm=0.120020, mean=0.003461
Epoch 1/1
Average loss: 0.7957
Archetypal loss: 0.8676
KLD loss: 0.1487
Reconstruction loss: 0.8676
Archetype R²: 0.1065
Archetype transform grad norm: 0.234193
Archetype transform param norm: 8.6823
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.7957 (range: 0.7957 - 0.7957)
archetypal_loss: 0.8676 (range: 0.8676 - 0.8676)
kld_loss: 0.1487 (range: 0.1487 - 0.1487)
reconstruction_loss: 0.8676 (range: 0.8676 - 0.8676)
archetype_r2: 0.1065 (range: 0.1065 - 0.1065)
Archetype Transform Summary:
archetype_transform_mean: 0.001445 (range: 0.001445 - 0.001445)
archetype_transform_std: 0.121580 (range: 0.121580 - 0.121580)
archetype_transform_norm: 8.682292 (range: 8.682292 - 8.682292)
archetype_transform_grad_norm: 0.234193 (range: 0.234193 - 0.234193)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0150, max=0.7512, mean=0.1667
Batch reconstruction MSE: 1.0444
Archetype stats: min=-16.0697, max=10.6372
Archetype change since last debug: 2.331529
Archetype gradients: norm=0.067279, mean=0.002997
Epoch 1/1
Average loss: 0.7947
Archetypal loss: 0.8669
KLD loss: 0.1452
Reconstruction loss: 0.8669
Archetype R²: 0.1071
Archetype transform grad norm: 0.238616
Archetype transform param norm: 8.7363
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.7947 (range: 0.7947 - 0.7947)
archetypal_loss: 0.8669 (range: 0.8669 - 0.8669)
kld_loss: 0.1452 (range: 0.1452 - 0.1452)
reconstruction_loss: 0.8669 (range: 0.8669 - 0.8669)
archetype_r2: 0.1071 (range: 0.1071 - 0.1071)
Archetype Transform Summary:
archetype_transform_mean: 0.001494 (range: 0.001494 - 0.001494)
archetype_transform_std: 0.122335 (range: 0.122335 - 0.122335)
archetype_transform_norm: 8.736288 (range: 8.736288 - 8.736288)
archetype_transform_grad_norm: 0.238616 (range: 0.238616 - 0.238616)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0098, max=0.8557, mean=0.1667
Batch reconstruction MSE: 0.9700
Archetype stats: min=-16.6468, max=10.6380
Archetype change since last debug: 1.898965
Archetype gradients: norm=0.049494, mean=0.002370
Epoch 1/1
Average loss: 0.7925
Archetypal loss: 0.8647
KLD loss: 0.1422
Reconstruction loss: 0.8647
Archetype R²: 0.1096
Archetype transform grad norm: 0.239210
Archetype transform param norm: 8.8032
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.7925 (range: 0.7925 - 0.7925)
archetypal_loss: 0.8647 (range: 0.8647 - 0.8647)
kld_loss: 0.1422 (range: 0.1422 - 0.1422)
reconstruction_loss: 0.8647 (range: 0.8647 - 0.8647)
archetype_r2: 0.1096 (range: 0.1096 - 0.1096)
Archetype Transform Summary:
archetype_transform_mean: 0.001533 (range: 0.001533 - 0.001533)
archetype_transform_std: 0.123273 (range: 0.123273 - 0.123273)
archetype_transform_norm: 8.803248 (range: 8.803248 - 8.803248)
archetype_transform_grad_norm: 0.239210 (range: 0.239210 - 0.239210)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0163, max=0.7360, mean=0.1667
Batch reconstruction MSE: 0.9739
Archetype stats: min=-16.9098, max=10.9717
Archetype change since last debug: 1.960520
Archetype gradients: norm=0.046441, mean=0.002010
Epoch 1/1
Average loss: 0.7914
Archetypal loss: 0.8643
KLD loss: 0.1357
Reconstruction loss: 0.8643
Archetype R²: 0.1100
Archetype transform grad norm: 0.239167
Archetype transform param norm: 8.8639
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.7914 (range: 0.7914 - 0.7914)
archetypal_loss: 0.8643 (range: 0.8643 - 0.8643)
kld_loss: 0.1357 (range: 0.1357 - 0.1357)
reconstruction_loss: 0.8643 (range: 0.8643 - 0.8643)
archetype_r2: 0.1100 (range: 0.1100 - 0.1100)
Archetype Transform Summary:
archetype_transform_mean: 0.001537 (range: 0.001537 - 0.001537)
archetype_transform_std: 0.124122 (range: 0.124122 - 0.124122)
archetype_transform_norm: 8.863920 (range: 8.863920 - 8.863920)
archetype_transform_grad_norm: 0.239167 (range: 0.239167 - 0.239167)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0123, max=0.8175, mean=0.1667
Batch reconstruction MSE: 0.9671
Archetype stats: min=-17.5065, max=11.0176
Archetype change since last debug: 1.839629
Archetype gradients: norm=0.054928, mean=0.002353
Epoch 1/1
Average loss: 0.7908
Archetypal loss: 0.8636
KLD loss: 0.1358
Reconstruction loss: 0.8636
Archetype R²: 0.1107
Archetype transform grad norm: 0.241315
Archetype transform param norm: 8.9224
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.7908 (range: 0.7908 - 0.7908)
archetypal_loss: 0.8636 (range: 0.8636 - 0.8636)
kld_loss: 0.1358 (range: 0.1358 - 0.1358)
reconstruction_loss: 0.8636 (range: 0.8636 - 0.8636)
archetype_r2: 0.1107 (range: 0.1107 - 0.1107)
Archetype Transform Summary:
archetype_transform_mean: 0.001578 (range: 0.001578 - 0.001578)
archetype_transform_std: 0.124941 (range: 0.124941 - 0.124941)
archetype_transform_norm: 8.922374 (range: 8.922374 - 8.922374)
archetype_transform_grad_norm: 0.241315 (range: 0.241315 - 0.241315)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0183, max=0.6776, mean=0.1667
Batch reconstruction MSE: 1.0033
Archetype stats: min=-17.6350, max=11.3047
Archetype change since last debug: 1.745093
Archetype gradients: norm=0.056718, mean=0.002755
Epoch 1/1
Average loss: 0.7910
Archetypal loss: 0.8641
KLD loss: 0.1334
Reconstruction loss: 0.8641
Archetype R²: 0.1100
Archetype transform grad norm: 0.245486
Archetype transform param norm: 8.9663
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.7910 (range: 0.7910 - 0.7910)
archetypal_loss: 0.8641 (range: 0.8641 - 0.8641)
kld_loss: 0.1334 (range: 0.1334 - 0.1334)
reconstruction_loss: 0.8641 (range: 0.8641 - 0.8641)
archetype_r2: 0.1100 (range: 0.1100 - 0.1100)
Archetype Transform Summary:
archetype_transform_mean: 0.001579 (range: 0.001579 - 0.001579)
archetype_transform_std: 0.125555 (range: 0.125555 - 0.125555)
archetype_transform_norm: 8.966276 (range: 8.966276 - 8.966276)
archetype_transform_grad_norm: 0.245486 (range: 0.245486 - 0.245486)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0121, max=0.8532, mean=0.1667
Batch reconstruction MSE: 1.0299
Archetype stats: min=-18.1030, max=11.2953
Archetype change since last debug: 1.620737
Archetype gradients: norm=0.082016, mean=0.003308
Epoch 1/1
Average loss: 0.7915
Archetypal loss: 0.8644
KLD loss: 0.1353
Reconstruction loss: 0.8644
Archetype R²: 0.1096
Archetype transform grad norm: 0.251227
Archetype transform param norm: 9.0002
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.7915 (range: 0.7915 - 0.7915)
archetypal_loss: 0.8644 (range: 0.8644 - 0.8644)
kld_loss: 0.1353 (range: 0.1353 - 0.1353)
reconstruction_loss: 0.8644 (range: 0.8644 - 0.8644)
archetype_r2: 0.1096 (range: 0.1096 - 0.1096)
Archetype Transform Summary:
archetype_transform_mean: 0.001534 (range: 0.001534 - 0.001534)
archetype_transform_std: 0.126031 (range: 0.126031 - 0.126031)
archetype_transform_norm: 9.000229 (range: 9.000229 - 9.000229)
archetype_transform_grad_norm: 0.251227 (range: 0.251227 - 0.251227)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0194, max=0.6817, mean=0.1667
Batch reconstruction MSE: 1.0674
Archetype stats: min=-17.9260, max=11.5584
Archetype change since last debug: 1.478531
Archetype gradients: norm=0.078696, mean=0.003846
Epoch 1/1
Average loss: 0.7922
Archetypal loss: 0.8653
KLD loss: 0.1345
Reconstruction loss: 0.8653
Archetype R²: 0.1085
Archetype transform grad norm: 0.260140
Archetype transform param norm: 9.0145
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.7922 (range: 0.7922 - 0.7922)
archetypal_loss: 0.8653 (range: 0.8653 - 0.8653)
kld_loss: 0.1345 (range: 0.1345 - 0.1345)
reconstruction_loss: 0.8653 (range: 0.8653 - 0.8653)
archetype_r2: 0.1085 (range: 0.1085 - 0.1085)
Archetype Transform Summary:
archetype_transform_mean: 0.001565 (range: 0.001565 - 0.001565)
archetype_transform_std: 0.126231 (range: 0.126231 - 0.126231)
archetype_transform_norm: 9.014530 (range: 9.014530 - 9.014530)
archetype_transform_grad_norm: 0.260140 (range: 0.260140 - 0.260140)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0148, max=0.8437, mean=0.1667
Batch reconstruction MSE: 1.0484
Archetype stats: min=-18.2923, max=11.4687
Archetype change since last debug: 1.568228
Archetype gradients: norm=0.082139, mean=0.003295
Epoch 1/1
Average loss: 0.7913
Archetypal loss: 0.8643
KLD loss: 0.1350
Reconstruction loss: 0.8643
Archetype R²: 0.1096
Archetype transform grad norm: 0.252266
Archetype transform param norm: 9.0380
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.7913 (range: 0.7913 - 0.7913)
archetypal_loss: 0.8643 (range: 0.8643 - 0.8643)
kld_loss: 0.1350 (range: 0.1350 - 0.1350)
reconstruction_loss: 0.8643 (range: 0.8643 - 0.8643)
archetype_r2: 0.1096 (range: 0.1096 - 0.1096)
Archetype Transform Summary:
archetype_transform_mean: 0.001439 (range: 0.001439 - 0.001439)
archetype_transform_std: 0.126561 (range: 0.126561 - 0.126561)
archetype_transform_norm: 9.037992 (range: 9.037992 - 9.037992)
archetype_transform_grad_norm: 0.252266 (range: 0.252266 - 0.252266)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0252, max=0.6781, mean=0.1667
Batch reconstruction MSE: 1.0013
Archetype stats: min=-18.0648, max=11.7149
Archetype change since last debug: 1.373037
Archetype gradients: norm=0.064975, mean=0.003193
Epoch 1/1
Average loss: 0.7898
Archetypal loss: 0.8631
KLD loss: 0.1310
Reconstruction loss: 0.8631
Archetype R²: 0.1110
Archetype transform grad norm: 0.251435
Archetype transform param norm: 9.0631
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.7898 (range: 0.7898 - 0.7898)
archetypal_loss: 0.8631 (range: 0.8631 - 0.8631)
kld_loss: 0.1310 (range: 0.1310 - 0.1310)
reconstruction_loss: 0.8631 (range: 0.8631 - 0.8631)
archetype_r2: 0.1110 (range: 0.1110 - 0.1110)
Archetype Transform Summary:
archetype_transform_mean: 0.001506 (range: 0.001506 - 0.001506)
archetype_transform_std: 0.126913 (range: 0.126913 - 0.126913)
archetype_transform_norm: 9.063146 (range: 9.063146 - 9.063146)
archetype_transform_grad_norm: 0.251435 (range: 0.251435 - 0.251435)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0185, max=0.7760, mean=0.1667
Batch reconstruction MSE: 0.9788
Archetype stats: min=-18.5172, max=11.7440
Archetype change since last debug: 1.484627
Archetype gradients: norm=0.070638, mean=0.002578
Epoch 1/1
Average loss: 0.7887
Archetypal loss: 0.8618
KLD loss: 0.1303
Reconstruction loss: 0.8618
Archetype R²: 0.1123
Archetype transform grad norm: 0.243781
Archetype transform param norm: 9.1039
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.7887 (range: 0.7887 - 0.7887)
archetypal_loss: 0.8618 (range: 0.8618 - 0.8618)
kld_loss: 0.1303 (range: 0.1303 - 0.1303)
reconstruction_loss: 0.8618 (range: 0.8618 - 0.8618)
archetype_r2: 0.1123 (range: 0.1123 - 0.1123)
Archetype Transform Summary:
archetype_transform_mean: 0.001449 (range: 0.001449 - 0.001449)
archetype_transform_std: 0.127484 (range: 0.127484 - 0.127484)
archetype_transform_norm: 9.103862 (range: 9.103862 - 9.103862)
archetype_transform_grad_norm: 0.243781 (range: 0.243781 - 0.243781)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0224, max=0.7765, mean=0.1667
Batch reconstruction MSE: 1.0047
Archetype stats: min=-18.4874, max=11.9795
Archetype change since last debug: 1.410895
Archetype gradients: norm=0.059989, mean=0.003011
Epoch 1/1
Average loss: 0.7888
Archetypal loss: 0.8623
KLD loss: 0.1267
Reconstruction loss: 0.8623
Archetype R²: 0.1117
Archetype transform grad norm: 0.247102
Archetype transform param norm: 9.1310
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.7888 (range: 0.7888 - 0.7888)
archetypal_loss: 0.8623 (range: 0.8623 - 0.8623)
kld_loss: 0.1267 (range: 0.1267 - 0.1267)
reconstruction_loss: 0.8623 (range: 0.8623 - 0.8623)
archetype_r2: 0.1117 (range: 0.1117 - 0.1117)
Archetype Transform Summary:
archetype_transform_mean: 0.001512 (range: 0.001512 - 0.001512)
archetype_transform_std: 0.127863 (range: 0.127863 - 0.127863)
archetype_transform_norm: 9.130971 (range: 9.130971 - 9.130971)
archetype_transform_grad_norm: 0.247102 (range: 0.247102 - 0.247102)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0227, max=0.5460, mean=0.1667
Batch reconstruction MSE: 0.9829
Archetype stats: min=-18.9371, max=12.0756
Archetype change since last debug: 1.284197
Archetype gradients: norm=0.068576, mean=0.002618
Epoch 1/1
Average loss: 0.7887
Archetypal loss: 0.8618
KLD loss: 0.1302
Reconstruction loss: 0.8618
Archetype R²: 0.1122
Archetype transform grad norm: 0.246857
Archetype transform param norm: 9.1653
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.7887 (range: 0.7887 - 0.7887)
archetypal_loss: 0.8618 (range: 0.8618 - 0.8618)
kld_loss: 0.1302 (range: 0.1302 - 0.1302)
reconstruction_loss: 0.8618 (range: 0.8618 - 0.8618)
archetype_r2: 0.1122 (range: 0.1122 - 0.1122)
Archetype Transform Summary:
archetype_transform_mean: 0.001449 (range: 0.001449 - 0.001449)
archetype_transform_std: 0.128345 (range: 0.128345 - 0.128345)
archetype_transform_norm: 9.165318 (range: 9.165318 - 9.165318)
archetype_transform_grad_norm: 0.246857 (range: 0.246857 - 0.246857)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0061, max=0.9442, mean=0.1667
Batch reconstruction MSE: 1.0577
Archetype stats: min=-18.8266, max=12.2267
Archetype change since last debug: 1.277230
Archetype gradients: norm=0.075731, mean=0.003545
Epoch 1/1
Average loss: 0.7894
Archetypal loss: 0.8632
KLD loss: 0.1251
Reconstruction loss: 0.8632
Archetype R²: 0.1106
Archetype transform grad norm: 0.255399
Archetype transform param norm: 9.1738
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.7894 (range: 0.7894 - 0.7894)
archetypal_loss: 0.8632 (range: 0.8632 - 0.8632)
kld_loss: 0.1251 (range: 0.1251 - 0.1251)
reconstruction_loss: 0.8632 (range: 0.8632 - 0.8632)
archetype_r2: 0.1106 (range: 0.1106 - 0.1106)
Archetype Transform Summary:
archetype_transform_mean: 0.001440 (range: 0.001440 - 0.001440)
archetype_transform_std: 0.128463 (range: 0.128463 - 0.128463)
archetype_transform_norm: 9.173770 (range: 9.173770 - 9.173770)
archetype_transform_grad_norm: 0.255399 (range: 0.255399 - 0.255399)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0114, max=0.8705, mean=0.1667
Batch reconstruction MSE: 0.9772
Archetype stats: min=-19.2550, max=12.2315
Archetype change since last debug: 1.518009
Archetype gradients: norm=0.066530, mean=0.002605
Epoch 1/1
Average loss: 0.7877
Archetypal loss: 0.8609
KLD loss: 0.1288
Reconstruction loss: 0.8609
Archetype R²: 0.1131
Archetype transform grad norm: 0.251064
Archetype transform param norm: 9.2020
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.7877 (range: 0.7877 - 0.7877)
archetypal_loss: 0.8609 (range: 0.8609 - 0.8609)
kld_loss: 0.1288 (range: 0.1288 - 0.1288)
reconstruction_loss: 0.8609 (range: 0.8609 - 0.8609)
archetype_r2: 0.1131 (range: 0.1131 - 0.1131)
Archetype Transform Summary:
archetype_transform_mean: 0.001388 (range: 0.001388 - 0.001388)
archetype_transform_std: 0.128859 (range: 0.128859 - 0.128859)
archetype_transform_norm: 9.202027 (range: 9.202027 - 9.202027)
archetype_transform_grad_norm: 0.251064 (range: 0.251064 - 0.251064)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0146, max=0.8553, mean=0.1667
Batch reconstruction MSE: 1.0217
Archetype stats: min=-19.0120, max=12.4030
Archetype change since last debug: 1.399907
Archetype gradients: norm=0.062430, mean=0.003256
Epoch 1/1
Average loss: 0.7877
Archetypal loss: 0.8615
KLD loss: 0.1232
Reconstruction loss: 0.8615
Archetype R²: 0.1123
Archetype transform grad norm: 0.249642
Archetype transform param norm: 9.2217
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.7877 (range: 0.7877 - 0.7877)
archetypal_loss: 0.8615 (range: 0.8615 - 0.8615)
kld_loss: 0.1232 (range: 0.1232 - 0.1232)
reconstruction_loss: 0.8615 (range: 0.8615 - 0.8615)
archetype_r2: 0.1123 (range: 0.1123 - 0.1123)
Archetype Transform Summary:
archetype_transform_mean: 0.001418 (range: 0.001418 - 0.001418)
archetype_transform_std: 0.129135 (range: 0.129135 - 0.129135)
archetype_transform_norm: 9.221707 (range: 9.221707 - 9.221707)
archetype_transform_grad_norm: 0.249642 (range: 0.249642 - 0.249642)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0121, max=0.8343, mean=0.1667
Batch reconstruction MSE: 0.9787
Archetype stats: min=-19.3912, max=12.4078
Archetype change since last debug: 1.288631
Archetype gradients: norm=0.068290, mean=0.002476
Epoch 1/1
Average loss: 0.7867
Archetypal loss: 0.8606
KLD loss: 0.1216
Reconstruction loss: 0.8606
Archetype R²: 0.1134
Archetype transform grad norm: 0.250023
Archetype transform param norm: 9.2540
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.7867 (range: 0.7867 - 0.7867)
archetypal_loss: 0.8606 (range: 0.8606 - 0.8606)
kld_loss: 0.1216 (range: 0.1216 - 0.1216)
reconstruction_loss: 0.8606 (range: 0.8606 - 0.8606)
archetype_r2: 0.1134 (range: 0.1134 - 0.1134)
Archetype Transform Summary:
archetype_transform_mean: 0.001411 (range: 0.001411 - 0.001411)
archetype_transform_std: 0.129587 (range: 0.129587 - 0.129587)
archetype_transform_norm: 9.253996 (range: 9.253996 - 9.253996)
archetype_transform_grad_norm: 0.250023 (range: 0.250023 - 0.250023)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0169, max=0.8057, mean=0.1667
Batch reconstruction MSE: 1.0196
Archetype stats: min=-19.1549, max=12.5736
Archetype change since last debug: 1.287371
Archetype gradients: norm=0.058587, mean=0.003070
Epoch 1/1
Average loss: 0.7875
Archetypal loss: 0.8614
KLD loss: 0.1225
Reconstruction loss: 0.8614
Archetype R²: 0.1125
Archetype transform grad norm: 0.250339
Archetype transform param norm: 9.2693
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.7875 (range: 0.7875 - 0.7875)
archetypal_loss: 0.8614 (range: 0.8614 - 0.8614)
kld_loss: 0.1225 (range: 0.1225 - 0.1225)
reconstruction_loss: 0.8614 (range: 0.8614 - 0.8614)
archetype_r2: 0.1125 (range: 0.1125 - 0.1125)
Archetype Transform Summary:
archetype_transform_mean: 0.001433 (range: 0.001433 - 0.001433)
archetype_transform_std: 0.129801 (range: 0.129801 - 0.129801)
archetype_transform_norm: 9.269305 (range: 9.269305 - 9.269305)
archetype_transform_grad_norm: 0.250339 (range: 0.250339 - 0.250339)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0138, max=0.8047, mean=0.1667
Batch reconstruction MSE: 0.9825
Archetype stats: min=-19.4566, max=12.5089
Archetype change since last debug: 1.124960
Archetype gradients: norm=0.067271, mean=0.002804
Epoch 1/1
Average loss: 0.7870
Archetypal loss: 0.8609
KLD loss: 0.1221
Reconstruction loss: 0.8609
Archetype R²: 0.1131
Archetype transform grad norm: 0.260271
Archetype transform param norm: 9.2948
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.7870 (range: 0.7870 - 0.7870)
archetypal_loss: 0.8609 (range: 0.8609 - 0.8609)
kld_loss: 0.1221 (range: 0.1221 - 0.1221)
reconstruction_loss: 0.8609 (range: 0.8609 - 0.8609)
archetype_r2: 0.1131 (range: 0.1131 - 0.1131)
Archetype Transform Summary:
archetype_transform_mean: 0.001471 (range: 0.001471 - 0.001471)
archetype_transform_std: 0.130158 (range: 0.130158 - 0.130158)
archetype_transform_norm: 9.294840 (range: 9.294840 - 9.294840)
archetype_transform_grad_norm: 0.260271 (range: 0.260271 - 0.260271)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0181, max=0.7518, mean=0.1667
Batch reconstruction MSE: 1.0413
Archetype stats: min=-19.2339, max=12.7370
Archetype change since last debug: 1.160830
Archetype gradients: norm=0.065569, mean=0.003139
Epoch 1/1
Average loss: 0.7876
Archetypal loss: 0.8617
KLD loss: 0.1202
Reconstruction loss: 0.8617
Archetype R²: 0.1120
Archetype transform grad norm: 0.254798
Archetype transform param norm: 9.2992
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.7876 (range: 0.7876 - 0.7876)
archetypal_loss: 0.8617 (range: 0.8617 - 0.8617)
kld_loss: 0.1202 (range: 0.1202 - 0.1202)
reconstruction_loss: 0.8617 (range: 0.8617 - 0.8617)
archetype_r2: 0.1120 (range: 0.1120 - 0.1120)
Archetype Transform Summary:
archetype_transform_mean: 0.001444 (range: 0.001444 - 0.001444)
archetype_transform_std: 0.130220 (range: 0.130220 - 0.130220)
archetype_transform_norm: 9.299200 (range: 9.299200 - 9.299200)
archetype_transform_grad_norm: 0.254798 (range: 0.254798 - 0.254798)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0166, max=0.7823, mean=0.1667
Batch reconstruction MSE: 0.9743
Archetype stats: min=-19.5007, max=12.4274
Archetype change since last debug: 1.323214
Archetype gradients: norm=0.066716, mean=0.003033
Epoch 1/1
Average loss: 0.7864
Archetypal loss: 0.8602
KLD loss: 0.1218
Reconstruction loss: 0.8602
Archetype R²: 0.1137
Archetype transform grad norm: 0.259208
Archetype transform param norm: 9.3212
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.7864 (range: 0.7864 - 0.7864)
archetypal_loss: 0.8602 (range: 0.8602 - 0.8602)
kld_loss: 0.1218 (range: 0.1218 - 0.1218)
reconstruction_loss: 0.8602 (range: 0.8602 - 0.8602)
archetype_r2: 0.1137 (range: 0.1137 - 0.1137)
Archetype Transform Summary:
archetype_transform_mean: 0.001586 (range: 0.001586 - 0.001586)
archetype_transform_std: 0.130525 (range: 0.130525 - 0.130525)
archetype_transform_norm: 9.321155 (range: 9.321155 - 9.321155)
archetype_transform_grad_norm: 0.259208 (range: 0.259208 - 0.259208)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0183, max=0.7251, mean=0.1667
Batch reconstruction MSE: 0.9824
Archetype stats: min=-19.3902, max=12.6448
Archetype change since last debug: 1.202055
Archetype gradients: norm=0.053594, mean=0.002491
Epoch 1/1
Average loss: 0.7854
Archetypal loss: 0.8597
KLD loss: 0.1161
Reconstruction loss: 0.8597
Archetype R²: 0.1142
Archetype transform grad norm: 0.249018
Archetype transform param norm: 9.3421
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.7854 (range: 0.7854 - 0.7854)
archetypal_loss: 0.8597 (range: 0.8597 - 0.8597)
kld_loss: 0.1161 (range: 0.1161 - 0.1161)
reconstruction_loss: 0.8597 (range: 0.8597 - 0.8597)
archetype_r2: 0.1142 (range: 0.1142 - 0.1142)
Archetype Transform Summary:
archetype_transform_mean: 0.001513 (range: 0.001513 - 0.001513)
archetype_transform_std: 0.130820 (range: 0.130820 - 0.130820)
archetype_transform_norm: 9.342105 (range: 9.342105 - 9.342105)
archetype_transform_grad_norm: 0.249018 (range: 0.249018 - 0.249018)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0225, max=0.7289, mean=0.1667
Batch reconstruction MSE: 0.9298
Archetype stats: min=-19.7749, max=12.5445
Archetype change since last debug: 1.259861
Archetype gradients: norm=0.060831, mean=0.002774
Epoch 1/1
Average loss: 0.7844
Archetypal loss: 0.8586
KLD loss: 0.1172
Reconstruction loss: 0.8586
Archetype R²: 0.1156
Archetype transform grad norm: 0.252974
Archetype transform param norm: 9.3756
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.7844 (range: 0.7844 - 0.7844)
archetypal_loss: 0.8586 (range: 0.8586 - 0.8586)
kld_loss: 0.1172 (range: 0.1172 - 0.1172)
reconstruction_loss: 0.8586 (range: 0.8586 - 0.8586)
archetype_r2: 0.1156 (range: 0.1156 - 0.1156)
Archetype Transform Summary:
archetype_transform_mean: 0.001594 (range: 0.001594 - 0.001594)
archetype_transform_std: 0.131288 (range: 0.131288 - 0.131288)
archetype_transform_norm: 9.375584 (range: 9.375584 - 9.375584)
archetype_transform_grad_norm: 0.252974 (range: 0.252974 - 0.252974)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0208, max=0.6922, mean=0.1667
Batch reconstruction MSE: 0.9763
Archetype stats: min=-19.8109, max=12.9000
Archetype change since last debug: 1.383612
Archetype gradients: norm=0.061936, mean=0.003026
Epoch 1/1
Average loss: 0.7853
Archetypal loss: 0.8597
KLD loss: 0.1161
Reconstruction loss: 0.8597
Archetype R²: 0.1143
Archetype transform grad norm: 0.257400
Archetype transform param norm: 9.3961
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.7853 (range: 0.7853 - 0.7853)
archetypal_loss: 0.8597 (range: 0.8597 - 0.8597)
kld_loss: 0.1161 (range: 0.1161 - 0.1161)
reconstruction_loss: 0.8597 (range: 0.8597 - 0.8597)
archetype_r2: 0.1143 (range: 0.1143 - 0.1143)
Archetype Transform Summary:
archetype_transform_mean: 0.001494 (range: 0.001494 - 0.001494)
archetype_transform_std: 0.131577 (range: 0.131577 - 0.131577)
archetype_transform_norm: 9.396131 (range: 9.396131 - 9.396131)
archetype_transform_grad_norm: 0.257400 (range: 0.257400 - 0.257400)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0234, max=0.7146, mean=0.1667
Batch reconstruction MSE: 0.9673
Archetype stats: min=-20.2409, max=12.8555
Archetype change since last debug: 1.320475
Archetype gradients: norm=0.071055, mean=0.003022
Epoch 1/1
Average loss: 0.7851
Archetypal loss: 0.8595
KLD loss: 0.1162
Reconstruction loss: 0.8595
Archetype R²: 0.1145
Archetype transform grad norm: 0.260494
Archetype transform param norm: 9.4161
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.7851 (range: 0.7851 - 0.7851)
archetypal_loss: 0.8595 (range: 0.8595 - 0.8595)
kld_loss: 0.1162 (range: 0.1162 - 0.1162)
reconstruction_loss: 0.8595 (range: 0.8595 - 0.8595)
archetype_r2: 0.1145 (range: 0.1145 - 0.1145)
Archetype Transform Summary:
archetype_transform_mean: 0.001574 (range: 0.001574 - 0.001574)
archetype_transform_std: 0.131856 (range: 0.131856 - 0.131856)
archetype_transform_norm: 9.416143 (range: 9.416143 - 9.416143)
archetype_transform_grad_norm: 0.260494 (range: 0.260494 - 0.260494)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0236, max=0.6566, mean=0.1667
Batch reconstruction MSE: 1.0602
Archetype stats: min=-20.1005, max=13.2282
Archetype change since last debug: 1.411038
Archetype gradients: norm=0.071825, mean=0.003779
Epoch 1/1
Average loss: 0.7870
Archetypal loss: 0.8616
KLD loss: 0.1157
Reconstruction loss: 0.8616
Archetype R²: 0.1120
Archetype transform grad norm: 0.263574
Archetype transform param norm: 9.4099
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.7870 (range: 0.7870 - 0.7870)
archetypal_loss: 0.8616 (range: 0.8616 - 0.8616)
kld_loss: 0.1157 (range: 0.1157 - 0.1157)
reconstruction_loss: 0.8616 (range: 0.8616 - 0.8616)
archetype_r2: 0.1120 (range: 0.1120 - 0.1120)
Archetype Transform Summary:
archetype_transform_mean: 0.001447 (range: 0.001447 - 0.001447)
archetype_transform_std: 0.131769 (range: 0.131769 - 0.131769)
archetype_transform_norm: 9.409862 (range: 9.409862 - 9.409862)
archetype_transform_grad_norm: 0.263574 (range: 0.263574 - 0.263574)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0203, max=0.7449, mean=0.1667
Batch reconstruction MSE: 1.0471
Archetype stats: min=-20.4684, max=13.0228
Archetype change since last debug: 1.343677
Archetype gradients: norm=0.063679, mean=0.002558
Epoch 1/1
Average loss: 0.7867
Archetypal loss: 0.8609
KLD loss: 0.1189
Reconstruction loss: 0.8609
Archetype R²: 0.1127
Archetype transform grad norm: 0.257098
Archetype transform param norm: 9.4156
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.7867 (range: 0.7867 - 0.7867)
archetypal_loss: 0.8609 (range: 0.8609 - 0.8609)
kld_loss: 0.1189 (range: 0.1189 - 0.1189)
reconstruction_loss: 0.8609 (range: 0.8609 - 0.8609)
archetype_r2: 0.1127 (range: 0.1127 - 0.1127)
Archetype Transform Summary:
archetype_transform_mean: 0.001548 (range: 0.001548 - 0.001548)
archetype_transform_std: 0.131848 (range: 0.131848 - 0.131848)
archetype_transform_norm: 9.415558 (range: 9.415558 - 9.415558)
archetype_transform_grad_norm: 0.257098 (range: 0.257098 - 0.257098)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0260, max=0.6722, mean=0.1667
Batch reconstruction MSE: 1.0754
Archetype stats: min=-19.8940, max=13.2496
Archetype change since last debug: 1.523078
Archetype gradients: norm=0.086946, mean=0.004210
Epoch 1/1
Average loss: 0.7873
Archetypal loss: 0.8615
KLD loss: 0.1195
Reconstruction loss: 0.8615
Archetype R²: 0.1121
Archetype transform grad norm: 0.262273
Archetype transform param norm: 9.3982
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.7873 (range: 0.7873 - 0.7873)
archetypal_loss: 0.8615 (range: 0.8615 - 0.8615)
kld_loss: 0.1195 (range: 0.1195 - 0.1195)
reconstruction_loss: 0.8615 (range: 0.8615 - 0.8615)
archetype_r2: 0.1121 (range: 0.1121 - 0.1121)
Archetype Transform Summary:
archetype_transform_mean: 0.001441 (range: 0.001441 - 0.001441)
archetype_transform_std: 0.131605 (range: 0.131605 - 0.131605)
archetype_transform_norm: 9.398152 (range: 9.398152 - 9.398152)
archetype_transform_grad_norm: 0.262273 (range: 0.262273 - 0.262273)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0244, max=0.7209, mean=0.1667
Batch reconstruction MSE: 0.9686
Archetype stats: min=-20.2690, max=13.1012
Archetype change since last debug: 1.262147
Archetype gradients: norm=0.055068, mean=0.002054
Epoch 1/1
Average loss: 0.7840
Archetypal loss: 0.8583
KLD loss: 0.1149
Reconstruction loss: 0.8583
Archetype R²: 0.1156
Archetype transform grad norm: 0.242707
Archetype transform param norm: 9.4271
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.7840 (range: 0.7840 - 0.7840)
archetypal_loss: 0.8583 (range: 0.8583 - 0.8583)
kld_loss: 0.1149 (range: 0.1149 - 0.1149)
reconstruction_loss: 0.8583 (range: 0.8583 - 0.8583)
archetype_r2: 0.1156 (range: 0.1156 - 0.1156)
Archetype Transform Summary:
archetype_transform_mean: 0.001535 (range: 0.001535 - 0.001535)
archetype_transform_std: 0.132010 (range: 0.132010 - 0.132010)
archetype_transform_norm: 9.427107 (range: 9.427107 - 9.427107)
archetype_transform_grad_norm: 0.242707 (range: 0.242707 - 0.242707)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0285, max=0.6558, mean=0.1667
Batch reconstruction MSE: 0.9273
Archetype stats: min=-20.1997, max=13.4060
Archetype change since last debug: 1.243669
Archetype gradients: norm=0.076648, mean=0.003075
Epoch 1/1
Average loss: 0.7831
Archetypal loss: 0.8575
KLD loss: 0.1143
Reconstruction loss: 0.8575
Archetype R²: 0.1166
Archetype transform grad norm: 0.248353
Archetype transform param norm: 9.4519
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.7831 (range: 0.7831 - 0.7831)
archetypal_loss: 0.8575 (range: 0.8575 - 0.8575)
kld_loss: 0.1143 (range: 0.1143 - 0.1143)
reconstruction_loss: 0.8575 (range: 0.8575 - 0.8575)
archetype_r2: 0.1166 (range: 0.1166 - 0.1166)
Archetype Transform Summary:
archetype_transform_mean: 0.001455 (range: 0.001455 - 0.001455)
archetype_transform_std: 0.132357 (range: 0.132357 - 0.132357)
archetype_transform_norm: 9.451854 (range: 9.451854 - 9.451854)
archetype_transform_grad_norm: 0.248353 (range: 0.248353 - 0.248353)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0266, max=0.7242, mean=0.1667
Batch reconstruction MSE: 0.9399
Archetype stats: min=-20.6372, max=13.5558
Archetype change since last debug: 1.212515
Archetype gradients: norm=0.057767, mean=0.002461
Epoch 1/1
Average loss: 0.7828
Archetypal loss: 0.8575
KLD loss: 0.1100
Reconstruction loss: 0.8575
Archetype R²: 0.1164
Archetype transform grad norm: 0.248501
Archetype transform param norm: 9.4885
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.7828 (range: 0.7828 - 0.7828)
archetypal_loss: 0.8575 (range: 0.8575 - 0.8575)
kld_loss: 0.1100 (range: 0.1100 - 0.1100)
reconstruction_loss: 0.8575 (range: 0.8575 - 0.8575)
archetype_r2: 0.1164 (range: 0.1164 - 0.1164)
Archetype Transform Summary:
archetype_transform_mean: 0.001562 (range: 0.001562 - 0.001562)
archetype_transform_std: 0.132869 (range: 0.132869 - 0.132869)
archetype_transform_norm: 9.488463 (range: 9.488463 - 9.488463)
archetype_transform_grad_norm: 0.248501 (range: 0.248501 - 0.248501)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0323, max=0.6174, mean=0.1667
Batch reconstruction MSE: 0.8925
Archetype stats: min=-20.8224, max=13.7774
Archetype change since last debug: 1.121347
Archetype gradients: norm=0.063945, mean=0.002470
Epoch 1/1
Average loss: 0.7818
Archetypal loss: 0.8565
KLD loss: 0.1090
Reconstruction loss: 0.8565
Archetype R²: 0.1176
Archetype transform grad norm: 0.248262
Archetype transform param norm: 9.5181
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.7818 (range: 0.7818 - 0.7818)
archetypal_loss: 0.8565 (range: 0.8565 - 0.8565)
kld_loss: 0.1090 (range: 0.1090 - 0.1090)
reconstruction_loss: 0.8565 (range: 0.8565 - 0.8565)
archetype_r2: 0.1176 (range: 0.1176 - 0.1176)
Archetype Transform Summary:
archetype_transform_mean: 0.001514 (range: 0.001514 - 0.001514)
archetype_transform_std: 0.133284 (range: 0.133284 - 0.133284)
archetype_transform_norm: 9.518097 (range: 9.518097 - 9.518097)
archetype_transform_grad_norm: 0.248262 (range: 0.248262 - 0.248262)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0253, max=0.7483, mean=0.1667
Batch reconstruction MSE: 0.9104
Archetype stats: min=-21.2376, max=13.9223
Archetype change since last debug: 1.281983
Archetype gradients: norm=0.052451, mean=0.002292
Epoch 1/1
Average loss: 0.7819
Archetypal loss: 0.8568
KLD loss: 0.1076
Reconstruction loss: 0.8568
Archetype R²: 0.1172
Archetype transform grad norm: 0.250417
Archetype transform param norm: 9.5564
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.7819 (range: 0.7819 - 0.7819)
archetypal_loss: 0.8568 (range: 0.8568 - 0.8568)
kld_loss: 0.1076 (range: 0.1076 - 0.1076)
reconstruction_loss: 0.8568 (range: 0.8568 - 0.8568)
archetype_r2: 0.1172 (range: 0.1172 - 0.1172)
Archetype Transform Summary:
archetype_transform_mean: 0.001593 (range: 0.001593 - 0.001593)
archetype_transform_std: 0.133820 (range: 0.133820 - 0.133820)
archetype_transform_norm: 9.556422 (range: 9.556422 - 9.556422)
archetype_transform_grad_norm: 0.250417 (range: 0.250417 - 0.250417)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0289, max=0.5677, mean=0.1667
Batch reconstruction MSE: 0.9317
Archetype stats: min=-21.4189, max=14.1793
Archetype change since last debug: 1.183934
Archetype gradients: norm=0.070629, mean=0.002770
Epoch 1/1
Average loss: 0.7823
Archetypal loss: 0.8574
KLD loss: 0.1066
Reconstruction loss: 0.8574
Archetype R²: 0.1166
Archetype transform grad norm: 0.252594
Archetype transform param norm: 9.5755
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.7823 (range: 0.7823 - 0.7823)
archetypal_loss: 0.8574 (range: 0.8574 - 0.8574)
kld_loss: 0.1066 (range: 0.1066 - 0.1066)
reconstruction_loss: 0.8574 (range: 0.8574 - 0.8574)
archetype_r2: 0.1166 (range: 0.1166 - 0.1166)
Archetype Transform Summary:
archetype_transform_mean: 0.001553 (range: 0.001553 - 0.001553)
archetype_transform_std: 0.134088 (range: 0.134088 - 0.134088)
archetype_transform_norm: 9.575505 (range: 9.575505 - 9.575505)
archetype_transform_grad_norm: 0.252594 (range: 0.252594 - 0.252594)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0207, max=0.8139, mean=0.1667
Batch reconstruction MSE: 0.9560
Archetype stats: min=-21.7402, max=14.1861
Archetype change since last debug: 1.049219
Archetype gradients: norm=0.062739, mean=0.002964
Epoch 1/1
Average loss: 0.7831
Archetypal loss: 0.8579
KLD loss: 0.1093
Reconstruction loss: 0.8579
Archetype R²: 0.1160
Archetype transform grad norm: 0.258094
Archetype transform param norm: 9.5955
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.7831 (range: 0.7831 - 0.7831)
archetypal_loss: 0.8579 (range: 0.8579 - 0.8579)
kld_loss: 0.1093 (range: 0.1093 - 0.1093)
reconstruction_loss: 0.8579 (range: 0.8579 - 0.8579)
archetype_r2: 0.1160 (range: 0.1160 - 0.1160)
Archetype Transform Summary:
archetype_transform_mean: 0.001582 (range: 0.001582 - 0.001582)
archetype_transform_std: 0.134368 (range: 0.134368 - 0.134368)
archetype_transform_norm: 9.595516 (range: 9.595516 - 9.595516)
archetype_transform_grad_norm: 0.258094 (range: 0.258094 - 0.258094)
[OK] Completed in 46.5s
[STATS] Mean archetype R²: 0.1102
[STATS] Mean validation R²: 0.1102
đź§Ş Configuration 14/20: {'n_archetypes': 6, 'hidden_dims': [64, 128, 256], 'inflation_factor': 1.5, 'use_pcha_init': True, 'use_inflation': True}
Fold 1/3
Model input_dim: 50 (auto-detected from data)
Archetypes parameter registered: True
Archetypes requires_grad: True
Deep_AA (Deep Archetypal Analysis) initialized:
- Single-stage architecture (like Deep_2)
- Inflation factor: 1.5
- Direct archetypal coordinates (no bottleneck)
Consolidated Archetype Initialization
PCHA: True, Inflation: True (factor: 1.5)
Test inflation: False
Running PCHA initialization...
Input shape: (128, 50)
Target archetypes: 6
Running PCHA with 6 archetypes...
Data shape for PCHA: (50, 128)
PCHA Results:
Archetypes shape: (6, 50)
Archetype R²: 0.2911
SSE: 3832.3633
PCHA archetype R²: 0.2911
Archetype shape: (6, 50)
[OK] Initialized 6 archetypes using PCHA
Scalar Archetypal Inflation (factor: 1.50)
[OK] Inflation complete
[STATS] Positioning verification:
Data radius (max): 18.598
Data radius (mean): 5.863
Archetype distances: 3.486 to 25.046
Archetypes outside data: 2/6
Min archetype separation: 6.774
[OK] Archetype initialization complete (success: True)
[OK] Archetype initialization complete (PCHA: True, Inflation: 1.5)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0017, max=0.8680, mean=0.1667
Batch reconstruction MSE: 1.1869
Archetype stats: min=-2.0196, max=1.9817
Archetype gradients: norm=0.014576, mean=0.000639
Epoch 1/1
Average loss: 0.8753
Archetypal loss: 0.9699
KLD loss: 0.0240
Reconstruction loss: 0.9699
Archetype R²: -0.0183
Archetype transform grad norm: 0.196534
Archetype transform param norm: 5.7224
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.8753 (range: 0.8753 - 0.8753)
archetypal_loss: 0.9699 (range: 0.9699 - 0.9699)
kld_loss: 0.0240 (range: 0.0240 - 0.0240)
reconstruction_loss: 0.9699 (range: 0.9699 - 0.9699)
archetype_r2: -0.0183 (range: -0.0183 - -0.0183)
Archetype Transform Summary:
archetype_transform_mean: 0.001002 (range: 0.001002 - 0.001002)
archetype_transform_std: 0.080131 (range: 0.080131 - 0.080131)
archetype_transform_norm: 5.722368 (range: 5.722368 - 5.722368)
archetype_transform_grad_norm: 0.196534 (range: 0.196534 - 0.196534)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0033, max=0.7757, mean=0.1667
Batch reconstruction MSE: 1.0541
Archetype stats: min=-0.9909, max=0.9314
Archetype change since last debug: 7.055894
Archetype gradients: norm=0.002549, mean=0.000116
Epoch 1/1
Average loss: 0.8638
Archetypal loss: 0.9564
KLD loss: 0.0304
Reconstruction loss: 0.9564
Archetype R²: -0.0045
Archetype transform grad norm: 0.128097
Archetype transform param norm: 5.7195
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.8638 (range: 0.8638 - 0.8638)
archetypal_loss: 0.9564 (range: 0.9564 - 0.9564)
kld_loss: 0.0304 (range: 0.0304 - 0.0304)
reconstruction_loss: 0.9564 (range: 0.9564 - 0.9564)
archetype_r2: -0.0045 (range: -0.0045 - -0.0045)
Archetype Transform Summary:
archetype_transform_mean: 0.001294 (range: 0.001294 - 0.001294)
archetype_transform_std: 0.080086 (range: 0.080086 - 0.080086)
archetype_transform_norm: 5.719475 (range: 5.719475 - 5.719475)
archetype_transform_grad_norm: 0.128097 (range: 0.128097 - 0.128097)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0010, max=0.9507, mean=0.1667
Batch reconstruction MSE: 1.0656
Archetype stats: min=-1.2419, max=1.1383
Archetype change since last debug: 2.148828
Archetype gradients: norm=0.004190, mean=0.000163
Epoch 1/1
Average loss: 0.8584
Archetypal loss: 0.9466
KLD loss: 0.0646
Reconstruction loss: 0.9466
Archetype R²: 0.0060
Archetype transform grad norm: 0.144487
Archetype transform param norm: 5.7670
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.8584 (range: 0.8584 - 0.8584)
archetypal_loss: 0.9466 (range: 0.9466 - 0.9466)
kld_loss: 0.0646 (range: 0.0646 - 0.0646)
reconstruction_loss: 0.9466 (range: 0.9466 - 0.9466)
archetype_r2: 0.0060 (range: 0.0060 - 0.0060)
Archetype Transform Summary:
archetype_transform_mean: 0.001239 (range: 0.001239 - 0.001239)
archetype_transform_std: 0.080753 (range: 0.080753 - 0.080753)
archetype_transform_norm: 5.767035 (range: 5.767035 - 5.767035)
archetype_transform_grad_norm: 0.144487 (range: 0.144487 - 0.144487)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0018, max=0.8454, mean=0.1667
Batch reconstruction MSE: 1.0602
Archetype stats: min=-2.4020, max=2.1805
Archetype change since last debug: 5.685338
Archetype gradients: norm=0.004346, mean=0.000194
Epoch 1/1
Average loss: 0.8459
Archetypal loss: 0.9280
KLD loss: 0.1076
Reconstruction loss: 0.9280
Archetype R²: 0.0255
Archetype transform grad norm: 0.174203
Archetype transform param norm: 5.9240
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.8459 (range: 0.8459 - 0.8459)
archetypal_loss: 0.9280 (range: 0.9280 - 0.9280)
kld_loss: 0.1076 (range: 0.1076 - 0.1076)
reconstruction_loss: 0.9280 (range: 0.9280 - 0.9280)
archetype_r2: 0.0255 (range: 0.0255 - 0.0255)
Archetype Transform Summary:
archetype_transform_mean: 0.001033 (range: 0.001033 - 0.001033)
archetype_transform_std: 0.082954 (range: 0.082954 - 0.082954)
archetype_transform_norm: 5.923974 (range: 5.923974 - 5.923974)
archetype_transform_grad_norm: 0.174203 (range: 0.174203 - 0.174203)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0000, max=0.9115, mean=0.1667
Batch reconstruction MSE: 1.1805
Archetype stats: min=-4.2754, max=3.5791
Archetype change since last debug: 9.822455
Archetype gradients: norm=0.015726, mean=0.000483
Epoch 1/1
Average loss: 0.8350
Archetypal loss: 0.9132
KLD loss: 0.1312
Reconstruction loss: 0.9132
Archetype R²: 0.0414
Archetype transform grad norm: 0.208793
Archetype transform param norm: 6.1311
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.8350 (range: 0.8350 - 0.8350)
archetypal_loss: 0.9132 (range: 0.9132 - 0.9132)
kld_loss: 0.1312 (range: 0.1312 - 0.1312)
reconstruction_loss: 0.9132 (range: 0.9132 - 0.9132)
archetype_r2: 0.0414 (range: 0.0414 - 0.0414)
Archetype Transform Summary:
archetype_transform_mean: 0.000678 (range: 0.000678 - 0.000678)
archetype_transform_std: 0.085858 (range: 0.085858 - 0.085858)
archetype_transform_norm: 6.131099 (range: 6.131099 - 6.131099)
archetype_transform_grad_norm: 0.208793 (range: 0.208793 - 0.208793)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0002, max=0.9865, mean=0.1667
Batch reconstruction MSE: 1.2649
Archetype stats: min=-5.4412, max=4.8066
Archetype change since last debug: 8.935715
Archetype gradients: norm=0.030480, mean=0.001136
Epoch 1/1
Average loss: 0.8312
Archetypal loss: 0.9065
KLD loss: 0.1530
Reconstruction loss: 0.9065
Archetype R²: 0.0485
Archetype transform grad norm: 0.235455
Archetype transform param norm: 6.2952
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.8312 (range: 0.8312 - 0.8312)
archetypal_loss: 0.9065 (range: 0.9065 - 0.9065)
kld_loss: 0.1530 (range: 0.1530 - 0.1530)
reconstruction_loss: 0.9065 (range: 0.9065 - 0.9065)
archetype_r2: 0.0485 (range: 0.0485 - 0.0485)
Archetype Transform Summary:
archetype_transform_mean: 0.000519 (range: 0.000519 - 0.000519)
archetype_transform_std: 0.088157 (range: 0.088157 - 0.088157)
archetype_transform_norm: 6.295150 (range: 6.295150 - 6.295150)
archetype_transform_grad_norm: 0.235455 (range: 0.235455 - 0.235455)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0002, max=0.9806, mean=0.1667
Batch reconstruction MSE: 1.2437
Archetype stats: min=-7.3865, max=6.2589
Archetype change since last debug: 5.862218
Archetype gradients: norm=0.031270, mean=0.001007
Epoch 1/1
Average loss: 0.8237
Archetypal loss: 0.8992
KLD loss: 0.1444
Reconstruction loss: 0.8992
Archetype R²: 0.0562
Archetype transform grad norm: 0.238860
Archetype transform param norm: 6.4175
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.8237 (range: 0.8237 - 0.8237)
archetypal_loss: 0.8992 (range: 0.8992 - 0.8992)
kld_loss: 0.1444 (range: 0.1444 - 0.1444)
reconstruction_loss: 0.8992 (range: 0.8992 - 0.8992)
archetype_r2: 0.0562 (range: 0.0562 - 0.0562)
Archetype Transform Summary:
archetype_transform_mean: 0.000387 (range: 0.000387 - 0.000387)
archetype_transform_std: 0.089870 (range: 0.089870 - 0.089870)
archetype_transform_norm: 6.417452 (range: 6.417452 - 6.417452)
archetype_transform_grad_norm: 0.238860 (range: 0.238860 - 0.238860)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0009, max=0.9672, mean=0.1667
Batch reconstruction MSE: 1.1663
Archetype stats: min=-9.4550, max=8.1636
Archetype change since last debug: 5.362609
Archetype gradients: norm=0.020610, mean=0.000817
Epoch 1/1
Average loss: 0.8160
Archetypal loss: 0.8916
KLD loss: 0.1365
Reconstruction loss: 0.8916
Archetype R²: 0.0640
Archetype transform grad norm: 0.236292
Archetype transform param norm: 6.5414
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.8160 (range: 0.8160 - 0.8160)
archetypal_loss: 0.8916 (range: 0.8916 - 0.8916)
kld_loss: 0.1365 (range: 0.1365 - 0.1365)
reconstruction_loss: 0.8916 (range: 0.8916 - 0.8916)
archetype_r2: 0.0640 (range: 0.0640 - 0.0640)
Archetype Transform Summary:
archetype_transform_mean: 0.000391 (range: 0.000391 - 0.000391)
archetype_transform_std: 0.091606 (range: 0.091606 - 0.091606)
archetype_transform_norm: 6.541366 (range: 6.541366 - 6.541366)
archetype_transform_grad_norm: 0.236292 (range: 0.236292 - 0.236292)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0045, max=0.8158, mean=0.1667
Batch reconstruction MSE: 1.1281
Archetype stats: min=-11.3783, max=9.5934
Archetype change since last debug: 5.127470
Archetype gradients: norm=0.014038, mean=0.000585
Epoch 1/1
Average loss: 0.8090
Archetypal loss: 0.8842
KLD loss: 0.1329
Reconstruction loss: 0.8842
Archetype R²: 0.0716
Archetype transform grad norm: 0.242456
Archetype transform param norm: 6.6974
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.8090 (range: 0.8090 - 0.8090)
archetypal_loss: 0.8842 (range: 0.8842 - 0.8842)
kld_loss: 0.1329 (range: 0.1329 - 0.1329)
reconstruction_loss: 0.8842 (range: 0.8842 - 0.8842)
archetype_r2: 0.0716 (range: 0.0716 - 0.0716)
Archetype Transform Summary:
archetype_transform_mean: 0.000336 (range: 0.000336 - 0.000336)
archetype_transform_std: 0.093791 (range: 0.093791 - 0.093791)
archetype_transform_norm: 6.697423 (range: 6.697423 - 6.697423)
archetype_transform_grad_norm: 0.242456 (range: 0.242456 - 0.242456)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0001, max=0.9330, mean=0.1667
Batch reconstruction MSE: 1.1612
Archetype stats: min=-13.2861, max=11.3292
Archetype change since last debug: 5.954720
Archetype gradients: norm=0.032812, mean=0.001140
Epoch 1/1
Average loss: 0.8046
Archetypal loss: 0.8784
KLD loss: 0.1403
Reconstruction loss: 0.8784
Archetype R²: 0.0778
Archetype transform grad norm: 0.259433
Archetype transform param norm: 6.8540
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.8046 (range: 0.8046 - 0.8046)
archetypal_loss: 0.8784 (range: 0.8784 - 0.8784)
kld_loss: 0.1403 (range: 0.1403 - 0.1403)
reconstruction_loss: 0.8784 (range: 0.8784 - 0.8784)
archetype_r2: 0.0778 (range: 0.0778 - 0.0778)
Archetype Transform Summary:
archetype_transform_mean: 0.000388 (range: 0.000388 - 0.000388)
archetype_transform_std: 0.095983 (range: 0.095983 - 0.095983)
archetype_transform_norm: 6.853957 (range: 6.853957 - 6.853957)
archetype_transform_grad_norm: 0.259433 (range: 0.259433 - 0.259433)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0077, max=0.8583, mean=0.1667
Batch reconstruction MSE: 1.2764
Archetype stats: min=-14.6420, max=11.9216
Archetype change since last debug: 5.663098
Archetype gradients: norm=0.033943, mean=0.001525
Epoch 1/1
Average loss: 0.8032
Archetypal loss: 0.8765
KLD loss: 0.1443
Reconstruction loss: 0.8765
Archetype R²: 0.0800
Archetype transform grad norm: 0.277169
Archetype transform param norm: 6.9853
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.8032 (range: 0.8032 - 0.8032)
archetypal_loss: 0.8765 (range: 0.8765 - 0.8765)
kld_loss: 0.1443 (range: 0.1443 - 0.1443)
reconstruction_loss: 0.8765 (range: 0.8765 - 0.8765)
archetype_r2: 0.0800 (range: 0.0800 - 0.0800)
Archetype Transform Summary:
archetype_transform_mean: 0.000281 (range: 0.000281 - 0.000281)
archetype_transform_std: 0.097822 (range: 0.097822 - 0.097822)
archetype_transform_norm: 6.985256 (range: 6.985256 - 6.985256)
archetype_transform_grad_norm: 0.277169 (range: 0.277169 - 0.277169)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0057, max=0.8832, mean=0.1667
Batch reconstruction MSE: 1.4038
Archetype stats: min=-14.8697, max=12.3354
Archetype change since last debug: 4.443988
Archetype gradients: norm=0.089058, mean=0.003661
Epoch 1/1
Average loss: 0.8062
Archetypal loss: 0.8778
KLD loss: 0.1619
Reconstruction loss: 0.8778
Archetype R²: 0.0788
Archetype transform grad norm: 0.279706
Archetype transform param norm: 7.0432
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.8062 (range: 0.8062 - 0.8062)
archetypal_loss: 0.8778 (range: 0.8778 - 0.8778)
kld_loss: 0.1619 (range: 0.1619 - 0.1619)
reconstruction_loss: 0.8778 (range: 0.8778 - 0.8778)
archetype_r2: 0.0788 (range: 0.0788 - 0.0788)
Archetype Transform Summary:
archetype_transform_mean: 0.000367 (range: 0.000367 - 0.000367)
archetype_transform_std: 0.098633 (range: 0.098633 - 0.098633)
archetype_transform_norm: 7.043178 (range: 7.043178 - 7.043178)
archetype_transform_grad_norm: 0.279706 (range: 0.279706 - 0.279706)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0028, max=0.9398, mean=0.1667
Batch reconstruction MSE: 1.4107
Archetype stats: min=-15.0231, max=12.6436
Archetype change since last debug: 2.478300
Archetype gradients: norm=0.050698, mean=0.001877
Epoch 1/1
Average loss: 0.8054
Archetypal loss: 0.8771
KLD loss: 0.1600
Reconstruction loss: 0.8771
Archetype R²: 0.0795
Archetype transform grad norm: 0.290382
Archetype transform param norm: 7.1033
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.8054 (range: 0.8054 - 0.8054)
archetypal_loss: 0.8771 (range: 0.8771 - 0.8771)
kld_loss: 0.1600 (range: 0.1600 - 0.1600)
reconstruction_loss: 0.8771 (range: 0.8771 - 0.8771)
archetype_r2: 0.0795 (range: 0.0795 - 0.0795)
Archetype Transform Summary:
archetype_transform_mean: 0.000358 (range: 0.000358 - 0.000358)
archetype_transform_std: 0.099475 (range: 0.099475 - 0.099475)
archetype_transform_norm: 7.103311 (range: 7.103311 - 7.103311)
archetype_transform_grad_norm: 0.290382 (range: 0.290382 - 0.290382)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0065, max=0.8831, mean=0.1667
Batch reconstruction MSE: 1.1863
Archetype stats: min=-15.1126, max=13.2397
Archetype change since last debug: 4.129745
Archetype gradients: norm=0.053891, mean=0.002102
Epoch 1/1
Average loss: 0.7999
Archetypal loss: 0.8697
KLD loss: 0.1710
Reconstruction loss: 0.8697
Archetype R²: 0.0867
Archetype transform grad norm: 0.262473
Archetype transform param norm: 7.1822
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.7999 (range: 0.7999 - 0.7999)
archetypal_loss: 0.8697 (range: 0.8697 - 0.8697)
kld_loss: 0.1710 (range: 0.1710 - 0.1710)
reconstruction_loss: 0.8697 (range: 0.8697 - 0.8697)
archetype_r2: 0.0867 (range: 0.0867 - 0.0867)
Archetype Transform Summary:
archetype_transform_mean: 0.000365 (range: 0.000365 - 0.000365)
archetype_transform_std: 0.100579 (range: 0.100579 - 0.100579)
archetype_transform_norm: 7.182153 (range: 7.182153 - 7.182153)
archetype_transform_grad_norm: 0.262473 (range: 0.262473 - 0.262473)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0091, max=0.8229, mean=0.1667
Batch reconstruction MSE: 1.1783
Archetype stats: min=-16.1229, max=13.7079
Archetype change since last debug: 3.268080
Archetype gradients: norm=0.030008, mean=0.001197
Epoch 1/1
Average loss: 0.7938
Archetypal loss: 0.8680
KLD loss: 0.1262
Reconstruction loss: 0.8680
Archetype R²: 0.0885
Archetype transform grad norm: 0.261965
Archetype transform param norm: 7.2610
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.7938 (range: 0.7938 - 0.7938)
archetypal_loss: 0.8680 (range: 0.8680 - 0.8680)
kld_loss: 0.1262 (range: 0.1262 - 0.1262)
reconstruction_loss: 0.8680 (range: 0.8680 - 0.8680)
archetype_r2: 0.0885 (range: 0.0885 - 0.0885)
Archetype Transform Summary:
archetype_transform_mean: 0.000297 (range: 0.000297 - 0.000297)
archetype_transform_std: 0.101684 (range: 0.101684 - 0.101684)
archetype_transform_norm: 7.260976 (range: 7.260976 - 7.260976)
archetype_transform_grad_norm: 0.261965 (range: 0.261965 - 0.261965)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0066, max=0.8580, mean=0.1667
Batch reconstruction MSE: 1.1213
Archetype stats: min=-16.3462, max=14.3113
Archetype change since last debug: 2.720767
Archetype gradients: norm=0.027028, mean=0.001194
Epoch 1/1
Average loss: 0.7929
Archetypal loss: 0.8667
KLD loss: 0.1282
Reconstruction loss: 0.8667
Archetype R²: 0.0897
Archetype transform grad norm: 0.268903
Archetype transform param norm: 7.3409
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.7929 (range: 0.7929 - 0.7929)
archetypal_loss: 0.8667 (range: 0.8667 - 0.8667)
kld_loss: 0.1282 (range: 0.1282 - 0.1282)
reconstruction_loss: 0.8667 (range: 0.8667 - 0.8667)
archetype_r2: 0.0897 (range: 0.0897 - 0.0897)
Archetype Transform Summary:
archetype_transform_mean: 0.000328 (range: 0.000328 - 0.000328)
archetype_transform_std: 0.102802 (range: 0.102802 - 0.102802)
archetype_transform_norm: 7.340877 (range: 7.340877 - 7.340877)
archetype_transform_grad_norm: 0.268903 (range: 0.268903 - 0.268903)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0077, max=0.8508, mean=0.1667
Batch reconstruction MSE: 1.1717
Archetype stats: min=-17.1822, max=14.7326
Archetype change since last debug: 2.899689
Archetype gradients: norm=0.044477, mean=0.001895
Epoch 1/1
Average loss: 0.7921
Archetypal loss: 0.8673
KLD loss: 0.1155
Reconstruction loss: 0.8673
Archetype R²: 0.0891
Archetype transform grad norm: 0.283098
Archetype transform param norm: 7.4000
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.7921 (range: 0.7921 - 0.7921)
archetypal_loss: 0.8673 (range: 0.8673 - 0.8673)
kld_loss: 0.1155 (range: 0.1155 - 0.1155)
reconstruction_loss: 0.8673 (range: 0.8673 - 0.8673)
archetype_r2: 0.0891 (range: 0.0891 - 0.0891)
Archetype Transform Summary:
archetype_transform_mean: 0.000249 (range: 0.000249 - 0.000249)
archetype_transform_std: 0.103630 (range: 0.103630 - 0.103630)
archetype_transform_norm: 7.399950 (range: 7.399950 - 7.399950)
archetype_transform_grad_norm: 0.283098 (range: 0.283098 - 0.283098)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0082, max=0.8451, mean=0.1667
Batch reconstruction MSE: 1.2020
Archetype stats: min=-17.2701, max=15.2155
Archetype change since last debug: 2.139216
Archetype gradients: norm=0.038236, mean=0.001693
Epoch 1/1
Average loss: 0.7925
Archetypal loss: 0.8673
KLD loss: 0.1188
Reconstruction loss: 0.8673
Archetype R²: 0.0891
Archetype transform grad norm: 0.284294
Archetype transform param norm: 7.4456
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.7925 (range: 0.7925 - 0.7925)
archetypal_loss: 0.8673 (range: 0.8673 - 0.8673)
kld_loss: 0.1188 (range: 0.1188 - 0.1188)
reconstruction_loss: 0.8673 (range: 0.8673 - 0.8673)
archetype_r2: 0.0891 (range: 0.0891 - 0.0891)
Archetype Transform Summary:
archetype_transform_mean: 0.000307 (range: 0.000307 - 0.000307)
archetype_transform_std: 0.104269 (range: 0.104269 - 0.104269)
archetype_transform_norm: 7.445615 (range: 7.445615 - 7.445615)
archetype_transform_grad_norm: 0.284294 (range: 0.284294 - 0.284294)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0034, max=0.9507, mean=0.1667
Batch reconstruction MSE: 1.1598
Archetype stats: min=-17.8098, max=15.3092
Archetype change since last debug: 2.006482
Archetype gradients: norm=0.050907, mean=0.002159
Epoch 1/1
Average loss: 0.7914
Archetypal loss: 0.8659
KLD loss: 0.1217
Reconstruction loss: 0.8659
Archetype R²: 0.0906
Archetype transform grad norm: 0.291551
Archetype transform param norm: 7.4919
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.7914 (range: 0.7914 - 0.7914)
archetypal_loss: 0.8659 (range: 0.8659 - 0.8659)
kld_loss: 0.1217 (range: 0.1217 - 0.1217)
reconstruction_loss: 0.8659 (range: 0.8659 - 0.8659)
archetype_r2: 0.0906 (range: 0.0906 - 0.0906)
Archetype Transform Summary:
archetype_transform_mean: 0.000213 (range: 0.000213 - 0.000213)
archetype_transform_std: 0.104917 (range: 0.104917 - 0.104917)
archetype_transform_norm: 7.491885 (range: 7.491885 - 7.491885)
archetype_transform_grad_norm: 0.291551 (range: 0.291551 - 0.291551)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0094, max=0.8041, mean=0.1667
Batch reconstruction MSE: 1.2039
Archetype stats: min=-17.7040, max=15.7479
Archetype change since last debug: 2.050029
Archetype gradients: norm=0.038074, mean=0.001826
Epoch 1/1
Average loss: 0.7908
Archetypal loss: 0.8668
KLD loss: 0.1075
Reconstruction loss: 0.8668
Archetype R²: 0.0897
Archetype transform grad norm: 0.286494
Archetype transform param norm: 7.5290
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.7908 (range: 0.7908 - 0.7908)
archetypal_loss: 0.8668 (range: 0.8668 - 0.8668)
kld_loss: 0.1075 (range: 0.1075 - 0.1075)
reconstruction_loss: 0.8668 (range: 0.8668 - 0.8668)
archetype_r2: 0.0897 (range: 0.0897 - 0.0897)
Archetype Transform Summary:
archetype_transform_mean: 0.000262 (range: 0.000262 - 0.000262)
archetype_transform_std: 0.105437 (range: 0.105437 - 0.105437)
archetype_transform_norm: 7.528966 (range: 7.528966 - 7.528966)
archetype_transform_grad_norm: 0.286494 (range: 0.286494 - 0.286494)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0017, max=0.9571, mean=0.1667
Batch reconstruction MSE: 1.0995
Archetype stats: min=-18.2965, max=15.8827
Archetype change since last debug: 1.743623
Archetype gradients: norm=0.047340, mean=0.001896
Epoch 1/1
Average loss: 0.7895
Archetypal loss: 0.8638
KLD loss: 0.1206
Reconstruction loss: 0.8638
Archetype R²: 0.0925
Archetype transform grad norm: 0.279827
Archetype transform param norm: 7.5767
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.7895 (range: 0.7895 - 0.7895)
archetypal_loss: 0.8638 (range: 0.8638 - 0.8638)
kld_loss: 0.1206 (range: 0.1206 - 0.1206)
reconstruction_loss: 0.8638 (range: 0.8638 - 0.8638)
archetype_r2: 0.0925 (range: 0.0925 - 0.0925)
Archetype Transform Summary:
archetype_transform_mean: 0.000204 (range: 0.000204 - 0.000204)
archetype_transform_std: 0.106105 (range: 0.106105 - 0.106105)
archetype_transform_norm: 7.576687 (range: 7.576687 - 7.576687)
archetype_transform_grad_norm: 0.279827 (range: 0.279827 - 0.279827)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0080, max=0.8088, mean=0.1667
Batch reconstruction MSE: 1.1896
Archetype stats: min=-18.5230, max=16.4776
Archetype change since last debug: 2.042312
Archetype gradients: norm=0.033683, mean=0.001631
Epoch 1/1
Average loss: 0.7887
Archetypal loss: 0.8656
KLD loss: 0.0969
Reconstruction loss: 0.8656
Archetype R²: 0.0908
Archetype transform grad norm: 0.282916
Archetype transform param norm: 7.6107
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.7887 (range: 0.7887 - 0.7887)
archetypal_loss: 0.8656 (range: 0.8656 - 0.8656)
kld_loss: 0.0969 (range: 0.0969 - 0.0969)
reconstruction_loss: 0.8656 (range: 0.8656 - 0.8656)
archetype_r2: 0.0908 (range: 0.0908 - 0.0908)
Archetype Transform Summary:
archetype_transform_mean: 0.000239 (range: 0.000239 - 0.000239)
archetype_transform_std: 0.106581 (range: 0.106581 - 0.106581)
archetype_transform_norm: 7.610704 (range: 7.610704 - 7.610704)
archetype_transform_grad_norm: 0.282916 (range: 0.282916 - 0.282916)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0023, max=0.9364, mean=0.1667
Batch reconstruction MSE: 1.0754
Archetype stats: min=-19.1035, max=16.5046
Archetype change since last debug: 1.501575
Archetype gradients: norm=0.038234, mean=0.001495
Epoch 1/1
Average loss: 0.7881
Archetypal loss: 0.8625
KLD loss: 0.1189
Reconstruction loss: 0.8625
Archetype R²: 0.0938
Archetype transform grad norm: 0.278278
Archetype transform param norm: 7.6583
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.7881 (range: 0.7881 - 0.7881)
archetypal_loss: 0.8625 (range: 0.8625 - 0.8625)
kld_loss: 0.1189 (range: 0.1189 - 0.1189)
reconstruction_loss: 0.8625 (range: 0.8625 - 0.8625)
archetype_r2: 0.0938 (range: 0.0938 - 0.0938)
Archetype Transform Summary:
archetype_transform_mean: 0.000180 (range: 0.000180 - 0.000180)
archetype_transform_std: 0.107248 (range: 0.107248 - 0.107248)
archetype_transform_norm: 7.658274 (range: 7.658274 - 7.658274)
archetype_transform_grad_norm: 0.278278 (range: 0.278278 - 0.278278)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0081, max=0.8101, mean=0.1667
Batch reconstruction MSE: 1.2075
Archetype stats: min=-19.4984, max=16.9866
Archetype change since last debug: 2.000077
Archetype gradients: norm=0.027008, mean=0.001284
Epoch 1/1
Average loss: 0.7874
Archetypal loss: 0.8649
KLD loss: 0.0900
Reconstruction loss: 0.8649
Archetype R²: 0.0915
Archetype transform grad norm: 0.278931
Archetype transform param norm: 7.6858
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.7874 (range: 0.7874 - 0.7874)
archetypal_loss: 0.8649 (range: 0.8649 - 0.8649)
kld_loss: 0.0900 (range: 0.0900 - 0.0900)
reconstruction_loss: 0.8649 (range: 0.8649 - 0.8649)
archetype_r2: 0.0915 (range: 0.0915 - 0.0915)
Archetype Transform Summary:
archetype_transform_mean: 0.000211 (range: 0.000211 - 0.000211)
archetype_transform_std: 0.107633 (range: 0.107633 - 0.107633)
archetype_transform_norm: 7.685819 (range: 7.685819 - 7.685819)
archetype_transform_grad_norm: 0.278931 (range: 0.278931 - 0.278931)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0039, max=0.9171, mean=0.1667
Batch reconstruction MSE: 1.0501
Archetype stats: min=-19.7354, max=17.0413
Archetype change since last debug: 1.026222
Archetype gradients: norm=0.033629, mean=0.001157
Epoch 1/1
Average loss: 0.7866
Archetypal loss: 0.8610
KLD loss: 0.1173
Reconstruction loss: 0.8610
Archetype R²: 0.0952
Archetype transform grad norm: 0.271871
Archetype transform param norm: 7.7338
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.7866 (range: 0.7866 - 0.7866)
archetypal_loss: 0.8610 (range: 0.8610 - 0.8610)
kld_loss: 0.1173 (range: 0.1173 - 0.1173)
reconstruction_loss: 0.8610 (range: 0.8610 - 0.8610)
archetype_r2: 0.0952 (range: 0.0952 - 0.0952)
Archetype Transform Summary:
archetype_transform_mean: 0.000177 (range: 0.000177 - 0.000177)
archetype_transform_std: 0.108305 (range: 0.108305 - 0.108305)
archetype_transform_norm: 7.733771 (range: 7.733771 - 7.733771)
archetype_transform_grad_norm: 0.271871 (range: 0.271871 - 0.271871)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0080, max=0.8023, mean=0.1667
Batch reconstruction MSE: 1.2818
Archetype stats: min=-20.3911, max=17.5346
Archetype change since last debug: 2.146819
Archetype gradients: norm=0.032728, mean=0.001580
Epoch 1/1
Average loss: 0.7885
Archetypal loss: 0.8664
KLD loss: 0.0874
Reconstruction loss: 0.8664
Archetype R²: 0.0900
Archetype transform grad norm: 0.286674
Archetype transform param norm: 7.7401
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.7885 (range: 0.7885 - 0.7885)
archetypal_loss: 0.8664 (range: 0.8664 - 0.8664)
kld_loss: 0.0874 (range: 0.0874 - 0.0874)
reconstruction_loss: 0.8664 (range: 0.8664 - 0.8664)
archetype_r2: 0.0900 (range: 0.0900 - 0.0900)
Archetype Transform Summary:
archetype_transform_mean: 0.000181 (range: 0.000181 - 0.000181)
archetype_transform_std: 0.108394 (range: 0.108394 - 0.108394)
archetype_transform_norm: 7.740127 (range: 7.740127 - 7.740127)
archetype_transform_grad_norm: 0.286674 (range: 0.286674 - 0.286674)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0041, max=0.9381, mean=0.1667
Batch reconstruction MSE: 1.0878
Archetype stats: min=-19.8001, max=17.3859
Archetype change since last debug: 1.557390
Archetype gradients: norm=0.037734, mean=0.001532
Epoch 1/1
Average loss: 0.7878
Archetypal loss: 0.8616
KLD loss: 0.1234
Reconstruction loss: 0.8616
Archetype R²: 0.0947
Archetype transform grad norm: 0.279375
Archetype transform param norm: 7.7738
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.7878 (range: 0.7878 - 0.7878)
archetypal_loss: 0.8616 (range: 0.8616 - 0.8616)
kld_loss: 0.1234 (range: 0.1234 - 0.1234)
reconstruction_loss: 0.8616 (range: 0.8616 - 0.8616)
archetype_r2: 0.0947 (range: 0.0947 - 0.0947)
Archetype Transform Summary:
archetype_transform_mean: 0.000183 (range: 0.000183 - 0.000183)
archetype_transform_std: 0.108866 (range: 0.108866 - 0.108866)
archetype_transform_norm: 7.773843 (range: 7.773843 - 7.773843)
archetype_transform_grad_norm: 0.279375 (range: 0.279375 - 0.279375)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0079, max=0.8257, mean=0.1667
Batch reconstruction MSE: 1.2022
Archetype stats: min=-20.3572, max=17.6764
Archetype change since last debug: 1.885674
Archetype gradients: norm=0.033397, mean=0.001678
Epoch 1/1
Average loss: 0.7867
Archetypal loss: 0.8640
KLD loss: 0.0908
Reconstruction loss: 0.8640
Archetype R²: 0.0923
Archetype transform grad norm: 0.294200
Archetype transform param norm: 7.8017
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.7867 (range: 0.7867 - 0.7867)
archetypal_loss: 0.8640 (range: 0.8640 - 0.8640)
kld_loss: 0.0908 (range: 0.0908 - 0.0908)
reconstruction_loss: 0.8640 (range: 0.8640 - 0.8640)
archetype_r2: 0.0923 (range: 0.0923 - 0.0923)
Archetype Transform Summary:
archetype_transform_mean: 0.000141 (range: 0.000141 - 0.000141)
archetype_transform_std: 0.109257 (range: 0.109257 - 0.109257)
archetype_transform_norm: 7.801740 (range: 7.801740 - 7.801740)
archetype_transform_grad_norm: 0.294200 (range: 0.294200 - 0.294200)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0043, max=0.9055, mean=0.1667
Batch reconstruction MSE: 1.1218
Archetype stats: min=-20.1942, max=17.8135
Archetype change since last debug: 1.078476
Archetype gradients: norm=0.052322, mean=0.002234
Epoch 1/1
Average loss: 0.7865
Archetypal loss: 0.8620
KLD loss: 0.1071
Reconstruction loss: 0.8620
Archetype R²: 0.0942
Archetype transform grad norm: 0.295068
Archetype transform param norm: 7.8275
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.7865 (range: 0.7865 - 0.7865)
archetypal_loss: 0.8620 (range: 0.8620 - 0.8620)
kld_loss: 0.1071 (range: 0.1071 - 0.1071)
reconstruction_loss: 0.8620 (range: 0.8620 - 0.8620)
archetype_r2: 0.0942 (range: 0.0942 - 0.0942)
Archetype Transform Summary:
archetype_transform_mean: 0.000219 (range: 0.000219 - 0.000219)
archetype_transform_std: 0.109617 (range: 0.109617 - 0.109617)
archetype_transform_norm: 7.827483 (range: 7.827483 - 7.827483)
archetype_transform_grad_norm: 0.295068 (range: 0.295068 - 0.295068)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0066, max=0.9108, mean=0.1667
Batch reconstruction MSE: 1.2418
Archetype stats: min=-20.7550, max=17.7084
Archetype change since last debug: 1.715941
Archetype gradients: norm=0.050250, mean=0.002530
Epoch 1/1
Average loss: 0.7895
Archetypal loss: 0.8655
KLD loss: 0.1050
Reconstruction loss: 0.8655
Archetype R²: 0.0908
Archetype transform grad norm: 0.314820
Archetype transform param norm: 7.8415
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.7895 (range: 0.7895 - 0.7895)
archetypal_loss: 0.8655 (range: 0.8655 - 0.8655)
kld_loss: 0.1050 (range: 0.1050 - 0.1050)
reconstruction_loss: 0.8655 (range: 0.8655 - 0.8655)
archetype_r2: 0.0908 (range: 0.0908 - 0.0908)
Archetype Transform Summary:
archetype_transform_mean: 0.000161 (range: 0.000161 - 0.000161)
archetype_transform_std: 0.109814 (range: 0.109814 - 0.109814)
archetype_transform_norm: 7.841497 (range: 7.841497 - 7.841497)
archetype_transform_grad_norm: 0.314820 (range: 0.314820 - 0.314820)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0055, max=0.8950, mean=0.1667
Batch reconstruction MSE: 1.1709
Archetype stats: min=-20.3450, max=17.6857
Archetype change since last debug: 1.551584
Archetype gradients: norm=0.063047, mean=0.002613
Epoch 1/1
Average loss: 0.7870
Archetypal loss: 0.8624
KLD loss: 0.1083
Reconstruction loss: 0.8624
Archetype R²: 0.0938
Archetype transform grad norm: 0.293968
Archetype transform param norm: 7.8541
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.7870 (range: 0.7870 - 0.7870)
archetypal_loss: 0.8624 (range: 0.8624 - 0.8624)
kld_loss: 0.1083 (range: 0.1083 - 0.1083)
reconstruction_loss: 0.8624 (range: 0.8624 - 0.8624)
archetype_r2: 0.0938 (range: 0.0938 - 0.0938)
Archetype Transform Summary:
archetype_transform_mean: 0.000233 (range: 0.000233 - 0.000233)
archetype_transform_std: 0.109990 (range: 0.109990 - 0.109990)
archetype_transform_norm: 7.854138 (range: 7.854138 - 7.854138)
archetype_transform_grad_norm: 0.293968 (range: 0.293968 - 0.293968)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0035, max=0.9105, mean=0.1667
Batch reconstruction MSE: 1.1496
Archetype stats: min=-20.7612, max=17.5680
Archetype change since last debug: 1.551130
Archetype gradients: norm=0.034961, mean=0.001676
Epoch 1/1
Average loss: 0.7853
Archetypal loss: 0.8603
KLD loss: 0.1105
Reconstruction loss: 0.8603
Archetype R²: 0.0960
Archetype transform grad norm: 0.290425
Archetype transform param norm: 7.8957
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.7853 (range: 0.7853 - 0.7853)
archetypal_loss: 0.8603 (range: 0.8603 - 0.8603)
kld_loss: 0.1105 (range: 0.1105 - 0.1105)
reconstruction_loss: 0.8603 (range: 0.8603 - 0.8603)
archetype_r2: 0.0960 (range: 0.0960 - 0.0960)
Archetype Transform Summary:
archetype_transform_mean: 0.000231 (range: 0.000231 - 0.000231)
archetype_transform_std: 0.110572 (range: 0.110572 - 0.110572)
archetype_transform_norm: 7.895679 (range: 7.895679 - 7.895679)
archetype_transform_grad_norm: 0.290425 (range: 0.290425 - 0.290425)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0063, max=0.8666, mean=0.1667
Batch reconstruction MSE: 1.1252
Archetype stats: min=-20.8611, max=17.8864
Archetype change since last debug: 1.450734
Archetype gradients: norm=0.044242, mean=0.001875
Epoch 1/1
Average loss: 0.7827
Archetypal loss: 0.8573
KLD loss: 0.1113
Reconstruction loss: 0.8573
Archetype R²: 0.0991
Archetype transform grad norm: 0.281739
Archetype transform param norm: 7.9478
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.7827 (range: 0.7827 - 0.7827)
archetypal_loss: 0.8573 (range: 0.8573 - 0.8573)
kld_loss: 0.1113 (range: 0.1113 - 0.1113)
reconstruction_loss: 0.8573 (range: 0.8573 - 0.8573)
archetype_r2: 0.0991 (range: 0.0991 - 0.0991)
Archetype Transform Summary:
archetype_transform_mean: 0.000293 (range: 0.000293 - 0.000293)
archetype_transform_std: 0.111301 (range: 0.111301 - 0.111301)
archetype_transform_norm: 7.947764 (range: 7.947764 - 7.947764)
archetype_transform_grad_norm: 0.281739 (range: 0.281739 - 0.281739)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0034, max=0.9361, mean=0.1667
Batch reconstruction MSE: 1.1449
Archetype stats: min=-21.4784, max=18.0526
Archetype change since last debug: 1.896285
Archetype gradients: norm=0.036956, mean=0.001590
Epoch 1/1
Average loss: 0.7812
Archetypal loss: 0.8549
KLD loss: 0.1182
Reconstruction loss: 0.8549
Archetype R²: 0.1016
Archetype transform grad norm: 0.289405
Archetype transform param norm: 8.0175
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.7812 (range: 0.7812 - 0.7812)
archetypal_loss: 0.8549 (range: 0.8549 - 0.8549)
kld_loss: 0.1182 (range: 0.1182 - 0.1182)
reconstruction_loss: 0.8549 (range: 0.8549 - 0.8549)
archetype_r2: 0.1016 (range: 0.1016 - 0.1016)
Archetype Transform Summary:
archetype_transform_mean: 0.000351 (range: 0.000351 - 0.000351)
archetype_transform_std: 0.112278 (range: 0.112278 - 0.112278)
archetype_transform_norm: 8.017501 (range: 8.017501 - 8.017501)
archetype_transform_grad_norm: 0.289405 (range: 0.289405 - 0.289405)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0055, max=0.7985, mean=0.1667
Batch reconstruction MSE: 1.2168
Archetype stats: min=-21.5350, max=18.3632
Archetype change since last debug: 2.044527
Archetype gradients: norm=0.061040, mean=0.002628
Epoch 1/1
Average loss: 0.7813
Archetypal loss: 0.8542
KLD loss: 0.1252
Reconstruction loss: 0.8542
Archetype R²: 0.1026
Archetype transform grad norm: 0.301041
Archetype transform param norm: 8.0821
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.7813 (range: 0.7813 - 0.7813)
archetypal_loss: 0.8542 (range: 0.8542 - 0.8542)
kld_loss: 0.1252 (range: 0.1252 - 0.1252)
reconstruction_loss: 0.8542 (range: 0.8542 - 0.8542)
archetype_r2: 0.1026 (range: 0.1026 - 0.1026)
Archetype Transform Summary:
archetype_transform_mean: 0.000410 (range: 0.000410 - 0.000410)
archetype_transform_std: 0.113182 (range: 0.113182 - 0.113182)
archetype_transform_norm: 8.082070 (range: 8.082070 - 8.082070)
archetype_transform_grad_norm: 0.301041 (range: 0.301041 - 0.301041)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0043, max=0.8413, mean=0.1667
Batch reconstruction MSE: 1.2968
Archetype stats: min=-21.9522, max=18.5868
Archetype change since last debug: 2.331472
Archetype gradients: norm=0.059250, mean=0.002651
Epoch 1/1
Average loss: 0.7818
Archetypal loss: 0.8543
KLD loss: 0.1300
Reconstruction loss: 0.8543
Archetype R²: 0.1026
Archetype transform grad norm: 0.316515
Archetype transform param norm: 8.1252
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.7818 (range: 0.7818 - 0.7818)
archetypal_loss: 0.8543 (range: 0.8543 - 0.8543)
kld_loss: 0.1300 (range: 0.1300 - 0.1300)
reconstruction_loss: 0.8543 (range: 0.8543 - 0.8543)
archetype_r2: 0.1026 (range: 0.1026 - 0.1026)
Archetype Transform Summary:
archetype_transform_mean: 0.000484 (range: 0.000484 - 0.000484)
archetype_transform_std: 0.113785 (range: 0.113785 - 0.113785)
archetype_transform_norm: 8.125183 (range: 8.125183 - 8.125183)
archetype_transform_grad_norm: 0.316515 (range: 0.316515 - 0.316515)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0069, max=0.7659, mean=0.1667
Batch reconstruction MSE: 1.3761
Archetype stats: min=-21.4327, max=18.6035
Archetype change since last debug: 2.472799
Archetype gradients: norm=0.090985, mean=0.003646
Epoch 1/1
Average loss: 0.7821
Archetypal loss: 0.8543
KLD loss: 0.1329
Reconstruction loss: 0.8543
Archetype R²: 0.1027
Archetype transform grad norm: 0.309578
Archetype transform param norm: 8.1479
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.7821 (range: 0.7821 - 0.7821)
archetypal_loss: 0.8543 (range: 0.8543 - 0.8543)
kld_loss: 0.1329 (range: 0.1329 - 0.1329)
reconstruction_loss: 0.8543 (range: 0.8543 - 0.8543)
archetype_r2: 0.1027 (range: 0.1027 - 0.1027)
Archetype Transform Summary:
archetype_transform_mean: 0.000504 (range: 0.000504 - 0.000504)
archetype_transform_std: 0.114103 (range: 0.114103 - 0.114103)
archetype_transform_norm: 8.147868 (range: 8.147868 - 8.147868)
archetype_transform_grad_norm: 0.309578 (range: 0.309578 - 0.309578)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0077, max=0.7174, mean=0.1667
Batch reconstruction MSE: 1.1864
Archetype stats: min=-21.5436, max=18.5603
Archetype change since last debug: 1.825780
Archetype gradients: norm=0.040551, mean=0.001742
Epoch 1/1
Average loss: 0.7760
Archetypal loss: 0.8482
KLD loss: 0.1270
Reconstruction loss: 0.8482
Archetype R²: 0.1087
Archetype transform grad norm: 0.288130
Archetype transform param norm: 8.1963
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.7760 (range: 0.7760 - 0.7760)
archetypal_loss: 0.8482 (range: 0.8482 - 0.8482)
kld_loss: 0.1270 (range: 0.1270 - 0.1270)
reconstruction_loss: 0.8482 (range: 0.8482 - 0.8482)
archetype_r2: 0.1087 (range: 0.1087 - 0.1087)
Archetype Transform Summary:
archetype_transform_mean: 0.000560 (range: 0.000560 - 0.000560)
archetype_transform_std: 0.114781 (range: 0.114781 - 0.114781)
archetype_transform_norm: 8.196265 (range: 8.196265 - 8.196265)
archetype_transform_grad_norm: 0.288130 (range: 0.288130 - 0.288130)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0076, max=0.7933, mean=0.1667
Batch reconstruction MSE: 1.1545
Archetype stats: min=-21.2765, max=18.7036
Archetype change since last debug: 1.883389
Archetype gradients: norm=0.059937, mean=0.002220
Epoch 1/1
Average loss: 0.7743
Archetypal loss: 0.8462
KLD loss: 0.1273
Reconstruction loss: 0.8462
Archetype R²: 0.1107
Archetype transform grad norm: 0.283711
Archetype transform param norm: 8.2534
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.7743 (range: 0.7743 - 0.7743)
archetypal_loss: 0.8462 (range: 0.8462 - 0.8462)
kld_loss: 0.1273 (range: 0.1273 - 0.1273)
reconstruction_loss: 0.8462 (range: 0.8462 - 0.8462)
archetype_r2: 0.1107 (range: 0.1107 - 0.1107)
Archetype Transform Summary:
archetype_transform_mean: 0.000559 (range: 0.000559 - 0.000559)
archetype_transform_std: 0.115581 (range: 0.115581 - 0.115581)
archetype_transform_norm: 8.253424 (range: 8.253424 - 8.253424)
archetype_transform_grad_norm: 0.283711 (range: 0.283711 - 0.283711)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0092, max=0.6353, mean=0.1667
Batch reconstruction MSE: 1.1943
Archetype stats: min=-21.9556, max=19.0274
Archetype change since last debug: 1.903425
Archetype gradients: norm=0.038844, mean=0.001784
Epoch 1/1
Average loss: 0.7740
Archetypal loss: 0.8467
KLD loss: 0.1199
Reconstruction loss: 0.8467
Archetype R²: 0.1103
Archetype transform grad norm: 0.297018
Archetype transform param norm: 8.3062
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.7740 (range: 0.7740 - 0.7740)
archetypal_loss: 0.8467 (range: 0.8467 - 0.8467)
kld_loss: 0.1199 (range: 0.1199 - 0.1199)
reconstruction_loss: 0.8467 (range: 0.8467 - 0.8467)
archetype_r2: 0.1103 (range: 0.1103 - 0.1103)
Archetype Transform Summary:
archetype_transform_mean: 0.000651 (range: 0.000651 - 0.000651)
archetype_transform_std: 0.116320 (range: 0.116320 - 0.116320)
archetype_transform_norm: 8.306203 (range: 8.306203 - 8.306203)
archetype_transform_grad_norm: 0.297018 (range: 0.297018 - 0.297018)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0084, max=0.7761, mean=0.1667
Batch reconstruction MSE: 1.2407
Archetype stats: min=-21.8312, max=19.0855
Archetype change since last debug: 1.801885
Archetype gradients: norm=0.083374, mean=0.003294
Epoch 1/1
Average loss: 0.7760
Archetypal loss: 0.8476
KLD loss: 0.1313
Reconstruction loss: 0.8476
Archetype R²: 0.1094
Archetype transform grad norm: 0.302872
Archetype transform param norm: 8.3320
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.7760 (range: 0.7760 - 0.7760)
archetypal_loss: 0.8476 (range: 0.8476 - 0.8476)
kld_loss: 0.1313 (range: 0.1313 - 0.1313)
reconstruction_loss: 0.8476 (range: 0.8476 - 0.8476)
archetype_r2: 0.1094 (range: 0.1094 - 0.1094)
Archetype Transform Summary:
archetype_transform_mean: 0.000580 (range: 0.000580 - 0.000580)
archetype_transform_std: 0.116681 (range: 0.116681 - 0.116681)
archetype_transform_norm: 8.331960 (range: 8.331960 - 8.331960)
archetype_transform_grad_norm: 0.302872 (range: 0.302872 - 0.302872)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0100, max=0.6282, mean=0.1667
Batch reconstruction MSE: 1.3423
Archetype stats: min=-22.2850, max=19.3237
Archetype change since last debug: 1.357021
Archetype gradients: norm=0.065705, mean=0.002651
Epoch 1/1
Average loss: 0.7767
Archetypal loss: 0.8501
KLD loss: 0.1169
Reconstruction loss: 0.8501
Archetype R²: 0.1070
Archetype transform grad norm: 0.310068
Archetype transform param norm: 8.3421
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.7767 (range: 0.7767 - 0.7767)
archetypal_loss: 0.8501 (range: 0.8501 - 0.8501)
kld_loss: 0.1169 (range: 0.1169 - 0.1169)
reconstruction_loss: 0.8501 (range: 0.8501 - 0.8501)
archetype_r2: 0.1070 (range: 0.1070 - 0.1070)
Archetype Transform Summary:
archetype_transform_mean: 0.000736 (range: 0.000736 - 0.000736)
archetype_transform_std: 0.116821 (range: 0.116821 - 0.116821)
archetype_transform_norm: 8.342060 (range: 8.342060 - 8.342060)
archetype_transform_grad_norm: 0.310068 (range: 0.310068 - 0.310068)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0091, max=0.6683, mean=0.1667
Batch reconstruction MSE: 1.2557
Archetype stats: min=-21.7293, max=18.6547
Archetype change since last debug: 2.412627
Archetype gradients: norm=0.085640, mean=0.003266
Epoch 1/1
Average loss: 0.7757
Archetypal loss: 0.8466
KLD loss: 0.1374
Reconstruction loss: 0.8466
Archetype R²: 0.1104
Archetype transform grad norm: 0.295791
Archetype transform param norm: 8.3605
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.7757 (range: 0.7757 - 0.7757)
archetypal_loss: 0.8466 (range: 0.8466 - 0.8466)
kld_loss: 0.1374 (range: 0.1374 - 0.1374)
reconstruction_loss: 0.8466 (range: 0.8466 - 0.8466)
archetype_r2: 0.1104 (range: 0.1104 - 0.1104)
Archetype Transform Summary:
archetype_transform_mean: 0.000593 (range: 0.000593 - 0.000593)
archetype_transform_std: 0.117080 (range: 0.117080 - 0.117080)
archetype_transform_norm: 8.360509 (range: 8.360509 - 8.360509)
archetype_transform_grad_norm: 0.295791 (range: 0.295791 - 0.295791)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0106, max=0.5164, mean=0.1667
Batch reconstruction MSE: 1.2633
Archetype stats: min=-22.0128, max=18.8170
Archetype change since last debug: 1.263618
Archetype gradients: norm=0.029613, mean=0.001279
Epoch 1/1
Average loss: 0.7723
Archetypal loss: 0.8460
KLD loss: 0.1096
Reconstruction loss: 0.8460
Archetype R²: 0.1111
Archetype transform grad norm: 0.278817
Archetype transform param norm: 8.3858
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.7723 (range: 0.7723 - 0.7723)
archetypal_loss: 0.8460 (range: 0.8460 - 0.8460)
kld_loss: 0.1096 (range: 0.1096 - 0.1096)
reconstruction_loss: 0.8460 (range: 0.8460 - 0.8460)
archetype_r2: 0.1111 (range: 0.1111 - 0.1111)
Archetype Transform Summary:
archetype_transform_mean: 0.000720 (range: 0.000720 - 0.000720)
archetype_transform_std: 0.117433 (range: 0.117433 - 0.117433)
archetype_transform_norm: 8.385754 (range: 8.385754 - 8.385754)
archetype_transform_grad_norm: 0.278817 (range: 0.278817 - 0.278817)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0104, max=0.7586, mean=0.1667
Batch reconstruction MSE: 1.0858
Archetype stats: min=-21.9726, max=18.6837
Archetype change since last debug: 1.487565
Archetype gradients: norm=0.038076, mean=0.001065
Epoch 1/1
Average loss: 0.7707
Archetypal loss: 0.8418
KLD loss: 0.1302
Reconstruction loss: 0.8418
Archetype R²: 0.1151
Archetype transform grad norm: 0.270658
Archetype transform param norm: 8.4382
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.7707 (range: 0.7707 - 0.7707)
archetypal_loss: 0.8418 (range: 0.8418 - 0.8418)
kld_loss: 0.1302 (range: 0.1302 - 0.1302)
reconstruction_loss: 0.8418 (range: 0.8418 - 0.8418)
archetype_r2: 0.1151 (range: 0.1151 - 0.1151)
Archetype Transform Summary:
archetype_transform_mean: 0.000720 (range: 0.000720 - 0.000720)
archetype_transform_std: 0.118168 (range: 0.118168 - 0.118168)
archetype_transform_norm: 8.438248 (range: 8.438248 - 8.438248)
archetype_transform_grad_norm: 0.270658 (range: 0.270658 - 0.270658)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0126, max=0.5135, mean=0.1667
Batch reconstruction MSE: 1.3850
Archetype stats: min=-22.5002, max=19.0260
Archetype change since last debug: 1.850054
Archetype gradients: norm=0.063167, mean=0.002278
Epoch 1/1
Average loss: 0.7738
Archetypal loss: 0.8482
KLD loss: 0.1039
Reconstruction loss: 0.8482
Archetype R²: 0.1089
Archetype transform grad norm: 0.281211
Archetype transform param norm: 8.4381
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.7738 (range: 0.7738 - 0.7738)
archetypal_loss: 0.8482 (range: 0.8482 - 0.8482)
kld_loss: 0.1039 (range: 0.1039 - 0.1039)
reconstruction_loss: 0.8482 (range: 0.8482 - 0.8482)
archetype_r2: 0.1089 (range: 0.1089 - 0.1089)
Archetype Transform Summary:
archetype_transform_mean: 0.000685 (range: 0.000685 - 0.000685)
archetype_transform_std: 0.118167 (range: 0.118167 - 0.118167)
archetype_transform_norm: 8.438127 (range: 8.438127 - 8.438127)
archetype_transform_grad_norm: 0.281211 (range: 0.281211 - 0.281211)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0104, max=0.7679, mean=0.1667
Batch reconstruction MSE: 1.1302
Archetype stats: min=-22.0591, max=18.8849
Archetype change since last debug: 1.916170
Archetype gradients: norm=0.069372, mean=0.002405
Epoch 1/1
Average loss: 0.7720
Archetypal loss: 0.8426
KLD loss: 0.1359
Reconstruction loss: 0.8426
Archetype R²: 0.1143
Archetype transform grad norm: 0.286176
Archetype transform param norm: 8.4703
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.7720 (range: 0.7720 - 0.7720)
archetypal_loss: 0.8426 (range: 0.8426 - 0.8426)
kld_loss: 0.1359 (range: 0.1359 - 0.1359)
reconstruction_loss: 0.8426 (range: 0.8426 - 0.8426)
archetype_r2: 0.1143 (range: 0.1143 - 0.1143)
Archetype Transform Summary:
archetype_transform_mean: 0.000777 (range: 0.000777 - 0.000777)
archetype_transform_std: 0.118617 (range: 0.118617 - 0.118617)
archetype_transform_norm: 8.470301 (range: 8.470301 - 8.470301)
archetype_transform_grad_norm: 0.286176 (range: 0.286176 - 0.286176)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0125, max=0.4633, mean=0.1667
Batch reconstruction MSE: 1.3214
Archetype stats: min=-22.6407, max=19.0457
Archetype change since last debug: 1.670246
Archetype gradients: norm=0.076748, mean=0.003162
Epoch 1/1
Average loss: 0.7732
Archetypal loss: 0.8471
KLD loss: 0.1079
Reconstruction loss: 0.8471
Archetype R²: 0.1099
Archetype transform grad norm: 0.299719
Archetype transform param norm: 8.4767
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.7732 (range: 0.7732 - 0.7732)
archetypal_loss: 0.8471 (range: 0.8471 - 0.8471)
kld_loss: 0.1079 (range: 0.1079 - 0.1079)
reconstruction_loss: 0.8471 (range: 0.8471 - 0.8471)
archetype_r2: 0.1099 (range: 0.1099 - 0.1099)
Archetype Transform Summary:
archetype_transform_mean: 0.000681 (range: 0.000681 - 0.000681)
archetype_transform_std: 0.118707 (range: 0.118707 - 0.118707)
archetype_transform_norm: 8.476687 (range: 8.476687 - 8.476687)
archetype_transform_grad_norm: 0.299719 (range: 0.299719 - 0.299719)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0141, max=0.7007, mean=0.1667
Batch reconstruction MSE: 1.1805
Archetype stats: min=-22.7158, max=19.1510
Archetype change since last debug: 1.626457
Archetype gradients: norm=0.065470, mean=0.002722
Epoch 1/1
Average loss: 0.7715
Archetypal loss: 0.8438
KLD loss: 0.1217
Reconstruction loss: 0.8438
Archetype R²: 0.1131
Archetype transform grad norm: 0.293993
Archetype transform param norm: 8.4989
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.7715 (range: 0.7715 - 0.7715)
archetypal_loss: 0.8438 (range: 0.8438 - 0.8438)
kld_loss: 0.1217 (range: 0.1217 - 0.1217)
reconstruction_loss: 0.8438 (range: 0.8438 - 0.8438)
archetype_r2: 0.1131 (range: 0.1131 - 0.1131)
Archetype Transform Summary:
archetype_transform_mean: 0.000777 (range: 0.000777 - 0.000777)
archetype_transform_std: 0.119018 (range: 0.119018 - 0.119018)
archetype_transform_norm: 8.498932 (range: 8.498932 - 8.498932)
archetype_transform_grad_norm: 0.293993 (range: 0.293993 - 0.293993)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0124, max=0.4696, mean=0.1667
Batch reconstruction MSE: 1.2023
Archetype stats: min=-22.8528, max=19.1751
Archetype change since last debug: 1.407581
Archetype gradients: norm=0.062460, mean=0.002767
Epoch 1/1
Average loss: 0.7711
Archetypal loss: 0.8443
KLD loss: 0.1125
Reconstruction loss: 0.8443
Archetype R²: 0.1126
Archetype transform grad norm: 0.304533
Archetype transform param norm: 8.5255
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.7711 (range: 0.7711 - 0.7711)
archetypal_loss: 0.8443 (range: 0.8443 - 0.8443)
kld_loss: 0.1125 (range: 0.1125 - 0.1125)
reconstruction_loss: 0.8443 (range: 0.8443 - 0.8443)
archetype_r2: 0.1126 (range: 0.1126 - 0.1126)
Archetype Transform Summary:
archetype_transform_mean: 0.000722 (range: 0.000722 - 0.000722)
archetype_transform_std: 0.119391 (range: 0.119391 - 0.119391)
archetype_transform_norm: 8.525542 (range: 8.525542 - 8.525542)
archetype_transform_grad_norm: 0.304533 (range: 0.304533 - 0.304533)
Fold 2/3
Model input_dim: 50 (auto-detected from data)
Archetypes parameter registered: True
Archetypes requires_grad: True
Deep_AA (Deep Archetypal Analysis) initialized:
- Single-stage architecture (like Deep_2)
- Inflation factor: 1.5
- Direct archetypal coordinates (no bottleneck)
Consolidated Archetype Initialization
PCHA: True, Inflation: True (factor: 1.5)
Test inflation: False
Running PCHA initialization...
Input shape: (128, 50)
Target archetypes: 6
Running PCHA with 6 archetypes...
Data shape for PCHA: (50, 128)
PCHA Results:
Archetypes shape: (6, 50)
Archetype R²: 0.2535
SSE: 4685.7040
PCHA archetype R²: 0.2535
Archetype shape: (6, 50)
[OK] Initialized 6 archetypes using PCHA
Scalar Archetypal Inflation (factor: 1.50)
[OK] Inflation complete
[STATS] Positioning verification:
Data radius (max): 15.808
Data radius (mean): 6.452
Archetype distances: 3.771 to 21.135
Archetypes outside data: 1/6
Min archetype separation: 9.380
[OK] Archetype initialization complete (success: True)
[OK] Archetype initialization complete (PCHA: True, Inflation: 1.5)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0026, max=0.8925, mean=0.1667
Batch reconstruction MSE: 0.9611
Archetype stats: min=-1.7004, max=1.5030
Archetype gradients: norm=0.011296, mean=0.000472
Epoch 1/1
Average loss: 0.8613
Archetypal loss: 0.9539
KLD loss: 0.0280
Reconstruction loss: 0.9539
Archetype R²: -0.0153
Archetype transform grad norm: 0.153346
Archetype transform param norm: 5.7832
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.8613 (range: 0.8613 - 0.8613)
archetypal_loss: 0.9539 (range: 0.9539 - 0.9539)
kld_loss: 0.0280 (range: 0.0280 - 0.0280)
reconstruction_loss: 0.9539 (range: 0.9539 - 0.9539)
archetype_r2: -0.0153 (range: -0.0153 - -0.0153)
Archetype Transform Summary:
archetype_transform_mean: 0.000336 (range: 0.000336 - 0.000336)
archetype_transform_std: 0.080988 (range: 0.080988 - 0.080988)
archetype_transform_norm: 5.783175 (range: 5.783175 - 5.783175)
archetype_transform_grad_norm: 0.153346 (range: 0.153346 - 0.153346)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0003, max=0.8946, mean=0.1667
Batch reconstruction MSE: 0.8600
Archetype stats: min=-0.9584, max=0.8588
Archetype change since last debug: 6.357779
Archetype gradients: norm=0.002535, mean=0.000111
Epoch 1/1
Average loss: 0.8510
Archetypal loss: 0.9419
KLD loss: 0.0328
Reconstruction loss: 0.9419
Archetype R²: -0.0023
Archetype transform grad norm: 0.111017
Archetype transform param norm: 5.7855
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.8510 (range: 0.8510 - 0.8510)
archetypal_loss: 0.9419 (range: 0.9419 - 0.9419)
kld_loss: 0.0328 (range: 0.0328 - 0.0328)
reconstruction_loss: 0.9419 (range: 0.9419 - 0.9419)
archetype_r2: -0.0023 (range: -0.0023 - -0.0023)
Archetype Transform Summary:
archetype_transform_mean: 0.000436 (range: 0.000436 - 0.000436)
archetype_transform_std: 0.081019 (range: 0.081019 - 0.081019)
archetype_transform_norm: 5.785464 (range: 5.785464 - 5.785464)
archetype_transform_grad_norm: 0.111017 (range: 0.111017 - 0.111017)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0021, max=0.9309, mean=0.1667
Batch reconstruction MSE: 0.8646
Archetype stats: min=-1.5528, max=1.5388
Archetype change since last debug: 2.933851
Archetype gradients: norm=0.002790, mean=0.000125
Epoch 1/1
Average loss: 0.8418
Archetypal loss: 0.9262
KLD loss: 0.0819
Reconstruction loss: 0.9262
Archetype R²: 0.0143
Archetype transform grad norm: 0.132029
Archetype transform param norm: 5.8894
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.8418 (range: 0.8418 - 0.8418)
archetypal_loss: 0.9262 (range: 0.9262 - 0.9262)
kld_loss: 0.0819 (range: 0.0819 - 0.0819)
reconstruction_loss: 0.9262 (range: 0.9262 - 0.9262)
archetype_r2: 0.0143 (range: 0.0143 - 0.0143)
Archetype Transform Summary:
archetype_transform_mean: 0.000414 (range: 0.000414 - 0.000414)
archetype_transform_std: 0.082475 (range: 0.082475 - 0.082475)
archetype_transform_norm: 5.889410 (range: 5.889410 - 5.889410)
archetype_transform_grad_norm: 0.132029 (range: 0.132029 - 0.132029)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0015, max=0.9170, mean=0.1667
Batch reconstruction MSE: 0.9006
Archetype stats: min=-4.0104, max=3.4066
Archetype change since last debug: 8.403803
Archetype gradients: norm=0.006413, mean=0.000255
Epoch 1/1
Average loss: 0.8281
Archetypal loss: 0.9072
KLD loss: 0.1167
Reconstruction loss: 0.9072
Archetype R²: 0.0344
Archetype transform grad norm: 0.165163
Archetype transform param norm: 6.1342
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.8281 (range: 0.8281 - 0.8281)
archetypal_loss: 0.9072 (range: 0.9072 - 0.9072)
kld_loss: 0.1167 (range: 0.1167 - 0.1167)
reconstruction_loss: 0.9072 (range: 0.9072 - 0.9072)
archetype_r2: 0.0344 (range: 0.0344 - 0.0344)
Archetype Transform Summary:
archetype_transform_mean: 0.000192 (range: 0.000192 - 0.000192)
archetype_transform_std: 0.085904 (range: 0.085904 - 0.085904)
archetype_transform_norm: 6.134206 (range: 6.134206 - 6.134206)
archetype_transform_grad_norm: 0.165163 (range: 0.165163 - 0.165163)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0059, max=0.9035, mean=0.1667
Batch reconstruction MSE: 0.9251
Archetype stats: min=-6.0095, max=4.9478
Archetype change since last debug: 9.555949
Archetype gradients: norm=0.010657, mean=0.000442
Epoch 1/1
Average loss: 0.8135
Archetypal loss: 0.8875
KLD loss: 0.1477
Reconstruction loss: 0.8875
Archetype R²: 0.0553
Archetype transform grad norm: 0.194221
Archetype transform param norm: 6.4546
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.8135 (range: 0.8135 - 0.8135)
archetypal_loss: 0.8875 (range: 0.8875 - 0.8875)
kld_loss: 0.1477 (range: 0.1477 - 0.1477)
reconstruction_loss: 0.8875 (range: 0.8875 - 0.8875)
archetype_r2: 0.0553 (range: 0.0553 - 0.0553)
Archetype Transform Summary:
archetype_transform_mean: -0.000087 (range: -0.000087 - -0.000087)
archetype_transform_std: 0.090391 (range: 0.090391 - 0.090391)
archetype_transform_norm: 6.454578 (range: 6.454578 - 6.454578)
archetype_transform_grad_norm: 0.194221 (range: 0.194221 - 0.194221)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0082, max=0.8068, mean=0.1667
Batch reconstruction MSE: 1.0243
Archetype stats: min=-7.5103, max=6.1117
Archetype change since last debug: 10.320918
Archetype gradients: norm=0.017009, mean=0.000814
Epoch 1/1
Average loss: 0.8021
Archetypal loss: 0.8736
KLD loss: 0.1585
Reconstruction loss: 0.8736
Archetype R²: 0.0698
Archetype transform grad norm: 0.216493
Archetype transform param norm: 6.7813
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.8021 (range: 0.8021 - 0.8021)
archetypal_loss: 0.8736 (range: 0.8736 - 0.8736)
kld_loss: 0.1585 (range: 0.1585 - 0.1585)
reconstruction_loss: 0.8736 (range: 0.8736 - 0.8736)
archetype_r2: 0.0698 (range: 0.0698 - 0.0698)
Archetype Transform Summary:
archetype_transform_mean: -0.000351 (range: -0.000351 - -0.000351)
archetype_transform_std: 0.094966 (range: 0.094966 - 0.094966)
archetype_transform_norm: 6.781348 (range: 6.781348 - 6.781348)
archetype_transform_grad_norm: 0.216493 (range: 0.216493 - 0.216493)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0035, max=0.8621, mean=0.1667
Batch reconstruction MSE: 1.0823
Archetype stats: min=-9.2012, max=6.8075
Archetype change since last debug: 8.396702
Archetype gradients: norm=0.040256, mean=0.001551
Epoch 1/1
Average loss: 0.7931
Archetypal loss: 0.8617
KLD loss: 0.1756
Reconstruction loss: 0.8617
Archetype R²: 0.0824
Archetype transform grad norm: 0.229778
Archetype transform param norm: 7.0739
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.7931 (range: 0.7931 - 0.7931)
archetypal_loss: 0.8617 (range: 0.8617 - 0.8617)
kld_loss: 0.1756 (range: 0.1756 - 0.1756)
reconstruction_loss: 0.8617 (range: 0.8617 - 0.8617)
archetype_r2: 0.0824 (range: 0.0824 - 0.0824)
Archetype Transform Summary:
archetype_transform_mean: -0.000583 (range: -0.000583 - -0.000583)
archetype_transform_std: 0.099062 (range: 0.099062 - 0.099062)
archetype_transform_norm: 7.073907 (range: 7.073907 - 7.073907)
archetype_transform_grad_norm: 0.229778 (range: 0.229778 - 0.229778)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0052, max=0.7779, mean=0.1667
Batch reconstruction MSE: 1.0916
Archetype stats: min=-10.4604, max=7.2718
Archetype change since last debug: 6.920527
Archetype gradients: norm=0.046002, mean=0.001623
Epoch 1/1
Average loss: 0.7846
Archetypal loss: 0.8534
KLD loss: 0.1659
Reconstruction loss: 0.8534
Archetype R²: 0.0914
Archetype transform grad norm: 0.239200
Archetype transform param norm: 7.3227
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.7846 (range: 0.7846 - 0.7846)
archetypal_loss: 0.8534 (range: 0.8534 - 0.8534)
kld_loss: 0.1659 (range: 0.1659 - 0.1659)
reconstruction_loss: 0.8534 (range: 0.8534 - 0.8534)
archetype_r2: 0.0914 (range: 0.0914 - 0.0914)
Archetype Transform Summary:
archetype_transform_mean: -0.000779 (range: -0.000779 - -0.000779)
archetype_transform_std: 0.102546 (range: 0.102546 - 0.102546)
archetype_transform_norm: 7.322728 (range: 7.322728 - 7.322728)
archetype_transform_grad_norm: 0.239200 (range: 0.239200 - 0.239200)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0059, max=0.5972, mean=0.1667
Batch reconstruction MSE: 1.0800
Archetype stats: min=-11.4912, max=7.8203
Archetype change since last debug: 6.089322
Archetype gradients: norm=0.044071, mean=0.001694
Epoch 1/1
Average loss: 0.7787
Archetypal loss: 0.8472
KLD loss: 0.1617
Reconstruction loss: 0.8472
Archetype R²: 0.0979
Archetype transform grad norm: 0.240404
Archetype transform param norm: 7.5222
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.7787 (range: 0.7787 - 0.7787)
archetypal_loss: 0.8472 (range: 0.8472 - 0.8472)
kld_loss: 0.1617 (range: 0.1617 - 0.1617)
reconstruction_loss: 0.8472 (range: 0.8472 - 0.8472)
archetype_r2: 0.0979 (range: 0.0979 - 0.0979)
Archetype Transform Summary:
archetype_transform_mean: -0.000949 (range: -0.000949 - -0.000949)
archetype_transform_std: 0.105338 (range: 0.105338 - 0.105338)
archetype_transform_norm: 7.522221 (range: 7.522221 - 7.522221)
archetype_transform_grad_norm: 0.240404 (range: 0.240404 - 0.240404)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0129, max=0.6966, mean=0.1667
Batch reconstruction MSE: 1.0627
Archetype stats: min=-12.3373, max=8.7667
Archetype change since last debug: 5.059140
Archetype gradients: norm=0.032976, mean=0.001362
Epoch 1/1
Average loss: 0.7742
Archetypal loss: 0.8435
KLD loss: 0.1501
Reconstruction loss: 0.8435
Archetype R²: 0.1019
Archetype transform grad norm: 0.246557
Archetype transform param norm: 7.6939
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.7742 (range: 0.7742 - 0.7742)
archetypal_loss: 0.8435 (range: 0.8435 - 0.8435)
kld_loss: 0.1501 (range: 0.1501 - 0.1501)
reconstruction_loss: 0.8435 (range: 0.8435 - 0.8435)
archetype_r2: 0.1019 (range: 0.1019 - 0.1019)
Archetype Transform Summary:
archetype_transform_mean: -0.001062 (range: -0.001062 - -0.001062)
archetype_transform_std: 0.107742 (range: 0.107742 - 0.107742)
archetype_transform_norm: 7.693906 (range: 7.693906 - 7.693906)
archetype_transform_grad_norm: 0.246557 (range: 0.246557 - 0.246557)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0134, max=0.4202, mean=0.1667
Batch reconstruction MSE: 1.0342
Archetype stats: min=-12.7618, max=9.5989
Archetype change since last debug: 4.604827
Archetype gradients: norm=0.039002, mean=0.001536
Epoch 1/1
Average loss: 0.7713
Archetypal loss: 0.8408
KLD loss: 0.1461
Reconstruction loss: 0.8408
Archetype R²: 0.1048
Archetype transform grad norm: 0.253367
Archetype transform param norm: 7.8372
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.7713 (range: 0.7713 - 0.7713)
archetypal_loss: 0.8408 (range: 0.8408 - 0.8408)
kld_loss: 0.1461 (range: 0.1461 - 0.1461)
reconstruction_loss: 0.8408 (range: 0.8408 - 0.8408)
archetype_r2: 0.1048 (range: 0.1048 - 0.1048)
Archetype Transform Summary:
archetype_transform_mean: -0.001167 (range: -0.001167 - -0.001167)
archetype_transform_std: 0.109747 (range: 0.109747 - 0.109747)
archetype_transform_norm: 7.837182 (range: 7.837182 - 7.837182)
archetype_transform_grad_norm: 0.253367 (range: 0.253367 - 0.253367)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0168, max=0.6041, mean=0.1667
Batch reconstruction MSE: 1.0177
Archetype stats: min=-13.4058, max=10.4416
Archetype change since last debug: 3.881252
Archetype gradients: norm=0.027571, mean=0.001188
Epoch 1/1
Average loss: 0.7690
Archetypal loss: 0.8390
KLD loss: 0.1392
Reconstruction loss: 0.8390
Archetype R²: 0.1068
Archetype transform grad norm: 0.259066
Archetype transform param norm: 7.9592
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.7690 (range: 0.7690 - 0.7690)
archetypal_loss: 0.8390 (range: 0.8390 - 0.8390)
kld_loss: 0.1392 (range: 0.1392 - 0.1392)
reconstruction_loss: 0.8390 (range: 0.8390 - 0.8390)
archetype_r2: 0.1068 (range: 0.1068 - 0.1068)
Archetype Transform Summary:
archetype_transform_mean: -0.001253 (range: -0.001253 - -0.001253)
archetype_transform_std: 0.111455 (range: 0.111455 - 0.111455)
archetype_transform_norm: 7.959219 (range: 7.959219 - 7.959219)
archetype_transform_grad_norm: 0.259066 (range: 0.259066 - 0.259066)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0130, max=0.6047, mean=0.1667
Batch reconstruction MSE: 1.0730
Archetype stats: min=-13.6988, max=11.0995
Archetype change since last debug: 3.552928
Archetype gradients: norm=0.054837, mean=0.001862
Epoch 1/1
Average loss: 0.7692
Archetypal loss: 0.8397
KLD loss: 0.1346
Reconstruction loss: 0.8397
Archetype R²: 0.1060
Archetype transform grad norm: 0.270581
Archetype transform param norm: 8.0448
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.7692 (range: 0.7692 - 0.7692)
archetypal_loss: 0.8397 (range: 0.8397 - 0.8397)
kld_loss: 0.1346 (range: 0.1346 - 0.1346)
reconstruction_loss: 0.8397 (range: 0.8397 - 0.8397)
archetype_r2: 0.1060 (range: 0.1060 - 0.1060)
Archetype Transform Summary:
archetype_transform_mean: -0.001321 (range: -0.001321 - -0.001321)
archetype_transform_std: 0.112653 (range: 0.112653 - 0.112653)
archetype_transform_norm: 8.044809 (range: 8.044809 - 8.044809)
archetype_transform_grad_norm: 0.270581 (range: 0.270581 - 0.270581)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0184, max=0.5508, mean=0.1667
Batch reconstruction MSE: 1.0974
Archetype stats: min=-14.1148, max=11.5757
Archetype change since last debug: 2.527314
Archetype gradients: norm=0.035514, mean=0.001340
Epoch 1/1
Average loss: 0.7689
Archetypal loss: 0.8392
KLD loss: 0.1366
Reconstruction loss: 0.8392
Archetype R²: 0.1064
Archetype transform grad norm: 0.272659
Archetype transform param norm: 8.1040
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.7689 (range: 0.7689 - 0.7689)
archetypal_loss: 0.8392 (range: 0.8392 - 0.8392)
kld_loss: 0.1366 (range: 0.1366 - 0.1366)
reconstruction_loss: 0.8392 (range: 0.8392 - 0.8392)
archetype_r2: 0.1064 (range: 0.1064 - 0.1064)
Archetype Transform Summary:
archetype_transform_mean: -0.001447 (range: -0.001447 - -0.001447)
archetype_transform_std: 0.113480 (range: 0.113480 - 0.113480)
archetype_transform_norm: 8.103968 (range: 8.103968 - 8.103968)
archetype_transform_grad_norm: 0.272659 (range: 0.272659 - 0.272659)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0192, max=0.4381, mean=0.1667
Batch reconstruction MSE: 1.1224
Archetype stats: min=-14.4004, max=11.3371
Archetype change since last debug: 2.573132
Archetype gradients: norm=0.053583, mean=0.002078
Epoch 1/1
Average loss: 0.7684
Archetypal loss: 0.8390
KLD loss: 0.1324
Reconstruction loss: 0.8390
Archetype R²: 0.1066
Archetype transform grad norm: 0.274704
Archetype transform param norm: 8.1538
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.7684 (range: 0.7684 - 0.7684)
archetypal_loss: 0.8390 (range: 0.8390 - 0.8390)
kld_loss: 0.1324 (range: 0.1324 - 0.1324)
reconstruction_loss: 0.8390 (range: 0.8390 - 0.8390)
archetype_r2: 0.1066 (range: 0.1066 - 0.1066)
Archetype Transform Summary:
archetype_transform_mean: -0.001523 (range: -0.001523 - -0.001523)
archetype_transform_std: 0.114177 (range: 0.114177 - 0.114177)
archetype_transform_norm: 8.153817 (range: 8.153817 - 8.153817)
archetype_transform_grad_norm: 0.274704 (range: 0.274704 - 0.274704)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0216, max=0.3819, mean=0.1667
Batch reconstruction MSE: 0.9720
Archetype stats: min=-14.6821, max=11.5888
Archetype change since last debug: 1.850869
Archetype gradients: norm=0.026227, mean=0.001139
Epoch 1/1
Average loss: 0.7649
Archetypal loss: 0.8352
KLD loss: 0.1323
Reconstruction loss: 0.8352
Archetype R²: 0.1110
Archetype transform grad norm: 0.271193
Archetype transform param norm: 8.2334
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.7649 (range: 0.7649 - 0.7649)
archetypal_loss: 0.8352 (range: 0.8352 - 0.8352)
kld_loss: 0.1323 (range: 0.1323 - 0.1323)
reconstruction_loss: 0.8352 (range: 0.8352 - 0.8352)
archetype_r2: 0.1110 (range: 0.1110 - 0.1110)
Archetype Transform Summary:
archetype_transform_mean: -0.001607 (range: -0.001607 - -0.001607)
archetype_transform_std: 0.115291 (range: 0.115291 - 0.115291)
archetype_transform_norm: 8.233392 (range: 8.233392 - 8.233392)
archetype_transform_grad_norm: 0.271193 (range: 0.271193 - 0.271193)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0249, max=0.3738, mean=0.1667
Batch reconstruction MSE: 1.0066
Archetype stats: min=-14.8223, max=12.0748
Archetype change since last debug: 2.737039
Archetype gradients: norm=0.076567, mean=0.002187
Epoch 1/1
Average loss: 0.7643
Archetypal loss: 0.8352
KLD loss: 0.1259
Reconstruction loss: 0.8352
Archetype R²: 0.1110
Archetype transform grad norm: 0.276549
Archetype transform param norm: 8.2884
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.7643 (range: 0.7643 - 0.7643)
archetypal_loss: 0.8352 (range: 0.8352 - 0.8352)
kld_loss: 0.1259 (range: 0.1259 - 0.1259)
reconstruction_loss: 0.8352 (range: 0.8352 - 0.8352)
archetype_r2: 0.1110 (range: 0.1110 - 0.1110)
Archetype Transform Summary:
archetype_transform_mean: -0.001550 (range: -0.001550 - -0.001550)
archetype_transform_std: 0.116061 (range: 0.116061 - 0.116061)
archetype_transform_norm: 8.288368 (range: 8.288368 - 8.288368)
archetype_transform_grad_norm: 0.276549 (range: 0.276549 - 0.276549)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0256, max=0.4313, mean=0.1667
Batch reconstruction MSE: 0.9865
Archetype stats: min=-15.0628, max=12.4755
Archetype change since last debug: 2.114700
Archetype gradients: norm=0.044580, mean=0.002110
Epoch 1/1
Average loss: 0.7635
Archetypal loss: 0.8341
KLD loss: 0.1284
Reconstruction loss: 0.8341
Archetype R²: 0.1122
Archetype transform grad norm: 0.279581
Archetype transform param norm: 8.3523
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.7635 (range: 0.7635 - 0.7635)
archetypal_loss: 0.8341 (range: 0.8341 - 0.8341)
kld_loss: 0.1284 (range: 0.1284 - 0.1284)
reconstruction_loss: 0.8341 (range: 0.8341 - 0.8341)
archetype_r2: 0.1122 (range: 0.1122 - 0.1122)
Archetype Transform Summary:
archetype_transform_mean: -0.001643 (range: -0.001643 - -0.001643)
archetype_transform_std: 0.116955 (range: 0.116955 - 0.116955)
archetype_transform_norm: 8.352285 (range: 8.352285 - 8.352285)
archetype_transform_grad_norm: 0.279581 (range: 0.279581 - 0.279581)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0238, max=0.3676, mean=0.1667
Batch reconstruction MSE: 0.9675
Archetype stats: min=-15.2830, max=12.7808
Archetype change since last debug: 2.130137
Archetype gradients: norm=0.065694, mean=0.002143
Epoch 1/1
Average loss: 0.7624
Archetypal loss: 0.8333
KLD loss: 0.1238
Reconstruction loss: 0.8333
Archetype R²: 0.1130
Archetype transform grad norm: 0.286267
Archetype transform param norm: 8.4040
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.7624 (range: 0.7624 - 0.7624)
archetypal_loss: 0.8333 (range: 0.8333 - 0.8333)
kld_loss: 0.1238 (range: 0.1238 - 0.1238)
reconstruction_loss: 0.8333 (range: 0.8333 - 0.8333)
archetype_r2: 0.1130 (range: 0.1130 - 0.1130)
Archetype Transform Summary:
archetype_transform_mean: -0.001586 (range: -0.001586 - -0.001586)
archetype_transform_std: 0.117680 (range: 0.117680 - 0.117680)
archetype_transform_norm: 8.403960 (range: 8.403960 - 8.403960)
archetype_transform_grad_norm: 0.286267 (range: 0.286267 - 0.286267)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0284, max=0.3778, mean=0.1667
Batch reconstruction MSE: 0.9838
Archetype stats: min=-15.6694, max=13.1614
Archetype change since last debug: 1.939616
Archetype gradients: norm=0.039984, mean=0.001953
Epoch 1/1
Average loss: 0.7616
Archetypal loss: 0.8327
KLD loss: 0.1218
Reconstruction loss: 0.8327
Archetype R²: 0.1136
Archetype transform grad norm: 0.278001
Archetype transform param norm: 8.4562
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.7616 (range: 0.7616 - 0.7616)
archetypal_loss: 0.8327 (range: 0.8327 - 0.8327)
kld_loss: 0.1218 (range: 0.1218 - 0.1218)
reconstruction_loss: 0.8327 (range: 0.8327 - 0.8327)
archetype_r2: 0.1136 (range: 0.1136 - 0.1136)
Archetype Transform Summary:
archetype_transform_mean: -0.001692 (range: -0.001692 - -0.001692)
archetype_transform_std: 0.118410 (range: 0.118410 - 0.118410)
archetype_transform_norm: 8.456206 (range: 8.456206 - 8.456206)
archetype_transform_grad_norm: 0.278001 (range: 0.278001 - 0.278001)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0269, max=0.3333, mean=0.1667
Batch reconstruction MSE: 0.9215
Archetype stats: min=-15.8474, max=13.2718
Archetype change since last debug: 1.832291
Archetype gradients: norm=0.052387, mean=0.001622
Epoch 1/1
Average loss: 0.7597
Archetypal loss: 0.8312
KLD loss: 0.1162
Reconstruction loss: 0.8312
Archetype R²: 0.1154
Archetype transform grad norm: 0.280842
Archetype transform param norm: 8.5112
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.7597 (range: 0.7597 - 0.7597)
archetypal_loss: 0.8312 (range: 0.8312 - 0.8312)
kld_loss: 0.1162 (range: 0.1162 - 0.1162)
reconstruction_loss: 0.8312 (range: 0.8312 - 0.8312)
archetype_r2: 0.1154 (range: 0.1154 - 0.1154)
Archetype Transform Summary:
archetype_transform_mean: -0.001650 (range: -0.001650 - -0.001650)
archetype_transform_std: 0.119180 (range: 0.119180 - 0.119180)
archetype_transform_norm: 8.511158 (range: 8.511158 - 8.511158)
archetype_transform_grad_norm: 0.280842 (range: 0.280842 - 0.280842)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0306, max=0.3506, mean=0.1667
Batch reconstruction MSE: 0.9039
Archetype stats: min=-16.3109, max=13.7481
Archetype change since last debug: 2.035474
Archetype gradients: norm=0.031578, mean=0.001529
Epoch 1/1
Average loss: 0.7586
Archetypal loss: 0.8301
KLD loss: 0.1151
Reconstruction loss: 0.8301
Archetype R²: 0.1166
Archetype transform grad norm: 0.277863
Archetype transform param norm: 8.5762
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.7586 (range: 0.7586 - 0.7586)
archetypal_loss: 0.8301 (range: 0.8301 - 0.8301)
kld_loss: 0.1151 (range: 0.1151 - 0.1151)
reconstruction_loss: 0.8301 (range: 0.8301 - 0.8301)
archetype_r2: 0.1166 (range: 0.1166 - 0.1166)
Archetype Transform Summary:
archetype_transform_mean: -0.001765 (range: -0.001765 - -0.001765)
archetype_transform_std: 0.120090 (range: 0.120090 - 0.120090)
archetype_transform_norm: 8.576210 (range: 8.576210 - 8.576210)
archetype_transform_grad_norm: 0.277863 (range: 0.277863 - 0.277863)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0283, max=0.3159, mean=0.1667
Batch reconstruction MSE: 0.9843
Archetype stats: min=-16.5570, max=13.9898
Archetype change since last debug: 2.175324
Archetype gradients: norm=0.063051, mean=0.001998
Epoch 1/1
Average loss: 0.7604
Archetypal loss: 0.8323
KLD loss: 0.1132
Reconstruction loss: 0.8323
Archetype R²: 0.1141
Archetype transform grad norm: 0.290565
Archetype transform param norm: 8.6092
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.7604 (range: 0.7604 - 0.7604)
archetypal_loss: 0.8323 (range: 0.8323 - 0.8323)
kld_loss: 0.1132 (range: 0.1132 - 0.1132)
reconstruction_loss: 0.8323 (range: 0.8323 - 0.8323)
archetype_r2: 0.1141 (range: 0.1141 - 0.1141)
Archetype Transform Summary:
archetype_transform_mean: -0.001725 (range: -0.001725 - -0.001725)
archetype_transform_std: 0.120552 (range: 0.120552 - 0.120552)
archetype_transform_norm: 8.609178 (range: 8.609178 - 8.609178)
archetype_transform_grad_norm: 0.290565 (range: 0.290565 - 0.290565)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0335, max=0.3618, mean=0.1667
Batch reconstruction MSE: 1.0495
Archetype stats: min=-16.9206, max=14.3497
Archetype change since last debug: 1.561326
Archetype gradients: norm=0.040760, mean=0.002002
Epoch 1/1
Average loss: 0.7613
Archetypal loss: 0.8333
KLD loss: 0.1127
Reconstruction loss: 0.8333
Archetype R²: 0.1128
Archetype transform grad norm: 0.291273
Archetype transform param norm: 8.6298
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.7613 (range: 0.7613 - 0.7613)
archetypal_loss: 0.8333 (range: 0.8333 - 0.8333)
kld_loss: 0.1127 (range: 0.1127 - 0.1127)
reconstruction_loss: 0.8333 (range: 0.8333 - 0.8333)
archetype_r2: 0.1128 (range: 0.1128 - 0.1128)
Archetype Transform Summary:
archetype_transform_mean: -0.001806 (range: -0.001806 - -0.001806)
archetype_transform_std: 0.120840 (range: 0.120840 - 0.120840)
archetype_transform_norm: 8.629844 (range: 8.629844 - 8.629844)
archetype_transform_grad_norm: 0.291273 (range: 0.291273 - 0.291273)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0265, max=0.3391, mean=0.1667
Batch reconstruction MSE: 0.9748
Archetype stats: min=-16.7294, max=14.1771
Archetype change since last debug: 1.376574
Archetype gradients: norm=0.051744, mean=0.001730
Epoch 1/1
Average loss: 0.7594
Archetypal loss: 0.8313
KLD loss: 0.1115
Reconstruction loss: 0.8313
Archetype R²: 0.1151
Archetype transform grad norm: 0.286132
Archetype transform param norm: 8.6522
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.7594 (range: 0.7594 - 0.7594)
archetypal_loss: 0.8313 (range: 0.8313 - 0.8313)
kld_loss: 0.1115 (range: 0.1115 - 0.1115)
reconstruction_loss: 0.8313 (range: 0.8313 - 0.8313)
archetype_r2: 0.1151 (range: 0.1151 - 0.1151)
Archetype Transform Summary:
archetype_transform_mean: -0.001788 (range: -0.001788 - -0.001788)
archetype_transform_std: 0.121154 (range: 0.121154 - 0.121154)
archetype_transform_norm: 8.652189 (range: 8.652189 - 8.652189)
archetype_transform_grad_norm: 0.286132 (range: 0.286132 - 0.286132)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0347, max=0.3829, mean=0.1667
Batch reconstruction MSE: 0.9313
Archetype stats: min=-17.0767, max=14.5356
Archetype change since last debug: 1.485188
Archetype gradients: norm=0.031483, mean=0.001505
Epoch 1/1
Average loss: 0.7580
Archetypal loss: 0.8298
KLD loss: 0.1116
Reconstruction loss: 0.8298
Archetype R²: 0.1168
Archetype transform grad norm: 0.281147
Archetype transform param norm: 8.6937
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.7580 (range: 0.7580 - 0.7580)
archetypal_loss: 0.8298 (range: 0.8298 - 0.8298)
kld_loss: 0.1116 (range: 0.1116 - 0.1116)
reconstruction_loss: 0.8298 (range: 0.8298 - 0.8298)
archetype_r2: 0.1168 (range: 0.1168 - 0.1168)
Archetype Transform Summary:
archetype_transform_mean: -0.001838 (range: -0.001838 - -0.001838)
archetype_transform_std: 0.121735 (range: 0.121735 - 0.121735)
archetype_transform_norm: 8.693747 (range: 8.693747 - 8.693747)
archetype_transform_grad_norm: 0.281147 (range: 0.281147 - 0.281147)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0317, max=0.3303, mean=0.1667
Batch reconstruction MSE: 0.9372
Archetype stats: min=-17.1080, max=14.6067
Archetype change since last debug: 1.810439
Archetype gradients: norm=0.053036, mean=0.001779
Epoch 1/1
Average loss: 0.7591
Archetypal loss: 0.8314
KLD loss: 0.1087
Reconstruction loss: 0.8314
Archetype R²: 0.1151
Archetype transform grad norm: 0.310599
Archetype transform param norm: 8.7269
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.7591 (range: 0.7591 - 0.7591)
archetypal_loss: 0.8314 (range: 0.8314 - 0.8314)
kld_loss: 0.1087 (range: 0.1087 - 0.1087)
reconstruction_loss: 0.8314 (range: 0.8314 - 0.8314)
archetype_r2: 0.1151 (range: 0.1151 - 0.1151)
Archetype Transform Summary:
archetype_transform_mean: -0.001829 (range: -0.001829 - -0.001829)
archetype_transform_std: 0.122200 (range: 0.122200 - 0.122200)
archetype_transform_norm: 8.726927 (range: 8.726927 - 8.726927)
archetype_transform_grad_norm: 0.310599 (range: 0.310599 - 0.310599)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0319, max=0.3333, mean=0.1667
Batch reconstruction MSE: 0.9027
Archetype stats: min=-17.3765, max=14.9362
Archetype change since last debug: 1.259701
Archetype gradients: norm=0.033252, mean=0.001544
Epoch 1/1
Average loss: 0.7571
Archetypal loss: 0.8293
KLD loss: 0.1079
Reconstruction loss: 0.8293
Archetype R²: 0.1175
Archetype transform grad norm: 0.290884
Archetype transform param norm: 8.7607
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.7571 (range: 0.7571 - 0.7571)
archetypal_loss: 0.8293 (range: 0.8293 - 0.8293)
kld_loss: 0.1079 (range: 0.1079 - 0.1079)
reconstruction_loss: 0.8293 (range: 0.8293 - 0.8293)
archetype_r2: 0.1175 (range: 0.1175 - 0.1175)
Archetype Transform Summary:
archetype_transform_mean: -0.001884 (range: -0.001884 - -0.001884)
archetype_transform_std: 0.122672 (range: 0.122672 - 0.122672)
archetype_transform_norm: 8.760682 (range: 8.760682 - 8.760682)
archetype_transform_grad_norm: 0.290884 (range: 0.290884 - 0.290884)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0341, max=0.3363, mean=0.1667
Batch reconstruction MSE: 0.9145
Archetype stats: min=-17.4755, max=15.0766
Archetype change since last debug: 1.621682
Archetype gradients: norm=0.054858, mean=0.001985
Epoch 1/1
Average loss: 0.7571
Archetypal loss: 0.8297
KLD loss: 0.1039
Reconstruction loss: 0.8297
Archetype R²: 0.1170
Archetype transform grad norm: 0.301599
Archetype transform param norm: 8.7904
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.7571 (range: 0.7571 - 0.7571)
archetypal_loss: 0.8297 (range: 0.8297 - 0.8297)
kld_loss: 0.1039 (range: 0.1039 - 0.1039)
reconstruction_loss: 0.8297 (range: 0.8297 - 0.8297)
archetype_r2: 0.1170 (range: 0.1170 - 0.1170)
Archetype Transform Summary:
archetype_transform_mean: -0.001863 (range: -0.001863 - -0.001863)
archetype_transform_std: 0.123088 (range: 0.123088 - 0.123088)
archetype_transform_norm: 8.790361 (range: 8.790361 - 8.790361)
archetype_transform_grad_norm: 0.301599 (range: 0.301599 - 0.301599)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0297, max=0.3271, mean=0.1667
Batch reconstruction MSE: 0.9057
Archetype stats: min=-17.8307, max=15.4791
Archetype change since last debug: 1.394471
Archetype gradients: norm=0.035257, mean=0.001619
Epoch 1/1
Average loss: 0.7563
Archetypal loss: 0.8285
KLD loss: 0.1059
Reconstruction loss: 0.8285
Archetype R²: 0.1182
Archetype transform grad norm: 0.290861
Archetype transform param norm: 8.8314
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.7563 (range: 0.7563 - 0.7563)
archetypal_loss: 0.8285 (range: 0.8285 - 0.8285)
kld_loss: 0.1059 (range: 0.1059 - 0.1059)
reconstruction_loss: 0.8285 (range: 0.8285 - 0.8285)
archetype_r2: 0.1182 (range: 0.1182 - 0.1182)
Archetype Transform Summary:
archetype_transform_mean: -0.001973 (range: -0.001973 - -0.001973)
archetype_transform_std: 0.123661 (range: 0.123661 - 0.123661)
archetype_transform_norm: 8.831439 (range: 8.831439 - 8.831439)
archetype_transform_grad_norm: 0.290861 (range: 0.290861 - 0.290861)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0360, max=0.3641, mean=0.1667
Batch reconstruction MSE: 1.0074
Archetype stats: min=-17.7554, max=15.4275
Archetype change since last debug: 1.722676
Archetype gradients: norm=0.067297, mean=0.002459
Epoch 1/1
Average loss: 0.7585
Archetypal loss: 0.8315
KLD loss: 0.1009
Reconstruction loss: 0.8315
Archetype R²: 0.1148
Archetype transform grad norm: 0.303142
Archetype transform param norm: 8.8336
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.7585 (range: 0.7585 - 0.7585)
archetypal_loss: 0.8315 (range: 0.8315 - 0.8315)
kld_loss: 0.1009 (range: 0.1009 - 0.1009)
reconstruction_loss: 0.8315 (range: 0.8315 - 0.8315)
archetype_r2: 0.1148 (range: 0.1148 - 0.1148)
Archetype Transform Summary:
archetype_transform_mean: -0.001904 (range: -0.001904 - -0.001904)
archetype_transform_std: 0.123693 (range: 0.123693 - 0.123693)
archetype_transform_norm: 8.833626 (range: 8.833626 - 8.833626)
archetype_transform_grad_norm: 0.303142 (range: 0.303142 - 0.303142)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0296, max=0.3531, mean=0.1667
Batch reconstruction MSE: 0.9617
Archetype stats: min=-17.8956, max=15.6352
Archetype change since last debug: 1.321427
Archetype gradients: norm=0.039704, mean=0.001867
Epoch 1/1
Average loss: 0.7580
Archetypal loss: 0.8300
KLD loss: 0.1095
Reconstruction loss: 0.8300
Archetype R²: 0.1165
Archetype transform grad norm: 0.301008
Archetype transform param norm: 8.8540
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.7580 (range: 0.7580 - 0.7580)
archetypal_loss: 0.8300 (range: 0.8300 - 0.8300)
kld_loss: 0.1095 (range: 0.1095 - 0.1095)
reconstruction_loss: 0.8300 (range: 0.8300 - 0.8300)
archetype_r2: 0.1165 (range: 0.1165 - 0.1165)
Archetype Transform Summary:
archetype_transform_mean: -0.002036 (range: -0.002036 - -0.002036)
archetype_transform_std: 0.123977 (range: 0.123977 - 0.123977)
archetype_transform_norm: 8.854048 (range: 8.854048 - 8.854048)
archetype_transform_grad_norm: 0.301008 (range: 0.301008 - 0.301008)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0367, max=0.3636, mean=0.1667
Batch reconstruction MSE: 1.0282
Archetype stats: min=-17.5952, max=15.4198
Archetype change since last debug: 1.561445
Archetype gradients: norm=0.058336, mean=0.002396
Epoch 1/1
Average loss: 0.7587
Archetypal loss: 0.8316
KLD loss: 0.1022
Reconstruction loss: 0.8316
Archetype R²: 0.1147
Archetype transform grad norm: 0.307686
Archetype transform param norm: 8.8428
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.7587 (range: 0.7587 - 0.7587)
archetypal_loss: 0.8316 (range: 0.8316 - 0.8316)
kld_loss: 0.1022 (range: 0.1022 - 0.1022)
reconstruction_loss: 0.8316 (range: 0.8316 - 0.8316)
archetype_r2: 0.1147 (range: 0.1147 - 0.1147)
Archetype Transform Summary:
archetype_transform_mean: -0.001936 (range: -0.001936 - -0.001936)
archetype_transform_std: 0.123821 (range: 0.123821 - 0.123821)
archetype_transform_norm: 8.842795 (range: 8.842795 - 8.842795)
archetype_transform_grad_norm: 0.307686 (range: 0.307686 - 0.307686)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0280, max=0.3608, mean=0.1667
Batch reconstruction MSE: 0.9319
Archetype stats: min=-17.6978, max=15.6483
Archetype change since last debug: 1.141794
Archetype gradients: norm=0.023267, mean=0.001128
Epoch 1/1
Average loss: 0.7562
Archetypal loss: 0.8286
KLD loss: 0.1044
Reconstruction loss: 0.8286
Archetype R²: 0.1181
Archetype transform grad norm: 0.287896
Archetype transform param norm: 8.8708
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.7562 (range: 0.7562 - 0.7562)
archetypal_loss: 0.8286 (range: 0.8286 - 0.8286)
kld_loss: 0.1044 (range: 0.1044 - 0.1044)
reconstruction_loss: 0.8286 (range: 0.8286 - 0.8286)
archetype_r2: 0.1181 (range: 0.1181 - 0.1181)
Archetype Transform Summary:
archetype_transform_mean: -0.002054 (range: -0.002054 - -0.002054)
archetype_transform_std: 0.124212 (range: 0.124212 - 0.124212)
archetype_transform_norm: 8.870829 (range: 8.870829 - 8.870829)
archetype_transform_grad_norm: 0.287896 (range: 0.287896 - 0.287896)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0394, max=0.3247, mean=0.1667
Batch reconstruction MSE: 0.9288
Archetype stats: min=-17.6692, max=15.5550
Archetype change since last debug: 1.432813
Archetype gradients: norm=0.045119, mean=0.001863
Epoch 1/1
Average loss: 0.7561
Archetypal loss: 0.8288
KLD loss: 0.1016
Reconstruction loss: 0.8288
Archetype R²: 0.1179
Archetype transform grad norm: 0.298068
Archetype transform param norm: 8.8882
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.7561 (range: 0.7561 - 0.7561)
archetypal_loss: 0.8288 (range: 0.8288 - 0.8288)
kld_loss: 0.1016 (range: 0.1016 - 0.1016)
reconstruction_loss: 0.8288 (range: 0.8288 - 0.8288)
archetype_r2: 0.1179 (range: 0.1179 - 0.1179)
Archetype Transform Summary:
archetype_transform_mean: -0.001997 (range: -0.001997 - -0.001997)
archetype_transform_std: 0.124455 (range: 0.124455 - 0.124455)
archetype_transform_norm: 8.888167 (range: 8.888167 - 8.888167)
archetype_transform_grad_norm: 0.298068 (range: 0.298068 - 0.298068)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0345, max=0.3453, mean=0.1667
Batch reconstruction MSE: 0.9076
Archetype stats: min=-17.8326, max=15.9055
Archetype change since last debug: 1.196105
Archetype gradients: norm=0.022728, mean=0.001083
Epoch 1/1
Average loss: 0.7557
Archetypal loss: 0.8282
KLD loss: 0.1027
Reconstruction loss: 0.8282
Archetype R²: 0.1186
Archetype transform grad norm: 0.298393
Archetype transform param norm: 8.9208
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.7557 (range: 0.7557 - 0.7557)
archetypal_loss: 0.8282 (range: 0.8282 - 0.8282)
kld_loss: 0.1027 (range: 0.1027 - 0.1027)
reconstruction_loss: 0.8282 (range: 0.8282 - 0.8282)
archetype_r2: 0.1186 (range: 0.1186 - 0.1186)
Archetype Transform Summary:
archetype_transform_mean: -0.002102 (range: -0.002102 - -0.002102)
archetype_transform_std: 0.124911 (range: 0.124911 - 0.124911)
archetype_transform_norm: 8.920828 (range: 8.920828 - 8.920828)
archetype_transform_grad_norm: 0.298393 (range: 0.298393 - 0.298393)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0345, max=0.3057, mean=0.1667
Batch reconstruction MSE: 0.9373
Archetype stats: min=-17.9083, max=15.7541
Archetype change since last debug: 1.459037
Archetype gradients: norm=0.047363, mean=0.001868
Epoch 1/1
Average loss: 0.7556
Archetypal loss: 0.8286
KLD loss: 0.0982
Reconstruction loss: 0.8286
Archetype R²: 0.1181
Archetype transform grad norm: 0.298383
Archetype transform param norm: 8.9336
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.7556 (range: 0.7556 - 0.7556)
archetypal_loss: 0.8286 (range: 0.8286 - 0.8286)
kld_loss: 0.0982 (range: 0.0982 - 0.0982)
reconstruction_loss: 0.8286 (range: 0.8286 - 0.8286)
archetype_r2: 0.1181 (range: 0.1181 - 0.1181)
Archetype Transform Summary:
archetype_transform_mean: -0.002048 (range: -0.002048 - -0.002048)
archetype_transform_std: 0.125091 (range: 0.125091 - 0.125091)
archetype_transform_norm: 8.933599 (range: 8.933599 - 8.933599)
archetype_transform_grad_norm: 0.298383 (range: 0.298383 - 0.298383)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0327, max=0.2984, mean=0.1667
Batch reconstruction MSE: 0.8720
Archetype stats: min=-18.0971, max=16.0638
Archetype change since last debug: 1.223996
Archetype gradients: norm=0.023348, mean=0.001086
Epoch 1/1
Average loss: 0.7549
Archetypal loss: 0.8279
KLD loss: 0.0981
Reconstruction loss: 0.8279
Archetype R²: 0.1190
Archetype transform grad norm: 0.312903
Archetype transform param norm: 8.9703
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.7549 (range: 0.7549 - 0.7549)
archetypal_loss: 0.8279 (range: 0.8279 - 0.8279)
kld_loss: 0.0981 (range: 0.0981 - 0.0981)
reconstruction_loss: 0.8279 (range: 0.8279 - 0.8279)
archetype_r2: 0.1190 (range: 0.1190 - 0.1190)
Archetype Transform Summary:
archetype_transform_mean: -0.002145 (range: -0.002145 - -0.002145)
archetype_transform_std: 0.125603 (range: 0.125603 - 0.125603)
archetype_transform_norm: 8.970278 (range: 8.970278 - 8.970278)
archetype_transform_grad_norm: 0.312903 (range: 0.312903 - 0.312903)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0373, max=0.3028, mean=0.1667
Batch reconstruction MSE: 0.8674
Archetype stats: min=-18.1452, max=15.9575
Archetype change since last debug: 1.470055
Archetype gradients: norm=0.044418, mean=0.001729
Epoch 1/1
Average loss: 0.7535
Archetypal loss: 0.8265
KLD loss: 0.0959
Reconstruction loss: 0.8265
Archetype R²: 0.1205
Archetype transform grad norm: 0.296789
Archetype transform param norm: 8.9937
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.7535 (range: 0.7535 - 0.7535)
archetypal_loss: 0.8265 (range: 0.8265 - 0.8265)
kld_loss: 0.0959 (range: 0.0959 - 0.0959)
reconstruction_loss: 0.8265 (range: 0.8265 - 0.8265)
archetype_r2: 0.1205 (range: 0.1205 - 0.1205)
Archetype Transform Summary:
archetype_transform_mean: -0.002093 (range: -0.002093 - -0.002093)
archetype_transform_std: 0.125932 (range: 0.125932 - 0.125932)
archetype_transform_norm: 8.993689 (range: 8.993689 - 8.993689)
archetype_transform_grad_norm: 0.296789 (range: 0.296789 - 0.296789)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0311, max=0.2949, mean=0.1667
Batch reconstruction MSE: 0.8911
Archetype stats: min=-18.4734, max=16.3885
Archetype change since last debug: 1.526721
Archetype gradients: norm=0.037508, mean=0.001754
Epoch 1/1
Average loss: 0.7538
Archetypal loss: 0.8270
KLD loss: 0.0947
Reconstruction loss: 0.8270
Archetype R²: 0.1199
Archetype transform grad norm: 0.303138
Archetype transform param norm: 9.0305
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.7538 (range: 0.7538 - 0.7538)
archetypal_loss: 0.8270 (range: 0.8270 - 0.8270)
kld_loss: 0.0947 (range: 0.0947 - 0.0947)
reconstruction_loss: 0.8270 (range: 0.8270 - 0.8270)
archetype_r2: 0.1199 (range: 0.1199 - 0.1199)
Archetype Transform Summary:
archetype_transform_mean: -0.002203 (range: -0.002203 - -0.002203)
archetype_transform_std: 0.126445 (range: 0.126445 - 0.126445)
archetype_transform_norm: 9.030451 (range: 9.030451 - 9.030451)
archetype_transform_grad_norm: 0.303138 (range: 0.303138 - 0.303138)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0367, max=0.2980, mean=0.1667
Batch reconstruction MSE: 0.9143
Archetype stats: min=-18.4724, max=16.1634
Archetype change since last debug: 1.581316
Archetype gradients: norm=0.070718, mean=0.002433
Epoch 1/1
Average loss: 0.7541
Archetypal loss: 0.8274
KLD loss: 0.0939
Reconstruction loss: 0.8274
Archetype R²: 0.1194
Archetype transform grad norm: 0.305947
Archetype transform param norm: 9.0462
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.7541 (range: 0.7541 - 0.7541)
archetypal_loss: 0.8274 (range: 0.8274 - 0.8274)
kld_loss: 0.0939 (range: 0.0939 - 0.0939)
reconstruction_loss: 0.8274 (range: 0.8274 - 0.8274)
archetype_r2: 0.1194 (range: 0.1194 - 0.1194)
Archetype Transform Summary:
archetype_transform_mean: -0.002122 (range: -0.002122 - -0.002122)
archetype_transform_std: 0.126667 (range: 0.126667 - 0.126667)
archetype_transform_norm: 9.046235 (range: 9.046235 - 9.046235)
archetype_transform_grad_norm: 0.305947 (range: 0.305947 - 0.305947)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0355, max=0.3261, mean=0.1667
Batch reconstruction MSE: 0.9650
Archetype stats: min=-18.7674, max=16.6250
Archetype change since last debug: 1.862368
Archetype gradients: norm=0.068482, mean=0.003026
Epoch 1/1
Average loss: 0.7553
Archetypal loss: 0.8286
KLD loss: 0.0959
Reconstruction loss: 0.8286
Archetype R²: 0.1181
Archetype transform grad norm: 0.309977
Archetype transform param norm: 9.0620
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.7553 (range: 0.7553 - 0.7553)
archetypal_loss: 0.8286 (range: 0.8286 - 0.8286)
kld_loss: 0.0959 (range: 0.0959 - 0.0959)
reconstruction_loss: 0.8286 (range: 0.8286 - 0.8286)
archetype_r2: 0.1181 (range: 0.1181 - 0.1181)
Archetype Transform Summary:
archetype_transform_mean: -0.002255 (range: -0.002255 - -0.002255)
archetype_transform_std: 0.126886 (range: 0.126886 - 0.126886)
archetype_transform_norm: 9.061987 (range: 9.061987 - 9.061987)
archetype_transform_grad_norm: 0.309977 (range: 0.309977 - 0.309977)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0393, max=0.2999, mean=0.1667
Batch reconstruction MSE: 0.9593
Archetype stats: min=-18.6339, max=16.1563
Archetype change since last debug: 1.754235
Archetype gradients: norm=0.106817, mean=0.003433
Epoch 1/1
Average loss: 0.7554
Archetypal loss: 0.8286
KLD loss: 0.0964
Reconstruction loss: 0.8286
Archetype R²: 0.1181
Archetype transform grad norm: 0.313793
Archetype transform param norm: 9.0583
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.7554 (range: 0.7554 - 0.7554)
archetypal_loss: 0.8286 (range: 0.8286 - 0.8286)
kld_loss: 0.0964 (range: 0.0964 - 0.0964)
reconstruction_loss: 0.8286 (range: 0.8286 - 0.8286)
archetype_r2: 0.1181 (range: 0.1181 - 0.1181)
Archetype Transform Summary:
archetype_transform_mean: -0.002109 (range: -0.002109 - -0.002109)
archetype_transform_std: 0.126836 (range: 0.126836 - 0.126836)
archetype_transform_norm: 9.058289 (range: 9.058289 - 9.058289)
archetype_transform_grad_norm: 0.313793 (range: 0.313793 - 0.313793)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0380, max=0.3547, mean=0.1667
Batch reconstruction MSE: 0.9761
Archetype stats: min=-18.8745, max=16.6410
Archetype change since last debug: 1.969607
Archetype gradients: norm=0.077138, mean=0.003254
Epoch 1/1
Average loss: 0.7552
Archetypal loss: 0.8286
KLD loss: 0.0951
Reconstruction loss: 0.8286
Archetype R²: 0.1181
Archetype transform grad norm: 0.305650
Archetype transform param norm: 9.0687
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.7552 (range: 0.7552 - 0.7552)
archetypal_loss: 0.8286 (range: 0.8286 - 0.8286)
kld_loss: 0.0951 (range: 0.0951 - 0.0951)
reconstruction_loss: 0.8286 (range: 0.8286 - 0.8286)
archetype_r2: 0.1181 (range: 0.1181 - 0.1181)
Archetype Transform Summary:
archetype_transform_mean: -0.002278 (range: -0.002278 - -0.002278)
archetype_transform_std: 0.126980 (range: 0.126980 - 0.126980)
archetype_transform_norm: 9.068724 (range: 9.068724 - 9.068724)
archetype_transform_grad_norm: 0.305650 (range: 0.305650 - 0.305650)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0307, max=0.3431, mean=0.1667
Batch reconstruction MSE: 0.9531
Archetype stats: min=-18.7939, max=16.1718
Archetype change since last debug: 1.941454
Archetype gradients: norm=0.085222, mean=0.002860
Epoch 1/1
Average loss: 0.7546
Archetypal loss: 0.8279
KLD loss: 0.0949
Reconstruction loss: 0.8279
Archetype R²: 0.1188
Archetype transform grad norm: 0.304218
Archetype transform param norm: 9.0682
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.7546 (range: 0.7546 - 0.7546)
archetypal_loss: 0.8279 (range: 0.8279 - 0.8279)
kld_loss: 0.0949 (range: 0.0949 - 0.0949)
reconstruction_loss: 0.8279 (range: 0.8279 - 0.8279)
archetype_r2: 0.1188 (range: 0.1188 - 0.1188)
Archetype Transform Summary:
archetype_transform_mean: -0.002151 (range: -0.002151 - -0.002151)
archetype_transform_std: 0.126975 (range: 0.126975 - 0.126975)
archetype_transform_norm: 9.068236 (range: 9.068236 - 9.068236)
archetype_transform_grad_norm: 0.304218 (range: 0.304218 - 0.304218)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0282, max=0.3863, mean=0.1667
Batch reconstruction MSE: 0.9752
Archetype stats: min=-19.0286, max=16.6254
Archetype change since last debug: 1.738037
Archetype gradients: norm=0.056828, mean=0.002583
Epoch 1/1
Average loss: 0.7548
Archetypal loss: 0.8282
KLD loss: 0.0944
Reconstruction loss: 0.8282
Archetype R²: 0.1185
Archetype transform grad norm: 0.299837
Archetype transform param norm: 9.0772
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.7548 (range: 0.7548 - 0.7548)
archetypal_loss: 0.8282 (range: 0.8282 - 0.8282)
kld_loss: 0.0944 (range: 0.0944 - 0.0944)
reconstruction_loss: 0.8282 (range: 0.8282 - 0.8282)
archetype_r2: 0.1185 (range: 0.1185 - 0.1185)
Archetype Transform Summary:
archetype_transform_mean: -0.002270 (range: -0.002270 - -0.002270)
archetype_transform_std: 0.127098 (range: 0.127098 - 0.127098)
archetype_transform_norm: 9.077166 (range: 9.077166 - 9.077166)
archetype_transform_grad_norm: 0.299837 (range: 0.299837 - 0.299837)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0135, max=0.3583, mean=0.1667
Batch reconstruction MSE: 0.9454
Archetype stats: min=-18.9245, max=16.2442
Archetype change since last debug: 1.656010
Archetype gradients: norm=0.067938, mean=0.002316
Epoch 1/1
Average loss: 0.7543
Archetypal loss: 0.8280
KLD loss: 0.0917
Reconstruction loss: 0.8280
Archetype R²: 0.1188
Archetype transform grad norm: 0.306405
Archetype transform param norm: 9.0800
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.7543 (range: 0.7543 - 0.7543)
archetypal_loss: 0.8280 (range: 0.8280 - 0.8280)
kld_loss: 0.0917 (range: 0.0917 - 0.0917)
reconstruction_loss: 0.8280 (range: 0.8280 - 0.8280)
archetype_r2: 0.1188 (range: 0.1188 - 0.1188)
Archetype Transform Summary:
archetype_transform_mean: -0.002171 (range: -0.002171 - -0.002171)
archetype_transform_std: 0.127140 (range: 0.127140 - 0.127140)
archetype_transform_norm: 9.080047 (range: 9.080047 - 9.080047)
archetype_transform_grad_norm: 0.306405 (range: 0.306405 - 0.306405)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0288, max=0.2712, mean=0.1667
Batch reconstruction MSE: 0.8882
Archetype stats: min=-18.9395, max=16.7026
Archetype change since last debug: 1.456533
Archetype gradients: norm=0.033447, mean=0.001474
Epoch 1/1
Average loss: 0.7528
Archetypal loss: 0.8260
KLD loss: 0.0932
Reconstruction loss: 0.8260
Archetype R²: 0.1210
Archetype transform grad norm: 0.293087
Archetype transform param norm: 9.1032
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.7528 (range: 0.7528 - 0.7528)
archetypal_loss: 0.8260 (range: 0.8260 - 0.8260)
kld_loss: 0.0932 (range: 0.0932 - 0.0932)
reconstruction_loss: 0.8260 (range: 0.8260 - 0.8260)
archetype_r2: 0.1210 (range: 0.1210 - 0.1210)
Archetype Transform Summary:
archetype_transform_mean: -0.002269 (range: -0.002269 - -0.002269)
archetype_transform_std: 0.127462 (range: 0.127462 - 0.127462)
archetype_transform_norm: 9.103169 (range: 9.103169 - 9.103169)
archetype_transform_grad_norm: 0.293087 (range: 0.293087 - 0.293087)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0411, max=0.3007, mean=0.1667
Batch reconstruction MSE: 0.8833
Archetype stats: min=-19.0013, max=16.6087
Archetype change since last debug: 1.419662
Archetype gradients: norm=0.045377, mean=0.001642
Epoch 1/1
Average loss: 0.7521
Archetypal loss: 0.8257
KLD loss: 0.0891
Reconstruction loss: 0.8257
Archetype R²: 0.1213
Archetype transform grad norm: 0.294264
Archetype transform param norm: 9.1245
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.7521 (range: 0.7521 - 0.7521)
archetypal_loss: 0.8257 (range: 0.8257 - 0.8257)
kld_loss: 0.0891 (range: 0.0891 - 0.0891)
reconstruction_loss: 0.8257 (range: 0.8257 - 0.8257)
archetype_r2: 0.1213 (range: 0.1213 - 0.1213)
Archetype Transform Summary:
archetype_transform_mean: -0.002202 (range: -0.002202 - -0.002202)
archetype_transform_std: 0.127762 (range: 0.127762 - 0.127762)
archetype_transform_norm: 9.124479 (range: 9.124479 - 9.124479)
archetype_transform_grad_norm: 0.294264 (range: 0.294264 - 0.294264)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0470, max=0.2779, mean=0.1667
Batch reconstruction MSE: 0.8783
Archetype stats: min=-19.1587, max=17.0492
Archetype change since last debug: 1.352393
Archetype gradients: norm=0.028216, mean=0.001215
Epoch 1/1
Average loss: 0.7518
Archetypal loss: 0.8254
KLD loss: 0.0893
Reconstruction loss: 0.8254
Archetype R²: 0.1217
Archetype transform grad norm: 0.288979
Archetype transform param norm: 9.1540
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.7518 (range: 0.7518 - 0.7518)
archetypal_loss: 0.8254 (range: 0.8254 - 0.8254)
kld_loss: 0.0893 (range: 0.0893 - 0.0893)
reconstruction_loss: 0.8254 (range: 0.8254 - 0.8254)
archetype_r2: 0.1217 (range: 0.1217 - 0.1217)
Archetype Transform Summary:
archetype_transform_mean: -0.002280 (range: -0.002280 - -0.002280)
archetype_transform_std: 0.128174 (range: 0.128174 - 0.128174)
archetype_transform_norm: 9.154005 (range: 9.154005 - 9.154005)
archetype_transform_grad_norm: 0.288979 (range: 0.288979 - 0.288979)
Fold 3/3
Model input_dim: 50 (auto-detected from data)
Archetypes parameter registered: True
Archetypes requires_grad: True
Deep_AA (Deep Archetypal Analysis) initialized:
- Single-stage architecture (like Deep_2)
- Inflation factor: 1.5
- Direct archetypal coordinates (no bottleneck)
Consolidated Archetype Initialization
PCHA: True, Inflation: True (factor: 1.5)
Test inflation: False
Running PCHA initialization...
Input shape: (128, 50)
Target archetypes: 6
Running PCHA with 6 archetypes...
Data shape for PCHA: (50, 128)
PCHA Results:
Archetypes shape: (6, 50)
Archetype R²: 0.2233
SSE: 4384.1061
PCHA archetype R²: 0.2233
Archetype shape: (6, 50)
[OK] Initialized 6 archetypes using PCHA
Scalar Archetypal Inflation (factor: 1.50)
[OK] Inflation complete
[STATS] Positioning verification:
Data radius (max): 16.061
Data radius (mean): 6.037
Archetype distances: 3.365 to 11.476
Archetypes outside data: 0/6
Min archetype separation: 6.592
[OK] Archetype initialization complete (success: True)
[OK] Archetype initialization complete (PCHA: True, Inflation: 1.5)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0018, max=0.9508, mean=0.1667
Batch reconstruction MSE: 0.8959
Archetype stats: min=-1.0104, max=0.6119
Archetype gradients: norm=0.007653, mean=0.000346
Epoch 1/1
Average loss: 0.8881
Archetypal loss: 0.9850
KLD loss: 0.0160
Reconstruction loss: 0.9850
Archetype R²: -0.0120
Archetype transform grad norm: 0.097659
Archetype transform param norm: 5.7926
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.8881 (range: 0.8881 - 0.8881)
archetypal_loss: 0.9850 (range: 0.9850 - 0.9850)
kld_loss: 0.0160 (range: 0.0160 - 0.0160)
reconstruction_loss: 0.9850 (range: 0.9850 - 0.9850)
archetype_r2: -0.0120 (range: -0.0120 - -0.0120)
Archetype Transform Summary:
archetype_transform_mean: 0.000922 (range: 0.000922 - 0.000922)
archetype_transform_std: 0.081115 (range: 0.081115 - 0.081115)
archetype_transform_norm: 5.792601 (range: 5.792601 - 5.792601)
archetype_transform_grad_norm: 0.097659 (range: 0.097659 - 0.097659)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0011, max=0.9171, mean=0.1667
Batch reconstruction MSE: 0.8545
Archetype stats: min=-0.5476, max=0.5019
Archetype change since last debug: 3.888840
Archetype gradients: norm=0.002379, mean=0.000111
Epoch 1/1
Average loss: 0.8843
Archetypal loss: 0.9804
KLD loss: 0.0194
Reconstruction loss: 0.9804
Archetype R²: -0.0072
Archetype transform grad norm: 0.078666
Archetype transform param norm: 5.7930
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.8843 (range: 0.8843 - 0.8843)
archetypal_loss: 0.9804 (range: 0.9804 - 0.9804)
kld_loss: 0.0194 (range: 0.0194 - 0.0194)
reconstruction_loss: 0.9804 (range: 0.9804 - 0.9804)
archetype_r2: -0.0072 (range: -0.0072 - -0.0072)
Archetype Transform Summary:
archetype_transform_mean: 0.000933 (range: 0.000933 - 0.000933)
archetype_transform_std: 0.081120 (range: 0.081120 - 0.081120)
archetype_transform_norm: 5.792963 (range: 5.792963 - 5.792963)
archetype_transform_grad_norm: 0.078666 (range: 0.078666 - 0.078666)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0013, max=0.8721, mean=0.1667
Batch reconstruction MSE: 0.8567
Archetype stats: min=-0.6547, max=0.7299
Archetype change since last debug: 1.115991
Archetype gradients: norm=0.002307, mean=0.000103
Epoch 1/1
Average loss: 0.8827
Archetypal loss: 0.9775
KLD loss: 0.0289
Reconstruction loss: 0.9775
Archetype R²: -0.0043
Archetype transform grad norm: 0.083563
Archetype transform param norm: 5.8223
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.8827 (range: 0.8827 - 0.8827)
archetypal_loss: 0.9775 (range: 0.9775 - 0.9775)
kld_loss: 0.0289 (range: 0.0289 - 0.0289)
reconstruction_loss: 0.9775 (range: 0.9775 - 0.9775)
archetype_r2: -0.0043 (range: -0.0043 - -0.0043)
Archetype Transform Summary:
archetype_transform_mean: 0.000787 (range: 0.000787 - 0.000787)
archetype_transform_std: 0.081533 (range: 0.081533 - 0.081533)
archetype_transform_norm: 5.822344 (range: 5.822344 - 5.822344)
archetype_transform_grad_norm: 0.083563 (range: 0.083563 - 0.083563)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0003, max=0.9473, mean=0.1667
Batch reconstruction MSE: 0.8592
Archetype stats: min=-1.0841, max=1.2104
Archetype change since last debug: 2.440947
Archetype gradients: norm=0.005394, mean=0.000179
Epoch 1/1
Average loss: 0.8775
Archetypal loss: 0.9671
KLD loss: 0.0709
Reconstruction loss: 0.9671
Archetype R²: 0.0064
Archetype transform grad norm: 0.103389
Archetype transform param norm: 5.9458
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.8775 (range: 0.8775 - 0.8775)
archetypal_loss: 0.9671 (range: 0.9671 - 0.9671)
kld_loss: 0.0709 (range: 0.0709 - 0.0709)
reconstruction_loss: 0.9671 (range: 0.9671 - 0.9671)
archetype_r2: 0.0064 (range: 0.0064 - 0.0064)
Archetype Transform Summary:
archetype_transform_mean: 0.000536 (range: 0.000536 - 0.000536)
archetype_transform_std: 0.083265 (range: 0.083265 - 0.083265)
archetype_transform_norm: 5.945834 (range: 5.945834 - 5.945834)
archetype_transform_grad_norm: 0.103389 (range: 0.103389 - 0.103389)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0013, max=0.9155, mean=0.1667
Batch reconstruction MSE: 0.8988
Archetype stats: min=-2.3996, max=2.3753
Archetype change since last debug: 6.639153
Archetype gradients: norm=0.011268, mean=0.000420
Epoch 1/1
Average loss: 0.8640
Archetypal loss: 0.9466
KLD loss: 0.1208
Reconstruction loss: 0.9466
Archetype R²: 0.0271
Archetype transform grad norm: 0.137275
Archetype transform param norm: 6.2401
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.8640 (range: 0.8640 - 0.8640)
archetypal_loss: 0.9466 (range: 0.9466 - 0.9466)
kld_loss: 0.1208 (range: 0.1208 - 0.1208)
reconstruction_loss: 0.9466 (range: 0.9466 - 0.9466)
archetype_r2: 0.0271 (range: 0.0271 - 0.0271)
Archetype Transform Summary:
archetype_transform_mean: 0.000469 (range: 0.000469 - 0.000469)
archetype_transform_std: 0.087386 (range: 0.087386 - 0.087386)
archetype_transform_norm: 6.240062 (range: 6.240062 - 6.240062)
archetype_transform_grad_norm: 0.137275 (range: 0.137275 - 0.137275)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0012, max=0.9593, mean=0.1667
Batch reconstruction MSE: 1.0275
Archetype stats: min=-4.0737, max=3.7797
Archetype change since last debug: 10.011249
Archetype gradients: norm=0.041135, mean=0.001164
Epoch 1/1
Average loss: 0.8522
Archetypal loss: 0.9315
KLD loss: 0.1380
Reconstruction loss: 0.9315
Archetype R²: 0.0421
Archetype transform grad norm: 0.169123
Archetype transform param norm: 6.5843
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.8522 (range: 0.8522 - 0.8522)
archetypal_loss: 0.9315 (range: 0.9315 - 0.9315)
kld_loss: 0.1380 (range: 0.1380 - 0.1380)
reconstruction_loss: 0.9315 (range: 0.9315 - 0.9315)
archetype_r2: 0.0421 (range: 0.0421 - 0.0421)
Archetype Transform Summary:
archetype_transform_mean: 0.000849 (range: 0.000849 - 0.000849)
archetype_transform_std: 0.092203 (range: 0.092203 - 0.092203)
archetype_transform_norm: 6.584263 (range: 6.584263 - 6.584263)
archetype_transform_grad_norm: 0.169123 (range: 0.169123 - 0.169123)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0032, max=0.9271, mean=0.1667
Batch reconstruction MSE: 1.0850
Archetype stats: min=-5.2551, max=5.8635
Archetype change since last debug: 8.397576
Archetype gradients: norm=0.040473, mean=0.001775
Epoch 1/1
Average loss: 0.8467
Archetypal loss: 0.9238
KLD loss: 0.1527
Reconstruction loss: 0.9238
Archetype R²: 0.0498
Archetype transform grad norm: 0.179689
Archetype transform param norm: 6.8289
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.8467 (range: 0.8467 - 0.8467)
archetypal_loss: 0.9238 (range: 0.9238 - 0.9238)
kld_loss: 0.1527 (range: 0.1527 - 0.1527)
reconstruction_loss: 0.9238 (range: 0.9238 - 0.9238)
archetype_r2: 0.0498 (range: 0.0498 - 0.0498)
Archetype Transform Summary:
archetype_transform_mean: 0.001088 (range: 0.001088 - 0.001088)
archetype_transform_std: 0.095627 (range: 0.095627 - 0.095627)
archetype_transform_norm: 6.828921 (range: 6.828921 - 6.828921)
archetype_transform_grad_norm: 0.179689 (range: 0.179689 - 0.179689)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0031, max=0.9498, mean=0.1667
Batch reconstruction MSE: 0.9658
Archetype stats: min=-6.6172, max=7.6832
Archetype change since last debug: 5.052866
Archetype gradients: norm=0.025176, mean=0.001038
Epoch 1/1
Average loss: 0.8383
Archetypal loss: 0.9143
KLD loss: 0.1548
Reconstruction loss: 0.9143
Archetype R²: 0.0600
Archetype transform grad norm: 0.184134
Archetype transform param norm: 7.0584
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.8383 (range: 0.8383 - 0.8383)
archetypal_loss: 0.9143 (range: 0.9143 - 0.9143)
kld_loss: 0.1548 (range: 0.1548 - 0.1548)
reconstruction_loss: 0.9143 (range: 0.9143 - 0.9143)
archetype_r2: 0.0600 (range: 0.0600 - 0.0600)
Archetype Transform Summary:
archetype_transform_mean: 0.001239 (range: 0.001239 - 0.001239)
archetype_transform_std: 0.098839 (range: 0.098839 - 0.098839)
archetype_transform_norm: 7.058401 (range: 7.058401 - 7.058401)
archetype_transform_grad_norm: 0.184134 (range: 0.184134 - 0.184134)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0067, max=0.8041, mean=0.1667
Batch reconstruction MSE: 1.1221
Archetype stats: min=-7.8511, max=9.5337
Archetype change since last debug: 5.777794
Archetype gradients: norm=0.042139, mean=0.001768
Epoch 1/1
Average loss: 0.8332
Archetypal loss: 0.9099
KLD loss: 0.1424
Reconstruction loss: 0.9099
Archetype R²: 0.0641
Archetype transform grad norm: 0.194151
Archetype transform param norm: 7.2426
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.8332 (range: 0.8332 - 0.8332)
archetypal_loss: 0.9099 (range: 0.9099 - 0.9099)
kld_loss: 0.1424 (range: 0.1424 - 0.1424)
reconstruction_loss: 0.9099 (range: 0.9099 - 0.9099)
archetype_r2: 0.0641 (range: 0.0641 - 0.0641)
Archetype Transform Summary:
archetype_transform_mean: 0.001324 (range: 0.001324 - 0.001324)
archetype_transform_std: 0.101418 (range: 0.101418 - 0.101418)
archetype_transform_norm: 7.242580 (range: 7.242580 - 7.242580)
archetype_transform_grad_norm: 0.194151 (range: 0.194151 - 0.194151)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0016, max=0.9854, mean=0.1667
Batch reconstruction MSE: 1.0619
Archetype stats: min=-8.4025, max=10.6982
Archetype change since last debug: 5.021244
Archetype gradients: norm=0.072939, mean=0.002364
Epoch 1/1
Average loss: 0.8303
Archetypal loss: 0.9036
KLD loss: 0.1699
Reconstruction loss: 0.9036
Archetype R²: 0.0707
Archetype transform grad norm: 0.204263
Archetype transform param norm: 7.4170
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.8303 (range: 0.8303 - 0.8303)
archetypal_loss: 0.9036 (range: 0.9036 - 0.9036)
kld_loss: 0.1699 (range: 0.1699 - 0.1699)
reconstruction_loss: 0.9036 (range: 0.9036 - 0.9036)
archetype_r2: 0.0707 (range: 0.0707 - 0.0707)
Archetype Transform Summary:
archetype_transform_mean: 0.001484 (range: 0.001484 - 0.001484)
archetype_transform_std: 0.103858 (range: 0.103858 - 0.103858)
archetype_transform_norm: 7.416976 (range: 7.416976 - 7.416976)
archetype_transform_grad_norm: 0.204263 (range: 0.204263 - 0.204263)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0069, max=0.7925, mean=0.1667
Batch reconstruction MSE: 1.1875
Archetype stats: min=-9.3875, max=12.4067
Archetype change since last debug: 4.477588
Archetype gradients: norm=0.079096, mean=0.002781
Epoch 1/1
Average loss: 0.8278
Archetypal loss: 0.9033
KLD loss: 0.1483
Reconstruction loss: 0.9033
Archetype R²: 0.0707
Archetype transform grad norm: 0.211662
Archetype transform param norm: 7.5206
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.8278 (range: 0.8278 - 0.8278)
archetypal_loss: 0.9033 (range: 0.9033 - 0.9033)
kld_loss: 0.1483 (range: 0.1483 - 0.1483)
reconstruction_loss: 0.9033 (range: 0.9033 - 0.9033)
archetype_r2: 0.0707 (range: 0.0707 - 0.0707)
Archetype Transform Summary:
archetype_transform_mean: 0.001505 (range: 0.001505 - 0.001505)
archetype_transform_std: 0.105309 (range: 0.105309 - 0.105309)
archetype_transform_norm: 7.520621 (range: 7.520621 - 7.520621)
archetype_transform_grad_norm: 0.211662 (range: 0.211662 - 0.211662)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0041, max=0.9564, mean=0.1667
Batch reconstruction MSE: 1.0455
Archetype stats: min=-9.3241, max=12.5722
Archetype change since last debug: 3.116470
Archetype gradients: norm=0.047041, mean=0.002072
Epoch 1/1
Average loss: 0.8233
Archetypal loss: 0.8973
KLD loss: 0.1574
Reconstruction loss: 0.8973
Archetype R²: 0.0774
Archetype transform grad norm: 0.207905
Archetype transform param norm: 7.6326
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.8233 (range: 0.8233 - 0.8233)
archetypal_loss: 0.8973 (range: 0.8973 - 0.8973)
kld_loss: 0.1574 (range: 0.1574 - 0.1574)
reconstruction_loss: 0.8973 (range: 0.8973 - 0.8973)
archetype_r2: 0.0774 (range: 0.0774 - 0.0774)
Archetype Transform Summary:
archetype_transform_mean: 0.001692 (range: 0.001692 - 0.001692)
archetype_transform_std: 0.106875 (range: 0.106875 - 0.106875)
archetype_transform_norm: 7.632615 (range: 7.632615 - 7.632615)
archetype_transform_grad_norm: 0.207905 (range: 0.207905 - 0.207905)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0068, max=0.8018, mean=0.1667
Batch reconstruction MSE: 1.0243
Archetype stats: min=-9.8342, max=13.4633
Archetype change since last debug: 3.403397
Archetype gradients: norm=0.037063, mean=0.001813
Epoch 1/1
Average loss: 0.8193
Archetypal loss: 0.8953
KLD loss: 0.1353
Reconstruction loss: 0.8953
Archetype R²: 0.0796
Archetype transform grad norm: 0.209665
Archetype transform param norm: 7.7490
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.8193 (range: 0.8193 - 0.8193)
archetypal_loss: 0.8953 (range: 0.8953 - 0.8953)
kld_loss: 0.1353 (range: 0.1353 - 0.1353)
reconstruction_loss: 0.8953 (range: 0.8953 - 0.8953)
archetype_r2: 0.0796 (range: 0.0796 - 0.0796)
Archetype Transform Summary:
archetype_transform_mean: 0.001785 (range: 0.001785 - 0.001785)
archetype_transform_std: 0.108504 (range: 0.108504 - 0.108504)
archetype_transform_norm: 7.749015 (range: 7.749015 - 7.749015)
archetype_transform_grad_norm: 0.209665 (range: 0.209665 - 0.209665)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0067, max=0.9048, mean=0.1667
Batch reconstruction MSE: 0.9800
Archetype stats: min=-10.1475, max=14.1822
Archetype change since last debug: 2.896405
Archetype gradients: norm=0.029214, mean=0.001324
Epoch 1/1
Average loss: 0.8170
Archetypal loss: 0.8924
KLD loss: 0.1384
Reconstruction loss: 0.8924
Archetype R²: 0.0827
Archetype transform grad norm: 0.210191
Archetype transform param norm: 7.8703
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.8170 (range: 0.8170 - 0.8170)
archetypal_loss: 0.8924 (range: 0.8924 - 0.8924)
kld_loss: 0.1384 (range: 0.1384 - 0.1384)
reconstruction_loss: 0.8924 (range: 0.8924 - 0.8924)
archetype_r2: 0.0827 (range: 0.0827 - 0.0827)
Archetype Transform Summary:
archetype_transform_mean: 0.001890 (range: 0.001890 - 0.001890)
archetype_transform_std: 0.110201 (range: 0.110201 - 0.110201)
archetype_transform_norm: 7.870327 (range: 7.870327 - 7.870327)
archetype_transform_grad_norm: 0.210191 (range: 0.210191 - 0.210191)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0058, max=0.8482, mean=0.1667
Batch reconstruction MSE: 0.9534
Archetype stats: min=-10.7160, max=15.1729
Archetype change since last debug: 3.112539
Archetype gradients: norm=0.031322, mean=0.001469
Epoch 1/1
Average loss: 0.8132
Archetypal loss: 0.8888
KLD loss: 0.1331
Reconstruction loss: 0.8888
Archetype R²: 0.0864
Archetype transform grad norm: 0.214303
Archetype transform param norm: 7.9930
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.8132 (range: 0.8132 - 0.8132)
archetypal_loss: 0.8888 (range: 0.8888 - 0.8888)
kld_loss: 0.1331 (range: 0.1331 - 0.1331)
reconstruction_loss: 0.8888 (range: 0.8888 - 0.8888)
archetype_r2: 0.0864 (range: 0.0864 - 0.0864)
Archetype Transform Summary:
archetype_transform_mean: 0.002028 (range: 0.002028 - 0.002028)
archetype_transform_std: 0.111917 (range: 0.111917 - 0.111917)
archetype_transform_norm: 7.992999 (range: 7.992999 - 7.992999)
archetype_transform_grad_norm: 0.214303 (range: 0.214303 - 0.214303)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0069, max=0.8534, mean=0.1667
Batch reconstruction MSE: 1.0682
Archetype stats: min=-11.1959, max=16.1014
Archetype change since last debug: 3.061354
Archetype gradients: norm=0.047725, mean=0.002075
Epoch 1/1
Average loss: 0.8135
Archetypal loss: 0.8885
KLD loss: 0.1385
Reconstruction loss: 0.8885
Archetype R²: 0.0864
Archetype transform grad norm: 0.226363
Archetype transform param norm: 8.0978
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.8135 (range: 0.8135 - 0.8135)
archetypal_loss: 0.8885 (range: 0.8885 - 0.8885)
kld_loss: 0.1385 (range: 0.1385 - 0.1385)
reconstruction_loss: 0.8885 (range: 0.8885 - 0.8885)
archetype_r2: 0.0864 (range: 0.0864 - 0.0864)
Archetype Transform Summary:
archetype_transform_mean: 0.002078 (range: 0.002078 - 0.002078)
archetype_transform_std: 0.113384 (range: 0.113384 - 0.113384)
archetype_transform_norm: 8.097823 (range: 8.097823 - 8.097823)
archetype_transform_grad_norm: 0.226363 (range: 0.226363 - 0.226363)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0055, max=0.8750, mean=0.1667
Batch reconstruction MSE: 1.1130
Archetype stats: min=-11.7136, max=17.0683
Archetype change since last debug: 2.838507
Archetype gradients: norm=0.069777, mean=0.003204
Epoch 1/1
Average loss: 0.8134
Archetypal loss: 0.8867
KLD loss: 0.1539
Reconstruction loss: 0.8867
Archetype R²: 0.0882
Archetype transform grad norm: 0.231708
Archetype transform param norm: 8.1915
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.8134 (range: 0.8134 - 0.8134)
archetypal_loss: 0.8867 (range: 0.8867 - 0.8867)
kld_loss: 0.1539 (range: 0.1539 - 0.1539)
reconstruction_loss: 0.8867 (range: 0.8867 - 0.8867)
archetype_r2: 0.0882 (range: 0.0882 - 0.0882)
Archetype Transform Summary:
archetype_transform_mean: 0.002113 (range: 0.002113 - 0.002113)
archetype_transform_std: 0.114696 (range: 0.114696 - 0.114696)
archetype_transform_norm: 8.191518 (range: 8.191518 - 8.191518)
archetype_transform_grad_norm: 0.231708 (range: 0.231708 - 0.231708)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0138, max=0.7035, mean=0.1667
Batch reconstruction MSE: 1.1139
Archetype stats: min=-11.9805, max=17.6987
Archetype change since last debug: 2.539401
Archetype gradients: norm=0.072737, mean=0.003065
Epoch 1/1
Average loss: 0.8119
Archetypal loss: 0.8845
KLD loss: 0.1580
Reconstruction loss: 0.8845
Archetype R²: 0.0905
Archetype transform grad norm: 0.242687
Archetype transform param norm: 8.2757
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.8119 (range: 0.8119 - 0.8119)
archetypal_loss: 0.8845 (range: 0.8845 - 0.8845)
kld_loss: 0.1580 (range: 0.1580 - 0.1580)
reconstruction_loss: 0.8845 (range: 0.8845 - 0.8845)
archetype_r2: 0.0905 (range: 0.0905 - 0.0905)
Archetype Transform Summary:
archetype_transform_mean: 0.002122 (range: 0.002122 - 0.002122)
archetype_transform_std: 0.115875 (range: 0.115875 - 0.115875)
archetype_transform_norm: 8.275692 (range: 8.275692 - 8.275692)
archetype_transform_grad_norm: 0.242687 (range: 0.242687 - 0.242687)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0098, max=0.8097, mean=0.1667
Batch reconstruction MSE: 1.1411
Archetype stats: min=-12.3566, max=18.4241
Archetype change since last debug: 3.000998
Archetype gradients: norm=0.077441, mean=0.003690
Epoch 1/1
Average loss: 0.8087
Archetypal loss: 0.8811
KLD loss: 0.1572
Reconstruction loss: 0.8811
Archetype R²: 0.0939
Archetype transform grad norm: 0.239229
Archetype transform param norm: 8.3611
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.8087 (range: 0.8087 - 0.8087)
archetypal_loss: 0.8811 (range: 0.8811 - 0.8811)
kld_loss: 0.1572 (range: 0.1572 - 0.1572)
reconstruction_loss: 0.8811 (range: 0.8811 - 0.8811)
archetype_r2: 0.0939 (range: 0.0939 - 0.0939)
Archetype Transform Summary:
archetype_transform_mean: 0.002116 (range: 0.002116 - 0.002116)
archetype_transform_std: 0.117072 (range: 0.117072 - 0.117072)
archetype_transform_norm: 8.361148 (range: 8.361148 - 8.361148)
archetype_transform_grad_norm: 0.239229 (range: 0.239229 - 0.239229)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0135, max=0.5761, mean=0.1667
Batch reconstruction MSE: 0.9825
Archetype stats: min=-12.5366, max=18.8253
Archetype change since last debug: 2.271303
Archetype gradients: norm=0.050923, mean=0.002198
Epoch 1/1
Average loss: 0.8031
Archetypal loss: 0.8755
KLD loss: 0.1521
Reconstruction loss: 0.8755
Archetype R²: 0.1002
Archetype transform grad norm: 0.232792
Archetype transform param norm: 8.4729
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.8031 (range: 0.8031 - 0.8031)
archetypal_loss: 0.8755 (range: 0.8755 - 0.8755)
kld_loss: 0.1521 (range: 0.1521 - 0.1521)
reconstruction_loss: 0.8755 (range: 0.8755 - 0.8755)
archetype_r2: 0.1002 (range: 0.1002 - 0.1002)
Archetype Transform Summary:
archetype_transform_mean: 0.002191 (range: 0.002191 - 0.002191)
archetype_transform_std: 0.118636 (range: 0.118636 - 0.118636)
archetype_transform_norm: 8.472928 (range: 8.472928 - 8.472928)
archetype_transform_grad_norm: 0.232792 (range: 0.232792 - 0.232792)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0113, max=0.6417, mean=0.1667
Batch reconstruction MSE: 1.1129
Archetype stats: min=-12.9943, max=19.6622
Archetype change since last debug: 3.032478
Archetype gradients: norm=0.069165, mean=0.002824
Epoch 1/1
Average loss: 0.8034
Archetypal loss: 0.8767
KLD loss: 0.1443
Reconstruction loss: 0.8767
Archetype R²: 0.0986
Archetype transform grad norm: 0.235064
Archetype transform param norm: 8.5579
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.8034 (range: 0.8034 - 0.8034)
archetypal_loss: 0.8767 (range: 0.8767 - 0.8767)
kld_loss: 0.1443 (range: 0.1443 - 0.1443)
reconstruction_loss: 0.8767 (range: 0.8767 - 0.8767)
archetype_r2: 0.0986 (range: 0.0986 - 0.0986)
Archetype Transform Summary:
archetype_transform_mean: 0.002166 (range: 0.002166 - 0.002166)
archetype_transform_std: 0.119826 (range: 0.119826 - 0.119826)
archetype_transform_norm: 8.557852 (range: 8.557852 - 8.557852)
archetype_transform_grad_norm: 0.235064 (range: 0.235064 - 0.235064)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0141, max=0.6736, mean=0.1667
Batch reconstruction MSE: 1.1363
Archetype stats: min=-12.8624, max=19.5437
Archetype change since last debug: 2.491652
Archetype gradients: norm=0.110013, mean=0.004611
Epoch 1/1
Average loss: 0.8055
Archetypal loss: 0.8771
KLD loss: 0.1613
Reconstruction loss: 0.8771
Archetype R²: 0.0982
Archetype transform grad norm: 0.242392
Archetype transform param norm: 8.6110
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.8055 (range: 0.8055 - 0.8055)
archetypal_loss: 0.8771 (range: 0.8771 - 0.8771)
kld_loss: 0.1613 (range: 0.1613 - 0.1613)
reconstruction_loss: 0.8771 (range: 0.8771 - 0.8771)
archetype_r2: 0.0982 (range: 0.0982 - 0.0982)
Archetype Transform Summary:
archetype_transform_mean: 0.002191 (range: 0.002191 - 0.002191)
archetype_transform_std: 0.120571 (range: 0.120571 - 0.120571)
archetype_transform_norm: 8.611041 (range: 8.611041 - 8.611041)
archetype_transform_grad_norm: 0.242392 (range: 0.242392 - 0.242392)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0104, max=0.5590, mean=0.1667
Batch reconstruction MSE: 1.3466
Archetype stats: min=-12.8610, max=19.7775
Archetype change since last debug: 1.605660
Archetype gradients: norm=0.113144, mean=0.004649
Epoch 1/1
Average loss: 0.8083
Archetypal loss: 0.8814
KLD loss: 0.1501
Reconstruction loss: 0.8814
Archetype R²: 0.0930
Archetype transform grad norm: 0.253827
Archetype transform param norm: 8.6228
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.8083 (range: 0.8083 - 0.8083)
archetypal_loss: 0.8814 (range: 0.8814 - 0.8814)
kld_loss: 0.1501 (range: 0.1501 - 0.1501)
reconstruction_loss: 0.8814 (range: 0.8814 - 0.8814)
archetype_r2: 0.0930 (range: 0.0930 - 0.0930)
Archetype Transform Summary:
archetype_transform_mean: 0.002122 (range: 0.002122 - 0.002122)
archetype_transform_std: 0.120736 (range: 0.120736 - 0.120736)
archetype_transform_norm: 8.622781 (range: 8.622781 - 8.622781)
archetype_transform_grad_norm: 0.253827 (range: 0.253827 - 0.253827)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0121, max=0.6095, mean=0.1667
Batch reconstruction MSE: 1.2763
Archetype stats: min=-12.4836, max=19.2162
Archetype change since last debug: 2.448850
Archetype gradients: norm=0.130639, mean=0.005421
Epoch 1/1
Average loss: 0.8064
Archetypal loss: 0.8790
KLD loss: 0.1526
Reconstruction loss: 0.8790
Archetype R²: 0.0957
Archetype transform grad norm: 0.245410
Archetype transform param norm: 8.6290
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.8064 (range: 0.8064 - 0.8064)
archetypal_loss: 0.8790 (range: 0.8790 - 0.8790)
kld_loss: 0.1526 (range: 0.1526 - 0.1526)
reconstruction_loss: 0.8790 (range: 0.8790 - 0.8790)
archetype_r2: 0.0957 (range: 0.0957 - 0.0957)
Archetype Transform Summary:
archetype_transform_mean: 0.002128 (range: 0.002128 - 0.002128)
archetype_transform_std: 0.120823 (range: 0.120823 - 0.120823)
archetype_transform_norm: 8.628993 (range: 8.628993 - 8.628993)
archetype_transform_grad_norm: 0.245410 (range: 0.245410 - 0.245410)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0177, max=0.5283, mean=0.1667
Batch reconstruction MSE: 1.2070
Archetype stats: min=-12.5594, max=19.5946
Archetype change since last debug: 2.171987
Archetype gradients: norm=0.094917, mean=0.004228
Epoch 1/1
Average loss: 0.8051
Archetypal loss: 0.8772
KLD loss: 0.1568
Reconstruction loss: 0.8772
Archetype R²: 0.0977
Archetype transform grad norm: 0.257185
Archetype transform param norm: 8.6469
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.8051 (range: 0.8051 - 0.8051)
archetypal_loss: 0.8772 (range: 0.8772 - 0.8772)
kld_loss: 0.1568 (range: 0.1568 - 0.1568)
reconstruction_loss: 0.8772 (range: 0.8772 - 0.8772)
archetype_r2: 0.0977 (range: 0.0977 - 0.0977)
Archetype Transform Summary:
archetype_transform_mean: 0.002180 (range: 0.002180 - 0.002180)
archetype_transform_std: 0.121072 (range: 0.121072 - 0.121072)
archetype_transform_norm: 8.646854 (range: 8.646854 - 8.646854)
archetype_transform_grad_norm: 0.257185 (range: 0.257185 - 0.257185)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0095, max=0.4917, mean=0.1667
Batch reconstruction MSE: 1.2111
Archetype stats: min=-12.7583, max=19.8952
Archetype change since last debug: 2.607530
Archetype gradients: norm=0.079810, mean=0.003720
Epoch 1/1
Average loss: 0.8008
Archetypal loss: 0.8746
KLD loss: 0.1372
Reconstruction loss: 0.8746
Archetype R²: 0.1004
Archetype transform grad norm: 0.231340
Archetype transform param norm: 8.6771
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.8008 (range: 0.8008 - 0.8008)
archetypal_loss: 0.8746 (range: 0.8746 - 0.8746)
kld_loss: 0.1372 (range: 0.1372 - 0.1372)
reconstruction_loss: 0.8746 (range: 0.8746 - 0.8746)
archetype_r2: 0.1004 (range: 0.1004 - 0.1004)
Archetype Transform Summary:
archetype_transform_mean: 0.002184 (range: 0.002184 - 0.002184)
archetype_transform_std: 0.121496 (range: 0.121496 - 0.121496)
archetype_transform_norm: 8.677087 (range: 8.677087 - 8.677087)
archetype_transform_grad_norm: 0.231340 (range: 0.231340 - 0.231340)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0192, max=0.4340, mean=0.1667
Batch reconstruction MSE: 0.9561
Archetype stats: min=-12.8147, max=20.0201
Archetype change since last debug: 1.566358
Archetype gradients: norm=0.038824, mean=0.001588
Epoch 1/1
Average loss: 0.7957
Archetypal loss: 0.8681
KLD loss: 0.1445
Reconstruction loss: 0.8681
Archetype R²: 0.1078
Archetype transform grad norm: 0.219404
Archetype transform param norm: 8.7576
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.7957 (range: 0.7957 - 0.7957)
archetypal_loss: 0.8681 (range: 0.8681 - 0.8681)
kld_loss: 0.1445 (range: 0.1445 - 0.1445)
reconstruction_loss: 0.8681 (range: 0.8681 - 0.8681)
archetype_r2: 0.1078 (range: 0.1078 - 0.1078)
Archetype Transform Summary:
archetype_transform_mean: 0.002262 (range: 0.002262 - 0.002262)
archetype_transform_std: 0.122622 (range: 0.122622 - 0.122622)
archetype_transform_norm: 8.757566 (range: 8.757566 - 8.757566)
archetype_transform_grad_norm: 0.219404 (range: 0.219404 - 0.219404)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0167, max=0.4540, mean=0.1667
Batch reconstruction MSE: 1.0237
Archetype stats: min=-13.2538, max=20.7998
Archetype change since last debug: 2.385229
Archetype gradients: norm=0.051279, mean=0.002178
Epoch 1/1
Average loss: 0.7952
Archetypal loss: 0.8693
KLD loss: 0.1285
Reconstruction loss: 0.8693
Archetype R²: 0.1063
Archetype transform grad norm: 0.228835
Archetype transform param norm: 8.8304
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.7952 (range: 0.7952 - 0.7952)
archetypal_loss: 0.8693 (range: 0.8693 - 0.8693)
kld_loss: 0.1285 (range: 0.1285 - 0.1285)
reconstruction_loss: 0.8693 (range: 0.8693 - 0.8693)
archetype_r2: 0.1063 (range: 0.1063 - 0.1063)
Archetype Transform Summary:
archetype_transform_mean: 0.002229 (range: 0.002229 - 0.002229)
archetype_transform_std: 0.123642 (range: 0.123642 - 0.123642)
archetype_transform_norm: 8.830357 (range: 8.830357 - 8.830357)
archetype_transform_grad_norm: 0.228835 (range: 0.228835 - 0.228835)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0191, max=0.5681, mean=0.1667
Batch reconstruction MSE: 0.9296
Archetype stats: min=-13.3069, max=20.9391
Archetype change since last debug: 1.869908
Archetype gradients: norm=0.046631, mean=0.002043
Epoch 1/1
Average loss: 0.7946
Archetypal loss: 0.8671
KLD loss: 0.1428
Reconstruction loss: 0.8671
Archetype R²: 0.1089
Archetype transform grad norm: 0.233150
Archetype transform param norm: 8.9107
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.7946 (range: 0.7946 - 0.7946)
archetypal_loss: 0.8671 (range: 0.8671 - 0.8671)
kld_loss: 0.1428 (range: 0.1428 - 0.1428)
reconstruction_loss: 0.8671 (range: 0.8671 - 0.8671)
archetype_r2: 0.1089 (range: 0.1089 - 0.1089)
Archetype Transform Summary:
archetype_transform_mean: 0.002286 (range: 0.002286 - 0.002286)
archetype_transform_std: 0.124766 (range: 0.124766 - 0.124766)
archetype_transform_norm: 8.910713 (range: 8.910713 - 8.910713)
archetype_transform_grad_norm: 0.233150 (range: 0.233150 - 0.233150)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0153, max=0.4178, mean=0.1667
Batch reconstruction MSE: 1.1606
Archetype stats: min=-13.6262, max=21.5585
Archetype change since last debug: 2.213243
Archetype gradients: norm=0.079099, mean=0.003517
Epoch 1/1
Average loss: 0.7978
Archetypal loss: 0.8730
KLD loss: 0.1210
Reconstruction loss: 0.8730
Archetype R²: 0.1022
Archetype transform grad norm: 0.249817
Archetype transform param norm: 8.9400
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.7978 (range: 0.7978 - 0.7978)
archetypal_loss: 0.8730 (range: 0.8730 - 0.8730)
kld_loss: 0.1210 (range: 0.1210 - 0.1210)
reconstruction_loss: 0.8730 (range: 0.8730 - 0.8730)
archetype_r2: 0.1022 (range: 0.1022 - 0.1022)
Archetype Transform Summary:
archetype_transform_mean: 0.002188 (range: 0.002188 - 0.002188)
archetype_transform_std: 0.125178 (range: 0.125178 - 0.125178)
archetype_transform_norm: 8.939960 (range: 8.939960 - 8.939960)
archetype_transform_grad_norm: 0.249817 (range: 0.249817 - 0.249817)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0192, max=0.6070, mean=0.1667
Batch reconstruction MSE: 0.9421
Archetype stats: min=-13.3474, max=21.1625
Archetype change since last debug: 1.403603
Archetype gradients: norm=0.043799, mean=0.002038
Epoch 1/1
Average loss: 0.7940
Archetypal loss: 0.8670
KLD loss: 0.1374
Reconstruction loss: 0.8670
Archetype R²: 0.1090
Archetype transform grad norm: 0.233358
Archetype transform param norm: 8.9981
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.7940 (range: 0.7940 - 0.7940)
archetypal_loss: 0.8670 (range: 0.8670 - 0.8670)
kld_loss: 0.1374 (range: 0.1374 - 0.1374)
reconstruction_loss: 0.8670 (range: 0.8670 - 0.8670)
archetype_r2: 0.1090 (range: 0.1090 - 0.1090)
Archetype Transform Summary:
archetype_transform_mean: 0.002245 (range: 0.002245 - 0.002245)
archetype_transform_std: 0.125991 (range: 0.125991 - 0.125991)
archetype_transform_norm: 8.998086 (range: 8.998086 - 8.998086)
archetype_transform_grad_norm: 0.233358 (range: 0.233358 - 0.233358)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0166, max=0.4013, mean=0.1667
Batch reconstruction MSE: 0.9954
Archetype stats: min=-13.6638, max=21.7441
Archetype change since last debug: 2.027445
Archetype gradients: norm=0.052945, mean=0.002074
Epoch 1/1
Average loss: 0.7927
Archetypal loss: 0.8674
KLD loss: 0.1203
Reconstruction loss: 0.8674
Archetype R²: 0.1083
Archetype transform grad norm: 0.235188
Archetype transform param norm: 9.0529
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.7927 (range: 0.7927 - 0.7927)
archetypal_loss: 0.8674 (range: 0.8674 - 0.8674)
kld_loss: 0.1203 (range: 0.1203 - 0.1203)
reconstruction_loss: 0.8674 (range: 0.8674 - 0.8674)
archetype_r2: 0.1083 (range: 0.1083 - 0.1083)
Archetype Transform Summary:
archetype_transform_mean: 0.002172 (range: 0.002172 - 0.002172)
archetype_transform_std: 0.126760 (range: 0.126760 - 0.126760)
archetype_transform_norm: 9.052931 (range: 9.052931 - 9.052931)
archetype_transform_grad_norm: 0.235188 (range: 0.235188 - 0.235188)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0228, max=0.5202, mean=0.1667
Batch reconstruction MSE: 0.9119
Archetype stats: min=-13.6209, max=21.6922
Archetype change since last debug: 1.718685
Archetype gradients: norm=0.044120, mean=0.002010
Epoch 1/1
Average loss: 0.7923
Archetypal loss: 0.8654
KLD loss: 0.1346
Reconstruction loss: 0.8654
Archetype R²: 0.1106
Archetype transform grad norm: 0.236376
Archetype transform param norm: 9.1165
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.7923 (range: 0.7923 - 0.7923)
archetypal_loss: 0.8654 (range: 0.8654 - 0.8654)
kld_loss: 0.1346 (range: 0.1346 - 0.1346)
reconstruction_loss: 0.8654 (range: 0.8654 - 0.8654)
archetype_r2: 0.1106 (range: 0.1106 - 0.1106)
Archetype Transform Summary:
archetype_transform_mean: 0.002199 (range: 0.002199 - 0.002199)
archetype_transform_std: 0.127650 (range: 0.127650 - 0.127650)
archetype_transform_norm: 9.116496 (range: 9.116496 - 9.116496)
archetype_transform_grad_norm: 0.236376 (range: 0.236376 - 0.236376)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0156, max=0.3897, mean=0.1667
Batch reconstruction MSE: 1.0649
Archetype stats: min=-13.9227, max=22.2426
Archetype change since last debug: 1.963425
Archetype gradients: norm=0.066292, mean=0.002765
Epoch 1/1
Average loss: 0.7928
Archetypal loss: 0.8682
KLD loss: 0.1133
Reconstruction loss: 0.8682
Archetype R²: 0.1071
Archetype transform grad norm: 0.243491
Archetype transform param norm: 9.1532
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.7928 (range: 0.7928 - 0.7928)
archetypal_loss: 0.8682 (range: 0.8682 - 0.8682)
kld_loss: 0.1133 (range: 0.1133 - 0.1133)
reconstruction_loss: 0.8682 (range: 0.8682 - 0.8682)
archetype_r2: 0.1071 (range: 0.1071 - 0.1071)
Archetype Transform Summary:
archetype_transform_mean: 0.002136 (range: 0.002136 - 0.002136)
archetype_transform_std: 0.128166 (range: 0.128166 - 0.128166)
archetype_transform_norm: 9.153248 (range: 9.153248 - 9.153248)
archetype_transform_grad_norm: 0.243491 (range: 0.243491 - 0.243491)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0176, max=0.5622, mean=0.1667
Batch reconstruction MSE: 0.9374
Archetype stats: min=-13.8377, max=22.1373
Archetype change since last debug: 1.296165
Archetype gradients: norm=0.049874, mean=0.002543
Epoch 1/1
Average loss: 0.7924
Archetypal loss: 0.8655
KLD loss: 0.1343
Reconstruction loss: 0.8655
Archetype R²: 0.1103
Archetype transform grad norm: 0.244063
Archetype transform param norm: 9.1982
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.7924 (range: 0.7924 - 0.7924)
archetypal_loss: 0.8655 (range: 0.8655 - 0.8655)
kld_loss: 0.1343 (range: 0.1343 - 0.1343)
reconstruction_loss: 0.8655 (range: 0.8655 - 0.8655)
archetype_r2: 0.1103 (range: 0.1103 - 0.1103)
Archetype Transform Summary:
archetype_transform_mean: 0.002191 (range: 0.002191 - 0.002191)
archetype_transform_std: 0.128795 (range: 0.128795 - 0.128795)
archetype_transform_norm: 9.198206 (range: 9.198206 - 9.198206)
archetype_transform_grad_norm: 0.244063 (range: 0.244063 - 0.244063)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0126, max=0.4003, mean=0.1667
Batch reconstruction MSE: 1.1363
Archetype stats: min=-14.1470, max=22.6532
Archetype change since last debug: 1.634156
Archetype gradients: norm=0.085228, mean=0.003550
Epoch 1/1
Average loss: 0.7938
Archetypal loss: 0.8696
KLD loss: 0.1116
Reconstruction loss: 0.8696
Archetype R²: 0.1055
Archetype transform grad norm: 0.253541
Archetype transform param norm: 9.2143
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.7938 (range: 0.7938 - 0.7938)
archetypal_loss: 0.8696 (range: 0.8696 - 0.8696)
kld_loss: 0.1116 (range: 0.1116 - 0.1116)
reconstruction_loss: 0.8696 (range: 0.8696 - 0.8696)
archetype_r2: 0.1055 (range: 0.1055 - 0.1055)
Archetype Transform Summary:
archetype_transform_mean: 0.002127 (range: 0.002127 - 0.002127)
archetype_transform_std: 0.129021 (range: 0.129021 - 0.129021)
archetype_transform_norm: 9.214278 (range: 9.214278 - 9.214278)
archetype_transform_grad_norm: 0.253541 (range: 0.253541 - 0.253541)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0221, max=0.5531, mean=0.1667
Batch reconstruction MSE: 0.9820
Archetype stats: min=-13.9936, max=22.4152
Archetype change since last debug: 1.147910
Archetype gradients: norm=0.061334, mean=0.002914
Epoch 1/1
Average loss: 0.7927
Archetypal loss: 0.8664
KLD loss: 0.1294
Reconstruction loss: 0.8664
Archetype R²: 0.1092
Archetype transform grad norm: 0.252810
Archetype transform param norm: 9.2401
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.7927 (range: 0.7927 - 0.7927)
archetypal_loss: 0.8664 (range: 0.8664 - 0.8664)
kld_loss: 0.1294 (range: 0.1294 - 0.1294)
reconstruction_loss: 0.8664 (range: 0.8664 - 0.8664)
archetype_r2: 0.1092 (range: 0.1092 - 0.1092)
Archetype Transform Summary:
archetype_transform_mean: 0.002180 (range: 0.002180 - 0.002180)
archetype_transform_std: 0.129382 (range: 0.129382 - 0.129382)
archetype_transform_norm: 9.240133 (range: 9.240133 - 9.240133)
archetype_transform_grad_norm: 0.252810 (range: 0.252810 - 0.252810)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0175, max=0.5146, mean=0.1667
Batch reconstruction MSE: 1.0664
Archetype stats: min=-14.1980, max=22.7746
Archetype change since last debug: 1.433478
Archetype gradients: norm=0.088177, mean=0.004236
Epoch 1/1
Average loss: 0.7931
Archetypal loss: 0.8684
KLD loss: 0.1162
Reconstruction loss: 0.8684
Archetype R²: 0.1069
Archetype transform grad norm: 0.258406
Archetype transform param norm: 9.2638
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.7931 (range: 0.7931 - 0.7931)
archetypal_loss: 0.8684 (range: 0.8684 - 0.8684)
kld_loss: 0.1162 (range: 0.1162 - 0.1162)
reconstruction_loss: 0.8684 (range: 0.8684 - 0.8684)
archetype_r2: 0.1069 (range: 0.1069 - 0.1069)
Archetype Transform Summary:
archetype_transform_mean: 0.002130 (range: 0.002130 - 0.002130)
archetype_transform_std: 0.129715 (range: 0.129715 - 0.129715)
archetype_transform_norm: 9.263837 (range: 9.263837 - 9.263837)
archetype_transform_grad_norm: 0.258406 (range: 0.258406 - 0.258406)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0214, max=0.5375, mean=0.1667
Batch reconstruction MSE: 1.1054
Archetype stats: min=-14.0872, max=22.6027
Archetype change since last debug: 1.465350
Archetype gradients: norm=0.135619, mean=0.005415
Epoch 1/1
Average loss: 0.7949
Archetypal loss: 0.8691
KLD loss: 0.1272
Reconstruction loss: 0.8691
Archetype R²: 0.1059
Archetype transform grad norm: 0.264824
Archetype transform param norm: 9.2631
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.7949 (range: 0.7949 - 0.7949)
archetypal_loss: 0.8691 (range: 0.8691 - 0.8691)
kld_loss: 0.1272 (range: 0.1272 - 0.1272)
reconstruction_loss: 0.8691 (range: 0.8691 - 0.8691)
archetype_r2: 0.1059 (range: 0.1059 - 0.1059)
Archetype Transform Summary:
archetype_transform_mean: 0.002175 (range: 0.002175 - 0.002175)
archetype_transform_std: 0.129704 (range: 0.129704 - 0.129704)
archetype_transform_norm: 9.263124 (range: 9.263124 - 9.263124)
archetype_transform_grad_norm: 0.264824 (range: 0.264824 - 0.264824)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0207, max=0.4748, mean=0.1667
Batch reconstruction MSE: 1.1706
Archetype stats: min=-14.3203, max=22.9318
Archetype change since last debug: 1.608701
Archetype gradients: norm=0.103141, mean=0.004844
Epoch 1/1
Average loss: 0.7972
Archetypal loss: 0.8708
KLD loss: 0.1344
Reconstruction loss: 0.8708
Archetype R²: 0.1040
Archetype transform grad norm: 0.267329
Archetype transform param norm: 9.2535
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.7972 (range: 0.7972 - 0.7972)
archetypal_loss: 0.8708 (range: 0.8708 - 0.8708)
kld_loss: 0.1344 (range: 0.1344 - 0.1344)
reconstruction_loss: 0.8708 (range: 0.8708 - 0.8708)
archetype_r2: 0.1040 (range: 0.1040 - 0.1040)
Archetype Transform Summary:
archetype_transform_mean: 0.002210 (range: 0.002210 - 0.002210)
archetype_transform_std: 0.129569 (range: 0.129569 - 0.129569)
archetype_transform_norm: 9.253496 (range: 9.253496 - 9.253496)
archetype_transform_grad_norm: 0.267329 (range: 0.267329 - 0.267329)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0148, max=0.4652, mean=0.1667
Batch reconstruction MSE: 1.1287
Archetype stats: min=-14.1033, max=22.6657
Archetype change since last debug: 1.412176
Archetype gradients: norm=0.069377, mean=0.003252
Epoch 1/1
Average loss: 0.7937
Archetypal loss: 0.8691
KLD loss: 0.1158
Reconstruction loss: 0.8691
Archetype R²: 0.1059
Archetype transform grad norm: 0.252404
Archetype transform param norm: 9.2539
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.7937 (range: 0.7937 - 0.7937)
archetypal_loss: 0.8691 (range: 0.8691 - 0.8691)
kld_loss: 0.1158 (range: 0.1158 - 0.1158)
reconstruction_loss: 0.8691 (range: 0.8691 - 0.8691)
archetype_r2: 0.1059 (range: 0.1059 - 0.1059)
Archetype Transform Summary:
archetype_transform_mean: 0.002241 (range: 0.002241 - 0.002241)
archetype_transform_std: 0.129574 (range: 0.129574 - 0.129574)
archetype_transform_norm: 9.253906 (range: 9.253906 - 9.253906)
archetype_transform_grad_norm: 0.252404 (range: 0.252404 - 0.252404)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0184, max=0.5579, mean=0.1667
Batch reconstruction MSE: 0.9872
Archetype stats: min=-14.2861, max=22.9506
Archetype change since last debug: 1.550143
Archetype gradients: norm=0.059245, mean=0.002318
Epoch 1/1
Average loss: 0.7917
Archetypal loss: 0.8654
KLD loss: 0.1282
Reconstruction loss: 0.8654
Archetype R²: 0.1100
Archetype transform grad norm: 0.242235
Archetype transform param norm: 9.2764
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.7917 (range: 0.7917 - 0.7917)
archetypal_loss: 0.8654 (range: 0.8654 - 0.8654)
kld_loss: 0.1282 (range: 0.1282 - 0.1282)
reconstruction_loss: 0.8654 (range: 0.8654 - 0.8654)
archetype_r2: 0.1100 (range: 0.1100 - 0.1100)
Archetype Transform Summary:
archetype_transform_mean: 0.002168 (range: 0.002168 - 0.002168)
archetype_transform_std: 0.129890 (range: 0.129890 - 0.129890)
archetype_transform_norm: 9.276402 (range: 9.276402 - 9.276402)
archetype_transform_grad_norm: 0.242235 (range: 0.242235 - 0.242235)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0256, max=0.4519, mean=0.1667
Batch reconstruction MSE: 1.0290
Archetype stats: min=-14.2405, max=22.8315
Archetype change since last debug: 1.288288
Archetype gradients: norm=0.049521, mean=0.002544
Epoch 1/1
Average loss: 0.7902
Archetypal loss: 0.8656
KLD loss: 0.1115
Reconstruction loss: 0.8656
Archetype R²: 0.1097
Archetype transform grad norm: 0.239441
Archetype transform param norm: 9.3038
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.7902 (range: 0.7902 - 0.7902)
archetypal_loss: 0.8656 (range: 0.8656 - 0.8656)
kld_loss: 0.1115 (range: 0.1115 - 0.1115)
reconstruction_loss: 0.8656 (range: 0.8656 - 0.8656)
archetype_r2: 0.1097 (range: 0.1097 - 0.1097)
Archetype Transform Summary:
archetype_transform_mean: 0.002232 (range: 0.002232 - 0.002232)
archetype_transform_std: 0.130273 (range: 0.130273 - 0.130273)
archetype_transform_norm: 9.303774 (range: 9.303774 - 9.303774)
archetype_transform_grad_norm: 0.239441 (range: 0.239441 - 0.239441)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0209, max=0.5529, mean=0.1667
Batch reconstruction MSE: 0.8752
Archetype stats: min=-14.4479, max=23.2305
Archetype change since last debug: 1.287991
Archetype gradients: norm=0.038696, mean=0.001691
Epoch 1/1
Average loss: 0.7883
Archetypal loss: 0.8621
KLD loss: 0.1238
Reconstruction loss: 0.8621
Archetype R²: 0.1137
Archetype transform grad norm: 0.240794
Archetype transform param norm: 9.3565
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.7883 (range: 0.7883 - 0.7883)
archetypal_loss: 0.8621 (range: 0.8621 - 0.8621)
kld_loss: 0.1238 (range: 0.1238 - 0.1238)
reconstruction_loss: 0.8621 (range: 0.8621 - 0.8621)
archetype_r2: 0.1137 (range: 0.1137 - 0.1137)
Archetype Transform Summary:
archetype_transform_mean: 0.002150 (range: 0.002150 - 0.002150)
archetype_transform_std: 0.131012 (range: 0.131012 - 0.131012)
archetype_transform_norm: 9.356473 (range: 9.356473 - 9.356473)
archetype_transform_grad_norm: 0.240794 (range: 0.240794 - 0.240794)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0260, max=0.4722, mean=0.1667
Batch reconstruction MSE: 0.9975
Archetype stats: min=-14.5669, max=23.4326
Archetype change since last debug: 1.866553
Archetype gradients: norm=0.051911, mean=0.002434
Epoch 1/1
Average loss: 0.7889
Archetypal loss: 0.8646
KLD loss: 0.1076
Reconstruction loss: 0.8646
Archetype R²: 0.1108
Archetype transform grad norm: 0.244158
Archetype transform param norm: 9.3886
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.7889 (range: 0.7889 - 0.7889)
archetypal_loss: 0.8646 (range: 0.8646 - 0.8646)
kld_loss: 0.1076 (range: 0.1076 - 0.1076)
reconstruction_loss: 0.8646 (range: 0.8646 - 0.8646)
archetype_r2: 0.1108 (range: 0.1108 - 0.1108)
Archetype Transform Summary:
archetype_transform_mean: 0.002221 (range: 0.002221 - 0.002221)
archetype_transform_std: 0.131461 (range: 0.131461 - 0.131461)
archetype_transform_norm: 9.388612 (range: 9.388612 - 9.388612)
archetype_transform_grad_norm: 0.244158 (range: 0.244158 - 0.244158)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0180, max=0.5181, mean=0.1667
Batch reconstruction MSE: 0.8751
Archetype stats: min=-14.7104, max=23.7273
Archetype change since last debug: 1.115178
Archetype gradients: norm=0.046096, mean=0.002236
Epoch 1/1
Average loss: 0.7878
Archetypal loss: 0.8617
KLD loss: 0.1223
Reconstruction loss: 0.8617
Archetype R²: 0.1140
Archetype transform grad norm: 0.250515
Archetype transform param norm: 9.4349
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.7878 (range: 0.7878 - 0.7878)
archetypal_loss: 0.8617 (range: 0.8617 - 0.8617)
kld_loss: 0.1223 (range: 0.1223 - 0.1223)
reconstruction_loss: 0.8617 (range: 0.8617 - 0.8617)
archetype_r2: 0.1140 (range: 0.1140 - 0.1140)
Archetype Transform Summary:
archetype_transform_mean: 0.002192 (range: 0.002192 - 0.002192)
archetype_transform_std: 0.132110 (range: 0.132110 - 0.132110)
archetype_transform_norm: 9.434908 (range: 9.434908 - 9.434908)
archetype_transform_grad_norm: 0.250515 (range: 0.250515 - 0.250515)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0249, max=0.5381, mean=0.1667
Batch reconstruction MSE: 1.0361
Archetype stats: min=-14.9559, max=24.1043
Archetype change since last debug: 1.716734
Archetype gradients: norm=0.072534, mean=0.003437
Epoch 1/1
Average loss: 0.7905
Archetypal loss: 0.8669
KLD loss: 0.1033
Reconstruction loss: 0.8669
Archetype R²: 0.1083
Archetype transform grad norm: 0.262622
Archetype transform param norm: 9.4543
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.7905 (range: 0.7905 - 0.7905)
archetypal_loss: 0.8669 (range: 0.8669 - 0.8669)
kld_loss: 0.1033 (range: 0.1033 - 0.1033)
reconstruction_loss: 0.8669 (range: 0.8669 - 0.8669)
archetype_r2: 0.1083 (range: 0.1083 - 0.1083)
Archetype Transform Summary:
archetype_transform_mean: 0.002246 (range: 0.002246 - 0.002246)
archetype_transform_std: 0.132381 (range: 0.132381 - 0.132381)
archetype_transform_norm: 9.454345 (range: 9.454345 - 9.454345)
archetype_transform_grad_norm: 0.262622 (range: 0.262622 - 0.262622)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0172, max=0.4712, mean=0.1667
Batch reconstruction MSE: 0.9003
Archetype stats: min=-15.0639, max=24.4081
Archetype change since last debug: 1.237783
Archetype gradients: norm=0.058034, mean=0.002927
Epoch 1/1
Average loss: 0.7888
Archetypal loss: 0.8631
KLD loss: 0.1198
Reconstruction loss: 0.8631
Archetype R²: 0.1125
Archetype transform grad norm: 0.261383
Archetype transform param norm: 9.4823
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.7888 (range: 0.7888 - 0.7888)
archetypal_loss: 0.8631 (range: 0.8631 - 0.8631)
kld_loss: 0.1198 (range: 0.1198 - 0.1198)
reconstruction_loss: 0.8631 (range: 0.8631 - 0.8631)
archetype_r2: 0.1125 (range: 0.1125 - 0.1125)
Archetype Transform Summary:
archetype_transform_mean: 0.002218 (range: 0.002218 - 0.002218)
archetype_transform_std: 0.132774 (range: 0.132774 - 0.132774)
archetype_transform_norm: 9.482337 (range: 9.482337 - 9.482337)
archetype_transform_grad_norm: 0.261383 (range: 0.261383 - 0.261383)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0226, max=0.5399, mean=0.1667
Batch reconstruction MSE: 1.0100
Archetype stats: min=-15.1265, max=24.4816
Archetype change since last debug: 1.599594
Archetype gradients: norm=0.086596, mean=0.004018
Epoch 1/1
Average loss: 0.7886
Archetypal loss: 0.8646
KLD loss: 0.1055
Reconstruction loss: 0.8646
Archetype R²: 0.1107
Archetype transform grad norm: 0.256577
Archetype transform param norm: 9.4996
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.7886 (range: 0.7886 - 0.7886)
archetypal_loss: 0.8646 (range: 0.8646 - 0.8646)
kld_loss: 0.1055 (range: 0.1055 - 0.1055)
reconstruction_loss: 0.8646 (range: 0.8646 - 0.8646)
archetype_r2: 0.1107 (range: 0.1107 - 0.1107)
Archetype Transform Summary:
archetype_transform_mean: 0.002258 (range: 0.002258 - 0.002258)
archetype_transform_std: 0.133014 (range: 0.133014 - 0.133014)
archetype_transform_norm: 9.499555 (range: 9.499555 - 9.499555)
archetype_transform_grad_norm: 0.256577 (range: 0.256577 - 0.256577)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0212, max=0.4413, mean=0.1667
Batch reconstruction MSE: 0.9525
Archetype stats: min=-15.2544, max=24.7219
Archetype change since last debug: 1.092812
Archetype gradients: norm=0.070055, mean=0.003471
Epoch 1/1
Average loss: 0.7887
Archetypal loss: 0.8635
KLD loss: 0.1151
Reconstruction loss: 0.8635
Archetype R²: 0.1118
Archetype transform grad norm: 0.263611
Archetype transform param norm: 9.5197
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.7887 (range: 0.7887 - 0.7887)
archetypal_loss: 0.8635 (range: 0.8635 - 0.8635)
kld_loss: 0.1151 (range: 0.1151 - 0.1151)
reconstruction_loss: 0.8635 (range: 0.8635 - 0.8635)
archetype_r2: 0.1118 (range: 0.1118 - 0.1118)
Archetype Transform Summary:
archetype_transform_mean: 0.002278 (range: 0.002278 - 0.002278)
archetype_transform_std: 0.133296 (range: 0.133296 - 0.133296)
archetype_transform_norm: 9.519727 (range: 9.519727 - 9.519727)
archetype_transform_grad_norm: 0.263611 (range: 0.263611 - 0.263611)
[OK] Completed in 55.3s
[STATS] Mean archetype R²: 0.1105
[STATS] Mean validation R²: 0.1105
đź§Ş Configuration 15/20: {'n_archetypes': 6, 'hidden_dims': [128], 'inflation_factor': 1.5, 'use_pcha_init': True, 'use_inflation': True}
Fold 1/3
Model input_dim: 50 (auto-detected from data)
Archetypes parameter registered: True
Archetypes requires_grad: True
Deep_AA (Deep Archetypal Analysis) initialized:
- Single-stage architecture (like Deep_2)
- Inflation factor: 1.5
- Direct archetypal coordinates (no bottleneck)
Consolidated Archetype Initialization
PCHA: True, Inflation: True (factor: 1.5)
Test inflation: False
Running PCHA initialization...
Input shape: (128, 50)
Target archetypes: 6
Running PCHA with 6 archetypes...
Data shape for PCHA: (50, 128)
PCHA Results:
Archetypes shape: (6, 50)
Archetype R²: 0.2911
SSE: 3832.3633
PCHA archetype R²: 0.2911
Archetype shape: (6, 50)
[OK] Initialized 6 archetypes using PCHA
Scalar Archetypal Inflation (factor: 1.50)
[OK] Inflation complete
[STATS] Positioning verification:
Data radius (max): 18.598
Data radius (mean): 5.863
Archetype distances: 3.486 to 25.046
Archetypes outside data: 2/6
Min archetype separation: 6.774
[OK] Archetype initialization complete (success: True)
[OK] Archetype initialization complete (PCHA: True, Inflation: 1.5)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0001, max=0.9980, mean=0.1667
Batch reconstruction MSE: 1.2149
Archetype stats: min=-2.1448, max=1.8854
Archetype gradients: norm=0.013506, mean=0.000608
Epoch 1/1
Average loss: 0.8856
Archetypal loss: 0.9690
KLD loss: 0.1351
Reconstruction loss: 0.9690
Archetype R²: -0.0171
Archetype transform grad norm: 0.216469
Archetype transform param norm: 5.7911
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.8856 (range: 0.8856 - 0.8856)
archetypal_loss: 0.9690 (range: 0.9690 - 0.9690)
kld_loss: 0.1351 (range: 0.1351 - 0.1351)
reconstruction_loss: 0.9690 (range: 0.9690 - 0.9690)
archetype_r2: -0.0171 (range: -0.0171 - -0.0171)
Archetype Transform Summary:
archetype_transform_mean: 0.000898 (range: 0.000898 - 0.000898)
archetype_transform_std: 0.081095 (range: 0.081095 - 0.081095)
archetype_transform_norm: 5.791126 (range: 5.791126 - 5.791126)
archetype_transform_grad_norm: 0.216469 (range: 0.216469 - 0.216469)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0013, max=0.9739, mean=0.1667
Batch reconstruction MSE: 1.0718
Archetype stats: min=-1.5424, max=1.2873
Archetype change since last debug: 8.097601
Archetype gradients: norm=0.003716, mean=0.000164
Epoch 1/1
Average loss: 0.8577
Archetypal loss: 0.9432
KLD loss: 0.0885
Reconstruction loss: 0.9432
Archetype R²: 0.0095
Archetype transform grad norm: 0.150230
Archetype transform param norm: 5.8277
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.8577 (range: 0.8577 - 0.8577)
archetypal_loss: 0.9432 (range: 0.9432 - 0.9432)
kld_loss: 0.0885 (range: 0.0885 - 0.0885)
reconstruction_loss: 0.9432 (range: 0.9432 - 0.9432)
archetype_r2: 0.0095 (range: 0.0095 - 0.0095)
Archetype Transform Summary:
archetype_transform_mean: 0.000844 (range: 0.000844 - 0.000844)
archetype_transform_std: 0.081607 (range: 0.081607 - 0.081607)
archetype_transform_norm: 5.827652 (range: 5.827652 - 5.827652)
archetype_transform_grad_norm: 0.150230 (range: 0.150230 - 0.150230)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0053, max=0.8921, mean=0.1667
Batch reconstruction MSE: 1.1052
Archetype stats: min=-2.6123, max=2.2038
Archetype change since last debug: 5.635527
Archetype gradients: norm=0.006196, mean=0.000255
Epoch 1/1
Average loss: 0.8459
Archetypal loss: 0.9249
KLD loss: 0.1347
Reconstruction loss: 0.9249
Archetype R²: 0.0290
Archetype transform grad norm: 0.180066
Archetype transform param norm: 5.9710
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.8459 (range: 0.8459 - 0.8459)
archetypal_loss: 0.9249 (range: 0.9249 - 0.9249)
kld_loss: 0.1347 (range: 0.1347 - 0.1347)
reconstruction_loss: 0.9249 (range: 0.9249 - 0.9249)
archetype_r2: 0.0290 (range: 0.0290 - 0.0290)
Archetype Transform Summary:
archetype_transform_mean: 0.000928 (range: 0.000928 - 0.000928)
archetype_transform_std: 0.083614 (range: 0.083614 - 0.083614)
archetype_transform_norm: 5.971010 (range: 5.971010 - 5.971010)
archetype_transform_grad_norm: 0.180066 (range: 0.180066 - 0.180066)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0039, max=0.8839, mean=0.1667
Batch reconstruction MSE: 1.2008
Archetype stats: min=-4.1300, max=3.5877
Archetype change since last debug: 8.273023
Archetype gradients: norm=0.012678, mean=0.000511
Epoch 1/1
Average loss: 0.8365
Archetypal loss: 0.9130
KLD loss: 0.1477
Reconstruction loss: 0.9130
Archetype R²: 0.0418
Archetype transform grad norm: 0.206292
Archetype transform param norm: 6.1635
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.8365 (range: 0.8365 - 0.8365)
archetypal_loss: 0.9130 (range: 0.9130 - 0.9130)
kld_loss: 0.1477 (range: 0.1477 - 0.1477)
reconstruction_loss: 0.9130 (range: 0.9130 - 0.9130)
archetype_r2: 0.0418 (range: 0.0418 - 0.0418)
Archetype Transform Summary:
archetype_transform_mean: 0.000902 (range: 0.000902 - 0.000902)
archetype_transform_std: 0.086310 (range: 0.086310 - 0.086310)
archetype_transform_norm: 6.163517 (range: 6.163517 - 6.163517)
archetype_transform_grad_norm: 0.206292 (range: 0.206292 - 0.206292)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0030, max=0.8042, mean=0.1667
Batch reconstruction MSE: 1.2586
Archetype stats: min=-5.1309, max=4.7714
Archetype change since last debug: 6.813772
Archetype gradients: norm=0.017168, mean=0.000731
Epoch 1/1
Average loss: 0.8291
Archetypal loss: 0.9046
KLD loss: 0.1495
Reconstruction loss: 0.9046
Archetype R²: 0.0507
Archetype transform grad norm: 0.219350
Archetype transform param norm: 6.3501
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.8291 (range: 0.8291 - 0.8291)
archetypal_loss: 0.9046 (range: 0.9046 - 0.9046)
kld_loss: 0.1495 (range: 0.1495 - 0.1495)
reconstruction_loss: 0.9046 (range: 0.9046 - 0.9046)
archetype_r2: 0.0507 (range: 0.0507 - 0.0507)
Archetype Transform Summary:
archetype_transform_mean: 0.000882 (range: 0.000882 - 0.000882)
archetype_transform_std: 0.088923 (range: 0.088923 - 0.088923)
archetype_transform_norm: 6.350100 (range: 6.350100 - 6.350100)
archetype_transform_grad_norm: 0.219350 (range: 0.219350 - 0.219350)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0020, max=0.8605, mean=0.1667
Batch reconstruction MSE: 1.2757
Archetype stats: min=-5.7984, max=6.1785
Archetype change since last debug: 5.634919
Archetype gradients: norm=0.018851, mean=0.000849
Epoch 1/1
Average loss: 0.8210
Archetypal loss: 0.8945
KLD loss: 0.1596
Reconstruction loss: 0.8945
Archetype R²: 0.0615
Archetype transform grad norm: 0.228376
Archetype transform param norm: 6.5570
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.8210 (range: 0.8210 - 0.8210)
archetypal_loss: 0.8945 (range: 0.8945 - 0.8945)
kld_loss: 0.1596 (range: 0.1596 - 0.1596)
reconstruction_loss: 0.8945 (range: 0.8945 - 0.8945)
archetype_r2: 0.0615 (range: 0.0615 - 0.0615)
Archetype Transform Summary:
archetype_transform_mean: 0.000889 (range: 0.000889 - 0.000889)
archetype_transform_std: 0.091821 (range: 0.091821 - 0.091821)
archetype_transform_norm: 6.556967 (range: 6.556967 - 6.556967)
archetype_transform_grad_norm: 0.228376 (range: 0.228376 - 0.228376)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0016, max=0.8927, mean=0.1667
Batch reconstruction MSE: 1.2991
Archetype stats: min=-6.1619, max=8.1659
Archetype change since last debug: 5.998412
Archetype gradients: norm=0.025335, mean=0.001180
Epoch 1/1
Average loss: 0.8130
Archetypal loss: 0.8839
KLD loss: 0.1741
Reconstruction loss: 0.8839
Archetype R²: 0.0727
Archetype transform grad norm: 0.236028
Archetype transform param norm: 6.7953
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.8130 (range: 0.8130 - 0.8130)
archetypal_loss: 0.8839 (range: 0.8839 - 0.8839)
kld_loss: 0.1741 (range: 0.1741 - 0.1741)
reconstruction_loss: 0.8839 (range: 0.8839 - 0.8839)
archetype_r2: 0.0727 (range: 0.0727 - 0.0727)
Archetype Transform Summary:
archetype_transform_mean: 0.000960 (range: 0.000960 - 0.000960)
archetype_transform_std: 0.095157 (range: 0.095157 - 0.095157)
archetype_transform_norm: 6.795274 (range: 6.795274 - 6.795274)
archetype_transform_grad_norm: 0.236028 (range: 0.236028 - 0.236028)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0017, max=0.9033, mean=0.1667
Batch reconstruction MSE: 1.3317
Archetype stats: min=-7.3031, max=10.1569
Archetype change since last debug: 6.117395
Archetype gradients: norm=0.033325, mean=0.001504
Epoch 1/1
Average loss: 0.8055
Archetypal loss: 0.8751
KLD loss: 0.1785
Reconstruction loss: 0.8751
Archetype R²: 0.0821
Archetype transform grad norm: 0.245480
Archetype transform param norm: 7.0332
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.8055 (range: 0.8055 - 0.8055)
archetypal_loss: 0.8751 (range: 0.8751 - 0.8751)
kld_loss: 0.1785 (range: 0.1785 - 0.1785)
reconstruction_loss: 0.8751 (range: 0.8751 - 0.8751)
archetype_r2: 0.0821 (range: 0.0821 - 0.0821)
Archetype Transform Summary:
archetype_transform_mean: 0.001067 (range: 0.001067 - 0.001067)
archetype_transform_std: 0.098488 (range: 0.098488 - 0.098488)
archetype_transform_norm: 7.033166 (range: 7.033166 - 7.033166)
archetype_transform_grad_norm: 0.245480 (range: 0.245480 - 0.245480)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0024, max=0.8742, mean=0.1667
Batch reconstruction MSE: 1.3619
Archetype stats: min=-8.4194, max=12.0012
Archetype change since last debug: 5.918610
Archetype gradients: norm=0.043909, mean=0.001876
Epoch 1/1
Average loss: 0.7997
Archetypal loss: 0.8688
KLD loss: 0.1769
Reconstruction loss: 0.8688
Archetype R²: 0.0887
Archetype transform grad norm: 0.249228
Archetype transform param norm: 7.2351
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.7997 (range: 0.7997 - 0.7997)
archetypal_loss: 0.8688 (range: 0.8688 - 0.8688)
kld_loss: 0.1769 (range: 0.1769 - 0.1769)
reconstruction_loss: 0.8688 (range: 0.8688 - 0.8688)
archetype_r2: 0.0887 (range: 0.0887 - 0.0887)
Archetype Transform Summary:
archetype_transform_mean: 0.001152 (range: 0.001152 - 0.001152)
archetype_transform_std: 0.101314 (range: 0.101314 - 0.101314)
archetype_transform_norm: 7.235060 (range: 7.235060 - 7.235060)
archetype_transform_grad_norm: 0.249228 (range: 0.249228 - 0.249228)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0030, max=0.8251, mean=0.1667
Batch reconstruction MSE: 1.3779
Archetype stats: min=-9.4089, max=13.5652
Archetype change since last debug: 4.961297
Archetype gradients: norm=0.049017, mean=0.002041
Epoch 1/1
Average loss: 0.7957
Archetypal loss: 0.8654
KLD loss: 0.1686
Reconstruction loss: 0.8654
Archetype R²: 0.0924
Archetype transform grad norm: 0.256332
Archetype transform param norm: 7.3841
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.7957 (range: 0.7957 - 0.7957)
archetypal_loss: 0.8654 (range: 0.8654 - 0.8654)
kld_loss: 0.1686 (range: 0.1686 - 0.1686)
reconstruction_loss: 0.8654 (range: 0.8654 - 0.8654)
archetype_r2: 0.0924 (range: 0.0924 - 0.0924)
Archetype Transform Summary:
archetype_transform_mean: 0.001197 (range: 0.001197 - 0.001197)
archetype_transform_std: 0.103402 (range: 0.103402 - 0.103402)
archetype_transform_norm: 7.384140 (range: 7.384140 - 7.384140)
archetype_transform_grad_norm: 0.256332 (range: 0.256332 - 0.256332)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0040, max=0.7893, mean=0.1667
Batch reconstruction MSE: 1.3689
Archetype stats: min=-10.2418, max=14.8308
Archetype change since last debug: 4.021078
Archetype gradients: norm=0.051410, mean=0.002109
Epoch 1/1
Average loss: 0.7925
Archetypal loss: 0.8624
KLD loss: 0.1643
Reconstruction loss: 0.8624
Archetype R²: 0.0955
Archetype transform grad norm: 0.257052
Archetype transform param norm: 7.5002
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.7925 (range: 0.7925 - 0.7925)
archetypal_loss: 0.8624 (range: 0.8624 - 0.8624)
kld_loss: 0.1643 (range: 0.1643 - 0.1643)
reconstruction_loss: 0.8624 (range: 0.8624 - 0.8624)
archetype_r2: 0.0955 (range: 0.0955 - 0.0955)
Archetype Transform Summary:
archetype_transform_mean: 0.001207 (range: 0.001207 - 0.001207)
archetype_transform_std: 0.105028 (range: 0.105028 - 0.105028)
archetype_transform_norm: 7.500232 (range: 7.500232 - 7.500232)
archetype_transform_grad_norm: 0.257052 (range: 0.257052 - 0.257052)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0051, max=0.7547, mean=0.1667
Batch reconstruction MSE: 1.3552
Archetype stats: min=-10.9266, max=15.8555
Archetype change since last debug: 3.440926
Archetype gradients: norm=0.048459, mean=0.002020
Epoch 1/1
Average loss: 0.7899
Archetypal loss: 0.8601
KLD loss: 0.1580
Reconstruction loss: 0.8601
Archetype R²: 0.0978
Archetype transform grad norm: 0.261121
Archetype transform param norm: 7.5955
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.7899 (range: 0.7899 - 0.7899)
archetypal_loss: 0.8601 (range: 0.8601 - 0.8601)
kld_loss: 0.1580 (range: 0.1580 - 0.1580)
reconstruction_loss: 0.8601 (range: 0.8601 - 0.8601)
archetype_r2: 0.0978 (range: 0.0978 - 0.0978)
Archetype Transform Summary:
archetype_transform_mean: 0.001216 (range: 0.001216 - 0.001216)
archetype_transform_std: 0.106362 (range: 0.106362 - 0.106362)
archetype_transform_norm: 7.595487 (range: 7.595487 - 7.595487)
archetype_transform_grad_norm: 0.261121 (range: 0.261121 - 0.261121)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0064, max=0.7275, mean=0.1667
Batch reconstruction MSE: 1.3317
Archetype stats: min=-11.5723, max=16.6607
Archetype change since last debug: 2.937124
Archetype gradients: norm=0.048935, mean=0.002008
Epoch 1/1
Average loss: 0.7875
Archetypal loss: 0.8576
KLD loss: 0.1561
Reconstruction loss: 0.8576
Archetype R²: 0.1004
Archetype transform grad norm: 0.260088
Archetype transform param norm: 7.6821
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.7875 (range: 0.7875 - 0.7875)
archetypal_loss: 0.8576 (range: 0.8576 - 0.8576)
kld_loss: 0.1561 (range: 0.1561 - 0.1561)
reconstruction_loss: 0.8576 (range: 0.8576 - 0.8576)
archetype_r2: 0.1004 (range: 0.1004 - 0.1004)
Archetype Transform Summary:
archetype_transform_mean: 0.001230 (range: 0.001230 - 0.001230)
archetype_transform_std: 0.107574 (range: 0.107574 - 0.107574)
archetype_transform_norm: 7.682089 (range: 7.682089 - 7.682089)
archetype_transform_grad_norm: 0.260088 (range: 0.260088 - 0.260088)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0080, max=0.7381, mean=0.1667
Batch reconstruction MSE: 1.3149
Archetype stats: min=-12.1237, max=17.3833
Archetype change since last debug: 2.705580
Archetype gradients: norm=0.040023, mean=0.001750
Epoch 1/1
Average loss: 0.7861
Archetypal loss: 0.8567
KLD loss: 0.1508
Reconstruction loss: 0.8567
Archetype R²: 0.1014
Archetype transform grad norm: 0.266700
Archetype transform param norm: 7.7587
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.7861 (range: 0.7861 - 0.7861)
archetypal_loss: 0.8567 (range: 0.8567 - 0.8567)
kld_loss: 0.1508 (range: 0.1508 - 0.1508)
reconstruction_loss: 0.8567 (range: 0.8567 - 0.8567)
archetype_r2: 0.1014 (range: 0.1014 - 0.1014)
Archetype Transform Summary:
archetype_transform_mean: 0.001234 (range: 0.001234 - 0.001234)
archetype_transform_std: 0.108647 (range: 0.108647 - 0.108647)
archetype_transform_norm: 7.758695 (range: 7.758695 - 7.758695)
archetype_transform_grad_norm: 0.266700 (range: 0.266700 - 0.266700)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0093, max=0.6433, mean=0.1667
Batch reconstruction MSE: 1.2879
Archetype stats: min=-12.6611, max=17.7823
Archetype change since last debug: 2.345872
Archetype gradients: norm=0.043923, mean=0.001824
Epoch 1/1
Average loss: 0.7845
Archetypal loss: 0.8550
KLD loss: 0.1503
Reconstruction loss: 0.8550
Archetype R²: 0.1030
Archetype transform grad norm: 0.268045
Archetype transform param norm: 7.8274
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.7845 (range: 0.7845 - 0.7845)
archetypal_loss: 0.8550 (range: 0.8550 - 0.8550)
kld_loss: 0.1503 (range: 0.1503 - 0.1503)
reconstruction_loss: 0.8550 (range: 0.8550 - 0.8550)
archetype_r2: 0.1030 (range: 0.1030 - 0.1030)
Archetype Transform Summary:
archetype_transform_mean: 0.001238 (range: 0.001238 - 0.001238)
archetype_transform_std: 0.109609 (range: 0.109609 - 0.109609)
archetype_transform_norm: 7.827413 (range: 7.827413 - 7.827413)
archetype_transform_grad_norm: 0.268045 (range: 0.268045 - 0.268045)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0090, max=0.7370, mean=0.1667
Batch reconstruction MSE: 1.2853
Archetype stats: min=-13.0064, max=18.2790
Archetype change since last debug: 2.188947
Archetype gradients: norm=0.033324, mean=0.001477
Epoch 1/1
Average loss: 0.7840
Archetypal loss: 0.8547
KLD loss: 0.1473
Reconstruction loss: 0.8547
Archetype R²: 0.1032
Archetype transform grad norm: 0.281418
Archetype transform param norm: 7.8873
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.7840 (range: 0.7840 - 0.7840)
archetypal_loss: 0.8547 (range: 0.8547 - 0.8547)
kld_loss: 0.1473 (range: 0.1473 - 0.1473)
reconstruction_loss: 0.8547 (range: 0.8547 - 0.8547)
archetype_r2: 0.1032 (range: 0.1032 - 0.1032)
Archetype Transform Summary:
archetype_transform_mean: 0.001245 (range: 0.001245 - 0.001245)
archetype_transform_std: 0.110448 (range: 0.110448 - 0.110448)
archetype_transform_norm: 7.887274 (range: 7.887274 - 7.887274)
archetype_transform_grad_norm: 0.281418 (range: 0.281418 - 0.281418)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0120, max=0.6466, mean=0.1667
Batch reconstruction MSE: 1.2604
Archetype stats: min=-13.3352, max=18.2253
Archetype change since last debug: 1.993064
Archetype gradients: norm=0.044933, mean=0.001893
Epoch 1/1
Average loss: 0.7825
Archetypal loss: 0.8531
KLD loss: 0.1471
Reconstruction loss: 0.8531
Archetype R²: 0.1049
Archetype transform grad norm: 0.283303
Archetype transform param norm: 7.9431
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.7825 (range: 0.7825 - 0.7825)
archetypal_loss: 0.8531 (range: 0.8531 - 0.8531)
kld_loss: 0.1471 (range: 0.1471 - 0.1471)
reconstruction_loss: 0.8531 (range: 0.8531 - 0.8531)
archetype_r2: 0.1049 (range: 0.1049 - 0.1049)
Archetype Transform Summary:
archetype_transform_mean: 0.001247 (range: 0.001247 - 0.001247)
archetype_transform_std: 0.111229 (range: 0.111229 - 0.111229)
archetype_transform_norm: 7.943083 (range: 7.943083 - 7.943083)
archetype_transform_grad_norm: 0.283303 (range: 0.283303 - 0.283303)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0130, max=0.6539, mean=0.1667
Batch reconstruction MSE: 1.2688
Archetype stats: min=-13.4738, max=18.5105
Archetype change since last debug: 1.892437
Archetype gradients: norm=0.030391, mean=0.001422
Epoch 1/1
Average loss: 0.7826
Archetypal loss: 0.8533
KLD loss: 0.1458
Reconstruction loss: 0.8533
Archetype R²: 0.1046
Archetype transform grad norm: 0.292362
Archetype transform param norm: 7.9921
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.7826 (range: 0.7826 - 0.7826)
archetypal_loss: 0.8533 (range: 0.8533 - 0.8533)
kld_loss: 0.1458 (range: 0.1458 - 0.1458)
reconstruction_loss: 0.8533 (range: 0.8533 - 0.8533)
archetype_r2: 0.1046 (range: 0.1046 - 0.1046)
Archetype Transform Summary:
archetype_transform_mean: 0.001248 (range: 0.001248 - 0.001248)
archetype_transform_std: 0.111916 (range: 0.111916 - 0.111916)
archetype_transform_norm: 7.992119 (range: 7.992119 - 7.992119)
archetype_transform_grad_norm: 0.292362 (range: 0.292362 - 0.292362)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0145, max=0.6493, mean=0.1667
Batch reconstruction MSE: 1.2454
Archetype stats: min=-13.7598, max=18.4196
Archetype change since last debug: 1.778095
Archetype gradients: norm=0.048515, mean=0.001930
Epoch 1/1
Average loss: 0.7808
Archetypal loss: 0.8515
KLD loss: 0.1444
Reconstruction loss: 0.8515
Archetype R²: 0.1064
Archetype transform grad norm: 0.285670
Archetype transform param norm: 8.0368
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.7808 (range: 0.7808 - 0.7808)
archetypal_loss: 0.8515 (range: 0.8515 - 0.8515)
kld_loss: 0.1444 (range: 0.1444 - 0.1444)
reconstruction_loss: 0.8515 (range: 0.8515 - 0.8515)
archetype_r2: 0.1064 (range: 0.1064 - 0.1064)
Archetype Transform Summary:
archetype_transform_mean: 0.001258 (range: 0.001258 - 0.001258)
archetype_transform_std: 0.112542 (range: 0.112542 - 0.112542)
archetype_transform_norm: 8.036793 (range: 8.036793 - 8.036793)
archetype_transform_grad_norm: 0.285670 (range: 0.285670 - 0.285670)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0160, max=0.6049, mean=0.1667
Batch reconstruction MSE: 1.2385
Archetype stats: min=-13.9397, max=18.8627
Archetype change since last debug: 1.761476
Archetype gradients: norm=0.028009, mean=0.001257
Epoch 1/1
Average loss: 0.7794
Archetypal loss: 0.8503
KLD loss: 0.1414
Reconstruction loss: 0.8503
Archetype R²: 0.1077
Archetype transform grad norm: 0.283073
Archetype transform param norm: 8.0864
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.7794 (range: 0.7794 - 0.7794)
archetypal_loss: 0.8503 (range: 0.8503 - 0.8503)
kld_loss: 0.1414 (range: 0.1414 - 0.1414)
reconstruction_loss: 0.8503 (range: 0.8503 - 0.8503)
archetype_r2: 0.1077 (range: 0.1077 - 0.1077)
Archetype Transform Summary:
archetype_transform_mean: 0.001254 (range: 0.001254 - 0.001254)
archetype_transform_std: 0.113237 (range: 0.113237 - 0.113237)
archetype_transform_norm: 8.086410 (range: 8.086410 - 8.086410)
archetype_transform_grad_norm: 0.283073 (range: 0.283073 - 0.283073)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0157, max=0.6363, mean=0.1667
Batch reconstruction MSE: 1.2067
Archetype stats: min=-14.3137, max=19.0401
Archetype change since last debug: 1.716097
Archetype gradients: norm=0.042625, mean=0.001679
Epoch 1/1
Average loss: 0.7786
Archetypal loss: 0.8493
KLD loss: 0.1416
Reconstruction loss: 0.8493
Archetype R²: 0.1086
Archetype transform grad norm: 0.280517
Archetype transform param norm: 8.1330
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.7786 (range: 0.7786 - 0.7786)
archetypal_loss: 0.8493 (range: 0.8493 - 0.8493)
kld_loss: 0.1416 (range: 0.1416 - 0.1416)
reconstruction_loss: 0.8493 (range: 0.8493 - 0.8493)
archetype_r2: 0.1086 (range: 0.1086 - 0.1086)
Archetype Transform Summary:
archetype_transform_mean: 0.001259 (range: 0.001259 - 0.001259)
archetype_transform_std: 0.113890 (range: 0.113890 - 0.113890)
archetype_transform_norm: 8.133049 (range: 8.133049 - 8.133049)
archetype_transform_grad_norm: 0.280517 (range: 0.280517 - 0.280517)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0166, max=0.6141, mean=0.1667
Batch reconstruction MSE: 1.2289
Archetype stats: min=-14.5748, max=19.4974
Archetype change since last debug: 1.738234
Archetype gradients: norm=0.025478, mean=0.001200
Epoch 1/1
Average loss: 0.7781
Archetypal loss: 0.8492
KLD loss: 0.1390
Reconstruction loss: 0.8492
Archetype R²: 0.1088
Archetype transform grad norm: 0.285886
Archetype transform param norm: 8.1787
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.7781 (range: 0.7781 - 0.7781)
archetypal_loss: 0.8492 (range: 0.8492 - 0.8492)
kld_loss: 0.1390 (range: 0.1390 - 0.1390)
reconstruction_loss: 0.8492 (range: 0.8492 - 0.8492)
archetype_r2: 0.1088 (range: 0.1088 - 0.1088)
Archetype Transform Summary:
archetype_transform_mean: 0.001263 (range: 0.001263 - 0.001263)
archetype_transform_std: 0.114529 (range: 0.114529 - 0.114529)
archetype_transform_norm: 8.178735 (range: 8.178735 - 8.178735)
archetype_transform_grad_norm: 0.285886 (range: 0.285886 - 0.285886)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0136, max=0.6743, mean=0.1667
Batch reconstruction MSE: 1.2534
Archetype stats: min=-14.8508, max=19.6641
Archetype change since last debug: 1.508081
Archetype gradients: norm=0.047568, mean=0.001936
Epoch 1/1
Average loss: 0.7792
Archetypal loss: 0.8499
KLD loss: 0.1429
Reconstruction loss: 0.8499
Archetype R²: 0.1081
Archetype transform grad norm: 0.281619
Archetype transform param norm: 8.2044
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.7792 (range: 0.7792 - 0.7792)
archetypal_loss: 0.8499 (range: 0.8499 - 0.8499)
kld_loss: 0.1429 (range: 0.1429 - 0.1429)
reconstruction_loss: 0.8499 (range: 0.8499 - 0.8499)
archetype_r2: 0.1081 (range: 0.1081 - 0.1081)
Archetype Transform Summary:
archetype_transform_mean: 0.001255 (range: 0.001255 - 0.001255)
archetype_transform_std: 0.114889 (range: 0.114889 - 0.114889)
archetype_transform_norm: 8.204373 (range: 8.204373 - 8.204373)
archetype_transform_grad_norm: 0.281619 (range: 0.281619 - 0.281619)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0199, max=0.5931, mean=0.1667
Batch reconstruction MSE: 1.2493
Archetype stats: min=-15.0071, max=19.9326
Archetype change since last debug: 1.264161
Archetype gradients: norm=0.026833, mean=0.001245
Epoch 1/1
Average loss: 0.7782
Archetypal loss: 0.8493
KLD loss: 0.1380
Reconstruction loss: 0.8493
Archetype R²: 0.1086
Archetype transform grad norm: 0.289611
Archetype transform param norm: 8.2337
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.7782 (range: 0.7782 - 0.7782)
archetypal_loss: 0.8493 (range: 0.8493 - 0.8493)
kld_loss: 0.1380 (range: 0.1380 - 0.1380)
reconstruction_loss: 0.8493 (range: 0.8493 - 0.8493)
archetype_r2: 0.1086 (range: 0.1086 - 0.1086)
Archetype Transform Summary:
archetype_transform_mean: 0.001242 (range: 0.001242 - 0.001242)
archetype_transform_std: 0.115300 (range: 0.115300 - 0.115300)
archetype_transform_norm: 8.233744 (range: 8.233744 - 8.233744)
archetype_transform_grad_norm: 0.289611 (range: 0.289611 - 0.289611)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0161, max=0.5632, mean=0.1667
Batch reconstruction MSE: 1.2020
Archetype stats: min=-15.2257, max=19.8990
Archetype change since last debug: 1.281364
Archetype gradients: norm=0.045847, mean=0.001761
Epoch 1/1
Average loss: 0.7772
Archetypal loss: 0.8482
KLD loss: 0.1376
Reconstruction loss: 0.8482
Archetype R²: 0.1096
Archetype transform grad norm: 0.285265
Archetype transform param norm: 8.2611
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.7772 (range: 0.7772 - 0.7772)
archetypal_loss: 0.8482 (range: 0.8482 - 0.8482)
kld_loss: 0.1376 (range: 0.1376 - 0.1376)
reconstruction_loss: 0.8482 (range: 0.8482 - 0.8482)
archetype_r2: 0.1096 (range: 0.1096 - 0.1096)
Archetype Transform Summary:
archetype_transform_mean: 0.001249 (range: 0.001249 - 0.001249)
archetype_transform_std: 0.115683 (range: 0.115683 - 0.115683)
archetype_transform_norm: 8.261124 (range: 8.261124 - 8.261124)
archetype_transform_grad_norm: 0.285265 (range: 0.285265 - 0.285265)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0253, max=0.5630, mean=0.1667
Batch reconstruction MSE: 1.2060
Archetype stats: min=-15.4085, max=20.2217
Archetype change since last debug: 1.414045
Archetype gradients: norm=0.022829, mean=0.001077
Epoch 1/1
Average loss: 0.7765
Archetypal loss: 0.8476
KLD loss: 0.1365
Reconstruction loss: 0.8476
Archetype R²: 0.1103
Archetype transform grad norm: 0.294459
Archetype transform param norm: 8.2962
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.7765 (range: 0.7765 - 0.7765)
archetypal_loss: 0.8476 (range: 0.8476 - 0.8476)
kld_loss: 0.1365 (range: 0.1365 - 0.1365)
reconstruction_loss: 0.8476 (range: 0.8476 - 0.8476)
archetype_r2: 0.1103 (range: 0.1103 - 0.1103)
Archetype Transform Summary:
archetype_transform_mean: 0.001249 (range: 0.001249 - 0.001249)
archetype_transform_std: 0.116175 (range: 0.116175 - 0.116175)
archetype_transform_norm: 8.296246 (range: 8.296246 - 8.296246)
archetype_transform_grad_norm: 0.294459 (range: 0.294459 - 0.294459)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0196, max=0.5698, mean=0.1667
Batch reconstruction MSE: 1.1981
Archetype stats: min=-15.6755, max=20.2221
Archetype change since last debug: 1.355721
Archetype gradients: norm=0.046001, mean=0.001825
Epoch 1/1
Average loss: 0.7763
Archetypal loss: 0.8474
KLD loss: 0.1361
Reconstruction loss: 0.8474
Archetype R²: 0.1104
Archetype transform grad norm: 0.286331
Archetype transform param norm: 8.3225
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.7763 (range: 0.7763 - 0.7763)
archetypal_loss: 0.8474 (range: 0.8474 - 0.8474)
kld_loss: 0.1361 (range: 0.1361 - 0.1361)
reconstruction_loss: 0.8474 (range: 0.8474 - 0.8474)
archetype_r2: 0.1104 (range: 0.1104 - 0.1104)
Archetype Transform Summary:
archetype_transform_mean: 0.001242 (range: 0.001242 - 0.001242)
archetype_transform_std: 0.116543 (range: 0.116543 - 0.116543)
archetype_transform_norm: 8.322468 (range: 8.322468 - 8.322468)
archetype_transform_grad_norm: 0.286331 (range: 0.286331 - 0.286331)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0229, max=0.5808, mean=0.1667
Batch reconstruction MSE: 1.2180
Archetype stats: min=-15.8561, max=20.5065
Archetype change since last debug: 1.275093
Archetype gradients: norm=0.022915, mean=0.001091
Epoch 1/1
Average loss: 0.7760
Archetypal loss: 0.8472
KLD loss: 0.1350
Reconstruction loss: 0.8472
Archetype R²: 0.1107
Archetype transform grad norm: 0.291710
Archetype transform param norm: 8.3498
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.7760 (range: 0.7760 - 0.7760)
archetypal_loss: 0.8472 (range: 0.8472 - 0.8472)
kld_loss: 0.1350 (range: 0.1350 - 0.1350)
reconstruction_loss: 0.8472 (range: 0.8472 - 0.8472)
archetype_r2: 0.1107 (range: 0.1107 - 0.1107)
Archetype Transform Summary:
archetype_transform_mean: 0.001229 (range: 0.001229 - 0.001229)
archetype_transform_std: 0.116926 (range: 0.116926 - 0.116926)
archetype_transform_norm: 8.349839 (range: 8.349839 - 8.349839)
archetype_transform_grad_norm: 0.291710 (range: 0.291710 - 0.291710)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0193, max=0.5481, mean=0.1667
Batch reconstruction MSE: 1.2008
Archetype stats: min=-16.0555, max=20.3769
Archetype change since last debug: 1.324614
Archetype gradients: norm=0.043456, mean=0.001790
Epoch 1/1
Average loss: 0.7752
Archetypal loss: 0.8465
KLD loss: 0.1336
Reconstruction loss: 0.8465
Archetype R²: 0.1113
Archetype transform grad norm: 0.283748
Archetype transform param norm: 8.3707
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.7752 (range: 0.7752 - 0.7752)
archetypal_loss: 0.8465 (range: 0.8465 - 0.8465)
kld_loss: 0.1336 (range: 0.1336 - 0.1336)
reconstruction_loss: 0.8465 (range: 0.8465 - 0.8465)
archetype_r2: 0.1113 (range: 0.1113 - 0.1113)
Archetype Transform Summary:
archetype_transform_mean: 0.001233 (range: 0.001233 - 0.001233)
archetype_transform_std: 0.117219 (range: 0.117219 - 0.117219)
archetype_transform_norm: 8.370734 (range: 8.370734 - 8.370734)
archetype_transform_grad_norm: 0.283748 (range: 0.283748 - 0.283748)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0263, max=0.5387, mean=0.1667
Batch reconstruction MSE: 1.2009
Archetype stats: min=-16.1749, max=20.6552
Archetype change since last debug: 1.185803
Archetype gradients: norm=0.022681, mean=0.001070
Epoch 1/1
Average loss: 0.7746
Archetypal loss: 0.8460
KLD loss: 0.1321
Reconstruction loss: 0.8460
Archetype R²: 0.1118
Archetype transform grad norm: 0.291799
Archetype transform param norm: 8.3992
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.7746 (range: 0.7746 - 0.7746)
archetypal_loss: 0.8460 (range: 0.8460 - 0.8460)
kld_loss: 0.1321 (range: 0.1321 - 0.1321)
reconstruction_loss: 0.8460 (range: 0.8460 - 0.8460)
archetype_r2: 0.1118 (range: 0.1118 - 0.1118)
Archetype Transform Summary:
archetype_transform_mean: 0.001238 (range: 0.001238 - 0.001238)
archetype_transform_std: 0.117618 (range: 0.117618 - 0.117618)
archetype_transform_norm: 8.399231 (range: 8.399231 - 8.399231)
archetype_transform_grad_norm: 0.291799 (range: 0.291799 - 0.291799)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0211, max=0.5642, mean=0.1667
Batch reconstruction MSE: 1.1856
Archetype stats: min=-16.3504, max=20.6003
Archetype change since last debug: 1.223487
Archetype gradients: norm=0.042957, mean=0.001731
Epoch 1/1
Average loss: 0.7750
Archetypal loss: 0.8462
KLD loss: 0.1340
Reconstruction loss: 0.8462
Archetype R²: 0.1116
Archetype transform grad norm: 0.288944
Archetype transform param norm: 8.4198
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.7750 (range: 0.7750 - 0.7750)
archetypal_loss: 0.8462 (range: 0.8462 - 0.8462)
kld_loss: 0.1340 (range: 0.1340 - 0.1340)
reconstruction_loss: 0.8462 (range: 0.8462 - 0.8462)
archetype_r2: 0.1116 (range: 0.1116 - 0.1116)
Archetype Transform Summary:
archetype_transform_mean: 0.001227 (range: 0.001227 - 0.001227)
archetype_transform_std: 0.117906 (range: 0.117906 - 0.117906)
archetype_transform_norm: 8.419806 (range: 8.419806 - 8.419806)
archetype_transform_grad_norm: 0.288944 (range: 0.288944 - 0.288944)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0267, max=0.5013, mean=0.1667
Batch reconstruction MSE: 1.2198
Archetype stats: min=-16.4684, max=20.8287
Archetype change since last debug: 1.183201
Archetype gradients: norm=0.023500, mean=0.001057
Epoch 1/1
Average loss: 0.7751
Archetypal loss: 0.8465
KLD loss: 0.1319
Reconstruction loss: 0.8465
Archetype R²: 0.1112
Archetype transform grad norm: 0.292576
Archetype transform param norm: 8.4335
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.7751 (range: 0.7751 - 0.7751)
archetypal_loss: 0.8465 (range: 0.8465 - 0.8465)
kld_loss: 0.1319 (range: 0.1319 - 0.1319)
reconstruction_loss: 0.8465 (range: 0.8465 - 0.8465)
archetype_r2: 0.1112 (range: 0.1112 - 0.1112)
Archetype Transform Summary:
archetype_transform_mean: 0.001213 (range: 0.001213 - 0.001213)
archetype_transform_std: 0.118098 (range: 0.118098 - 0.118098)
archetype_transform_norm: 8.433530 (range: 8.433530 - 8.433530)
archetype_transform_grad_norm: 0.292576 (range: 0.292576 - 0.292576)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0169, max=0.5972, mean=0.1667
Batch reconstruction MSE: 1.1863
Archetype stats: min=-16.5830, max=20.7111
Archetype change since last debug: 1.060871
Archetype gradients: norm=0.038778, mean=0.001601
Epoch 1/1
Average loss: 0.7738
Archetypal loss: 0.8452
KLD loss: 0.1318
Reconstruction loss: 0.8452
Archetype R²: 0.1126
Archetype transform grad norm: 0.280348
Archetype transform param norm: 8.4464
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.7738 (range: 0.7738 - 0.7738)
archetypal_loss: 0.8452 (range: 0.8452 - 0.8452)
kld_loss: 0.1318 (range: 0.1318 - 0.1318)
reconstruction_loss: 0.8452 (range: 0.8452 - 0.8452)
archetype_r2: 0.1126 (range: 0.1126 - 0.1126)
Archetype Transform Summary:
archetype_transform_mean: 0.001200 (range: 0.001200 - 0.001200)
archetype_transform_std: 0.118279 (range: 0.118279 - 0.118279)
archetype_transform_norm: 8.446433 (range: 8.446433 - 8.446433)
archetype_transform_grad_norm: 0.280348 (range: 0.280348 - 0.280348)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0341, max=0.4542, mean=0.1667
Batch reconstruction MSE: 1.1835
Archetype stats: min=-16.7438, max=21.0267
Archetype change since last debug: 1.164070
Archetype gradients: norm=0.023976, mean=0.000932
Epoch 1/1
Average loss: 0.7734
Archetypal loss: 0.8447
KLD loss: 0.1315
Reconstruction loss: 0.8447
Archetype R²: 0.1130
Archetype transform grad norm: 0.284730
Archetype transform param norm: 8.4711
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.7734 (range: 0.7734 - 0.7734)
archetypal_loss: 0.8447 (range: 0.8447 - 0.8447)
kld_loss: 0.1315 (range: 0.1315 - 0.1315)
reconstruction_loss: 0.8447 (range: 0.8447 - 0.8447)
archetype_r2: 0.1130 (range: 0.1130 - 0.1130)
Archetype Transform Summary:
archetype_transform_mean: 0.001206 (range: 0.001206 - 0.001206)
archetype_transform_std: 0.118624 (range: 0.118624 - 0.118624)
archetype_transform_norm: 8.471073 (range: 8.471073 - 8.471073)
archetype_transform_grad_norm: 0.284730 (range: 0.284730 - 0.284730)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0227, max=0.5768, mean=0.1667
Batch reconstruction MSE: 1.1886
Archetype stats: min=-16.9589, max=21.1130
Archetype change since last debug: 1.133944
Archetype gradients: norm=0.036394, mean=0.001429
Epoch 1/1
Average loss: 0.7735
Archetypal loss: 0.8448
KLD loss: 0.1313
Reconstruction loss: 0.8448
Archetype R²: 0.1128
Archetype transform grad norm: 0.282974
Archetype transform param norm: 8.4876
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.7735 (range: 0.7735 - 0.7735)
archetypal_loss: 0.8448 (range: 0.8448 - 0.8448)
kld_loss: 0.1313 (range: 0.1313 - 0.1313)
reconstruction_loss: 0.8448 (range: 0.8448 - 0.8448)
archetype_r2: 0.1128 (range: 0.1128 - 0.1128)
Archetype Transform Summary:
archetype_transform_mean: 0.001188 (range: 0.001188 - 0.001188)
archetype_transform_std: 0.118856 (range: 0.118856 - 0.118856)
archetype_transform_norm: 8.487617 (range: 8.487617 - 8.487617)
archetype_transform_grad_norm: 0.282974 (range: 0.282974 - 0.282974)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0324, max=0.4711, mean=0.1667
Batch reconstruction MSE: 1.2060
Archetype stats: min=-17.1226, max=21.3835
Archetype change since last debug: 1.205145
Archetype gradients: norm=0.032716, mean=0.001312
Epoch 1/1
Average loss: 0.7735
Archetypal loss: 0.8450
KLD loss: 0.1295
Reconstruction loss: 0.8450
Archetype R²: 0.1126
Archetype transform grad norm: 0.292422
Archetype transform param norm: 8.5027
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.7735 (range: 0.7735 - 0.7735)
archetypal_loss: 0.8450 (range: 0.8450 - 0.8450)
kld_loss: 0.1295 (range: 0.1295 - 0.1295)
reconstruction_loss: 0.8450 (range: 0.8450 - 0.8450)
archetype_r2: 0.1126 (range: 0.1126 - 0.1126)
Archetype Transform Summary:
archetype_transform_mean: 0.001175 (range: 0.001175 - 0.001175)
archetype_transform_std: 0.119068 (range: 0.119068 - 0.119068)
archetype_transform_norm: 8.502728 (range: 8.502728 - 8.502728)
archetype_transform_grad_norm: 0.292422 (range: 0.292422 - 0.292422)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0256, max=0.5531, mean=0.1667
Batch reconstruction MSE: 1.1847
Archetype stats: min=-17.2726, max=21.3575
Archetype change since last debug: 1.019637
Archetype gradients: norm=0.042772, mean=0.001666
Epoch 1/1
Average loss: 0.7726
Archetypal loss: 0.8442
KLD loss: 0.1285
Reconstruction loss: 0.8442
Archetype R²: 0.1134
Archetype transform grad norm: 0.283998
Archetype transform param norm: 8.5152
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.7726 (range: 0.7726 - 0.7726)
archetypal_loss: 0.8442 (range: 0.8442 - 0.8442)
kld_loss: 0.1285 (range: 0.1285 - 0.1285)
reconstruction_loss: 0.8442 (range: 0.8442 - 0.8442)
archetype_r2: 0.1134 (range: 0.1134 - 0.1134)
Archetype Transform Summary:
archetype_transform_mean: 0.001177 (range: 0.001177 - 0.001177)
archetype_transform_std: 0.119243 (range: 0.119243 - 0.119243)
archetype_transform_norm: 8.515208 (range: 8.515208 - 8.515208)
archetype_transform_grad_norm: 0.283998 (range: 0.283998 - 0.283998)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0328, max=0.4701, mean=0.1667
Batch reconstruction MSE: 1.2034
Archetype stats: min=-17.4236, max=21.6189
Archetype change since last debug: 1.033291
Archetype gradients: norm=0.044628, mean=0.001505
Epoch 1/1
Average loss: 0.7730
Archetypal loss: 0.8444
KLD loss: 0.1302
Reconstruction loss: 0.8444
Archetype R²: 0.1131
Archetype transform grad norm: 0.292981
Archetype transform param norm: 8.5291
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.7730 (range: 0.7730 - 0.7730)
archetypal_loss: 0.8444 (range: 0.8444 - 0.8444)
kld_loss: 0.1302 (range: 0.1302 - 0.1302)
reconstruction_loss: 0.8444 (range: 0.8444 - 0.8444)
archetype_r2: 0.1131 (range: 0.1131 - 0.1131)
Archetype Transform Summary:
archetype_transform_mean: 0.001173 (range: 0.001173 - 0.001173)
archetype_transform_std: 0.119437 (range: 0.119437 - 0.119437)
archetype_transform_norm: 8.529111 (range: 8.529111 - 8.529111)
archetype_transform_grad_norm: 0.292981 (range: 0.292981 - 0.292981)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0313, max=0.5386, mean=0.1667
Batch reconstruction MSE: 1.2090
Archetype stats: min=-17.5532, max=21.6732
Archetype change since last debug: 1.036756
Archetype gradients: norm=0.056383, mean=0.002243
Epoch 1/1
Average loss: 0.7728
Archetypal loss: 0.8444
KLD loss: 0.1280
Reconstruction loss: 0.8444
Archetype R²: 0.1131
Archetype transform grad norm: 0.292818
Archetype transform param norm: 8.5350
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.7728 (range: 0.7728 - 0.7728)
archetypal_loss: 0.8444 (range: 0.8444 - 0.8444)
kld_loss: 0.1280 (range: 0.1280 - 0.1280)
reconstruction_loss: 0.8444 (range: 0.8444 - 0.8444)
archetype_r2: 0.1131 (range: 0.1131 - 0.1131)
Archetype Transform Summary:
archetype_transform_mean: 0.001184 (range: 0.001184 - 0.001184)
archetype_transform_std: 0.119520 (range: 0.119520 - 0.119520)
archetype_transform_norm: 8.535014 (range: 8.535014 - 8.535014)
archetype_transform_grad_norm: 0.292818 (range: 0.292818 - 0.292818)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0247, max=0.4848, mean=0.1667
Batch reconstruction MSE: 1.1920
Archetype stats: min=-17.6617, max=21.8999
Archetype change since last debug: 0.928146
Archetype gradients: norm=0.044352, mean=0.001429
Epoch 1/1
Average loss: 0.7725
Archetypal loss: 0.8442
KLD loss: 0.1273
Reconstruction loss: 0.8442
Archetype R²: 0.1133
Archetype transform grad norm: 0.293528
Archetype transform param norm: 8.5440
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.7725 (range: 0.7725 - 0.7725)
archetypal_loss: 0.8442 (range: 0.8442 - 0.8442)
kld_loss: 0.1273 (range: 0.1273 - 0.1273)
reconstruction_loss: 0.8442 (range: 0.8442 - 0.8442)
archetype_r2: 0.1133 (range: 0.1133 - 0.1133)
Archetype Transform Summary:
archetype_transform_mean: 0.001187 (range: 0.001187 - 0.001187)
archetype_transform_std: 0.119645 (range: 0.119645 - 0.119645)
archetype_transform_norm: 8.543978 (range: 8.543978 - 8.543978)
archetype_transform_grad_norm: 0.293528 (range: 0.293528 - 0.293528)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0363, max=0.6104, mean=0.1667
Batch reconstruction MSE: 1.1859
Archetype stats: min=-17.8314, max=21.8569
Archetype change since last debug: 1.044814
Archetype gradients: norm=0.049438, mean=0.001921
Epoch 1/1
Average loss: 0.7722
Archetypal loss: 0.8438
KLD loss: 0.1280
Reconstruction loss: 0.8438
Archetype R²: 0.1137
Archetype transform grad norm: 0.293470
Archetype transform param norm: 8.5522
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.7722 (range: 0.7722 - 0.7722)
archetypal_loss: 0.8438 (range: 0.8438 - 0.8438)
kld_loss: 0.1280 (range: 0.1280 - 0.1280)
reconstruction_loss: 0.8438 (range: 0.8438 - 0.8438)
archetype_r2: 0.1137 (range: 0.1137 - 0.1137)
Archetype Transform Summary:
archetype_transform_mean: 0.001187 (range: 0.001187 - 0.001187)
archetype_transform_std: 0.119761 (range: 0.119761 - 0.119761)
archetype_transform_norm: 8.552212 (range: 8.552212 - 8.552212)
archetype_transform_grad_norm: 0.293470 (range: 0.293470 - 0.293470)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0225, max=0.4447, mean=0.1667
Batch reconstruction MSE: 1.1974
Archetype stats: min=-17.9749, max=22.1231
Archetype change since last debug: 0.952750
Archetype gradients: norm=0.035809, mean=0.001257
Epoch 1/1
Average loss: 0.7723
Archetypal loss: 0.8440
KLD loss: 0.1265
Reconstruction loss: 0.8440
Archetype R²: 0.1134
Archetype transform grad norm: 0.293550
Archetype transform param norm: 8.5592
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.7723 (range: 0.7723 - 0.7723)
archetypal_loss: 0.8440 (range: 0.8440 - 0.8440)
kld_loss: 0.1265 (range: 0.1265 - 0.1265)
reconstruction_loss: 0.8440 (range: 0.8440 - 0.8440)
archetype_r2: 0.1134 (range: 0.1134 - 0.1134)
Archetype Transform Summary:
archetype_transform_mean: 0.001174 (range: 0.001174 - 0.001174)
archetype_transform_std: 0.119859 (range: 0.119859 - 0.119859)
archetype_transform_norm: 8.559190 (range: 8.559190 - 8.559190)
archetype_transform_grad_norm: 0.293550 (range: 0.293550 - 0.293550)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0370, max=0.5484, mean=0.1667
Batch reconstruction MSE: 1.1886
Archetype stats: min=-18.1076, max=21.9224
Archetype change since last debug: 0.927399
Archetype gradients: norm=0.041492, mean=0.001650
Epoch 1/1
Average loss: 0.7716
Archetypal loss: 0.8431
KLD loss: 0.1286
Reconstruction loss: 0.8431
Archetype R²: 0.1143
Archetype transform grad norm: 0.288701
Archetype transform param norm: 8.5684
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.7716 (range: 0.7716 - 0.7716)
archetypal_loss: 0.8431 (range: 0.8431 - 0.8431)
kld_loss: 0.1286 (range: 0.1286 - 0.1286)
reconstruction_loss: 0.8431 (range: 0.8431 - 0.8431)
archetype_r2: 0.1143 (range: 0.1143 - 0.1143)
Archetype Transform Summary:
archetype_transform_mean: 0.001168 (range: 0.001168 - 0.001168)
archetype_transform_std: 0.119988 (range: 0.119988 - 0.119988)
archetype_transform_norm: 8.568405 (range: 8.568405 - 8.568405)
archetype_transform_grad_norm: 0.288701 (range: 0.288701 - 0.288701)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0212, max=0.4882, mean=0.1667
Batch reconstruction MSE: 1.2270
Archetype stats: min=-18.0753, max=22.0858
Archetype change since last debug: 0.908720
Archetype gradients: norm=0.035592, mean=0.001489
Epoch 1/1
Average loss: 0.7729
Archetypal loss: 0.8444
KLD loss: 0.1287
Reconstruction loss: 0.8444
Archetype R²: 0.1129
Archetype transform grad norm: 0.300631
Archetype transform param norm: 8.5724
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.7729 (range: 0.7729 - 0.7729)
archetypal_loss: 0.8444 (range: 0.8444 - 0.8444)
kld_loss: 0.1287 (range: 0.1287 - 0.1287)
reconstruction_loss: 0.8444 (range: 0.8444 - 0.8444)
archetype_r2: 0.1129 (range: 0.1129 - 0.1129)
Archetype Transform Summary:
archetype_transform_mean: 0.001158 (range: 0.001158 - 0.001158)
archetype_transform_std: 0.120044 (range: 0.120044 - 0.120044)
archetype_transform_norm: 8.572394 (range: 8.572394 - 8.572394)
archetype_transform_grad_norm: 0.300631 (range: 0.300631 - 0.300631)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0339, max=0.4748, mean=0.1667
Batch reconstruction MSE: 1.1986
Archetype stats: min=-18.0453, max=21.5762
Archetype change since last debug: 1.148760
Archetype gradients: norm=0.037649, mean=0.001519
Epoch 1/1
Average loss: 0.7717
Archetypal loss: 0.8432
KLD loss: 0.1279
Reconstruction loss: 0.8432
Archetype R²: 0.1142
Archetype transform grad norm: 0.290397
Archetype transform param norm: 8.5793
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.7717 (range: 0.7717 - 0.7717)
archetypal_loss: 0.8432 (range: 0.8432 - 0.8432)
kld_loss: 0.1279 (range: 0.1279 - 0.1279)
reconstruction_loss: 0.8432 (range: 0.8432 - 0.8432)
archetype_r2: 0.1142 (range: 0.1142 - 0.1142)
Archetype Transform Summary:
archetype_transform_mean: 0.001159 (range: 0.001159 - 0.001159)
archetype_transform_std: 0.120140 (range: 0.120140 - 0.120140)
archetype_transform_norm: 8.579251 (range: 8.579251 - 8.579251)
archetype_transform_grad_norm: 0.290397 (range: 0.290397 - 0.290397)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0246, max=0.4935, mean=0.1667
Batch reconstruction MSE: 1.1687
Archetype stats: min=-17.8870, max=21.6272
Archetype change since last debug: 0.899192
Archetype gradients: norm=0.031240, mean=0.001488
Epoch 1/1
Average loss: 0.7704
Archetypal loss: 0.8422
KLD loss: 0.1246
Reconstruction loss: 0.8422
Archetype R²: 0.1152
Archetype transform grad norm: 0.289907
Archetype transform param norm: 8.5956
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.7704 (range: 0.7704 - 0.7704)
archetypal_loss: 0.8422 (range: 0.8422 - 0.8422)
kld_loss: 0.1246 (range: 0.1246 - 0.1246)
reconstruction_loss: 0.8422 (range: 0.8422 - 0.8422)
archetype_r2: 0.1152 (range: 0.1152 - 0.1152)
Archetype Transform Summary:
archetype_transform_mean: 0.001160 (range: 0.001160 - 0.001160)
archetype_transform_std: 0.120369 (range: 0.120369 - 0.120369)
archetype_transform_norm: 8.595609 (range: 8.595609 - 8.595609)
archetype_transform_grad_norm: 0.289907 (range: 0.289907 - 0.289907)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0290, max=0.4603, mean=0.1667
Batch reconstruction MSE: 1.1610
Archetype stats: min=-18.0571, max=21.6742
Archetype change since last debug: 0.877509
Archetype gradients: norm=0.035611, mean=0.001304
Epoch 1/1
Average loss: 0.7703
Archetypal loss: 0.8420
KLD loss: 0.1259
Reconstruction loss: 0.8420
Archetype R²: 0.1153
Archetype transform grad norm: 0.287521
Archetype transform param norm: 8.6105
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.7703 (range: 0.7703 - 0.7703)
archetypal_loss: 0.8420 (range: 0.8420 - 0.8420)
kld_loss: 0.1259 (range: 0.1259 - 0.1259)
reconstruction_loss: 0.8420 (range: 0.8420 - 0.8420)
archetype_r2: 0.1153 (range: 0.1153 - 0.1153)
Archetype Transform Summary:
archetype_transform_mean: 0.001159 (range: 0.001159 - 0.001159)
archetype_transform_std: 0.120577 (range: 0.120577 - 0.120577)
archetype_transform_norm: 8.610496 (range: 8.610496 - 8.610496)
archetype_transform_grad_norm: 0.287521 (range: 0.287521 - 0.287521)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0247, max=0.4862, mean=0.1667
Batch reconstruction MSE: 1.2087
Archetype stats: min=-18.0217, max=21.8809
Archetype change since last debug: 0.966726
Archetype gradients: norm=0.035591, mean=0.001764
Epoch 1/1
Average loss: 0.7711
Archetypal loss: 0.8431
KLD loss: 0.1225
Reconstruction loss: 0.8431
Archetype R²: 0.1142
Archetype transform grad norm: 0.298000
Archetype transform param norm: 8.6195
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.7711 (range: 0.7711 - 0.7711)
archetypal_loss: 0.8431 (range: 0.8431 - 0.8431)
kld_loss: 0.1225 (range: 0.1225 - 0.1225)
reconstruction_loss: 0.8431 (range: 0.8431 - 0.8431)
archetype_r2: 0.1142 (range: 0.1142 - 0.1142)
Archetype Transform Summary:
archetype_transform_mean: 0.001166 (range: 0.001166 - 0.001166)
archetype_transform_std: 0.120703 (range: 0.120703 - 0.120703)
archetype_transform_norm: 8.619506 (range: 8.619506 - 8.619506)
archetype_transform_grad_norm: 0.298000 (range: 0.298000 - 0.298000)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0311, max=0.4774, mean=0.1667
Batch reconstruction MSE: 1.1854
Archetype stats: min=-17.9998, max=21.8729
Archetype change since last debug: 0.786862
Archetype gradients: norm=0.040030, mean=0.001559
Epoch 1/1
Average loss: 0.7707
Archetypal loss: 0.8424
KLD loss: 0.1251
Reconstruction loss: 0.8424
Archetype R²: 0.1149
Archetype transform grad norm: 0.284317
Archetype transform param norm: 8.6228
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.7707 (range: 0.7707 - 0.7707)
archetypal_loss: 0.8424 (range: 0.8424 - 0.8424)
kld_loss: 0.1251 (range: 0.1251 - 0.1251)
reconstruction_loss: 0.8424 (range: 0.8424 - 0.8424)
archetype_r2: 0.1149 (range: 0.1149 - 0.1149)
Archetype Transform Summary:
archetype_transform_mean: 0.001165 (range: 0.001165 - 0.001165)
archetype_transform_std: 0.120749 (range: 0.120749 - 0.120749)
archetype_transform_norm: 8.622767 (range: 8.622767 - 8.622767)
archetype_transform_grad_norm: 0.284317 (range: 0.284317 - 0.284317)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0261, max=0.4795, mean=0.1667
Batch reconstruction MSE: 1.1987
Archetype stats: min=-17.9760, max=21.9967
Archetype change since last debug: 0.856696
Archetype gradients: norm=0.030556, mean=0.001536
Epoch 1/1
Average loss: 0.7708
Archetypal loss: 0.8427
KLD loss: 0.1235
Reconstruction loss: 0.8427
Archetype R²: 0.1145
Archetype transform grad norm: 0.292599
Archetype transform param norm: 8.6295
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.7708 (range: 0.7708 - 0.7708)
archetypal_loss: 0.8427 (range: 0.8427 - 0.8427)
kld_loss: 0.1235 (range: 0.1235 - 0.1235)
reconstruction_loss: 0.8427 (range: 0.8427 - 0.8427)
archetype_r2: 0.1145 (range: 0.1145 - 0.1145)
Archetype Transform Summary:
archetype_transform_mean: 0.001159 (range: 0.001159 - 0.001159)
archetype_transform_std: 0.120843 (range: 0.120843 - 0.120843)
archetype_transform_norm: 8.629487 (range: 8.629487 - 8.629487)
archetype_transform_grad_norm: 0.292599 (range: 0.292599 - 0.292599)
Fold 2/3
Model input_dim: 50 (auto-detected from data)
Archetypes parameter registered: True
Archetypes requires_grad: True
Deep_AA (Deep Archetypal Analysis) initialized:
- Single-stage architecture (like Deep_2)
- Inflation factor: 1.5
- Direct archetypal coordinates (no bottleneck)
Consolidated Archetype Initialization
PCHA: True, Inflation: True (factor: 1.5)
Test inflation: False
Running PCHA initialization...
Input shape: (128, 50)
Target archetypes: 6
Running PCHA with 6 archetypes...
Data shape for PCHA: (50, 128)
PCHA Results:
Archetypes shape: (6, 50)
Archetype R²: 0.2535
SSE: 4685.7040
PCHA archetype R²: 0.2535
Archetype shape: (6, 50)
[OK] Initialized 6 archetypes using PCHA
Scalar Archetypal Inflation (factor: 1.50)
[OK] Inflation complete
[STATS] Positioning verification:
Data radius (max): 15.808
Data radius (mean): 6.452
Archetype distances: 3.771 to 21.135
Archetypes outside data: 1/6
Min archetype separation: 9.380
[OK] Archetype initialization complete (success: True)
[OK] Archetype initialization complete (PCHA: True, Inflation: 1.5)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0013, max=0.9126, mean=0.1667
Batch reconstruction MSE: 0.9509
Archetype stats: min=-1.1397, max=1.5612
Archetype gradients: norm=0.012888, mean=0.000568
Epoch 1/1
Average loss: 0.8669
Archetypal loss: 0.9520
KLD loss: 0.1016
Reconstruction loss: 0.9520
Archetype R²: -0.0133
Archetype transform grad norm: 0.179278
Archetype transform param norm: 5.7787
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.8669 (range: 0.8669 - 0.8669)
archetypal_loss: 0.9520 (range: 0.9520 - 0.9520)
kld_loss: 0.1016 (range: 0.1016 - 0.1016)
reconstruction_loss: 0.9520 (range: 0.9520 - 0.9520)
archetype_r2: -0.0133 (range: -0.0133 - -0.0133)
Archetype Transform Summary:
archetype_transform_mean: -0.001440 (range: -0.001440 - -0.001440)
archetype_transform_std: 0.080912 (range: 0.080912 - 0.080912)
archetype_transform_norm: 5.778655 (range: 5.778655 - 5.778655)
archetype_transform_grad_norm: 0.179278 (range: 0.179278 - 0.179278)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0078, max=0.7815, mean=0.1667
Batch reconstruction MSE: 0.8674
Archetype stats: min=-0.9726, max=0.9041
Archetype change since last debug: 6.264648
Archetype gradients: norm=0.003141, mean=0.000138
Epoch 1/1
Average loss: 0.8487
Archetypal loss: 0.9353
KLD loss: 0.0687
Reconstruction loss: 0.9353
Archetype R²: 0.0047
Archetype transform grad norm: 0.136899
Archetype transform param norm: 5.8202
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.8487 (range: 0.8487 - 0.8487)
archetypal_loss: 0.9353 (range: 0.9353 - 0.9353)
kld_loss: 0.0687 (range: 0.0687 - 0.0687)
reconstruction_loss: 0.9353 (range: 0.9353 - 0.9353)
archetype_r2: 0.0047 (range: 0.0047 - 0.0047)
Archetype Transform Summary:
archetype_transform_mean: -0.001789 (range: -0.001789 - -0.001789)
archetype_transform_std: 0.081488 (range: 0.081488 - 0.081488)
archetype_transform_norm: 5.820249 (range: 5.820249 - 5.820249)
archetype_transform_grad_norm: 0.136899 (range: 0.136899 - 0.136899)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0066, max=0.7948, mean=0.1667
Batch reconstruction MSE: 0.8931
Archetype stats: min=-2.0356, max=2.1857
Archetype change since last debug: 5.193797
Archetype gradients: norm=0.005423, mean=0.000197
Epoch 1/1
Average loss: 0.8357
Archetypal loss: 0.9146
KLD loss: 0.1256
Reconstruction loss: 0.9146
Archetype R²: 0.0268
Archetype transform grad norm: 0.170582
Archetype transform param norm: 5.9862
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.8357 (range: 0.8357 - 0.8357)
archetypal_loss: 0.9146 (range: 0.9146 - 0.9146)
kld_loss: 0.1256 (range: 0.1256 - 0.1256)
reconstruction_loss: 0.9146 (range: 0.9146 - 0.9146)
archetype_r2: 0.0268 (range: 0.0268 - 0.0268)
Archetype Transform Summary:
archetype_transform_mean: -0.001740 (range: -0.001740 - -0.001740)
archetype_transform_std: 0.083814 (range: 0.083814 - 0.083814)
archetype_transform_norm: 5.986217 (range: 5.986217 - 5.986217)
archetype_transform_grad_norm: 0.170582 (range: 0.170582 - 0.170582)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0064, max=0.7621, mean=0.1667
Batch reconstruction MSE: 0.9736
Archetype stats: min=-3.7657, max=5.0464
Archetype change since last debug: 9.210508
Archetype gradients: norm=0.011537, mean=0.000436
Epoch 1/1
Average loss: 0.8199
Archetypal loss: 0.8917
KLD loss: 0.1732
Reconstruction loss: 0.8917
Archetype R²: 0.0511
Archetype transform grad norm: 0.202207
Archetype transform param norm: 6.2710
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.8199 (range: 0.8199 - 0.8199)
archetypal_loss: 0.8917 (range: 0.8917 - 0.8917)
kld_loss: 0.1732 (range: 0.1732 - 0.1732)
reconstruction_loss: 0.8917 (range: 0.8917 - 0.8917)
archetype_r2: 0.0511 (range: 0.0511 - 0.0511)
Archetype Transform Summary:
archetype_transform_mean: -0.001797 (range: -0.001797 - -0.001797)
archetype_transform_std: 0.087802 (range: 0.087802 - 0.087802)
archetype_transform_norm: 6.271008 (range: 6.271008 - 6.271008)
archetype_transform_grad_norm: 0.202207 (range: 0.202207 - 0.202207)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0068, max=0.7888, mean=0.1667
Batch reconstruction MSE: 1.0722
Archetype stats: min=-5.2522, max=7.7512
Archetype change since last debug: 9.832607
Archetype gradients: norm=0.021307, mean=0.000908
Epoch 1/1
Average loss: 0.8066
Archetypal loss: 0.8757
KLD loss: 0.1847
Reconstruction loss: 0.8757
Archetype R²: 0.0681
Archetype transform grad norm: 0.219690
Archetype transform param norm: 6.5864
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.8066 (range: 0.8066 - 0.8066)
archetypal_loss: 0.8757 (range: 0.8757 - 0.8757)
kld_loss: 0.1847 (range: 0.1847 - 0.1847)
reconstruction_loss: 0.8757 (range: 0.8757 - 0.8757)
archetype_r2: 0.0681 (range: 0.0681 - 0.0681)
Archetype Transform Summary:
archetype_transform_mean: -0.001837 (range: -0.001837 - -0.001837)
archetype_transform_std: 0.092218 (range: 0.092218 - 0.092218)
archetype_transform_norm: 6.586378 (range: 6.586378 - 6.586378)
archetype_transform_grad_norm: 0.219690 (range: 0.219690 - 0.219690)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0061, max=0.7543, mean=0.1667
Batch reconstruction MSE: 1.1546
Archetype stats: min=-7.0141, max=9.9005
Archetype change since last debug: 8.078922
Archetype gradients: norm=0.030005, mean=0.001346
Epoch 1/1
Average loss: 0.7976
Archetypal loss: 0.8654
KLD loss: 0.1874
Reconstruction loss: 0.8654
Archetype R²: 0.0790
Archetype transform grad norm: 0.231248
Archetype transform param norm: 6.8641
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.7976 (range: 0.7976 - 0.7976)
archetypal_loss: 0.8654 (range: 0.8654 - 0.8654)
kld_loss: 0.1874 (range: 0.1874 - 0.1874)
reconstruction_loss: 0.8654 (range: 0.8654 - 0.8654)
archetype_r2: 0.0790 (range: 0.0790 - 0.0790)
Archetype Transform Summary:
archetype_transform_mean: -0.001898 (range: -0.001898 - -0.001898)
archetype_transform_std: 0.096107 (range: 0.096107 - 0.096107)
archetype_transform_norm: 6.864058 (range: 6.864058 - 6.864058)
archetype_transform_grad_norm: 0.231248 (range: 0.231248 - 0.231248)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0047, max=0.7855, mean=0.1667
Batch reconstruction MSE: 1.2042
Archetype stats: min=-8.2984, max=11.4324
Archetype change since last debug: 6.526484
Archetype gradients: norm=0.040503, mean=0.001810
Epoch 1/1
Average loss: 0.7904
Archetypal loss: 0.8573
KLD loss: 0.1880
Reconstruction loss: 0.8573
Archetype R²: 0.0875
Archetype transform grad norm: 0.238148
Archetype transform param norm: 7.0976
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.7904 (range: 0.7904 - 0.7904)
archetypal_loss: 0.8573 (range: 0.8573 - 0.8573)
kld_loss: 0.1880 (range: 0.1880 - 0.1880)
reconstruction_loss: 0.8573 (range: 0.8573 - 0.8573)
archetype_r2: 0.0875 (range: 0.0875 - 0.0875)
Archetype Transform Summary:
archetype_transform_mean: -0.001960 (range: -0.001960 - -0.001960)
archetype_transform_std: 0.099377 (range: 0.099377 - 0.099377)
archetype_transform_norm: 7.097630 (range: 7.097630 - 7.097630)
archetype_transform_grad_norm: 0.238148 (range: 0.238148 - 0.238148)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0058, max=0.7463, mean=0.1667
Batch reconstruction MSE: 1.2474
Archetype stats: min=-9.3235, max=12.6831
Archetype change since last debug: 5.299408
Archetype gradients: norm=0.052606, mean=0.002157
Epoch 1/1
Average loss: 0.7860
Archetypal loss: 0.8533
KLD loss: 0.1810
Reconstruction loss: 0.8533
Archetype R²: 0.0916
Archetype transform grad norm: 0.244607
Archetype transform param norm: 7.2624
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.7860 (range: 0.7860 - 0.7860)
archetypal_loss: 0.8533 (range: 0.8533 - 0.8533)
kld_loss: 0.1810 (range: 0.1810 - 0.1810)
reconstruction_loss: 0.8533 (range: 0.8533 - 0.8533)
archetype_r2: 0.0916 (range: 0.0916 - 0.0916)
Archetype Transform Summary:
archetype_transform_mean: -0.002029 (range: -0.002029 - -0.002029)
archetype_transform_std: 0.101684 (range: 0.101684 - 0.101684)
archetype_transform_norm: 7.262401 (range: 7.262401 - 7.262401)
archetype_transform_grad_norm: 0.244607 (range: 0.244607 - 0.244607)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0086, max=0.6615, mean=0.1667
Batch reconstruction MSE: 1.2501
Archetype stats: min=-10.0964, max=13.3890
Archetype change since last debug: 3.836509
Archetype gradients: norm=0.054743, mean=0.002252
Epoch 1/1
Average loss: 0.7824
Archetypal loss: 0.8501
KLD loss: 0.1733
Reconstruction loss: 0.8501
Archetype R²: 0.0950
Archetype transform grad norm: 0.248263
Archetype transform param norm: 7.3801
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.7824 (range: 0.7824 - 0.7824)
archetypal_loss: 0.8501 (range: 0.8501 - 0.8501)
kld_loss: 0.1733 (range: 0.1733 - 0.1733)
reconstruction_loss: 0.8501 (range: 0.8501 - 0.8501)
archetype_r2: 0.0950 (range: 0.0950 - 0.0950)
Archetype Transform Summary:
archetype_transform_mean: -0.002067 (range: -0.002067 - -0.002067)
archetype_transform_std: 0.103331 (range: 0.103331 - 0.103331)
archetype_transform_norm: 7.380079 (range: 7.380079 - 7.380079)
archetype_transform_grad_norm: 0.248263 (range: 0.248263 - 0.248263)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0100, max=0.6440, mean=0.1667
Batch reconstruction MSE: 1.2334
Archetype stats: min=-10.7480, max=14.1182
Archetype change since last debug: 3.167063
Archetype gradients: norm=0.053149, mean=0.002151
Epoch 1/1
Average loss: 0.7798
Archetypal loss: 0.8479
KLD loss: 0.1668
Reconstruction loss: 0.8479
Archetype R²: 0.0973
Archetype transform grad norm: 0.251667
Archetype transform param norm: 7.4759
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.7798 (range: 0.7798 - 0.7798)
archetypal_loss: 0.8479 (range: 0.8479 - 0.8479)
kld_loss: 0.1668 (range: 0.1668 - 0.1668)
reconstruction_loss: 0.8479 (range: 0.8479 - 0.8479)
archetype_r2: 0.0973 (range: 0.0973 - 0.0973)
Archetype Transform Summary:
archetype_transform_mean: -0.002122 (range: -0.002122 - -0.002122)
archetype_transform_std: 0.104672 (range: 0.104672 - 0.104672)
archetype_transform_norm: 7.475884 (range: 7.475884 - 7.475884)
archetype_transform_grad_norm: 0.251667 (range: 0.251667 - 0.251667)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0110, max=0.6145, mean=0.1667
Batch reconstruction MSE: 1.2103
Archetype stats: min=-11.2962, max=14.5836
Archetype change since last debug: 2.650797
Archetype gradients: norm=0.051986, mean=0.002108
Epoch 1/1
Average loss: 0.7769
Archetypal loss: 0.8454
KLD loss: 0.1607
Reconstruction loss: 0.8454
Archetype R²: 0.0999
Archetype transform grad norm: 0.252609
Archetype transform param norm: 7.5534
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.7769 (range: 0.7769 - 0.7769)
archetypal_loss: 0.8454 (range: 0.8454 - 0.8454)
kld_loss: 0.1607 (range: 0.1607 - 0.1607)
reconstruction_loss: 0.8454 (range: 0.8454 - 0.8454)
archetype_r2: 0.0999 (range: 0.0999 - 0.0999)
Archetype Transform Summary:
archetype_transform_mean: -0.002185 (range: -0.002185 - -0.002185)
archetype_transform_std: 0.105757 (range: 0.105757 - 0.105757)
archetype_transform_norm: 7.553416 (range: 7.553416 - 7.553416)
archetype_transform_grad_norm: 0.252609 (range: 0.252609 - 0.252609)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0125, max=0.5592, mean=0.1667
Batch reconstruction MSE: 1.1844
Archetype stats: min=-11.8175, max=15.1126
Archetype change since last debug: 2.411497
Archetype gradients: norm=0.045648, mean=0.001910
Epoch 1/1
Average loss: 0.7749
Archetypal loss: 0.8437
KLD loss: 0.1559
Reconstruction loss: 0.8437
Archetype R²: 0.1018
Archetype transform grad norm: 0.254231
Archetype transform param norm: 7.6291
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.7749 (range: 0.7749 - 0.7749)
archetypal_loss: 0.8437 (range: 0.8437 - 0.8437)
kld_loss: 0.1559 (range: 0.1559 - 0.1559)
reconstruction_loss: 0.8437 (range: 0.8437 - 0.8437)
archetype_r2: 0.1018 (range: 0.1018 - 0.1018)
Archetype Transform Summary:
archetype_transform_mean: -0.002229 (range: -0.002229 - -0.002229)
archetype_transform_std: 0.106816 (range: 0.106816 - 0.106816)
archetype_transform_norm: 7.629101 (range: 7.629101 - 7.629101)
archetype_transform_grad_norm: 0.254231 (range: 0.254231 - 0.254231)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0133, max=0.5395, mean=0.1667
Batch reconstruction MSE: 1.1615
Archetype stats: min=-12.2538, max=15.4989
Archetype change since last debug: 2.257122
Archetype gradients: norm=0.046385, mean=0.001893
Epoch 1/1
Average loss: 0.7735
Archetypal loss: 0.8425
KLD loss: 0.1524
Reconstruction loss: 0.8425
Archetype R²: 0.1032
Archetype transform grad norm: 0.257955
Archetype transform param norm: 7.6980
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.7735 (range: 0.7735 - 0.7735)
archetypal_loss: 0.8425 (range: 0.8425 - 0.8425)
kld_loss: 0.1524 (range: 0.1524 - 0.1524)
reconstruction_loss: 0.8425 (range: 0.8425 - 0.8425)
archetype_r2: 0.1032 (range: 0.1032 - 0.1032)
Archetype Transform Summary:
archetype_transform_mean: -0.002253 (range: -0.002253 - -0.002253)
archetype_transform_std: 0.107781 (range: 0.107781 - 0.107781)
archetype_transform_norm: 7.698036 (range: 7.698036 - 7.698036)
archetype_transform_grad_norm: 0.257955 (range: 0.257955 - 0.257955)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0148, max=0.5110, mean=0.1667
Batch reconstruction MSE: 1.1397
Archetype stats: min=-12.7421, max=15.9698
Archetype change since last debug: 2.187726
Archetype gradients: norm=0.040324, mean=0.001687
Epoch 1/1
Average loss: 0.7715
Archetypal loss: 0.8407
KLD loss: 0.1491
Reconstruction loss: 0.8407
Archetype R²: 0.1050
Archetype transform grad norm: 0.256443
Archetype transform param norm: 7.7576
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.7715 (range: 0.7715 - 0.7715)
archetypal_loss: 0.8407 (range: 0.8407 - 0.8407)
kld_loss: 0.1491 (range: 0.1491 - 0.1491)
reconstruction_loss: 0.8407 (range: 0.8407 - 0.8407)
archetype_r2: 0.1050 (range: 0.1050 - 0.1050)
Archetype Transform Summary:
archetype_transform_mean: -0.002316 (range: -0.002316 - -0.002316)
archetype_transform_std: 0.108615 (range: 0.108615 - 0.108615)
archetype_transform_norm: 7.757634 (range: 7.757634 - 7.757634)
archetype_transform_grad_norm: 0.256443 (range: 0.256443 - 0.256443)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0150, max=0.5696, mean=0.1667
Batch reconstruction MSE: 1.1238
Archetype stats: min=-13.1102, max=16.2232
Archetype change since last debug: 1.972311
Archetype gradients: norm=0.041759, mean=0.001711
Epoch 1/1
Average loss: 0.7701
Archetypal loss: 0.8394
KLD loss: 0.1465
Reconstruction loss: 0.8394
Archetype R²: 0.1063
Archetype transform grad norm: 0.262541
Archetype transform param norm: 7.8177
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.7701 (range: 0.7701 - 0.7701)
archetypal_loss: 0.8394 (range: 0.8394 - 0.8394)
kld_loss: 0.1465 (range: 0.1465 - 0.1465)
reconstruction_loss: 0.8394 (range: 0.8394 - 0.8394)
archetype_r2: 0.1063 (range: 0.1063 - 0.1063)
Archetype Transform Summary:
archetype_transform_mean: -0.002327 (range: -0.002327 - -0.002327)
archetype_transform_std: 0.109456 (range: 0.109456 - 0.109456)
archetype_transform_norm: 7.817716 (range: 7.817716 - 7.817716)
archetype_transform_grad_norm: 0.262541 (range: 0.262541 - 0.262541)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0176, max=0.4583, mean=0.1667
Batch reconstruction MSE: 1.1062
Archetype stats: min=-13.5825, max=16.5592
Archetype change since last debug: 2.033732
Archetype gradients: norm=0.037137, mean=0.001519
Epoch 1/1
Average loss: 0.7694
Archetypal loss: 0.8387
KLD loss: 0.1451
Reconstruction loss: 0.8387
Archetype R²: 0.1071
Archetype transform grad norm: 0.267108
Archetype transform param norm: 7.8738
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.7694 (range: 0.7694 - 0.7694)
archetypal_loss: 0.8387 (range: 0.8387 - 0.8387)
kld_loss: 0.1451 (range: 0.1451 - 0.1451)
reconstruction_loss: 0.8387 (range: 0.8387 - 0.8387)
archetype_r2: 0.1071 (range: 0.1071 - 0.1071)
Archetype Transform Summary:
archetype_transform_mean: -0.002356 (range: -0.002356 - -0.002356)
archetype_transform_std: 0.110241 (range: 0.110241 - 0.110241)
archetype_transform_norm: 7.873782 (range: 7.873782 - 7.873782)
archetype_transform_grad_norm: 0.267108 (range: 0.267108 - 0.267108)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0187, max=0.5385, mean=0.1667
Batch reconstruction MSE: 1.1244
Archetype stats: min=-13.7138, max=16.8126
Archetype change since last debug: 1.735378
Archetype gradients: norm=0.041789, mean=0.001697
Epoch 1/1
Average loss: 0.7697
Archetypal loss: 0.8392
KLD loss: 0.1443
Reconstruction loss: 0.8392
Archetype R²: 0.1066
Archetype transform grad norm: 0.281248
Archetype transform param norm: 7.9155
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.7697 (range: 0.7697 - 0.7697)
archetypal_loss: 0.8392 (range: 0.8392 - 0.8392)
kld_loss: 0.1443 (range: 0.1443 - 0.1443)
reconstruction_loss: 0.8392 (range: 0.8392 - 0.8392)
archetype_r2: 0.1066 (range: 0.1066 - 0.1066)
Archetype Transform Summary:
archetype_transform_mean: -0.002370 (range: -0.002370 - -0.002370)
archetype_transform_std: 0.110825 (range: 0.110825 - 0.110825)
archetype_transform_norm: 7.915518 (range: 7.915518 - 7.915518)
archetype_transform_grad_norm: 0.281248 (range: 0.281248 - 0.281248)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0162, max=0.4479, mean=0.1667
Batch reconstruction MSE: 1.1201
Archetype stats: min=-14.0043, max=16.5733
Archetype change since last debug: 1.723713
Archetype gradients: norm=0.050688, mean=0.001928
Epoch 1/1
Average loss: 0.7698
Archetypal loss: 0.8392
KLD loss: 0.1454
Reconstruction loss: 0.8392
Archetype R²: 0.1065
Archetype transform grad norm: 0.296824
Archetype transform param norm: 7.9423
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.7698 (range: 0.7698 - 0.7698)
archetypal_loss: 0.8392 (range: 0.8392 - 0.8392)
kld_loss: 0.1454 (range: 0.1454 - 0.1454)
reconstruction_loss: 0.8392 (range: 0.8392 - 0.8392)
archetype_r2: 0.1065 (range: 0.1065 - 0.1065)
Archetype Transform Summary:
archetype_transform_mean: -0.002417 (range: -0.002417 - -0.002417)
archetype_transform_std: 0.111199 (range: 0.111199 - 0.111199)
archetype_transform_norm: 7.942304 (range: 7.942304 - 7.942304)
archetype_transform_grad_norm: 0.296824 (range: 0.296824 - 0.296824)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0199, max=0.4852, mean=0.1667
Batch reconstruction MSE: 1.1521
Archetype stats: min=-13.7697, max=16.6221
Archetype change since last debug: 1.474976
Archetype gradients: norm=0.044014, mean=0.001926
Epoch 1/1
Average loss: 0.7705
Archetypal loss: 0.8400
KLD loss: 0.1447
Reconstruction loss: 0.8400
Archetype R²: 0.1055
Archetype transform grad norm: 0.311223
Archetype transform param norm: 7.9598
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.7705 (range: 0.7705 - 0.7705)
archetypal_loss: 0.8400 (range: 0.8400 - 0.8400)
kld_loss: 0.1447 (range: 0.1447 - 0.1447)
reconstruction_loss: 0.8400 (range: 0.8400 - 0.8400)
archetype_r2: 0.1055 (range: 0.1055 - 0.1055)
Archetype Transform Summary:
archetype_transform_mean: -0.002451 (range: -0.002451 - -0.002451)
archetype_transform_std: 0.111443 (range: 0.111443 - 0.111443)
archetype_transform_norm: 7.959790 (range: 7.959790 - 7.959790)
archetype_transform_grad_norm: 0.311223 (range: 0.311223 - 0.311223)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0180, max=0.4977, mean=0.1667
Batch reconstruction MSE: 1.0777
Archetype stats: min=-13.6788, max=16.1062
Archetype change since last debug: 1.626228
Archetype gradients: norm=0.051749, mean=0.001868
Epoch 1/1
Average loss: 0.7670
Archetypal loss: 0.8362
KLD loss: 0.1438
Reconstruction loss: 0.8362
Archetype R²: 0.1097
Archetype transform grad norm: 0.277202
Archetype transform param norm: 7.9909
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.7670 (range: 0.7670 - 0.7670)
archetypal_loss: 0.8362 (range: 0.8362 - 0.8362)
kld_loss: 0.1438 (range: 0.1438 - 0.1438)
reconstruction_loss: 0.8362 (range: 0.8362 - 0.8362)
archetype_r2: 0.1097 (range: 0.1097 - 0.1097)
Archetype Transform Summary:
archetype_transform_mean: -0.002474 (range: -0.002474 - -0.002474)
archetype_transform_std: 0.111879 (range: 0.111879 - 0.111879)
archetype_transform_norm: 7.990895 (range: 7.990895 - 7.990895)
archetype_transform_grad_norm: 0.277202 (range: 0.277202 - 0.277202)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0210, max=0.3951, mean=0.1667
Batch reconstruction MSE: 1.0600
Archetype stats: min=-13.9257, max=16.4398
Archetype change since last debug: 1.601591
Archetype gradients: norm=0.029443, mean=0.001208
Epoch 1/1
Average loss: 0.7657
Archetypal loss: 0.8352
KLD loss: 0.1399
Reconstruction loss: 0.8352
Archetype R²: 0.1108
Archetype transform grad norm: 0.273143
Archetype transform param norm: 8.0332
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.7657 (range: 0.7657 - 0.7657)
archetypal_loss: 0.8352 (range: 0.8352 - 0.8352)
kld_loss: 0.1399 (range: 0.1399 - 0.1399)
reconstruction_loss: 0.8352 (range: 0.8352 - 0.8352)
archetype_r2: 0.1108 (range: 0.1108 - 0.1108)
Archetype Transform Summary:
archetype_transform_mean: -0.002487 (range: -0.002487 - -0.002487)
archetype_transform_std: 0.112471 (range: 0.112471 - 0.112471)
archetype_transform_norm: 8.033201 (range: 8.033201 - 8.033201)
archetype_transform_grad_norm: 0.273143 (range: 0.273143 - 0.273143)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0176, max=0.5836, mean=0.1667
Batch reconstruction MSE: 1.0435
Archetype stats: min=-14.1984, max=16.6436
Archetype change since last debug: 1.573061
Archetype gradients: norm=0.037429, mean=0.001464
Epoch 1/1
Average loss: 0.7650
Archetypal loss: 0.8344
KLD loss: 0.1403
Reconstruction loss: 0.8344
Archetype R²: 0.1117
Archetype transform grad norm: 0.269357
Archetype transform param norm: 8.0758
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.7650 (range: 0.7650 - 0.7650)
archetypal_loss: 0.8344 (range: 0.8344 - 0.8344)
kld_loss: 0.1403 (range: 0.1403 - 0.1403)
reconstruction_loss: 0.8344 (range: 0.8344 - 0.8344)
archetype_r2: 0.1117 (range: 0.1117 - 0.1117)
Archetype Transform Summary:
archetype_transform_mean: -0.002508 (range: -0.002508 - -0.002508)
archetype_transform_std: 0.113067 (range: 0.113067 - 0.113067)
archetype_transform_norm: 8.075770 (range: 8.075770 - 8.075770)
archetype_transform_grad_norm: 0.269357 (range: 0.269357 - 0.269357)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0219, max=0.4270, mean=0.1667
Batch reconstruction MSE: 1.0714
Archetype stats: min=-14.4930, max=16.9585
Archetype change since last debug: 1.534737
Archetype gradients: norm=0.032490, mean=0.001344
Epoch 1/1
Average loss: 0.7650
Archetypal loss: 0.8347
KLD loss: 0.1375
Reconstruction loss: 0.8347
Archetype R²: 0.1113
Archetype transform grad norm: 0.273135
Archetype transform param norm: 8.1085
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.7650 (range: 0.7650 - 0.7650)
archetypal_loss: 0.8347 (range: 0.8347 - 0.8347)
kld_loss: 0.1375 (range: 0.1375 - 0.1375)
reconstruction_loss: 0.8347 (range: 0.8347 - 0.8347)
archetype_r2: 0.1113 (range: 0.1113 - 0.1113)
Archetype Transform Summary:
archetype_transform_mean: -0.002524 (range: -0.002524 - -0.002524)
archetype_transform_std: 0.113525 (range: 0.113525 - 0.113525)
archetype_transform_norm: 8.108487 (range: 8.108487 - 8.108487)
archetype_transform_grad_norm: 0.273135 (range: 0.273135 - 0.273135)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0181, max=0.5202, mean=0.1667
Batch reconstruction MSE: 1.0706
Archetype stats: min=-14.6692, max=16.9544
Archetype change since last debug: 1.319384
Archetype gradients: norm=0.033566, mean=0.001412
Epoch 1/1
Average loss: 0.7647
Archetypal loss: 0.8341
KLD loss: 0.1403
Reconstruction loss: 0.8341
Archetype R²: 0.1119
Archetype transform grad norm: 0.269134
Archetype transform param norm: 8.1375
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.7647 (range: 0.7647 - 0.7647)
archetypal_loss: 0.8341 (range: 0.8341 - 0.8341)
kld_loss: 0.1403 (range: 0.1403 - 0.1403)
reconstruction_loss: 0.8341 (range: 0.8341 - 0.8341)
archetype_r2: 0.1119 (range: 0.1119 - 0.1119)
Archetype Transform Summary:
archetype_transform_mean: -0.002549 (range: -0.002549 - -0.002549)
archetype_transform_std: 0.113931 (range: 0.113931 - 0.113931)
archetype_transform_norm: 8.137529 (range: 8.137529 - 8.137529)
archetype_transform_grad_norm: 0.269134 (range: 0.269134 - 0.269134)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0217, max=0.4422, mean=0.1667
Batch reconstruction MSE: 1.0713
Archetype stats: min=-14.7925, max=17.1597
Archetype change since last debug: 1.189471
Archetype gradients: norm=0.039137, mean=0.001585
Epoch 1/1
Average loss: 0.7643
Archetypal loss: 0.8342
KLD loss: 0.1351
Reconstruction loss: 0.8342
Archetype R²: 0.1117
Archetype transform grad norm: 0.277228
Archetype transform param norm: 8.1636
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.7643 (range: 0.7643 - 0.7643)
archetypal_loss: 0.8342 (range: 0.8342 - 0.8342)
kld_loss: 0.1351 (range: 0.1351 - 0.1351)
reconstruction_loss: 0.8342 (range: 0.8342 - 0.8342)
archetype_r2: 0.1117 (range: 0.1117 - 0.1117)
Archetype Transform Summary:
archetype_transform_mean: -0.002556 (range: -0.002556 - -0.002556)
archetype_transform_std: 0.114296 (range: 0.114296 - 0.114296)
archetype_transform_norm: 8.163591 (range: 8.163591 - 8.163591)
archetype_transform_grad_norm: 0.277228 (range: 0.277228 - 0.277228)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0227, max=0.4975, mean=0.1667
Batch reconstruction MSE: 1.0337
Archetype stats: min=-14.9402, max=17.1967
Archetype change since last debug: 1.126894
Archetype gradients: norm=0.030725, mean=0.001275
Epoch 1/1
Average loss: 0.7632
Archetypal loss: 0.8328
KLD loss: 0.1369
Reconstruction loss: 0.8328
Archetype R²: 0.1133
Archetype transform grad norm: 0.273208
Archetype transform param norm: 8.1944
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.7632 (range: 0.7632 - 0.7632)
archetypal_loss: 0.8328 (range: 0.8328 - 0.8328)
kld_loss: 0.1369 (range: 0.1369 - 0.1369)
reconstruction_loss: 0.8328 (range: 0.8328 - 0.8328)
archetype_r2: 0.1133 (range: 0.1133 - 0.1133)
Archetype Transform Summary:
archetype_transform_mean: -0.002575 (range: -0.002575 - -0.002575)
archetype_transform_std: 0.114726 (range: 0.114726 - 0.114726)
archetype_transform_norm: 8.194369 (range: 8.194369 - 8.194369)
archetype_transform_grad_norm: 0.273208 (range: 0.273208 - 0.273208)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0214, max=0.4306, mean=0.1667
Batch reconstruction MSE: 1.0463
Archetype stats: min=-15.1317, max=17.4938
Archetype change since last debug: 1.281768
Archetype gradients: norm=0.037799, mean=0.001563
Epoch 1/1
Average loss: 0.7632
Archetypal loss: 0.8332
KLD loss: 0.1327
Reconstruction loss: 0.8332
Archetype R²: 0.1129
Archetype transform grad norm: 0.279259
Archetype transform param norm: 8.2207
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.7632 (range: 0.7632 - 0.7632)
archetypal_loss: 0.8332 (range: 0.8332 - 0.8332)
kld_loss: 0.1327 (range: 0.1327 - 0.1327)
reconstruction_loss: 0.8332 (range: 0.8332 - 0.8332)
archetype_r2: 0.1129 (range: 0.1129 - 0.1129)
Archetype Transform Summary:
archetype_transform_mean: -0.002590 (range: -0.002590 - -0.002590)
archetype_transform_std: 0.115095 (range: 0.115095 - 0.115095)
archetype_transform_norm: 8.220688 (range: 8.220688 - 8.220688)
archetype_transform_grad_norm: 0.279259 (range: 0.279259 - 0.279259)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0208, max=0.5086, mean=0.1667
Batch reconstruction MSE: 1.0451
Archetype stats: min=-15.3203, max=17.5110
Archetype change since last debug: 1.076808
Archetype gradients: norm=0.028827, mean=0.001219
Epoch 1/1
Average loss: 0.7635
Archetypal loss: 0.8331
KLD loss: 0.1370
Reconstruction loss: 0.8331
Archetype R²: 0.1130
Archetype transform grad norm: 0.275763
Archetype transform param norm: 8.2432
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.7635 (range: 0.7635 - 0.7635)
archetypal_loss: 0.8331 (range: 0.8331 - 0.8331)
kld_loss: 0.1370 (range: 0.1370 - 0.1370)
reconstruction_loss: 0.8331 (range: 0.8331 - 0.8331)
archetype_r2: 0.1130 (range: 0.1130 - 0.1130)
Archetype Transform Summary:
archetype_transform_mean: -0.002615 (range: -0.002615 - -0.002615)
archetype_transform_std: 0.115410 (range: 0.115410 - 0.115410)
archetype_transform_norm: 8.243231 (range: 8.243231 - 8.243231)
archetype_transform_grad_norm: 0.275763 (range: 0.275763 - 0.275763)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0191, max=0.4473, mean=0.1667
Batch reconstruction MSE: 1.0877
Archetype stats: min=-15.3632, max=17.7137
Archetype change since last debug: 1.068565
Archetype gradients: norm=0.044515, mean=0.001786
Epoch 1/1
Average loss: 0.7638
Archetypal loss: 0.8339
KLD loss: 0.1331
Reconstruction loss: 0.8339
Archetype R²: 0.1121
Archetype transform grad norm: 0.282950
Archetype transform param norm: 8.2522
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.7638 (range: 0.7638 - 0.7638)
archetypal_loss: 0.8339 (range: 0.8339 - 0.8339)
kld_loss: 0.1331 (range: 0.1331 - 0.1331)
reconstruction_loss: 0.8339 (range: 0.8339 - 0.8339)
archetype_r2: 0.1121 (range: 0.1121 - 0.1121)
Archetype Transform Summary:
archetype_transform_mean: -0.002635 (range: -0.002635 - -0.002635)
archetype_transform_std: 0.115536 (range: 0.115536 - 0.115536)
archetype_transform_norm: 8.252248 (range: 8.252248 - 8.252248)
archetype_transform_grad_norm: 0.282950 (range: 0.282950 - 0.282950)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0252, max=0.4982, mean=0.1667
Batch reconstruction MSE: 1.0315
Archetype stats: min=-15.3664, max=17.5684
Archetype change since last debug: 0.868199
Archetype gradients: norm=0.027182, mean=0.001188
Epoch 1/1
Average loss: 0.7625
Archetypal loss: 0.8323
KLD loss: 0.1346
Reconstruction loss: 0.8323
Archetype R²: 0.1139
Archetype transform grad norm: 0.272453
Archetype transform param norm: 8.2709
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.7625 (range: 0.7625 - 0.7625)
archetypal_loss: 0.8323 (range: 0.8323 - 0.8323)
kld_loss: 0.1346 (range: 0.1346 - 0.1346)
reconstruction_loss: 0.8323 (range: 0.8323 - 0.8323)
archetype_r2: 0.1139 (range: 0.1139 - 0.1139)
Archetype Transform Summary:
archetype_transform_mean: -0.002648 (range: -0.002648 - -0.002648)
archetype_transform_std: 0.115797 (range: 0.115797 - 0.115797)
archetype_transform_norm: 8.270881 (range: 8.270881 - 8.270881)
archetype_transform_grad_norm: 0.272453 (range: 0.272453 - 0.272453)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0226, max=0.4500, mean=0.1667
Batch reconstruction MSE: 1.0433
Archetype stats: min=-15.5376, max=17.8114
Archetype change since last debug: 1.053112
Archetype gradients: norm=0.036135, mean=0.001449
Epoch 1/1
Average loss: 0.7625
Archetypal loss: 0.8325
KLD loss: 0.1321
Reconstruction loss: 0.8325
Archetype R²: 0.1137
Archetype transform grad norm: 0.272545
Archetype transform param norm: 8.2891
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.7625 (range: 0.7625 - 0.7625)
archetypal_loss: 0.8325 (range: 0.8325 - 0.8325)
kld_loss: 0.1321 (range: 0.1321 - 0.1321)
reconstruction_loss: 0.8325 (range: 0.8325 - 0.8325)
archetype_r2: 0.1137 (range: 0.1137 - 0.1137)
Archetype Transform Summary:
archetype_transform_mean: -0.002645 (range: -0.002645 - -0.002645)
archetype_transform_std: 0.116052 (range: 0.116052 - 0.116052)
archetype_transform_norm: 8.289090 (range: 8.289090 - 8.289090)
archetype_transform_grad_norm: 0.272545 (range: 0.272545 - 0.272545)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0233, max=0.5091, mean=0.1667
Batch reconstruction MSE: 1.0244
Archetype stats: min=-15.7114, max=17.8228
Archetype change since last debug: 1.053264
Archetype gradients: norm=0.026670, mean=0.001149
Epoch 1/1
Average loss: 0.7616
Archetypal loss: 0.8316
KLD loss: 0.1324
Reconstruction loss: 0.8316
Archetype R²: 0.1146
Archetype transform grad norm: 0.271281
Archetype transform param norm: 8.3105
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.7616 (range: 0.7616 - 0.7616)
archetypal_loss: 0.8316 (range: 0.8316 - 0.8316)
kld_loss: 0.1324 (range: 0.1324 - 0.1324)
reconstruction_loss: 0.8316 (range: 0.8316 - 0.8316)
archetype_r2: 0.1146 (range: 0.1146 - 0.1146)
Archetype Transform Summary:
archetype_transform_mean: -0.002658 (range: -0.002658 - -0.002658)
archetype_transform_std: 0.116351 (range: 0.116351 - 0.116351)
archetype_transform_norm: 8.310500 (range: 8.310500 - 8.310500)
archetype_transform_grad_norm: 0.271281 (range: 0.271281 - 0.271281)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0235, max=0.4180, mean=0.1667
Batch reconstruction MSE: 1.0546
Archetype stats: min=-15.7313, max=18.0435
Archetype change since last debug: 1.038749
Archetype gradients: norm=0.033323, mean=0.001495
Epoch 1/1
Average loss: 0.7620
Archetypal loss: 0.8319
KLD loss: 0.1324
Reconstruction loss: 0.8319
Archetype R²: 0.1141
Archetype transform grad norm: 0.273765
Archetype transform param norm: 8.3269
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.7620 (range: 0.7620 - 0.7620)
archetypal_loss: 0.8319 (range: 0.8319 - 0.8319)
kld_loss: 0.1324 (range: 0.1324 - 0.1324)
reconstruction_loss: 0.8319 (range: 0.8319 - 0.8319)
archetype_r2: 0.1141 (range: 0.1141 - 0.1141)
Archetype Transform Summary:
archetype_transform_mean: -0.002656 (range: -0.002656 - -0.002656)
archetype_transform_std: 0.116581 (range: 0.116581 - 0.116581)
archetype_transform_norm: 8.326902 (range: 8.326902 - 8.326902)
archetype_transform_grad_norm: 0.273765 (range: 0.273765 - 0.273765)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0224, max=0.4766, mean=0.1667
Batch reconstruction MSE: 1.0352
Archetype stats: min=-15.8176, max=17.8967
Archetype change since last debug: 0.867886
Archetype gradients: norm=0.031867, mean=0.001261
Epoch 1/1
Average loss: 0.7615
Archetypal loss: 0.8315
KLD loss: 0.1316
Reconstruction loss: 0.8315
Archetype R²: 0.1147
Archetype transform grad norm: 0.275156
Archetype transform param norm: 8.3442
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.7615 (range: 0.7615 - 0.7615)
archetypal_loss: 0.8315 (range: 0.8315 - 0.8315)
kld_loss: 0.1316 (range: 0.1316 - 0.1316)
reconstruction_loss: 0.8315 (range: 0.8315 - 0.8315)
archetype_r2: 0.1147 (range: 0.1147 - 0.1147)
Archetype Transform Summary:
archetype_transform_mean: -0.002675 (range: -0.002675 - -0.002675)
archetype_transform_std: 0.116822 (range: 0.116822 - 0.116822)
archetype_transform_norm: 8.344153 (range: 8.344153 - 8.344153)
archetype_transform_grad_norm: 0.275156 (range: 0.275156 - 0.275156)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0275, max=0.4241, mean=0.1667
Batch reconstruction MSE: 1.0666
Archetype stats: min=-15.7740, max=18.1117
Archetype change since last debug: 0.950485
Archetype gradients: norm=0.036146, mean=0.001507
Epoch 1/1
Average loss: 0.7635
Archetypal loss: 0.8334
KLD loss: 0.1338
Reconstruction loss: 0.8334
Archetype R²: 0.1127
Archetype transform grad norm: 0.287999
Archetype transform param norm: 8.3528
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.7635 (range: 0.7635 - 0.7635)
archetypal_loss: 0.8334 (range: 0.8334 - 0.8334)
kld_loss: 0.1338 (range: 0.1338 - 0.1338)
reconstruction_loss: 0.8334 (range: 0.8334 - 0.8334)
archetype_r2: 0.1127 (range: 0.1127 - 0.1127)
Archetype Transform Summary:
archetype_transform_mean: -0.002675 (range: -0.002675 - -0.002675)
archetype_transform_std: 0.116943 (range: 0.116943 - 0.116943)
archetype_transform_norm: 8.352803 (range: 8.352803 - 8.352803)
archetype_transform_grad_norm: 0.287999 (range: 0.287999 - 0.287999)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0221, max=0.4560, mean=0.1667
Batch reconstruction MSE: 1.0492
Archetype stats: min=-15.8319, max=17.7418
Archetype change since last debug: 1.199839
Archetype gradients: norm=0.052963, mean=0.001767
Epoch 1/1
Average loss: 0.7622
Archetypal loss: 0.8322
KLD loss: 0.1322
Reconstruction loss: 0.8322
Archetype R²: 0.1139
Archetype transform grad norm: 0.284808
Archetype transform param norm: 8.3480
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.7622 (range: 0.7622 - 0.7622)
archetypal_loss: 0.8322 (range: 0.8322 - 0.8322)
kld_loss: 0.1322 (range: 0.1322 - 0.1322)
reconstruction_loss: 0.8322 (range: 0.8322 - 0.8322)
archetype_r2: 0.1139 (range: 0.1139 - 0.1139)
Archetype Transform Summary:
archetype_transform_mean: -0.002703 (range: -0.002703 - -0.002703)
archetype_transform_std: 0.116876 (range: 0.116876 - 0.116876)
archetype_transform_norm: 8.348034 (range: 8.348034 - 8.348034)
archetype_transform_grad_norm: 0.284808 (range: 0.284808 - 0.284808)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0295, max=0.4473, mean=0.1667
Batch reconstruction MSE: 1.0722
Archetype stats: min=-15.7182, max=17.8444
Archetype change since last debug: 0.925528
Archetype gradients: norm=0.038700, mean=0.001647
Epoch 1/1
Average loss: 0.7631
Archetypal loss: 0.8329
KLD loss: 0.1355
Reconstruction loss: 0.8329
Archetype R²: 0.1131
Archetype transform grad norm: 0.291451
Archetype transform param norm: 8.3449
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.7631 (range: 0.7631 - 0.7631)
archetypal_loss: 0.8329 (range: 0.8329 - 0.8329)
kld_loss: 0.1355 (range: 0.1355 - 0.1355)
reconstruction_loss: 0.8329 (range: 0.8329 - 0.8329)
archetype_r2: 0.1131 (range: 0.1131 - 0.1131)
Archetype Transform Summary:
archetype_transform_mean: -0.002710 (range: -0.002710 - -0.002710)
archetype_transform_std: 0.116832 (range: 0.116832 - 0.116832)
archetype_transform_norm: 8.344919 (range: 8.344919 - 8.344919)
archetype_transform_grad_norm: 0.291451 (range: 0.291451 - 0.291451)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0217, max=0.4275, mean=0.1667
Batch reconstruction MSE: 1.0444
Archetype stats: min=-15.7196, max=17.5501
Archetype change since last debug: 1.051178
Archetype gradients: norm=0.052299, mean=0.001832
Epoch 1/1
Average loss: 0.7619
Archetypal loss: 0.8318
KLD loss: 0.1325
Reconstruction loss: 0.8318
Archetype R²: 0.1144
Archetype transform grad norm: 0.284712
Archetype transform param norm: 8.3468
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.7619 (range: 0.7619 - 0.7619)
archetypal_loss: 0.8318 (range: 0.8318 - 0.8318)
kld_loss: 0.1325 (range: 0.1325 - 0.1325)
reconstruction_loss: 0.8318 (range: 0.8318 - 0.8318)
archetype_r2: 0.1144 (range: 0.1144 - 0.1144)
Archetype Transform Summary:
archetype_transform_mean: -0.002713 (range: -0.002713 - -0.002713)
archetype_transform_std: 0.116858 (range: 0.116858 - 0.116858)
archetype_transform_norm: 8.346772 (range: 8.346772 - 8.346772)
archetype_transform_grad_norm: 0.284712 (range: 0.284712 - 0.284712)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0305, max=0.4255, mean=0.1667
Batch reconstruction MSE: 1.0362
Archetype stats: min=-15.7297, max=17.6562
Archetype change since last debug: 0.871507
Archetype gradients: norm=0.034164, mean=0.001379
Epoch 1/1
Average loss: 0.7618
Archetypal loss: 0.8318
KLD loss: 0.1323
Reconstruction loss: 0.8318
Archetype R²: 0.1145
Archetype transform grad norm: 0.281406
Archetype transform param norm: 8.3587
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.7618 (range: 0.7618 - 0.7618)
archetypal_loss: 0.8318 (range: 0.8318 - 0.8318)
kld_loss: 0.1323 (range: 0.1323 - 0.1323)
reconstruction_loss: 0.8318 (range: 0.8318 - 0.8318)
archetype_r2: 0.1145 (range: 0.1145 - 0.1145)
Archetype Transform Summary:
archetype_transform_mean: -0.002729 (range: -0.002729 - -0.002729)
archetype_transform_std: 0.117025 (range: 0.117025 - 0.117025)
archetype_transform_norm: 8.358718 (range: 8.358718 - 8.358718)
archetype_transform_grad_norm: 0.281406 (range: 0.281406 - 0.281406)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0209, max=0.3923, mean=0.1667
Batch reconstruction MSE: 1.0251
Archetype stats: min=-15.8489, max=17.6087
Archetype change since last debug: 1.024394
Archetype gradients: norm=0.045770, mean=0.001692
Epoch 1/1
Average loss: 0.7607
Archetypal loss: 0.8308
KLD loss: 0.1302
Reconstruction loss: 0.8308
Archetype R²: 0.1155
Archetype transform grad norm: 0.281172
Archetype transform param norm: 8.3673
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.7607 (range: 0.7607 - 0.7607)
archetypal_loss: 0.8308 (range: 0.8308 - 0.8308)
kld_loss: 0.1302 (range: 0.1302 - 0.1302)
reconstruction_loss: 0.8308 (range: 0.8308 - 0.8308)
archetype_r2: 0.1155 (range: 0.1155 - 0.1155)
Archetype Transform Summary:
archetype_transform_mean: -0.002754 (range: -0.002754 - -0.002754)
archetype_transform_std: 0.117144 (range: 0.117144 - 0.117144)
archetype_transform_norm: 8.367263 (range: 8.367263 - 8.367263)
archetype_transform_grad_norm: 0.281172 (range: 0.281172 - 0.281172)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0281, max=0.4800, mean=0.1667
Batch reconstruction MSE: 1.0721
Archetype stats: min=-15.9916, max=17.7557
Archetype change since last debug: 0.939237
Archetype gradients: norm=0.037687, mean=0.001741
Epoch 1/1
Average loss: 0.7615
Archetypal loss: 0.8315
KLD loss: 0.1307
Reconstruction loss: 0.8315
Archetype R²: 0.1145
Archetype transform grad norm: 0.280313
Archetype transform param norm: 8.3745
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.7615 (range: 0.7615 - 0.7615)
archetypal_loss: 0.8315 (range: 0.8315 - 0.8315)
kld_loss: 0.1307 (range: 0.1307 - 0.1307)
reconstruction_loss: 0.8315 (range: 0.8315 - 0.8315)
archetype_r2: 0.1145 (range: 0.1145 - 0.1145)
Archetype Transform Summary:
archetype_transform_mean: -0.002769 (range: -0.002769 - -0.002769)
archetype_transform_std: 0.117245 (range: 0.117245 - 0.117245)
archetype_transform_norm: 8.374455 (range: 8.374455 - 8.374455)
archetype_transform_grad_norm: 0.280313 (range: 0.280313 - 0.280313)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0254, max=0.3955, mean=0.1667
Batch reconstruction MSE: 1.0247
Archetype stats: min=-16.0449, max=17.6547
Archetype change since last debug: 0.734707
Archetype gradients: norm=0.040313, mean=0.001382
Epoch 1/1
Average loss: 0.7603
Archetypal loss: 0.8303
KLD loss: 0.1304
Reconstruction loss: 0.8303
Archetype R²: 0.1159
Archetype transform grad norm: 0.274407
Archetype transform param norm: 8.3873
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.7603 (range: 0.7603 - 0.7603)
archetypal_loss: 0.8303 (range: 0.8303 - 0.8303)
kld_loss: 0.1304 (range: 0.1304 - 0.1304)
reconstruction_loss: 0.8303 (range: 0.8303 - 0.8303)
archetype_r2: 0.1159 (range: 0.1159 - 0.1159)
Archetype Transform Summary:
archetype_transform_mean: -0.002762 (range: -0.002762 - -0.002762)
archetype_transform_std: 0.117424 (range: 0.117424 - 0.117424)
archetype_transform_norm: 8.387270 (range: 8.387270 - 8.387270)
archetype_transform_grad_norm: 0.274407 (range: 0.274407 - 0.274407)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0250, max=0.6201, mean=0.1667
Batch reconstruction MSE: 1.0570
Archetype stats: min=-16.2158, max=17.7931
Archetype change since last debug: 0.936151
Archetype gradients: norm=0.037572, mean=0.001712
Epoch 1/1
Average loss: 0.7610
Archetypal loss: 0.8310
KLD loss: 0.1310
Reconstruction loss: 0.8310
Archetype R²: 0.1152
Archetype transform grad norm: 0.274880
Archetype transform param norm: 8.3964
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.7610 (range: 0.7610 - 0.7610)
archetypal_loss: 0.8310 (range: 0.8310 - 0.8310)
kld_loss: 0.1310 (range: 0.1310 - 0.1310)
reconstruction_loss: 0.8310 (range: 0.8310 - 0.8310)
archetype_r2: 0.1152 (range: 0.1152 - 0.1152)
Archetype Transform Summary:
archetype_transform_mean: -0.002759 (range: -0.002759 - -0.002759)
archetype_transform_std: 0.117552 (range: 0.117552 - 0.117552)
archetype_transform_norm: 8.396366 (range: 8.396366 - 8.396366)
archetype_transform_grad_norm: 0.274880 (range: 0.274880 - 0.274880)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0243, max=0.3759, mean=0.1667
Batch reconstruction MSE: 1.0125
Archetype stats: min=-16.2091, max=17.7943
Archetype change since last debug: 0.748868
Archetype gradients: norm=0.034368, mean=0.001227
Epoch 1/1
Average loss: 0.7597
Archetypal loss: 0.8298
KLD loss: 0.1292
Reconstruction loss: 0.8298
Archetype R²: 0.1166
Archetype transform grad norm: 0.265150
Archetype transform param norm: 8.4131
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.7597 (range: 0.7597 - 0.7597)
archetypal_loss: 0.8298 (range: 0.8298 - 0.8298)
kld_loss: 0.1292 (range: 0.1292 - 0.1292)
reconstruction_loss: 0.8298 (range: 0.8298 - 0.8298)
archetype_r2: 0.1166 (range: 0.1166 - 0.1166)
Archetype Transform Summary:
archetype_transform_mean: -0.002749 (range: -0.002749 - -0.002749)
archetype_transform_std: 0.117786 (range: 0.117786 - 0.117786)
archetype_transform_norm: 8.413052 (range: 8.413052 - 8.413052)
archetype_transform_grad_norm: 0.265150 (range: 0.265150 - 0.265150)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0273, max=0.4616, mean=0.1667
Batch reconstruction MSE: 1.0083
Archetype stats: min=-16.4025, max=17.9088
Archetype change since last debug: 0.859391
Archetype gradients: norm=0.027252, mean=0.001209
Epoch 1/1
Average loss: 0.7605
Archetypal loss: 0.8305
KLD loss: 0.1304
Reconstruction loss: 0.8305
Archetype R²: 0.1164
Archetype transform grad norm: 0.261218
Archetype transform param norm: 8.4281
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.7605 (range: 0.7605 - 0.7605)
archetypal_loss: 0.8305 (range: 0.8305 - 0.8305)
kld_loss: 0.1304 (range: 0.1304 - 0.1304)
reconstruction_loss: 0.8305 (range: 0.8305 - 0.8305)
archetype_r2: 0.1164 (range: 0.1164 - 0.1164)
Archetype Transform Summary:
archetype_transform_mean: -0.002767 (range: -0.002767 - -0.002767)
archetype_transform_std: 0.117996 (range: 0.117996 - 0.117996)
archetype_transform_norm: 8.428107 (range: 8.428107 - 8.428107)
archetype_transform_grad_norm: 0.261218 (range: 0.261218 - 0.261218)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0251, max=0.3576, mean=0.1667
Batch reconstruction MSE: 1.0062
Archetype stats: min=-16.5031, max=18.0317
Archetype change since last debug: 1.396985
Archetype gradients: norm=0.027385, mean=0.001141
Epoch 1/1
Average loss: 0.7588
Archetypal loss: 0.8290
KLD loss: 0.1268
Reconstruction loss: 0.8290
Archetype R²: 0.1174
Archetype transform grad norm: 0.260255
Archetype transform param norm: 8.4412
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.7588 (range: 0.7588 - 0.7588)
archetypal_loss: 0.8290 (range: 0.8290 - 0.8290)
kld_loss: 0.1268 (range: 0.1268 - 0.1268)
reconstruction_loss: 0.8290 (range: 0.8290 - 0.8290)
archetype_r2: 0.1174 (range: 0.1174 - 0.1174)
Archetype Transform Summary:
archetype_transform_mean: -0.002768 (range: -0.002768 - -0.002768)
archetype_transform_std: 0.118180 (range: 0.118180 - 0.118180)
archetype_transform_norm: 8.441235 (range: 8.441235 - 8.441235)
archetype_transform_grad_norm: 0.260255 (range: 0.260255 - 0.260255)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0295, max=0.5434, mean=0.1667
Batch reconstruction MSE: 1.0207
Archetype stats: min=-16.7342, max=18.2118
Archetype change since last debug: 0.974515
Archetype gradients: norm=0.029073, mean=0.001164
Epoch 1/1
Average loss: 0.7592
Archetypal loss: 0.8293
KLD loss: 0.1284
Reconstruction loss: 0.8293
Archetype R²: 0.1171
Archetype transform grad norm: 0.261248
Archetype transform param norm: 8.4554
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.7592 (range: 0.7592 - 0.7592)
archetypal_loss: 0.8293 (range: 0.8293 - 0.8293)
kld_loss: 0.1284 (range: 0.1284 - 0.1284)
reconstruction_loss: 0.8293 (range: 0.8293 - 0.8293)
archetype_r2: 0.1171 (range: 0.1171 - 0.1171)
Archetype Transform Summary:
archetype_transform_mean: -0.002759 (range: -0.002759 - -0.002759)
archetype_transform_std: 0.118379 (range: 0.118379 - 0.118379)
archetype_transform_norm: 8.455405 (range: 8.455405 - 8.455405)
archetype_transform_grad_norm: 0.261248 (range: 0.261248 - 0.261248)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0242, max=0.3862, mean=0.1667
Batch reconstruction MSE: 1.0277
Archetype stats: min=-16.7774, max=18.2778
Archetype change since last debug: 0.754495
Archetype gradients: norm=0.031243, mean=0.001340
Epoch 1/1
Average loss: 0.7589
Archetypal loss: 0.8293
KLD loss: 0.1255
Reconstruction loss: 0.8293
Archetype R²: 0.1171
Archetype transform grad norm: 0.261525
Archetype transform param norm: 8.4676
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.7589 (range: 0.7589 - 0.7589)
archetypal_loss: 0.8293 (range: 0.8293 - 0.8293)
kld_loss: 0.1255 (range: 0.1255 - 0.1255)
reconstruction_loss: 0.8293 (range: 0.8293 - 0.8293)
archetype_r2: 0.1171 (range: 0.1171 - 0.1171)
Archetype Transform Summary:
archetype_transform_mean: -0.002750 (range: -0.002750 - -0.002750)
archetype_transform_std: 0.118550 (range: 0.118550 - 0.118550)
archetype_transform_norm: 8.467594 (range: 8.467594 - 8.467594)
archetype_transform_grad_norm: 0.261525 (range: 0.261525 - 0.261525)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0314, max=0.4519, mean=0.1667
Batch reconstruction MSE: 1.0291
Archetype stats: min=-16.9441, max=18.3933
Archetype change since last debug: 0.787758
Archetype gradients: norm=0.026101, mean=0.001107
Epoch 1/1
Average loss: 0.7593
Archetypal loss: 0.8294
KLD loss: 0.1285
Reconstruction loss: 0.8294
Archetype R²: 0.1170
Archetype transform grad norm: 0.262277
Archetype transform param norm: 8.4770
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.7593 (range: 0.7593 - 0.7593)
archetypal_loss: 0.8294 (range: 0.8294 - 0.8294)
kld_loss: 0.1285 (range: 0.1285 - 0.1285)
reconstruction_loss: 0.8294 (range: 0.8294 - 0.8294)
archetype_r2: 0.1170 (range: 0.1170 - 0.1170)
Archetype Transform Summary:
archetype_transform_mean: -0.002754 (range: -0.002754 - -0.002754)
archetype_transform_std: 0.118682 (range: 0.118682 - 0.118682)
archetype_transform_norm: 8.477047 (range: 8.477047 - 8.477047)
archetype_transform_grad_norm: 0.262277 (range: 0.262277 - 0.262277)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0254, max=0.3854, mean=0.1667
Batch reconstruction MSE: 1.0428
Archetype stats: min=-16.8571, max=18.4567
Archetype change since last debug: 0.704460
Archetype gradients: norm=0.037331, mean=0.001447
Epoch 1/1
Average loss: 0.7588
Archetypal loss: 0.8293
KLD loss: 0.1249
Reconstruction loss: 0.8293
Archetype R²: 0.1170
Archetype transform grad norm: 0.262318
Archetype transform param norm: 8.4836
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.7588 (range: 0.7588 - 0.7588)
archetypal_loss: 0.8293 (range: 0.8293 - 0.8293)
kld_loss: 0.1249 (range: 0.1249 - 0.1249)
reconstruction_loss: 0.8293 (range: 0.8293 - 0.8293)
archetype_r2: 0.1170 (range: 0.1170 - 0.1170)
Archetype Transform Summary:
archetype_transform_mean: -0.002750 (range: -0.002750 - -0.002750)
archetype_transform_std: 0.118774 (range: 0.118774 - 0.118774)
archetype_transform_norm: 8.483569 (range: 8.483569 - 8.483569)
archetype_transform_grad_norm: 0.262318 (range: 0.262318 - 0.262318)
Fold 3/3
Model input_dim: 50 (auto-detected from data)
Archetypes parameter registered: True
Archetypes requires_grad: True
Deep_AA (Deep Archetypal Analysis) initialized:
- Single-stage architecture (like Deep_2)
- Inflation factor: 1.5
- Direct archetypal coordinates (no bottleneck)
Consolidated Archetype Initialization
PCHA: True, Inflation: True (factor: 1.5)
Test inflation: False
Running PCHA initialization...
Input shape: (128, 50)
Target archetypes: 6
Running PCHA with 6 archetypes...
Data shape for PCHA: (50, 128)
PCHA Results:
Archetypes shape: (6, 50)
Archetype R²: 0.2233
SSE: 4384.1061
PCHA archetype R²: 0.2233
Archetype shape: (6, 50)
[OK] Initialized 6 archetypes using PCHA
Scalar Archetypal Inflation (factor: 1.50)
[OK] Inflation complete
[STATS] Positioning verification:
Data radius (max): 16.061
Data radius (mean): 6.037
Archetype distances: 3.365 to 11.476
Archetypes outside data: 0/6
Min archetype separation: 6.592
[OK] Archetype initialization complete (success: True)
[OK] Archetype initialization complete (PCHA: True, Inflation: 1.5)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0018, max=0.8933, mean=0.1667
Batch reconstruction MSE: 0.8923
Archetype stats: min=-0.9943, max=0.7370
Archetype gradients: norm=0.007522, mean=0.000343
Epoch 1/1
Average loss: 0.8946
Archetypal loss: 0.9826
KLD loss: 0.1032
Reconstruction loss: 0.9826
Archetype R²: -0.0094
Archetype transform grad norm: 0.110910
Archetype transform param norm: 5.7639
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.8946 (range: 0.8946 - 0.8946)
archetypal_loss: 0.9826 (range: 0.9826 - 0.9826)
kld_loss: 0.1032 (range: 0.1032 - 0.1032)
reconstruction_loss: 0.9826 (range: 0.9826 - 0.9826)
archetype_r2: -0.0094 (range: -0.0094 - -0.0094)
Archetype Transform Summary:
archetype_transform_mean: -0.000554 (range: -0.000554 - -0.000554)
archetype_transform_std: 0.080717 (range: 0.080717 - 0.080717)
archetype_transform_norm: 5.763917 (range: 5.763917 - 5.763917)
archetype_transform_grad_norm: 0.110910 (range: 0.110910 - 0.110910)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0030, max=0.8421, mean=0.1667
Batch reconstruction MSE: 0.8562
Archetype stats: min=-0.6836, max=0.8099
Archetype change since last debug: 4.160681
Archetype gradients: norm=0.002305, mean=0.000103
Epoch 1/1
Average loss: 0.8817
Archetypal loss: 0.9733
KLD loss: 0.0573
Reconstruction loss: 0.9733
Archetype R²: 0.0001
Archetype transform grad norm: 0.099298
Archetype transform param norm: 5.8277
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.8817 (range: 0.8817 - 0.8817)
archetypal_loss: 0.9733 (range: 0.9733 - 0.9733)
kld_loss: 0.0573 (range: 0.0573 - 0.0573)
reconstruction_loss: 0.9733 (range: 0.9733 - 0.9733)
archetype_r2: 0.0001 (range: 0.0001 - 0.0001)
Archetype Transform Summary:
archetype_transform_mean: -0.000470 (range: -0.000470 - -0.000470)
archetype_transform_std: 0.081610 (range: 0.081610 - 0.081610)
archetype_transform_norm: 5.827658 (range: 5.827658 - 5.827658)
archetype_transform_grad_norm: 0.099298 (range: 0.099298 - 0.099298)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0027, max=0.8454, mean=0.1667
Batch reconstruction MSE: 0.8617
Archetype stats: min=-1.4066, max=1.5727
Archetype change since last debug: 3.971756
Archetype gradients: norm=0.004061, mean=0.000151
Epoch 1/1
Average loss: 0.8709
Archetypal loss: 0.9556
KLD loss: 0.1086
Reconstruction loss: 0.9556
Archetype R²: 0.0183
Archetype transform grad norm: 0.122919
Archetype transform param norm: 6.0496
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.8709 (range: 0.8709 - 0.8709)
archetypal_loss: 0.9556 (range: 0.9556 - 0.9556)
kld_loss: 0.1086 (range: 0.1086 - 0.1086)
reconstruction_loss: 0.9556 (range: 0.9556 - 0.9556)
archetype_r2: 0.0183 (range: 0.0183 - 0.0183)
Archetype Transform Summary:
archetype_transform_mean: -0.000203 (range: -0.000203 - -0.000203)
archetype_transform_std: 0.084719 (range: 0.084719 - 0.084719)
archetype_transform_norm: 6.049586 (range: 6.049586 - 6.049586)
archetype_transform_grad_norm: 0.122919 (range: 0.122919 - 0.122919)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0024, max=0.9281, mean=0.1667
Batch reconstruction MSE: 0.9317
Archetype stats: min=-2.7595, max=3.0584
Archetype change since last debug: 8.391295
Archetype gradients: norm=0.015459, mean=0.000611
Epoch 1/1
Average loss: 0.8558
Archetypal loss: 0.9334
KLD loss: 0.1580
Reconstruction loss: 0.9334
Archetype R²: 0.0409
Archetype transform grad norm: 0.156074
Archetype transform param norm: 6.4270
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.8558 (range: 0.8558 - 0.8558)
archetypal_loss: 0.9334 (range: 0.9334 - 0.9334)
kld_loss: 0.1580 (range: 0.1580 - 0.1580)
reconstruction_loss: 0.9334 (range: 0.9334 - 0.9334)
archetype_r2: 0.0409 (range: 0.0409 - 0.0409)
Archetype Transform Summary:
archetype_transform_mean: 0.000087 (range: 0.000087 - 0.000087)
archetype_transform_std: 0.090005 (range: 0.090005 - 0.090005)
archetype_transform_norm: 6.426995 (range: 6.426995 - 6.426995)
archetype_transform_grad_norm: 0.156074 (range: 0.156074 - 0.156074)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0020, max=0.9174, mean=0.1667
Batch reconstruction MSE: 1.0350
Archetype stats: min=-4.0034, max=4.9497
Archetype change since last debug: 9.157287
Archetype gradients: norm=0.028651, mean=0.001308
Epoch 1/1
Average loss: 0.8434
Archetypal loss: 0.9179
KLD loss: 0.1730
Reconstruction loss: 0.9179
Archetype R²: 0.0563
Archetype transform grad norm: 0.176925
Archetype transform param norm: 6.7856
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.8434 (range: 0.8434 - 0.8434)
archetypal_loss: 0.9179 (range: 0.9179 - 0.9179)
kld_loss: 0.1730 (range: 0.1730 - 0.1730)
reconstruction_loss: 0.9179 (range: 0.9179 - 0.9179)
archetype_r2: 0.0563 (range: 0.0563 - 0.0563)
Archetype Transform Summary:
archetype_transform_mean: 0.000396 (range: 0.000396 - 0.000396)
archetype_transform_std: 0.095026 (range: 0.095026 - 0.095026)
archetype_transform_norm: 6.785645 (range: 6.785645 - 6.785645)
archetype_transform_grad_norm: 0.176925 (range: 0.176925 - 0.176925)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0019, max=0.9036, mean=0.1667
Batch reconstruction MSE: 1.1150
Archetype stats: min=-5.2361, max=6.9362
Archetype change since last debug: 7.531122
Archetype gradients: norm=0.039694, mean=0.001890
Epoch 1/1
Average loss: 0.8344
Archetypal loss: 0.9075
KLD loss: 0.1761
Reconstruction loss: 0.9075
Archetype R²: 0.0668
Archetype transform grad norm: 0.187689
Archetype transform param norm: 7.0749
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.8344 (range: 0.8344 - 0.8344)
archetypal_loss: 0.9075 (range: 0.9075 - 0.9075)
kld_loss: 0.1761 (range: 0.1761 - 0.1761)
reconstruction_loss: 0.9075 (range: 0.9075 - 0.9075)
archetype_r2: 0.0668 (range: 0.0668 - 0.0668)
Archetype Transform Summary:
archetype_transform_mean: 0.000683 (range: 0.000683 - 0.000683)
archetype_transform_std: 0.099076 (range: 0.099076 - 0.099076)
archetype_transform_norm: 7.074889 (range: 7.074889 - 7.074889)
archetype_transform_grad_norm: 0.187689 (range: 0.187689 - 0.187689)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0020, max=0.8746, mean=0.1667
Batch reconstruction MSE: 1.1559
Archetype stats: min=-6.7680, max=8.6017
Archetype change since last debug: 5.918931
Archetype gradients: norm=0.045672, mean=0.002197
Epoch 1/1
Average loss: 0.8269
Archetypal loss: 0.8987
KLD loss: 0.1802
Reconstruction loss: 0.8987
Archetype R²: 0.0757
Archetype transform grad norm: 0.195626
Archetype transform param norm: 7.3266
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.8269 (range: 0.8269 - 0.8269)
archetypal_loss: 0.8987 (range: 0.8987 - 0.8987)
kld_loss: 0.1802 (range: 0.1802 - 0.1802)
reconstruction_loss: 0.8987 (range: 0.8987 - 0.8987)
archetype_r2: 0.0757 (range: 0.0757 - 0.0757)
Archetype Transform Summary:
archetype_transform_mean: 0.000951 (range: 0.000951 - 0.000951)
archetype_transform_std: 0.102599 (range: 0.102599 - 0.102599)
archetype_transform_norm: 7.326630 (range: 7.326630 - 7.326630)
archetype_transform_grad_norm: 0.195626 (range: 0.195626 - 0.195626)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0021, max=0.8543, mean=0.1667
Batch reconstruction MSE: 1.1794
Archetype stats: min=-8.0774, max=9.9931
Archetype change since last debug: 5.547985
Archetype gradients: norm=0.051147, mean=0.002481
Epoch 1/1
Average loss: 0.8194
Archetypal loss: 0.8894
KLD loss: 0.1896
Reconstruction loss: 0.8894
Archetype R²: 0.0852
Archetype transform grad norm: 0.201270
Archetype transform param norm: 7.5775
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.8194 (range: 0.8194 - 0.8194)
archetypal_loss: 0.8894 (range: 0.8894 - 0.8894)
kld_loss: 0.1896 (range: 0.1896 - 0.1896)
reconstruction_loss: 0.8894 (range: 0.8894 - 0.8894)
archetype_r2: 0.0852 (range: 0.0852 - 0.0852)
Archetype Transform Summary:
archetype_transform_mean: 0.001154 (range: 0.001154 - 0.001154)
archetype_transform_std: 0.106111 (range: 0.106111 - 0.106111)
archetype_transform_norm: 7.577544 (range: 7.577544 - 7.577544)
archetype_transform_grad_norm: 0.201270 (range: 0.201270 - 0.201270)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0022, max=0.8353, mean=0.1667
Batch reconstruction MSE: 1.2305
Archetype stats: min=-9.1884, max=11.1788
Archetype change since last debug: 5.557353
Archetype gradients: norm=0.067485, mean=0.003020
Epoch 1/1
Average loss: 0.8149
Archetypal loss: 0.8848
KLD loss: 0.1852
Reconstruction loss: 0.8848
Archetype R²: 0.0897
Archetype transform grad norm: 0.207440
Archetype transform param norm: 7.7771
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.8149 (range: 0.8149 - 0.8149)
archetypal_loss: 0.8848 (range: 0.8848 - 0.8848)
kld_loss: 0.1852 (range: 0.1852 - 0.1852)
reconstruction_loss: 0.8848 (range: 0.8848 - 0.8848)
archetype_r2: 0.0897 (range: 0.0897 - 0.0897)
Archetype Transform Summary:
archetype_transform_mean: 0.001282 (range: 0.001282 - 0.001282)
archetype_transform_std: 0.108905 (range: 0.108905 - 0.108905)
archetype_transform_norm: 7.777146 (range: 7.777146 - 7.777146)
archetype_transform_grad_norm: 0.207440 (range: 0.207440 - 0.207440)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0026, max=0.8262, mean=0.1667
Batch reconstruction MSE: 1.2460
Archetype stats: min=-10.0673, max=12.2240
Archetype change since last debug: 3.947216
Archetype gradients: norm=0.072221, mean=0.003207
Epoch 1/1
Average loss: 0.8116
Archetypal loss: 0.8820
KLD loss: 0.1780
Reconstruction loss: 0.8820
Archetype R²: 0.0925
Archetype transform grad norm: 0.210701
Archetype transform param norm: 7.9159
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.8116 (range: 0.8116 - 0.8116)
archetypal_loss: 0.8820 (range: 0.8820 - 0.8820)
kld_loss: 0.1780 (range: 0.1780 - 0.1780)
reconstruction_loss: 0.8820 (range: 0.8820 - 0.8820)
archetype_r2: 0.0925 (range: 0.0925 - 0.0925)
Archetype Transform Summary:
archetype_transform_mean: 0.001401 (range: 0.001401 - 0.001401)
archetype_transform_std: 0.110846 (range: 0.110846 - 0.110846)
archetype_transform_norm: 7.915877 (range: 7.915877 - 7.915877)
archetype_transform_grad_norm: 0.210701 (range: 0.210701 - 0.210701)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0030, max=0.8163, mean=0.1667
Batch reconstruction MSE: 1.2321
Archetype stats: min=-10.7867, max=13.0125
Archetype change since last debug: 3.133773
Archetype gradients: norm=0.070345, mean=0.003133
Epoch 1/1
Average loss: 0.8089
Archetypal loss: 0.8796
KLD loss: 0.1723
Reconstruction loss: 0.8796
Archetype R²: 0.0950
Archetype transform grad norm: 0.212957
Archetype transform param norm: 8.0230
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.8089 (range: 0.8089 - 0.8089)
archetypal_loss: 0.8796 (range: 0.8796 - 0.8796)
kld_loss: 0.1723 (range: 0.1723 - 0.1723)
reconstruction_loss: 0.8796 (range: 0.8796 - 0.8796)
archetype_r2: 0.0950 (range: 0.0950 - 0.0950)
Archetype Transform Summary:
archetype_transform_mean: 0.001476 (range: 0.001476 - 0.001476)
archetype_transform_std: 0.112345 (range: 0.112345 - 0.112345)
archetype_transform_norm: 8.022974 (range: 8.022974 - 8.022974)
archetype_transform_grad_norm: 0.212957 (range: 0.212957 - 0.212957)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0036, max=0.8439, mean=0.1667
Batch reconstruction MSE: 1.2144
Archetype stats: min=-11.4156, max=13.7230
Archetype change since last debug: 2.690902
Archetype gradients: norm=0.067898, mean=0.003078
Epoch 1/1
Average loss: 0.8085
Archetypal loss: 0.8795
KLD loss: 0.1696
Reconstruction loss: 0.8795
Archetype R²: 0.0954
Archetype transform grad norm: 0.216950
Archetype transform param norm: 8.1028
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.8085 (range: 0.8085 - 0.8085)
archetypal_loss: 0.8795 (range: 0.8795 - 0.8795)
kld_loss: 0.1696 (range: 0.1696 - 0.1696)
reconstruction_loss: 0.8795 (range: 0.8795 - 0.8795)
archetype_r2: 0.0954 (range: 0.0954 - 0.0954)
Archetype Transform Summary:
archetype_transform_mean: 0.001473 (range: 0.001473 - 0.001473)
archetype_transform_std: 0.113463 (range: 0.113463 - 0.113463)
archetype_transform_norm: 8.102788 (range: 8.102788 - 8.102788)
archetype_transform_grad_norm: 0.216950 (range: 0.216950 - 0.216950)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0041, max=0.8260, mean=0.1667
Batch reconstruction MSE: 1.1752
Archetype stats: min=-11.9857, max=13.6140
Archetype change since last debug: 2.247088
Archetype gradients: norm=0.062394, mean=0.002827
Epoch 1/1
Average loss: 0.8040
Archetypal loss: 0.8749
KLD loss: 0.1659
Reconstruction loss: 0.8749
Archetype R²: 0.0999
Archetype transform grad norm: 0.211999
Archetype transform param norm: 8.1787
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.8040 (range: 0.8040 - 0.8040)
archetypal_loss: 0.8749 (range: 0.8749 - 0.8749)
kld_loss: 0.1659 (range: 0.1659 - 0.1659)
reconstruction_loss: 0.8749 (range: 0.8749 - 0.8749)
archetype_r2: 0.0999 (range: 0.0999 - 0.0999)
Archetype Transform Summary:
archetype_transform_mean: 0.001490 (range: 0.001490 - 0.001490)
archetype_transform_std: 0.114526 (range: 0.114526 - 0.114526)
archetype_transform_norm: 8.178661 (range: 8.178661 - 8.178661)
archetype_transform_grad_norm: 0.211999 (range: 0.211999 - 0.211999)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0049, max=0.8095, mean=0.1667
Batch reconstruction MSE: 1.1548
Archetype stats: min=-12.5043, max=14.3382
Archetype change since last debug: 2.499846
Archetype gradients: norm=0.055943, mean=0.002641
Epoch 1/1
Average loss: 0.8022
Archetypal loss: 0.8735
KLD loss: 0.1604
Reconstruction loss: 0.8735
Archetype R²: 0.1014
Archetype transform grad norm: 0.214315
Archetype transform param norm: 8.2700
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.8022 (range: 0.8022 - 0.8022)
archetypal_loss: 0.8735 (range: 0.8735 - 0.8735)
kld_loss: 0.1604 (range: 0.1604 - 0.1604)
reconstruction_loss: 0.8735 (range: 0.8735 - 0.8735)
archetype_r2: 0.1014 (range: 0.1014 - 0.1014)
Archetype Transform Summary:
archetype_transform_mean: 0.001569 (range: 0.001569 - 0.001569)
archetype_transform_std: 0.115804 (range: 0.115804 - 0.115804)
archetype_transform_norm: 8.270012 (range: 8.270012 - 8.270012)
archetype_transform_grad_norm: 0.214315 (range: 0.214315 - 0.214315)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0056, max=0.7756, mean=0.1667
Batch reconstruction MSE: 1.1313
Archetype stats: min=-12.9705, max=14.9772
Archetype change since last debug: 2.298750
Archetype gradients: norm=0.055355, mean=0.002535
Epoch 1/1
Average loss: 0.8006
Archetypal loss: 0.8722
KLD loss: 0.1564
Reconstruction loss: 0.8722
Archetype R²: 0.1029
Archetype transform grad norm: 0.216494
Archetype transform param norm: 8.3521
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.8006 (range: 0.8006 - 0.8006)
archetypal_loss: 0.8722 (range: 0.8722 - 0.8722)
kld_loss: 0.1564 (range: 0.1564 - 0.1564)
reconstruction_loss: 0.8722 (range: 0.8722 - 0.8722)
archetype_r2: 0.1029 (range: 0.1029 - 0.1029)
Archetype Transform Summary:
archetype_transform_mean: 0.001630 (range: 0.001630 - 0.001630)
archetype_transform_std: 0.116953 (range: 0.116953 - 0.116953)
archetype_transform_norm: 8.352114 (range: 8.352114 - 8.352114)
archetype_transform_grad_norm: 0.216494 (range: 0.216494 - 0.216494)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0059, max=0.8395, mean=0.1667
Batch reconstruction MSE: 1.1089
Archetype stats: min=-13.3864, max=15.5020
Archetype change since last debug: 2.157240
Archetype gradients: norm=0.046987, mean=0.002310
Epoch 1/1
Average loss: 0.7993
Archetypal loss: 0.8709
KLD loss: 0.1546
Reconstruction loss: 0.8709
Archetype R²: 0.1042
Archetype transform grad norm: 0.219442
Archetype transform param norm: 8.4305
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.7993 (range: 0.7993 - 0.7993)
archetypal_loss: 0.8709 (range: 0.8709 - 0.8709)
kld_loss: 0.1546 (range: 0.1546 - 0.1546)
reconstruction_loss: 0.8709 (range: 0.8709 - 0.8709)
archetype_r2: 0.1042 (range: 0.1042 - 0.1042)
Archetype Transform Summary:
archetype_transform_mean: 0.001683 (range: 0.001683 - 0.001683)
archetype_transform_std: 0.118050 (range: 0.118050 - 0.118050)
archetype_transform_norm: 8.430523 (range: 8.430523 - 8.430523)
archetype_transform_grad_norm: 0.219442 (range: 0.219442 - 0.219442)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0077, max=0.6925, mean=0.1667
Batch reconstruction MSE: 1.1017
Archetype stats: min=-13.7504, max=16.0380
Archetype change since last debug: 2.094677
Archetype gradients: norm=0.053867, mean=0.002374
Epoch 1/1
Average loss: 0.7982
Archetypal loss: 0.8699
KLD loss: 0.1524
Reconstruction loss: 0.8699
Archetype R²: 0.1052
Archetype transform grad norm: 0.219905
Archetype transform param norm: 8.5003
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.7982 (range: 0.7982 - 0.7982)
archetypal_loss: 0.8699 (range: 0.8699 - 0.8699)
kld_loss: 0.1524 (range: 0.1524 - 0.1524)
reconstruction_loss: 0.8699 (range: 0.8699 - 0.8699)
archetype_r2: 0.1052 (range: 0.1052 - 0.1052)
Archetype Transform Summary:
archetype_transform_mean: 0.001725 (range: 0.001725 - 0.001725)
archetype_transform_std: 0.119027 (range: 0.119027 - 0.119027)
archetype_transform_norm: 8.500293 (range: 8.500293 - 8.500293)
archetype_transform_grad_norm: 0.219905 (range: 0.219905 - 0.219905)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0070, max=0.9008, mean=0.1667
Batch reconstruction MSE: 1.0880
Archetype stats: min=-14.0552, max=16.4076
Archetype change since last debug: 1.970505
Archetype gradients: norm=0.044579, mean=0.002068
Epoch 1/1
Average loss: 0.7984
Archetypal loss: 0.8703
KLD loss: 0.1513
Reconstruction loss: 0.8703
Archetype R²: 0.1049
Archetype transform grad norm: 0.235705
Archetype transform param norm: 8.5550
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.7984 (range: 0.7984 - 0.7984)
archetypal_loss: 0.8703 (range: 0.8703 - 0.8703)
kld_loss: 0.1513 (range: 0.1513 - 0.1513)
reconstruction_loss: 0.8703 (range: 0.8703 - 0.8703)
archetype_r2: 0.1049 (range: 0.1049 - 0.1049)
Archetype Transform Summary:
archetype_transform_mean: 0.001746 (range: 0.001746 - 0.001746)
archetype_transform_std: 0.119792 (range: 0.119792 - 0.119792)
archetype_transform_norm: 8.554956 (range: 8.554956 - 8.554956)
archetype_transform_grad_norm: 0.235705 (range: 0.235705 - 0.235705)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0093, max=0.7267, mean=0.1667
Batch reconstruction MSE: 1.0962
Archetype stats: min=-14.2863, max=16.7256
Archetype change since last debug: 1.661425
Archetype gradients: norm=0.063021, mean=0.002616
Epoch 1/1
Average loss: 0.7974
Archetypal loss: 0.8692
KLD loss: 0.1512
Reconstruction loss: 0.8692
Archetype R²: 0.1059
Archetype transform grad norm: 0.230714
Archetype transform param norm: 8.5999
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.7974 (range: 0.7974 - 0.7974)
archetypal_loss: 0.8692 (range: 0.8692 - 0.8692)
kld_loss: 0.1512 (range: 0.1512 - 0.1512)
reconstruction_loss: 0.8692 (range: 0.8692 - 0.8692)
archetype_r2: 0.1059 (range: 0.1059 - 0.1059)
Archetype Transform Summary:
archetype_transform_mean: 0.001754 (range: 0.001754 - 0.001754)
archetype_transform_std: 0.120422 (range: 0.120422 - 0.120422)
archetype_transform_norm: 8.599942 (range: 8.599942 - 8.599942)
archetype_transform_grad_norm: 0.230714 (range: 0.230714 - 0.230714)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0080, max=0.8713, mean=0.1667
Batch reconstruction MSE: 1.0831
Archetype stats: min=-14.6195, max=16.9386
Archetype change since last debug: 1.566895
Archetype gradients: norm=0.042631, mean=0.001869
Epoch 1/1
Average loss: 0.7966
Archetypal loss: 0.8685
KLD loss: 0.1496
Reconstruction loss: 0.8685
Archetype R²: 0.1066
Archetype transform grad norm: 0.239829
Archetype transform param norm: 8.6433
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.7966 (range: 0.7966 - 0.7966)
archetypal_loss: 0.8685 (range: 0.8685 - 0.8685)
kld_loss: 0.1496 (range: 0.1496 - 0.1496)
reconstruction_loss: 0.8685 (range: 0.8685 - 0.8685)
archetype_r2: 0.1066 (range: 0.1066 - 0.1066)
Archetype Transform Summary:
archetype_transform_mean: 0.001760 (range: 0.001760 - 0.001760)
archetype_transform_std: 0.121030 (range: 0.121030 - 0.121030)
archetype_transform_norm: 8.643313 (range: 8.643313 - 8.643313)
archetype_transform_grad_norm: 0.239829 (range: 0.239829 - 0.239829)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0119, max=0.7105, mean=0.1667
Batch reconstruction MSE: 1.0783
Archetype stats: min=-14.7044, max=17.2593
Archetype change since last debug: 1.534838
Archetype gradients: norm=0.063412, mean=0.002616
Epoch 1/1
Average loss: 0.7960
Archetypal loss: 0.8678
KLD loss: 0.1499
Reconstruction loss: 0.8678
Archetype R²: 0.1073
Archetype transform grad norm: 0.234442
Archetype transform param norm: 8.6850
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.7960 (range: 0.7960 - 0.7960)
archetypal_loss: 0.8678 (range: 0.8678 - 0.8678)
kld_loss: 0.1499 (range: 0.1499 - 0.1499)
reconstruction_loss: 0.8678 (range: 0.8678 - 0.8678)
archetype_r2: 0.1073 (range: 0.1073 - 0.1073)
Archetype Transform Summary:
archetype_transform_mean: 0.001792 (range: 0.001792 - 0.001792)
archetype_transform_std: 0.121614 (range: 0.121614 - 0.121614)
archetype_transform_norm: 8.685037 (range: 8.685037 - 8.685037)
archetype_transform_grad_norm: 0.234442 (range: 0.234442 - 0.234442)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0084, max=0.8530, mean=0.1667
Batch reconstruction MSE: 1.0743
Archetype stats: min=-15.0053, max=17.5166
Archetype change since last debug: 1.469586
Archetype gradients: norm=0.044704, mean=0.001849
Epoch 1/1
Average loss: 0.7953
Archetypal loss: 0.8673
KLD loss: 0.1468
Reconstruction loss: 0.8673
Archetype R²: 0.1078
Archetype transform grad norm: 0.240204
Archetype transform param norm: 8.7251
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.7953 (range: 0.7953 - 0.7953)
archetypal_loss: 0.8673 (range: 0.8673 - 0.8673)
kld_loss: 0.1468 (range: 0.1468 - 0.1468)
reconstruction_loss: 0.8673 (range: 0.8673 - 0.8673)
archetype_r2: 0.1078 (range: 0.1078 - 0.1078)
Archetype Transform Summary:
archetype_transform_mean: 0.001805 (range: 0.001805 - 0.001805)
archetype_transform_std: 0.122174 (range: 0.122174 - 0.122174)
archetype_transform_norm: 8.725091 (range: 8.725091 - 8.725091)
archetype_transform_grad_norm: 0.240204 (range: 0.240204 - 0.240204)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0138, max=0.7121, mean=0.1667
Batch reconstruction MSE: 1.0396
Archetype stats: min=-15.0897, max=17.7768
Archetype change since last debug: 1.411764
Archetype gradients: norm=0.051999, mean=0.002162
Epoch 1/1
Average loss: 0.7937
Archetypal loss: 0.8655
KLD loss: 0.1479
Reconstruction loss: 0.8655
Archetype R²: 0.1098
Archetype transform grad norm: 0.228753
Archetype transform param norm: 8.7734
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.7937 (range: 0.7937 - 0.7937)
archetypal_loss: 0.8655 (range: 0.8655 - 0.8655)
kld_loss: 0.1479 (range: 0.1479 - 0.1479)
reconstruction_loss: 0.8655 (range: 0.8655 - 0.8655)
archetype_r2: 0.1098 (range: 0.1098 - 0.1098)
Archetype Transform Summary:
archetype_transform_mean: 0.001821 (range: 0.001821 - 0.001821)
archetype_transform_std: 0.122850 (range: 0.122850 - 0.122850)
archetype_transform_norm: 8.773369 (range: 8.773369 - 8.773369)
archetype_transform_grad_norm: 0.228753 (range: 0.228753 - 0.228753)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0092, max=0.8509, mean=0.1667
Batch reconstruction MSE: 1.0400
Archetype stats: min=-15.3968, max=17.9766
Archetype change since last debug: 1.473664
Archetype gradients: norm=0.038782, mean=0.001738
Epoch 1/1
Average loss: 0.7932
Archetypal loss: 0.8654
KLD loss: 0.1435
Reconstruction loss: 0.8654
Archetype R²: 0.1099
Archetype transform grad norm: 0.234197
Archetype transform param norm: 8.8175
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.7932 (range: 0.7932 - 0.7932)
archetypal_loss: 0.8654 (range: 0.8654 - 0.8654)
kld_loss: 0.1435 (range: 0.1435 - 0.1435)
reconstruction_loss: 0.8654 (range: 0.8654 - 0.8654)
archetype_r2: 0.1099 (range: 0.1099 - 0.1099)
Archetype Transform Summary:
archetype_transform_mean: 0.001839 (range: 0.001839 - 0.001839)
archetype_transform_std: 0.123469 (range: 0.123469 - 0.123469)
archetype_transform_norm: 8.817533 (range: 8.817533 - 8.817533)
archetype_transform_grad_norm: 0.234197 (range: 0.234197 - 0.234197)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0164, max=0.6779, mean=0.1667
Batch reconstruction MSE: 1.0178
Archetype stats: min=-15.4643, max=18.3353
Archetype change since last debug: 1.408370
Archetype gradients: norm=0.047212, mean=0.001971
Epoch 1/1
Average loss: 0.7923
Archetypal loss: 0.8642
KLD loss: 0.1446
Reconstruction loss: 0.8642
Archetype R²: 0.1111
Archetype transform grad norm: 0.229803
Archetype transform param norm: 8.8645
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.7923 (range: 0.7923 - 0.7923)
archetypal_loss: 0.8642 (range: 0.8642 - 0.8642)
kld_loss: 0.1446 (range: 0.1446 - 0.1446)
reconstruction_loss: 0.8642 (range: 0.8642 - 0.8642)
archetype_r2: 0.1111 (range: 0.1111 - 0.1111)
Archetype Transform Summary:
archetype_transform_mean: 0.001858 (range: 0.001858 - 0.001858)
archetype_transform_std: 0.124126 (range: 0.124126 - 0.124126)
archetype_transform_norm: 8.864477 (range: 8.864477 - 8.864477)
archetype_transform_grad_norm: 0.229803 (range: 0.229803 - 0.229803)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0082, max=0.8867, mean=0.1667
Batch reconstruction MSE: 1.0401
Archetype stats: min=-15.7437, max=18.5587
Archetype change since last debug: 1.473925
Archetype gradients: norm=0.039134, mean=0.001741
Epoch 1/1
Average loss: 0.7922
Archetypal loss: 0.8645
KLD loss: 0.1420
Reconstruction loss: 0.8645
Archetype R²: 0.1108
Archetype transform grad norm: 0.235224
Archetype transform param norm: 8.9025
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.7922 (range: 0.7922 - 0.7922)
archetypal_loss: 0.8645 (range: 0.8645 - 0.8645)
kld_loss: 0.1420 (range: 0.1420 - 0.1420)
reconstruction_loss: 0.8645 (range: 0.8645 - 0.8645)
archetype_r2: 0.1108 (range: 0.1108 - 0.1108)
Archetype Transform Summary:
archetype_transform_mean: 0.001891 (range: 0.001891 - 0.001891)
archetype_transform_std: 0.124658 (range: 0.124658 - 0.124658)
archetype_transform_norm: 8.902491 (range: 8.902491 - 8.902491)
archetype_transform_grad_norm: 0.235224 (range: 0.235224 - 0.235224)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0189, max=0.7054, mean=0.1667
Batch reconstruction MSE: 1.0371
Archetype stats: min=-15.6537, max=18.8513
Archetype change since last debug: 1.258873
Archetype gradients: norm=0.051526, mean=0.002128
Epoch 1/1
Average loss: 0.7920
Archetypal loss: 0.8642
KLD loss: 0.1426
Reconstruction loss: 0.8642
Archetype R²: 0.1110
Archetype transform grad norm: 0.233618
Archetype transform param norm: 8.9349
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.7920 (range: 0.7920 - 0.7920)
archetypal_loss: 0.8642 (range: 0.8642 - 0.8642)
kld_loss: 0.1426 (range: 0.1426 - 0.1426)
reconstruction_loss: 0.8642 (range: 0.8642 - 0.8642)
archetype_r2: 0.1110 (range: 0.1110 - 0.1110)
Archetype Transform Summary:
archetype_transform_mean: 0.001894 (range: 0.001894 - 0.001894)
archetype_transform_std: 0.125111 (range: 0.125111 - 0.125111)
archetype_transform_norm: 8.934852 (range: 8.934852 - 8.934852)
archetype_transform_grad_norm: 0.233618 (range: 0.233618 - 0.233618)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0104, max=0.8627, mean=0.1667
Batch reconstruction MSE: 1.0321
Archetype stats: min=-15.9151, max=18.9456
Archetype change since last debug: 1.174136
Archetype gradients: norm=0.039009, mean=0.001758
Epoch 1/1
Average loss: 0.7920
Archetypal loss: 0.8642
KLD loss: 0.1416
Reconstruction loss: 0.8642
Archetype R²: 0.1110
Archetype transform grad norm: 0.239569
Archetype transform param norm: 8.9664
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.7920 (range: 0.7920 - 0.7920)
archetypal_loss: 0.8642 (range: 0.8642 - 0.8642)
kld_loss: 0.1416 (range: 0.1416 - 0.1416)
reconstruction_loss: 0.8642 (range: 0.8642 - 0.8642)
archetype_r2: 0.1110 (range: 0.1110 - 0.1110)
Archetype Transform Summary:
archetype_transform_mean: 0.001917 (range: 0.001917 - 0.001917)
archetype_transform_std: 0.125553 (range: 0.125553 - 0.125553)
archetype_transform_norm: 8.966446 (range: 8.966446 - 8.966446)
archetype_transform_grad_norm: 0.239569 (range: 0.239569 - 0.239569)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0150, max=0.7412, mean=0.1667
Batch reconstruction MSE: 1.0228
Archetype stats: min=-15.8434, max=19.2222
Archetype change since last debug: 1.153390
Archetype gradients: norm=0.056945, mean=0.002169
Epoch 1/1
Average loss: 0.7916
Archetypal loss: 0.8639
KLD loss: 0.1405
Reconstruction loss: 0.8639
Archetype R²: 0.1114
Archetype transform grad norm: 0.232805
Archetype transform param norm: 8.9905
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.7916 (range: 0.7916 - 0.7916)
archetypal_loss: 0.8639 (range: 0.8639 - 0.8639)
kld_loss: 0.1405 (range: 0.1405 - 0.1405)
reconstruction_loss: 0.8639 (range: 0.8639 - 0.8639)
archetype_r2: 0.1114 (range: 0.1114 - 0.1114)
Archetype Transform Summary:
archetype_transform_mean: 0.001912 (range: 0.001912 - 0.001912)
archetype_transform_std: 0.125890 (range: 0.125890 - 0.125890)
archetype_transform_norm: 8.990500 (range: 8.990500 - 8.990500)
archetype_transform_grad_norm: 0.232805 (range: 0.232805 - 0.232805)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0115, max=0.8003, mean=0.1667
Batch reconstruction MSE: 1.0312
Archetype stats: min=-16.0751, max=19.3551
Archetype change since last debug: 1.056375
Archetype gradients: norm=0.045864, mean=0.002042
Epoch 1/1
Average loss: 0.7911
Archetypal loss: 0.8634
KLD loss: 0.1409
Reconstruction loss: 0.8634
Archetype R²: 0.1118
Archetype transform grad norm: 0.242753
Archetype transform param norm: 9.0132
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.7911 (range: 0.7911 - 0.7911)
archetypal_loss: 0.8634 (range: 0.8634 - 0.8634)
kld_loss: 0.1409 (range: 0.1409 - 0.1409)
reconstruction_loss: 0.8634 (range: 0.8634 - 0.8634)
archetype_r2: 0.1118 (range: 0.1118 - 0.1118)
Archetype Transform Summary:
archetype_transform_mean: 0.001938 (range: 0.001938 - 0.001938)
archetype_transform_std: 0.126208 (range: 0.126208 - 0.126208)
archetype_transform_norm: 9.013247 (range: 9.013247 - 9.013247)
archetype_transform_grad_norm: 0.242753 (range: 0.242753 - 0.242753)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0180, max=0.7084, mean=0.1667
Batch reconstruction MSE: 1.0367
Archetype stats: min=-16.0255, max=19.5772
Archetype change since last debug: 1.076535
Archetype gradients: norm=0.069940, mean=0.002624
Epoch 1/1
Average loss: 0.7914
Archetypal loss: 0.8638
KLD loss: 0.1397
Reconstruction loss: 0.8638
Archetype R²: 0.1114
Archetype transform grad norm: 0.247220
Archetype transform param norm: 9.0315
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.7914 (range: 0.7914 - 0.7914)
archetypal_loss: 0.8638 (range: 0.8638 - 0.8638)
kld_loss: 0.1397 (range: 0.1397 - 0.1397)
reconstruction_loss: 0.8638 (range: 0.8638 - 0.8638)
archetype_r2: 0.1114 (range: 0.1114 - 0.1114)
Archetype Transform Summary:
archetype_transform_mean: 0.001947 (range: 0.001947 - 0.001947)
archetype_transform_std: 0.126464 (range: 0.126464 - 0.126464)
archetype_transform_norm: 9.031530 (range: 9.031530 - 9.031530)
archetype_transform_grad_norm: 0.247220 (range: 0.247220 - 0.247220)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0113, max=0.8127, mean=0.1667
Batch reconstruction MSE: 1.0512
Archetype stats: min=-16.1469, max=19.6685
Archetype change since last debug: 0.948949
Archetype gradients: norm=0.064867, mean=0.002619
Epoch 1/1
Average loss: 0.7920
Archetypal loss: 0.8643
KLD loss: 0.1413
Reconstruction loss: 0.8643
Archetype R²: 0.1108
Archetype transform grad norm: 0.255702
Archetype transform param norm: 9.0403
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.7920 (range: 0.7920 - 0.7920)
archetypal_loss: 0.8643 (range: 0.8643 - 0.8643)
kld_loss: 0.1413 (range: 0.1413 - 0.1413)
reconstruction_loss: 0.8643 (range: 0.8643 - 0.8643)
archetype_r2: 0.1108 (range: 0.1108 - 0.1108)
Archetype Transform Summary:
archetype_transform_mean: 0.001976 (range: 0.001976 - 0.001976)
archetype_transform_std: 0.126586 (range: 0.126586 - 0.126586)
archetype_transform_norm: 9.040282 (range: 9.040282 - 9.040282)
archetype_transform_grad_norm: 0.255702 (range: 0.255702 - 0.255702)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0157, max=0.6762, mean=0.1667
Batch reconstruction MSE: 1.0857
Archetype stats: min=-16.1189, max=19.7775
Archetype change since last debug: 0.995077
Archetype gradients: norm=0.068197, mean=0.003206
Epoch 1/1
Average loss: 0.7923
Archetypal loss: 0.8646
KLD loss: 0.1409
Reconstruction loss: 0.8646
Archetype R²: 0.1103
Archetype transform grad norm: 0.255214
Archetype transform param norm: 9.0395
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.7923 (range: 0.7923 - 0.7923)
archetypal_loss: 0.8646 (range: 0.8646 - 0.8646)
kld_loss: 0.1409 (range: 0.1409 - 0.1409)
reconstruction_loss: 0.8646 (range: 0.8646 - 0.8646)
archetype_r2: 0.1103 (range: 0.1103 - 0.1103)
Archetype Transform Summary:
archetype_transform_mean: 0.001973 (range: 0.001973 - 0.001973)
archetype_transform_std: 0.126575 (range: 0.126575 - 0.126575)
archetype_transform_norm: 9.039457 (range: 9.039457 - 9.039457)
archetype_transform_grad_norm: 0.255214 (range: 0.255214 - 0.255214)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0119, max=0.8399, mean=0.1667
Batch reconstruction MSE: 1.0196
Archetype stats: min=-15.9633, max=19.7662
Archetype change since last debug: 0.844047
Archetype gradients: norm=0.055444, mean=0.001941
Epoch 1/1
Average loss: 0.7904
Archetypal loss: 0.8628
KLD loss: 0.1388
Reconstruction loss: 0.8628
Archetype R²: 0.1124
Archetype transform grad norm: 0.249127
Archetype transform param norm: 9.0573
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.7904 (range: 0.7904 - 0.7904)
archetypal_loss: 0.8628 (range: 0.8628 - 0.8628)
kld_loss: 0.1388 (range: 0.1388 - 0.1388)
reconstruction_loss: 0.8628 (range: 0.8628 - 0.8628)
archetype_r2: 0.1124 (range: 0.1124 - 0.1124)
Archetype Transform Summary:
archetype_transform_mean: 0.001988 (range: 0.001988 - 0.001988)
archetype_transform_std: 0.126824 (range: 0.126824 - 0.126824)
archetype_transform_norm: 9.057287 (range: 9.057287 - 9.057287)
archetype_transform_grad_norm: 0.249127 (range: 0.249127 - 0.249127)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0177, max=0.7073, mean=0.1667
Batch reconstruction MSE: 1.0085
Archetype stats: min=-15.9801, max=19.8851
Archetype change since last debug: 1.007580
Archetype gradients: norm=0.046315, mean=0.002187
Epoch 1/1
Average loss: 0.7895
Archetypal loss: 0.8619
KLD loss: 0.1387
Reconstruction loss: 0.8619
Archetype R²: 0.1134
Archetype transform grad norm: 0.242970
Archetype transform param norm: 9.0852
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.7895 (range: 0.7895 - 0.7895)
archetypal_loss: 0.8619 (range: 0.8619 - 0.8619)
kld_loss: 0.1387 (range: 0.1387 - 0.1387)
reconstruction_loss: 0.8619 (range: 0.8619 - 0.8619)
archetype_r2: 0.1134 (range: 0.1134 - 0.1134)
Archetype Transform Summary:
archetype_transform_mean: 0.001997 (range: 0.001997 - 0.001997)
archetype_transform_std: 0.127216 (range: 0.127216 - 0.127216)
archetype_transform_norm: 9.085242 (range: 9.085242 - 9.085242)
archetype_transform_grad_norm: 0.242970 (range: 0.242970 - 0.242970)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0136, max=0.7985, mean=0.1667
Batch reconstruction MSE: 0.9844
Archetype stats: min=-15.9579, max=20.1148
Archetype change since last debug: 1.006776
Archetype gradients: norm=0.045324, mean=0.001750
Epoch 1/1
Average loss: 0.7888
Archetypal loss: 0.8612
KLD loss: 0.1364
Reconstruction loss: 0.8612
Archetype R²: 0.1141
Archetype transform grad norm: 0.239272
Archetype transform param norm: 9.1166
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.7888 (range: 0.7888 - 0.7888)
archetypal_loss: 0.8612 (range: 0.8612 - 0.8612)
kld_loss: 0.1364 (range: 0.1364 - 0.1364)
reconstruction_loss: 0.8612 (range: 0.8612 - 0.8612)
archetype_r2: 0.1141 (range: 0.1141 - 0.1141)
Archetype Transform Summary:
archetype_transform_mean: 0.002013 (range: 0.002013 - 0.002013)
archetype_transform_std: 0.127655 (range: 0.127655 - 0.127655)
archetype_transform_norm: 9.116598 (range: 9.116598 - 9.116598)
archetype_transform_grad_norm: 0.239272 (range: 0.239272 - 0.239272)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0175, max=0.7168, mean=0.1667
Batch reconstruction MSE: 1.0062
Archetype stats: min=-16.1142, max=20.3828
Archetype change since last debug: 1.030950
Archetype gradients: norm=0.037444, mean=0.001773
Epoch 1/1
Average loss: 0.7890
Archetypal loss: 0.8614
KLD loss: 0.1374
Reconstruction loss: 0.8614
Archetype R²: 0.1139
Archetype transform grad norm: 0.238841
Archetype transform param norm: 9.1450
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.7890 (range: 0.7890 - 0.7890)
archetypal_loss: 0.8614 (range: 0.8614 - 0.8614)
kld_loss: 0.1374 (range: 0.1374 - 0.1374)
reconstruction_loss: 0.8614 (range: 0.8614 - 0.8614)
archetype_r2: 0.1139 (range: 0.1139 - 0.1139)
Archetype Transform Summary:
archetype_transform_mean: 0.002014 (range: 0.002014 - 0.002014)
archetype_transform_std: 0.128053 (range: 0.128053 - 0.128053)
archetype_transform_norm: 9.145048 (range: 9.145048 - 9.145048)
archetype_transform_grad_norm: 0.238841 (range: 0.238841 - 0.238841)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0137, max=0.7944, mean=0.1667
Batch reconstruction MSE: 1.0335
Archetype stats: min=-16.1685, max=20.4956
Archetype change since last debug: 1.000062
Archetype gradients: norm=0.057500, mean=0.002316
Epoch 1/1
Average loss: 0.7909
Archetypal loss: 0.8634
KLD loss: 0.1390
Reconstruction loss: 0.8634
Archetype R²: 0.1119
Archetype transform grad norm: 0.245441
Archetype transform param norm: 9.1537
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.7909 (range: 0.7909 - 0.7909)
archetypal_loss: 0.8634 (range: 0.8634 - 0.8634)
kld_loss: 0.1390 (range: 0.1390 - 0.1390)
reconstruction_loss: 0.8634 (range: 0.8634 - 0.8634)
archetype_r2: 0.1119 (range: 0.1119 - 0.1119)
Archetype Transform Summary:
archetype_transform_mean: 0.002016 (range: 0.002016 - 0.002016)
archetype_transform_std: 0.128174 (range: 0.128174 - 0.128174)
archetype_transform_norm: 9.153718 (range: 9.153718 - 9.153718)
archetype_transform_grad_norm: 0.245441 (range: 0.245441 - 0.245441)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0152, max=0.7212, mean=0.1667
Batch reconstruction MSE: 1.0592
Archetype stats: min=-16.2020, max=20.4907
Archetype change since last debug: 0.757763
Archetype gradients: norm=0.041414, mean=0.001841
Epoch 1/1
Average loss: 0.7909
Archetypal loss: 0.8633
KLD loss: 0.1386
Reconstruction loss: 0.8633
Archetype R²: 0.1117
Archetype transform grad norm: 0.239301
Archetype transform param norm: 9.1481
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.7909 (range: 0.7909 - 0.7909)
archetypal_loss: 0.8633 (range: 0.8633 - 0.8633)
kld_loss: 0.1386 (range: 0.1386 - 0.1386)
reconstruction_loss: 0.8633 (range: 0.8633 - 0.8633)
archetype_r2: 0.1117 (range: 0.1117 - 0.1117)
Archetype Transform Summary:
archetype_transform_mean: 0.001972 (range: 0.001972 - 0.001972)
archetype_transform_std: 0.128097 (range: 0.128097 - 0.128097)
archetype_transform_norm: 9.148115 (range: 9.148115 - 9.148115)
archetype_transform_grad_norm: 0.239301 (range: 0.239301 - 0.239301)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0145, max=0.7955, mean=0.1667
Batch reconstruction MSE: 1.0262
Archetype stats: min=-16.2537, max=20.4146
Archetype change since last debug: 1.031718
Archetype gradients: norm=0.057208, mean=0.002246
Epoch 1/1
Average loss: 0.7901
Archetypal loss: 0.8625
KLD loss: 0.1383
Reconstruction loss: 0.8625
Archetype R²: 0.1126
Archetype transform grad norm: 0.235457
Archetype transform param norm: 9.1508
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.7901 (range: 0.7901 - 0.7901)
archetypal_loss: 0.8625 (range: 0.8625 - 0.8625)
kld_loss: 0.1383 (range: 0.1383 - 0.1383)
reconstruction_loss: 0.8625 (range: 0.8625 - 0.8625)
archetype_r2: 0.1126 (range: 0.1126 - 0.1126)
Archetype Transform Summary:
archetype_transform_mean: 0.001972 (range: 0.001972 - 0.001972)
archetype_transform_std: 0.128134 (range: 0.128134 - 0.128134)
archetype_transform_norm: 9.150754 (range: 9.150754 - 9.150754)
archetype_transform_grad_norm: 0.235457 (range: 0.235457 - 0.235457)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0225, max=0.6764, mean=0.1667
Batch reconstruction MSE: 1.0385
Archetype stats: min=-16.1851, max=20.4610
Archetype change since last debug: 0.862087
Archetype gradients: norm=0.033463, mean=0.001647
Epoch 1/1
Average loss: 0.7898
Archetypal loss: 0.8618
KLD loss: 0.1413
Reconstruction loss: 0.8618
Archetype R²: 0.1132
Archetype transform grad norm: 0.237913
Archetype transform param norm: 9.1604
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.7898 (range: 0.7898 - 0.7898)
archetypal_loss: 0.8618 (range: 0.8618 - 0.8618)
kld_loss: 0.1413 (range: 0.1413 - 0.1413)
reconstruction_loss: 0.8618 (range: 0.8618 - 0.8618)
archetype_r2: 0.1132 (range: 0.1132 - 0.1132)
Archetype Transform Summary:
archetype_transform_mean: 0.001971 (range: 0.001971 - 0.001971)
archetype_transform_std: 0.128268 (range: 0.128268 - 0.128268)
archetype_transform_norm: 9.160374 (range: 9.160374 - 9.160374)
archetype_transform_grad_norm: 0.237913 (range: 0.237913 - 0.237913)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0092, max=0.8730, mean=0.1667
Batch reconstruction MSE: 1.0072
Archetype stats: min=-16.2658, max=20.5868
Archetype change since last debug: 0.742485
Archetype gradients: norm=0.049879, mean=0.002158
Epoch 1/1
Average loss: 0.7879
Archetypal loss: 0.8604
KLD loss: 0.1354
Reconstruction loss: 0.8604
Archetype R²: 0.1148
Archetype transform grad norm: 0.233695
Archetype transform param norm: 9.1805
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.7879 (range: 0.7879 - 0.7879)
archetypal_loss: 0.8604 (range: 0.8604 - 0.8604)
kld_loss: 0.1354 (range: 0.1354 - 0.1354)
reconstruction_loss: 0.8604 (range: 0.8604 - 0.8604)
archetype_r2: 0.1148 (range: 0.1148 - 0.1148)
Archetype Transform Summary:
archetype_transform_mean: 0.001994 (range: 0.001994 - 0.001994)
archetype_transform_std: 0.128549 (range: 0.128549 - 0.128549)
archetype_transform_norm: 9.180456 (range: 9.180456 - 9.180456)
archetype_transform_grad_norm: 0.233695 (range: 0.233695 - 0.233695)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0165, max=0.7362, mean=0.1667
Batch reconstruction MSE: 0.9753
Archetype stats: min=-16.3024, max=20.8815
Archetype change since last debug: 0.948824
Archetype gradients: norm=0.028698, mean=0.001358
Epoch 1/1
Average loss: 0.7873
Archetypal loss: 0.8596
KLD loss: 0.1369
Reconstruction loss: 0.8596
Archetype R²: 0.1157
Archetype transform grad norm: 0.233093
Archetype transform param norm: 9.2147
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.7873 (range: 0.7873 - 0.7873)
archetypal_loss: 0.8596 (range: 0.8596 - 0.8596)
kld_loss: 0.1369 (range: 0.1369 - 0.1369)
reconstruction_loss: 0.8596 (range: 0.8596 - 0.8596)
archetype_r2: 0.1157 (range: 0.1157 - 0.1157)
Archetype Transform Summary:
archetype_transform_mean: 0.002014 (range: 0.002014 - 0.002014)
archetype_transform_std: 0.129029 (range: 0.129029 - 0.129029)
archetype_transform_norm: 9.214747 (range: 9.214747 - 9.214747)
archetype_transform_grad_norm: 0.233093 (range: 0.233093 - 0.233093)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0141, max=0.7901, mean=0.1667
Batch reconstruction MSE: 0.9738
Archetype stats: min=-16.4770, max=21.1410
Archetype change since last debug: 1.049479
Archetype gradients: norm=0.047808, mean=0.001853
Epoch 1/1
Average loss: 0.7867
Archetypal loss: 0.8594
KLD loss: 0.1321
Reconstruction loss: 0.8594
Archetype R²: 0.1159
Archetype transform grad norm: 0.233886
Archetype transform param norm: 9.2473
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.7867 (range: 0.7867 - 0.7867)
archetypal_loss: 0.8594 (range: 0.8594 - 0.8594)
kld_loss: 0.1321 (range: 0.1321 - 0.1321)
reconstruction_loss: 0.8594 (range: 0.8594 - 0.8594)
archetype_r2: 0.1159 (range: 0.1159 - 0.1159)
Archetype Transform Summary:
archetype_transform_mean: 0.002031 (range: 0.002031 - 0.002031)
archetype_transform_std: 0.129484 (range: 0.129484 - 0.129484)
archetype_transform_norm: 9.247268 (range: 9.247268 - 9.247268)
archetype_transform_grad_norm: 0.233886 (range: 0.233886 - 0.233886)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0155, max=0.7401, mean=0.1667
Batch reconstruction MSE: 1.0010
Archetype stats: min=-16.5553, max=21.3809
Archetype change since last debug: 1.056154
Archetype gradients: norm=0.038172, mean=0.001775
Epoch 1/1
Average loss: 0.7882
Archetypal loss: 0.8603
KLD loss: 0.1387
Reconstruction loss: 0.8603
Archetype R²: 0.1148
Archetype transform grad norm: 0.237379
Archetype transform param norm: 9.2668
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.7882 (range: 0.7882 - 0.7882)
archetypal_loss: 0.8603 (range: 0.8603 - 0.8603)
kld_loss: 0.1387 (range: 0.1387 - 0.1387)
reconstruction_loss: 0.8603 (range: 0.8603 - 0.8603)
archetype_r2: 0.1148 (range: 0.1148 - 0.1148)
Archetype Transform Summary:
archetype_transform_mean: 0.002019 (range: 0.002019 - 0.002019)
archetype_transform_std: 0.129758 (range: 0.129758 - 0.129758)
archetype_transform_norm: 9.266761 (range: 9.266761 - 9.266761)
archetype_transform_grad_norm: 0.237379 (range: 0.237379 - 0.237379)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0163, max=0.7442, mean=0.1667
Batch reconstruction MSE: 1.0346
Archetype stats: min=-16.7040, max=21.3409
Archetype change since last debug: 0.742223
Archetype gradients: norm=0.054083, mean=0.002161
Epoch 1/1
Average loss: 0.7877
Archetypal loss: 0.8607
KLD loss: 0.1313
Reconstruction loss: 0.8607
Archetype R²: 0.1144
Archetype transform grad norm: 0.240272
Archetype transform param norm: 9.2717
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.7877 (range: 0.7877 - 0.7877)
archetypal_loss: 0.8607 (range: 0.8607 - 0.8607)
kld_loss: 0.1313 (range: 0.1313 - 0.1313)
reconstruction_loss: 0.8607 (range: 0.8607 - 0.8607)
archetype_r2: 0.1144 (range: 0.1144 - 0.1144)
Archetype Transform Summary:
archetype_transform_mean: 0.001998 (range: 0.001998 - 0.001998)
archetype_transform_std: 0.129827 (range: 0.129827 - 0.129827)
archetype_transform_norm: 9.271717 (range: 9.271717 - 9.271717)
archetype_transform_grad_norm: 0.240272 (range: 0.240272 - 0.240272)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0176, max=0.7330, mean=0.1667
Batch reconstruction MSE: 1.0042
Archetype stats: min=-16.5237, max=21.3543
Archetype change since last debug: 0.748898
Archetype gradients: norm=0.051412, mean=0.001880
Epoch 1/1
Average loss: 0.7882
Archetypal loss: 0.8606
KLD loss: 0.1363
Reconstruction loss: 0.8606
Archetype R²: 0.1145
Archetype transform grad norm: 0.244967
Archetype transform param norm: 9.2818
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.7882 (range: 0.7882 - 0.7882)
archetypal_loss: 0.8606 (range: 0.8606 - 0.8606)
kld_loss: 0.1363 (range: 0.1363 - 0.1363)
reconstruction_loss: 0.8606 (range: 0.8606 - 0.8606)
archetype_r2: 0.1145 (range: 0.1145 - 0.1145)
Archetype Transform Summary:
archetype_transform_mean: 0.002009 (range: 0.002009 - 0.002009)
archetype_transform_std: 0.129968 (range: 0.129968 - 0.129968)
archetype_transform_norm: 9.281790 (range: 9.281790 - 9.281790)
archetype_transform_grad_norm: 0.244967 (range: 0.244967 - 0.244967)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0169, max=0.7208, mean=0.1667
Batch reconstruction MSE: 1.0277
Archetype stats: min=-16.5930, max=21.4012
Archetype change since last debug: 0.698151
Archetype gradients: norm=0.058107, mean=0.002743
Epoch 1/1
Average loss: 0.7878
Archetypal loss: 0.8608
KLD loss: 0.1313
Reconstruction loss: 0.8608
Archetype R²: 0.1143
Archetype transform grad norm: 0.250303
Archetype transform param norm: 9.2873
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.7878 (range: 0.7878 - 0.7878)
archetypal_loss: 0.8608 (range: 0.8608 - 0.8608)
kld_loss: 0.1313 (range: 0.1313 - 0.1313)
reconstruction_loss: 0.8608 (range: 0.8608 - 0.8608)
archetype_r2: 0.1143 (range: 0.1143 - 0.1143)
Archetype Transform Summary:
archetype_transform_mean: 0.002003 (range: 0.002003 - 0.002003)
archetype_transform_std: 0.130046 (range: 0.130046 - 0.130046)
archetype_transform_norm: 9.287307 (range: 9.287307 - 9.287307)
archetype_transform_grad_norm: 0.250303 (range: 0.250303 - 0.250303)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0134, max=0.8103, mean=0.1667
Batch reconstruction MSE: 0.9870
Archetype stats: min=-16.5126, max=21.4252
Archetype change since last debug: 0.698302
Archetype gradients: norm=0.058373, mean=0.002353
Epoch 1/1
Average loss: 0.7876
Archetypal loss: 0.8603
KLD loss: 0.1337
Reconstruction loss: 0.8603
Archetype R²: 0.1148
Archetype transform grad norm: 0.255261
Archetype transform param norm: 9.3002
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.7876 (range: 0.7876 - 0.7876)
archetypal_loss: 0.8603 (range: 0.8603 - 0.8603)
kld_loss: 0.1337 (range: 0.1337 - 0.1337)
reconstruction_loss: 0.8603 (range: 0.8603 - 0.8603)
archetype_r2: 0.1148 (range: 0.1148 - 0.1148)
Archetype Transform Summary:
archetype_transform_mean: 0.002020 (range: 0.002020 - 0.002020)
archetype_transform_std: 0.130226 (range: 0.130226 - 0.130226)
archetype_transform_norm: 9.300177 (range: 9.300177 - 9.300177)
archetype_transform_grad_norm: 0.255261 (range: 0.255261 - 0.255261)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0168, max=0.7073, mean=0.1667
Batch reconstruction MSE: 1.0223
Archetype stats: min=-16.5032, max=21.5371
Archetype change since last debug: 0.834948
Archetype gradients: norm=0.055980, mean=0.002638
Epoch 1/1
Average loss: 0.7882
Archetypal loss: 0.8611
KLD loss: 0.1320
Reconstruction loss: 0.8611
Archetype R²: 0.1140
Archetype transform grad norm: 0.254587
Archetype transform param norm: 9.3051
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.7882 (range: 0.7882 - 0.7882)
archetypal_loss: 0.8611 (range: 0.8611 - 0.8611)
kld_loss: 0.1320 (range: 0.1320 - 0.1320)
reconstruction_loss: 0.8611 (range: 0.8611 - 0.8611)
archetype_r2: 0.1140 (range: 0.1140 - 0.1140)
Archetype Transform Summary:
archetype_transform_mean: 0.001986 (range: 0.001986 - 0.001986)
archetype_transform_std: 0.130295 (range: 0.130295 - 0.130295)
archetype_transform_norm: 9.305116 (range: 9.305116 - 9.305116)
archetype_transform_grad_norm: 0.254587 (range: 0.254587 - 0.254587)
[OK] Completed in 61.9s
[STATS] Mean archetype R²: 0.1120
[STATS] Mean validation R²: 0.1120
đź§Ş Configuration 16/20: {'n_archetypes': 6, 'hidden_dims': [128, 256, 512], 'inflation_factor': 1.5, 'use_pcha_init': True, 'use_inflation': True}
Fold 1/3
Model input_dim: 50 (auto-detected from data)
Archetypes parameter registered: True
Archetypes requires_grad: True
Deep_AA (Deep Archetypal Analysis) initialized:
- Single-stage architecture (like Deep_2)
- Inflation factor: 1.5
- Direct archetypal coordinates (no bottleneck)
Consolidated Archetype Initialization
PCHA: True, Inflation: True (factor: 1.5)
Test inflation: False
Running PCHA initialization...
Input shape: (128, 50)
Target archetypes: 6
Running PCHA with 6 archetypes...
Data shape for PCHA: (50, 128)
PCHA Results:
Archetypes shape: (6, 50)
Archetype R²: 0.2911
SSE: 3832.3633
PCHA archetype R²: 0.2911
Archetype shape: (6, 50)
[OK] Initialized 6 archetypes using PCHA
Scalar Archetypal Inflation (factor: 1.50)
[OK] Inflation complete
[STATS] Positioning verification:
Data radius (max): 18.598
Data radius (mean): 5.863
Archetype distances: 3.486 to 25.046
Archetypes outside data: 2/6
Min archetype separation: 6.774
[OK] Archetype initialization complete (success: True)
[OK] Archetype initialization complete (PCHA: True, Inflation: 1.5)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0001, max=0.9864, mean=0.1667
Batch reconstruction MSE: 1.2427
Archetype stats: min=-2.2900, max=2.1670
Archetype gradients: norm=0.016506, mean=0.000677
Epoch 1/1
Average loss: 0.8780
Archetypal loss: 0.9712
KLD loss: 0.0391
Reconstruction loss: 0.9712
Archetype R²: -0.0195
Archetype transform grad norm: 0.230263
Archetype transform param norm: 5.8324
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.8780 (range: 0.8780 - 0.8780)
archetypal_loss: 0.9712 (range: 0.9712 - 0.9712)
kld_loss: 0.0391 (range: 0.0391 - 0.0391)
reconstruction_loss: 0.9712 (range: 0.9712 - 0.9712)
archetype_r2: -0.0195 (range: -0.0195 - -0.0195)
Archetype Transform Summary:
archetype_transform_mean: -0.000089 (range: -0.000089 - -0.000089)
archetype_transform_std: 0.081678 (range: 0.081678 - 0.081678)
archetype_transform_norm: 5.832438 (range: 5.832438 - 5.832438)
archetype_transform_grad_norm: 0.230263 (range: 0.230263 - 0.230263)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0000, max=0.9996, mean=0.1667
Batch reconstruction MSE: 1.0488
Archetype stats: min=-1.0442, max=1.0426
Archetype change since last debug: 7.881461
Archetype gradients: norm=0.005140, mean=0.000214
Epoch 1/1
Average loss: 0.8674
Archetypal loss: 0.9511
KLD loss: 0.1135
Reconstruction loss: 0.9511
Archetype R²: 0.0011
Archetype transform grad norm: 0.157403
Archetype transform param norm: 5.8465
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.8674 (range: 0.8674 - 0.8674)
archetypal_loss: 0.9511 (range: 0.9511 - 0.9511)
kld_loss: 0.1135 (range: 0.1135 - 0.1135)
reconstruction_loss: 0.9511 (range: 0.9511 - 0.9511)
archetype_r2: 0.0011 (range: 0.0011 - 0.0011)
Archetype Transform Summary:
archetype_transform_mean: -0.000210 (range: -0.000210 - -0.000210)
archetype_transform_std: 0.081874 (range: 0.081874 - 0.081874)
archetype_transform_norm: 5.846455 (range: 5.846455 - 5.846455)
archetype_transform_grad_norm: 0.157403 (range: 0.157403 - 0.157403)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0016, max=0.8097, mean=0.1667
Batch reconstruction MSE: 1.0865
Archetype stats: min=-2.2501, max=1.5437
Archetype change since last debug: 4.267686
Archetype gradients: norm=0.006314, mean=0.000235
Epoch 1/1
Average loss: 0.8512
Archetypal loss: 0.9316
KLD loss: 0.1280
Reconstruction loss: 0.9316
Archetype R²: 0.0218
Archetype transform grad norm: 0.180999
Archetype transform param norm: 5.9517
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.8512 (range: 0.8512 - 0.8512)
archetypal_loss: 0.9316 (range: 0.9316 - 0.9316)
kld_loss: 0.1280 (range: 0.1280 - 0.1280)
reconstruction_loss: 0.9316 (range: 0.9316 - 0.9316)
archetype_r2: 0.0218 (range: 0.0218 - 0.0218)
Archetype Transform Summary:
archetype_transform_mean: -0.000342 (range: -0.000342 - -0.000342)
archetype_transform_std: 0.083348 (range: 0.083348 - 0.083348)
archetype_transform_norm: 5.951687 (range: 5.951687 - 5.951687)
archetype_transform_grad_norm: 0.180999 (range: 0.180999 - 0.180999)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0000, max=0.9979, mean=0.1667
Batch reconstruction MSE: 1.1316
Archetype stats: min=-4.5248, max=2.9813
Archetype change since last debug: 8.343921
Archetype gradients: norm=0.012101, mean=0.000472
Epoch 1/1
Average loss: 0.8365
Archetypal loss: 0.9127
KLD loss: 0.1507
Reconstruction loss: 0.9127
Archetype R²: 0.0418
Archetype transform grad norm: 0.208638
Archetype transform param norm: 6.1554
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.8365 (range: 0.8365 - 0.8365)
archetypal_loss: 0.9127 (range: 0.9127 - 0.9127)
kld_loss: 0.1507 (range: 0.1507 - 0.1507)
reconstruction_loss: 0.9127 (range: 0.9127 - 0.9127)
archetype_r2: 0.0418 (range: 0.0418 - 0.0418)
Archetype Transform Summary:
archetype_transform_mean: -0.000507 (range: -0.000507 - -0.000507)
archetype_transform_std: 0.086200 (range: 0.086200 - 0.086200)
archetype_transform_norm: 6.155417 (range: 6.155417 - 6.155417)
archetype_transform_grad_norm: 0.208638 (range: 0.208638 - 0.208638)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0043, max=0.8014, mean=0.1667
Batch reconstruction MSE: 1.2936
Archetype stats: min=-6.2741, max=5.6627
Archetype change since last debug: 9.341135
Archetype gradients: norm=0.029659, mean=0.001059
Epoch 1/1
Average loss: 0.8318
Archetypal loss: 0.9071
KLD loss: 0.1539
Reconstruction loss: 0.9071
Archetype R²: 0.0479
Archetype transform grad norm: 0.237362
Archetype transform param norm: 6.3076
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.8318 (range: 0.8318 - 0.8318)
archetypal_loss: 0.9071 (range: 0.9071 - 0.9071)
kld_loss: 0.1539 (range: 0.1539 - 0.1539)
reconstruction_loss: 0.9071 (range: 0.9071 - 0.9071)
archetype_r2: 0.0479 (range: 0.0479 - 0.0479)
Archetype Transform Summary:
archetype_transform_mean: -0.000585 (range: -0.000585 - -0.000585)
archetype_transform_std: 0.088331 (range: 0.088331 - 0.088331)
archetype_transform_norm: 6.307597 (range: 6.307597 - 6.307597)
archetype_transform_grad_norm: 0.237362 (range: 0.237362 - 0.237362)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0002, max=0.9884, mean=0.1667
Batch reconstruction MSE: 1.4296
Archetype stats: min=-6.8326, max=7.1916
Archetype change since last debug: 5.572591
Archetype gradients: norm=0.064619, mean=0.001851
Epoch 1/1
Average loss: 0.8304
Archetypal loss: 0.9046
KLD loss: 0.1623
Reconstruction loss: 0.9046
Archetype R²: 0.0508
Archetype transform grad norm: 0.254992
Archetype transform param norm: 6.4060
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.8304 (range: 0.8304 - 0.8304)
archetypal_loss: 0.9046 (range: 0.9046 - 0.9046)
kld_loss: 0.1623 (range: 0.1623 - 0.1623)
reconstruction_loss: 0.9046 (range: 0.9046 - 0.9046)
archetype_r2: 0.0508 (range: 0.0508 - 0.0508)
Archetype Transform Summary:
archetype_transform_mean: -0.000720 (range: -0.000720 - -0.000720)
archetype_transform_std: 0.089707 (range: 0.089707 - 0.089707)
archetype_transform_norm: 6.405960 (range: 6.405960 - 6.405960)
archetype_transform_grad_norm: 0.254992 (range: 0.254992 - 0.254992)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0031, max=0.9028, mean=0.1667
Batch reconstruction MSE: 1.2404
Archetype stats: min=-8.0324, max=9.4543
Archetype change since last debug: 5.403018
Archetype gradients: norm=0.029091, mean=0.000957
Epoch 1/1
Average loss: 0.8218
Archetypal loss: 0.8968
KLD loss: 0.1470
Reconstruction loss: 0.8968
Archetype R²: 0.0586
Archetype transform grad norm: 0.233863
Archetype transform param norm: 6.4873
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.8218 (range: 0.8218 - 0.8218)
archetypal_loss: 0.8968 (range: 0.8968 - 0.8968)
kld_loss: 0.1470 (range: 0.1470 - 0.1470)
reconstruction_loss: 0.8968 (range: 0.8968 - 0.8968)
archetype_r2: 0.0586 (range: 0.0586 - 0.0586)
Archetype Transform Summary:
archetype_transform_mean: -0.000705 (range: -0.000705 - -0.000705)
archetype_transform_std: 0.090847 (range: 0.090847 - 0.090847)
archetype_transform_norm: 6.487342 (range: 6.487342 - 6.487342)
archetype_transform_grad_norm: 0.233863 (range: 0.233863 - 0.233863)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0003, max=0.9301, mean=0.1667
Batch reconstruction MSE: 1.2102
Archetype stats: min=-9.3711, max=10.2880
Archetype change since last debug: 4.274262
Archetype gradients: norm=0.024102, mean=0.000909
Epoch 1/1
Average loss: 0.8172
Archetypal loss: 0.8932
KLD loss: 0.1339
Reconstruction loss: 0.8932
Archetype R²: 0.0623
Archetype transform grad norm: 0.251978
Archetype transform param norm: 6.5764
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.8172 (range: 0.8172 - 0.8172)
archetypal_loss: 0.8932 (range: 0.8932 - 0.8932)
kld_loss: 0.1339 (range: 0.1339 - 0.1339)
reconstruction_loss: 0.8932 (range: 0.8932 - 0.8932)
archetype_r2: 0.0623 (range: 0.0623 - 0.0623)
Archetype Transform Summary:
archetype_transform_mean: -0.000765 (range: -0.000765 - -0.000765)
archetype_transform_std: 0.092093 (range: 0.092093 - 0.092093)
archetype_transform_norm: 6.576374 (range: 6.576374 - 6.576374)
archetype_transform_grad_norm: 0.251978 (range: 0.251978 - 0.251978)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0000, max=0.9999, mean=0.1667
Batch reconstruction MSE: 1.2123
Archetype stats: min=-9.7974, max=11.2890
Archetype change since last debug: 3.792076
Archetype gradients: norm=0.032156, mean=0.001235
Epoch 1/1
Average loss: 0.8139
Archetypal loss: 0.8902
KLD loss: 0.1267
Reconstruction loss: 0.8902
Archetype R²: 0.0653
Archetype transform grad norm: 0.254488
Archetype transform param norm: 6.6636
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.8139 (range: 0.8139 - 0.8139)
archetypal_loss: 0.8902 (range: 0.8902 - 0.8902)
kld_loss: 0.1267 (range: 0.1267 - 0.1267)
reconstruction_loss: 0.8902 (range: 0.8902 - 0.8902)
archetype_r2: 0.0653 (range: 0.0653 - 0.0653)
Archetype Transform Summary:
archetype_transform_mean: -0.000771 (range: -0.000771 - -0.000771)
archetype_transform_std: 0.093315 (range: 0.093315 - 0.093315)
archetype_transform_norm: 6.663626 (range: 6.663626 - 6.663626)
archetype_transform_grad_norm: 0.254488 (range: 0.254488 - 0.254488)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0000, max=0.9991, mean=0.1667
Batch reconstruction MSE: 1.2382
Archetype stats: min=-10.7205, max=12.3176
Archetype change since last debug: 3.649595
Archetype gradients: norm=0.021312, mean=0.000930
Epoch 1/1
Average loss: 0.8111
Archetypal loss: 0.8867
KLD loss: 0.1305
Reconstruction loss: 0.8867
Archetype R²: 0.0691
Archetype transform grad norm: 0.260599
Archetype transform param norm: 6.7658
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.8111 (range: 0.8111 - 0.8111)
archetypal_loss: 0.8867 (range: 0.8867 - 0.8867)
kld_loss: 0.1305 (range: 0.1305 - 0.1305)
reconstruction_loss: 0.8867 (range: 0.8867 - 0.8867)
archetype_r2: 0.0691 (range: 0.0691 - 0.0691)
Archetype Transform Summary:
archetype_transform_mean: -0.000789 (range: -0.000789 - -0.000789)
archetype_transform_std: 0.094746 (range: 0.094746 - 0.094746)
archetype_transform_norm: 6.765816 (range: 6.765816 - 6.765816)
archetype_transform_grad_norm: 0.260599 (range: 0.260599 - 0.260599)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0019, max=0.9634, mean=0.1667
Batch reconstruction MSE: 1.1705
Archetype stats: min=-11.7777, max=13.1357
Archetype change since last debug: 3.891910
Archetype gradients: norm=0.028113, mean=0.001146
Epoch 1/1
Average loss: 0.8059
Archetypal loss: 0.8789
KLD loss: 0.1493
Reconstruction loss: 0.8789
Archetype R²: 0.0772
Archetype transform grad norm: 0.256793
Archetype transform param norm: 6.9002
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.8059 (range: 0.8059 - 0.8059)
archetypal_loss: 0.8789 (range: 0.8789 - 0.8789)
kld_loss: 0.1493 (range: 0.1493 - 0.1493)
reconstruction_loss: 0.8789 (range: 0.8789 - 0.8789)
archetype_r2: 0.0772 (range: 0.0772 - 0.0772)
Archetype Transform Summary:
archetype_transform_mean: -0.000673 (range: -0.000673 - -0.000673)
archetype_transform_std: 0.096630 (range: 0.096630 - 0.096630)
archetype_transform_norm: 6.900222 (range: 6.900222 - 6.900222)
archetype_transform_grad_norm: 0.256793 (range: 0.256793 - 0.256793)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0084, max=0.7989, mean=0.1667
Batch reconstruction MSE: 1.2413
Archetype stats: min=-12.8229, max=14.1690
Archetype change since last debug: 4.772377
Archetype gradients: norm=0.026926, mean=0.001161
Epoch 1/1
Average loss: 0.8017
Archetypal loss: 0.8759
KLD loss: 0.1334
Reconstruction loss: 0.8759
Archetype R²: 0.0804
Archetype transform grad norm: 0.269684
Archetype transform param norm: 7.0337
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.8017 (range: 0.8017 - 0.8017)
archetypal_loss: 0.8759 (range: 0.8759 - 0.8759)
kld_loss: 0.1334 (range: 0.1334 - 0.1334)
reconstruction_loss: 0.8759 (range: 0.8759 - 0.8759)
archetype_r2: 0.0804 (range: 0.0804 - 0.0804)
Archetype Transform Summary:
archetype_transform_mean: -0.000642 (range: -0.000642 - -0.000642)
archetype_transform_std: 0.098498 (range: 0.098498 - 0.098498)
archetype_transform_norm: 7.033651 (range: 7.033651 - 7.033651)
archetype_transform_grad_norm: 0.269684 (range: 0.269684 - 0.269684)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0079, max=0.8306, mean=0.1667
Batch reconstruction MSE: 1.2809
Archetype stats: min=-13.0883, max=14.6191
Archetype change since last debug: 4.266027
Archetype gradients: norm=0.056973, mean=0.002210
Epoch 1/1
Average loss: 0.8023
Archetypal loss: 0.8754
KLD loss: 0.1442
Reconstruction loss: 0.8754
Archetype R²: 0.0810
Archetype transform grad norm: 0.280375
Archetype transform param norm: 7.1266
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.8023 (range: 0.8023 - 0.8023)
archetypal_loss: 0.8754 (range: 0.8754 - 0.8754)
kld_loss: 0.1442 (range: 0.1442 - 0.1442)
reconstruction_loss: 0.8754 (range: 0.8754 - 0.8754)
archetype_r2: 0.0810 (range: 0.0810 - 0.0810)
Archetype Transform Summary:
archetype_transform_mean: -0.000481 (range: -0.000481 - -0.000481)
archetype_transform_std: 0.099801 (range: 0.099801 - 0.099801)
archetype_transform_norm: 7.126578 (range: 7.126578 - 7.126578)
archetype_transform_grad_norm: 0.280375 (range: 0.280375 - 0.280375)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0020, max=0.9304, mean=0.1667
Batch reconstruction MSE: 1.3739
Archetype stats: min=-13.5217, max=14.7820
Archetype change since last debug: 2.985180
Archetype gradients: norm=0.039690, mean=0.001629
Epoch 1/1
Average loss: 0.8031
Archetypal loss: 0.8766
KLD loss: 0.1415
Reconstruction loss: 0.8766
Archetype R²: 0.0798
Archetype transform grad norm: 0.298573
Archetype transform param norm: 7.1937
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.8031 (range: 0.8031 - 0.8031)
archetypal_loss: 0.8766 (range: 0.8766 - 0.8766)
kld_loss: 0.1415 (range: 0.1415 - 0.1415)
reconstruction_loss: 0.8766 (range: 0.8766 - 0.8766)
archetype_r2: 0.0798 (range: 0.0798 - 0.0798)
Archetype Transform Summary:
archetype_transform_mean: -0.000517 (range: -0.000517 - -0.000517)
archetype_transform_std: 0.100741 (range: 0.100741 - 0.100741)
archetype_transform_norm: 7.193749 (range: 7.193749 - 7.193749)
archetype_transform_grad_norm: 0.298573 (range: 0.298573 - 0.298573)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0062, max=0.9094, mean=0.1667
Batch reconstruction MSE: 1.2331
Archetype stats: min=-12.8843, max=14.8311
Archetype change since last debug: 3.141334
Archetype gradients: norm=0.047432, mean=0.001603
Epoch 1/1
Average loss: 0.7972
Archetypal loss: 0.8708
KLD loss: 0.1344
Reconstruction loss: 0.8708
Archetype R²: 0.0856
Archetype transform grad norm: 0.270622
Archetype transform param norm: 7.2591
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.7972 (range: 0.7972 - 0.7972)
archetypal_loss: 0.8708 (range: 0.8708 - 0.8708)
kld_loss: 0.1344 (range: 0.1344 - 0.1344)
reconstruction_loss: 0.8708 (range: 0.8708 - 0.8708)
archetype_r2: 0.0856 (range: 0.0856 - 0.0856)
Archetype Transform Summary:
archetype_transform_mean: -0.000417 (range: -0.000417 - -0.000417)
archetype_transform_std: 0.101656 (range: 0.101656 - 0.101656)
archetype_transform_norm: 7.259054 (range: 7.259054 - 7.259054)
archetype_transform_grad_norm: 0.270622 (range: 0.270622 - 0.270622)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0051, max=0.9499, mean=0.1667
Batch reconstruction MSE: 1.1152
Archetype stats: min=-13.4942, max=15.4094
Archetype change since last debug: 2.629217
Archetype gradients: norm=0.012723, mean=0.000591
Epoch 1/1
Average loss: 0.7926
Archetypal loss: 0.8667
KLD loss: 0.1256
Reconstruction loss: 0.8667
Archetype R²: 0.0896
Archetype transform grad norm: 0.268695
Archetype transform param norm: 7.3558
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.7926 (range: 0.7926 - 0.7926)
archetypal_loss: 0.8667 (range: 0.8667 - 0.8667)
kld_loss: 0.1256 (range: 0.1256 - 0.1256)
reconstruction_loss: 0.8667 (range: 0.8667 - 0.8667)
archetype_r2: 0.0896 (range: 0.0896 - 0.0896)
Archetype Transform Summary:
archetype_transform_mean: -0.000407 (range: -0.000407 - -0.000407)
archetype_transform_std: 0.103011 (range: 0.103011 - 0.103011)
archetype_transform_norm: 7.355770 (range: 7.355770 - 7.355770)
archetype_transform_grad_norm: 0.268695 (range: 0.268695 - 0.268695)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0079, max=0.8608, mean=0.1667
Batch reconstruction MSE: 1.1152
Archetype stats: min=-14.1801, max=16.1829
Archetype change since last debug: 3.209702
Archetype gradients: norm=0.026614, mean=0.000862
Epoch 1/1
Average loss: 0.7908
Archetypal loss: 0.8660
KLD loss: 0.1134
Reconstruction loss: 0.8660
Archetype R²: 0.0903
Archetype transform grad norm: 0.275154
Archetype transform param norm: 7.4437
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.7908 (range: 0.7908 - 0.7908)
archetypal_loss: 0.8660 (range: 0.8660 - 0.8660)
kld_loss: 0.1134 (range: 0.1134 - 0.1134)
reconstruction_loss: 0.8660 (range: 0.8660 - 0.8660)
archetype_r2: 0.0903 (range: 0.0903 - 0.0903)
Archetype Transform Summary:
archetype_transform_mean: -0.000344 (range: -0.000344 - -0.000344)
archetype_transform_std: 0.104242 (range: 0.104242 - 0.104242)
archetype_transform_norm: 7.443705 (range: 7.443705 - 7.443705)
archetype_transform_grad_norm: 0.275154 (range: 0.275154 - 0.275154)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0067, max=0.8719, mean=0.1667
Batch reconstruction MSE: 1.1418
Archetype stats: min=-14.7813, max=16.9269
Archetype change since last debug: 2.742309
Archetype gradients: norm=0.025133, mean=0.001173
Epoch 1/1
Average loss: 0.7909
Archetypal loss: 0.8660
KLD loss: 0.1150
Reconstruction loss: 0.8660
Archetype R²: 0.0903
Archetype transform grad norm: 0.290061
Archetype transform param norm: 7.5249
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.7909 (range: 0.7909 - 0.7909)
archetypal_loss: 0.8660 (range: 0.8660 - 0.8660)
kld_loss: 0.1150 (range: 0.1150 - 0.1150)
reconstruction_loss: 0.8660 (range: 0.8660 - 0.8660)
archetype_r2: 0.0903 (range: 0.0903 - 0.0903)
Archetype Transform Summary:
archetype_transform_mean: -0.000302 (range: -0.000302 - -0.000302)
archetype_transform_std: 0.105379 (range: 0.105379 - 0.105379)
archetype_transform_norm: 7.524870 (range: 7.524870 - 7.524870)
archetype_transform_grad_norm: 0.290061 (range: 0.290061 - 0.290061)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0065, max=0.8827, mean=0.1667
Batch reconstruction MSE: 1.4010
Archetype stats: min=-15.4564, max=17.4283
Archetype change since last debug: 2.595313
Archetype gradients: norm=0.072781, mean=0.002685
Epoch 1/1
Average loss: 0.7971
Archetypal loss: 0.8722
KLD loss: 0.1215
Reconstruction loss: 0.8722
Archetype R²: 0.0843
Archetype transform grad norm: 0.315733
Archetype transform param norm: 7.5589
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.7971 (range: 0.7971 - 0.7971)
archetypal_loss: 0.8722 (range: 0.8722 - 0.8722)
kld_loss: 0.1215 (range: 0.1215 - 0.1215)
reconstruction_loss: 0.8722 (range: 0.8722 - 0.8722)
archetype_r2: 0.0843 (range: 0.0843 - 0.0843)
Archetype Transform Summary:
archetype_transform_mean: -0.000232 (range: -0.000232 - -0.000232)
archetype_transform_std: 0.105857 (range: 0.105857 - 0.105857)
archetype_transform_norm: 7.558950 (range: 7.558950 - 7.558950)
archetype_transform_grad_norm: 0.315733 (range: 0.315733 - 0.315733)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0032, max=0.9619, mean=0.1667
Batch reconstruction MSE: 1.3354
Archetype stats: min=-14.8919, max=17.6491
Archetype change since last debug: 2.779967
Archetype gradients: norm=0.055613, mean=0.002214
Epoch 1/1
Average loss: 0.7960
Archetypal loss: 0.8685
KLD loss: 0.1429
Reconstruction loss: 0.8685
Archetype R²: 0.0880
Archetype transform grad norm: 0.299874
Archetype transform param norm: 7.5881
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.7960 (range: 0.7960 - 0.7960)
archetypal_loss: 0.8685 (range: 0.8685 - 0.8685)
kld_loss: 0.1429 (range: 0.1429 - 0.1429)
reconstruction_loss: 0.8685 (range: 0.8685 - 0.8685)
archetype_r2: 0.0880 (range: 0.0880 - 0.0880)
Archetype Transform Summary:
archetype_transform_mean: -0.000140 (range: -0.000140 - -0.000140)
archetype_transform_std: 0.106265 (range: 0.106265 - 0.106265)
archetype_transform_norm: 7.588109 (range: 7.588109 - 7.588109)
archetype_transform_grad_norm: 0.299874 (range: 0.299874 - 0.299874)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0046, max=0.8180, mean=0.1667
Batch reconstruction MSE: 1.2645
Archetype stats: min=-14.9292, max=17.1047
Archetype change since last debug: 2.133435
Archetype gradients: norm=0.037664, mean=0.001662
Epoch 1/1
Average loss: 0.7909
Archetypal loss: 0.8644
KLD loss: 0.1298
Reconstruction loss: 0.8644
Archetype R²: 0.0922
Archetype transform grad norm: 0.280601
Archetype transform param norm: 7.6529
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.7909 (range: 0.7909 - 0.7909)
archetypal_loss: 0.8644 (range: 0.8644 - 0.8644)
kld_loss: 0.1298 (range: 0.1298 - 0.1298)
reconstruction_loss: 0.8644 (range: 0.8644 - 0.8644)
archetype_r2: 0.0922 (range: 0.0922 - 0.0922)
Archetype Transform Summary:
archetype_transform_mean: -0.000111 (range: -0.000111 - -0.000111)
archetype_transform_std: 0.107172 (range: 0.107172 - 0.107172)
archetype_transform_norm: 7.652884 (range: 7.652884 - 7.652884)
archetype_transform_grad_norm: 0.280601 (range: 0.280601 - 0.280601)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0060, max=0.8798, mean=0.1667
Batch reconstruction MSE: 1.1442
Archetype stats: min=-15.1075, max=17.4980
Archetype change since last debug: 1.989163
Archetype gradients: norm=0.026328, mean=0.001072
Epoch 1/1
Average loss: 0.7853
Archetypal loss: 0.8577
KLD loss: 0.1342
Reconstruction loss: 0.8577
Archetype R²: 0.0990
Archetype transform grad norm: 0.274912
Archetype transform param norm: 7.7544
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.7853 (range: 0.7853 - 0.7853)
archetypal_loss: 0.8577 (range: 0.8577 - 0.8577)
kld_loss: 0.1342 (range: 0.1342 - 0.1342)
reconstruction_loss: 0.8577 (range: 0.8577 - 0.8577)
archetype_r2: 0.0990 (range: 0.0990 - 0.0990)
Archetype Transform Summary:
archetype_transform_mean: -0.000020 (range: -0.000020 - -0.000020)
archetype_transform_std: 0.108595 (range: 0.108595 - 0.108595)
archetype_transform_norm: 7.754450 (range: 7.754450 - 7.754450)
archetype_transform_grad_norm: 0.274912 (range: 0.274912 - 0.274912)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0095, max=0.7644, mean=0.1667
Batch reconstruction MSE: 1.2013
Archetype stats: min=-15.5498, max=17.8511
Archetype change since last debug: 2.954898
Archetype gradients: norm=0.036470, mean=0.001541
Epoch 1/1
Average loss: 0.7831
Archetypal loss: 0.8554
KLD loss: 0.1326
Reconstruction loss: 0.8554
Archetype R²: 0.1014
Archetype transform grad norm: 0.284119
Archetype transform param norm: 7.8707
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.7831 (range: 0.7831 - 0.7831)
archetypal_loss: 0.8554 (range: 0.8554 - 0.8554)
kld_loss: 0.1326 (range: 0.1326 - 0.1326)
reconstruction_loss: 0.8554 (range: 0.8554 - 0.8554)
archetype_r2: 0.1014 (range: 0.1014 - 0.1014)
Archetype Transform Summary:
archetype_transform_mean: 0.000029 (range: 0.000029 - 0.000029)
archetype_transform_std: 0.110223 (range: 0.110223 - 0.110223)
archetype_transform_norm: 7.870710 (range: 7.870710 - 7.870710)
archetype_transform_grad_norm: 0.284119 (range: 0.284119 - 0.284119)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0093, max=0.7887, mean=0.1667
Batch reconstruction MSE: 1.1952
Archetype stats: min=-16.1092, max=18.3972
Archetype change since last debug: 3.153692
Archetype gradients: norm=0.054953, mean=0.002228
Epoch 1/1
Average loss: 0.7832
Archetypal loss: 0.8535
KLD loss: 0.1507
Reconstruction loss: 0.8535
Archetype R²: 0.1034
Archetype transform grad norm: 0.300486
Archetype transform param norm: 7.9744
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.7832 (range: 0.7832 - 0.7832)
archetypal_loss: 0.8535 (range: 0.8535 - 0.8535)
kld_loss: 0.1507 (range: 0.1507 - 0.1507)
reconstruction_loss: 0.8535 (range: 0.8535 - 0.8535)
archetype_r2: 0.1034 (range: 0.1034 - 0.1034)
Archetype Transform Summary:
archetype_transform_mean: 0.000072 (range: 0.000072 - 0.000072)
archetype_transform_std: 0.111675 (range: 0.111675 - 0.111675)
archetype_transform_norm: 7.974385 (range: 7.974385 - 7.974385)
archetype_transform_grad_norm: 0.300486 (range: 0.300486 - 0.300486)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0131, max=0.5551, mean=0.1667
Batch reconstruction MSE: 1.5796
Archetype stats: min=-16.3818, max=18.8075
Archetype change since last debug: 2.559085
Archetype gradients: norm=0.120897, mean=0.003482
Epoch 1/1
Average loss: 0.7882
Archetypal loss: 0.8610
KLD loss: 0.1334
Reconstruction loss: 0.8610
Archetype R²: 0.0963
Archetype transform grad norm: 0.317072
Archetype transform param norm: 8.0020
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.7882 (range: 0.7882 - 0.7882)
archetypal_loss: 0.8610 (range: 0.8610 - 0.8610)
kld_loss: 0.1334 (range: 0.1334 - 0.1334)
reconstruction_loss: 0.8610 (range: 0.8610 - 0.8610)
archetype_r2: 0.0963 (range: 0.0963 - 0.0963)
Archetype Transform Summary:
archetype_transform_mean: 0.000114 (range: 0.000114 - 0.000114)
archetype_transform_std: 0.112061 (range: 0.112061 - 0.112061)
archetype_transform_norm: 8.001967 (range: 8.001967 - 8.001967)
archetype_transform_grad_norm: 0.317072 (range: 0.317072 - 0.317072)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0047, max=0.8474, mean=0.1667
Batch reconstruction MSE: 1.3835
Archetype stats: min=-16.5465, max=18.8045
Archetype change since last debug: 3.455836
Archetype gradients: norm=0.157495, mean=0.004263
Epoch 1/1
Average loss: 0.7869
Archetypal loss: 0.8556
KLD loss: 0.1686
Reconstruction loss: 0.8556
Archetype R²: 0.1015
Archetype transform grad norm: 0.302999
Archetype transform param norm: 8.0316
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.7869 (range: 0.7869 - 0.7869)
archetypal_loss: 0.8556 (range: 0.8556 - 0.8556)
kld_loss: 0.1686 (range: 0.1686 - 0.1686)
reconstruction_loss: 0.8556 (range: 0.8556 - 0.8556)
archetype_r2: 0.1015 (range: 0.1015 - 0.1015)
Archetype Transform Summary:
archetype_transform_mean: 0.000072 (range: 0.000072 - 0.000072)
archetype_transform_std: 0.112476 (range: 0.112476 - 0.112476)
archetype_transform_norm: 8.031644 (range: 8.031644 - 8.031644)
archetype_transform_grad_norm: 0.302999 (range: 0.302999 - 0.302999)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0100, max=0.6778, mean=0.1667
Batch reconstruction MSE: 1.6604
Archetype stats: min=-16.6926, max=19.2307
Archetype change since last debug: 2.079914
Archetype gradients: norm=0.060590, mean=0.002488
Epoch 1/1
Average loss: 0.7882
Archetypal loss: 0.8609
KLD loss: 0.1339
Reconstruction loss: 0.8609
Archetype R²: 0.0966
Archetype transform grad norm: 0.301225
Archetype transform param norm: 8.0106
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.7882 (range: 0.7882 - 0.7882)
archetypal_loss: 0.8609 (range: 0.8609 - 0.8609)
kld_loss: 0.1339 (range: 0.1339 - 0.1339)
reconstruction_loss: 0.8609 (range: 0.8609 - 0.8609)
archetype_r2: 0.0966 (range: 0.0966 - 0.0966)
Archetype Transform Summary:
archetype_transform_mean: 0.000093 (range: 0.000093 - 0.000093)
archetype_transform_std: 0.112182 (range: 0.112182 - 0.112182)
archetype_transform_norm: 8.010625 (range: 8.010625 - 8.010625)
archetype_transform_grad_norm: 0.301225 (range: 0.301225 - 0.301225)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0083, max=0.8335, mean=0.1667
Batch reconstruction MSE: 1.3757
Archetype stats: min=-15.9371, max=18.6725
Archetype change since last debug: 3.648657
Archetype gradients: norm=0.122288, mean=0.003174
Epoch 1/1
Average loss: 0.7878
Archetypal loss: 0.8556
KLD loss: 0.1769
Reconstruction loss: 0.8556
Archetype R²: 0.1015
Archetype transform grad norm: 0.308047
Archetype transform param norm: 8.0214
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.7878 (range: 0.7878 - 0.7878)
archetypal_loss: 0.8556 (range: 0.8556 - 0.8556)
kld_loss: 0.1769 (range: 0.1769 - 0.1769)
reconstruction_loss: 0.8556 (range: 0.8556 - 0.8556)
archetype_r2: 0.1015 (range: 0.1015 - 0.1015)
Archetype Transform Summary:
archetype_transform_mean: 0.000090 (range: 0.000090 - 0.000090)
archetype_transform_std: 0.112334 (range: 0.112334 - 0.112334)
archetype_transform_norm: 8.021445 (range: 8.021445 - 8.021445)
archetype_transform_grad_norm: 0.308047 (range: 0.308047 - 0.308047)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0109, max=0.6485, mean=0.1667
Batch reconstruction MSE: 1.5659
Archetype stats: min=-16.3318, max=18.8420
Archetype change since last debug: 2.184623
Archetype gradients: norm=0.056629, mean=0.002652
Epoch 1/1
Average loss: 0.7853
Archetypal loss: 0.8570
KLD loss: 0.1396
Reconstruction loss: 0.8570
Archetype R²: 0.1004
Archetype transform grad norm: 0.299604
Archetype transform param norm: 8.0159
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.7853 (range: 0.7853 - 0.7853)
archetypal_loss: 0.8570 (range: 0.8570 - 0.8570)
kld_loss: 0.1396 (range: 0.1396 - 0.1396)
reconstruction_loss: 0.8570 (range: 0.8570 - 0.8570)
archetype_r2: 0.1004 (range: 0.1004 - 0.1004)
Archetype Transform Summary:
archetype_transform_mean: 0.000022 (range: 0.000022 - 0.000022)
archetype_transform_std: 0.112255 (range: 0.112255 - 0.112255)
archetype_transform_norm: 8.015861 (range: 8.015861 - 8.015861)
archetype_transform_grad_norm: 0.299604 (range: 0.299604 - 0.299604)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0132, max=0.7925, mean=0.1667
Batch reconstruction MSE: 1.2266
Archetype stats: min=-15.4677, max=18.1980
Archetype change since last debug: 2.484937
Archetype gradients: norm=0.058651, mean=0.002336
Epoch 1/1
Average loss: 0.7795
Archetypal loss: 0.8497
KLD loss: 0.1478
Reconstruction loss: 0.8497
Archetype R²: 0.1074
Archetype transform grad norm: 0.293206
Archetype transform param norm: 8.0590
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.7795 (range: 0.7795 - 0.7795)
archetypal_loss: 0.8497 (range: 0.8497 - 0.8497)
kld_loss: 0.1478 (range: 0.1478 - 0.1478)
reconstruction_loss: 0.8497 (range: 0.8497 - 0.8497)
archetype_r2: 0.1074 (range: 0.1074 - 0.1074)
Archetype Transform Summary:
archetype_transform_mean: 0.000053 (range: 0.000053 - 0.000053)
archetype_transform_std: 0.112860 (range: 0.112860 - 0.112860)
archetype_transform_norm: 8.059011 (range: 8.059011 - 8.059011)
archetype_transform_grad_norm: 0.293206 (range: 0.293206 - 0.293206)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0150, max=0.7185, mean=0.1667
Batch reconstruction MSE: 1.2460
Archetype stats: min=-16.0722, max=18.7551
Archetype change since last debug: 2.137084
Archetype gradients: norm=0.029936, mean=0.001310
Epoch 1/1
Average loss: 0.7763
Archetypal loss: 0.8482
KLD loss: 0.1296
Reconstruction loss: 0.8482
Archetype R²: 0.1090
Archetype transform grad norm: 0.289101
Archetype transform param norm: 8.1133
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.7763 (range: 0.7763 - 0.7763)
archetypal_loss: 0.8482 (range: 0.8482 - 0.8482)
kld_loss: 0.1296 (range: 0.1296 - 0.1296)
reconstruction_loss: 0.8482 (range: 0.8482 - 0.8482)
archetype_r2: 0.1090 (range: 0.1090 - 0.1090)
Archetype Transform Summary:
archetype_transform_mean: 0.000045 (range: 0.000045 - 0.000045)
archetype_transform_std: 0.113620 (range: 0.113620 - 0.113620)
archetype_transform_norm: 8.113304 (range: 8.113304 - 8.113304)
archetype_transform_grad_norm: 0.289101 (range: 0.289101 - 0.289101)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0171, max=0.6298, mean=0.1667
Batch reconstruction MSE: 1.1121
Archetype stats: min=-16.2186, max=19.0755
Archetype change since last debug: 1.666242
Archetype gradients: norm=0.035197, mean=0.001503
Epoch 1/1
Average loss: 0.7739
Archetypal loss: 0.8446
KLD loss: 0.1381
Reconstruction loss: 0.8446
Archetype R²: 0.1124
Archetype transform grad norm: 0.280623
Archetype transform param norm: 8.1818
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.7739 (range: 0.7739 - 0.7739)
archetypal_loss: 0.8446 (range: 0.8446 - 0.8446)
kld_loss: 0.1381 (range: 0.1381 - 0.1381)
reconstruction_loss: 0.8446 (range: 0.8446 - 0.8446)
archetype_r2: 0.1124 (range: 0.1124 - 0.1124)
Archetype Transform Summary:
archetype_transform_mean: 0.000082 (range: 0.000082 - 0.000082)
archetype_transform_std: 0.114579 (range: 0.114579 - 0.114579)
archetype_transform_norm: 8.181752 (range: 8.181752 - 8.181752)
archetype_transform_grad_norm: 0.280623 (range: 0.280623 - 0.280623)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0172, max=0.5622, mean=0.1667
Batch reconstruction MSE: 1.2291
Archetype stats: min=-16.9039, max=19.5666
Archetype change since last debug: 2.504035
Archetype gradients: norm=0.035708, mean=0.001623
Epoch 1/1
Average loss: 0.7743
Archetypal loss: 0.8466
KLD loss: 0.1235
Reconstruction loss: 0.8466
Archetype R²: 0.1105
Archetype transform grad norm: 0.296473
Archetype transform param norm: 8.2372
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.7743 (range: 0.7743 - 0.7743)
archetypal_loss: 0.8466 (range: 0.8466 - 0.8466)
kld_loss: 0.1235 (range: 0.1235 - 0.1235)
reconstruction_loss: 0.8466 (range: 0.8466 - 0.8466)
archetype_r2: 0.1105 (range: 0.1105 - 0.1105)
Archetype Transform Summary:
archetype_transform_mean: 0.000026 (range: 0.000026 - 0.000026)
archetype_transform_std: 0.115355 (range: 0.115355 - 0.115355)
archetype_transform_norm: 8.237153 (range: 8.237153 - 8.237153)
archetype_transform_grad_norm: 0.296473 (range: 0.296473 - 0.296473)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0196, max=0.5497, mean=0.1667
Batch reconstruction MSE: 1.1058
Archetype stats: min=-16.7821, max=19.7243
Archetype change since last debug: 1.582660
Archetype gradients: norm=0.039366, mean=0.001642
Epoch 1/1
Average loss: 0.7726
Archetypal loss: 0.8437
KLD loss: 0.1332
Reconstruction loss: 0.8437
Archetype R²: 0.1133
Archetype transform grad norm: 0.294255
Archetype transform param norm: 8.2935
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.7726 (range: 0.7726 - 0.7726)
archetypal_loss: 0.8437 (range: 0.8437 - 0.8437)
kld_loss: 0.1332 (range: 0.1332 - 0.1332)
reconstruction_loss: 0.8437 (range: 0.8437 - 0.8437)
archetype_r2: 0.1133 (range: 0.1133 - 0.1133)
Archetype Transform Summary:
archetype_transform_mean: 0.000096 (range: 0.000096 - 0.000096)
archetype_transform_std: 0.116143 (range: 0.116143 - 0.116143)
archetype_transform_norm: 8.293492 (range: 8.293492 - 8.293492)
archetype_transform_grad_norm: 0.294255 (range: 0.294255 - 0.294255)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0153, max=0.5290, mean=0.1667
Batch reconstruction MSE: 1.2644
Archetype stats: min=-17.3564, max=19.7592
Archetype change since last debug: 2.231482
Archetype gradients: norm=0.049915, mean=0.002273
Epoch 1/1
Average loss: 0.7743
Archetypal loss: 0.8472
KLD loss: 0.1183
Reconstruction loss: 0.8472
Archetype R²: 0.1099
Archetype transform grad norm: 0.318413
Archetype transform param norm: 8.3356
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.7743 (range: 0.7743 - 0.7743)
archetypal_loss: 0.8472 (range: 0.8472 - 0.8472)
kld_loss: 0.1183 (range: 0.1183 - 0.1183)
reconstruction_loss: 0.8472 (range: 0.8472 - 0.8472)
archetype_r2: 0.1099 (range: 0.1099 - 0.1099)
Archetype Transform Summary:
archetype_transform_mean: 0.000029 (range: 0.000029 - 0.000029)
archetype_transform_std: 0.116733 (range: 0.116733 - 0.116733)
archetype_transform_norm: 8.335558 (range: 8.335558 - 8.335558)
archetype_transform_grad_norm: 0.318413 (range: 0.318413 - 0.318413)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0186, max=0.5212, mean=0.1667
Batch reconstruction MSE: 1.1434
Archetype stats: min=-16.8764, max=19.7933
Archetype change since last debug: 1.569611
Archetype gradients: norm=0.056727, mean=0.002094
Epoch 1/1
Average loss: 0.7726
Archetypal loss: 0.8441
KLD loss: 0.1287
Reconstruction loss: 0.8441
Archetype R²: 0.1128
Archetype transform grad norm: 0.303953
Archetype transform param norm: 8.3749
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.7726 (range: 0.7726 - 0.7726)
archetypal_loss: 0.8441 (range: 0.8441 - 0.8441)
kld_loss: 0.1287 (range: 0.1287 - 0.1287)
reconstruction_loss: 0.8441 (range: 0.8441 - 0.8441)
archetype_r2: 0.1128 (range: 0.1128 - 0.1128)
Archetype Transform Summary:
archetype_transform_mean: 0.000130 (range: 0.000130 - 0.000130)
archetype_transform_std: 0.117284 (range: 0.117284 - 0.117284)
archetype_transform_norm: 8.374933 (range: 8.374933 - 8.374933)
archetype_transform_grad_norm: 0.303953 (range: 0.303953 - 0.303953)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0165, max=0.4905, mean=0.1667
Batch reconstruction MSE: 1.3227
Archetype stats: min=-17.3134, max=19.2857
Archetype change since last debug: 2.231779
Archetype gradients: norm=0.055231, mean=0.002609
Epoch 1/1
Average loss: 0.7755
Archetypal loss: 0.8484
KLD loss: 0.1201
Reconstruction loss: 0.8484
Archetype R²: 0.1088
Archetype transform grad norm: 0.329044
Archetype transform param norm: 8.4008
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.7755 (range: 0.7755 - 0.7755)
archetypal_loss: 0.8484 (range: 0.8484 - 0.8484)
kld_loss: 0.1201 (range: 0.1201 - 0.1201)
reconstruction_loss: 0.8484 (range: 0.8484 - 0.8484)
archetype_r2: 0.1088 (range: 0.1088 - 0.1088)
Archetype Transform Summary:
archetype_transform_mean: 0.000037 (range: 0.000037 - 0.000037)
archetype_transform_std: 0.117647 (range: 0.117647 - 0.117647)
archetype_transform_norm: 8.400843 (range: 8.400843 - 8.400843)
archetype_transform_grad_norm: 0.329044 (range: 0.329044 - 0.329044)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0203, max=0.5094, mean=0.1667
Batch reconstruction MSE: 1.1858
Archetype stats: min=-16.5635, max=19.0846
Archetype change since last debug: 1.816774
Archetype gradients: norm=0.046236, mean=0.002144
Epoch 1/1
Average loss: 0.7715
Archetypal loss: 0.8440
KLD loss: 0.1192
Reconstruction loss: 0.8440
Archetype R²: 0.1131
Archetype transform grad norm: 0.293136
Archetype transform param norm: 8.4293
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.7715 (range: 0.7715 - 0.7715)
archetypal_loss: 0.8440 (range: 0.8440 - 0.8440)
kld_loss: 0.1192 (range: 0.1192 - 0.1192)
reconstruction_loss: 0.8440 (range: 0.8440 - 0.8440)
archetype_r2: 0.1131 (range: 0.1131 - 0.1131)
Archetype Transform Summary:
archetype_transform_mean: 0.000119 (range: 0.000119 - 0.000119)
archetype_transform_std: 0.118045 (range: 0.118045 - 0.118045)
archetype_transform_norm: 8.429283 (range: 8.429283 - 8.429283)
archetype_transform_grad_norm: 0.293136 (range: 0.293136 - 0.293136)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0170, max=0.5227, mean=0.1667
Batch reconstruction MSE: 1.1314
Archetype stats: min=-17.1052, max=18.9017
Archetype change since last debug: 1.704626
Archetype gradients: norm=0.028616, mean=0.001311
Epoch 1/1
Average loss: 0.7712
Archetypal loss: 0.8433
KLD loss: 0.1224
Reconstruction loss: 0.8433
Archetype R²: 0.1136
Archetype transform grad norm: 0.301171
Archetype transform param norm: 8.4798
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.7712 (range: 0.7712 - 0.7712)
archetypal_loss: 0.8433 (range: 0.8433 - 0.8433)
kld_loss: 0.1224 (range: 0.1224 - 0.1224)
reconstruction_loss: 0.8433 (range: 0.8433 - 0.8433)
archetype_r2: 0.1136 (range: 0.1136 - 0.1136)
Archetype Transform Summary:
archetype_transform_mean: 0.000081 (range: 0.000081 - 0.000081)
archetype_transform_std: 0.118753 (range: 0.118753 - 0.118753)
archetype_transform_norm: 8.479820 (range: 8.479820 - 8.479820)
archetype_transform_grad_norm: 0.301171 (range: 0.301171 - 0.301171)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0193, max=0.4923, mean=0.1667
Batch reconstruction MSE: 1.3454
Archetype stats: min=-17.0453, max=19.5523
Archetype change since last debug: 1.811986
Archetype gradients: norm=0.077568, mean=0.003446
Epoch 1/1
Average loss: 0.7747
Archetypal loss: 0.8479
KLD loss: 0.1157
Reconstruction loss: 0.8479
Archetype R²: 0.1092
Archetype transform grad norm: 0.309130
Archetype transform param norm: 8.4860
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.7747 (range: 0.7747 - 0.7747)
archetypal_loss: 0.8479 (range: 0.8479 - 0.8479)
kld_loss: 0.1157 (range: 0.1157 - 0.1157)
reconstruction_loss: 0.8479 (range: 0.8479 - 0.8479)
archetype_r2: 0.1092 (range: 0.1092 - 0.1092)
Archetype Transform Summary:
archetype_transform_mean: 0.000118 (range: 0.000118 - 0.000118)
archetype_transform_std: 0.118839 (range: 0.118839 - 0.118839)
archetype_transform_norm: 8.485995 (range: 8.485995 - 8.485995)
archetype_transform_grad_norm: 0.309130 (range: 0.309130 - 0.309130)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0219, max=0.4332, mean=0.1667
Batch reconstruction MSE: 1.2450
Archetype stats: min=-17.5300, max=19.4082
Archetype change since last debug: 1.668197
Archetype gradients: norm=0.052745, mean=0.002560
Epoch 1/1
Average loss: 0.7742
Archetypal loss: 0.8461
KLD loss: 0.1270
Reconstruction loss: 0.8461
Archetype R²: 0.1109
Archetype transform grad norm: 0.328517
Archetype transform param norm: 8.5108
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.7742 (range: 0.7742 - 0.7742)
archetypal_loss: 0.8461 (range: 0.8461 - 0.8461)
kld_loss: 0.1270 (range: 0.1270 - 0.1270)
reconstruction_loss: 0.8461 (range: 0.8461 - 0.8461)
archetype_r2: 0.1109 (range: 0.1109 - 0.1109)
Archetype Transform Summary:
archetype_transform_mean: 0.000053 (range: 0.000053 - 0.000053)
archetype_transform_std: 0.119186 (range: 0.119186 - 0.119186)
archetype_transform_norm: 8.510756 (range: 8.510756 - 8.510756)
archetype_transform_grad_norm: 0.328517 (range: 0.328517 - 0.328517)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0116, max=0.6654, mean=0.1667
Batch reconstruction MSE: 1.4167
Archetype stats: min=-17.2086, max=19.8923
Archetype change since last debug: 2.192862
Archetype gradients: norm=0.083646, mean=0.003422
Epoch 1/1
Average loss: 0.7771
Archetypal loss: 0.8506
KLD loss: 0.1160
Reconstruction loss: 0.8506
Archetype R²: 0.1065
Archetype transform grad norm: 0.320168
Archetype transform param norm: 8.4985
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.7771 (range: 0.7771 - 0.7771)
archetypal_loss: 0.8506 (range: 0.8506 - 0.8506)
kld_loss: 0.1160 (range: 0.1160 - 0.1160)
reconstruction_loss: 0.8506 (range: 0.8506 - 0.8506)
archetype_r2: 0.1065 (range: 0.1065 - 0.1065)
Archetype Transform Summary:
archetype_transform_mean: 0.000140 (range: 0.000140 - 0.000140)
archetype_transform_std: 0.119014 (range: 0.119014 - 0.119014)
archetype_transform_norm: 8.498496 (range: 8.498496 - 8.498496)
archetype_transform_grad_norm: 0.320168 (range: 0.320168 - 0.320168)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0227, max=0.4981, mean=0.1667
Batch reconstruction MSE: 1.1563
Archetype stats: min=-17.4743, max=19.3899
Archetype change since last debug: 2.077627
Archetype gradients: norm=0.056428, mean=0.002073
Epoch 1/1
Average loss: 0.7708
Archetypal loss: 0.8427
KLD loss: 0.1233
Reconstruction loss: 0.8427
Archetype R²: 0.1143
Archetype transform grad norm: 0.294541
Archetype transform param norm: 8.5304
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.7708 (range: 0.7708 - 0.7708)
archetypal_loss: 0.8427 (range: 0.8427 - 0.8427)
kld_loss: 0.1233 (range: 0.1233 - 0.1233)
reconstruction_loss: 0.8427 (range: 0.8427 - 0.8427)
archetype_r2: 0.1143 (range: 0.1143 - 0.1143)
Archetype Transform Summary:
archetype_transform_mean: 0.000070 (range: 0.000070 - 0.000070)
archetype_transform_std: 0.119461 (range: 0.119461 - 0.119461)
archetype_transform_norm: 8.530377 (range: 8.530377 - 8.530377)
archetype_transform_grad_norm: 0.294541 (range: 0.294541 - 0.294541)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0218, max=0.4404, mean=0.1667
Batch reconstruction MSE: 1.2087
Archetype stats: min=-17.5788, max=19.9800
Archetype change since last debug: 1.821080
Archetype gradients: norm=0.049018, mean=0.002066
Epoch 1/1
Average loss: 0.7700
Archetypal loss: 0.8436
KLD loss: 0.1081
Reconstruction loss: 0.8436
Archetype R²: 0.1134
Archetype transform grad norm: 0.294682
Archetype transform param norm: 8.5613
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.7700 (range: 0.7700 - 0.7700)
archetypal_loss: 0.8436 (range: 0.8436 - 0.8436)
kld_loss: 0.1081 (range: 0.1081 - 0.1081)
reconstruction_loss: 0.8436 (range: 0.8436 - 0.8436)
archetype_r2: 0.1134 (range: 0.1134 - 0.1134)
Archetype Transform Summary:
archetype_transform_mean: 0.000113 (range: 0.000113 - 0.000113)
archetype_transform_std: 0.119894 (range: 0.119894 - 0.119894)
archetype_transform_norm: 8.561328 (range: 8.561328 - 8.561328)
archetype_transform_grad_norm: 0.294682 (range: 0.294682 - 0.294682)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0247, max=0.5381, mean=0.1667
Batch reconstruction MSE: 1.1209
Archetype stats: min=-17.8587, max=20.0735
Archetype change since last debug: 1.448368
Archetype gradients: norm=0.056029, mean=0.001994
Epoch 1/1
Average loss: 0.7707
Archetypal loss: 0.8422
KLD loss: 0.1268
Reconstruction loss: 0.8422
Archetype R²: 0.1147
Archetype transform grad norm: 0.300083
Archetype transform param norm: 8.6000
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.7707 (range: 0.7707 - 0.7707)
archetypal_loss: 0.8422 (range: 0.8422 - 0.8422)
kld_loss: 0.1268 (range: 0.1268 - 0.1268)
reconstruction_loss: 0.8422 (range: 0.8422 - 0.8422)
archetype_r2: 0.1147 (range: 0.1147 - 0.1147)
Archetype Transform Summary:
archetype_transform_mean: 0.000074 (range: 0.000074 - 0.000074)
archetype_transform_std: 0.120436 (range: 0.120436 - 0.120436)
archetype_transform_norm: 8.600020 (range: 8.600020 - 8.600020)
archetype_transform_grad_norm: 0.300083 (range: 0.300083 - 0.300083)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0212, max=0.3958, mean=0.1667
Batch reconstruction MSE: 1.5039
Archetype stats: min=-18.1559, max=20.5141
Archetype change since last debug: 1.538324
Archetype gradients: norm=0.052985, mean=0.002542
Epoch 1/1
Average loss: 0.7748
Archetypal loss: 0.8498
KLD loss: 0.1002
Reconstruction loss: 0.8498
Archetype R²: 0.1075
Archetype transform grad norm: 0.299437
Archetype transform param norm: 8.5813
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.7748 (range: 0.7748 - 0.7748)
archetypal_loss: 0.8498 (range: 0.8498 - 0.8498)
kld_loss: 0.1002 (range: 0.1002 - 0.1002)
reconstruction_loss: 0.8498 (range: 0.8498 - 0.8498)
archetype_r2: 0.1075 (range: 0.1075 - 0.1075)
Archetype Transform Summary:
archetype_transform_mean: 0.000092 (range: 0.000092 - 0.000092)
archetype_transform_std: 0.120174 (range: 0.120174 - 0.120174)
archetype_transform_norm: 8.581336 (range: 8.581336 - 8.581336)
archetype_transform_grad_norm: 0.299437 (range: 0.299437 - 0.299437)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0319, max=0.4837, mean=0.1667
Batch reconstruction MSE: 1.1944
Archetype stats: min=-17.5106, max=20.0580
Archetype change since last debug: 2.566195
Archetype gradients: norm=0.052213, mean=0.002261
Epoch 1/1
Average loss: 0.7731
Archetypal loss: 0.8432
KLD loss: 0.1425
Reconstruction loss: 0.8432
Archetype R²: 0.1138
Archetype transform grad norm: 0.291685
Archetype transform param norm: 8.5968
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.7731 (range: 0.7731 - 0.7731)
archetypal_loss: 0.8432 (range: 0.8432 - 0.8432)
kld_loss: 0.1425 (range: 0.1425 - 0.1425)
reconstruction_loss: 0.8432 (range: 0.8432 - 0.8432)
archetype_r2: 0.1138 (range: 0.1138 - 0.1138)
Archetype Transform Summary:
archetype_transform_mean: 0.000068 (range: 0.000068 - 0.000068)
archetype_transform_std: 0.120391 (range: 0.120391 - 0.120391)
archetype_transform_norm: 8.596815 (range: 8.596815 - 8.596815)
archetype_transform_grad_norm: 0.291685 (range: 0.291685 - 0.291685)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0144, max=0.4271, mean=0.1667
Batch reconstruction MSE: 1.5839
Archetype stats: min=-17.7601, max=20.0271
Archetype change since last debug: 1.374929
Archetype gradients: norm=0.054985, mean=0.002299
Epoch 1/1
Average loss: 0.7766
Archetypal loss: 0.8515
KLD loss: 0.1031
Reconstruction loss: 0.8515
Archetype R²: 0.1059
Archetype transform grad norm: 0.314856
Archetype transform param norm: 8.5680
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.7766 (range: 0.7766 - 0.7766)
archetypal_loss: 0.8515 (range: 0.8515 - 0.8515)
kld_loss: 0.1031 (range: 0.1031 - 0.1031)
reconstruction_loss: 0.8515 (range: 0.8515 - 0.8515)
archetype_r2: 0.1059 (range: 0.1059 - 0.1059)
Archetype Transform Summary:
archetype_transform_mean: 0.000028 (range: 0.000028 - 0.000028)
archetype_transform_std: 0.119988 (range: 0.119988 - 0.119988)
archetype_transform_norm: 8.567989 (range: 8.567989 - 8.567989)
archetype_transform_grad_norm: 0.314856 (range: 0.314856 - 0.314856)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0116, max=0.4205, mean=0.1667
Batch reconstruction MSE: 1.1078
Archetype stats: min=-16.8258, max=19.6263
Archetype change since last debug: 2.898224
Archetype gradients: norm=0.031132, mean=0.001114
Epoch 1/1
Average loss: 0.7681
Archetypal loss: 0.8400
KLD loss: 0.1209
Reconstruction loss: 0.8400
Archetype R²: 0.1169
Archetype transform grad norm: 0.272518
Archetype transform param norm: 8.5942
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.7681 (range: 0.7681 - 0.7681)
archetypal_loss: 0.8400 (range: 0.8400 - 0.8400)
kld_loss: 0.1209 (range: 0.1209 - 0.1209)
reconstruction_loss: 0.8400 (range: 0.8400 - 0.8400)
archetype_r2: 0.1169 (range: 0.1169 - 0.1169)
Archetype Transform Summary:
archetype_transform_mean: 0.000050 (range: 0.000050 - 0.000050)
archetype_transform_std: 0.120355 (range: 0.120355 - 0.120355)
archetype_transform_norm: 8.594195 (range: 8.594195 - 8.594195)
archetype_transform_grad_norm: 0.272518 (range: 0.272518 - 0.272518)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0220, max=0.4185, mean=0.1667
Batch reconstruction MSE: 1.0942
Archetype stats: min=-17.4636, max=19.6871
Archetype change since last debug: 2.135904
Archetype gradients: norm=0.019899, mean=0.000820
Epoch 1/1
Average loss: 0.7661
Archetypal loss: 0.8395
KLD loss: 0.1056
Reconstruction loss: 0.8395
Archetype R²: 0.1174
Archetype transform grad norm: 0.280459
Archetype transform param norm: 8.6443
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.7661 (range: 0.7661 - 0.7661)
archetypal_loss: 0.8395 (range: 0.8395 - 0.8395)
kld_loss: 0.1056 (range: 0.1056 - 0.1056)
reconstruction_loss: 0.8395 (range: 0.8395 - 0.8395)
archetype_r2: 0.1174 (range: 0.1174 - 0.1174)
Archetype Transform Summary:
archetype_transform_mean: 0.000067 (range: 0.000067 - 0.000067)
archetype_transform_std: 0.121056 (range: 0.121056 - 0.121056)
archetype_transform_norm: 8.644307 (range: 8.644307 - 8.644307)
archetype_transform_grad_norm: 0.280459 (range: 0.280459 - 0.280459)
Fold 2/3
Model input_dim: 50 (auto-detected from data)
Archetypes parameter registered: True
Archetypes requires_grad: True
Deep_AA (Deep Archetypal Analysis) initialized:
- Single-stage architecture (like Deep_2)
- Inflation factor: 1.5
- Direct archetypal coordinates (no bottleneck)
Consolidated Archetype Initialization
PCHA: True, Inflation: True (factor: 1.5)
Test inflation: False
Running PCHA initialization...
Input shape: (128, 50)
Target archetypes: 6
Running PCHA with 6 archetypes...
Data shape for PCHA: (50, 128)
PCHA Results:
Archetypes shape: (6, 50)
Archetype R²: 0.2535
SSE: 4685.7040
PCHA archetype R²: 0.2535
Archetype shape: (6, 50)
[OK] Initialized 6 archetypes using PCHA
Scalar Archetypal Inflation (factor: 1.50)
[OK] Inflation complete
[STATS] Positioning verification:
Data radius (max): 15.808
Data radius (mean): 6.452
Archetype distances: 3.771 to 21.135
Archetypes outside data: 1/6
Min archetype separation: 9.380
[OK] Archetype initialization complete (success: True)
[OK] Archetype initialization complete (PCHA: True, Inflation: 1.5)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0002, max=0.9782, mean=0.1667
Batch reconstruction MSE: 0.9981
Archetype stats: min=-2.7296, max=1.9939
Archetype gradients: norm=0.014469, mean=0.000633
Epoch 1/1
Average loss: 0.8661
Archetypal loss: 0.9590
KLD loss: 0.0301
Reconstruction loss: 0.9590
Archetype R²: -0.0208
Archetype transform grad norm: 0.204333
Archetype transform param norm: 5.8523
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.8661 (range: 0.8661 - 0.8661)
archetypal_loss: 0.9590 (range: 0.9590 - 0.9590)
kld_loss: 0.0301 (range: 0.0301 - 0.0301)
reconstruction_loss: 0.9590 (range: 0.9590 - 0.9590)
archetype_r2: -0.0208 (range: -0.0208 - -0.0208)
Archetype Transform Summary:
archetype_transform_mean: -0.000303 (range: -0.000303 - -0.000303)
archetype_transform_std: 0.081956 (range: 0.081956 - 0.081956)
archetype_transform_norm: 5.852284 (range: 5.852284 - 5.852284)
archetype_transform_grad_norm: 0.204333 (range: 0.204333 - 0.204333)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0020, max=0.9121, mean=0.1667
Batch reconstruction MSE: 0.8555
Archetype stats: min=-1.1302, max=0.9505
Archetype change since last debug: 7.547627
Archetype gradients: norm=0.002602, mean=0.000116
Epoch 1/1
Average loss: 0.8492
Archetypal loss: 0.9366
KLD loss: 0.0621
Reconstruction loss: 0.9366
Archetype R²: 0.0032
Archetype transform grad norm: 0.136774
Archetype transform param norm: 5.8699
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.8492 (range: 0.8492 - 0.8492)
archetypal_loss: 0.9366 (range: 0.9366 - 0.9366)
kld_loss: 0.0621 (range: 0.0621 - 0.0621)
reconstruction_loss: 0.9366 (range: 0.9366 - 0.9366)
archetype_r2: 0.0032 (range: 0.0032 - 0.0032)
Archetype Transform Summary:
archetype_transform_mean: -0.000567 (range: -0.000567 - -0.000567)
archetype_transform_std: 0.082201 (range: 0.082201 - 0.082201)
archetype_transform_norm: 5.869897 (range: 5.869897 - 5.869897)
archetype_transform_grad_norm: 0.136774 (range: 0.136774 - 0.136774)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0066, max=0.7893, mean=0.1667
Batch reconstruction MSE: 0.8867
Archetype stats: min=-2.4271, max=1.7411
Archetype change since last debug: 4.774593
Archetype gradients: norm=0.003961, mean=0.000179
Epoch 1/1
Average loss: 0.8360
Archetypal loss: 0.9161
KLD loss: 0.1146
Reconstruction loss: 0.9161
Archetype R²: 0.0248
Archetype transform grad norm: 0.163682
Archetype transform param norm: 6.0164
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.8360 (range: 0.8360 - 0.8360)
archetypal_loss: 0.9161 (range: 0.9161 - 0.9161)
kld_loss: 0.1146 (range: 0.1146 - 0.1146)
reconstruction_loss: 0.9161 (range: 0.9161 - 0.9161)
archetype_r2: 0.0248 (range: 0.0248 - 0.0248)
Archetype Transform Summary:
archetype_transform_mean: -0.000574 (range: -0.000574 - -0.000574)
archetype_transform_std: 0.084253 (range: 0.084253 - 0.084253)
archetype_transform_norm: 6.016436 (range: 6.016436 - 6.016436)
archetype_transform_grad_norm: 0.163682 (range: 0.163682 - 0.163682)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0055, max=0.8192, mean=0.1667
Batch reconstruction MSE: 0.9103
Archetype stats: min=-4.2846, max=3.3505
Archetype change since last debug: 9.092466
Archetype gradients: norm=0.008276, mean=0.000355
Epoch 1/1
Average loss: 0.8193
Archetypal loss: 0.8933
KLD loss: 0.1535
Reconstruction loss: 0.8933
Archetype R²: 0.0490
Archetype transform grad norm: 0.193751
Archetype transform param norm: 6.2938
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.8193 (range: 0.8193 - 0.8193)
archetypal_loss: 0.8933 (range: 0.8933 - 0.8933)
kld_loss: 0.1535 (range: 0.1535 - 0.1535)
reconstruction_loss: 0.8933 (range: 0.8933 - 0.8933)
archetype_r2: 0.0490 (range: 0.0490 - 0.0490)
Archetype Transform Summary:
archetype_transform_mean: -0.000621 (range: -0.000621 - -0.000621)
archetype_transform_std: 0.088138 (range: 0.088138 - 0.088138)
archetype_transform_norm: 6.293829 (range: 6.293829 - 6.293829)
archetype_transform_grad_norm: 0.193751 (range: 0.193751 - 0.193751)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0053, max=0.7777, mean=0.1667
Batch reconstruction MSE: 0.9904
Archetype stats: min=-5.6986, max=5.0825
Archetype change since last debug: 10.124635
Archetype gradients: norm=0.013953, mean=0.000565
Epoch 1/1
Average loss: 0.8069
Archetypal loss: 0.8795
KLD loss: 0.1534
Reconstruction loss: 0.8795
Archetype R²: 0.0635
Archetype transform grad norm: 0.217694
Archetype transform param norm: 6.5963
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.8069 (range: 0.8069 - 0.8069)
archetypal_loss: 0.8795 (range: 0.8795 - 0.8795)
kld_loss: 0.1534 (range: 0.1534 - 0.1534)
reconstruction_loss: 0.8795 (range: 0.8795 - 0.8795)
archetype_r2: 0.0635 (range: 0.0635 - 0.0635)
Archetype Transform Summary:
archetype_transform_mean: -0.000725 (range: -0.000725 - -0.000725)
archetype_transform_std: 0.092373 (range: 0.092373 - 0.092373)
archetype_transform_norm: 6.596275 (range: 6.596275 - 6.596275)
archetype_transform_grad_norm: 0.217694 (range: 0.217694 - 0.217694)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0060, max=0.8638, mean=0.1667
Batch reconstruction MSE: 1.0617
Archetype stats: min=-6.5821, max=7.0740
Archetype change since last debug: 8.774543
Archetype gradients: norm=0.026033, mean=0.001016
Epoch 1/1
Average loss: 0.8019
Archetypal loss: 0.8732
KLD loss: 0.1606
Reconstruction loss: 0.8732
Archetype R²: 0.0699
Archetype transform grad norm: 0.248950
Archetype transform param norm: 6.8197
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.8019 (range: 0.8019 - 0.8019)
archetypal_loss: 0.8732 (range: 0.8732 - 0.8732)
kld_loss: 0.1606 (range: 0.1606 - 0.1606)
reconstruction_loss: 0.8732 (range: 0.8732 - 0.8732)
archetype_r2: 0.0699 (range: 0.0699 - 0.0699)
Archetype Transform Summary:
archetype_transform_mean: -0.000748 (range: -0.000748 - -0.000748)
archetype_transform_std: 0.095501 (range: 0.095501 - 0.095501)
archetype_transform_norm: 6.819651 (range: 6.819651 - 6.819651)
archetype_transform_grad_norm: 0.248950 (range: 0.248950 - 0.248950)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0063, max=0.8927, mean=0.1667
Batch reconstruction MSE: 1.0853
Archetype stats: min=-7.0873, max=7.9504
Archetype change since last debug: 6.181840
Archetype gradients: norm=0.024687, mean=0.000986
Epoch 1/1
Average loss: 0.7941
Archetypal loss: 0.8649
KLD loss: 0.1570
Reconstruction loss: 0.8649
Archetype R²: 0.0787
Archetype transform grad norm: 0.247420
Archetype transform param norm: 7.0160
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.7941 (range: 0.7941 - 0.7941)
archetypal_loss: 0.8649 (range: 0.8649 - 0.8649)
kld_loss: 0.1570 (range: 0.1570 - 0.1570)
reconstruction_loss: 0.8649 (range: 0.8649 - 0.8649)
archetype_r2: 0.0787 (range: 0.0787 - 0.0787)
Archetype Transform Summary:
archetype_transform_mean: -0.000878 (range: -0.000878 - -0.000878)
archetype_transform_std: 0.098250 (range: 0.098250 - 0.098250)
archetype_transform_norm: 7.016028 (range: 7.016028 - 7.016028)
archetype_transform_grad_norm: 0.247420 (range: 0.247420 - 0.247420)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0060, max=0.8858, mean=0.1667
Batch reconstruction MSE: 1.0268
Archetype stats: min=-7.7562, max=9.2170
Archetype change since last debug: 5.871742
Archetype gradients: norm=0.035248, mean=0.001317
Epoch 1/1
Average loss: 0.7880
Archetypal loss: 0.8566
KLD loss: 0.1704
Reconstruction loss: 0.8566
Archetype R²: 0.0877
Archetype transform grad norm: 0.258205
Archetype transform param norm: 7.2150
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.7880 (range: 0.7880 - 0.7880)
archetypal_loss: 0.8566 (range: 0.8566 - 0.8566)
kld_loss: 0.1704 (range: 0.1704 - 0.1704)
reconstruction_loss: 0.8566 (range: 0.8566 - 0.8566)
archetype_r2: 0.0877 (range: 0.0877 - 0.0877)
Archetype Transform Summary:
archetype_transform_mean: -0.000953 (range: -0.000953 - -0.000953)
archetype_transform_std: 0.101035 (range: 0.101035 - 0.101035)
archetype_transform_norm: 7.214953 (range: 7.214953 - 7.214953)
archetype_transform_grad_norm: 0.258205 (range: 0.258205 - 0.258205)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0080, max=0.7145, mean=0.1667
Batch reconstruction MSE: 1.0443
Archetype stats: min=-8.7698, max=10.3277
Archetype change since last debug: 5.386324
Archetype gradients: norm=0.028030, mean=0.001129
Epoch 1/1
Average loss: 0.7807
Archetypal loss: 0.8498
KLD loss: 0.1588
Reconstruction loss: 0.8498
Archetype R²: 0.0949
Archetype transform grad norm: 0.258593
Archetype transform param norm: 7.4166
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.7807 (range: 0.7807 - 0.7807)
archetypal_loss: 0.8498 (range: 0.8498 - 0.8498)
kld_loss: 0.1588 (range: 0.1588 - 0.1588)
reconstruction_loss: 0.8498 (range: 0.8498 - 0.8498)
archetype_r2: 0.0949 (range: 0.0949 - 0.0949)
Archetype Transform Summary:
archetype_transform_mean: -0.001077 (range: -0.001077 - -0.001077)
archetype_transform_std: 0.103857 (range: 0.103857 - 0.103857)
archetype_transform_norm: 7.416580 (range: 7.416580 - 7.416580)
archetype_transform_grad_norm: 0.258593 (range: 0.258593 - 0.258593)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0104, max=0.6826, mean=0.1667
Batch reconstruction MSE: 1.0807
Archetype stats: min=-9.5239, max=11.3929
Archetype change since last debug: 5.445261
Archetype gradients: norm=0.053975, mean=0.001975
Epoch 1/1
Average loss: 0.7782
Archetypal loss: 0.8471
KLD loss: 0.1586
Reconstruction loss: 0.8471
Archetype R²: 0.0976
Archetype transform grad norm: 0.276349
Archetype transform param norm: 7.5761
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.7782 (range: 0.7782 - 0.7782)
archetypal_loss: 0.8471 (range: 0.8471 - 0.8471)
kld_loss: 0.1586 (range: 0.1586 - 0.1586)
reconstruction_loss: 0.8471 (range: 0.8471 - 0.8471)
archetype_r2: 0.0976 (range: 0.0976 - 0.0976)
Archetype Transform Summary:
archetype_transform_mean: -0.001113 (range: -0.001113 - -0.001113)
archetype_transform_std: 0.106091 (range: 0.106091 - 0.106091)
archetype_transform_norm: 7.576091 (range: 7.576091 - 7.576091)
archetype_transform_grad_norm: 0.276349 (range: 0.276349 - 0.276349)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0096, max=0.4336, mean=0.1667
Batch reconstruction MSE: 1.1121
Archetype stats: min=-10.3856, max=12.1029
Archetype change since last debug: 4.142931
Archetype gradients: norm=0.028954, mean=0.001414
Epoch 1/1
Average loss: 0.7761
Archetypal loss: 0.8456
KLD loss: 0.1503
Reconstruction loss: 0.8456
Archetype R²: 0.0990
Archetype transform grad norm: 0.292993
Archetype transform param norm: 7.7107
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.7761 (range: 0.7761 - 0.7761)
archetypal_loss: 0.8456 (range: 0.8456 - 0.8456)
kld_loss: 0.1503 (range: 0.1503 - 0.1503)
reconstruction_loss: 0.8456 (range: 0.8456 - 0.8456)
archetype_r2: 0.0990 (range: 0.0990 - 0.0990)
Archetype Transform Summary:
archetype_transform_mean: -0.001188 (range: -0.001188 - -0.001188)
archetype_transform_std: 0.107975 (range: 0.107975 - 0.107975)
archetype_transform_norm: 7.710704 (range: 7.710704 - 7.710704)
archetype_transform_grad_norm: 0.292993 (range: 0.292993 - 0.292993)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0101, max=0.7202, mean=0.1667
Batch reconstruction MSE: 1.1216
Archetype stats: min=-10.6672, max=12.2948
Archetype change since last debug: 3.762784
Archetype gradients: norm=0.100407, mean=0.003203
Epoch 1/1
Average loss: 0.7749
Archetypal loss: 0.8431
KLD loss: 0.1605
Reconstruction loss: 0.8431
Archetype R²: 0.1016
Archetype transform grad norm: 0.281089
Archetype transform param norm: 7.7909
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.7749 (range: 0.7749 - 0.7749)
archetypal_loss: 0.8431 (range: 0.8431 - 0.8431)
kld_loss: 0.1605 (range: 0.1605 - 0.1605)
reconstruction_loss: 0.8431 (range: 0.8431 - 0.8431)
archetype_r2: 0.1016 (range: 0.1016 - 0.1016)
Archetype Transform Summary:
archetype_transform_mean: -0.001146 (range: -0.001146 - -0.001146)
archetype_transform_std: 0.109099 (range: 0.109099 - 0.109099)
archetype_transform_norm: 7.790881 (range: 7.790881 - 7.790881)
archetype_transform_grad_norm: 0.281089 (range: 0.281089 - 0.281089)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0134, max=0.4384, mean=0.1667
Batch reconstruction MSE: 1.1929
Archetype stats: min=-11.2944, max=12.8211
Archetype change since last debug: 2.817031
Archetype gradients: norm=0.037861, mean=0.001517
Epoch 1/1
Average loss: 0.7736
Archetypal loss: 0.8438
KLD loss: 0.1422
Reconstruction loss: 0.8438
Archetype R²: 0.1007
Archetype transform grad norm: 0.297921
Archetype transform param norm: 7.8716
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.7736 (range: 0.7736 - 0.7736)
archetypal_loss: 0.8438 (range: 0.8438 - 0.8438)
kld_loss: 0.1422 (range: 0.1422 - 0.1422)
reconstruction_loss: 0.8438 (range: 0.8438 - 0.8438)
archetype_r2: 0.1007 (range: 0.1007 - 0.1007)
Archetype Transform Summary:
archetype_transform_mean: -0.001264 (range: -0.001264 - -0.001264)
archetype_transform_std: 0.110228 (range: 0.110228 - 0.110228)
archetype_transform_norm: 7.871592 (range: 7.871592 - 7.871592)
archetype_transform_grad_norm: 0.297921 (range: 0.297921 - 0.297921)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0120, max=0.4318, mean=0.1667
Batch reconstruction MSE: 1.0512
Archetype stats: min=-11.3314, max=12.3836
Archetype change since last debug: 3.103486
Archetype gradients: norm=0.041553, mean=0.001867
Epoch 1/1
Average loss: 0.7711
Archetypal loss: 0.8390
KLD loss: 0.1604
Reconstruction loss: 0.8390
Archetype R²: 0.1061
Archetype transform grad norm: 0.284497
Archetype transform param norm: 7.9463
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.7711 (range: 0.7711 - 0.7711)
archetypal_loss: 0.8390 (range: 0.8390 - 0.8390)
kld_loss: 0.1604 (range: 0.1604 - 0.1604)
reconstruction_loss: 0.8390 (range: 0.8390 - 0.8390)
archetype_r2: 0.1061 (range: 0.1061 - 0.1061)
Archetype Transform Summary:
archetype_transform_mean: -0.001326 (range: -0.001326 - -0.001326)
archetype_transform_std: 0.111274 (range: 0.111274 - 0.111274)
archetype_transform_norm: 7.946326 (range: 7.946326 - 7.946326)
archetype_transform_grad_norm: 0.284497 (range: 0.284497 - 0.284497)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0146, max=0.4869, mean=0.1667
Batch reconstruction MSE: 1.1198
Archetype stats: min=-11.6001, max=12.6540
Archetype change since last debug: 2.673006
Archetype gradients: norm=0.058181, mean=0.002007
Epoch 1/1
Average loss: 0.7689
Archetypal loss: 0.8395
KLD loss: 0.1335
Reconstruction loss: 0.8395
Archetype R²: 0.1053
Archetype transform grad norm: 0.284756
Archetype transform param norm: 8.0142
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.7689 (range: 0.7689 - 0.7689)
archetypal_loss: 0.8395 (range: 0.8395 - 0.8395)
kld_loss: 0.1335 (range: 0.1335 - 0.1335)
reconstruction_loss: 0.8395 (range: 0.8395 - 0.8395)
archetype_r2: 0.1053 (range: 0.1053 - 0.1053)
Archetype Transform Summary:
archetype_transform_mean: -0.001347 (range: -0.001347 - -0.001347)
archetype_transform_std: 0.112224 (range: 0.112224 - 0.112224)
archetype_transform_norm: 8.014209 (range: 8.014209 - 8.014209)
archetype_transform_grad_norm: 0.284756 (range: 0.284756 - 0.284756)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0144, max=0.3634, mean=0.1667
Batch reconstruction MSE: 0.9394
Archetype stats: min=-11.8683, max=12.9981
Archetype change since last debug: 2.150836
Archetype gradients: norm=0.027393, mean=0.000999
Epoch 1/1
Average loss: 0.7648
Archetypal loss: 0.8342
KLD loss: 0.1395
Reconstruction loss: 0.8342
Archetype R²: 0.1113
Archetype transform grad norm: 0.274082
Archetype transform param norm: 8.1008
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.7648 (range: 0.7648 - 0.7648)
archetypal_loss: 0.8342 (range: 0.8342 - 0.8342)
kld_loss: 0.1395 (range: 0.1395 - 0.1395)
reconstruction_loss: 0.8342 (range: 0.8342 - 0.8342)
archetype_r2: 0.1113 (range: 0.1113 - 0.1113)
Archetype Transform Summary:
archetype_transform_mean: -0.001408 (range: -0.001408 - -0.001408)
archetype_transform_std: 0.113436 (range: 0.113436 - 0.113436)
archetype_transform_norm: 8.100811 (range: 8.100811 - 8.100811)
archetype_transform_grad_norm: 0.274082 (range: 0.274082 - 0.274082)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0129, max=0.4755, mean=0.1667
Batch reconstruction MSE: 1.0053
Archetype stats: min=-12.3013, max=13.6049
Archetype change since last debug: 2.973259
Archetype gradients: norm=0.038781, mean=0.001480
Epoch 1/1
Average loss: 0.7644
Archetypal loss: 0.8355
KLD loss: 0.1243
Reconstruction loss: 0.8355
Archetype R²: 0.1097
Archetype transform grad norm: 0.287973
Archetype transform param norm: 8.1786
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.7644 (range: 0.7644 - 0.7644)
archetypal_loss: 0.8355 (range: 0.8355 - 0.8355)
kld_loss: 0.1243 (range: 0.1243 - 0.1243)
reconstruction_loss: 0.8355 (range: 0.8355 - 0.8355)
archetype_r2: 0.1097 (range: 0.1097 - 0.1097)
Archetype Transform Summary:
archetype_transform_mean: -0.001388 (range: -0.001388 - -0.001388)
archetype_transform_std: 0.114526 (range: 0.114526 - 0.114526)
archetype_transform_norm: 8.178585 (range: 8.178585 - 8.178585)
archetype_transform_grad_norm: 0.287973 (range: 0.287973 - 0.287973)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0129, max=0.3650, mean=0.1667
Batch reconstruction MSE: 0.9074
Archetype stats: min=-12.6427, max=13.9480
Archetype change since last debug: 2.254122
Archetype gradients: norm=0.021976, mean=0.000849
Epoch 1/1
Average loss: 0.7622
Archetypal loss: 0.8321
KLD loss: 0.1328
Reconstruction loss: 0.8321
Archetype R²: 0.1135
Archetype transform grad norm: 0.278216
Archetype transform param norm: 8.2594
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.7622 (range: 0.7622 - 0.7622)
archetypal_loss: 0.8321 (range: 0.8321 - 0.8321)
kld_loss: 0.1328 (range: 0.1328 - 0.1328)
reconstruction_loss: 0.8321 (range: 0.8321 - 0.8321)
archetype_r2: 0.1135 (range: 0.1135 - 0.1135)
Archetype Transform Summary:
archetype_transform_mean: -0.001428 (range: -0.001428 - -0.001428)
archetype_transform_std: 0.115657 (range: 0.115657 - 0.115657)
archetype_transform_norm: 8.259415 (range: 8.259415 - 8.259415)
archetype_transform_grad_norm: 0.278216 (range: 0.278216 - 0.278216)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0185, max=0.4774, mean=0.1667
Batch reconstruction MSE: 1.1442
Archetype stats: min=-13.1535, max=14.4991
Archetype change since last debug: 2.754038
Archetype gradients: norm=0.067673, mean=0.002806
Epoch 1/1
Average loss: 0.7655
Archetypal loss: 0.8376
KLD loss: 0.1165
Reconstruction loss: 0.8376
Archetype R²: 0.1071
Archetype transform grad norm: 0.296188
Archetype transform param norm: 8.2907
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.7655 (range: 0.7655 - 0.7655)
archetypal_loss: 0.8376 (range: 0.8376 - 0.8376)
kld_loss: 0.1165 (range: 0.1165 - 0.1165)
reconstruction_loss: 0.8376 (range: 0.8376 - 0.8376)
archetype_r2: 0.1071 (range: 0.1071 - 0.1071)
Archetype Transform Summary:
archetype_transform_mean: -0.001377 (range: -0.001377 - -0.001377)
archetype_transform_std: 0.116097 (range: 0.116097 - 0.116097)
archetype_transform_norm: 8.290730 (range: 8.290730 - 8.290730)
archetype_transform_grad_norm: 0.296188 (range: 0.296188 - 0.296188)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0116, max=0.3447, mean=0.1667
Batch reconstruction MSE: 1.0991
Archetype stats: min=-13.4597, max=14.5038
Archetype change since last debug: 1.876499
Archetype gradients: norm=0.065336, mean=0.002675
Epoch 1/1
Average loss: 0.7685
Archetypal loss: 0.8375
KLD loss: 0.1475
Reconstruction loss: 0.8375
Archetype R²: 0.1073
Archetype transform grad norm: 0.313570
Archetype transform param norm: 8.3044
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.7685 (range: 0.7685 - 0.7685)
archetypal_loss: 0.8375 (range: 0.8375 - 0.8375)
kld_loss: 0.1475 (range: 0.1475 - 0.1475)
reconstruction_loss: 0.8375 (range: 0.8375 - 0.8375)
archetype_r2: 0.1073 (range: 0.1073 - 0.1073)
Archetype Transform Summary:
archetype_transform_mean: -0.001385 (range: -0.001385 - -0.001385)
archetype_transform_std: 0.116287 (range: 0.116287 - 0.116287)
archetype_transform_norm: 8.304363 (range: 8.304363 - 8.304363)
archetype_transform_grad_norm: 0.313570 (range: 0.313570 - 0.313570)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0212, max=0.4459, mean=0.1667
Batch reconstruction MSE: 1.2703
Archetype stats: min=-13.6312, max=14.6463
Archetype change since last debug: 1.835187
Archetype gradients: norm=0.074566, mean=0.003295
Epoch 1/1
Average loss: 0.7684
Archetypal loss: 0.8406
KLD loss: 0.1187
Reconstruction loss: 0.8406
Archetype R²: 0.1036
Archetype transform grad norm: 0.311492
Archetype transform param norm: 8.2968
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.7684 (range: 0.7684 - 0.7684)
archetypal_loss: 0.8406 (range: 0.8406 - 0.8406)
kld_loss: 0.1187 (range: 0.1187 - 0.1187)
reconstruction_loss: 0.8406 (range: 0.8406 - 0.8406)
archetype_r2: 0.1036 (range: 0.1036 - 0.1036)
Archetype Transform Summary:
archetype_transform_mean: -0.001367 (range: -0.001367 - -0.001367)
archetype_transform_std: 0.116181 (range: 0.116181 - 0.116181)
archetype_transform_norm: 8.296767 (range: 8.296767 - 8.296767)
archetype_transform_grad_norm: 0.311492 (range: 0.311492 - 0.311492)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0176, max=0.3506, mean=0.1667
Batch reconstruction MSE: 0.9752
Archetype stats: min=-13.3369, max=14.0538
Archetype change since last debug: 1.899570
Archetype gradients: norm=0.029563, mean=0.001228
Epoch 1/1
Average loss: 0.7620
Archetypal loss: 0.8327
KLD loss: 0.1256
Reconstruction loss: 0.8327
Archetype R²: 0.1126
Archetype transform grad norm: 0.285833
Archetype transform param norm: 8.3367
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.7620 (range: 0.7620 - 0.7620)
archetypal_loss: 0.8327 (range: 0.8327 - 0.8327)
kld_loss: 0.1256 (range: 0.1256 - 0.1256)
reconstruction_loss: 0.8327 (range: 0.8327 - 0.8327)
archetype_r2: 0.1126 (range: 0.1126 - 0.1126)
Archetype Transform Summary:
archetype_transform_mean: -0.001440 (range: -0.001440 - -0.001440)
archetype_transform_std: 0.116739 (range: 0.116739 - 0.116739)
archetype_transform_norm: 8.336683 (range: 8.336683 - 8.336683)
archetype_transform_grad_norm: 0.285833 (range: 0.285833 - 0.285833)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0193, max=0.3803, mean=0.1667
Batch reconstruction MSE: 0.9280
Archetype stats: min=-13.6834, max=14.4417
Archetype change since last debug: 1.999206
Archetype gradients: norm=0.039890, mean=0.001777
Epoch 1/1
Average loss: 0.7608
Archetypal loss: 0.8315
KLD loss: 0.1243
Reconstruction loss: 0.8315
Archetype R²: 0.1139
Archetype transform grad norm: 0.297637
Archetype transform param norm: 8.3988
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.7608 (range: 0.7608 - 0.7608)
archetypal_loss: 0.8315 (range: 0.8315 - 0.8315)
kld_loss: 0.1243 (range: 0.1243 - 0.1243)
reconstruction_loss: 0.8315 (range: 0.8315 - 0.8315)
archetype_r2: 0.1139 (range: 0.1139 - 0.1139)
Archetype Transform Summary:
archetype_transform_mean: -0.001419 (range: -0.001419 - -0.001419)
archetype_transform_std: 0.117610 (range: 0.117610 - 0.117610)
archetype_transform_norm: 8.398813 (range: 8.398813 - 8.398813)
archetype_transform_grad_norm: 0.297637 (range: 0.297637 - 0.297637)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0188, max=0.3524, mean=0.1667
Batch reconstruction MSE: 0.9686
Archetype stats: min=-13.9907, max=14.5813
Archetype change since last debug: 2.125567
Archetype gradients: norm=0.037286, mean=0.001495
Epoch 1/1
Average loss: 0.7597
Archetypal loss: 0.8314
KLD loss: 0.1144
Reconstruction loss: 0.8314
Archetype R²: 0.1139
Archetype transform grad norm: 0.291725
Archetype transform param norm: 8.4537
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.7597 (range: 0.7597 - 0.7597)
archetypal_loss: 0.8314 (range: 0.8314 - 0.8314)
kld_loss: 0.1144 (range: 0.1144 - 0.1144)
reconstruction_loss: 0.8314 (range: 0.8314 - 0.8314)
archetype_r2: 0.1139 (range: 0.1139 - 0.1139)
Archetype Transform Summary:
archetype_transform_mean: -0.001506 (range: -0.001506 - -0.001506)
archetype_transform_std: 0.118377 (range: 0.118377 - 0.118377)
archetype_transform_norm: 8.453652 (range: 8.453652 - 8.453652)
archetype_transform_grad_norm: 0.291725 (range: 0.291725 - 0.291725)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0182, max=0.4021, mean=0.1667
Batch reconstruction MSE: 0.9626
Archetype stats: min=-14.2889, max=15.0910
Archetype change since last debug: 1.989504
Archetype gradients: norm=0.056606, mean=0.002365
Epoch 1/1
Average loss: 0.7610
Archetypal loss: 0.8314
KLD loss: 0.1268
Reconstruction loss: 0.8314
Archetype R²: 0.1138
Archetype transform grad norm: 0.298187
Archetype transform param norm: 8.4960
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.7610 (range: 0.7610 - 0.7610)
archetypal_loss: 0.8314 (range: 0.8314 - 0.8314)
kld_loss: 0.1268 (range: 0.1268 - 0.1268)
reconstruction_loss: 0.8314 (range: 0.8314 - 0.8314)
archetype_r2: 0.1138 (range: 0.1138 - 0.1138)
Archetype Transform Summary:
archetype_transform_mean: -0.001459 (range: -0.001459 - -0.001459)
archetype_transform_std: 0.118970 (range: 0.118970 - 0.118970)
archetype_transform_norm: 8.495956 (range: 8.495956 - 8.495956)
archetype_transform_grad_norm: 0.298187 (range: 0.298187 - 0.298187)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0209, max=0.3933, mean=0.1667
Batch reconstruction MSE: 1.1538
Archetype stats: min=-14.2890, max=15.2224
Archetype change since last debug: 1.775594
Archetype gradients: norm=0.058018, mean=0.002485
Epoch 1/1
Average loss: 0.7627
Archetypal loss: 0.8354
KLD loss: 0.1077
Reconstruction loss: 0.8354
Archetype R²: 0.1091
Archetype transform grad norm: 0.302001
Archetype transform param norm: 8.5023
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.7627 (range: 0.7627 - 0.7627)
archetypal_loss: 0.8354 (range: 0.8354 - 0.8354)
kld_loss: 0.1077 (range: 0.1077 - 0.1077)
reconstruction_loss: 0.8354 (range: 0.8354 - 0.8354)
archetype_r2: 0.1091 (range: 0.1091 - 0.1091)
Archetype Transform Summary:
archetype_transform_mean: -0.001556 (range: -0.001556 - -0.001556)
archetype_transform_std: 0.119057 (range: 0.119057 - 0.119057)
archetype_transform_norm: 8.502256 (range: 8.502256 - 8.502256)
archetype_transform_grad_norm: 0.302001 (range: 0.302001 - 0.302001)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0188, max=0.3736, mean=0.1667
Batch reconstruction MSE: 0.9528
Archetype stats: min=-14.2991, max=15.5625
Archetype change since last debug: 1.591755
Archetype gradients: norm=0.045117, mean=0.001503
Epoch 1/1
Average loss: 0.7594
Archetypal loss: 0.8303
KLD loss: 0.1217
Reconstruction loss: 0.8303
Archetype R²: 0.1150
Archetype transform grad norm: 0.285302
Archetype transform param norm: 8.5311
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.7594 (range: 0.7594 - 0.7594)
archetypal_loss: 0.8303 (range: 0.8303 - 0.8303)
kld_loss: 0.1217 (range: 0.1217 - 0.1217)
reconstruction_loss: 0.8303 (range: 0.8303 - 0.8303)
archetype_r2: 0.1150 (range: 0.1150 - 0.1150)
Archetype Transform Summary:
archetype_transform_mean: -0.001464 (range: -0.001464 - -0.001464)
archetype_transform_std: 0.119462 (range: 0.119462 - 0.119462)
archetype_transform_norm: 8.531062 (range: 8.531062 - 8.531062)
archetype_transform_grad_norm: 0.285302 (range: 0.285302 - 0.285302)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0302, max=0.3718, mean=0.1667
Batch reconstruction MSE: 0.9982
Archetype stats: min=-14.4477, max=15.8288
Archetype change since last debug: 1.798544
Archetype gradients: norm=0.035063, mean=0.001460
Epoch 1/1
Average loss: 0.7588
Archetypal loss: 0.8311
KLD loss: 0.1078
Reconstruction loss: 0.8311
Archetype R²: 0.1140
Archetype transform grad norm: 0.287361
Archetype transform param norm: 8.5669
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.7588 (range: 0.7588 - 0.7588)
archetypal_loss: 0.8311 (range: 0.8311 - 0.8311)
kld_loss: 0.1078 (range: 0.1078 - 0.1078)
reconstruction_loss: 0.8311 (range: 0.8311 - 0.8311)
archetype_r2: 0.1140 (range: 0.1140 - 0.1140)
Archetype Transform Summary:
archetype_transform_mean: -0.001546 (range: -0.001546 - -0.001546)
archetype_transform_std: 0.119962 (range: 0.119962 - 0.119962)
archetype_transform_norm: 8.566861 (range: 8.566861 - 8.566861)
archetype_transform_grad_norm: 0.287361 (range: 0.287361 - 0.287361)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0267, max=0.3846, mean=0.1667
Batch reconstruction MSE: 0.8916
Archetype stats: min=-14.6778, max=16.1923
Archetype change since last debug: 1.398545
Archetype gradients: norm=0.056513, mean=0.001815
Epoch 1/1
Average loss: 0.7574
Archetypal loss: 0.8289
KLD loss: 0.1139
Reconstruction loss: 0.8289
Archetype R²: 0.1166
Archetype transform grad norm: 0.294024
Archetype transform param norm: 8.6100
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.7574 (range: 0.7574 - 0.7574)
archetypal_loss: 0.8289 (range: 0.8289 - 0.8289)
kld_loss: 0.1139 (range: 0.1139 - 0.1139)
reconstruction_loss: 0.8289 (range: 0.8289 - 0.8289)
archetype_r2: 0.1166 (range: 0.1166 - 0.1166)
Archetype Transform Summary:
archetype_transform_mean: -0.001455 (range: -0.001455 - -0.001455)
archetype_transform_std: 0.120568 (range: 0.120568 - 0.120568)
archetype_transform_norm: 8.610042 (range: 8.610042 - 8.610042)
archetype_transform_grad_norm: 0.294024 (range: 0.294024 - 0.294024)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0304, max=0.3224, mean=0.1667
Batch reconstruction MSE: 0.9597
Archetype stats: min=-14.9372, max=16.4783
Archetype change since last debug: 1.911577
Archetype gradients: norm=0.046232, mean=0.001824
Epoch 1/1
Average loss: 0.7577
Archetypal loss: 0.8303
KLD loss: 0.1048
Reconstruction loss: 0.8303
Archetype R²: 0.1150
Archetype transform grad norm: 0.300084
Archetype transform param norm: 8.6494
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.7577 (range: 0.7577 - 0.7577)
archetypal_loss: 0.8303 (range: 0.8303 - 0.8303)
kld_loss: 0.1048 (range: 0.1048 - 0.1048)
reconstruction_loss: 0.8303 (range: 0.8303 - 0.8303)
archetype_r2: 0.1150 (range: 0.1150 - 0.1150)
Archetype Transform Summary:
archetype_transform_mean: -0.001559 (range: -0.001559 - -0.001559)
archetype_transform_std: 0.121118 (range: 0.121118 - 0.121118)
archetype_transform_norm: 8.649407 (range: 8.649407 - 8.649407)
archetype_transform_grad_norm: 0.300084 (range: 0.300084 - 0.300084)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0234, max=0.3571, mean=0.1667
Batch reconstruction MSE: 0.8979
Archetype stats: min=-15.2040, max=16.9023
Archetype change since last debug: 1.456978
Archetype gradients: norm=0.051368, mean=0.002067
Epoch 1/1
Average loss: 0.7565
Archetypal loss: 0.8285
KLD loss: 0.1093
Reconstruction loss: 0.8285
Archetype R²: 0.1169
Archetype transform grad norm: 0.298679
Archetype transform param norm: 8.6877
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.7565 (range: 0.7565 - 0.7565)
archetypal_loss: 0.8285 (range: 0.8285 - 0.8285)
kld_loss: 0.1093 (range: 0.1093 - 0.1093)
reconstruction_loss: 0.8285 (range: 0.8285 - 0.8285)
archetype_r2: 0.1169 (range: 0.1169 - 0.1169)
Archetype Transform Summary:
archetype_transform_mean: -0.001470 (range: -0.001470 - -0.001470)
archetype_transform_std: 0.121655 (range: 0.121655 - 0.121655)
archetype_transform_norm: 8.687658 (range: 8.687658 - 8.687658)
archetype_transform_grad_norm: 0.298679 (range: 0.298679 - 0.298679)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0239, max=0.3276, mean=0.1667
Batch reconstruction MSE: 0.9802
Archetype stats: min=-15.4125, max=17.0283
Archetype change since last debug: 1.625459
Archetype gradients: norm=0.052855, mean=0.002199
Epoch 1/1
Average loss: 0.7576
Archetypal loss: 0.8305
KLD loss: 0.1020
Reconstruction loss: 0.8305
Archetype R²: 0.1146
Archetype transform grad norm: 0.309273
Archetype transform param norm: 8.7147
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.7576 (range: 0.7576 - 0.7576)
archetypal_loss: 0.8305 (range: 0.8305 - 0.8305)
kld_loss: 0.1020 (range: 0.1020 - 0.1020)
reconstruction_loss: 0.8305 (range: 0.8305 - 0.8305)
archetype_r2: 0.1146 (range: 0.1146 - 0.1146)
Archetype Transform Summary:
archetype_transform_mean: -0.001559 (range: -0.001559 - -0.001559)
archetype_transform_std: 0.122032 (range: 0.122032 - 0.122032)
archetype_transform_norm: 8.714661 (range: 8.714661 - 8.714661)
archetype_transform_grad_norm: 0.309273 (range: 0.309273 - 0.309273)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0302, max=0.3638, mean=0.1667
Batch reconstruction MSE: 0.9518
Archetype stats: min=-15.5907, max=17.4175
Archetype change since last debug: 1.383579
Archetype gradients: norm=0.062985, mean=0.002718
Epoch 1/1
Average loss: 0.7571
Archetypal loss: 0.8294
KLD loss: 0.1064
Reconstruction loss: 0.8294
Archetype R²: 0.1158
Archetype transform grad norm: 0.306034
Archetype transform param norm: 8.7433
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.7571 (range: 0.7571 - 0.7571)
archetypal_loss: 0.8294 (range: 0.8294 - 0.8294)
kld_loss: 0.1064 (range: 0.1064 - 0.1064)
reconstruction_loss: 0.8294 (range: 0.8294 - 0.8294)
archetype_r2: 0.1158 (range: 0.1158 - 0.1158)
Archetype Transform Summary:
archetype_transform_mean: -0.001502 (range: -0.001502 - -0.001502)
archetype_transform_std: 0.122434 (range: 0.122434 - 0.122434)
archetype_transform_norm: 8.743335 (range: 8.743335 - 8.743335)
archetype_transform_grad_norm: 0.306034 (range: 0.306034 - 0.306034)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0245, max=0.3010, mean=0.1667
Batch reconstruction MSE: 1.0192
Archetype stats: min=-15.8642, max=17.3516
Archetype change since last debug: 1.450235
Archetype gradients: norm=0.059213, mean=0.002616
Epoch 1/1
Average loss: 0.7588
Archetypal loss: 0.8313
KLD loss: 0.1063
Reconstruction loss: 0.8313
Archetype R²: 0.1136
Archetype transform grad norm: 0.318072
Archetype transform param norm: 8.7515
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.7588 (range: 0.7588 - 0.7588)
archetypal_loss: 0.8313 (range: 0.8313 - 0.8313)
kld_loss: 0.1063 (range: 0.1063 - 0.1063)
reconstruction_loss: 0.8313 (range: 0.8313 - 0.8313)
archetype_r2: 0.1136 (range: 0.1136 - 0.1136)
Archetype Transform Summary:
archetype_transform_mean: -0.001602 (range: -0.001602 - -0.001602)
archetype_transform_std: 0.122546 (range: 0.122546 - 0.122546)
archetype_transform_norm: 8.751451 (range: 8.751451 - 8.751451)
archetype_transform_grad_norm: 0.318072 (range: 0.318072 - 0.318072)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0367, max=0.3550, mean=0.1667
Batch reconstruction MSE: 1.0664
Archetype stats: min=-15.8168, max=17.8502
Archetype change since last debug: 1.461636
Archetype gradients: norm=0.062461, mean=0.002922
Epoch 1/1
Average loss: 0.7592
Archetypal loss: 0.8322
KLD loss: 0.1020
Reconstruction loss: 0.8322
Archetype R²: 0.1125
Archetype transform grad norm: 0.320408
Archetype transform param norm: 8.7592
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.7592 (range: 0.7592 - 0.7592)
archetypal_loss: 0.8322 (range: 0.8322 - 0.8322)
kld_loss: 0.1020 (range: 0.1020 - 0.1020)
reconstruction_loss: 0.8322 (range: 0.8322 - 0.8322)
archetype_r2: 0.1125 (range: 0.1125 - 0.1125)
Archetype Transform Summary:
archetype_transform_mean: -0.001571 (range: -0.001571 - -0.001571)
archetype_transform_std: 0.122655 (range: 0.122655 - 0.122655)
archetype_transform_norm: 8.759172 (range: 8.759172 - 8.759172)
archetype_transform_grad_norm: 0.320408 (range: 0.320408 - 0.320408)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0373, max=0.3397, mean=0.1667
Batch reconstruction MSE: 0.9823
Archetype stats: min=-15.8725, max=17.3097
Archetype change since last debug: 1.968383
Archetype gradients: norm=0.043472, mean=0.002050
Epoch 1/1
Average loss: 0.7586
Archetypal loss: 0.8305
KLD loss: 0.1109
Reconstruction loss: 0.8305
Archetype R²: 0.1145
Archetype transform grad norm: 0.320917
Archetype transform param norm: 8.7638
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.7586 (range: 0.7586 - 0.7586)
archetypal_loss: 0.8305 (range: 0.8305 - 0.8305)
kld_loss: 0.1109 (range: 0.1109 - 0.1109)
reconstruction_loss: 0.8305 (range: 0.8305 - 0.8305)
archetype_r2: 0.1145 (range: 0.1145 - 0.1145)
Archetype Transform Summary:
archetype_transform_mean: -0.001649 (range: -0.001649 - -0.001649)
archetype_transform_std: 0.122719 (range: 0.122719 - 0.122719)
archetype_transform_norm: 8.763788 (range: 8.763788 - 8.763788)
archetype_transform_grad_norm: 0.320917 (range: 0.320917 - 0.320917)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0385, max=0.3431, mean=0.1667
Batch reconstruction MSE: 0.9975
Archetype stats: min=-15.6672, max=17.5943
Archetype change since last debug: 1.381305
Archetype gradients: norm=0.039112, mean=0.001812
Epoch 1/1
Average loss: 0.7567
Archetypal loss: 0.8299
KLD loss: 0.0980
Reconstruction loss: 0.8299
Archetype R²: 0.1151
Archetype transform grad norm: 0.304974
Archetype transform param norm: 8.7823
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.7567 (range: 0.7567 - 0.7567)
archetypal_loss: 0.8299 (range: 0.8299 - 0.8299)
kld_loss: 0.0980 (range: 0.0980 - 0.0980)
reconstruction_loss: 0.8299 (range: 0.8299 - 0.8299)
archetype_r2: 0.1151 (range: 0.1151 - 0.1151)
Archetype Transform Summary:
archetype_transform_mean: -0.001644 (range: -0.001644 - -0.001644)
archetype_transform_std: 0.122978 (range: 0.122978 - 0.122978)
archetype_transform_norm: 8.782327 (range: 8.782327 - 8.782327)
archetype_transform_grad_norm: 0.304974 (range: 0.304974 - 0.304974)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0346, max=0.3328, mean=0.1667
Batch reconstruction MSE: 0.9250
Archetype stats: min=-15.7325, max=17.3906
Archetype change since last debug: 1.277207
Archetype gradients: norm=0.030868, mean=0.001147
Epoch 1/1
Average loss: 0.7558
Archetypal loss: 0.8279
KLD loss: 0.1074
Reconstruction loss: 0.8279
Archetype R²: 0.1174
Archetype transform grad norm: 0.290906
Archetype transform param norm: 8.8037
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.7558 (range: 0.7558 - 0.7558)
archetypal_loss: 0.8279 (range: 0.8279 - 0.8279)
kld_loss: 0.1074 (range: 0.1074 - 0.1074)
reconstruction_loss: 0.8279 (range: 0.8279 - 0.8279)
archetype_r2: 0.1174 (range: 0.1174 - 0.1174)
Archetype Transform Summary:
archetype_transform_mean: -0.001676 (range: -0.001676 - -0.001676)
archetype_transform_std: 0.123278 (range: 0.123278 - 0.123278)
archetype_transform_norm: 8.803746 (range: 8.803746 - 8.803746)
archetype_transform_grad_norm: 0.290906 (range: 0.290906 - 0.290906)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0273, max=0.3608, mean=0.1667
Batch reconstruction MSE: 1.0209
Archetype stats: min=-15.8285, max=17.7557
Archetype change since last debug: 1.415983
Archetype gradients: norm=0.045324, mean=0.001999
Epoch 1/1
Average loss: 0.7571
Archetypal loss: 0.8308
KLD loss: 0.0932
Reconstruction loss: 0.8308
Archetype R²: 0.1141
Archetype transform grad norm: 0.309834
Archetype transform param norm: 8.8141
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.7571 (range: 0.7571 - 0.7571)
archetypal_loss: 0.8308 (range: 0.8308 - 0.8308)
kld_loss: 0.0932 (range: 0.0932 - 0.0932)
reconstruction_loss: 0.8308 (range: 0.8308 - 0.8308)
archetype_r2: 0.1141 (range: 0.1141 - 0.1141)
Archetype Transform Summary:
archetype_transform_mean: -0.001644 (range: -0.001644 - -0.001644)
archetype_transform_std: 0.123424 (range: 0.123424 - 0.123424)
archetype_transform_norm: 8.814145 (range: 8.814145 - 8.814145)
archetype_transform_grad_norm: 0.309834 (range: 0.309834 - 0.309834)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0593, max=0.3406, mean=0.1667
Batch reconstruction MSE: 0.9090
Archetype stats: min=-15.9270, max=17.6996
Archetype change since last debug: 0.951513
Archetype gradients: norm=0.035661, mean=0.001571
Epoch 1/1
Average loss: 0.7561
Archetypal loss: 0.8278
KLD loss: 0.1112
Reconstruction loss: 0.8278
Archetype R²: 0.1175
Archetype transform grad norm: 0.300026
Archetype transform param norm: 8.8351
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.7561 (range: 0.7561 - 0.7561)
archetypal_loss: 0.8278 (range: 0.8278 - 0.8278)
kld_loss: 0.1112 (range: 0.1112 - 0.1112)
reconstruction_loss: 0.8278 (range: 0.8278 - 0.8278)
archetype_r2: 0.1175 (range: 0.1175 - 0.1175)
Archetype Transform Summary:
archetype_transform_mean: -0.001671 (range: -0.001671 - -0.001671)
archetype_transform_std: 0.123717 (range: 0.123717 - 0.123717)
archetype_transform_norm: 8.835074 (range: 8.835074 - 8.835074)
archetype_transform_grad_norm: 0.300026 (range: 0.300026 - 0.300026)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0388, max=0.3877, mean=0.1667
Batch reconstruction MSE: 1.1166
Archetype stats: min=-16.0986, max=18.1013
Archetype change since last debug: 1.412735
Archetype gradients: norm=0.059363, mean=0.002358
Epoch 1/1
Average loss: 0.7575
Archetypal loss: 0.8317
KLD loss: 0.0900
Reconstruction loss: 0.8317
Archetype R²: 0.1129
Archetype transform grad norm: 0.297879
Archetype transform param norm: 8.8264
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.7575 (range: 0.7575 - 0.7575)
archetypal_loss: 0.8317 (range: 0.8317 - 0.8317)
kld_loss: 0.0900 (range: 0.0900 - 0.0900)
reconstruction_loss: 0.8317 (range: 0.8317 - 0.8317)
archetype_r2: 0.1129 (range: 0.1129 - 0.1129)
Archetype Transform Summary:
archetype_transform_mean: -0.001642 (range: -0.001642 - -0.001642)
archetype_transform_std: 0.123596 (range: 0.123596 - 0.123596)
archetype_transform_norm: 8.826431 (range: 8.826431 - 8.826431)
archetype_transform_grad_norm: 0.297879 (range: 0.297879 - 0.297879)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0368, max=0.3761, mean=0.1667
Batch reconstruction MSE: 0.8927
Archetype stats: min=-15.9563, max=17.8653
Archetype change since last debug: 1.176167
Archetype gradients: norm=0.037868, mean=0.001627
Epoch 1/1
Average loss: 0.7548
Archetypal loss: 0.8268
KLD loss: 0.1071
Reconstruction loss: 0.8268
Archetype R²: 0.1185
Archetype transform grad norm: 0.292106
Archetype transform param norm: 8.8500
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.7548 (range: 0.7548 - 0.7548)
archetypal_loss: 0.8268 (range: 0.8268 - 0.8268)
kld_loss: 0.1071 (range: 0.1071 - 0.1071)
reconstruction_loss: 0.8268 (range: 0.8268 - 0.8268)
archetype_r2: 0.1185 (range: 0.1185 - 0.1185)
Archetype Transform Summary:
archetype_transform_mean: -0.001657 (range: -0.001657 - -0.001657)
archetype_transform_std: 0.123926 (range: 0.123926 - 0.123926)
archetype_transform_norm: 8.850026 (range: 8.850026 - 8.850026)
archetype_transform_grad_norm: 0.292106 (range: 0.292106 - 0.292106)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0371, max=0.3325, mean=0.1667
Batch reconstruction MSE: 1.0165
Archetype stats: min=-16.2040, max=18.3283
Archetype change since last debug: 1.480200
Archetype gradients: norm=0.043082, mean=0.001805
Epoch 1/1
Average loss: 0.7555
Archetypal loss: 0.8292
KLD loss: 0.0918
Reconstruction loss: 0.8292
Archetype R²: 0.1157
Archetype transform grad norm: 0.300351
Archetype transform param norm: 8.8654
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.7555 (range: 0.7555 - 0.7555)
archetypal_loss: 0.8292 (range: 0.8292 - 0.8292)
kld_loss: 0.0918 (range: 0.0918 - 0.0918)
reconstruction_loss: 0.8292 (range: 0.8292 - 0.8292)
archetype_r2: 0.1157 (range: 0.1157 - 0.1157)
Archetype Transform Summary:
archetype_transform_mean: -0.001677 (range: -0.001677 - -0.001677)
archetype_transform_std: 0.124141 (range: 0.124141 - 0.124141)
archetype_transform_norm: 8.865413 (range: 8.865413 - 8.865413)
archetype_transform_grad_norm: 0.300351 (range: 0.300351 - 0.300351)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0591, max=0.3248, mean=0.1667
Batch reconstruction MSE: 0.9166
Archetype stats: min=-16.2375, max=18.0106
Archetype change since last debug: 1.162640
Archetype gradients: norm=0.047869, mean=0.002196
Epoch 1/1
Average loss: 0.7555
Archetypal loss: 0.8273
KLD loss: 0.1091
Reconstruction loss: 0.8273
Archetype R²: 0.1179
Archetype transform grad norm: 0.309086
Archetype transform param norm: 8.8865
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.7555 (range: 0.7555 - 0.7555)
archetypal_loss: 0.8273 (range: 0.8273 - 0.8273)
kld_loss: 0.1091 (range: 0.1091 - 0.1091)
reconstruction_loss: 0.8273 (range: 0.8273 - 0.8273)
archetype_r2: 0.1179 (range: 0.1179 - 0.1179)
Archetype Transform Summary:
archetype_transform_mean: -0.001679 (range: -0.001679 - -0.001679)
archetype_transform_std: 0.124437 (range: 0.124437 - 0.124437)
archetype_transform_norm: 8.886489 (range: 8.886489 - 8.886489)
archetype_transform_grad_norm: 0.309086 (range: 0.309086 - 0.309086)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0404, max=0.3296, mean=0.1667
Batch reconstruction MSE: 1.0974
Archetype stats: min=-16.4465, max=18.4883
Archetype change since last debug: 1.634279
Archetype gradients: norm=0.056104, mean=0.002607
Epoch 1/1
Average loss: 0.7576
Archetypal loss: 0.8314
KLD loss: 0.0938
Reconstruction loss: 0.8314
Archetype R²: 0.1132
Archetype transform grad norm: 0.319720
Archetype transform param norm: 8.8883
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.7576 (range: 0.7576 - 0.7576)
archetypal_loss: 0.8314 (range: 0.8314 - 0.8314)
kld_loss: 0.0938 (range: 0.0938 - 0.0938)
reconstruction_loss: 0.8314 (range: 0.8314 - 0.8314)
archetype_r2: 0.1132 (range: 0.1132 - 0.1132)
Archetype Transform Summary:
archetype_transform_mean: -0.001697 (range: -0.001697 - -0.001697)
archetype_transform_std: 0.124461 (range: 0.124461 - 0.124461)
archetype_transform_norm: 8.888269 (range: 8.888269 - 8.888269)
archetype_transform_grad_norm: 0.319720 (range: 0.319720 - 0.319720)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0475, max=0.3503, mean=0.1667
Batch reconstruction MSE: 0.9483
Archetype stats: min=-16.0612, max=17.5984
Archetype change since last debug: 1.878648
Archetype gradients: norm=0.060483, mean=0.002566
Epoch 1/1
Average loss: 0.7551
Archetypal loss: 0.8276
KLD loss: 0.1024
Reconstruction loss: 0.8276
Archetype R²: 0.1175
Archetype transform grad norm: 0.302598
Archetype transform param norm: 8.8934
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.7551 (range: 0.7551 - 0.7551)
archetypal_loss: 0.8276 (range: 0.8276 - 0.8276)
kld_loss: 0.1024 (range: 0.1024 - 0.1024)
reconstruction_loss: 0.8276 (range: 0.8276 - 0.8276)
archetype_r2: 0.1175 (range: 0.1175 - 0.1175)
Archetype Transform Summary:
archetype_transform_mean: -0.001687 (range: -0.001687 - -0.001687)
archetype_transform_std: 0.124533 (range: 0.124533 - 0.124533)
archetype_transform_norm: 8.893380 (range: 8.893380 - 8.893380)
archetype_transform_grad_norm: 0.302598 (range: 0.302598 - 0.302598)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0633, max=0.3518, mean=0.1667
Batch reconstruction MSE: 0.9698
Archetype stats: min=-16.4284, max=18.1669
Archetype change since last debug: 1.851394
Archetype gradients: norm=0.056168, mean=0.002816
Epoch 1/1
Average loss: 0.7557
Archetypal loss: 0.8286
KLD loss: 0.0995
Reconstruction loss: 0.8286
Archetype R²: 0.1164
Archetype transform grad norm: 0.320889
Archetype transform param norm: 8.9242
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.7557 (range: 0.7557 - 0.7557)
archetypal_loss: 0.8286 (range: 0.8286 - 0.8286)
kld_loss: 0.0995 (range: 0.0995 - 0.0995)
reconstruction_loss: 0.8286 (range: 0.8286 - 0.8286)
archetype_r2: 0.1164 (range: 0.1164 - 0.1164)
Archetype Transform Summary:
archetype_transform_mean: -0.001781 (range: -0.001781 - -0.001781)
archetype_transform_std: 0.124963 (range: 0.124963 - 0.124963)
archetype_transform_norm: 8.924152 (range: 8.924152 - 8.924152)
archetype_transform_grad_norm: 0.320889 (range: 0.320889 - 0.320889)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0586, max=0.3408, mean=0.1667
Batch reconstruction MSE: 1.0173
Archetype stats: min=-16.1455, max=17.5442
Archetype change since last debug: 1.956451
Archetype gradients: norm=0.097340, mean=0.003829
Epoch 1/1
Average loss: 0.7560
Archetypal loss: 0.8293
KLD loss: 0.0959
Reconstruction loss: 0.8293
Archetype R²: 0.1154
Archetype transform grad norm: 0.313931
Archetype transform param norm: 8.9098
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.7560 (range: 0.7560 - 0.7560)
archetypal_loss: 0.8293 (range: 0.8293 - 0.8293)
kld_loss: 0.0959 (range: 0.0959 - 0.0959)
reconstruction_loss: 0.8293 (range: 0.8293 - 0.8293)
archetype_r2: 0.1154 (range: 0.1154 - 0.1154)
Archetype Transform Summary:
archetype_transform_mean: -0.001675 (range: -0.001675 - -0.001675)
archetype_transform_std: 0.124763 (range: 0.124763 - 0.124763)
archetype_transform_norm: 8.909802 (range: 8.909802 - 8.909802)
archetype_transform_grad_norm: 0.313931 (range: 0.313931 - 0.313931)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0552, max=0.3207, mean=0.1667
Batch reconstruction MSE: 0.9425
Archetype stats: min=-16.2897, max=18.1355
Archetype change since last debug: 1.848576
Archetype gradients: norm=0.060237, mean=0.002857
Epoch 1/1
Average loss: 0.7547
Archetypal loss: 0.8275
KLD loss: 0.0994
Reconstruction loss: 0.8275
Archetype R²: 0.1176
Archetype transform grad norm: 0.313946
Archetype transform param norm: 8.9387
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.7547 (range: 0.7547 - 0.7547)
archetypal_loss: 0.8275 (range: 0.8275 - 0.8275)
kld_loss: 0.0994 (range: 0.0994 - 0.0994)
reconstruction_loss: 0.8275 (range: 0.8275 - 0.8275)
archetype_r2: 0.1176 (range: 0.1176 - 0.1176)
Archetype Transform Summary:
archetype_transform_mean: -0.001773 (range: -0.001773 - -0.001773)
archetype_transform_std: 0.125166 (range: 0.125166 - 0.125166)
archetype_transform_norm: 8.938692 (range: 8.938692 - 8.938692)
archetype_transform_grad_norm: 0.313946 (range: 0.313946 - 0.313946)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0654, max=0.3102, mean=0.1667
Batch reconstruction MSE: 0.9479
Archetype stats: min=-16.2004, max=17.6889
Archetype change since last debug: 1.730016
Archetype gradients: norm=0.070907, mean=0.002854
Epoch 1/1
Average loss: 0.7538
Archetypal loss: 0.8273
KLD loss: 0.0921
Reconstruction loss: 0.8273
Archetype R²: 0.1178
Archetype transform grad norm: 0.303137
Archetype transform param norm: 8.9447
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.7538 (range: 0.7538 - 0.7538)
archetypal_loss: 0.8273 (range: 0.8273 - 0.8273)
kld_loss: 0.0921 (range: 0.0921 - 0.0921)
reconstruction_loss: 0.8273 (range: 0.8273 - 0.8273)
archetype_r2: 0.1178 (range: 0.1178 - 0.1178)
Archetype Transform Summary:
archetype_transform_mean: -0.001665 (range: -0.001665 - -0.001665)
archetype_transform_std: 0.125252 (range: 0.125252 - 0.125252)
archetype_transform_norm: 8.944660 (range: 8.944660 - 8.944660)
archetype_transform_grad_norm: 0.303137 (range: 0.303137 - 0.303137)
Fold 3/3
Model input_dim: 50 (auto-detected from data)
Archetypes parameter registered: True
Archetypes requires_grad: True
Deep_AA (Deep Archetypal Analysis) initialized:
- Single-stage architecture (like Deep_2)
- Inflation factor: 1.5
- Direct archetypal coordinates (no bottleneck)
Consolidated Archetype Initialization
PCHA: True, Inflation: True (factor: 1.5)
Test inflation: False
Running PCHA initialization...
Input shape: (128, 50)
Target archetypes: 6
Running PCHA with 6 archetypes...
Data shape for PCHA: (50, 128)
PCHA Results:
Archetypes shape: (6, 50)
Archetype R²: 0.2233
SSE: 4384.1061
PCHA archetype R²: 0.2233
Archetype shape: (6, 50)
[OK] Initialized 6 archetypes using PCHA
Scalar Archetypal Inflation (factor: 1.50)
[OK] Inflation complete
[STATS] Positioning verification:
Data radius (max): 16.061
Data radius (mean): 6.037
Archetype distances: 3.365 to 11.476
Archetypes outside data: 0/6
Min archetype separation: 6.592
[OK] Archetype initialization complete (success: True)
[OK] Archetype initialization complete (PCHA: True, Inflation: 1.5)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0023, max=0.8560, mean=0.1667
Batch reconstruction MSE: 0.9014
Archetype stats: min=-1.0395, max=0.8958
Archetype gradients: norm=0.008074, mean=0.000351
Epoch 1/1
Average loss: 0.8880
Archetypal loss: 0.9840
KLD loss: 0.0248
Reconstruction loss: 0.9840
Archetype R²: -0.0110
Archetype transform grad norm: 0.111464
Archetype transform param norm: 5.7375
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.8880 (range: 0.8880 - 0.8880)
archetypal_loss: 0.9840 (range: 0.9840 - 0.9840)
kld_loss: 0.0248 (range: 0.0248 - 0.0248)
reconstruction_loss: 0.9840 (range: 0.9840 - 0.9840)
archetype_r2: -0.0110 (range: -0.0110 - -0.0110)
Archetype Transform Summary:
archetype_transform_mean: -0.000726 (range: -0.000726 - -0.000726)
archetype_transform_std: 0.080345 (range: 0.080345 - 0.080345)
archetype_transform_norm: 5.737488 (range: 5.737488 - 5.737488)
archetype_transform_grad_norm: 0.111464 (range: 0.111464 - 0.111464)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0000, max=0.9998, mean=0.1667
Batch reconstruction MSE: 0.8529
Archetype stats: min=-0.6506, max=0.6845
Archetype change since last debug: 4.032219
Archetype gradients: norm=0.003823, mean=0.000162
Epoch 1/1
Average loss: 0.8894
Archetypal loss: 0.9771
KLD loss: 0.1003
Reconstruction loss: 0.9771
Archetype R²: -0.0039
Archetype transform grad norm: 0.097107
Archetype transform param norm: 5.7533
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.8894 (range: 0.8894 - 0.8894)
archetypal_loss: 0.9771 (range: 0.9771 - 0.9771)
kld_loss: 0.1003 (range: 0.1003 - 0.1003)
reconstruction_loss: 0.9771 (range: 0.9771 - 0.9771)
archetype_r2: -0.0039 (range: -0.0039 - -0.0039)
Archetype Transform Summary:
archetype_transform_mean: -0.000535 (range: -0.000535 - -0.000535)
archetype_transform_std: 0.080569 (range: 0.080569 - 0.080569)
archetype_transform_norm: 5.753348 (range: 5.753348 - 5.753348)
archetype_transform_grad_norm: 0.097107 (range: 0.097107 - 0.097107)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0004, max=0.9558, mean=0.1667
Batch reconstruction MSE: 0.8574
Archetype stats: min=-1.1701, max=1.3582
Archetype change since last debug: 2.718639
Archetype gradients: norm=0.003368, mean=0.000128
Epoch 1/1
Average loss: 0.8793
Archetypal loss: 0.9659
KLD loss: 0.0996
Reconstruction loss: 0.9659
Archetype R²: 0.0074
Archetype transform grad norm: 0.116617
Archetype transform param norm: 5.8544
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.8793 (range: 0.8793 - 0.8793)
archetypal_loss: 0.9659 (range: 0.9659 - 0.9659)
kld_loss: 0.0996 (range: 0.0996 - 0.0996)
reconstruction_loss: 0.9659 (range: 0.9659 - 0.9659)
archetype_r2: 0.0074 (range: 0.0074 - 0.0074)
Archetype Transform Summary:
archetype_transform_mean: -0.000570 (range: -0.000570 - -0.000570)
archetype_transform_std: 0.081984 (range: 0.081984 - 0.081984)
archetype_transform_norm: 5.854407 (range: 5.854407 - 5.854407)
archetype_transform_grad_norm: 0.116617 (range: 0.116617 - 0.116617)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0006, max=0.9641, mean=0.1667
Batch reconstruction MSE: 0.9044
Archetype stats: min=-2.5251, max=2.9689
Archetype change since last debug: 5.800188
Archetype gradients: norm=0.008375, mean=0.000350
Epoch 1/1
Average loss: 0.8673
Archetypal loss: 0.9501
KLD loss: 0.1215
Reconstruction loss: 0.9501
Archetype R²: 0.0234
Archetype transform grad norm: 0.142030
Archetype transform param norm: 6.0797
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.8673 (range: 0.8673 - 0.8673)
archetypal_loss: 0.9501 (range: 0.9501 - 0.9501)
kld_loss: 0.1215 (range: 0.1215 - 0.1215)
reconstruction_loss: 0.9501 (range: 0.9501 - 0.9501)
archetype_r2: 0.0234 (range: 0.0234 - 0.0234)
Archetype Transform Summary:
archetype_transform_mean: -0.000453 (range: -0.000453 - -0.000453)
archetype_transform_std: 0.085140 (range: 0.085140 - 0.085140)
archetype_transform_norm: 6.079717 (range: 6.079717 - 6.079717)
archetype_transform_grad_norm: 0.142030 (range: 0.142030 - 0.142030)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0018, max=0.9511, mean=0.1667
Batch reconstruction MSE: 0.9329
Archetype stats: min=-4.0888, max=4.6702
Archetype change since last debug: 7.686566
Archetype gradients: norm=0.022516, mean=0.000710
Epoch 1/1
Average loss: 0.8556
Archetypal loss: 0.9348
KLD loss: 0.1433
Reconstruction loss: 0.9348
Archetype R²: 0.0391
Archetype transform grad norm: 0.168198
Archetype transform param norm: 6.3891
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.8556 (range: 0.8556 - 0.8556)
archetypal_loss: 0.9348 (range: 0.9348 - 0.9348)
kld_loss: 0.1433 (range: 0.1433 - 0.1433)
reconstruction_loss: 0.9348 (range: 0.9348 - 0.9348)
archetype_r2: 0.0391 (range: 0.0391 - 0.0391)
Archetype Transform Summary:
archetype_transform_mean: 0.000003 (range: 0.000003 - 0.000003)
archetype_transform_std: 0.089474 (range: 0.089474 - 0.089474)
archetype_transform_norm: 6.389131 (range: 6.389131 - 6.389131)
archetype_transform_grad_norm: 0.168198 (range: 0.168198 - 0.168198)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0005, max=0.9153, mean=0.1667
Batch reconstruction MSE: 1.1678
Archetype stats: min=-5.9644, max=7.2861
Archetype change since last debug: 8.288234
Archetype gradients: norm=0.051476, mean=0.001741
Epoch 1/1
Average loss: 0.8522
Archetypal loss: 0.9296
KLD loss: 0.1556
Reconstruction loss: 0.9296
Archetype R²: 0.0437
Archetype transform grad norm: 0.196889
Archetype transform param norm: 6.6402
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.8522 (range: 0.8522 - 0.8522)
archetypal_loss: 0.9296 (range: 0.9296 - 0.9296)
kld_loss: 0.1556 (range: 0.1556 - 0.1556)
reconstruction_loss: 0.9296 (range: 0.9296 - 0.9296)
archetype_r2: 0.0437 (range: 0.0437 - 0.0437)
Archetype Transform Summary:
archetype_transform_mean: 0.000417 (range: 0.000417 - 0.000417)
archetype_transform_std: 0.092990 (range: 0.092990 - 0.092990)
archetype_transform_norm: 6.640218 (range: 6.640218 - 6.640218)
archetype_transform_grad_norm: 0.196889 (range: 0.196889 - 0.196889)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0013, max=0.9846, mean=0.1667
Batch reconstruction MSE: 1.1378
Archetype stats: min=-6.8172, max=7.9016
Archetype change since last debug: 5.778445
Archetype gradients: norm=0.054411, mean=0.002063
Epoch 1/1
Average loss: 0.8473
Archetypal loss: 0.9201
KLD loss: 0.1925
Reconstruction loss: 0.9201
Archetype R²: 0.0536
Archetype transform grad norm: 0.203136
Archetype transform param norm: 6.8314
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.8473 (range: 0.8473 - 0.8473)
archetypal_loss: 0.9201 (range: 0.9201 - 0.9201)
kld_loss: 0.1925 (range: 0.1925 - 0.1925)
reconstruction_loss: 0.9201 (range: 0.9201 - 0.9201)
archetype_r2: 0.0536 (range: 0.0536 - 0.0536)
Archetype Transform Summary:
archetype_transform_mean: 0.000793 (range: 0.000793 - 0.000793)
archetype_transform_std: 0.095665 (range: 0.095665 - 0.095665)
archetype_transform_norm: 6.831414 (range: 6.831414 - 6.831414)
archetype_transform_grad_norm: 0.203136 (range: 0.203136 - 0.203136)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0040, max=0.9373, mean=0.1667
Batch reconstruction MSE: 1.1661
Archetype stats: min=-7.0028, max=8.9230
Archetype change since last debug: 4.999513
Archetype gradients: norm=0.071637, mean=0.002666
Epoch 1/1
Average loss: 0.8389
Archetypal loss: 0.9113
KLD loss: 0.1880
Reconstruction loss: 0.9113
Archetype R²: 0.0625
Archetype transform grad norm: 0.204105
Archetype transform param norm: 7.0368
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.8389 (range: 0.8389 - 0.8389)
archetypal_loss: 0.9113 (range: 0.9113 - 0.9113)
kld_loss: 0.1880 (range: 0.1880 - 0.1880)
reconstruction_loss: 0.9113 (range: 0.9113 - 0.9113)
archetype_r2: 0.0625 (range: 0.0625 - 0.0625)
Archetype Transform Summary:
archetype_transform_mean: 0.000783 (range: 0.000783 - 0.000783)
archetype_transform_std: 0.098542 (range: 0.098542 - 0.098542)
archetype_transform_norm: 7.036843 (range: 7.036843 - 7.036843)
archetype_transform_grad_norm: 0.204105 (range: 0.204105 - 0.204105)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0015, max=0.9321, mean=0.1667
Batch reconstruction MSE: 1.0657
Archetype stats: min=-7.9305, max=10.5761
Archetype change since last debug: 4.988847
Archetype gradients: norm=0.040787, mean=0.001855
Epoch 1/1
Average loss: 0.8286
Archetypal loss: 0.9004
KLD loss: 0.1818
Reconstruction loss: 0.9004
Archetype R²: 0.0740
Archetype transform grad norm: 0.205432
Archetype transform param norm: 7.2666
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.8286 (range: 0.8286 - 0.8286)
archetypal_loss: 0.9004 (range: 0.9004 - 0.9004)
kld_loss: 0.1818 (range: 0.1818 - 0.1818)
reconstruction_loss: 0.9004 (range: 0.9004 - 0.9004)
archetype_r2: 0.0740 (range: 0.0740 - 0.0740)
Archetype Transform Summary:
archetype_transform_mean: 0.000980 (range: 0.000980 - 0.000980)
archetype_transform_std: 0.101758 (range: 0.101758 - 0.101758)
archetype_transform_norm: 7.266573 (range: 7.266573 - 7.266573)
archetype_transform_grad_norm: 0.205432 (range: 0.205432 - 0.205432)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0059, max=0.8615, mean=0.1667
Batch reconstruction MSE: 1.0010
Archetype stats: min=-8.7361, max=11.8546
Archetype change since last debug: 5.064343
Archetype gradients: norm=0.059717, mean=0.002183
Epoch 1/1
Average loss: 0.8195
Archetypal loss: 0.8900
KLD loss: 0.1854
Reconstruction loss: 0.8900
Archetype R²: 0.0849
Archetype transform grad norm: 0.206693
Archetype transform param norm: 7.5223
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.8195 (range: 0.8195 - 0.8195)
archetypal_loss: 0.8900 (range: 0.8900 - 0.8900)
kld_loss: 0.1854 (range: 0.1854 - 0.1854)
reconstruction_loss: 0.8900 (range: 0.8900 - 0.8900)
archetype_r2: 0.0849 (range: 0.0849 - 0.0849)
Archetype Transform Summary:
archetype_transform_mean: 0.001184 (range: 0.001184 - 0.001184)
archetype_transform_std: 0.105337 (range: 0.105337 - 0.105337)
archetype_transform_norm: 7.522301 (range: 7.522301 - 7.522301)
archetype_transform_grad_norm: 0.206693 (range: 0.206693 - 0.206693)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0011, max=0.8036, mean=0.1667
Batch reconstruction MSE: 1.1332
Archetype stats: min=-9.7691, max=13.6044
Archetype change since last debug: 5.531085
Archetype gradients: norm=0.073000, mean=0.002486
Epoch 1/1
Average loss: 0.8183
Archetypal loss: 0.8892
KLD loss: 0.1802
Reconstruction loss: 0.8892
Archetype R²: 0.0854
Archetype transform grad norm: 0.231384
Archetype transform param norm: 7.7394
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.8183 (range: 0.8183 - 0.8183)
archetypal_loss: 0.8892 (range: 0.8892 - 0.8892)
kld_loss: 0.1802 (range: 0.1802 - 0.1802)
reconstruction_loss: 0.8892 (range: 0.8892 - 0.8892)
archetype_r2: 0.0854 (range: 0.0854 - 0.0854)
Archetype Transform Summary:
archetype_transform_mean: 0.001277 (range: 0.001277 - 0.001277)
archetype_transform_std: 0.108376 (range: 0.108376 - 0.108376)
archetype_transform_norm: 7.739390 (range: 7.739390 - 7.739390)
archetype_transform_grad_norm: 0.231384 (range: 0.231384 - 0.231384)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0051, max=0.8653, mean=0.1667
Batch reconstruction MSE: 1.2856
Archetype stats: min=-10.2653, max=14.7155
Archetype change since last debug: 4.854989
Archetype gradients: norm=0.141612, mean=0.004973
Epoch 1/1
Average loss: 0.8186
Archetypal loss: 0.8871
KLD loss: 0.2027
Reconstruction loss: 0.8871
Archetype R²: 0.0871
Archetype transform grad norm: 0.234097
Archetype transform param norm: 7.8609
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.8186 (range: 0.8186 - 0.8186)
archetypal_loss: 0.8871 (range: 0.8871 - 0.8871)
kld_loss: 0.2027 (range: 0.2027 - 0.2027)
reconstruction_loss: 0.8871 (range: 0.8871 - 0.8871)
archetype_r2: 0.0871 (range: 0.0871 - 0.0871)
Archetype Transform Summary:
archetype_transform_mean: 0.001407 (range: 0.001407 - 0.001407)
archetype_transform_std: 0.110077 (range: 0.110077 - 0.110077)
archetype_transform_norm: 7.860949 (range: 7.860949 - 7.860949)
archetype_transform_grad_norm: 0.234097 (range: 0.234097 - 0.234097)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0097, max=0.7291, mean=0.1667
Batch reconstruction MSE: 1.3699
Archetype stats: min=-11.0384, max=16.1059
Archetype change since last debug: 3.363160
Archetype gradients: norm=0.098545, mean=0.003689
Epoch 1/1
Average loss: 0.8169
Archetypal loss: 0.8874
KLD loss: 0.1823
Reconstruction loss: 0.8874
Archetype R²: 0.0865
Archetype transform grad norm: 0.251524
Archetype transform param norm: 7.9568
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.8169 (range: 0.8169 - 0.8169)
archetypal_loss: 0.8874 (range: 0.8874 - 0.8874)
kld_loss: 0.1823 (range: 0.1823 - 0.1823)
reconstruction_loss: 0.8874 (range: 0.8874 - 0.8874)
archetype_r2: 0.0865 (range: 0.0865 - 0.0865)
Archetype Transform Summary:
archetype_transform_mean: 0.001542 (range: 0.001542 - 0.001542)
archetype_transform_std: 0.111417 (range: 0.111417 - 0.111417)
archetype_transform_norm: 7.956774 (range: 7.956774 - 7.956774)
archetype_transform_grad_norm: 0.251524 (range: 0.251524 - 0.251524)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0096, max=0.7570, mean=0.1667
Batch reconstruction MSE: 1.2505
Archetype stats: min=-10.6827, max=15.8666
Archetype change since last debug: 4.050651
Archetype gradients: norm=0.092284, mean=0.004282
Epoch 1/1
Average loss: 0.8115
Archetypal loss: 0.8810
KLD loss: 0.1857
Reconstruction loss: 0.8810
Archetype R²: 0.0933
Archetype transform grad norm: 0.238761
Archetype transform param norm: 8.0453
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.8115 (range: 0.8115 - 0.8115)
archetypal_loss: 0.8810 (range: 0.8810 - 0.8810)
kld_loss: 0.1857 (range: 0.1857 - 0.1857)
reconstruction_loss: 0.8810 (range: 0.8810 - 0.8810)
archetype_r2: 0.0933 (range: 0.0933 - 0.0933)
Archetype Transform Summary:
archetype_transform_mean: 0.001351 (range: 0.001351 - 0.001351)
archetype_transform_std: 0.112659 (range: 0.112659 - 0.112659)
archetype_transform_norm: 8.045265 (range: 8.045265 - 8.045265)
archetype_transform_grad_norm: 0.238761 (range: 0.238761 - 0.238761)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0098, max=0.6897, mean=0.1667
Batch reconstruction MSE: 1.0453
Archetype stats: min=-11.0712, max=16.7928
Archetype change since last debug: 2.863713
Archetype gradients: norm=0.061279, mean=0.002546
Epoch 1/1
Average loss: 0.8036
Archetypal loss: 0.8740
KLD loss: 0.1706
Reconstruction loss: 0.8740
Archetype R²: 0.1011
Archetype transform grad norm: 0.225385
Archetype transform param norm: 8.1691
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.8036 (range: 0.8036 - 0.8036)
archetypal_loss: 0.8740 (range: 0.8740 - 0.8740)
kld_loss: 0.1706 (range: 0.1706 - 0.1706)
reconstruction_loss: 0.8740 (range: 0.8740 - 0.8740)
archetype_r2: 0.1011 (range: 0.1011 - 0.1011)
Archetype Transform Summary:
archetype_transform_mean: 0.001522 (range: 0.001522 - 0.001522)
archetype_transform_std: 0.114391 (range: 0.114391 - 0.114391)
archetype_transform_norm: 8.169082 (range: 8.169082 - 8.169082)
archetype_transform_grad_norm: 0.225385 (range: 0.225385 - 0.225385)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0097, max=0.7491, mean=0.1667
Batch reconstruction MSE: 1.0230
Archetype stats: min=-11.3899, max=17.3611
Archetype change since last debug: 3.095267
Archetype gradients: norm=0.047299, mean=0.002085
Epoch 1/1
Average loss: 0.8010
Archetypal loss: 0.8713
KLD loss: 0.1687
Reconstruction loss: 0.8713
Archetype R²: 0.1039
Archetype transform grad norm: 0.230305
Archetype transform param norm: 8.3044
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.8010 (range: 0.8010 - 0.8010)
archetypal_loss: 0.8713 (range: 0.8713 - 0.8713)
kld_loss: 0.1687 (range: 0.1687 - 0.1687)
reconstruction_loss: 0.8713 (range: 0.8713 - 0.8713)
archetype_r2: 0.1039 (range: 0.1039 - 0.1039)
Archetype Transform Summary:
archetype_transform_mean: 0.001499 (range: 0.001499 - 0.001499)
archetype_transform_std: 0.116286 (range: 0.116286 - 0.116286)
archetype_transform_norm: 8.304377 (range: 8.304377 - 8.304377)
archetype_transform_grad_norm: 0.230305 (range: 0.230305 - 0.230305)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0113, max=0.6072, mean=0.1667
Batch reconstruction MSE: 1.0802
Archetype stats: min=-11.9754, max=18.2363
Archetype change since last debug: 3.168310
Archetype gradients: norm=0.080736, mean=0.003149
Epoch 1/1
Average loss: 0.8003
Archetypal loss: 0.8721
KLD loss: 0.1547
Reconstruction loss: 0.8721
Archetype R²: 0.1029
Archetype transform grad norm: 0.236490
Archetype transform param norm: 8.4054
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.8003 (range: 0.8003 - 0.8003)
archetypal_loss: 0.8721 (range: 0.8721 - 0.8721)
kld_loss: 0.1547 (range: 0.1547 - 0.1547)
reconstruction_loss: 0.8721 (range: 0.8721 - 0.8721)
archetype_r2: 0.1029 (range: 0.1029 - 0.1029)
Archetype Transform Summary:
archetype_transform_mean: 0.001622 (range: 0.001622 - 0.001622)
archetype_transform_std: 0.117699 (range: 0.117699 - 0.117699)
archetype_transform_norm: 8.405397 (range: 8.405397 - 8.405397)
archetype_transform_grad_norm: 0.236490 (range: 0.236490 - 0.236490)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0063, max=0.8572, mean=0.1667
Batch reconstruction MSE: 1.0179
Archetype stats: min=-12.3364, max=18.4455
Archetype change since last debug: 2.552839
Archetype gradients: norm=0.062907, mean=0.002787
Epoch 1/1
Average loss: 0.8001
Archetypal loss: 0.8700
KLD loss: 0.1711
Reconstruction loss: 0.8700
Archetype R²: 0.1051
Archetype transform grad norm: 0.249378
Archetype transform param norm: 8.5043
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.8001 (range: 0.8001 - 0.8001)
archetypal_loss: 0.8700 (range: 0.8700 - 0.8700)
kld_loss: 0.1711 (range: 0.1711 - 0.1711)
reconstruction_loss: 0.8700 (range: 0.8700 - 0.8700)
archetype_r2: 0.1051 (range: 0.1051 - 0.1051)
Archetype Transform Summary:
archetype_transform_mean: 0.001614 (range: 0.001614 - 0.001614)
archetype_transform_std: 0.119084 (range: 0.119084 - 0.119084)
archetype_transform_norm: 8.504253 (range: 8.504253 - 8.504253)
archetype_transform_grad_norm: 0.249378 (range: 0.249378 - 0.249378)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0122, max=0.6415, mean=0.1667
Batch reconstruction MSE: 1.2933
Archetype stats: min=-12.7772, max=19.2289
Archetype change since last debug: 2.843571
Archetype gradients: norm=0.117999, mean=0.004547
Epoch 1/1
Average loss: 0.8030
Archetypal loss: 0.8756
KLD loss: 0.1492
Reconstruction loss: 0.8756
Archetype R²: 0.0985
Archetype transform grad norm: 0.253089
Archetype transform param norm: 8.5361
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.8030 (range: 0.8030 - 0.8030)
archetypal_loss: 0.8756 (range: 0.8756 - 0.8756)
kld_loss: 0.1492 (range: 0.1492 - 0.1492)
reconstruction_loss: 0.8756 (range: 0.8756 - 0.8756)
archetype_r2: 0.0985 (range: 0.0985 - 0.0985)
Archetype Transform Summary:
archetype_transform_mean: 0.001719 (range: 0.001719 - 0.001719)
archetype_transform_std: 0.119529 (range: 0.119529 - 0.119529)
archetype_transform_norm: 8.536129 (range: 8.536129 - 8.536129)
archetype_transform_grad_norm: 0.253089 (range: 0.253089 - 0.253089)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0137, max=0.7773, mean=0.1667
Batch reconstruction MSE: 1.0914
Archetype stats: min=-12.7640, max=19.1512
Archetype change since last debug: 1.653879
Archetype gradients: norm=0.067414, mean=0.002748
Epoch 1/1
Average loss: 0.7985
Archetypal loss: 0.8701
KLD loss: 0.1547
Reconstruction loss: 0.8701
Archetype R²: 0.1048
Archetype transform grad norm: 0.249680
Archetype transform param norm: 8.5937
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.7985 (range: 0.7985 - 0.7985)
archetypal_loss: 0.8701 (range: 0.8701 - 0.8701)
kld_loss: 0.1547 (range: 0.1547 - 0.1547)
reconstruction_loss: 0.8701 (range: 0.8701 - 0.8701)
archetype_r2: 0.1048 (range: 0.1048 - 0.1048)
Archetype Transform Summary:
archetype_transform_mean: 0.001606 (range: 0.001606 - 0.001606)
archetype_transform_std: 0.120337 (range: 0.120337 - 0.120337)
archetype_transform_norm: 8.593716 (range: 8.593716 - 8.593716)
archetype_transform_grad_norm: 0.249680 (range: 0.249680 - 0.249680)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0147, max=0.6652, mean=0.1667
Batch reconstruction MSE: 1.0985
Archetype stats: min=-13.3361, max=19.9032
Archetype change since last debug: 2.308293
Archetype gradients: norm=0.087427, mean=0.003791
Epoch 1/1
Average loss: 0.7977
Archetypal loss: 0.8699
KLD loss: 0.1480
Reconstruction loss: 0.8699
Archetype R²: 0.1049
Archetype transform grad norm: 0.250541
Archetype transform param norm: 8.6471
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.7977 (range: 0.7977 - 0.7977)
archetypal_loss: 0.8699 (range: 0.8699 - 0.8699)
kld_loss: 0.1480 (range: 0.1480 - 0.1480)
reconstruction_loss: 0.8699 (range: 0.8699 - 0.8699)
archetype_r2: 0.1049 (range: 0.1049 - 0.1049)
Archetype Transform Summary:
archetype_transform_mean: 0.001788 (range: 0.001788 - 0.001788)
archetype_transform_std: 0.121082 (range: 0.121082 - 0.121082)
archetype_transform_norm: 8.647101 (range: 8.647101 - 8.647101)
archetype_transform_grad_norm: 0.250541 (range: 0.250541 - 0.250541)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0137, max=0.6477, mean=0.1667
Batch reconstruction MSE: 1.0459
Archetype stats: min=-13.4448, max=20.1001
Archetype change since last debug: 1.731439
Archetype gradients: norm=0.051928, mean=0.002213
Epoch 1/1
Average loss: 0.7946
Archetypal loss: 0.8673
KLD loss: 0.1407
Reconstruction loss: 0.8673
Archetype R²: 0.1077
Archetype transform grad norm: 0.243376
Archetype transform param norm: 8.7150
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.7946 (range: 0.7946 - 0.7946)
archetypal_loss: 0.8673 (range: 0.8673 - 0.8673)
kld_loss: 0.1407 (range: 0.1407 - 0.1407)
reconstruction_loss: 0.8673 (range: 0.8673 - 0.8673)
archetype_r2: 0.1077 (range: 0.1077 - 0.1077)
Archetype Transform Summary:
archetype_transform_mean: 0.001647 (range: 0.001647 - 0.001647)
archetype_transform_std: 0.122035 (range: 0.122035 - 0.122035)
archetype_transform_norm: 8.714966 (range: 8.714966 - 8.714966)
archetype_transform_grad_norm: 0.243376 (range: 0.243376 - 0.243376)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0178, max=0.5585, mean=0.1667
Batch reconstruction MSE: 0.9537
Archetype stats: min=-13.9389, max=20.7638
Archetype change since last debug: 2.061121
Archetype gradients: norm=0.049020, mean=0.002194
Epoch 1/1
Average loss: 0.7933
Archetypal loss: 0.8652
KLD loss: 0.1469
Reconstruction loss: 0.8652
Archetype R²: 0.1101
Archetype transform grad norm: 0.245066
Archetype transform param norm: 8.7945
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.7933 (range: 0.7933 - 0.7933)
archetypal_loss: 0.8652 (range: 0.8652 - 0.8652)
kld_loss: 0.1469 (range: 0.1469 - 0.1469)
reconstruction_loss: 0.8652 (range: 0.8652 - 0.8652)
archetype_r2: 0.1101 (range: 0.1101 - 0.1101)
Archetype Transform Summary:
archetype_transform_mean: 0.001792 (range: 0.001792 - 0.001792)
archetype_transform_std: 0.123146 (range: 0.123146 - 0.123146)
archetype_transform_norm: 8.794458 (range: 8.794458 - 8.794458)
archetype_transform_grad_norm: 0.245066 (range: 0.245066 - 0.245066)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0169, max=0.5931, mean=0.1667
Batch reconstruction MSE: 1.0758
Archetype stats: min=-14.1729, max=21.1633
Archetype change since last debug: 2.100524
Archetype gradients: norm=0.059188, mean=0.002237
Epoch 1/1
Average loss: 0.7932
Archetypal loss: 0.8669
KLD loss: 0.1298
Reconstruction loss: 0.8669
Archetype R²: 0.1079
Archetype transform grad norm: 0.249080
Archetype transform param norm: 8.8465
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.7932 (range: 0.7932 - 0.7932)
archetypal_loss: 0.8669 (range: 0.8669 - 0.8669)
kld_loss: 0.1298 (range: 0.1298 - 0.1298)
reconstruction_loss: 0.8669 (range: 0.8669 - 0.8669)
archetype_r2: 0.1079 (range: 0.1079 - 0.1079)
Archetype Transform Summary:
archetype_transform_mean: 0.001700 (range: 0.001700 - 0.001700)
archetype_transform_std: 0.123876 (range: 0.123876 - 0.123876)
archetype_transform_norm: 8.846495 (range: 8.846495 - 8.846495)
archetype_transform_grad_norm: 0.249080 (range: 0.249080 - 0.249080)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0109, max=0.7238, mean=0.1667
Batch reconstruction MSE: 0.9255
Archetype stats: min=-14.5051, max=21.6680
Archetype change since last debug: 1.772563
Archetype gradients: norm=0.048028, mean=0.002196
Epoch 1/1
Average loss: 0.7926
Archetypal loss: 0.8637
KLD loss: 0.1522
Reconstruction loss: 0.8637
Archetype R²: 0.1115
Archetype transform grad norm: 0.247581
Archetype transform param norm: 8.9177
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.7926 (range: 0.7926 - 0.7926)
archetypal_loss: 0.8637 (range: 0.8637 - 0.8637)
kld_loss: 0.1522 (range: 0.1522 - 0.1522)
reconstruction_loss: 0.8637 (range: 0.8637 - 0.8637)
archetype_r2: 0.1115 (range: 0.1115 - 0.1115)
Archetype Transform Summary:
archetype_transform_mean: 0.001838 (range: 0.001838 - 0.001838)
archetype_transform_std: 0.124871 (range: 0.124871 - 0.124871)
archetype_transform_norm: 8.917664 (range: 8.917664 - 8.917664)
archetype_transform_grad_norm: 0.247581 (range: 0.247581 - 0.247581)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0125, max=0.5496, mean=0.1667
Batch reconstruction MSE: 1.1934
Archetype stats: min=-14.8425, max=22.1454
Archetype change since last debug: 2.047614
Archetype gradients: norm=0.058588, mean=0.002452
Epoch 1/1
Average loss: 0.7935
Archetypal loss: 0.8682
KLD loss: 0.1208
Reconstruction loss: 0.8682
Archetype R²: 0.1061
Archetype transform grad norm: 0.246957
Archetype transform param norm: 8.9370
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.7935 (range: 0.7935 - 0.7935)
archetypal_loss: 0.8682 (range: 0.8682 - 0.8682)
kld_loss: 0.1208 (range: 0.1208 - 0.1208)
reconstruction_loss: 0.8682 (range: 0.8682 - 0.8682)
archetype_r2: 0.1061 (range: 0.1061 - 0.1061)
Archetype Transform Summary:
archetype_transform_mean: 0.001710 (range: 0.001710 - 0.001710)
archetype_transform_std: 0.125143 (range: 0.125143 - 0.125143)
archetype_transform_norm: 8.936963 (range: 8.936963 - 8.936963)
archetype_transform_grad_norm: 0.246957 (range: 0.246957 - 0.246957)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0086, max=0.7376, mean=0.1667
Batch reconstruction MSE: 0.9018
Archetype stats: min=-14.8868, max=22.2767
Archetype change since last debug: 1.079542
Archetype gradients: norm=0.030019, mean=0.001205
Epoch 1/1
Average loss: 0.7913
Archetypal loss: 0.8623
KLD loss: 0.1520
Reconstruction loss: 0.8623
Archetype R²: 0.1130
Archetype transform grad norm: 0.243745
Archetype transform param norm: 8.9968
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.7913 (range: 0.7913 - 0.7913)
archetypal_loss: 0.8623 (range: 0.8623 - 0.8623)
kld_loss: 0.1520 (range: 0.1520 - 0.1520)
reconstruction_loss: 0.8623 (range: 0.8623 - 0.8623)
archetype_r2: 0.1130 (range: 0.1130 - 0.1130)
Archetype Transform Summary:
archetype_transform_mean: 0.001818 (range: 0.001818 - 0.001818)
archetype_transform_std: 0.125979 (range: 0.125979 - 0.125979)
archetype_transform_norm: 8.996785 (range: 8.996785 - 8.996785)
archetype_transform_grad_norm: 0.243745 (range: 0.243745 - 0.243745)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0147, max=0.5296, mean=0.1667
Batch reconstruction MSE: 1.3480
Archetype stats: min=-15.1645, max=22.6608
Archetype change since last debug: 1.995286
Archetype gradients: norm=0.106236, mean=0.003922
Epoch 1/1
Average loss: 0.7957
Archetypal loss: 0.8710
KLD loss: 0.1180
Reconstruction loss: 0.8710
Archetype R²: 0.1026
Archetype transform grad norm: 0.250140
Archetype transform param norm: 8.9745
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.7957 (range: 0.7957 - 0.7957)
archetypal_loss: 0.8710 (range: 0.8710 - 0.8710)
kld_loss: 0.1180 (range: 0.1180 - 0.1180)
reconstruction_loss: 0.8710 (range: 0.8710 - 0.8710)
archetype_r2: 0.1026 (range: 0.1026 - 0.1026)
Archetype Transform Summary:
archetype_transform_mean: 0.001794 (range: 0.001794 - 0.001794)
archetype_transform_std: 0.125668 (range: 0.125668 - 0.125668)
archetype_transform_norm: 8.974546 (range: 8.974546 - 8.974546)
archetype_transform_grad_norm: 0.250140 (range: 0.250140 - 0.250140)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0111, max=0.7267, mean=0.1667
Batch reconstruction MSE: 1.0198
Archetype stats: min=-14.7724, max=22.1120
Archetype change since last debug: 1.707941
Archetype gradients: norm=0.079009, mean=0.003055
Epoch 1/1
Average loss: 0.7928
Archetypal loss: 0.8645
KLD loss: 0.1473
Reconstruction loss: 0.8645
Archetype R²: 0.1102
Archetype transform grad norm: 0.254623
Archetype transform param norm: 9.0068
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.7928 (range: 0.7928 - 0.7928)
archetypal_loss: 0.8645 (range: 0.8645 - 0.8645)
kld_loss: 0.1473 (range: 0.1473 - 0.1473)
reconstruction_loss: 0.8645 (range: 0.8645 - 0.8645)
archetype_r2: 0.1102 (range: 0.1102 - 0.1102)
Archetype Transform Summary:
archetype_transform_mean: 0.001790 (range: 0.001790 - 0.001790)
archetype_transform_std: 0.126120 (range: 0.126120 - 0.126120)
archetype_transform_norm: 9.006827 (range: 9.006827 - 9.006827)
archetype_transform_grad_norm: 0.254623 (range: 0.254623 - 0.254623)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0164, max=0.6087, mean=0.1667
Batch reconstruction MSE: 1.2701
Archetype stats: min=-15.0828, max=22.6355
Archetype change since last debug: 1.688744
Archetype gradients: norm=0.158936, mean=0.005620
Epoch 1/1
Average loss: 0.7974
Archetypal loss: 0.8707
KLD loss: 0.1377
Reconstruction loss: 0.8707
Archetype R²: 0.1031
Archetype transform grad norm: 0.273720
Archetype transform param norm: 8.9831
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.7974 (range: 0.7974 - 0.7974)
archetypal_loss: 0.8707 (range: 0.8707 - 0.8707)
kld_loss: 0.1377 (range: 0.1377 - 0.1377)
reconstruction_loss: 0.8707 (range: 0.8707 - 0.8707)
archetype_r2: 0.1031 (range: 0.1031 - 0.1031)
Archetype Transform Summary:
archetype_transform_mean: 0.001849 (range: 0.001849 - 0.001849)
archetype_transform_std: 0.125787 (range: 0.125787 - 0.125787)
archetype_transform_norm: 8.983068 (range: 8.983068 - 8.983068)
archetype_transform_grad_norm: 0.273720 (range: 0.273720 - 0.273720)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0200, max=0.6175, mean=0.1667
Batch reconstruction MSE: 1.1604
Archetype stats: min=-14.8433, max=22.3481
Archetype change since last debug: 1.853814
Archetype gradients: norm=0.092877, mean=0.004332
Epoch 1/1
Average loss: 0.7945
Archetypal loss: 0.8672
KLD loss: 0.1400
Reconstruction loss: 0.8672
Archetype R²: 0.1070
Archetype transform grad norm: 0.266275
Archetype transform param norm: 8.9846
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.7945 (range: 0.7945 - 0.7945)
archetypal_loss: 0.8672 (range: 0.8672 - 0.8672)
kld_loss: 0.1400 (range: 0.1400 - 0.1400)
reconstruction_loss: 0.8672 (range: 0.8672 - 0.8672)
archetype_r2: 0.1070 (range: 0.1070 - 0.1070)
Archetype Transform Summary:
archetype_transform_mean: 0.001697 (range: 0.001697 - 0.001697)
archetype_transform_std: 0.125810 (range: 0.125810 - 0.125810)
archetype_transform_norm: 8.984573 (range: 8.984573 - 8.984573)
archetype_transform_grad_norm: 0.266275 (range: 0.266275 - 0.266275)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0215, max=0.6014, mean=0.1667
Batch reconstruction MSE: 1.0372
Archetype stats: min=-15.0477, max=22.7221
Archetype change since last debug: 1.515299
Archetype gradients: norm=0.077686, mean=0.003642
Epoch 1/1
Average loss: 0.7907
Archetypal loss: 0.8639
KLD loss: 0.1322
Reconstruction loss: 0.8639
Archetype R²: 0.1107
Archetype transform grad norm: 0.255606
Archetype transform param norm: 9.0158
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.7907 (range: 0.7907 - 0.7907)
archetypal_loss: 0.8639 (range: 0.8639 - 0.8639)
kld_loss: 0.1322 (range: 0.1322 - 0.1322)
reconstruction_loss: 0.8639 (range: 0.8639 - 0.8639)
archetype_r2: 0.1107 (range: 0.1107 - 0.1107)
Archetype Transform Summary:
archetype_transform_mean: 0.001906 (range: 0.001906 - 0.001906)
archetype_transform_std: 0.126245 (range: 0.126245 - 0.126245)
archetype_transform_norm: 9.015839 (range: 9.015839 - 9.015839)
archetype_transform_grad_norm: 0.255606 (range: 0.255606 - 0.255606)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0267, max=0.5442, mean=0.1667
Batch reconstruction MSE: 0.9500
Archetype stats: min=-14.9233, max=22.5825
Archetype change since last debug: 1.420209
Archetype gradients: norm=0.056520, mean=0.002560
Epoch 1/1
Average loss: 0.7884
Archetypal loss: 0.8617
KLD loss: 0.1290
Reconstruction loss: 0.8617
Archetype R²: 0.1132
Archetype transform grad norm: 0.254864
Archetype transform param norm: 9.0676
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.7884 (range: 0.7884 - 0.7884)
archetypal_loss: 0.8617 (range: 0.8617 - 0.8617)
kld_loss: 0.1290 (range: 0.1290 - 0.1290)
reconstruction_loss: 0.8617 (range: 0.8617 - 0.8617)
archetype_r2: 0.1132 (range: 0.1132 - 0.1132)
Archetype Transform Summary:
archetype_transform_mean: 0.001740 (range: 0.001740 - 0.001740)
archetype_transform_std: 0.126973 (range: 0.126973 - 0.126973)
archetype_transform_norm: 9.067633 (range: 9.067633 - 9.067633)
archetype_transform_grad_norm: 0.254864 (range: 0.254864 - 0.254864)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0199, max=0.5930, mean=0.1667
Batch reconstruction MSE: 0.9671
Archetype stats: min=-15.3685, max=23.2310
Archetype change since last debug: 1.734941
Archetype gradients: norm=0.059754, mean=0.002627
Epoch 1/1
Average loss: 0.7891
Archetypal loss: 0.8625
KLD loss: 0.1283
Reconstruction loss: 0.8625
Archetype R²: 0.1122
Archetype transform grad norm: 0.262608
Archetype transform param norm: 9.1181
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.7891 (range: 0.7891 - 0.7891)
archetypal_loss: 0.8625 (range: 0.8625 - 0.8625)
kld_loss: 0.1283 (range: 0.1283 - 0.1283)
reconstruction_loss: 0.8625 (range: 0.8625 - 0.8625)
archetype_r2: 0.1122 (range: 0.1122 - 0.1122)
Archetype Transform Summary:
archetype_transform_mean: 0.001907 (range: 0.001907 - 0.001907)
archetype_transform_std: 0.127677 (range: 0.127677 - 0.127677)
archetype_transform_norm: 9.118086 (range: 9.118086 - 9.118086)
archetype_transform_grad_norm: 0.262608 (range: 0.262608 - 0.262608)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0171, max=0.6545, mean=0.1667
Batch reconstruction MSE: 0.9978
Archetype stats: min=-15.1150, max=22.9096
Archetype change since last debug: 1.631513
Archetype gradients: norm=0.090148, mean=0.004081
Epoch 1/1
Average loss: 0.7887
Archetypal loss: 0.8624
KLD loss: 0.1251
Reconstruction loss: 0.8624
Archetype R²: 0.1122
Archetype transform grad norm: 0.264611
Archetype transform param norm: 9.1499
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.7887 (range: 0.7887 - 0.7887)
archetypal_loss: 0.8624 (range: 0.8624 - 0.8624)
kld_loss: 0.1251 (range: 0.1251 - 0.1251)
reconstruction_loss: 0.8624 (range: 0.8624 - 0.8624)
archetype_r2: 0.1122 (range: 0.1122 - 0.1122)
Archetype Transform Summary:
archetype_transform_mean: 0.001754 (range: 0.001754 - 0.001754)
archetype_transform_std: 0.128124 (range: 0.128124 - 0.128124)
archetype_transform_norm: 9.149858 (range: 9.149858 - 9.149858)
archetype_transform_grad_norm: 0.264611 (range: 0.264611 - 0.264611)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0198, max=0.5638, mean=0.1667
Batch reconstruction MSE: 1.0556
Archetype stats: min=-15.3673, max=23.3544
Archetype change since last debug: 1.493638
Archetype gradients: norm=0.090853, mean=0.004080
Epoch 1/1
Average loss: 0.7907
Archetypal loss: 0.8645
KLD loss: 0.1269
Reconstruction loss: 0.8645
Archetype R²: 0.1099
Archetype transform grad norm: 0.275879
Archetype transform param norm: 9.1781
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.7907 (range: 0.7907 - 0.7907)
archetypal_loss: 0.8645 (range: 0.8645 - 0.8645)
kld_loss: 0.1269 (range: 0.1269 - 0.1269)
reconstruction_loss: 0.8645 (range: 0.8645 - 0.8645)
archetype_r2: 0.1099 (range: 0.1099 - 0.1099)
Archetype Transform Summary:
archetype_transform_mean: 0.001876 (range: 0.001876 - 0.001876)
archetype_transform_std: 0.128517 (range: 0.128517 - 0.128517)
archetype_transform_norm: 9.178056 (range: 9.178056 - 9.178056)
archetype_transform_grad_norm: 0.275879 (range: 0.275879 - 0.275879)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0296, max=0.4876, mean=0.1667
Batch reconstruction MSE: 1.1325
Archetype stats: min=-14.7572, max=22.5897
Archetype change since last debug: 1.834967
Archetype gradients: norm=0.133996, mean=0.004964
Epoch 1/1
Average loss: 0.7910
Archetypal loss: 0.8655
KLD loss: 0.1203
Reconstruction loss: 0.8655
Archetype R²: 0.1086
Archetype transform grad norm: 0.272004
Archetype transform param norm: 9.1707
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.7910 (range: 0.7910 - 0.7910)
archetypal_loss: 0.8655 (range: 0.8655 - 0.8655)
kld_loss: 0.1203 (range: 0.1203 - 0.1203)
reconstruction_loss: 0.8655 (range: 0.8655 - 0.8655)
archetype_r2: 0.1086 (range: 0.1086 - 0.1086)
Archetype Transform Summary:
archetype_transform_mean: 0.001774 (range: 0.001774 - 0.001774)
archetype_transform_std: 0.128415 (range: 0.128415 - 0.128415)
archetype_transform_norm: 9.170670 (range: 9.170670 - 9.170670)
archetype_transform_grad_norm: 0.272004 (range: 0.272004 - 0.272004)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0108, max=0.7450, mean=0.1667
Batch reconstruction MSE: 0.9373
Archetype stats: min=-14.8256, max=22.8244
Archetype change since last debug: 1.623619
Archetype gradients: norm=0.060752, mean=0.002806
Epoch 1/1
Average loss: 0.7866
Archetypal loss: 0.8600
KLD loss: 0.1263
Reconstruction loss: 0.8600
Archetype R²: 0.1148
Archetype transform grad norm: 0.255285
Archetype transform param norm: 9.2076
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.7866 (range: 0.7866 - 0.7866)
archetypal_loss: 0.8600 (range: 0.8600 - 0.8600)
kld_loss: 0.1263 (range: 0.1263 - 0.1263)
reconstruction_loss: 0.8600 (range: 0.8600 - 0.8600)
archetype_r2: 0.1148 (range: 0.1148 - 0.1148)
Archetype Transform Summary:
archetype_transform_mean: 0.001828 (range: 0.001828 - 0.001828)
archetype_transform_std: 0.128932 (range: 0.128932 - 0.128932)
archetype_transform_norm: 9.207620 (range: 9.207620 - 9.207620)
archetype_transform_grad_norm: 0.255285 (range: 0.255285 - 0.255285)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0185, max=0.5715, mean=0.1667
Batch reconstruction MSE: 0.9238
Archetype stats: min=-14.8429, max=22.8042
Archetype change since last debug: 1.550289
Archetype gradients: norm=0.068553, mean=0.002568
Epoch 1/1
Average loss: 0.7850
Archetypal loss: 0.8595
KLD loss: 0.1153
Reconstruction loss: 0.8595
Archetype R²: 0.1153
Archetype transform grad norm: 0.253797
Archetype transform param norm: 9.2557
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.7850 (range: 0.7850 - 0.7850)
archetypal_loss: 0.8595 (range: 0.8595 - 0.8595)
kld_loss: 0.1153 (range: 0.1153 - 0.1153)
reconstruction_loss: 0.8595 (range: 0.8595 - 0.8595)
archetype_r2: 0.1153 (range: 0.1153 - 0.1153)
Archetype Transform Summary:
archetype_transform_mean: 0.001837 (range: 0.001837 - 0.001837)
archetype_transform_std: 0.129606 (range: 0.129606 - 0.129606)
archetype_transform_norm: 9.255730 (range: 9.255730 - 9.255730)
archetype_transform_grad_norm: 0.253797 (range: 0.253797 - 0.253797)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0187, max=0.6258, mean=0.1667
Batch reconstruction MSE: 0.8655
Archetype stats: min=-15.2220, max=23.4352
Archetype change since last debug: 1.619978
Archetype gradients: norm=0.056965, mean=0.002829
Epoch 1/1
Average loss: 0.7852
Archetypal loss: 0.8586
KLD loss: 0.1245
Reconstruction loss: 0.8586
Archetype R²: 0.1163
Archetype transform grad norm: 0.261789
Archetype transform param norm: 9.3101
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.7852 (range: 0.7852 - 0.7852)
archetypal_loss: 0.8586 (range: 0.8586 - 0.8586)
kld_loss: 0.1245 (range: 0.1245 - 0.1245)
reconstruction_loss: 0.8586 (range: 0.8586 - 0.8586)
archetype_r2: 0.1163 (range: 0.1163 - 0.1163)
Archetype Transform Summary:
archetype_transform_mean: 0.001856 (range: 0.001856 - 0.001856)
archetype_transform_std: 0.130367 (range: 0.130367 - 0.130367)
archetype_transform_norm: 9.310084 (range: 9.310084 - 9.310084)
archetype_transform_grad_norm: 0.261789 (range: 0.261789 - 0.261789)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0195, max=0.6096, mean=0.1667
Batch reconstruction MSE: 1.1788
Archetype stats: min=-15.3570, max=23.6410
Archetype change since last debug: 1.613710
Archetype gradients: norm=0.119776, mean=0.005084
Epoch 1/1
Average loss: 0.7907
Archetypal loss: 0.8662
KLD loss: 0.1110
Reconstruction loss: 0.8662
Archetype R²: 0.1076
Archetype transform grad norm: 0.279998
Archetype transform param norm: 9.2999
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.7907 (range: 0.7907 - 0.7907)
archetypal_loss: 0.8662 (range: 0.8662 - 0.8662)
kld_loss: 0.1110 (range: 0.1110 - 0.1110)
reconstruction_loss: 0.8662 (range: 0.8662 - 0.8662)
archetype_r2: 0.1076 (range: 0.1076 - 0.1076)
Archetype Transform Summary:
archetype_transform_mean: 0.001898 (range: 0.001898 - 0.001898)
archetype_transform_std: 0.130224 (range: 0.130224 - 0.130224)
archetype_transform_norm: 9.299944 (range: 9.299944 - 9.299944)
archetype_transform_grad_norm: 0.279998 (range: 0.279998 - 0.279998)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0200, max=0.6872, mean=0.1667
Batch reconstruction MSE: 1.0940
Archetype stats: min=-15.4152, max=23.7624
Archetype change since last debug: 1.867072
Archetype gradients: norm=0.086726, mean=0.003589
Epoch 1/1
Average loss: 0.7906
Archetypal loss: 0.8635
KLD loss: 0.1346
Reconstruction loss: 0.8635
Archetype R²: 0.1105
Archetype transform grad norm: 0.276127
Archetype transform param norm: 9.2959
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.7906 (range: 0.7906 - 0.7906)
archetypal_loss: 0.8635 (range: 0.8635 - 0.8635)
kld_loss: 0.1346 (range: 0.1346 - 0.1346)
reconstruction_loss: 0.8635 (range: 0.8635 - 0.8635)
archetype_r2: 0.1105 (range: 0.1105 - 0.1105)
Archetype Transform Summary:
archetype_transform_mean: 0.001818 (range: 0.001818 - 0.001818)
archetype_transform_std: 0.130169 (range: 0.130169 - 0.130169)
archetype_transform_norm: 9.295940 (range: 9.295940 - 9.295940)
archetype_transform_grad_norm: 0.276127 (range: 0.276127 - 0.276127)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0324, max=0.5751, mean=0.1667
Batch reconstruction MSE: 1.2902
Archetype stats: min=-15.5433, max=23.9803
Archetype change since last debug: 1.976359
Archetype gradients: norm=0.134184, mean=0.005454
Epoch 1/1
Average loss: 0.7925
Archetypal loss: 0.8679
KLD loss: 0.1141
Reconstruction loss: 0.8679
Archetype R²: 0.1054
Archetype transform grad norm: 0.271050
Archetype transform param norm: 9.2627
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.7925 (range: 0.7925 - 0.7925)
archetypal_loss: 0.8679 (range: 0.8679 - 0.8679)
kld_loss: 0.1141 (range: 0.1141 - 0.1141)
reconstruction_loss: 0.8679 (range: 0.8679 - 0.8679)
archetype_r2: 0.1054 (range: 0.1054 - 0.1054)
Archetype Transform Summary:
archetype_transform_mean: 0.001905 (range: 0.001905 - 0.001905)
archetype_transform_std: 0.129703 (range: 0.129703 - 0.129703)
archetype_transform_norm: 9.262723 (range: 9.262723 - 9.262723)
archetype_transform_grad_norm: 0.271050 (range: 0.271050 - 0.271050)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0096, max=0.7045, mean=0.1667
Batch reconstruction MSE: 0.9499
Archetype stats: min=-15.4838, max=23.9636
Archetype change since last debug: 2.109048
Archetype gradients: norm=0.051398, mean=0.002475
Epoch 1/1
Average loss: 0.7889
Archetypal loss: 0.8603
KLD loss: 0.1457
Reconstruction loss: 0.8603
Archetype R²: 0.1142
Archetype transform grad norm: 0.262698
Archetype transform param norm: 9.2814
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.7889 (range: 0.7889 - 0.7889)
archetypal_loss: 0.8603 (range: 0.8603 - 0.8603)
kld_loss: 0.1457 (range: 0.1457 - 0.1457)
reconstruction_loss: 0.8603 (range: 0.8603 - 0.8603)
archetype_r2: 0.1142 (range: 0.1142 - 0.1142)
Archetype Transform Summary:
archetype_transform_mean: 0.001741 (range: 0.001741 - 0.001741)
archetype_transform_std: 0.129967 (range: 0.129967 - 0.129967)
archetype_transform_norm: 9.281401 (range: 9.281401 - 9.281401)
archetype_transform_grad_norm: 0.262698 (range: 0.262698 - 0.262698)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0171, max=0.4962, mean=0.1667
Batch reconstruction MSE: 1.2950
Archetype stats: min=-15.4726, max=23.9714
Archetype change since last debug: 1.576464
Archetype gradients: norm=0.117575, mean=0.004544
Epoch 1/1
Average loss: 0.7904
Archetypal loss: 0.8666
KLD loss: 0.1043
Reconstruction loss: 0.8666
Archetype R²: 0.1066
Archetype transform grad norm: 0.251981
Archetype transform param norm: 9.2501
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.7904 (range: 0.7904 - 0.7904)
archetypal_loss: 0.8666 (range: 0.8666 - 0.8666)
kld_loss: 0.1043 (range: 0.1043 - 0.1043)
reconstruction_loss: 0.8666 (range: 0.8666 - 0.8666)
archetype_r2: 0.1066 (range: 0.1066 - 0.1066)
Archetype Transform Summary:
archetype_transform_mean: 0.001803 (range: 0.001803 - 0.001803)
archetype_transform_std: 0.129527 (range: 0.129527 - 0.129527)
archetype_transform_norm: 9.250071 (range: 9.250071 - 9.250071)
archetype_transform_grad_norm: 0.251981 (range: 0.251981 - 0.251981)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0132, max=0.7448, mean=0.1667
Batch reconstruction MSE: 0.8774
Archetype stats: min=-15.3198, max=23.7862
Archetype change since last debug: 1.467844
Archetype gradients: norm=0.031149, mean=0.001532
Epoch 1/1
Average loss: 0.7848
Archetypal loss: 0.8569
KLD loss: 0.1362
Reconstruction loss: 0.8569
Archetype R²: 0.1178
Archetype transform grad norm: 0.240212
Archetype transform param norm: 9.2872
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.7848 (range: 0.7848 - 0.7848)
archetypal_loss: 0.8569 (range: 0.8569 - 0.8569)
kld_loss: 0.1362 (range: 0.1362 - 0.1362)
reconstruction_loss: 0.8569 (range: 0.8569 - 0.8569)
archetype_r2: 0.1178 (range: 0.1178 - 0.1178)
Archetype Transform Summary:
archetype_transform_mean: 0.001779 (range: 0.001779 - 0.001779)
archetype_transform_std: 0.130048 (range: 0.130048 - 0.130048)
archetype_transform_norm: 9.287212 (range: 9.287212 - 9.287212)
archetype_transform_grad_norm: 0.240212 (range: 0.240212 - 0.240212)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0164, max=0.6464, mean=0.1667
Batch reconstruction MSE: 1.1657
Archetype stats: min=-15.4936, max=24.0704
Archetype change since last debug: 1.581844
Archetype gradients: norm=0.047389, mean=0.002250
Epoch 1/1
Average loss: 0.7871
Archetypal loss: 0.8630
KLD loss: 0.1035
Reconstruction loss: 0.8630
Archetype R²: 0.1106
Archetype transform grad norm: 0.245666
Archetype transform param norm: 9.2878
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.7871 (range: 0.7871 - 0.7871)
archetypal_loss: 0.8630 (range: 0.8630 - 0.8630)
kld_loss: 0.1035 (range: 0.1035 - 0.1035)
reconstruction_loss: 0.8630 (range: 0.8630 - 0.8630)
archetype_r2: 0.1106 (range: 0.1106 - 0.1106)
Archetype Transform Summary:
archetype_transform_mean: 0.001782 (range: 0.001782 - 0.001782)
archetype_transform_std: 0.130055 (range: 0.130055 - 0.130055)
archetype_transform_norm: 9.287774 (range: 9.287774 - 9.287774)
archetype_transform_grad_norm: 0.245666 (range: 0.245666 - 0.245666)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0151, max=0.7225, mean=0.1667
Batch reconstruction MSE: 0.8435
Archetype stats: min=-15.0985, max=23.5010
Archetype change since last debug: 1.091995
Archetype gradients: norm=0.028656, mean=0.001469
Epoch 1/1
Average loss: 0.7833
Archetypal loss: 0.8554
KLD loss: 0.1344
Reconstruction loss: 0.8554
Archetype R²: 0.1193
Archetype transform grad norm: 0.239150
Archetype transform param norm: 9.3368
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.7833 (range: 0.7833 - 0.7833)
archetypal_loss: 0.8554 (range: 0.8554 - 0.8554)
kld_loss: 0.1344 (range: 0.1344 - 0.1344)
reconstruction_loss: 0.8554 (range: 0.8554 - 0.8554)
archetype_r2: 0.1193 (range: 0.1193 - 0.1193)
Archetype Transform Summary:
archetype_transform_mean: 0.001801 (range: 0.001801 - 0.001801)
archetype_transform_std: 0.130742 (range: 0.130742 - 0.130742)
archetype_transform_norm: 9.336825 (range: 9.336825 - 9.336825)
archetype_transform_grad_norm: 0.239150 (range: 0.239150 - 0.239150)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0199, max=0.6481, mean=0.1667
Batch reconstruction MSE: 1.0960
Archetype stats: min=-15.5188, max=24.1713
Archetype change since last debug: 1.851730
Archetype gradients: norm=0.039275, mean=0.001729
Epoch 1/1
Average loss: 0.7850
Archetypal loss: 0.8610
KLD loss: 0.1019
Reconstruction loss: 0.8610
Archetype R²: 0.1128
Archetype transform grad norm: 0.244290
Archetype transform param norm: 9.3549
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.7850 (range: 0.7850 - 0.7850)
archetypal_loss: 0.8610 (range: 0.8610 - 0.8610)
kld_loss: 0.1019 (range: 0.1019 - 0.1019)
reconstruction_loss: 0.8610 (range: 0.8610 - 0.8610)
archetype_r2: 0.1128 (range: 0.1128 - 0.1128)
Archetype Transform Summary:
archetype_transform_mean: 0.001830 (range: 0.001830 - 0.001830)
archetype_transform_std: 0.130995 (range: 0.130995 - 0.130995)
archetype_transform_norm: 9.354936 (range: 9.354936 - 9.354936)
archetype_transform_grad_norm: 0.244290 (range: 0.244290 - 0.244290)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0134, max=0.7237, mean=0.1667
Batch reconstruction MSE: 0.8123
Archetype stats: min=-15.2727, max=23.7425
Archetype change since last debug: 1.020398
Archetype gradients: norm=0.044457, mean=0.001587
Epoch 1/1
Average loss: 0.7818
Archetypal loss: 0.8545
KLD loss: 0.1277
Reconstruction loss: 0.8545
Archetype R²: 0.1203
Archetype transform grad norm: 0.240841
Archetype transform param norm: 9.4079
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.7818 (range: 0.7818 - 0.7818)
archetypal_loss: 0.8545 (range: 0.8545 - 0.8545)
kld_loss: 0.1277 (range: 0.1277 - 0.1277)
reconstruction_loss: 0.8545 (range: 0.8545 - 0.8545)
archetype_r2: 0.1203 (range: 0.1203 - 0.1203)
Archetype Transform Summary:
archetype_transform_mean: 0.001865 (range: 0.001865 - 0.001865)
archetype_transform_std: 0.131737 (range: 0.131737 - 0.131737)
archetype_transform_norm: 9.407902 (range: 9.407902 - 9.407902)
archetype_transform_grad_norm: 0.240841 (range: 0.240841 - 0.240841)
[OK] Completed in 132.7s
[STATS] Mean archetype R²: 0.1089
[STATS] Mean validation R²: 0.1089
đź§Ş Configuration 17/20: {'n_archetypes': 7, 'hidden_dims': [128, 64], 'inflation_factor': 1.5, 'use_pcha_init': True, 'use_inflation': True}
Fold 1/3
Model input_dim: 50 (auto-detected from data)
Archetypes parameter registered: True
Archetypes requires_grad: True
Deep_AA (Deep Archetypal Analysis) initialized:
- Single-stage architecture (like Deep_2)
- Inflation factor: 1.5
- Direct archetypal coordinates (no bottleneck)
Consolidated Archetype Initialization
PCHA: True, Inflation: True (factor: 1.5)
Test inflation: False
Running PCHA initialization...
Input shape: (128, 50)
Target archetypes: 7
Running PCHA with 7 archetypes...
Data shape for PCHA: (50, 128)
PCHA Results:
Archetypes shape: (7, 50)
Archetype R²: 0.3243
SSE: 3652.6746
PCHA archetype R²: 0.3243
Archetype shape: (7, 50)
[OK] Initialized 7 archetypes using PCHA
Scalar Archetypal Inflation (factor: 1.50)
[OK] Inflation complete
[STATS] Positioning verification:
Data radius (max): 18.598
Data radius (mean): 5.863
Archetype distances: 3.665 to 25.413
Archetypes outside data: 3/7
Min archetype separation: 4.834
[OK] Archetype initialization complete (success: True)
[OK] Archetype initialization complete (PCHA: True, Inflation: 1.5)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0003, max=0.9110, mean=0.1429
Batch reconstruction MSE: 1.2000
Archetype stats: min=-2.2062, max=2.0590
Archetype gradients: norm=0.013522, mean=0.000561
Epoch 1/1
Average loss: 0.8804
Archetypal loss: 0.9730
KLD loss: 0.0467
Reconstruction loss: 0.9730
Archetype R²: -0.0217
Archetype transform grad norm: 0.210529
Archetype transform param norm: 5.7846
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.8804 (range: 0.8804 - 0.8804)
archetypal_loss: 0.9730 (range: 0.9730 - 0.9730)
kld_loss: 0.0467 (range: 0.0467 - 0.0467)
reconstruction_loss: 0.9730 (range: 0.9730 - 0.9730)
archetype_r2: -0.0217 (range: -0.0217 - -0.0217)
Archetype Transform Summary:
archetype_transform_mean: 0.000474 (range: 0.000474 - 0.000474)
archetype_transform_std: 0.081007 (range: 0.081007 - 0.081007)
archetype_transform_norm: 5.784569 (range: 5.784569 - 5.784569)
archetype_transform_grad_norm: 0.210529 (range: 0.210529 - 0.210529)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0036, max=0.8140, mean=0.1429
Batch reconstruction MSE: 1.0629
Archetype stats: min=-1.2856, max=1.0888
Archetype change since last debug: 8.451410
Archetype gradients: norm=0.002552, mean=0.000110
Epoch 1/1
Average loss: 0.8621
Archetypal loss: 0.9539
KLD loss: 0.0357
Reconstruction loss: 0.9539
Archetype R²: -0.0019
Archetype transform grad norm: 0.130107
Archetype transform param norm: 5.7841
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.8621 (range: 0.8621 - 0.8621)
archetypal_loss: 0.9539 (range: 0.9539 - 0.9539)
kld_loss: 0.0357 (range: 0.0357 - 0.0357)
reconstruction_loss: 0.9539 (range: 0.9539 - 0.9539)
archetype_r2: -0.0019 (range: -0.0019 - -0.0019)
Archetype Transform Summary:
archetype_transform_mean: 0.000644 (range: 0.000644 - 0.000644)
archetype_transform_std: 0.080999 (range: 0.080999 - 0.080999)
archetype_transform_norm: 5.784077 (range: 5.784077 - 5.784077)
archetype_transform_grad_norm: 0.130107 (range: 0.130107 - 0.130107)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0033, max=0.8342, mean=0.1429
Batch reconstruction MSE: 1.0656
Archetype stats: min=-1.9366, max=1.7090
Archetype change since last debug: 3.193757
Archetype gradients: norm=0.002750, mean=0.000114
Epoch 1/1
Average loss: 0.8534
Archetypal loss: 0.9381
KLD loss: 0.0912
Reconstruction loss: 0.9381
Archetype R²: 0.0148
Archetype transform grad norm: 0.157263
Archetype transform param norm: 5.8645
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.8534 (range: 0.8534 - 0.8534)
archetypal_loss: 0.9381 (range: 0.9381 - 0.9381)
kld_loss: 0.0912 (range: 0.0912 - 0.0912)
reconstruction_loss: 0.9381 (range: 0.9381 - 0.9381)
archetype_r2: 0.0148 (range: 0.0148 - 0.0148)
Archetype Transform Summary:
archetype_transform_mean: 0.000768 (range: 0.000768 - 0.000768)
archetype_transform_std: 0.082124 (range: 0.082124 - 0.082124)
archetype_transform_norm: 5.864519 (range: 5.864519 - 5.864519)
archetype_transform_grad_norm: 0.157263 (range: 0.157263 - 0.157263)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0038, max=0.8568, mean=0.1429
Batch reconstruction MSE: 1.1014
Archetype stats: min=-3.9846, max=3.8976
Archetype change since last debug: 8.895423
Archetype gradients: norm=0.005777, mean=0.000213
Epoch 1/1
Average loss: 0.8393
Archetypal loss: 0.9177
KLD loss: 0.1334
Reconstruction loss: 0.9177
Archetype R²: 0.0362
Archetype transform grad norm: 0.196627
Archetype transform param norm: 6.0615
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.8393 (range: 0.8393 - 0.8393)
archetypal_loss: 0.9177 (range: 0.9177 - 0.9177)
kld_loss: 0.1334 (range: 0.1334 - 0.1334)
reconstruction_loss: 0.9177 (range: 0.9177 - 0.9177)
archetype_r2: 0.0362 (range: 0.0362 - 0.0362)
Archetype Transform Summary:
archetype_transform_mean: 0.000860 (range: 0.000860 - 0.000860)
archetype_transform_std: 0.084882 (range: 0.084882 - 0.084882)
archetype_transform_norm: 6.061537 (range: 6.061537 - 6.061537)
archetype_transform_grad_norm: 0.196627 (range: 0.196627 - 0.196627)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0039, max=0.8435, mean=0.1429
Batch reconstruction MSE: 1.1282
Archetype stats: min=-6.4226, max=6.1557
Archetype change since last debug: 10.763571
Archetype gradients: norm=0.009087, mean=0.000349
Epoch 1/1
Average loss: 0.8270
Archetypal loss: 0.9036
KLD loss: 0.1376
Reconstruction loss: 0.9036
Archetype R²: 0.0511
Archetype transform grad norm: 0.220046
Archetype transform param norm: 6.3038
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.8270 (range: 0.8270 - 0.8270)
archetypal_loss: 0.9036 (range: 0.9036 - 0.9036)
kld_loss: 0.1376 (range: 0.1376 - 0.1376)
reconstruction_loss: 0.9036 (range: 0.9036 - 0.9036)
archetype_r2: 0.0511 (range: 0.0511 - 0.0511)
Archetype Transform Summary:
archetype_transform_mean: 0.000935 (range: 0.000935 - 0.000935)
archetype_transform_std: 0.088275 (range: 0.088275 - 0.088275)
archetype_transform_norm: 6.303848 (range: 6.303848 - 6.303848)
archetype_transform_grad_norm: 0.220046 (range: 0.220046 - 0.220046)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0038, max=0.8787, mean=0.1429
Batch reconstruction MSE: 1.1440
Archetype stats: min=-8.1670, max=7.7410
Archetype change since last debug: 9.253012
Archetype gradients: norm=0.011706, mean=0.000468
Epoch 1/1
Average loss: 0.8174
Archetypal loss: 0.8918
KLD loss: 0.1484
Reconstruction loss: 0.8918
Archetype R²: 0.0636
Archetype transform grad norm: 0.238760
Archetype transform param norm: 6.5509
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.8174 (range: 0.8174 - 0.8174)
archetypal_loss: 0.8918 (range: 0.8918 - 0.8918)
kld_loss: 0.1484 (range: 0.1484 - 0.1484)
reconstruction_loss: 0.8918 (range: 0.8918 - 0.8918)
archetype_r2: 0.0636 (range: 0.0636 - 0.0636)
Archetype Transform Summary:
archetype_transform_mean: 0.001026 (range: 0.001026 - 0.001026)
archetype_transform_std: 0.091734 (range: 0.091734 - 0.091734)
archetype_transform_norm: 6.550866 (range: 6.550866 - 6.550866)
archetype_transform_grad_norm: 0.238760 (range: 0.238760 - 0.238760)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0046, max=0.8827, mean=0.1429
Batch reconstruction MSE: 1.1699
Archetype stats: min=-9.3341, max=8.7426
Archetype change since last debug: 8.354685
Archetype gradients: norm=0.022469, mean=0.000826
Epoch 1/1
Average loss: 0.8080
Archetypal loss: 0.8797
KLD loss: 0.1633
Reconstruction loss: 0.8797
Archetype R²: 0.0765
Archetype transform grad norm: 0.249585
Archetype transform param norm: 6.8146
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.8080 (range: 0.8080 - 0.8080)
archetypal_loss: 0.8797 (range: 0.8797 - 0.8797)
kld_loss: 0.1633 (range: 0.1633 - 0.1633)
reconstruction_loss: 0.8797 (range: 0.8797 - 0.8797)
archetype_r2: 0.0765 (range: 0.0765 - 0.0765)
Archetype Transform Summary:
archetype_transform_mean: 0.001162 (range: 0.001162 - 0.001162)
archetype_transform_std: 0.095426 (range: 0.095426 - 0.095426)
archetype_transform_norm: 6.814597 (range: 6.814597 - 6.814597)
archetype_transform_grad_norm: 0.249585 (range: 0.249585 - 0.249585)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0051, max=0.8270, mean=0.1429
Batch reconstruction MSE: 1.2195
Archetype stats: min=-9.9926, max=10.6906
Archetype change since last debug: 7.832053
Archetype gradients: norm=0.028832, mean=0.001088
Epoch 1/1
Average loss: 0.8006
Archetypal loss: 0.8706
KLD loss: 0.1706
Reconstruction loss: 0.8706
Archetype R²: 0.0862
Archetype transform grad norm: 0.257839
Archetype transform param norm: 7.0710
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.8006 (range: 0.8006 - 0.8006)
archetypal_loss: 0.8706 (range: 0.8706 - 0.8706)
kld_loss: 0.1706 (range: 0.1706 - 0.1706)
reconstruction_loss: 0.8706 (range: 0.8706 - 0.8706)
archetype_r2: 0.0862 (range: 0.0862 - 0.0862)
Archetype Transform Summary:
archetype_transform_mean: 0.001331 (range: 0.001331 - 0.001331)
archetype_transform_std: 0.099015 (range: 0.099015 - 0.099015)
archetype_transform_norm: 7.071035 (range: 7.071035 - 7.071035)
archetype_transform_grad_norm: 0.257839 (range: 0.257839 - 0.257839)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0081, max=0.6742, mean=0.1429
Batch reconstruction MSE: 1.2318
Archetype stats: min=-10.5639, max=11.9076
Archetype change since last debug: 6.981252
Archetype gradients: norm=0.044108, mean=0.001649
Epoch 1/1
Average loss: 0.7946
Archetypal loss: 0.8639
KLD loss: 0.1706
Reconstruction loss: 0.8639
Archetype R²: 0.0933
Archetype transform grad norm: 0.265622
Archetype transform param norm: 7.2929
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.7946 (range: 0.7946 - 0.7946)
archetypal_loss: 0.8639 (range: 0.8639 - 0.8639)
kld_loss: 0.1706 (range: 0.1706 - 0.1706)
reconstruction_loss: 0.8639 (range: 0.8639 - 0.8639)
archetype_r2: 0.0933 (range: 0.0933 - 0.0933)
Archetype Transform Summary:
archetype_transform_mean: 0.001438 (range: 0.001438 - 0.001438)
archetype_transform_std: 0.102120 (range: 0.102120 - 0.102120)
archetype_transform_norm: 7.292861 (range: 7.292861 - 7.292861)
archetype_transform_grad_norm: 0.265622 (range: 0.265622 - 0.265622)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0077, max=0.6058, mean=0.1429
Batch reconstruction MSE: 1.2558
Archetype stats: min=-10.9178, max=13.2148
Archetype change since last debug: 5.718638
Archetype gradients: norm=0.037858, mean=0.001416
Epoch 1/1
Average loss: 0.7909
Archetypal loss: 0.8608
KLD loss: 0.1615
Reconstruction loss: 0.8608
Archetype R²: 0.0967
Archetype transform grad norm: 0.270635
Archetype transform param norm: 7.4712
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.7909 (range: 0.7909 - 0.7909)
archetypal_loss: 0.8608 (range: 0.8608 - 0.8608)
kld_loss: 0.1615 (range: 0.1615 - 0.1615)
reconstruction_loss: 0.8608 (range: 0.8608 - 0.8608)
archetype_r2: 0.0967 (range: 0.0967 - 0.0967)
Archetype Transform Summary:
archetype_transform_mean: 0.001559 (range: 0.001559 - 0.001559)
archetype_transform_std: 0.104616 (range: 0.104616 - 0.104616)
archetype_transform_norm: 7.471200 (range: 7.471200 - 7.471200)
archetype_transform_grad_norm: 0.270635 (range: 0.270635 - 0.270635)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0104, max=0.6046, mean=0.1429
Batch reconstruction MSE: 1.2289
Archetype stats: min=-11.2299, max=13.7230
Archetype change since last debug: 4.740266
Archetype gradients: norm=0.047445, mean=0.001793
Epoch 1/1
Average loss: 0.7872
Archetypal loss: 0.8568
KLD loss: 0.1605
Reconstruction loss: 0.8568
Archetype R²: 0.1008
Archetype transform grad norm: 0.274935
Archetype transform param norm: 7.6239
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.7872 (range: 0.7872 - 0.7872)
archetypal_loss: 0.8568 (range: 0.8568 - 0.8568)
kld_loss: 0.1605 (range: 0.1605 - 0.1605)
reconstruction_loss: 0.8568 (range: 0.8568 - 0.8568)
archetype_r2: 0.1008 (range: 0.1008 - 0.1008)
Archetype Transform Summary:
archetype_transform_mean: 0.001633 (range: 0.001633 - 0.001633)
archetype_transform_std: 0.106754 (range: 0.106754 - 0.106754)
archetype_transform_norm: 7.623930 (range: 7.623930 - 7.623930)
archetype_transform_grad_norm: 0.274935 (range: 0.274935 - 0.274935)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0089, max=0.5527, mean=0.1429
Batch reconstruction MSE: 1.2085
Archetype stats: min=-11.4122, max=14.5358
Archetype change since last debug: 4.044582
Archetype gradients: norm=0.039902, mean=0.001357
Epoch 1/1
Average loss: 0.7841
Archetypal loss: 0.8541
KLD loss: 0.1534
Reconstruction loss: 0.8541
Archetype R²: 0.1036
Archetype transform grad norm: 0.274510
Archetype transform param norm: 7.7688
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.7841 (range: 0.7841 - 0.7841)
archetypal_loss: 0.8541 (range: 0.8541 - 0.8541)
kld_loss: 0.1534 (range: 0.1534 - 0.1534)
reconstruction_loss: 0.8541 (range: 0.8541 - 0.8541)
archetype_r2: 0.1036 (range: 0.1036 - 0.1036)
Archetype Transform Summary:
archetype_transform_mean: 0.001739 (range: 0.001739 - 0.001739)
archetype_transform_std: 0.108781 (range: 0.108781 - 0.108781)
archetype_transform_norm: 7.768755 (range: 7.768755 - 7.768755)
archetype_transform_grad_norm: 0.274510 (range: 0.274510 - 0.274510)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0120, max=0.5886, mean=0.1429
Batch reconstruction MSE: 1.2008
Archetype stats: min=-11.5936, max=15.1201
Archetype change since last debug: 3.877143
Archetype gradients: norm=0.034055, mean=0.001331
Epoch 1/1
Average loss: 0.7818
Archetypal loss: 0.8517
KLD loss: 0.1528
Reconstruction loss: 0.8517
Archetype R²: 0.1061
Archetype transform grad norm: 0.281785
Archetype transform param norm: 7.9047
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.7818 (range: 0.7818 - 0.7818)
archetypal_loss: 0.8517 (range: 0.8517 - 0.8517)
kld_loss: 0.1528 (range: 0.1528 - 0.1528)
reconstruction_loss: 0.8517 (range: 0.8517 - 0.8517)
archetype_r2: 0.1061 (range: 0.1061 - 0.1061)
Archetype Transform Summary:
archetype_transform_mean: 0.001820 (range: 0.001820 - 0.001820)
archetype_transform_std: 0.110683 (range: 0.110683 - 0.110683)
archetype_transform_norm: 7.904673 (range: 7.904673 - 7.904673)
archetype_transform_grad_norm: 0.281785 (range: 0.281785 - 0.281785)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0093, max=0.5880, mean=0.1429
Batch reconstruction MSE: 1.2229
Archetype stats: min=-11.6834, max=15.8667
Archetype change since last debug: 3.461058
Archetype gradients: norm=0.077724, mean=0.002340
Epoch 1/1
Average loss: 0.7810
Archetypal loss: 0.8503
KLD loss: 0.1569
Reconstruction loss: 0.8503
Archetype R²: 0.1076
Archetype transform grad norm: 0.290140
Archetype transform param norm: 8.0376
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.7810 (range: 0.7810 - 0.7810)
archetypal_loss: 0.8503 (range: 0.8503 - 0.8503)
kld_loss: 0.1569 (range: 0.1569 - 0.1569)
reconstruction_loss: 0.8503 (range: 0.8503 - 0.8503)
archetype_r2: 0.1076 (range: 0.1076 - 0.1076)
Archetype Transform Summary:
archetype_transform_mean: 0.001931 (range: 0.001931 - 0.001931)
archetype_transform_std: 0.112544 (range: 0.112544 - 0.112544)
archetype_transform_norm: 8.037613 (range: 8.037613 - 8.037613)
archetype_transform_grad_norm: 0.290140 (range: 0.290140 - 0.290140)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0148, max=0.4416, mean=0.1429
Batch reconstruction MSE: 1.2234
Archetype stats: min=-11.9173, max=16.1456
Archetype change since last debug: 3.151178
Archetype gradients: norm=0.028929, mean=0.001233
Epoch 1/1
Average loss: 0.7789
Archetypal loss: 0.8480
KLD loss: 0.1572
Reconstruction loss: 0.8480
Archetype R²: 0.1101
Archetype transform grad norm: 0.289425
Archetype transform param norm: 8.1731
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.7789 (range: 0.7789 - 0.7789)
archetypal_loss: 0.8480 (range: 0.8480 - 0.8480)
kld_loss: 0.1572 (range: 0.1572 - 0.1572)
reconstruction_loss: 0.8480 (range: 0.8480 - 0.8480)
archetype_r2: 0.1101 (range: 0.1101 - 0.1101)
Archetype Transform Summary:
archetype_transform_mean: 0.002030 (range: 0.002030 - 0.002030)
archetype_transform_std: 0.114439 (range: 0.114439 - 0.114439)
archetype_transform_norm: 8.173054 (range: 8.173054 - 8.173054)
archetype_transform_grad_norm: 0.289425 (range: 0.289425 - 0.289425)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0136, max=0.6377, mean=0.1429
Batch reconstruction MSE: 1.2438
Archetype stats: min=-12.1827, max=16.4940
Archetype change since last debug: 3.048144
Archetype gradients: norm=0.075471, mean=0.002389
Epoch 1/1
Average loss: 0.7770
Archetypal loss: 0.8446
KLD loss: 0.1684
Reconstruction loss: 0.8446
Archetype R²: 0.1137
Archetype transform grad norm: 0.286926
Archetype transform param norm: 8.3071
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.7770 (range: 0.7770 - 0.7770)
archetypal_loss: 0.8446 (range: 0.8446 - 0.8446)
kld_loss: 0.1684 (range: 0.1684 - 0.1684)
reconstruction_loss: 0.8446 (range: 0.8446 - 0.8446)
archetype_r2: 0.1137 (range: 0.1137 - 0.1137)
Archetype Transform Summary:
archetype_transform_mean: 0.002059 (range: 0.002059 - 0.002059)
archetype_transform_std: 0.116316 (range: 0.116316 - 0.116316)
archetype_transform_norm: 8.307089 (range: 8.307089 - 8.307089)
archetype_transform_grad_norm: 0.286926 (range: 0.286926 - 0.286926)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0151, max=0.4539, mean=0.1429
Batch reconstruction MSE: 1.1794
Archetype stats: min=-12.5073, max=16.4343
Archetype change since last debug: 3.230135
Archetype gradients: norm=0.020029, mean=0.000858
Epoch 1/1
Average loss: 0.7727
Archetypal loss: 0.8400
KLD loss: 0.1667
Reconstruction loss: 0.8400
Archetype R²: 0.1184
Archetype transform grad norm: 0.292752
Archetype transform param norm: 8.4725
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.7727 (range: 0.7727 - 0.7727)
archetypal_loss: 0.8400 (range: 0.8400 - 0.8400)
kld_loss: 0.1667 (range: 0.1667 - 0.1667)
reconstruction_loss: 0.8400 (range: 0.8400 - 0.8400)
archetype_r2: 0.1184 (range: 0.1184 - 0.1184)
Archetype Transform Summary:
archetype_transform_mean: 0.002135 (range: 0.002135 - 0.002135)
archetype_transform_std: 0.118631 (range: 0.118631 - 0.118631)
archetype_transform_norm: 8.472467 (range: 8.472467 - 8.472467)
archetype_transform_grad_norm: 0.292752 (range: 0.292752 - 0.292752)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0135, max=0.4833, mean=0.1429
Batch reconstruction MSE: 1.1757
Archetype stats: min=-12.8530, max=16.6381
Archetype change since last debug: 3.667018
Archetype gradients: norm=0.045071, mean=0.001735
Epoch 1/1
Average loss: 0.7695
Archetypal loss: 0.8364
KLD loss: 0.1673
Reconstruction loss: 0.8364
Archetype R²: 0.1222
Archetype transform grad norm: 0.289319
Archetype transform param norm: 8.6360
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.7695 (range: 0.7695 - 0.7695)
archetypal_loss: 0.8364 (range: 0.8364 - 0.8364)
kld_loss: 0.1673 (range: 0.1673 - 0.1673)
reconstruction_loss: 0.8364 (range: 0.8364 - 0.8364)
archetype_r2: 0.1222 (range: 0.1222 - 0.1222)
Archetype Transform Summary:
archetype_transform_mean: 0.002183 (range: 0.002183 - 0.002183)
archetype_transform_std: 0.120920 (range: 0.120920 - 0.120920)
archetype_transform_norm: 8.636001 (range: 8.636001 - 8.636001)
archetype_transform_grad_norm: 0.289319 (range: 0.289319 - 0.289319)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0137, max=0.4359, mean=0.1429
Batch reconstruction MSE: 1.1683
Archetype stats: min=-13.0926, max=16.9394
Archetype change since last debug: 3.604929
Archetype gradients: norm=0.023689, mean=0.000986
Epoch 1/1
Average loss: 0.7679
Archetypal loss: 0.8352
KLD loss: 0.1620
Reconstruction loss: 0.8352
Archetype R²: 0.1234
Archetype transform grad norm: 0.308097
Archetype transform param norm: 8.7928
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.7679 (range: 0.7679 - 0.7679)
archetypal_loss: 0.8352 (range: 0.8352 - 0.8352)
kld_loss: 0.1620 (range: 0.1620 - 0.1620)
reconstruction_loss: 0.8352 (range: 0.8352 - 0.8352)
archetype_r2: 0.1234 (range: 0.1234 - 0.1234)
Archetype Transform Summary:
archetype_transform_mean: 0.002224 (range: 0.002224 - 0.002224)
archetype_transform_std: 0.123116 (range: 0.123116 - 0.123116)
archetype_transform_norm: 8.792831 (range: 8.792831 - 8.792831)
archetype_transform_grad_norm: 0.308097 (range: 0.308097 - 0.308097)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0129, max=0.4879, mean=0.1429
Batch reconstruction MSE: 1.2857
Archetype stats: min=-13.3802, max=16.9217
Archetype change since last debug: 3.396674
Archetype gradients: norm=0.060472, mean=0.002472
Epoch 1/1
Average loss: 0.7700
Archetypal loss: 0.8373
KLD loss: 0.1647
Reconstruction loss: 0.8373
Archetype R²: 0.1215
Archetype transform grad norm: 0.317190
Archetype transform param norm: 8.8961
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.7700 (range: 0.7700 - 0.7700)
archetypal_loss: 0.8373 (range: 0.8373 - 0.8373)
kld_loss: 0.1647 (range: 0.1647 - 0.1647)
reconstruction_loss: 0.8373 (range: 0.8373 - 0.8373)
archetype_r2: 0.1215 (range: 0.1215 - 0.1215)
Archetype Transform Summary:
archetype_transform_mean: 0.002321 (range: 0.002321 - 0.002321)
archetype_transform_std: 0.124561 (range: 0.124561 - 0.124561)
archetype_transform_norm: 8.896096 (range: 8.896096 - 8.896096)
archetype_transform_grad_norm: 0.317190 (range: 0.317190 - 0.317190)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0172, max=0.4180, mean=0.1429
Batch reconstruction MSE: 1.2631
Archetype stats: min=-13.1258, max=16.9820
Archetype change since last debug: 2.681923
Archetype gradients: norm=0.036228, mean=0.001599
Epoch 1/1
Average loss: 0.7679
Archetypal loss: 0.8355
KLD loss: 0.1602
Reconstruction loss: 0.8355
Archetype R²: 0.1233
Archetype transform grad norm: 0.317423
Archetype transform param norm: 8.9806
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.7679 (range: 0.7679 - 0.7679)
archetypal_loss: 0.8355 (range: 0.8355 - 0.8355)
kld_loss: 0.1602 (range: 0.1602 - 0.1602)
reconstruction_loss: 0.8355 (range: 0.8355 - 0.8355)
archetype_r2: 0.1233 (range: 0.1233 - 0.1233)
Archetype Transform Summary:
archetype_transform_mean: 0.002277 (range: 0.002277 - 0.002277)
archetype_transform_std: 0.125745 (range: 0.125745 - 0.125745)
archetype_transform_norm: 8.980557 (range: 8.980557 - 8.980557)
archetype_transform_grad_norm: 0.317423 (range: 0.317423 - 0.317423)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0181, max=0.3725, mean=0.1429
Batch reconstruction MSE: 1.2334
Archetype stats: min=-13.1902, max=16.9728
Archetype change since last debug: 2.367007
Archetype gradients: norm=0.065316, mean=0.002451
Epoch 1/1
Average loss: 0.7654
Archetypal loss: 0.8328
KLD loss: 0.1584
Reconstruction loss: 0.8328
Archetype R²: 0.1260
Archetype transform grad norm: 0.302597
Archetype transform param norm: 9.0620
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.7654 (range: 0.7654 - 0.7654)
archetypal_loss: 0.8328 (range: 0.8328 - 0.8328)
kld_loss: 0.1584 (range: 0.1584 - 0.1584)
reconstruction_loss: 0.8328 (range: 0.8328 - 0.8328)
archetype_r2: 0.1260 (range: 0.1260 - 0.1260)
Archetype Transform Summary:
archetype_transform_mean: 0.002335 (range: 0.002335 - 0.002335)
archetype_transform_std: 0.126884 (range: 0.126884 - 0.126884)
archetype_transform_norm: 9.062006 (range: 9.062006 - 9.062006)
archetype_transform_grad_norm: 0.302597 (range: 0.302597 - 0.302597)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0179, max=0.3612, mean=0.1429
Batch reconstruction MSE: 1.1594
Archetype stats: min=-13.3631, max=17.3758
Archetype change since last debug: 2.346869
Archetype gradients: norm=0.026777, mean=0.001181
Epoch 1/1
Average loss: 0.7626
Archetypal loss: 0.8305
KLD loss: 0.1517
Reconstruction loss: 0.8305
Archetype R²: 0.1283
Archetype transform grad norm: 0.306922
Archetype transform param norm: 9.1611
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.7626 (range: 0.7626 - 0.7626)
archetypal_loss: 0.8305 (range: 0.8305 - 0.8305)
kld_loss: 0.1517 (range: 0.1517 - 0.1517)
reconstruction_loss: 0.8305 (range: 0.8305 - 0.8305)
archetype_r2: 0.1283 (range: 0.1283 - 0.1283)
Archetype Transform Summary:
archetype_transform_mean: 0.002377 (range: 0.002377 - 0.002377)
archetype_transform_std: 0.128271 (range: 0.128271 - 0.128271)
archetype_transform_norm: 9.161075 (range: 9.161075 - 9.161075)
archetype_transform_grad_norm: 0.306922 (range: 0.306922 - 0.306922)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0188, max=0.3890, mean=0.1429
Batch reconstruction MSE: 1.1788
Archetype stats: min=-13.6142, max=17.5375
Archetype change since last debug: 2.581861
Archetype gradients: norm=0.055194, mean=0.001999
Epoch 1/1
Average loss: 0.7614
Archetypal loss: 0.8294
KLD loss: 0.1495
Reconstruction loss: 0.8294
Archetype R²: 0.1294
Archetype transform grad norm: 0.297156
Archetype transform param norm: 9.2427
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.7614 (range: 0.7614 - 0.7614)
archetypal_loss: 0.8294 (range: 0.8294 - 0.8294)
kld_loss: 0.1495 (range: 0.1495 - 0.1495)
reconstruction_loss: 0.8294 (range: 0.8294 - 0.8294)
archetype_r2: 0.1294 (range: 0.1294 - 0.1294)
Archetype Transform Summary:
archetype_transform_mean: 0.002378 (range: 0.002378 - 0.002378)
archetype_transform_std: 0.129415 (range: 0.129415 - 0.129415)
archetype_transform_norm: 9.242726 (range: 9.242726 - 9.242726)
archetype_transform_grad_norm: 0.297156 (range: 0.297156 - 0.297156)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0194, max=0.3236, mean=0.1429
Batch reconstruction MSE: 1.1479
Archetype stats: min=-13.8739, max=18.0341
Archetype change since last debug: 2.357537
Archetype gradients: norm=0.024482, mean=0.001112
Epoch 1/1
Average loss: 0.7606
Archetypal loss: 0.8290
KLD loss: 0.1453
Reconstruction loss: 0.8290
Archetype R²: 0.1298
Archetype transform grad norm: 0.310287
Archetype transform param norm: 9.3310
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.7606 (range: 0.7606 - 0.7606)
archetypal_loss: 0.8290 (range: 0.8290 - 0.8290)
kld_loss: 0.1453 (range: 0.1453 - 0.1453)
reconstruction_loss: 0.8290 (range: 0.8290 - 0.8290)
archetype_r2: 0.1298 (range: 0.1298 - 0.1298)
Archetype Transform Summary:
archetype_transform_mean: 0.002429 (range: 0.002429 - 0.002429)
archetype_transform_std: 0.130650 (range: 0.130650 - 0.130650)
archetype_transform_norm: 9.330960 (range: 9.330960 - 9.330960)
archetype_transform_grad_norm: 0.310287 (range: 0.310287 - 0.310287)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0158, max=0.3491, mean=0.1429
Batch reconstruction MSE: 1.1754
Archetype stats: min=-14.1272, max=18.1753
Archetype change since last debug: 2.306994
Archetype gradients: norm=0.052103, mean=0.001784
Epoch 1/1
Average loss: 0.7601
Archetypal loss: 0.8286
KLD loss: 0.1435
Reconstruction loss: 0.8286
Archetype R²: 0.1303
Archetype transform grad norm: 0.301550
Archetype transform param norm: 9.3960
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.7601 (range: 0.7601 - 0.7601)
archetypal_loss: 0.8286 (range: 0.8286 - 0.8286)
kld_loss: 0.1435 (range: 0.1435 - 0.1435)
reconstruction_loss: 0.8286 (range: 0.8286 - 0.8286)
archetype_r2: 0.1303 (range: 0.1303 - 0.1303)
Archetype Transform Summary:
archetype_transform_mean: 0.002400 (range: 0.002400 - 0.002400)
archetype_transform_std: 0.131561 (range: 0.131561 - 0.131561)
archetype_transform_norm: 9.396001 (range: 9.396001 - 9.396001)
archetype_transform_grad_norm: 0.301550 (range: 0.301550 - 0.301550)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0193, max=0.3253, mean=0.1429
Batch reconstruction MSE: 1.1476
Archetype stats: min=-14.3716, max=18.5455
Archetype change since last debug: 1.947909
Archetype gradients: norm=0.019195, mean=0.000819
Epoch 1/1
Average loss: 0.7592
Archetypal loss: 0.8280
KLD loss: 0.1398
Reconstruction loss: 0.8280
Archetype R²: 0.1308
Archetype transform grad norm: 0.309645
Archetype transform param norm: 9.4677
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.7592 (range: 0.7592 - 0.7592)
archetypal_loss: 0.8280 (range: 0.8280 - 0.8280)
kld_loss: 0.1398 (range: 0.1398 - 0.1398)
reconstruction_loss: 0.8280 (range: 0.8280 - 0.8280)
archetype_r2: 0.1308 (range: 0.1308 - 0.1308)
Archetype Transform Summary:
archetype_transform_mean: 0.002460 (range: 0.002460 - 0.002460)
archetype_transform_std: 0.132564 (range: 0.132564 - 0.132564)
archetype_transform_norm: 9.467680 (range: 9.467680 - 9.467680)
archetype_transform_grad_norm: 0.309645 (range: 0.309645 - 0.309645)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0215, max=0.3312, mean=0.1429
Batch reconstruction MSE: 1.1776
Archetype stats: min=-14.6322, max=18.7755
Archetype change since last debug: 2.003295
Archetype gradients: norm=0.043816, mean=0.001487
Epoch 1/1
Average loss: 0.7590
Archetypal loss: 0.8279
KLD loss: 0.1390
Reconstruction loss: 0.8279
Archetype R²: 0.1310
Archetype transform grad norm: 0.300690
Archetype transform param norm: 9.5192
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.7590 (range: 0.7590 - 0.7590)
archetypal_loss: 0.8279 (range: 0.8279 - 0.8279)
kld_loss: 0.1390 (range: 0.1390 - 0.1390)
reconstruction_loss: 0.8279 (range: 0.8279 - 0.8279)
archetype_r2: 0.1310 (range: 0.1310 - 0.1310)
Archetype Transform Summary:
archetype_transform_mean: 0.002435 (range: 0.002435 - 0.002435)
archetype_transform_std: 0.133286 (range: 0.133286 - 0.133286)
archetype_transform_norm: 9.519155 (range: 9.519155 - 9.519155)
archetype_transform_grad_norm: 0.300690 (range: 0.300690 - 0.300690)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0205, max=0.3239, mean=0.1429
Batch reconstruction MSE: 1.1498
Archetype stats: min=-14.7916, max=19.2288
Archetype change since last debug: 1.713229
Archetype gradients: norm=0.014450, mean=0.000634
Epoch 1/1
Average loss: 0.7585
Archetypal loss: 0.8277
KLD loss: 0.1359
Reconstruction loss: 0.8277
Archetype R²: 0.1311
Archetype transform grad norm: 0.312699
Archetype transform param norm: 9.5763
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.7585 (range: 0.7585 - 0.7585)
archetypal_loss: 0.8277 (range: 0.8277 - 0.8277)
kld_loss: 0.1359 (range: 0.1359 - 0.1359)
reconstruction_loss: 0.8277 (range: 0.8277 - 0.8277)
archetype_r2: 0.1311 (range: 0.1311 - 0.1311)
Archetype Transform Summary:
archetype_transform_mean: 0.002473 (range: 0.002473 - 0.002473)
archetype_transform_std: 0.134085 (range: 0.134085 - 0.134085)
archetype_transform_norm: 9.576300 (range: 9.576300 - 9.576300)
archetype_transform_grad_norm: 0.312699 (range: 0.312699 - 0.312699)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0181, max=0.3657, mean=0.1429
Batch reconstruction MSE: 1.2469
Archetype stats: min=-15.0523, max=19.4307
Archetype change since last debug: 1.736984
Archetype gradients: norm=0.036823, mean=0.001403
Epoch 1/1
Average loss: 0.7603
Archetypal loss: 0.8295
KLD loss: 0.1375
Reconstruction loss: 0.8295
Archetype R²: 0.1294
Archetype transform grad norm: 0.305693
Archetype transform param norm: 9.6068
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.7603 (range: 0.7603 - 0.7603)
archetypal_loss: 0.8295 (range: 0.8295 - 0.8295)
kld_loss: 0.1375 (range: 0.1375 - 0.1375)
reconstruction_loss: 0.8295 (range: 0.8295 - 0.8295)
archetype_r2: 0.1294 (range: 0.1294 - 0.1294)
Archetype Transform Summary:
archetype_transform_mean: 0.002456 (range: 0.002456 - 0.002456)
archetype_transform_std: 0.134512 (range: 0.134512 - 0.134512)
archetype_transform_norm: 9.606764 (range: 9.606764 - 9.606764)
archetype_transform_grad_norm: 0.305693 (range: 0.305693 - 0.305693)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0206, max=0.3008, mean=0.1429
Batch reconstruction MSE: 1.1671
Archetype stats: min=-15.0145, max=19.5633
Archetype change since last debug: 1.278742
Archetype gradients: norm=0.021735, mean=0.000873
Epoch 1/1
Average loss: 0.7580
Archetypal loss: 0.8271
KLD loss: 0.1363
Reconstruction loss: 0.8271
Archetype R²: 0.1318
Archetype transform grad norm: 0.309474
Archetype transform param norm: 9.6479
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.7580 (range: 0.7580 - 0.7580)
archetypal_loss: 0.8271 (range: 0.8271 - 0.8271)
kld_loss: 0.1363 (range: 0.1363 - 0.1363)
reconstruction_loss: 0.8271 (range: 0.8271 - 0.8271)
archetype_r2: 0.1318 (range: 0.1318 - 0.1318)
Archetype Transform Summary:
archetype_transform_mean: 0.002460 (range: 0.002460 - 0.002460)
archetype_transform_std: 0.135088 (range: 0.135088 - 0.135088)
archetype_transform_norm: 9.647888 (range: 9.647888 - 9.647888)
archetype_transform_grad_norm: 0.309474 (range: 0.309474 - 0.309474)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0185, max=0.3409, mean=0.1429
Batch reconstruction MSE: 1.2016
Archetype stats: min=-15.2587, max=19.6136
Archetype change since last debug: 1.547551
Archetype gradients: norm=0.030436, mean=0.001252
Epoch 1/1
Average loss: 0.7581
Archetypal loss: 0.8274
KLD loss: 0.1349
Reconstruction loss: 0.8274
Archetype R²: 0.1315
Archetype transform grad norm: 0.307588
Archetype transform param norm: 9.6868
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.7581 (range: 0.7581 - 0.7581)
archetypal_loss: 0.8274 (range: 0.8274 - 0.8274)
kld_loss: 0.1349 (range: 0.1349 - 0.1349)
reconstruction_loss: 0.8274 (range: 0.8274 - 0.8274)
archetype_r2: 0.1315 (range: 0.1315 - 0.1315)
Archetype Transform Summary:
archetype_transform_mean: 0.002506 (range: 0.002506 - 0.002506)
archetype_transform_std: 0.135632 (range: 0.135632 - 0.135632)
archetype_transform_norm: 9.686797 (range: 9.686797 - 9.686797)
archetype_transform_grad_norm: 0.307588 (range: 0.307588 - 0.307588)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0230, max=0.3036, mean=0.1429
Batch reconstruction MSE: 1.1137
Archetype stats: min=-15.2502, max=19.8722
Archetype change since last debug: 1.359026
Archetype gradients: norm=0.023755, mean=0.000998
Epoch 1/1
Average loss: 0.7559
Archetypal loss: 0.8252
KLD loss: 0.1324
Reconstruction loss: 0.8252
Archetype R²: 0.1336
Archetype transform grad norm: 0.312540
Archetype transform param norm: 9.7384
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.7559 (range: 0.7559 - 0.7559)
archetypal_loss: 0.8252 (range: 0.8252 - 0.8252)
kld_loss: 0.1324 (range: 0.1324 - 0.1324)
reconstruction_loss: 0.8252 (range: 0.8252 - 0.8252)
archetype_r2: 0.1336 (range: 0.1336 - 0.1336)
Archetype Transform Summary:
archetype_transform_mean: 0.002460 (range: 0.002460 - 0.002460)
archetype_transform_std: 0.136356 (range: 0.136356 - 0.136356)
archetype_transform_norm: 9.738397 (range: 9.738397 - 9.738397)
archetype_transform_grad_norm: 0.312540 (range: 0.312540 - 0.312540)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0226, max=0.3283, mean=0.1429
Batch reconstruction MSE: 1.1322
Archetype stats: min=-15.5857, max=20.0586
Archetype change since last debug: 1.835760
Archetype gradients: norm=0.027881, mean=0.001192
Epoch 1/1
Average loss: 0.7560
Archetypal loss: 0.8256
KLD loss: 0.1299
Reconstruction loss: 0.8256
Archetype R²: 0.1332
Archetype transform grad norm: 0.316355
Archetype transform param norm: 9.7876
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.7560 (range: 0.7560 - 0.7560)
archetypal_loss: 0.8256 (range: 0.8256 - 0.8256)
kld_loss: 0.1299 (range: 0.1299 - 0.1299)
reconstruction_loss: 0.8256 (range: 0.8256 - 0.8256)
archetype_r2: 0.1332 (range: 0.1332 - 0.1332)
Archetype Transform Summary:
archetype_transform_mean: 0.002542 (range: 0.002542 - 0.002542)
archetype_transform_std: 0.137043 (range: 0.137043 - 0.137043)
archetype_transform_norm: 9.787569 (range: 9.787569 - 9.787569)
archetype_transform_grad_norm: 0.316355 (range: 0.316355 - 0.316355)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0241, max=0.2912, mean=0.1429
Batch reconstruction MSE: 1.1464
Archetype stats: min=-15.6116, max=20.4246
Archetype change since last debug: 1.593440
Archetype gradients: norm=0.030580, mean=0.001332
Epoch 1/1
Average loss: 0.7566
Archetypal loss: 0.8264
KLD loss: 0.1293
Reconstruction loss: 0.8264
Archetype R²: 0.1324
Archetype transform grad norm: 0.334050
Archetype transform param norm: 9.8301
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.7566 (range: 0.7566 - 0.7566)
archetypal_loss: 0.8264 (range: 0.8264 - 0.8264)
kld_loss: 0.1293 (range: 0.1293 - 0.1293)
reconstruction_loss: 0.8264 (range: 0.8264 - 0.8264)
archetype_r2: 0.1324 (range: 0.1324 - 0.1324)
Archetype Transform Summary:
archetype_transform_mean: 0.002473 (range: 0.002473 - 0.002473)
archetype_transform_std: 0.137640 (range: 0.137640 - 0.137640)
archetype_transform_norm: 9.830110 (range: 9.830110 - 9.830110)
archetype_transform_grad_norm: 0.334050 (range: 0.334050 - 0.334050)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0237, max=0.3228, mean=0.1429
Batch reconstruction MSE: 1.1743
Archetype stats: min=-15.8725, max=20.5491
Archetype change since last debug: 1.603887
Archetype gradients: norm=0.045259, mean=0.001942
Epoch 1/1
Average loss: 0.7580
Archetypal loss: 0.8277
KLD loss: 0.1307
Reconstruction loss: 0.8277
Archetype R²: 0.1311
Archetype transform grad norm: 0.340442
Archetype transform param norm: 9.8540
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.7580 (range: 0.7580 - 0.7580)
archetypal_loss: 0.8277 (range: 0.8277 - 0.8277)
kld_loss: 0.1307 (range: 0.1307 - 0.1307)
reconstruction_loss: 0.8277 (range: 0.8277 - 0.8277)
archetype_r2: 0.1311 (range: 0.1311 - 0.1311)
Archetype Transform Summary:
archetype_transform_mean: 0.002587 (range: 0.002587 - 0.002587)
archetype_transform_std: 0.137974 (range: 0.137974 - 0.137974)
archetype_transform_norm: 9.854046 (range: 9.854046 - 9.854046)
archetype_transform_grad_norm: 0.340442 (range: 0.340442 - 0.340442)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0246, max=0.3234, mean=0.1429
Batch reconstruction MSE: 1.1819
Archetype stats: min=-15.6363, max=20.8560
Archetype change since last debug: 1.532429
Archetype gradients: norm=0.039424, mean=0.001567
Epoch 1/1
Average loss: 0.7574
Archetypal loss: 0.8273
KLD loss: 0.1284
Reconstruction loss: 0.8273
Archetype R²: 0.1315
Archetype transform grad norm: 0.344232
Archetype transform param norm: 9.8780
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.7574 (range: 0.7574 - 0.7574)
archetypal_loss: 0.8273 (range: 0.8273 - 0.8273)
kld_loss: 0.1284 (range: 0.1284 - 0.1284)
reconstruction_loss: 0.8273 (range: 0.8273 - 0.8273)
archetype_r2: 0.1315 (range: 0.1315 - 0.1315)
Archetype Transform Summary:
archetype_transform_mean: 0.002491 (range: 0.002491 - 0.002491)
archetype_transform_std: 0.138311 (range: 0.138311 - 0.138311)
archetype_transform_norm: 9.877985 (range: 9.877985 - 9.877985)
archetype_transform_grad_norm: 0.344232 (range: 0.344232 - 0.344232)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0250, max=0.3394, mean=0.1429
Batch reconstruction MSE: 1.1690
Archetype stats: min=-15.7374, max=20.6273
Archetype change since last debug: 1.551948
Archetype gradients: norm=0.055696, mean=0.002151
Epoch 1/1
Average loss: 0.7562
Archetypal loss: 0.8259
KLD loss: 0.1290
Reconstruction loss: 0.8259
Archetype R²: 0.1330
Archetype transform grad norm: 0.328908
Archetype transform param norm: 9.8994
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.7562 (range: 0.7562 - 0.7562)
archetypal_loss: 0.8259 (range: 0.8259 - 0.8259)
kld_loss: 0.1290 (range: 0.1290 - 0.1290)
reconstruction_loss: 0.8259 (range: 0.8259 - 0.8259)
archetype_r2: 0.1330 (range: 0.1330 - 0.1330)
Archetype Transform Summary:
archetype_transform_mean: 0.002624 (range: 0.002624 - 0.002624)
archetype_transform_std: 0.138608 (range: 0.138608 - 0.138608)
archetype_transform_norm: 9.899425 (range: 9.899425 - 9.899425)
archetype_transform_grad_norm: 0.328908 (range: 0.328908 - 0.328908)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0225, max=0.3379, mean=0.1429
Batch reconstruction MSE: 1.1850
Archetype stats: min=-15.6328, max=20.9053
Archetype change since last debug: 1.637426
Archetype gradients: norm=0.049089, mean=0.002038
Epoch 1/1
Average loss: 0.7567
Archetypal loss: 0.8266
KLD loss: 0.1269
Reconstruction loss: 0.8266
Archetype R²: 0.1322
Archetype transform grad norm: 0.343387
Archetype transform param norm: 9.9280
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.7567 (range: 0.7567 - 0.7567)
archetypal_loss: 0.8266 (range: 0.8266 - 0.8266)
kld_loss: 0.1269 (range: 0.1269 - 0.1269)
reconstruction_loss: 0.8266 (range: 0.8266 - 0.8266)
archetype_r2: 0.1322 (range: 0.1322 - 0.1322)
Archetype Transform Summary:
archetype_transform_mean: 0.002549 (range: 0.002549 - 0.002549)
archetype_transform_std: 0.139011 (range: 0.139011 - 0.139011)
archetype_transform_norm: 9.928034 (range: 9.928034 - 9.928034)
archetype_transform_grad_norm: 0.343387 (range: 0.343387 - 0.343387)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0240, max=0.3546, mean=0.1429
Batch reconstruction MSE: 1.1723
Archetype stats: min=-15.8370, max=20.5602
Archetype change since last debug: 1.467568
Archetype gradients: norm=0.058383, mean=0.002035
Epoch 1/1
Average loss: 0.7559
Archetypal loss: 0.8257
KLD loss: 0.1277
Reconstruction loss: 0.8257
Archetype R²: 0.1331
Archetype transform grad norm: 0.330021
Archetype transform param norm: 9.9449
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.7559 (range: 0.7559 - 0.7559)
archetypal_loss: 0.8257 (range: 0.8257 - 0.8257)
kld_loss: 0.1277 (range: 0.1277 - 0.1277)
reconstruction_loss: 0.8257 (range: 0.8257 - 0.8257)
archetype_r2: 0.1331 (range: 0.1331 - 0.1331)
Archetype Transform Summary:
archetype_transform_mean: 0.002634 (range: 0.002634 - 0.002634)
archetype_transform_std: 0.139245 (range: 0.139245 - 0.139245)
archetype_transform_norm: 9.944899 (range: 9.944899 - 9.944899)
archetype_transform_grad_norm: 0.330021 (range: 0.330021 - 0.330021)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0234, max=0.2751, mean=0.1429
Batch reconstruction MSE: 1.1538
Archetype stats: min=-15.7792, max=20.9231
Archetype change since last debug: 1.403209
Archetype gradients: norm=0.053157, mean=0.001894
Epoch 1/1
Average loss: 0.7548
Archetypal loss: 0.8248
KLD loss: 0.1247
Reconstruction loss: 0.8248
Archetype R²: 0.1340
Archetype transform grad norm: 0.322435
Archetype transform param norm: 9.9734
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.7548 (range: 0.7548 - 0.7548)
archetypal_loss: 0.8248 (range: 0.8248 - 0.8248)
kld_loss: 0.1247 (range: 0.1247 - 0.1247)
reconstruction_loss: 0.8248 (range: 0.8248 - 0.8248)
archetype_r2: 0.1340 (range: 0.1340 - 0.1340)
Archetype Transform Summary:
archetype_transform_mean: 0.002582 (range: 0.002582 - 0.002582)
archetype_transform_std: 0.139646 (range: 0.139646 - 0.139646)
archetype_transform_norm: 9.973426 (range: 9.973426 - 9.973426)
archetype_transform_grad_norm: 0.322435 (range: 0.322435 - 0.322435)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0255, max=0.3278, mean=0.1429
Batch reconstruction MSE: 1.1986
Archetype stats: min=-15.9677, max=20.9419
Archetype change since last debug: 1.396007
Archetype gradients: norm=0.048764, mean=0.001757
Epoch 1/1
Average loss: 0.7554
Archetypal loss: 0.8255
KLD loss: 0.1248
Reconstruction loss: 0.8255
Archetype R²: 0.1334
Archetype transform grad norm: 0.318414
Archetype transform param norm: 9.9911
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.7554 (range: 0.7554 - 0.7554)
archetypal_loss: 0.8255 (range: 0.8255 - 0.8255)
kld_loss: 0.1248 (range: 0.1248 - 0.1248)
reconstruction_loss: 0.8255 (range: 0.8255 - 0.8255)
archetype_r2: 0.1334 (range: 0.1334 - 0.1334)
Archetype Transform Summary:
archetype_transform_mean: 0.002641 (range: 0.002641 - 0.002641)
archetype_transform_std: 0.139892 (range: 0.139892 - 0.139892)
archetype_transform_norm: 9.991112 (range: 9.991112 - 9.991112)
archetype_transform_grad_norm: 0.318414 (range: 0.318414 - 0.318414)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0190, max=0.3157, mean=0.1429
Batch reconstruction MSE: 1.2204
Archetype stats: min=-15.8944, max=21.2547
Archetype change since last debug: 1.084723
Archetype gradients: norm=0.057253, mean=0.001678
Epoch 1/1
Average loss: 0.7557
Archetypal loss: 0.8261
KLD loss: 0.1221
Reconstruction loss: 0.8261
Archetype R²: 0.1327
Archetype transform grad norm: 0.315393
Archetype transform param norm: 10.0012
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.7557 (range: 0.7557 - 0.7557)
archetypal_loss: 0.8261 (range: 0.8261 - 0.8261)
kld_loss: 0.1221 (range: 0.1221 - 0.1221)
reconstruction_loss: 0.8261 (range: 0.8261 - 0.8261)
archetype_r2: 0.1327 (range: 0.1327 - 0.1327)
Archetype Transform Summary:
archetype_transform_mean: 0.002551 (range: 0.002551 - 0.002551)
archetype_transform_std: 0.140036 (range: 0.140036 - 0.140036)
archetype_transform_norm: 10.001237 (range: 10.001237 - 10.001237)
archetype_transform_grad_norm: 0.315393 (range: 0.315393 - 0.315393)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0257, max=0.3141, mean=0.1429
Batch reconstruction MSE: 1.1371
Archetype stats: min=-16.0848, max=21.3422
Archetype change since last debug: 1.152083
Archetype gradients: norm=0.035007, mean=0.001424
Epoch 1/1
Average loss: 0.7542
Archetypal loss: 0.8239
KLD loss: 0.1268
Reconstruction loss: 0.8239
Archetype R²: 0.1348
Archetype transform grad norm: 0.318825
Archetype transform param norm: 10.0276
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.7542 (range: 0.7542 - 0.7542)
archetypal_loss: 0.8239 (range: 0.8239 - 0.8239)
kld_loss: 0.1268 (range: 0.1268 - 0.1268)
reconstruction_loss: 0.8239 (range: 0.8239 - 0.8239)
archetype_r2: 0.1348 (range: 0.1348 - 0.1348)
Archetype Transform Summary:
archetype_transform_mean: 0.002629 (range: 0.002629 - 0.002629)
archetype_transform_std: 0.140403 (range: 0.140403 - 0.140403)
archetype_transform_norm: 10.027552 (range: 10.027552 - 10.027552)
archetype_transform_grad_norm: 0.318825 (range: 0.318825 - 0.318825)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0268, max=0.3123, mean=0.1429
Batch reconstruction MSE: 1.1444
Archetype stats: min=-16.0280, max=21.5865
Archetype change since last debug: 1.176816
Archetype gradients: norm=0.047430, mean=0.001551
Epoch 1/1
Average loss: 0.7532
Archetypal loss: 0.8237
KLD loss: 0.1191
Reconstruction loss: 0.8237
Archetype R²: 0.1350
Archetype transform grad norm: 0.310077
Archetype transform param norm: 10.0535
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.7532 (range: 0.7532 - 0.7532)
archetypal_loss: 0.8237 (range: 0.8237 - 0.8237)
kld_loss: 0.1191 (range: 0.1191 - 0.1191)
reconstruction_loss: 0.8237 (range: 0.8237 - 0.8237)
archetype_r2: 0.1350 (range: 0.1350 - 0.1350)
Archetype Transform Summary:
archetype_transform_mean: 0.002556 (range: 0.002556 - 0.002556)
archetype_transform_std: 0.140767 (range: 0.140767 - 0.140767)
archetype_transform_norm: 10.053475 (range: 10.053475 - 10.053475)
archetype_transform_grad_norm: 0.310077 (range: 0.310077 - 0.310077)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0262, max=0.2868, mean=0.1429
Batch reconstruction MSE: 1.0893
Archetype stats: min=-16.1854, max=21.8922
Archetype change since last debug: 1.292140
Archetype gradients: norm=0.037051, mean=0.001476
Epoch 1/1
Average loss: 0.7522
Archetypal loss: 0.8222
KLD loss: 0.1222
Reconstruction loss: 0.8222
Archetype R²: 0.1365
Archetype transform grad norm: 0.318286
Archetype transform param norm: 10.0958
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.7522 (range: 0.7522 - 0.7522)
archetypal_loss: 0.8222 (range: 0.8222 - 0.8222)
kld_loss: 0.1222 (range: 0.1222 - 0.1222)
reconstruction_loss: 0.8222 (range: 0.8222 - 0.8222)
archetype_r2: 0.1365 (range: 0.1365 - 0.1365)
Archetype Transform Summary:
archetype_transform_mean: 0.002643 (range: 0.002643 - 0.002643)
archetype_transform_std: 0.141359 (range: 0.141359 - 0.141359)
archetype_transform_norm: 10.095828 (range: 10.095828 - 10.095828)
archetype_transform_grad_norm: 0.318286 (range: 0.318286 - 0.318286)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0293, max=0.3037, mean=0.1429
Batch reconstruction MSE: 1.1385
Archetype stats: min=-16.1503, max=22.0504
Archetype change since last debug: 1.456476
Archetype gradients: norm=0.049366, mean=0.001824
Epoch 1/1
Average loss: 0.7521
Archetypal loss: 0.8230
KLD loss: 0.1147
Reconstruction loss: 0.8230
Archetype R²: 0.1358
Archetype transform grad norm: 0.311452
Archetype transform param norm: 10.1237
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.7521 (range: 0.7521 - 0.7521)
archetypal_loss: 0.8230 (range: 0.8230 - 0.8230)
kld_loss: 0.1147 (range: 0.1147 - 0.1147)
reconstruction_loss: 0.8230 (range: 0.8230 - 0.8230)
archetype_r2: 0.1358 (range: 0.1358 - 0.1358)
Archetype Transform Summary:
archetype_transform_mean: 0.002585 (range: 0.002585 - 0.002585)
archetype_transform_std: 0.141750 (range: 0.141750 - 0.141750)
archetype_transform_norm: 10.123651 (range: 10.123651 - 10.123651)
archetype_transform_grad_norm: 0.311452 (range: 0.311452 - 0.311452)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0268, max=0.2822, mean=0.1429
Batch reconstruction MSE: 1.1091
Archetype stats: min=-16.3459, max=22.4142
Archetype change since last debug: 1.375096
Archetype gradients: norm=0.037611, mean=0.001542
Epoch 1/1
Average loss: 0.7521
Archetypal loss: 0.8221
KLD loss: 0.1219
Reconstruction loss: 0.8221
Archetype R²: 0.1366
Archetype transform grad norm: 0.318671
Archetype transform param norm: 10.1652
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.7521 (range: 0.7521 - 0.7521)
archetypal_loss: 0.8221 (range: 0.8221 - 0.8221)
kld_loss: 0.1219 (range: 0.1219 - 0.1219)
reconstruction_loss: 0.8221 (range: 0.8221 - 0.8221)
archetype_r2: 0.1366 (range: 0.1366 - 0.1366)
Archetype Transform Summary:
archetype_transform_mean: 0.002696 (range: 0.002696 - 0.002696)
archetype_transform_std: 0.142330 (range: 0.142330 - 0.142330)
archetype_transform_norm: 10.165218 (range: 10.165218 - 10.165218)
archetype_transform_grad_norm: 0.318671 (range: 0.318671 - 0.318671)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0303, max=0.3566, mean=0.1429
Batch reconstruction MSE: 1.2288
Archetype stats: min=-16.2885, max=22.4489
Archetype change since last debug: 1.444927
Archetype gradients: norm=0.062603, mean=0.002442
Epoch 1/1
Average loss: 0.7541
Archetypal loss: 0.8250
KLD loss: 0.1153
Reconstruction loss: 0.8250
Archetype R²: 0.1337
Archetype transform grad norm: 0.320928
Archetype transform param norm: 10.1704
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.7541 (range: 0.7541 - 0.7541)
archetypal_loss: 0.8250 (range: 0.8250 - 0.8250)
kld_loss: 0.1153 (range: 0.1153 - 0.1153)
reconstruction_loss: 0.8250 (range: 0.8250 - 0.8250)
archetype_r2: 0.1337 (range: 0.1337 - 0.1337)
Archetype Transform Summary:
archetype_transform_mean: 0.002633 (range: 0.002633 - 0.002633)
archetype_transform_std: 0.142403 (range: 0.142403 - 0.142403)
archetype_transform_norm: 10.170374 (range: 10.170374 - 10.170374)
archetype_transform_grad_norm: 0.320928 (range: 0.320928 - 0.320928)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0285, max=0.2830, mean=0.1429
Batch reconstruction MSE: 1.1413
Archetype stats: min=-16.4810, max=22.7664
Archetype change since last debug: 1.185516
Archetype gradients: norm=0.040047, mean=0.001601
Epoch 1/1
Average loss: 0.7526
Archetypal loss: 0.8227
KLD loss: 0.1217
Reconstruction loss: 0.8227
Archetype R²: 0.1360
Archetype transform grad norm: 0.321573
Archetype transform param norm: 10.2007
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.7526 (range: 0.7526 - 0.7526)
archetypal_loss: 0.8227 (range: 0.8227 - 0.8227)
kld_loss: 0.1217 (range: 0.1217 - 0.1217)
reconstruction_loss: 0.8227 (range: 0.8227 - 0.8227)
archetype_r2: 0.1360 (range: 0.1360 - 0.1360)
Archetype Transform Summary:
archetype_transform_mean: 0.002724 (range: 0.002724 - 0.002724)
archetype_transform_std: 0.142826 (range: 0.142826 - 0.142826)
archetype_transform_norm: 10.200683 (range: 10.200683 - 10.200683)
archetype_transform_grad_norm: 0.321573 (range: 0.321573 - 0.321573)
Fold 2/3
Model input_dim: 50 (auto-detected from data)
Archetypes parameter registered: True
Archetypes requires_grad: True
Deep_AA (Deep Archetypal Analysis) initialized:
- Single-stage architecture (like Deep_2)
- Inflation factor: 1.5
- Direct archetypal coordinates (no bottleneck)
Consolidated Archetype Initialization
PCHA: True, Inflation: True (factor: 1.5)
Test inflation: False
Running PCHA initialization...
Input shape: (128, 50)
Target archetypes: 7
Running PCHA with 7 archetypes...
Data shape for PCHA: (50, 128)
PCHA Results:
Archetypes shape: (7, 50)
Archetype R²: 0.3008
SSE: 4375.4311
PCHA archetype R²: 0.3008
Archetype shape: (7, 50)
[OK] Initialized 7 archetypes using PCHA
Scalar Archetypal Inflation (factor: 1.50)
[OK] Inflation complete
[STATS] Positioning verification:
Data radius (max): 16.524
Data radius (mean): 6.485
Archetype distances: 3.744 to 20.941
Archetypes outside data: 1/7
Min archetype separation: 8.927
[OK] Archetype initialization complete (success: True)
[OK] Archetype initialization complete (PCHA: True, Inflation: 1.5)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0025, max=0.7882, mean=0.1429
Batch reconstruction MSE: 0.9314
Archetype stats: min=-1.3558, max=1.2833
Archetype gradients: norm=0.008940, mean=0.000359
Epoch 1/1
Average loss: 0.8613
Archetypal loss: 0.9531
KLD loss: 0.0352
Reconstruction loss: 0.9531
Archetype R²: -0.0145
Archetype transform grad norm: 0.140536
Archetype transform param norm: 5.8147
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.8613 (range: 0.8613 - 0.8613)
archetypal_loss: 0.9531 (range: 0.9531 - 0.9531)
kld_loss: 0.0352 (range: 0.0352 - 0.0352)
reconstruction_loss: 0.9531 (range: 0.9531 - 0.9531)
archetype_r2: -0.0145 (range: -0.0145 - -0.0145)
Archetype Transform Summary:
archetype_transform_mean: -0.001457 (range: -0.001457 - -0.001457)
archetype_transform_std: 0.081417 (range: 0.081417 - 0.081417)
archetype_transform_norm: 5.814736 (range: 5.814736 - 5.814736)
archetype_transform_grad_norm: 0.140536 (range: 0.140536 - 0.140536)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0050, max=0.7788, mean=0.1429
Batch reconstruction MSE: 0.8628
Archetype stats: min=-0.7732, max=0.7898
Archetype change since last debug: 5.610672
Archetype gradients: norm=0.002188, mean=0.000094
Epoch 1/1
Average loss: 0.8517
Archetypal loss: 0.9437
KLD loss: 0.0242
Reconstruction loss: 0.9437
Archetype R²: -0.0043
Archetype transform grad norm: 0.100585
Archetype transform param norm: 5.8208
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.8517 (range: 0.8517 - 0.8517)
archetypal_loss: 0.9437 (range: 0.9437 - 0.9437)
kld_loss: 0.0242 (range: 0.0242 - 0.0242)
reconstruction_loss: 0.9437 (range: 0.9437 - 0.9437)
archetype_r2: -0.0043 (range: -0.0043 - -0.0043)
Archetype Transform Summary:
archetype_transform_mean: -0.001391 (range: -0.001391 - -0.001391)
archetype_transform_std: 0.081503 (range: 0.081503 - 0.081503)
archetype_transform_norm: 5.820790 (range: 5.820790 - 5.820790)
archetype_transform_grad_norm: 0.100585 (range: 0.100585 - 0.100585)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0057, max=0.8324, mean=0.1429
Batch reconstruction MSE: 0.8618
Archetype stats: min=-1.0296, max=1.0786
Archetype change since last debug: 2.093754
Archetype gradients: norm=0.002094, mean=0.000088
Epoch 1/1
Average loss: 0.8473
Archetypal loss: 0.9358
KLD loss: 0.0509
Reconstruction loss: 0.9358
Archetype R²: 0.0041
Archetype transform grad norm: 0.110736
Archetype transform param norm: 5.8969
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.8473 (range: 0.8473 - 0.8473)
archetypal_loss: 0.9358 (range: 0.9358 - 0.9358)
kld_loss: 0.0509 (range: 0.0509 - 0.0509)
reconstruction_loss: 0.9358 (range: 0.9358 - 0.9358)
archetype_r2: 0.0041 (range: 0.0041 - 0.0041)
Archetype Transform Summary:
archetype_transform_mean: -0.001397 (range: -0.001397 - -0.001397)
archetype_transform_std: 0.082570 (range: 0.082570 - 0.082570)
archetype_transform_norm: 5.896927 (range: 5.896927 - 5.896927)
archetype_transform_grad_norm: 0.110736 (range: 0.110736 - 0.110736)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0029, max=0.8309, mean=0.1429
Batch reconstruction MSE: 0.8735
Archetype stats: min=-1.8403, max=1.9431
Archetype change since last debug: 5.098618
Archetype gradients: norm=0.003471, mean=0.000142
Epoch 1/1
Average loss: 0.8355
Archetypal loss: 0.9147
KLD loss: 0.1233
Reconstruction loss: 0.9147
Archetype R²: 0.0265
Archetype transform grad norm: 0.139578
Archetype transform param norm: 6.1290
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.8355 (range: 0.8355 - 0.8355)
archetypal_loss: 0.9147 (range: 0.9147 - 0.9147)
kld_loss: 0.1233 (range: 0.1233 - 0.1233)
reconstruction_loss: 0.9147 (range: 0.9147 - 0.9147)
archetype_r2: 0.0265 (range: 0.0265 - 0.0265)
Archetype Transform Summary:
archetype_transform_mean: -0.001341 (range: -0.001341 - -0.001341)
archetype_transform_std: 0.085822 (range: 0.085822 - 0.085822)
archetype_transform_norm: 6.129037 (range: 6.129037 - 6.129037)
archetype_transform_grad_norm: 0.139578 (range: 0.139578 - 0.139578)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0043, max=0.8314, mean=0.1429
Batch reconstruction MSE: 0.9282
Archetype stats: min=-3.7365, max=4.0255
Archetype change since last debug: 10.690276
Archetype gradients: norm=0.009087, mean=0.000368
Epoch 1/1
Average loss: 0.8190
Archetypal loss: 0.8920
KLD loss: 0.1620
Reconstruction loss: 0.8920
Archetype R²: 0.0505
Archetype transform grad norm: 0.171166
Archetype transform param norm: 6.5172
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.8190 (range: 0.8190 - 0.8190)
archetypal_loss: 0.8920 (range: 0.8920 - 0.8920)
kld_loss: 0.1620 (range: 0.1620 - 0.1620)
reconstruction_loss: 0.8920 (range: 0.8920 - 0.8920)
archetype_r2: 0.0505 (range: 0.0505 - 0.0505)
Archetype Transform Summary:
archetype_transform_mean: -0.001165 (range: -0.001165 - -0.001165)
archetype_transform_std: 0.091261 (range: 0.091261 - 0.091261)
archetype_transform_norm: 6.517206 (range: 6.517206 - 6.517206)
archetype_transform_grad_norm: 0.171166 (range: 0.171166 - 0.171166)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0045, max=0.8028, mean=0.1429
Batch reconstruction MSE: 0.9477
Archetype stats: min=-5.6973, max=5.9922
Archetype change since last debug: 11.883202
Archetype gradients: norm=0.012100, mean=0.000491
Epoch 1/1
Average loss: 0.8064
Archetypal loss: 0.8777
KLD loss: 0.1649
Reconstruction loss: 0.8777
Archetype R²: 0.0656
Archetype transform grad norm: 0.195784
Archetype transform param norm: 6.9073
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.8064 (range: 0.8064 - 0.8064)
archetypal_loss: 0.8777 (range: 0.8777 - 0.8777)
kld_loss: 0.1649 (range: 0.1649 - 0.1649)
reconstruction_loss: 0.8777 (range: 0.8777 - 0.8777)
archetype_r2: 0.0656 (range: 0.0656 - 0.0656)
Archetype Transform Summary:
archetype_transform_mean: -0.000923 (range: -0.000923 - -0.000923)
archetype_transform_std: 0.096726 (range: 0.096726 - 0.096726)
archetype_transform_norm: 6.907269 (range: 6.907269 - 6.907269)
archetype_transform_grad_norm: 0.195784 (range: 0.195784 - 0.195784)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0035, max=0.7663, mean=0.1429
Batch reconstruction MSE: 1.0060
Archetype stats: min=-7.2797, max=7.6998
Archetype change since last debug: 10.003535
Archetype gradients: norm=0.024806, mean=0.000885
Epoch 1/1
Average loss: 0.7983
Archetypal loss: 0.8673
KLD loss: 0.1767
Reconstruction loss: 0.8673
Archetype R²: 0.0766
Archetype transform grad norm: 0.218491
Archetype transform param norm: 7.2346
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.7983 (range: 0.7983 - 0.7983)
archetypal_loss: 0.8673 (range: 0.8673 - 0.8673)
kld_loss: 0.1767 (range: 0.1767 - 0.1767)
reconstruction_loss: 0.8673 (range: 0.8673 - 0.8673)
archetype_r2: 0.0766 (range: 0.0766 - 0.0766)
Archetype Transform Summary:
archetype_transform_mean: -0.000844 (range: -0.000844 - -0.000844)
archetype_transform_std: 0.101312 (range: 0.101312 - 0.101312)
archetype_transform_norm: 7.234634 (range: 7.234634 - 7.234634)
archetype_transform_grad_norm: 0.218491 (range: 0.218491 - 0.218491)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0042, max=0.8555, mean=0.1429
Batch reconstruction MSE: 1.0874
Archetype stats: min=-8.2750, max=9.1642
Archetype change since last debug: 8.257517
Archetype gradients: norm=0.039566, mean=0.001482
Epoch 1/1
Average loss: 0.7927
Archetypal loss: 0.8600
KLD loss: 0.1872
Reconstruction loss: 0.8600
Archetype R²: 0.0843
Archetype transform grad norm: 0.236950
Archetype transform param norm: 7.5059
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.7927 (range: 0.7927 - 0.7927)
archetypal_loss: 0.8600 (range: 0.8600 - 0.8600)
kld_loss: 0.1872 (range: 0.1872 - 0.1872)
reconstruction_loss: 0.8600 (range: 0.8600 - 0.8600)
archetype_r2: 0.0843 (range: 0.0843 - 0.0843)
Archetype Transform Summary:
archetype_transform_mean: -0.000592 (range: -0.000592 - -0.000592)
archetype_transform_std: 0.105112 (range: 0.105112 - 0.105112)
archetype_transform_norm: 7.505864 (range: 7.505864 - 7.505864)
archetype_transform_grad_norm: 0.236950 (range: 0.236950 - 0.236950)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0029, max=0.7344, mean=0.1429
Batch reconstruction MSE: 1.1013
Archetype stats: min=-9.2980, max=10.1599
Archetype change since last debug: 7.131611
Archetype gradients: norm=0.043131, mean=0.001637
Epoch 1/1
Average loss: 0.7857
Archetypal loss: 0.8510
KLD loss: 0.1989
Reconstruction loss: 0.8510
Archetype R²: 0.0939
Archetype transform grad norm: 0.245313
Archetype transform param norm: 7.7535
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.7857 (range: 0.7857 - 0.7857)
archetypal_loss: 0.8510 (range: 0.8510 - 0.8510)
kld_loss: 0.1989 (range: 0.1989 - 0.1989)
reconstruction_loss: 0.8510 (range: 0.8510 - 0.8510)
archetype_r2: 0.0939 (range: 0.0939 - 0.0939)
Archetype Transform Summary:
archetype_transform_mean: -0.000457 (range: -0.000457 - -0.000457)
archetype_transform_std: 0.108580 (range: 0.108580 - 0.108580)
archetype_transform_norm: 7.753467 (range: 7.753467 - 7.753467)
archetype_transform_grad_norm: 0.245313 (range: 0.245313 - 0.245313)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0055, max=0.6205, mean=0.1429
Batch reconstruction MSE: 1.1381
Archetype stats: min=-9.4566, max=11.1552
Archetype change since last debug: 6.195591
Archetype gradients: norm=0.059970, mean=0.002046
Epoch 1/1
Average loss: 0.7791
Archetypal loss: 0.8434
KLD loss: 0.2003
Reconstruction loss: 0.8434
Archetype R²: 0.1020
Archetype transform grad norm: 0.250208
Archetype transform param norm: 7.9789
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.7791 (range: 0.7791 - 0.7791)
archetypal_loss: 0.8434 (range: 0.8434 - 0.8434)
kld_loss: 0.2003 (range: 0.2003 - 0.2003)
reconstruction_loss: 0.8434 (range: 0.8434 - 0.8434)
archetype_r2: 0.1020 (range: 0.1020 - 0.1020)
Archetype Transform Summary:
archetype_transform_mean: -0.000237 (range: -0.000237 - -0.000237)
archetype_transform_std: 0.111738 (range: 0.111738 - 0.111738)
archetype_transform_norm: 7.978916 (range: 7.978916 - 7.978916)
archetype_transform_grad_norm: 0.250208 (range: 0.250208 - 0.250208)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0053, max=0.6559, mean=0.1429
Batch reconstruction MSE: 1.1190
Archetype stats: min=-10.1182, max=10.7679
Archetype change since last debug: 6.569515
Archetype gradients: norm=0.048882, mean=0.001957
Epoch 1/1
Average loss: 0.7722
Archetypal loss: 0.8367
KLD loss: 0.1922
Reconstruction loss: 0.8367
Archetype R²: 0.1092
Archetype transform grad norm: 0.246582
Archetype transform param norm: 8.1850
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.7722 (range: 0.7722 - 0.7722)
archetypal_loss: 0.8367 (range: 0.8367 - 0.8367)
kld_loss: 0.1922 (range: 0.1922 - 0.1922)
reconstruction_loss: 0.8367 (range: 0.8367 - 0.8367)
archetype_r2: 0.1092 (range: 0.1092 - 0.1092)
Archetype Transform Summary:
archetype_transform_mean: -0.000109 (range: -0.000109 - -0.000109)
archetype_transform_std: 0.114625 (range: 0.114625 - 0.114625)
archetype_transform_norm: 8.185039 (range: 8.185039 - 8.185039)
archetype_transform_grad_norm: 0.246582 (range: 0.246582 - 0.246582)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0077, max=0.5265, mean=0.1429
Batch reconstruction MSE: 1.0444
Archetype stats: min=-10.5210, max=11.3156
Archetype change since last debug: 5.433209
Archetype gradients: norm=0.055163, mean=0.001707
Epoch 1/1
Average loss: 0.7663
Archetypal loss: 0.8307
KLD loss: 0.1875
Reconstruction loss: 0.8307
Archetype R²: 0.1157
Archetype transform grad norm: 0.246088
Archetype transform param norm: 8.3727
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.7663 (range: 0.7663 - 0.7663)
archetypal_loss: 0.8307 (range: 0.8307 - 0.8307)
kld_loss: 0.1875 (range: 0.1875 - 0.1875)
reconstruction_loss: 0.8307 (range: 0.8307 - 0.8307)
archetype_r2: 0.1157 (range: 0.1157 - 0.1157)
Archetype Transform Summary:
archetype_transform_mean: 0.000035 (range: 0.000035 - 0.000035)
archetype_transform_std: 0.117253 (range: 0.117253 - 0.117253)
archetype_transform_norm: 8.372717 (range: 8.372717 - 8.372717)
archetype_transform_grad_norm: 0.246088 (range: 0.246088 - 0.246088)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0074, max=0.4034, mean=0.1429
Batch reconstruction MSE: 1.0924
Archetype stats: min=-11.0111, max=11.8873
Archetype change since last debug: 5.207432
Archetype gradients: norm=0.044279, mean=0.001529
Epoch 1/1
Average loss: 0.7645
Archetypal loss: 0.8292
KLD loss: 0.1814
Reconstruction loss: 0.8292
Archetype R²: 0.1171
Archetype transform grad norm: 0.259915
Archetype transform param norm: 8.5352
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.7645 (range: 0.7645 - 0.7645)
archetypal_loss: 0.8292 (range: 0.8292 - 0.8292)
kld_loss: 0.1814 (range: 0.1814 - 0.1814)
reconstruction_loss: 0.8292 (range: 0.8292 - 0.8292)
archetype_r2: 0.1171 (range: 0.1171 - 0.1171)
Archetype Transform Summary:
archetype_transform_mean: 0.000122 (range: 0.000122 - 0.000122)
archetype_transform_std: 0.119529 (range: 0.119529 - 0.119529)
archetype_transform_norm: 8.535219 (range: 8.535219 - 8.535219)
archetype_transform_grad_norm: 0.259915 (range: 0.259915 - 0.259915)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0073, max=0.5063, mean=0.1429
Batch reconstruction MSE: 1.1913
Archetype stats: min=-11.3371, max=12.4812
Archetype change since last debug: 4.715661
Archetype gradients: norm=0.097061, mean=0.003251
Epoch 1/1
Average loss: 0.7660
Archetypal loss: 0.8307
KLD loss: 0.1833
Reconstruction loss: 0.8307
Archetype R²: 0.1153
Archetype transform grad norm: 0.281970
Archetype transform param norm: 8.6251
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.7660 (range: 0.7660 - 0.7660)
archetypal_loss: 0.8307 (range: 0.8307 - 0.8307)
kld_loss: 0.1833 (range: 0.1833 - 0.1833)
reconstruction_loss: 0.8307 (range: 0.8307 - 0.8307)
archetype_r2: 0.1153 (range: 0.1153 - 0.1153)
Archetype Transform Summary:
archetype_transform_mean: 0.000204 (range: 0.000204 - 0.000204)
archetype_transform_std: 0.120787 (range: 0.120787 - 0.120787)
archetype_transform_norm: 8.625086 (range: 8.625086 - 8.625086)
archetype_transform_grad_norm: 0.281970 (range: 0.281970 - 0.281970)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0097, max=0.4137, mean=0.1429
Batch reconstruction MSE: 1.2119
Archetype stats: min=-11.4724, max=12.8852
Archetype change since last debug: 3.392992
Archetype gradients: norm=0.061230, mean=0.002421
Epoch 1/1
Average loss: 0.7651
Archetypal loss: 0.8297
KLD loss: 0.1838
Reconstruction loss: 0.8297
Archetype R²: 0.1164
Archetype transform grad norm: 0.290986
Archetype transform param norm: 8.7035
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.7651 (range: 0.7651 - 0.7651)
archetypal_loss: 0.8297 (range: 0.8297 - 0.8297)
kld_loss: 0.1838 (range: 0.1838 - 0.1838)
reconstruction_loss: 0.8297 (range: 0.8297 - 0.8297)
archetype_r2: 0.1164 (range: 0.1164 - 0.1164)
Archetype Transform Summary:
archetype_transform_mean: 0.000265 (range: 0.000265 - 0.000265)
archetype_transform_std: 0.121886 (range: 0.121886 - 0.121886)
archetype_transform_norm: 8.703539 (range: 8.703539 - 8.703539)
archetype_transform_grad_norm: 0.290986 (range: 0.290986 - 0.290986)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0104, max=0.3664, mean=0.1429
Batch reconstruction MSE: 1.0736
Archetype stats: min=-11.9662, max=13.2796
Archetype change since last debug: 3.551856
Archetype gradients: norm=0.058168, mean=0.002179
Epoch 1/1
Average loss: 0.7589
Archetypal loss: 0.8234
KLD loss: 0.1780
Reconstruction loss: 0.8234
Archetype R²: 0.1233
Archetype transform grad norm: 0.267608
Archetype transform param norm: 8.7927
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.7589 (range: 0.7589 - 0.7589)
archetypal_loss: 0.8234 (range: 0.8234 - 0.8234)
kld_loss: 0.1780 (range: 0.1780 - 0.1780)
reconstruction_loss: 0.8234 (range: 0.8234 - 0.8234)
archetype_r2: 0.1233 (range: 0.1233 - 0.1233)
Archetype Transform Summary:
archetype_transform_mean: 0.000377 (range: 0.000377 - 0.000377)
archetype_transform_std: 0.123135 (range: 0.123135 - 0.123135)
archetype_transform_norm: 8.792743 (range: 8.792743 - 8.792743)
archetype_transform_grad_norm: 0.267608 (range: 0.267608 - 0.267608)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0123, max=0.3464, mean=0.1429
Batch reconstruction MSE: 0.9876
Archetype stats: min=-12.4743, max=13.6972
Archetype change since last debug: 3.265013
Archetype gradients: norm=0.033698, mean=0.001386
Epoch 1/1
Average loss: 0.7548
Archetypal loss: 0.8197
KLD loss: 0.1705
Reconstruction loss: 0.8197
Archetype R²: 0.1274
Archetype transform grad norm: 0.258289
Archetype transform param norm: 8.9076
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.7548 (range: 0.7548 - 0.7548)
archetypal_loss: 0.8197 (range: 0.8197 - 0.8197)
kld_loss: 0.1705 (range: 0.1705 - 0.1705)
reconstruction_loss: 0.8197 (range: 0.8197 - 0.8197)
archetype_r2: 0.1274 (range: 0.1274 - 0.1274)
Archetype Transform Summary:
archetype_transform_mean: 0.000453 (range: 0.000453 - 0.000453)
archetype_transform_std: 0.124743 (range: 0.124743 - 0.124743)
archetype_transform_norm: 8.907598 (range: 8.907598 - 8.907598)
archetype_transform_grad_norm: 0.258289 (range: 0.258289 - 0.258289)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0127, max=0.3050, mean=0.1429
Batch reconstruction MSE: 0.9722
Archetype stats: min=-13.1704, max=14.4504
Archetype change since last debug: 3.530234
Archetype gradients: norm=0.026890, mean=0.001114
Epoch 1/1
Average loss: 0.7527
Archetypal loss: 0.8182
KLD loss: 0.1632
Reconstruction loss: 0.8182
Archetype R²: 0.1291
Archetype transform grad norm: 0.259510
Archetype transform param norm: 9.0193
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.7527 (range: 0.7527 - 0.7527)
archetypal_loss: 0.8182 (range: 0.8182 - 0.8182)
kld_loss: 0.1632 (range: 0.1632 - 0.1632)
reconstruction_loss: 0.8182 (range: 0.8182 - 0.8182)
archetype_r2: 0.1291 (range: 0.1291 - 0.1291)
Archetype Transform Summary:
archetype_transform_mean: 0.000568 (range: 0.000568 - 0.000568)
archetype_transform_std: 0.126307 (range: 0.126307 - 0.126307)
archetype_transform_norm: 9.019350 (range: 9.019350 - 9.019350)
archetype_transform_grad_norm: 0.259510 (range: 0.259510 - 0.259510)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0152, max=0.3462, mean=0.1429
Batch reconstruction MSE: 0.9962
Archetype stats: min=-13.6677, max=15.3480
Archetype change since last debug: 3.330317
Archetype gradients: norm=0.041091, mean=0.001556
Epoch 1/1
Average loss: 0.7525
Archetypal loss: 0.8182
KLD loss: 0.1613
Reconstruction loss: 0.8182
Archetype R²: 0.1290
Archetype transform grad norm: 0.262124
Archetype transform param norm: 9.1145
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.7525 (range: 0.7525 - 0.7525)
archetypal_loss: 0.8182 (range: 0.8182 - 0.8182)
kld_loss: 0.1613 (range: 0.1613 - 0.1613)
reconstruction_loss: 0.8182 (range: 0.8182 - 0.8182)
archetype_r2: 0.1290 (range: 0.1290 - 0.1290)
Archetype Transform Summary:
archetype_transform_mean: 0.000630 (range: 0.000630 - 0.000630)
archetype_transform_std: 0.127640 (range: 0.127640 - 0.127640)
archetype_transform_norm: 9.114550 (range: 9.114550 - 9.114550)
archetype_transform_grad_norm: 0.262124 (range: 0.262124 - 0.262124)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0158, max=0.3094, mean=0.1429
Batch reconstruction MSE: 1.0613
Archetype stats: min=-14.2358, max=15.9273
Archetype change since last debug: 2.885746
Archetype gradients: norm=0.031435, mean=0.001264
Epoch 1/1
Average loss: 0.7530
Archetypal loss: 0.8190
KLD loss: 0.1590
Reconstruction loss: 0.8190
Archetype R²: 0.1279
Archetype transform grad norm: 0.273525
Archetype transform param norm: 9.1862
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.7530 (range: 0.7530 - 0.7530)
archetypal_loss: 0.8190 (range: 0.8190 - 0.8190)
kld_loss: 0.1590 (range: 0.1590 - 0.1590)
reconstruction_loss: 0.8190 (range: 0.8190 - 0.8190)
archetype_r2: 0.1279 (range: 0.1279 - 0.1279)
Archetype Transform Summary:
archetype_transform_mean: 0.000688 (range: 0.000688 - 0.000688)
archetype_transform_std: 0.128644 (range: 0.128644 - 0.128644)
archetype_transform_norm: 9.186216 (range: 9.186216 - 9.186216)
archetype_transform_grad_norm: 0.273525 (range: 0.273525 - 0.273525)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0180, max=0.6506, mean=0.1429
Batch reconstruction MSE: 1.2158
Archetype stats: min=-14.3699, max=16.4688
Archetype change since last debug: 2.330582
Archetype gradients: norm=0.091776, mean=0.002899
Epoch 1/1
Average loss: 0.7571
Archetypal loss: 0.8227
KLD loss: 0.1668
Reconstruction loss: 0.8227
Archetype R²: 0.1236
Archetype transform grad norm: 0.276189
Archetype transform param norm: 9.2017
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.7571 (range: 0.7571 - 0.7571)
archetypal_loss: 0.8227 (range: 0.8227 - 0.8227)
kld_loss: 0.1668 (range: 0.1668 - 0.1668)
reconstruction_loss: 0.8227 (range: 0.8227 - 0.8227)
archetype_r2: 0.1236 (range: 0.1236 - 0.1236)
Archetype Transform Summary:
archetype_transform_mean: 0.000687 (range: 0.000687 - 0.000687)
archetype_transform_std: 0.128860 (range: 0.128860 - 0.128860)
archetype_transform_norm: 9.201706 (range: 9.201706 - 9.201706)
archetype_transform_grad_norm: 0.276189 (range: 0.276189 - 0.276189)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0231, max=0.2951, mean=0.1429
Batch reconstruction MSE: 1.0740
Archetype stats: min=-14.2747, max=16.6246
Archetype change since last debug: 1.644908
Archetype gradients: norm=0.048656, mean=0.002177
Epoch 1/1
Average loss: 0.7532
Archetypal loss: 0.8191
KLD loss: 0.1604
Reconstruction loss: 0.8191
Archetype R²: 0.1278
Archetype transform grad norm: 0.289774
Archetype transform param norm: 9.2493
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.7532 (range: 0.7532 - 0.7532)
archetypal_loss: 0.8191 (range: 0.8191 - 0.8191)
kld_loss: 0.1604 (range: 0.1604 - 0.1604)
reconstruction_loss: 0.8191 (range: 0.8191 - 0.8191)
archetype_r2: 0.1278 (range: 0.1278 - 0.1278)
Archetype Transform Summary:
archetype_transform_mean: 0.000720 (range: 0.000720 - 0.000720)
archetype_transform_std: 0.129526 (range: 0.129526 - 0.129526)
archetype_transform_norm: 9.249251 (range: 9.249251 - 9.249251)
archetype_transform_grad_norm: 0.289774 (range: 0.289774 - 0.289774)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0198, max=0.3924, mean=0.1429
Batch reconstruction MSE: 1.0913
Archetype stats: min=-14.2919, max=17.1168
Archetype change since last debug: 2.111261
Archetype gradients: norm=0.081160, mean=0.002964
Epoch 1/1
Average loss: 0.7538
Archetypal loss: 0.8199
KLD loss: 0.1583
Reconstruction loss: 0.8199
Archetype R²: 0.1269
Archetype transform grad norm: 0.291111
Archetype transform param norm: 9.2810
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.7538 (range: 0.7538 - 0.7538)
archetypal_loss: 0.8199 (range: 0.8199 - 0.8199)
kld_loss: 0.1583 (range: 0.1583 - 0.1583)
reconstruction_loss: 0.8199 (range: 0.8199 - 0.8199)
archetype_r2: 0.1269 (range: 0.1269 - 0.1269)
Archetype Transform Summary:
archetype_transform_mean: 0.000716 (range: 0.000716 - 0.000716)
archetype_transform_std: 0.129970 (range: 0.129970 - 0.129970)
archetype_transform_norm: 9.280974 (range: 9.280974 - 9.280974)
archetype_transform_grad_norm: 0.291111 (range: 0.291111 - 0.291111)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0205, max=0.3617, mean=0.1429
Batch reconstruction MSE: 1.0877
Archetype stats: min=-14.6301, max=16.9061
Archetype change since last debug: 1.961236
Archetype gradients: norm=0.050166, mean=0.002184
Epoch 1/1
Average loss: 0.7530
Archetypal loss: 0.8192
KLD loss: 0.1570
Reconstruction loss: 0.8192
Archetype R²: 0.1276
Archetype transform grad norm: 0.303651
Archetype transform param norm: 9.3199
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.7530 (range: 0.7530 - 0.7530)
archetypal_loss: 0.8192 (range: 0.8192 - 0.8192)
kld_loss: 0.1570 (range: 0.1570 - 0.1570)
reconstruction_loss: 0.8192 (range: 0.8192 - 0.8192)
archetype_r2: 0.1276 (range: 0.1276 - 0.1276)
Archetype Transform Summary:
archetype_transform_mean: 0.000721 (range: 0.000721 - 0.000721)
archetype_transform_std: 0.130515 (range: 0.130515 - 0.130515)
archetype_transform_norm: 9.319879 (range: 9.319879 - 9.319879)
archetype_transform_grad_norm: 0.303651 (range: 0.303651 - 0.303651)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0219, max=0.3778, mean=0.1429
Batch reconstruction MSE: 1.0701
Archetype stats: min=-14.4976, max=17.1037
Archetype change since last debug: 2.206370
Archetype gradients: norm=0.072004, mean=0.002945
Epoch 1/1
Average loss: 0.7516
Archetypal loss: 0.8177
KLD loss: 0.1568
Reconstruction loss: 0.8177
Archetype R²: 0.1293
Archetype transform grad norm: 0.290276
Archetype transform param norm: 9.3507
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.7516 (range: 0.7516 - 0.7516)
archetypal_loss: 0.8177 (range: 0.8177 - 0.8177)
kld_loss: 0.1568 (range: 0.1568 - 0.1568)
reconstruction_loss: 0.8177 (range: 0.8177 - 0.8177)
archetype_r2: 0.1293 (range: 0.1293 - 0.1293)
Archetype Transform Summary:
archetype_transform_mean: 0.000803 (range: 0.000803 - 0.000803)
archetype_transform_std: 0.130947 (range: 0.130947 - 0.130947)
archetype_transform_norm: 9.350732 (range: 9.350732 - 9.350732)
archetype_transform_grad_norm: 0.290276 (range: 0.290276 - 0.290276)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0251, max=0.3168, mean=0.1429
Batch reconstruction MSE: 1.0612
Archetype stats: min=-14.6963, max=17.3657
Archetype change since last debug: 1.958299
Archetype gradients: norm=0.041476, mean=0.001801
Epoch 1/1
Average loss: 0.7500
Archetypal loss: 0.8162
KLD loss: 0.1537
Reconstruction loss: 0.8162
Archetype R²: 0.1308
Archetype transform grad norm: 0.286258
Archetype transform param norm: 9.3983
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.7500 (range: 0.7500 - 0.7500)
archetypal_loss: 0.8162 (range: 0.8162 - 0.8162)
kld_loss: 0.1537 (range: 0.1537 - 0.1537)
reconstruction_loss: 0.8162 (range: 0.8162 - 0.8162)
archetype_r2: 0.1308 (range: 0.1308 - 0.1308)
Archetype Transform Summary:
archetype_transform_mean: 0.000802 (range: 0.000802 - 0.000802)
archetype_transform_std: 0.131613 (range: 0.131613 - 0.131613)
archetype_transform_norm: 9.398326 (range: 9.398326 - 9.398326)
archetype_transform_grad_norm: 0.286258 (range: 0.286258 - 0.286258)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0275, max=0.3480, mean=0.1429
Batch reconstruction MSE: 1.0127
Archetype stats: min=-14.5790, max=17.8130
Archetype change since last debug: 1.916278
Archetype gradients: norm=0.049725, mean=0.002084
Epoch 1/1
Average loss: 0.7482
Archetypal loss: 0.8147
KLD loss: 0.1498
Reconstruction loss: 0.8147
Archetype R²: 0.1325
Archetype transform grad norm: 0.279090
Archetype transform param norm: 9.4454
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.7482 (range: 0.7482 - 0.7482)
archetypal_loss: 0.8147 (range: 0.8147 - 0.8147)
kld_loss: 0.1498 (range: 0.1498 - 0.1498)
reconstruction_loss: 0.8147 (range: 0.8147 - 0.8147)
archetype_r2: 0.1325 (range: 0.1325 - 0.1325)
Archetype Transform Summary:
archetype_transform_mean: 0.000865 (range: 0.000865 - 0.000865)
archetype_transform_std: 0.132272 (range: 0.132272 - 0.132272)
archetype_transform_norm: 9.445362 (range: 9.445362 - 9.445362)
archetype_transform_grad_norm: 0.279090 (range: 0.279090 - 0.279090)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0274, max=0.3119, mean=0.1429
Batch reconstruction MSE: 1.0571
Archetype stats: min=-14.8855, max=17.8960
Archetype change since last debug: 1.947894
Archetype gradients: norm=0.039160, mean=0.001742
Epoch 1/1
Average loss: 0.7487
Archetypal loss: 0.8154
KLD loss: 0.1480
Reconstruction loss: 0.8154
Archetype R²: 0.1316
Archetype transform grad norm: 0.278547
Archetype transform param norm: 9.4923
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.7487 (range: 0.7487 - 0.7487)
archetypal_loss: 0.8154 (range: 0.8154 - 0.8154)
kld_loss: 0.1480 (range: 0.1480 - 0.1480)
reconstruction_loss: 0.8154 (range: 0.8154 - 0.8154)
archetype_r2: 0.1316 (range: 0.1316 - 0.1316)
Archetype Transform Summary:
archetype_transform_mean: 0.000875 (range: 0.000875 - 0.000875)
archetype_transform_std: 0.132929 (range: 0.132929 - 0.132929)
archetype_transform_norm: 9.492273 (range: 9.492273 - 9.492273)
archetype_transform_grad_norm: 0.278547 (range: 0.278547 - 0.278547)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0299, max=0.3473, mean=0.1429
Batch reconstruction MSE: 1.0903
Archetype stats: min=-14.8024, max=18.2288
Archetype change since last debug: 1.727954
Archetype gradients: norm=0.050818, mean=0.002186
Epoch 1/1
Average loss: 0.7494
Archetypal loss: 0.8161
KLD loss: 0.1493
Reconstruction loss: 0.8161
Archetype R²: 0.1308
Archetype transform grad norm: 0.279956
Archetype transform param norm: 9.5175
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.7494 (range: 0.7494 - 0.7494)
archetypal_loss: 0.8161 (range: 0.8161 - 0.8161)
kld_loss: 0.1493 (range: 0.1493 - 0.1493)
reconstruction_loss: 0.8161 (range: 0.8161 - 0.8161)
archetype_r2: 0.1308 (range: 0.1308 - 0.1308)
Archetype Transform Summary:
archetype_transform_mean: 0.000904 (range: 0.000904 - 0.000904)
archetype_transform_std: 0.133281 (range: 0.133281 - 0.133281)
archetype_transform_norm: 9.517461 (range: 9.517461 - 9.517461)
archetype_transform_grad_norm: 0.279956 (range: 0.279956 - 0.279956)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0220, max=0.3242, mean=0.1429
Batch reconstruction MSE: 1.1585
Archetype stats: min=-14.9936, max=18.1665
Archetype change since last debug: 1.421768
Archetype gradients: norm=0.070054, mean=0.002610
Epoch 1/1
Average loss: 0.7505
Archetypal loss: 0.8173
KLD loss: 0.1491
Reconstruction loss: 0.8173
Archetype R²: 0.1293
Archetype transform grad norm: 0.283770
Archetype transform param norm: 9.5296
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.7505 (range: 0.7505 - 0.7505)
archetypal_loss: 0.8173 (range: 0.8173 - 0.8173)
kld_loss: 0.1491 (range: 0.1491 - 0.1491)
reconstruction_loss: 0.8173 (range: 0.8173 - 0.8173)
archetype_r2: 0.1293 (range: 0.1293 - 0.1293)
Archetype Transform Summary:
archetype_transform_mean: 0.000891 (range: 0.000891 - 0.000891)
archetype_transform_std: 0.133451 (range: 0.133451 - 0.133451)
archetype_transform_norm: 9.529594 (range: 9.529594 - 9.529594)
archetype_transform_grad_norm: 0.283770 (range: 0.283770 - 0.283770)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0355, max=0.2864, mean=0.1429
Batch reconstruction MSE: 1.0352
Archetype stats: min=-14.7919, max=18.4425
Archetype change since last debug: 1.558311
Archetype gradients: norm=0.049432, mean=0.002181
Epoch 1/1
Average loss: 0.7470
Archetypal loss: 0.8137
KLD loss: 0.1473
Reconstruction loss: 0.8137
Archetype R²: 0.1335
Archetype transform grad norm: 0.278578
Archetype transform param norm: 9.5660
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.7470 (range: 0.7470 - 0.7470)
archetypal_loss: 0.8137 (range: 0.8137 - 0.8137)
kld_loss: 0.1473 (range: 0.1473 - 0.1473)
reconstruction_loss: 0.8137 (range: 0.8137 - 0.8137)
archetype_r2: 0.1335 (range: 0.1335 - 0.1335)
Archetype Transform Summary:
archetype_transform_mean: 0.000913 (range: 0.000913 - 0.000913)
archetype_transform_std: 0.133960 (range: 0.133960 - 0.133960)
archetype_transform_norm: 9.565952 (range: 9.565952 - 9.565952)
archetype_transform_grad_norm: 0.278578 (range: 0.278578 - 0.278578)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0267, max=0.3700, mean=0.1429
Batch reconstruction MSE: 1.0617
Archetype stats: min=-15.1036, max=18.4714
Archetype change since last debug: 1.725738
Archetype gradients: norm=0.096951, mean=0.002842
Epoch 1/1
Average loss: 0.7476
Archetypal loss: 0.8144
KLD loss: 0.1465
Reconstruction loss: 0.8144
Archetype R²: 0.1326
Archetype transform grad norm: 0.281619
Archetype transform param norm: 9.5899
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.7476 (range: 0.7476 - 0.7476)
archetypal_loss: 0.8144 (range: 0.8144 - 0.8144)
kld_loss: 0.1465 (range: 0.1465 - 0.1465)
reconstruction_loss: 0.8144 (range: 0.8144 - 0.8144)
archetype_r2: 0.1326 (range: 0.1326 - 0.1326)
Archetype Transform Summary:
archetype_transform_mean: 0.000949 (range: 0.000949 - 0.000949)
archetype_transform_std: 0.134296 (range: 0.134296 - 0.134296)
archetype_transform_norm: 9.589923 (range: 9.589923 - 9.589923)
archetype_transform_grad_norm: 0.281619 (range: 0.281619 - 0.281619)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0350, max=0.2805, mean=0.1429
Batch reconstruction MSE: 1.0635
Archetype stats: min=-15.0859, max=18.8505
Archetype change since last debug: 1.537201
Archetype gradients: norm=0.065825, mean=0.002714
Epoch 1/1
Average loss: 0.7476
Archetypal loss: 0.8145
KLD loss: 0.1457
Reconstruction loss: 0.8145
Archetype R²: 0.1325
Archetype transform grad norm: 0.293020
Archetype transform param norm: 9.6207
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.7476 (range: 0.7476 - 0.7476)
archetypal_loss: 0.8145 (range: 0.8145 - 0.8145)
kld_loss: 0.1457 (range: 0.1457 - 0.1457)
reconstruction_loss: 0.8145 (range: 0.8145 - 0.8145)
archetype_r2: 0.1325 (range: 0.1325 - 0.1325)
Archetype Transform Summary:
archetype_transform_mean: 0.000924 (range: 0.000924 - 0.000924)
archetype_transform_std: 0.134727 (range: 0.134727 - 0.134727)
archetype_transform_norm: 9.620697 (range: 9.620697 - 9.620697)
archetype_transform_grad_norm: 0.293020 (range: 0.293020 - 0.293020)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0304, max=0.2937, mean=0.1429
Batch reconstruction MSE: 1.0644
Archetype stats: min=-15.3630, max=18.8231
Archetype change since last debug: 1.529706
Archetype gradients: norm=0.063495, mean=0.002397
Epoch 1/1
Average loss: 0.7467
Archetypal loss: 0.8137
KLD loss: 0.1430
Reconstruction loss: 0.8137
Archetype R²: 0.1333
Archetype transform grad norm: 0.281960
Archetype transform param norm: 9.6461
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.7467 (range: 0.7467 - 0.7467)
archetypal_loss: 0.8137 (range: 0.8137 - 0.8137)
kld_loss: 0.1430 (range: 0.1430 - 0.1430)
reconstruction_loss: 0.8137 (range: 0.8137 - 0.8137)
archetype_r2: 0.1333 (range: 0.1333 - 0.1333)
Archetype Transform Summary:
archetype_transform_mean: 0.000968 (range: 0.000968 - 0.000968)
archetype_transform_std: 0.135083 (range: 0.135083 - 0.135083)
archetype_transform_norm: 9.646143 (range: 9.646143 - 9.646143)
archetype_transform_grad_norm: 0.281960 (range: 0.281960 - 0.281960)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0388, max=0.3072, mean=0.1429
Batch reconstruction MSE: 1.0412
Archetype stats: min=-15.1002, max=19.1536
Archetype change since last debug: 1.465854
Archetype gradients: norm=0.057916, mean=0.002396
Epoch 1/1
Average loss: 0.7466
Archetypal loss: 0.8140
KLD loss: 0.1401
Reconstruction loss: 0.8140
Archetype R²: 0.1331
Archetype transform grad norm: 0.298175
Archetype transform param norm: 9.6722
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.7466 (range: 0.7466 - 0.7466)
archetypal_loss: 0.8140 (range: 0.8140 - 0.8140)
kld_loss: 0.1401 (range: 0.1401 - 0.1401)
reconstruction_loss: 0.8140 (range: 0.8140 - 0.8140)
archetype_r2: 0.1331 (range: 0.1331 - 0.1331)
Archetype Transform Summary:
archetype_transform_mean: 0.000917 (range: 0.000917 - 0.000917)
archetype_transform_std: 0.135449 (range: 0.135449 - 0.135449)
archetype_transform_norm: 9.672245 (range: 9.672245 - 9.672245)
archetype_transform_grad_norm: 0.298175 (range: 0.298175 - 0.298175)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0374, max=0.3141, mean=0.1429
Batch reconstruction MSE: 1.1333
Archetype stats: min=-15.3139, max=18.9231
Archetype change since last debug: 1.800575
Archetype gradients: norm=0.090923, mean=0.003581
Epoch 1/1
Average loss: 0.7491
Archetypal loss: 0.8161
KLD loss: 0.1462
Reconstruction loss: 0.8161
Archetype R²: 0.1307
Archetype transform grad norm: 0.305656
Archetype transform param norm: 9.6924
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.7491 (range: 0.7491 - 0.7491)
archetypal_loss: 0.8161 (range: 0.8161 - 0.8161)
kld_loss: 0.1462 (range: 0.1462 - 0.1462)
reconstruction_loss: 0.8161 (range: 0.8161 - 0.8161)
archetype_r2: 0.1307 (range: 0.1307 - 0.1307)
Archetype Transform Summary:
archetype_transform_mean: 0.000985 (range: 0.000985 - 0.000985)
archetype_transform_std: 0.135730 (range: 0.135730 - 0.135730)
archetype_transform_norm: 9.692380 (range: 9.692380 - 9.692380)
archetype_transform_grad_norm: 0.305656 (range: 0.305656 - 0.305656)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0319, max=0.3493, mean=0.1429
Batch reconstruction MSE: 1.1952
Archetype stats: min=-15.1135, max=19.1290
Archetype change since last debug: 1.997687
Archetype gradients: norm=0.079055, mean=0.003368
Epoch 1/1
Average loss: 0.7499
Archetypal loss: 0.8175
KLD loss: 0.1413
Reconstruction loss: 0.8175
Archetype R²: 0.1290
Archetype transform grad norm: 0.310804
Archetype transform param norm: 9.6774
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.7499 (range: 0.7499 - 0.7499)
archetypal_loss: 0.8175 (range: 0.8175 - 0.8175)
kld_loss: 0.1413 (range: 0.1413 - 0.1413)
reconstruction_loss: 0.8175 (range: 0.8175 - 0.8175)
archetype_r2: 0.1290 (range: 0.1290 - 0.1290)
Archetype Transform Summary:
archetype_transform_mean: 0.000944 (range: 0.000944 - 0.000944)
archetype_transform_std: 0.135521 (range: 0.135521 - 0.135521)
archetype_transform_norm: 9.677436 (range: 9.677436 - 9.677436)
archetype_transform_grad_norm: 0.310804 (range: 0.310804 - 0.310804)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0388, max=0.3084, mean=0.1429
Batch reconstruction MSE: 1.0633
Archetype stats: min=-15.2541, max=18.7190
Archetype change since last debug: 1.918482
Archetype gradients: norm=0.063376, mean=0.002486
Epoch 1/1
Average loss: 0.7457
Archetypal loss: 0.8130
KLD loss: 0.1396
Reconstruction loss: 0.8130
Archetype R²: 0.1340
Archetype transform grad norm: 0.290113
Archetype transform param norm: 9.7067
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.7457 (range: 0.7457 - 0.7457)
archetypal_loss: 0.8130 (range: 0.8130 - 0.8130)
kld_loss: 0.1396 (range: 0.1396 - 0.1396)
reconstruction_loss: 0.8130 (range: 0.8130 - 0.8130)
archetype_r2: 0.1340 (range: 0.1340 - 0.1340)
Archetype Transform Summary:
archetype_transform_mean: 0.000970 (range: 0.000970 - 0.000970)
archetype_transform_std: 0.135930 (range: 0.135930 - 0.135930)
archetype_transform_norm: 9.706662 (range: 9.706662 - 9.706662)
archetype_transform_grad_norm: 0.290113 (range: 0.290113 - 0.290113)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0384, max=0.3551, mean=0.1429
Batch reconstruction MSE: 1.0326
Archetype stats: min=-14.9673, max=19.1283
Archetype change since last debug: 1.786808
Archetype gradients: norm=0.044957, mean=0.001757
Epoch 1/1
Average loss: 0.7448
Archetypal loss: 0.8125
KLD loss: 0.1359
Reconstruction loss: 0.8125
Archetype R²: 0.1346
Archetype transform grad norm: 0.288056
Archetype transform param norm: 9.7348
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.7448 (range: 0.7448 - 0.7448)
archetypal_loss: 0.8125 (range: 0.8125 - 0.8125)
kld_loss: 0.1359 (range: 0.1359 - 0.1359)
reconstruction_loss: 0.8125 (range: 0.8125 - 0.8125)
archetype_r2: 0.1346 (range: 0.1346 - 0.1346)
Archetype Transform Summary:
archetype_transform_mean: 0.000993 (range: 0.000993 - 0.000993)
archetype_transform_std: 0.136325 (range: 0.136325 - 0.136325)
archetype_transform_norm: 9.734845 (range: 9.734845 - 9.734845)
archetype_transform_grad_norm: 0.288056 (range: 0.288056 - 0.288056)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0443, max=0.2844, mean=0.1429
Batch reconstruction MSE: 1.0044
Archetype stats: min=-15.0163, max=19.0106
Archetype change since last debug: 1.473497
Archetype gradients: norm=0.063409, mean=0.002178
Epoch 1/1
Average loss: 0.7434
Archetypal loss: 0.8109
KLD loss: 0.1359
Reconstruction loss: 0.8109
Archetype R²: 0.1363
Archetype transform grad norm: 0.276437
Archetype transform param norm: 9.7669
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.7434 (range: 0.7434 - 0.7434)
archetypal_loss: 0.8109 (range: 0.8109 - 0.8109)
kld_loss: 0.1359 (range: 0.1359 - 0.1359)
reconstruction_loss: 0.8109 (range: 0.8109 - 0.8109)
archetype_r2: 0.1363 (range: 0.1363 - 0.1363)
Archetype Transform Summary:
archetype_transform_mean: 0.001010 (range: 0.001010 - 0.001010)
archetype_transform_std: 0.136774 (range: 0.136774 - 0.136774)
archetype_transform_norm: 9.766901 (range: 9.766901 - 9.766901)
archetype_transform_grad_norm: 0.276437 (range: 0.276437 - 0.276437)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0343, max=0.3696, mean=0.1429
Batch reconstruction MSE: 1.0192
Archetype stats: min=-15.2205, max=19.3994
Archetype change since last debug: 1.477689
Archetype gradients: norm=0.045095, mean=0.001830
Epoch 1/1
Average loss: 0.7437
Archetypal loss: 0.8115
KLD loss: 0.1337
Reconstruction loss: 0.8115
Archetype R²: 0.1357
Archetype transform grad norm: 0.279661
Archetype transform param norm: 9.8015
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.7437 (range: 0.7437 - 0.7437)
archetypal_loss: 0.8115 (range: 0.8115 - 0.8115)
kld_loss: 0.1337 (range: 0.1337 - 0.1337)
reconstruction_loss: 0.8115 (range: 0.8115 - 0.8115)
archetype_r2: 0.1357 (range: 0.1357 - 0.1357)
Archetype Transform Summary:
archetype_transform_mean: 0.001029 (range: 0.001029 - 0.001029)
archetype_transform_std: 0.137258 (range: 0.137258 - 0.137258)
archetype_transform_norm: 9.801497 (range: 9.801497 - 9.801497)
archetype_transform_grad_norm: 0.279661 (range: 0.279661 - 0.279661)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0423, max=0.2830, mean=0.1429
Batch reconstruction MSE: 1.0001
Archetype stats: min=-15.3032, max=19.4639
Archetype change since last debug: 1.334882
Archetype gradients: norm=0.075579, mean=0.002321
Epoch 1/1
Average loss: 0.7429
Archetypal loss: 0.8106
KLD loss: 0.1338
Reconstruction loss: 0.8106
Archetype R²: 0.1366
Archetype transform grad norm: 0.279279
Archetype transform param norm: 9.8240
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.7429 (range: 0.7429 - 0.7429)
archetypal_loss: 0.8106 (range: 0.8106 - 0.8106)
kld_loss: 0.1338 (range: 0.1338 - 0.1338)
reconstruction_loss: 0.8106 (range: 0.8106 - 0.8106)
archetype_r2: 0.1366 (range: 0.1366 - 0.1366)
Archetype Transform Summary:
archetype_transform_mean: 0.001052 (range: 0.001052 - 0.001052)
archetype_transform_std: 0.137573 (range: 0.137573 - 0.137573)
archetype_transform_norm: 9.824027 (range: 9.824027 - 9.824027)
archetype_transform_grad_norm: 0.279279 (range: 0.279279 - 0.279279)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0228, max=0.3237, mean=0.1429
Batch reconstruction MSE: 1.0850
Archetype stats: min=-15.5567, max=19.8044
Archetype change since last debug: 1.386918
Archetype gradients: norm=0.055899, mean=0.002312
Epoch 1/1
Average loss: 0.7456
Archetypal loss: 0.8135
KLD loss: 0.1346
Reconstruction loss: 0.8135
Archetype R²: 0.1334
Archetype transform grad norm: 0.297194
Archetype transform param norm: 9.8456
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.7456 (range: 0.7456 - 0.7456)
archetypal_loss: 0.8135 (range: 0.8135 - 0.8135)
kld_loss: 0.1346 (range: 0.1346 - 0.1346)
reconstruction_loss: 0.8135 (range: 0.8135 - 0.8135)
archetype_r2: 0.1334 (range: 0.1334 - 0.1334)
Archetype Transform Summary:
archetype_transform_mean: 0.001073 (range: 0.001073 - 0.001073)
archetype_transform_std: 0.137875 (range: 0.137875 - 0.137875)
archetype_transform_norm: 9.845605 (range: 9.845605 - 9.845605)
archetype_transform_grad_norm: 0.297194 (range: 0.297194 - 0.297194)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0378, max=0.2841, mean=0.1429
Batch reconstruction MSE: 1.0360
Archetype stats: min=-15.5799, max=19.9046
Archetype change since last debug: 1.381089
Archetype gradients: norm=0.075774, mean=0.002295
Epoch 1/1
Average loss: 0.7442
Archetypal loss: 0.8119
KLD loss: 0.1352
Reconstruction loss: 0.8119
Archetype R²: 0.1352
Archetype transform grad norm: 0.287078
Archetype transform param norm: 9.8490
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.7442 (range: 0.7442 - 0.7442)
archetypal_loss: 0.8119 (range: 0.8119 - 0.8119)
kld_loss: 0.1352 (range: 0.1352 - 0.1352)
reconstruction_loss: 0.8119 (range: 0.8119 - 0.8119)
archetype_r2: 0.1352 (range: 0.1352 - 0.1352)
Archetype Transform Summary:
archetype_transform_mean: 0.001072 (range: 0.001072 - 0.001072)
archetype_transform_std: 0.137923 (range: 0.137923 - 0.137923)
archetype_transform_norm: 9.849010 (range: 9.849010 - 9.849010)
archetype_transform_grad_norm: 0.287078 (range: 0.287078 - 0.287078)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0168, max=0.3777, mean=0.1429
Batch reconstruction MSE: 1.2108
Archetype stats: min=-15.7620, max=20.0557
Archetype change since last debug: 1.280564
Archetype gradients: norm=0.052829, mean=0.002267
Epoch 1/1
Average loss: 0.7477
Archetypal loss: 0.8157
KLD loss: 0.1353
Reconstruction loss: 0.8157
Archetype R²: 0.1307
Archetype transform grad norm: 0.284199
Archetype transform param norm: 9.8405
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.7477 (range: 0.7477 - 0.7477)
archetypal_loss: 0.8157 (range: 0.8157 - 0.8157)
kld_loss: 0.1353 (range: 0.1353 - 0.1353)
reconstruction_loss: 0.8157 (range: 0.8157 - 0.8157)
archetype_r2: 0.1307 (range: 0.1307 - 0.1307)
Archetype Transform Summary:
archetype_transform_mean: 0.001062 (range: 0.001062 - 0.001062)
archetype_transform_std: 0.137803 (range: 0.137803 - 0.137803)
archetype_transform_norm: 9.840457 (range: 9.840457 - 9.840457)
archetype_transform_grad_norm: 0.284199 (range: 0.284199 - 0.284199)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0338, max=0.2643, mean=0.1429
Batch reconstruction MSE: 1.0548
Archetype stats: min=-15.5460, max=20.0567
Archetype change since last debug: 1.390181
Archetype gradients: norm=0.088342, mean=0.002961
Epoch 1/1
Average loss: 0.7445
Archetypal loss: 0.8119
KLD loss: 0.1380
Reconstruction loss: 0.8119
Archetype R²: 0.1351
Archetype transform grad norm: 0.292979
Archetype transform param norm: 9.8428
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.7445 (range: 0.7445 - 0.7445)
archetypal_loss: 0.8119 (range: 0.8119 - 0.8119)
kld_loss: 0.1380 (range: 0.1380 - 0.1380)
reconstruction_loss: 0.8119 (range: 0.8119 - 0.8119)
archetype_r2: 0.1351 (range: 0.1351 - 0.1351)
Archetype Transform Summary:
archetype_transform_mean: 0.001059 (range: 0.001059 - 0.001059)
archetype_transform_std: 0.137836 (range: 0.137836 - 0.137836)
archetype_transform_norm: 9.842801 (range: 9.842801 - 9.842801)
archetype_transform_grad_norm: 0.292979 (range: 0.292979 - 0.292979)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0342, max=0.2993, mean=0.1429
Batch reconstruction MSE: 1.0511
Archetype stats: min=-15.7159, max=20.2845
Archetype change since last debug: 1.299102
Archetype gradients: norm=0.056309, mean=0.002465
Epoch 1/1
Average loss: 0.7430
Archetypal loss: 0.8112
KLD loss: 0.1297
Reconstruction loss: 0.8112
Archetype R²: 0.1358
Archetype transform grad norm: 0.282742
Archetype transform param norm: 9.8616
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.7430 (range: 0.7430 - 0.7430)
archetypal_loss: 0.8112 (range: 0.8112 - 0.8112)
kld_loss: 0.1297 (range: 0.1297 - 0.1297)
reconstruction_loss: 0.8112 (range: 0.8112 - 0.8112)
archetype_r2: 0.1358 (range: 0.1358 - 0.1358)
Archetype Transform Summary:
archetype_transform_mean: 0.001028 (range: 0.001028 - 0.001028)
archetype_transform_std: 0.138099 (range: 0.138099 - 0.138099)
archetype_transform_norm: 9.861580 (range: 9.861580 - 9.861580)
archetype_transform_grad_norm: 0.282742 (range: 0.282742 - 0.282742)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0462, max=0.2684, mean=0.1429
Batch reconstruction MSE: 0.9413
Archetype stats: min=-15.6930, max=20.2414
Archetype change since last debug: 1.261852
Archetype gradients: norm=0.066192, mean=0.002559
Epoch 1/1
Average loss: 0.7406
Archetypal loss: 0.8083
KLD loss: 0.1305
Reconstruction loss: 0.8083
Archetype R²: 0.1391
Archetype transform grad norm: 0.281522
Archetype transform param norm: 9.9012
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.7406 (range: 0.7406 - 0.7406)
archetypal_loss: 0.8083 (range: 0.8083 - 0.8083)
kld_loss: 0.1305 (range: 0.1305 - 0.1305)
reconstruction_loss: 0.8083 (range: 0.8083 - 0.8083)
archetype_r2: 0.1391 (range: 0.1391 - 0.1391)
Archetype Transform Summary:
archetype_transform_mean: 0.001097 (range: 0.001097 - 0.001097)
archetype_transform_std: 0.138654 (range: 0.138654 - 0.138654)
archetype_transform_norm: 9.901205 (range: 9.901205 - 9.901205)
archetype_transform_grad_norm: 0.281522 (range: 0.281522 - 0.281522)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0483, max=0.3458, mean=0.1429
Batch reconstruction MSE: 0.9747
Archetype stats: min=-16.0549, max=20.6927
Archetype change since last debug: 1.784603
Archetype gradients: norm=0.061885, mean=0.002605
Epoch 1/1
Average loss: 0.7409
Archetypal loss: 0.8093
KLD loss: 0.1252
Reconstruction loss: 0.8093
Archetype R²: 0.1380
Archetype transform grad norm: 0.291085
Archetype transform param norm: 9.9385
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.7409 (range: 0.7409 - 0.7409)
archetypal_loss: 0.8093 (range: 0.8093 - 0.8093)
kld_loss: 0.1252 (range: 0.1252 - 0.1252)
reconstruction_loss: 0.8093 (range: 0.8093 - 0.8093)
archetype_r2: 0.1380 (range: 0.1380 - 0.1380)
Archetype Transform Summary:
archetype_transform_mean: 0.001055 (range: 0.001055 - 0.001055)
archetype_transform_std: 0.139177 (range: 0.139177 - 0.139177)
archetype_transform_norm: 9.938506 (range: 9.938506 - 9.938506)
archetype_transform_grad_norm: 0.291085 (range: 0.291085 - 0.291085)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0383, max=0.2745, mean=0.1429
Batch reconstruction MSE: 0.9945
Archetype stats: min=-16.0683, max=20.5134
Archetype change since last debug: 1.763673
Archetype gradients: norm=0.086079, mean=0.003451
Epoch 1/1
Average loss: 0.7415
Archetypal loss: 0.8096
KLD loss: 0.1290
Reconstruction loss: 0.8096
Archetype R²: 0.1376
Archetype transform grad norm: 0.297728
Archetype transform param norm: 9.9706
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.7415 (range: 0.7415 - 0.7415)
archetypal_loss: 0.8096 (range: 0.8096 - 0.8096)
kld_loss: 0.1290 (range: 0.1290 - 0.1290)
reconstruction_loss: 0.8096 (range: 0.8096 - 0.8096)
archetype_r2: 0.1376 (range: 0.1376 - 0.1376)
Archetype Transform Summary:
archetype_transform_mean: 0.001118 (range: 0.001118 - 0.001118)
archetype_transform_std: 0.139626 (range: 0.139626 - 0.139626)
archetype_transform_norm: 9.970631 (range: 9.970631 - 9.970631)
archetype_transform_grad_norm: 0.297728 (range: 0.297728 - 0.297728)
Fold 3/3
Model input_dim: 50 (auto-detected from data)
Archetypes parameter registered: True
Archetypes requires_grad: True
Deep_AA (Deep Archetypal Analysis) initialized:
- Single-stage architecture (like Deep_2)
- Inflation factor: 1.5
- Direct archetypal coordinates (no bottleneck)
Consolidated Archetype Initialization
PCHA: True, Inflation: True (factor: 1.5)
Test inflation: False
Running PCHA initialization...
Input shape: (128, 50)
Target archetypes: 7
Running PCHA with 7 archetypes...
Data shape for PCHA: (50, 128)
PCHA Results:
Archetypes shape: (7, 50)
Archetype R²: 0.3012
SSE: 3810.2071
PCHA archetype R²: 0.3012
Archetype shape: (7, 50)
[OK] Initialized 7 archetypes using PCHA
Scalar Archetypal Inflation (factor: 1.50)
[OK] Inflation complete
[STATS] Positioning verification:
Data radius (max): 16.629
Data radius (mean): 6.068
Archetype distances: 3.965 to 22.336
Archetypes outside data: 2/7
Min archetype separation: 8.396
[OK] Archetype initialization complete (success: True)
[OK] Archetype initialization complete (PCHA: True, Inflation: 1.5)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0008, max=0.7360, mean=0.1429
Batch reconstruction MSE: 0.9421
Archetype stats: min=-1.4673, max=1.2172
Archetype gradients: norm=0.010618, mean=0.000439
Epoch 1/1
Average loss: 0.8931
Archetypal loss: 0.9880
KLD loss: 0.0386
Reconstruction loss: 0.9880
Archetype R²: -0.0152
Archetype transform grad norm: 0.153943
Archetype transform param norm: 5.8089
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.8931 (range: 0.8931 - 0.8931)
archetypal_loss: 0.9880 (range: 0.9880 - 0.9880)
kld_loss: 0.0386 (range: 0.0386 - 0.0386)
reconstruction_loss: 0.9880 (range: 0.9880 - 0.9880)
archetype_r2: -0.0152 (range: -0.0152 - -0.0152)
Archetype Transform Summary:
archetype_transform_mean: -0.000895 (range: -0.000895 - -0.000895)
archetype_transform_std: 0.081343 (range: 0.081343 - 0.081343)
archetype_transform_norm: 5.808860 (range: 5.808860 - 5.808860)
archetype_transform_grad_norm: 0.153943 (range: 0.153943 - 0.153943)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0022, max=0.6640, mean=0.1429
Batch reconstruction MSE: 0.8573
Archetype stats: min=-0.7127, max=0.6816
Archetype change since last debug: 6.171671
Archetype gradients: norm=0.002303, mean=0.000096
Epoch 1/1
Average loss: 0.8823
Archetypal loss: 0.9768
KLD loss: 0.0313
Reconstruction loss: 0.9768
Archetype R²: -0.0036
Archetype transform grad norm: 0.116007
Archetype transform param norm: 5.8190
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.8823 (range: 0.8823 - 0.8823)
archetypal_loss: 0.9768 (range: 0.9768 - 0.9768)
kld_loss: 0.0313 (range: 0.0313 - 0.0313)
reconstruction_loss: 0.9768 (range: 0.9768 - 0.9768)
archetype_r2: -0.0036 (range: -0.0036 - -0.0036)
Archetype Transform Summary:
archetype_transform_mean: -0.000772 (range: -0.000772 - -0.000772)
archetype_transform_std: 0.081487 (range: 0.081487 - 0.081487)
archetype_transform_norm: 5.819016 (range: 5.819016 - 5.819016)
archetype_transform_grad_norm: 0.116007 (range: 0.116007 - 0.116007)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0023, max=0.6924, mean=0.1429
Batch reconstruction MSE: 0.8578
Archetype stats: min=-1.3901, max=1.4056
Archetype change since last debug: 3.530678
Archetype gradients: norm=0.002700, mean=0.000104
Epoch 1/1
Average loss: 0.8731
Archetypal loss: 0.9608
KLD loss: 0.0841
Reconstruction loss: 0.9608
Archetype R²: 0.0128
Archetype transform grad norm: 0.147467
Archetype transform param norm: 5.9184
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.8731 (range: 0.8731 - 0.8731)
archetypal_loss: 0.9608 (range: 0.9608 - 0.9608)
kld_loss: 0.0841 (range: 0.0841 - 0.0841)
reconstruction_loss: 0.9608 (range: 0.9608 - 0.9608)
archetype_r2: 0.0128 (range: 0.0128 - 0.0128)
Archetype Transform Summary:
archetype_transform_mean: -0.000750 (range: -0.000750 - -0.000750)
archetype_transform_std: 0.082878 (range: 0.082878 - 0.082878)
archetype_transform_norm: 5.918363 (range: 5.918363 - 5.918363)
archetype_transform_grad_norm: 0.147467 (range: 0.147467 - 0.147467)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0017, max=0.7546, mean=0.1429
Batch reconstruction MSE: 0.9011
Archetype stats: min=-3.8592, max=4.1870
Archetype change since last debug: 9.525561
Archetype gradients: norm=0.006208, mean=0.000230
Epoch 1/1
Average loss: 0.8566
Archetypal loss: 0.9366
KLD loss: 0.1372
Reconstruction loss: 0.9366
Archetype R²: 0.0376
Archetype transform grad norm: 0.184997
Archetype transform param norm: 6.1566
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.8566 (range: 0.8566 - 0.8566)
archetypal_loss: 0.9366 (range: 0.9366 - 0.9366)
kld_loss: 0.1372 (range: 0.1372 - 0.1372)
reconstruction_loss: 0.9366 (range: 0.9366 - 0.9366)
archetype_r2: 0.0376 (range: 0.0376 - 0.0376)
Archetype Transform Summary:
archetype_transform_mean: -0.000690 (range: -0.000690 - -0.000690)
archetype_transform_std: 0.086215 (range: 0.086215 - 0.086215)
archetype_transform_norm: 6.156574 (range: 6.156574 - 6.156574)
archetype_transform_grad_norm: 0.184997 (range: 0.184997 - 0.184997)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0012, max=0.7915, mean=0.1429
Batch reconstruction MSE: 0.9586
Archetype stats: min=-7.2445, max=7.7765
Archetype change since last debug: 12.451258
Archetype gradients: norm=0.012672, mean=0.000455
Epoch 1/1
Average loss: 0.8427
Archetypal loss: 0.9202
KLD loss: 0.1453
Reconstruction loss: 0.9202
Archetype R²: 0.0543
Archetype transform grad norm: 0.210106
Archetype transform param norm: 6.4413
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.8427 (range: 0.8427 - 0.8427)
archetypal_loss: 0.9202 (range: 0.9202 - 0.9202)
kld_loss: 0.1453 (range: 0.1453 - 0.1453)
reconstruction_loss: 0.9202 (range: 0.9202 - 0.9202)
archetype_r2: 0.0543 (range: 0.0543 - 0.0543)
Archetype Transform Summary:
archetype_transform_mean: -0.000645 (range: -0.000645 - -0.000645)
archetype_transform_std: 0.090203 (range: 0.090203 - 0.090203)
archetype_transform_norm: 6.441283 (range: 6.441283 - 6.441283)
archetype_transform_grad_norm: 0.210106 (range: 0.210106 - 0.210106)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0030, max=0.7670, mean=0.1429
Batch reconstruction MSE: 0.9628
Archetype stats: min=-10.4635, max=10.8155
Archetype change since last debug: 10.037668
Archetype gradients: norm=0.012316, mean=0.000478
Epoch 1/1
Average loss: 0.8320
Archetypal loss: 0.9077
KLD loss: 0.1510
Reconstruction loss: 0.9077
Archetype R²: 0.0672
Archetype transform grad norm: 0.227236
Archetype transform param norm: 6.7041
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.8320 (range: 0.8320 - 0.8320)
archetypal_loss: 0.9077 (range: 0.9077 - 0.9077)
kld_loss: 0.1510 (range: 0.1510 - 0.1510)
reconstruction_loss: 0.9077 (range: 0.9077 - 0.9077)
archetype_r2: 0.0672 (range: 0.0672 - 0.0672)
Archetype Transform Summary:
archetype_transform_mean: -0.000478 (range: -0.000478 - -0.000478)
archetype_transform_std: 0.093884 (range: 0.093884 - 0.093884)
archetype_transform_norm: 6.704067 (range: 6.704067 - 6.704067)
archetype_transform_grad_norm: 0.227236 (range: 0.227236 - 0.227236)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0036, max=0.8119, mean=0.1429
Batch reconstruction MSE: 0.9835
Archetype stats: min=-13.0477, max=12.7704
Archetype change since last debug: 8.931488
Archetype gradients: norm=0.016585, mean=0.000663
Epoch 1/1
Average loss: 0.8224
Archetypal loss: 0.8951
KLD loss: 0.1680
Reconstruction loss: 0.8951
Archetype R²: 0.0799
Archetype transform grad norm: 0.240185
Archetype transform param norm: 6.9635
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.8224 (range: 0.8224 - 0.8224)
archetypal_loss: 0.8951 (range: 0.8951 - 0.8951)
kld_loss: 0.1680 (range: 0.1680 - 0.1680)
reconstruction_loss: 0.8951 (range: 0.8951 - 0.8951)
archetype_r2: 0.0799 (range: 0.0799 - 0.0799)
Archetype Transform Summary:
archetype_transform_mean: -0.000312 (range: -0.000312 - -0.000312)
archetype_transform_std: 0.097518 (range: 0.097518 - 0.097518)
archetype_transform_norm: 6.963537 (range: 6.963537 - 6.963537)
archetype_transform_grad_norm: 0.240185 (range: 0.240185 - 0.240185)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0035, max=0.8880, mean=0.1429
Batch reconstruction MSE: 1.0501
Archetype stats: min=-15.1977, max=14.5727
Archetype change since last debug: 8.610340
Archetype gradients: norm=0.024594, mean=0.000914
Epoch 1/1
Average loss: 0.8139
Archetypal loss: 0.8849
KLD loss: 0.1751
Reconstruction loss: 0.8849
Archetype R²: 0.0900
Archetype transform grad norm: 0.255855
Archetype transform param norm: 7.2133
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.8139 (range: 0.8139 - 0.8139)
archetypal_loss: 0.8849 (range: 0.8849 - 0.8849)
kld_loss: 0.1751 (range: 0.1751 - 0.1751)
reconstruction_loss: 0.8849 (range: 0.8849 - 0.8849)
archetype_r2: 0.0900 (range: 0.0900 - 0.0900)
Archetype Transform Summary:
archetype_transform_mean: -0.000043 (range: -0.000043 - -0.000043)
archetype_transform_std: 0.101017 (range: 0.101017 - 0.101017)
archetype_transform_norm: 7.213319 (range: 7.213319 - 7.213319)
archetype_transform_grad_norm: 0.255855 (range: 0.255855 - 0.255855)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0028, max=0.8632, mean=0.1429
Batch reconstruction MSE: 1.0842
Archetype stats: min=-16.9869, max=14.9509
Archetype change since last debug: 7.700121
Archetype gradients: norm=0.029317, mean=0.001105
Epoch 1/1
Average loss: 0.8079
Archetypal loss: 0.8789
KLD loss: 0.1689
Reconstruction loss: 0.8789
Archetype R²: 0.0958
Archetype transform grad norm: 0.263548
Archetype transform param norm: 7.4057
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.8079 (range: 0.8079 - 0.8079)
archetypal_loss: 0.8789 (range: 0.8789 - 0.8789)
kld_loss: 0.1689 (range: 0.1689 - 0.1689)
reconstruction_loss: 0.8789 (range: 0.8789 - 0.8789)
archetype_r2: 0.0958 (range: 0.0958 - 0.0958)
Archetype Transform Summary:
archetype_transform_mean: 0.000094 (range: 0.000094 - 0.000094)
archetype_transform_std: 0.103711 (range: 0.103711 - 0.103711)
archetype_transform_norm: 7.405708 (range: 7.405708 - 7.405708)
archetype_transform_grad_norm: 0.263548 (range: 0.263548 - 0.263548)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0030, max=0.8583, mean=0.1429
Batch reconstruction MSE: 1.0455
Archetype stats: min=-17.3244, max=15.4531
Archetype change since last debug: 5.797753
Archetype gradients: norm=0.027859, mean=0.001130
Epoch 1/1
Average loss: 0.8024
Archetypal loss: 0.8735
KLD loss: 0.1617
Reconstruction loss: 0.8735
Archetype R²: 0.1013
Archetype transform grad norm: 0.263559
Archetype transform param norm: 7.5643
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.8024 (range: 0.8024 - 0.8024)
archetypal_loss: 0.8735 (range: 0.8735 - 0.8735)
kld_loss: 0.1617 (range: 0.1617 - 0.1617)
reconstruction_loss: 0.8735 (range: 0.8735 - 0.8735)
archetype_r2: 0.1013 (range: 0.1013 - 0.1013)
Archetype Transform Summary:
archetype_transform_mean: 0.000174 (range: 0.000174 - 0.000174)
archetype_transform_std: 0.105931 (range: 0.105931 - 0.105931)
archetype_transform_norm: 7.564263 (range: 7.564263 - 7.564263)
archetype_transform_grad_norm: 0.263559 (range: 0.263559 - 0.263559)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0028, max=0.8828, mean=0.1429
Batch reconstruction MSE: 0.9704
Archetype stats: min=-18.5449, max=16.2634
Archetype change since last debug: 4.949048
Archetype gradients: norm=0.017771, mean=0.000739
Epoch 1/1
Average loss: 0.7971
Archetypal loss: 0.8685
KLD loss: 0.1550
Reconstruction loss: 0.8685
Archetype R²: 0.1065
Archetype transform grad norm: 0.266229
Archetype transform param norm: 7.7169
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.7971 (range: 0.7971 - 0.7971)
archetypal_loss: 0.8685 (range: 0.8685 - 0.8685)
kld_loss: 0.1550 (range: 0.1550 - 0.1550)
reconstruction_loss: 0.8685 (range: 0.8685 - 0.8685)
archetype_r2: 0.1065 (range: 0.1065 - 0.1065)
Archetype Transform Summary:
archetype_transform_mean: 0.000256 (range: 0.000256 - 0.000256)
archetype_transform_std: 0.108069 (range: 0.108069 - 0.108069)
archetype_transform_norm: 7.716917 (range: 7.716917 - 7.716917)
archetype_transform_grad_norm: 0.266229 (range: 0.266229 - 0.266229)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0036, max=0.8385, mean=0.1429
Batch reconstruction MSE: 0.9979
Archetype stats: min=-19.4820, max=17.0628
Archetype change since last debug: 4.655793
Archetype gradients: norm=0.027879, mean=0.001041
Epoch 1/1
Average loss: 0.7946
Archetypal loss: 0.8660
KLD loss: 0.1519
Reconstruction loss: 0.8660
Archetype R²: 0.1088
Archetype transform grad norm: 0.272447
Archetype transform param norm: 7.8486
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.7946 (range: 0.7946 - 0.7946)
archetypal_loss: 0.8660 (range: 0.8660 - 0.8660)
kld_loss: 0.1519 (range: 0.1519 - 0.1519)
reconstruction_loss: 0.8660 (range: 0.8660 - 0.8660)
archetype_r2: 0.1088 (range: 0.1088 - 0.1088)
Archetype Transform Summary:
archetype_transform_mean: 0.000266 (range: 0.000266 - 0.000266)
archetype_transform_std: 0.109912 (range: 0.109912 - 0.109912)
archetype_transform_norm: 7.848572 (range: 7.848572 - 7.848572)
archetype_transform_grad_norm: 0.272447 (range: 0.272447 - 0.272447)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0032, max=0.8776, mean=0.1429
Batch reconstruction MSE: 1.0294
Archetype stats: min=-20.5676, max=17.9452
Archetype change since last debug: 4.189920
Archetype gradients: norm=0.032187, mean=0.001203
Epoch 1/1
Average loss: 0.7929
Archetypal loss: 0.8632
KLD loss: 0.1601
Reconstruction loss: 0.8632
Archetype R²: 0.1115
Archetype transform grad norm: 0.282038
Archetype transform param norm: 7.9694
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.7929 (range: 0.7929 - 0.7929)
archetypal_loss: 0.8632 (range: 0.8632 - 0.8632)
kld_loss: 0.1601 (range: 0.1601 - 0.1601)
reconstruction_loss: 0.8632 (range: 0.8632 - 0.8632)
archetype_r2: 0.1115 (range: 0.1115 - 0.1115)
Archetype Transform Summary:
archetype_transform_mean: 0.000264 (range: 0.000264 - 0.000264)
archetype_transform_std: 0.111605 (range: 0.111605 - 0.111605)
archetype_transform_norm: 7.969427 (range: 7.969427 - 7.969427)
archetype_transform_grad_norm: 0.282038 (range: 0.282038 - 0.282038)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0042, max=0.8267, mean=0.1429
Batch reconstruction MSE: 1.0431
Archetype stats: min=-21.1132, max=18.4316
Archetype change since last debug: 3.644781
Archetype gradients: norm=0.043390, mean=0.001672
Epoch 1/1
Average loss: 0.7898
Archetypal loss: 0.8588
KLD loss: 0.1694
Reconstruction loss: 0.8588
Archetype R²: 0.1159
Archetype transform grad norm: 0.285088
Archetype transform param norm: 8.0890
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.7898 (range: 0.7898 - 0.7898)
archetypal_loss: 0.8588 (range: 0.8588 - 0.8588)
kld_loss: 0.1694 (range: 0.1694 - 0.1694)
reconstruction_loss: 0.8588 (range: 0.8588 - 0.8588)
archetype_r2: 0.1159 (range: 0.1159 - 0.1159)
Archetype Transform Summary:
archetype_transform_mean: 0.000206 (range: 0.000206 - 0.000206)
archetype_transform_std: 0.113280 (range: 0.113280 - 0.113280)
archetype_transform_norm: 8.089001 (range: 8.089001 - 8.089001)
archetype_transform_grad_norm: 0.285088 (range: 0.285088 - 0.285088)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0071, max=0.7762, mean=0.1429
Batch reconstruction MSE: 1.0523
Archetype stats: min=-21.9365, max=18.9056
Archetype change since last debug: 3.827491
Archetype gradients: norm=0.044185, mean=0.001469
Epoch 1/1
Average loss: 0.7864
Archetypal loss: 0.8549
KLD loss: 0.1702
Reconstruction loss: 0.8549
Archetype R²: 0.1198
Archetype transform grad norm: 0.287563
Archetype transform param norm: 8.2101
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.7864 (range: 0.7864 - 0.7864)
archetypal_loss: 0.8549 (range: 0.8549 - 0.8549)
kld_loss: 0.1702 (range: 0.1702 - 0.1702)
reconstruction_loss: 0.8549 (range: 0.8549 - 0.8549)
archetype_r2: 0.1198 (range: 0.1198 - 0.1198)
Archetype Transform Summary:
archetype_transform_mean: 0.000152 (range: 0.000152 - 0.000152)
archetype_transform_std: 0.114976 (range: 0.114976 - 0.114976)
archetype_transform_norm: 8.210147 (range: 8.210147 - 8.210147)
archetype_transform_grad_norm: 0.287563 (range: 0.287563 - 0.287563)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0055, max=0.7436, mean=0.1429
Batch reconstruction MSE: 1.1170
Archetype stats: min=-21.9599, max=19.1505
Archetype change since last debug: 3.543713
Archetype gradients: norm=0.047794, mean=0.001915
Epoch 1/1
Average loss: 0.7857
Archetypal loss: 0.8545
KLD loss: 0.1671
Reconstruction loss: 0.8545
Archetype R²: 0.1200
Archetype transform grad norm: 0.298320
Archetype transform param norm: 8.3127
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.7857 (range: 0.7857 - 0.7857)
archetypal_loss: 0.8545 (range: 0.8545 - 0.8545)
kld_loss: 0.1671 (range: 0.1671 - 0.1671)
reconstruction_loss: 0.8545 (range: 0.8545 - 0.8545)
archetype_r2: 0.1200 (range: 0.1200 - 0.1200)
Archetype Transform Summary:
archetype_transform_mean: 0.000046 (range: 0.000046 - 0.000046)
archetype_transform_std: 0.116413 (range: 0.116413 - 0.116413)
archetype_transform_norm: 8.312707 (range: 8.312707 - 8.312707)
archetype_transform_grad_norm: 0.298320 (range: 0.298320 - 0.298320)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0107, max=0.7759, mean=0.1429
Batch reconstruction MSE: 1.0611
Archetype stats: min=-22.3143, max=18.8083
Archetype change since last debug: 3.239750
Archetype gradients: norm=0.049831, mean=0.001926
Epoch 1/1
Average loss: 0.7832
Archetypal loss: 0.8515
KLD loss: 0.1682
Reconstruction loss: 0.8515
Archetype R²: 0.1232
Archetype transform grad norm: 0.302221
Archetype transform param norm: 8.4014
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.7832 (range: 0.7832 - 0.7832)
archetypal_loss: 0.8515 (range: 0.8515 - 0.8515)
kld_loss: 0.1682 (range: 0.1682 - 0.1682)
reconstruction_loss: 0.8515 (range: 0.8515 - 0.8515)
archetype_r2: 0.1232 (range: 0.1232 - 0.1232)
Archetype Transform Summary:
archetype_transform_mean: 0.000015 (range: 0.000015 - 0.000015)
archetype_transform_std: 0.117655 (range: 0.117655 - 0.117655)
archetype_transform_norm: 8.401416 (range: 8.401416 - 8.401416)
archetype_transform_grad_norm: 0.302221 (range: 0.302221 - 0.302221)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0092, max=0.7264, mean=0.1429
Batch reconstruction MSE: 1.0378
Archetype stats: min=-22.3083, max=18.8738
Archetype change since last debug: 2.831740
Archetype gradients: norm=0.035292, mean=0.001449
Epoch 1/1
Average loss: 0.7802
Archetypal loss: 0.8490
KLD loss: 0.1608
Reconstruction loss: 0.8490
Archetype R²: 0.1257
Archetype transform grad norm: 0.294925
Archetype transform param norm: 8.4894
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.7802 (range: 0.7802 - 0.7802)
archetypal_loss: 0.8490 (range: 0.8490 - 0.8490)
kld_loss: 0.1608 (range: 0.1608 - 0.1608)
reconstruction_loss: 0.8490 (range: 0.8490 - 0.8490)
archetype_r2: 0.1257 (range: 0.1257 - 0.1257)
Archetype Transform Summary:
archetype_transform_mean: -0.000053 (range: -0.000053 - -0.000053)
archetype_transform_std: 0.118886 (range: 0.118886 - 0.118886)
archetype_transform_norm: 8.489359 (range: 8.489359 - 8.489359)
archetype_transform_grad_norm: 0.294925 (range: 0.294925 - 0.294925)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0124, max=0.7369, mean=0.1429
Batch reconstruction MSE: 1.0027
Archetype stats: min=-22.9086, max=18.8873
Archetype change since last debug: 2.969034
Archetype gradients: norm=0.041776, mean=0.001641
Epoch 1/1
Average loss: 0.7779
Archetypal loss: 0.8465
KLD loss: 0.1607
Reconstruction loss: 0.8465
Archetype R²: 0.1283
Archetype transform grad norm: 0.292111
Archetype transform param norm: 8.5726
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.7779 (range: 0.7779 - 0.7779)
archetypal_loss: 0.8465 (range: 0.8465 - 0.8465)
kld_loss: 0.1607 (range: 0.1607 - 0.1607)
reconstruction_loss: 0.8465 (range: 0.8465 - 0.8465)
archetype_r2: 0.1283 (range: 0.1283 - 0.1283)
Archetype Transform Summary:
archetype_transform_mean: -0.000066 (range: -0.000066 - -0.000066)
archetype_transform_std: 0.120052 (range: 0.120052 - 0.120052)
archetype_transform_norm: 8.572565 (range: 8.572565 - 8.572565)
archetype_transform_grad_norm: 0.292111 (range: 0.292111 - 0.292111)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0124, max=0.7102, mean=0.1429
Batch reconstruction MSE: 1.0466
Archetype stats: min=-23.2018, max=19.3219
Archetype change since last debug: 2.707389
Archetype gradients: norm=0.032834, mean=0.001378
Epoch 1/1
Average loss: 0.7781
Archetypal loss: 0.8471
KLD loss: 0.1571
Reconstruction loss: 0.8471
Archetype R²: 0.1275
Archetype transform grad norm: 0.298182
Archetype transform param norm: 8.6437
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.7781 (range: 0.7781 - 0.7781)
archetypal_loss: 0.8471 (range: 0.8471 - 0.8471)
kld_loss: 0.1571 (range: 0.1571 - 0.1571)
reconstruction_loss: 0.8471 (range: 0.8471 - 0.8471)
archetype_r2: 0.1275 (range: 0.1275 - 0.1275)
Archetype Transform Summary:
archetype_transform_mean: -0.000132 (range: -0.000132 - -0.000132)
archetype_transform_std: 0.121047 (range: 0.121047 - 0.121047)
archetype_transform_norm: 8.643678 (range: 8.643678 - 8.643678)
archetype_transform_grad_norm: 0.298182 (range: 0.298182 - 0.298182)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0117, max=0.6879, mean=0.1429
Batch reconstruction MSE: 1.0340
Archetype stats: min=-23.6664, max=19.3918
Archetype change since last debug: 2.468825
Archetype gradients: norm=0.041144, mean=0.001490
Epoch 1/1
Average loss: 0.7767
Archetypal loss: 0.8456
KLD loss: 0.1559
Reconstruction loss: 0.8456
Archetype R²: 0.1290
Archetype transform grad norm: 0.291012
Archetype transform param norm: 8.7031
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.7767 (range: 0.7767 - 0.7767)
archetypal_loss: 0.8456 (range: 0.8456 - 0.8456)
kld_loss: 0.1559 (range: 0.1559 - 0.1559)
reconstruction_loss: 0.8456 (range: 0.8456 - 0.8456)
archetype_r2: 0.1290 (range: 0.1290 - 0.1290)
Archetype Transform Summary:
archetype_transform_mean: -0.000150 (range: -0.000150 - -0.000150)
archetype_transform_std: 0.121880 (range: 0.121880 - 0.121880)
archetype_transform_norm: 8.703130 (range: 8.703130 - 8.703130)
archetype_transform_grad_norm: 0.291012 (range: 0.291012 - 0.291012)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0121, max=0.6824, mean=0.1429
Batch reconstruction MSE: 1.0483
Archetype stats: min=-23.8152, max=19.6003
Archetype change since last debug: 2.076566
Archetype gradients: norm=0.030040, mean=0.001225
Epoch 1/1
Average loss: 0.7766
Archetypal loss: 0.8458
KLD loss: 0.1543
Reconstruction loss: 0.8458
Archetype R²: 0.1288
Archetype transform grad norm: 0.297575
Archetype transform param norm: 8.7588
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.7766 (range: 0.7766 - 0.7766)
archetypal_loss: 0.8458 (range: 0.8458 - 0.8458)
kld_loss: 0.1543 (range: 0.1543 - 0.1543)
reconstruction_loss: 0.8458 (range: 0.8458 - 0.8458)
archetype_r2: 0.1288 (range: 0.1288 - 0.1288)
Archetype Transform Summary:
archetype_transform_mean: -0.000196 (range: -0.000196 - -0.000196)
archetype_transform_std: 0.122660 (range: 0.122660 - 0.122660)
archetype_transform_norm: 8.758849 (range: 8.758849 - 8.758849)
archetype_transform_grad_norm: 0.297575 (range: 0.297575 - 0.297575)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0134, max=0.6827, mean=0.1429
Batch reconstruction MSE: 0.9639
Archetype stats: min=-24.1521, max=19.3879
Archetype change since last debug: 2.182283
Archetype gradients: norm=0.036693, mean=0.001246
Epoch 1/1
Average loss: 0.7744
Archetypal loss: 0.8439
KLD loss: 0.1496
Reconstruction loss: 0.8439
Archetype R²: 0.1309
Archetype transform grad norm: 0.296445
Archetype transform param norm: 8.8153
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.7744 (range: 0.7744 - 0.7744)
archetypal_loss: 0.8439 (range: 0.8439 - 0.8439)
kld_loss: 0.1496 (range: 0.1496 - 0.1496)
reconstruction_loss: 0.8439 (range: 0.8439 - 0.8439)
archetype_r2: 0.1309 (range: 0.1309 - 0.1309)
Archetype Transform Summary:
archetype_transform_mean: -0.000195 (range: -0.000195 - -0.000195)
archetype_transform_std: 0.123451 (range: 0.123451 - 0.123451)
archetype_transform_norm: 8.815301 (range: 8.815301 - 8.815301)
archetype_transform_grad_norm: 0.296445 (range: 0.296445 - 0.296445)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0121, max=0.6906, mean=0.1429
Batch reconstruction MSE: 0.9792
Archetype stats: min=-24.5977, max=19.7518
Archetype change since last debug: 2.191997
Archetype gradients: norm=0.022775, mean=0.000943
Epoch 1/1
Average loss: 0.7737
Archetypal loss: 0.8433
KLD loss: 0.1469
Reconstruction loss: 0.8433
Archetype R²: 0.1314
Archetype transform grad norm: 0.295489
Archetype transform param norm: 8.8719
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.7737 (range: 0.7737 - 0.7737)
archetypal_loss: 0.8433 (range: 0.8433 - 0.8433)
kld_loss: 0.1469 (range: 0.1469 - 0.1469)
reconstruction_loss: 0.8433 (range: 0.8433 - 0.8433)
archetype_r2: 0.1314 (range: 0.1314 - 0.1314)
Archetype Transform Summary:
archetype_transform_mean: -0.000206 (range: -0.000206 - -0.000206)
archetype_transform_std: 0.124243 (range: 0.124243 - 0.124243)
archetype_transform_norm: 8.871898 (range: 8.871898 - 8.871898)
archetype_transform_grad_norm: 0.295489 (range: 0.295489 - 0.295489)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0142, max=0.6621, mean=0.1429
Batch reconstruction MSE: 0.9626
Archetype stats: min=-24.8127, max=19.8962
Archetype change since last debug: 2.028969
Archetype gradients: norm=0.041969, mean=0.001369
Epoch 1/1
Average loss: 0.7722
Archetypal loss: 0.8419
KLD loss: 0.1443
Reconstruction loss: 0.8419
Archetype R²: 0.1328
Archetype transform grad norm: 0.292358
Archetype transform param norm: 8.9228
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.7722 (range: 0.7722 - 0.7722)
archetypal_loss: 0.8419 (range: 0.8419 - 0.8419)
kld_loss: 0.1443 (range: 0.1443 - 0.1443)
reconstruction_loss: 0.8419 (range: 0.8419 - 0.8419)
archetype_r2: 0.1328 (range: 0.1328 - 0.1328)
Archetype Transform Summary:
archetype_transform_mean: -0.000207 (range: -0.000207 - -0.000207)
archetype_transform_std: 0.124956 (range: 0.124956 - 0.124956)
archetype_transform_norm: 8.922753 (range: 8.922753 - 8.922753)
archetype_transform_grad_norm: 0.292358 (range: 0.292358 - 0.292358)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0142, max=0.6767, mean=0.1429
Batch reconstruction MSE: 1.0160
Archetype stats: min=-25.4520, max=20.2177
Archetype change since last debug: 2.184763
Archetype gradients: norm=0.027487, mean=0.001181
Epoch 1/1
Average loss: 0.7734
Archetypal loss: 0.8432
KLD loss: 0.1449
Reconstruction loss: 0.8432
Archetype R²: 0.1313
Archetype transform grad norm: 0.298910
Archetype transform param norm: 8.9678
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.7734 (range: 0.7734 - 0.7734)
archetypal_loss: 0.8432 (range: 0.8432 - 0.8432)
kld_loss: 0.1449 (range: 0.1449 - 0.1449)
reconstruction_loss: 0.8432 (range: 0.8432 - 0.8432)
archetype_r2: 0.1313 (range: 0.1313 - 0.1313)
Archetype Transform Summary:
archetype_transform_mean: -0.000207 (range: -0.000207 - -0.000207)
archetype_transform_std: 0.125586 (range: 0.125586 - 0.125586)
archetype_transform_norm: 8.967763 (range: 8.967763 - 8.967763)
archetype_transform_grad_norm: 0.298910 (range: 0.298910 - 0.298910)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0151, max=0.6501, mean=0.1429
Batch reconstruction MSE: 1.0005
Archetype stats: min=-25.2610, max=20.3178
Archetype change since last debug: 1.640420
Archetype gradients: norm=0.044947, mean=0.001720
Epoch 1/1
Average loss: 0.7731
Archetypal loss: 0.8432
KLD loss: 0.1419
Reconstruction loss: 0.8432
Archetype R²: 0.1313
Archetype transform grad norm: 0.310437
Archetype transform param norm: 9.0001
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.7731 (range: 0.7731 - 0.7731)
archetypal_loss: 0.8432 (range: 0.8432 - 0.8432)
kld_loss: 0.1419 (range: 0.1419 - 0.1419)
reconstruction_loss: 0.8432 (range: 0.8432 - 0.8432)
archetype_r2: 0.1313 (range: 0.1313 - 0.1313)
Archetype Transform Summary:
archetype_transform_mean: -0.000231 (range: -0.000231 - -0.000231)
archetype_transform_std: 0.126039 (range: 0.126039 - 0.126039)
archetype_transform_norm: 9.000090 (range: 9.000090 - 9.000090)
archetype_transform_grad_norm: 0.310437 (range: 0.310437 - 0.310437)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0134, max=0.6645, mean=0.1429
Batch reconstruction MSE: 1.0386
Archetype stats: min=-25.6973, max=19.9818
Archetype change since last debug: 1.743698
Archetype gradients: norm=0.033463, mean=0.001195
Epoch 1/1
Average loss: 0.7738
Archetypal loss: 0.8439
KLD loss: 0.1430
Reconstruction loss: 0.8439
Archetype R²: 0.1305
Archetype transform grad norm: 0.310343
Archetype transform param norm: 9.0289
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.7738 (range: 0.7738 - 0.7738)
archetypal_loss: 0.8439 (range: 0.8439 - 0.8439)
kld_loss: 0.1430 (range: 0.1430 - 0.1430)
reconstruction_loss: 0.8439 (range: 0.8439 - 0.8439)
archetype_r2: 0.1305 (range: 0.1305 - 0.1305)
Archetype Transform Summary:
archetype_transform_mean: -0.000261 (range: -0.000261 - -0.000261)
archetype_transform_std: 0.126442 (range: 0.126442 - 0.126442)
archetype_transform_norm: 9.028911 (range: 9.028911 - 9.028911)
archetype_transform_grad_norm: 0.310343 (range: 0.310343 - 0.310343)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0171, max=0.6704, mean=0.1429
Batch reconstruction MSE: 1.0238
Archetype stats: min=-25.1762, max=19.9467
Archetype change since last debug: 1.665797
Archetype gradients: norm=0.047236, mean=0.001906
Epoch 1/1
Average loss: 0.7728
Archetypal loss: 0.8429
KLD loss: 0.1419
Reconstruction loss: 0.8429
Archetype R²: 0.1314
Archetype transform grad norm: 0.315076
Archetype transform param norm: 9.0508
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.7728 (range: 0.7728 - 0.7728)
archetypal_loss: 0.8429 (range: 0.8429 - 0.8429)
kld_loss: 0.1419 (range: 0.1419 - 0.1419)
reconstruction_loss: 0.8429 (range: 0.8429 - 0.8429)
archetype_r2: 0.1314 (range: 0.1314 - 0.1314)
Archetype Transform Summary:
archetype_transform_mean: -0.000265 (range: -0.000265 - -0.000265)
archetype_transform_std: 0.126749 (range: 0.126749 - 0.126749)
archetype_transform_norm: 9.050811 (range: 9.050811 - 9.050811)
archetype_transform_grad_norm: 0.315076 (range: 0.315076 - 0.315076)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0129, max=0.6059, mean=0.1429
Batch reconstruction MSE: 0.9659
Archetype stats: min=-25.5849, max=19.6399
Archetype change since last debug: 1.630593
Archetype gradients: norm=0.032110, mean=0.001219
Epoch 1/1
Average loss: 0.7705
Archetypal loss: 0.8407
KLD loss: 0.1389
Reconstruction loss: 0.8407
Archetype R²: 0.1338
Archetype transform grad norm: 0.304942
Archetype transform param norm: 9.0927
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.7705 (range: 0.7705 - 0.7705)
archetypal_loss: 0.8407 (range: 0.8407 - 0.8407)
kld_loss: 0.1389 (range: 0.1389 - 0.1389)
reconstruction_loss: 0.8407 (range: 0.8407 - 0.8407)
archetype_r2: 0.1338 (range: 0.1338 - 0.1338)
Archetype Transform Summary:
archetype_transform_mean: -0.000283 (range: -0.000283 - -0.000283)
archetype_transform_std: 0.127336 (range: 0.127336 - 0.127336)
archetype_transform_norm: 9.092720 (range: 9.092720 - 9.092720)
archetype_transform_grad_norm: 0.304942 (range: 0.304942 - 0.304942)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0159, max=0.6612, mean=0.1429
Batch reconstruction MSE: 0.9132
Archetype stats: min=-25.5119, max=20.1086
Archetype change since last debug: 1.811073
Archetype gradients: norm=0.033328, mean=0.001445
Epoch 1/1
Average loss: 0.7689
Archetypal loss: 0.8391
KLD loss: 0.1366
Reconstruction loss: 0.8391
Archetype R²: 0.1356
Archetype transform grad norm: 0.306590
Archetype transform param norm: 9.1425
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.7689 (range: 0.7689 - 0.7689)
archetypal_loss: 0.8391 (range: 0.8391 - 0.8391)
kld_loss: 0.1366 (range: 0.1366 - 0.1366)
reconstruction_loss: 0.8391 (range: 0.8391 - 0.8391)
archetype_r2: 0.1356 (range: 0.1356 - 0.1356)
Archetype Transform Summary:
archetype_transform_mean: -0.000274 (range: -0.000274 - -0.000274)
archetype_transform_std: 0.128033 (range: 0.128033 - 0.128033)
archetype_transform_norm: 9.142531 (range: 9.142531 - 9.142531)
archetype_transform_grad_norm: 0.306590 (range: 0.306590 - 0.306590)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0145, max=0.6150, mean=0.1429
Batch reconstruction MSE: 0.9246
Archetype stats: min=-26.1811, max=20.2348
Archetype change since last debug: 2.096887
Archetype gradients: norm=0.028763, mean=0.001079
Epoch 1/1
Average loss: 0.7687
Archetypal loss: 0.8394
KLD loss: 0.1332
Reconstruction loss: 0.8394
Archetype R²: 0.1352
Archetype transform grad norm: 0.308978
Archetype transform param norm: 9.1924
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.7687 (range: 0.7687 - 0.7687)
archetypal_loss: 0.8394 (range: 0.8394 - 0.8394)
kld_loss: 0.1332 (range: 0.1332 - 0.1332)
reconstruction_loss: 0.8394 (range: 0.8394 - 0.8394)
archetype_r2: 0.1352 (range: 0.1352 - 0.1352)
Archetype Transform Summary:
archetype_transform_mean: -0.000260 (range: -0.000260 - -0.000260)
archetype_transform_std: 0.128732 (range: 0.128732 - 0.128732)
archetype_transform_norm: 9.192407 (range: 9.192407 - 9.192407)
archetype_transform_grad_norm: 0.308978 (range: 0.308978 - 0.308978)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0149, max=0.6627, mean=0.1429
Batch reconstruction MSE: 0.9655
Archetype stats: min=-26.1188, max=20.6528
Archetype change since last debug: 1.824459
Archetype gradients: norm=0.037168, mean=0.001669
Epoch 1/1
Average loss: 0.7693
Archetypal loss: 0.8399
KLD loss: 0.1340
Reconstruction loss: 0.8399
Archetype R²: 0.1345
Archetype transform grad norm: 0.312879
Archetype transform param norm: 9.2246
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.7693 (range: 0.7693 - 0.7693)
archetypal_loss: 0.8399 (range: 0.8399 - 0.8399)
kld_loss: 0.1340 (range: 0.1340 - 0.1340)
reconstruction_loss: 0.8399 (range: 0.8399 - 0.8399)
archetype_r2: 0.1345 (range: 0.1345 - 0.1345)
Archetype Transform Summary:
archetype_transform_mean: -0.000306 (range: -0.000306 - -0.000306)
archetype_transform_std: 0.129183 (range: 0.129183 - 0.129183)
archetype_transform_norm: 9.224615 (range: 9.224615 - 9.224615)
archetype_transform_grad_norm: 0.312879 (range: 0.312879 - 0.312879)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0151, max=0.5988, mean=0.1429
Batch reconstruction MSE: 1.0276
Archetype stats: min=-26.6657, max=20.6372
Archetype change since last debug: 1.747424
Archetype gradients: norm=0.037784, mean=0.001397
Epoch 1/1
Average loss: 0.7704
Archetypal loss: 0.8411
KLD loss: 0.1334
Reconstruction loss: 0.8411
Archetype R²: 0.1330
Archetype transform grad norm: 0.312166
Archetype transform param norm: 9.2459
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.7704 (range: 0.7704 - 0.7704)
archetypal_loss: 0.8411 (range: 0.8411 - 0.8411)
kld_loss: 0.1334 (range: 0.1334 - 0.1334)
reconstruction_loss: 0.8411 (range: 0.8411 - 0.8411)
archetype_r2: 0.1330 (range: 0.1330 - 0.1330)
Archetype Transform Summary:
archetype_transform_mean: -0.000277 (range: -0.000277 - -0.000277)
archetype_transform_std: 0.129481 (range: 0.129481 - 0.129481)
archetype_transform_norm: 9.245936 (range: 9.245936 - 9.245936)
archetype_transform_grad_norm: 0.312166 (range: 0.312166 - 0.312166)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0157, max=0.6524, mean=0.1429
Batch reconstruction MSE: 1.0247
Archetype stats: min=-26.1658, max=20.7033
Archetype change since last debug: 1.463115
Archetype gradients: norm=0.041937, mean=0.001918
Epoch 1/1
Average loss: 0.7701
Archetypal loss: 0.8407
KLD loss: 0.1346
Reconstruction loss: 0.8407
Archetype R²: 0.1335
Archetype transform grad norm: 0.312766
Archetype transform param norm: 9.2571
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.7701 (range: 0.7701 - 0.7701)
archetypal_loss: 0.8407 (range: 0.8407 - 0.8407)
kld_loss: 0.1346 (range: 0.1346 - 0.1346)
reconstruction_loss: 0.8407 (range: 0.8407 - 0.8407)
archetype_r2: 0.1335 (range: 0.1335 - 0.1335)
Archetype Transform Summary:
archetype_transform_mean: -0.000349 (range: -0.000349 - -0.000349)
archetype_transform_std: 0.129638 (range: 0.129638 - 0.129638)
archetype_transform_norm: 9.257149 (range: 9.257149 - 9.257149)
archetype_transform_grad_norm: 0.312766 (range: 0.312766 - 0.312766)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0150, max=0.6003, mean=0.1429
Batch reconstruction MSE: 0.9751
Archetype stats: min=-26.5550, max=20.6651
Archetype change since last debug: 1.445483
Archetype gradients: norm=0.046030, mean=0.001727
Epoch 1/1
Average loss: 0.7691
Archetypal loss: 0.8398
KLD loss: 0.1332
Reconstruction loss: 0.8398
Archetype R²: 0.1345
Archetype transform grad norm: 0.312283
Archetype transform param norm: 9.2815
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.7691 (range: 0.7691 - 0.7691)
archetypal_loss: 0.8398 (range: 0.8398 - 0.8398)
kld_loss: 0.1332 (range: 0.1332 - 0.1332)
reconstruction_loss: 0.8398 (range: 0.8398 - 0.8398)
archetype_r2: 0.1345 (range: 0.1345 - 0.1345)
Archetype Transform Summary:
archetype_transform_mean: -0.000278 (range: -0.000278 - -0.000278)
archetype_transform_std: 0.129979 (range: 0.129979 - 0.129979)
archetype_transform_norm: 9.281480 (range: 9.281480 - 9.281480)
archetype_transform_grad_norm: 0.312283 (range: 0.312283 - 0.312283)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0172, max=0.6356, mean=0.1429
Batch reconstruction MSE: 0.9945
Archetype stats: min=-26.4231, max=20.9427
Archetype change since last debug: 1.389440
Archetype gradients: norm=0.042925, mean=0.001825
Epoch 1/1
Average loss: 0.7693
Archetypal loss: 0.8400
KLD loss: 0.1325
Reconstruction loss: 0.8400
Archetype R²: 0.1342
Archetype transform grad norm: 0.315759
Archetype transform param norm: 9.2990
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.7693 (range: 0.7693 - 0.7693)
archetypal_loss: 0.8400 (range: 0.8400 - 0.8400)
kld_loss: 0.1325 (range: 0.1325 - 0.1325)
reconstruction_loss: 0.8400 (range: 0.8400 - 0.8400)
archetype_r2: 0.1342 (range: 0.1342 - 0.1342)
Archetype Transform Summary:
archetype_transform_mean: -0.000349 (range: -0.000349 - -0.000349)
archetype_transform_std: 0.130224 (range: 0.130224 - 0.130224)
archetype_transform_norm: 9.298960 (range: 9.298960 - 9.298960)
archetype_transform_grad_norm: 0.315759 (range: 0.315759 - 0.315759)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0149, max=0.6090, mean=0.1429
Batch reconstruction MSE: 0.9976
Archetype stats: min=-26.8522, max=21.1200
Archetype change since last debug: 1.652121
Archetype gradients: norm=0.065742, mean=0.002311
Epoch 1/1
Average loss: 0.7698
Archetypal loss: 0.8403
KLD loss: 0.1353
Reconstruction loss: 0.8403
Archetype R²: 0.1338
Archetype transform grad norm: 0.322633
Archetype transform param norm: 9.3117
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.7698 (range: 0.7698 - 0.7698)
archetypal_loss: 0.8403 (range: 0.8403 - 0.8403)
kld_loss: 0.1353 (range: 0.1353 - 0.1353)
reconstruction_loss: 0.8403 (range: 0.8403 - 0.8403)
archetype_r2: 0.1338 (range: 0.1338 - 0.1338)
Archetype Transform Summary:
archetype_transform_mean: -0.000291 (range: -0.000291 - -0.000291)
archetype_transform_std: 0.130402 (range: 0.130402 - 0.130402)
archetype_transform_norm: 9.311706 (range: 9.311706 - 9.311706)
archetype_transform_grad_norm: 0.322633 (range: 0.322633 - 0.322633)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0154, max=0.6476, mean=0.1429
Batch reconstruction MSE: 0.9419
Archetype stats: min=-26.7307, max=21.2750
Archetype change since last debug: 1.356377
Archetype gradients: norm=0.039539, mean=0.001769
Epoch 1/1
Average loss: 0.7675
Archetypal loss: 0.8384
KLD loss: 0.1297
Reconstruction loss: 0.8384
Archetype R²: 0.1360
Archetype transform grad norm: 0.315191
Archetype transform param norm: 9.3336
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.7675 (range: 0.7675 - 0.7675)
archetypal_loss: 0.8384 (range: 0.8384 - 0.8384)
kld_loss: 0.1297 (range: 0.1297 - 0.1297)
reconstruction_loss: 0.8384 (range: 0.8384 - 0.8384)
archetype_r2: 0.1360 (range: 0.1360 - 0.1360)
Archetype Transform Summary:
archetype_transform_mean: -0.000316 (range: -0.000316 - -0.000316)
archetype_transform_std: 0.130709 (range: 0.130709 - 0.130709)
archetype_transform_norm: 9.333633 (range: 9.333633 - 9.333633)
archetype_transform_grad_norm: 0.315191 (range: 0.315191 - 0.315191)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0151, max=0.6021, mean=0.1429
Batch reconstruction MSE: 0.8841
Archetype stats: min=-27.2539, max=21.3650
Archetype change since last debug: 1.677431
Archetype gradients: norm=0.038430, mean=0.001446
Epoch 1/1
Average loss: 0.7660
Archetypal loss: 0.8369
KLD loss: 0.1279
Reconstruction loss: 0.8369
Archetype R²: 0.1377
Archetype transform grad norm: 0.313943
Archetype transform param norm: 9.3715
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.7660 (range: 0.7660 - 0.7660)
archetypal_loss: 0.8369 (range: 0.8369 - 0.8369)
kld_loss: 0.1279 (range: 0.1279 - 0.1279)
reconstruction_loss: 0.8369 (range: 0.8369 - 0.8369)
archetype_r2: 0.1377 (range: 0.1377 - 0.1377)
Archetype Transform Summary:
archetype_transform_mean: -0.000269 (range: -0.000269 - -0.000269)
archetype_transform_std: 0.131240 (range: 0.131240 - 0.131240)
archetype_transform_norm: 9.371492 (range: 9.371492 - 9.371492)
archetype_transform_grad_norm: 0.313943 (range: 0.313943 - 0.313943)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0145, max=0.6556, mean=0.1429
Batch reconstruction MSE: 0.8976
Archetype stats: min=-27.2915, max=21.7233
Archetype change since last debug: 1.670864
Archetype gradients: norm=0.029325, mean=0.001322
Epoch 1/1
Average loss: 0.7655
Archetypal loss: 0.8368
KLD loss: 0.1238
Reconstruction loss: 0.8368
Archetype R²: 0.1377
Archetype transform grad norm: 0.312707
Archetype transform param norm: 9.4098
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.7655 (range: 0.7655 - 0.7655)
archetypal_loss: 0.8368 (range: 0.8368 - 0.8368)
kld_loss: 0.1238 (range: 0.1238 - 0.1238)
reconstruction_loss: 0.8368 (range: 0.8368 - 0.8368)
archetype_r2: 0.1377 (range: 0.1377 - 0.1377)
Archetype Transform Summary:
archetype_transform_mean: -0.000268 (range: -0.000268 - -0.000268)
archetype_transform_std: 0.131777 (range: 0.131777 - 0.131777)
archetype_transform_norm: 9.409843 (range: 9.409843 - 9.409843)
archetype_transform_grad_norm: 0.312707 (range: 0.312707 - 0.312707)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0152, max=0.5521, mean=0.1429
Batch reconstruction MSE: 0.9443
Archetype stats: min=-27.8179, max=21.6614
Archetype change since last debug: 1.701441
Archetype gradients: norm=0.039529, mean=0.001484
Epoch 1/1
Average loss: 0.7670
Archetypal loss: 0.8385
KLD loss: 0.1239
Reconstruction loss: 0.8385
Archetype R²: 0.1358
Archetype transform grad norm: 0.325691
Archetype transform param norm: 9.4347
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.7670 (range: 0.7670 - 0.7670)
archetypal_loss: 0.8385 (range: 0.8385 - 0.8385)
kld_loss: 0.1239 (range: 0.1239 - 0.1239)
reconstruction_loss: 0.8385 (range: 0.8385 - 0.8385)
archetype_r2: 0.1358 (range: 0.1358 - 0.1358)
Archetype Transform Summary:
archetype_transform_mean: -0.000267 (range: -0.000267 - -0.000267)
archetype_transform_std: 0.132126 (range: 0.132126 - 0.132126)
archetype_transform_norm: 9.434745 (range: 9.434745 - 9.434745)
archetype_transform_grad_norm: 0.325691 (range: 0.325691 - 0.325691)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0158, max=0.6340, mean=0.1429
Batch reconstruction MSE: 0.9609
Archetype stats: min=-27.4973, max=21.8195
Archetype change since last debug: 1.332814
Archetype gradients: norm=0.029765, mean=0.001323
Epoch 1/1
Average loss: 0.7670
Archetypal loss: 0.8383
KLD loss: 0.1253
Reconstruction loss: 0.8383
Archetype R²: 0.1359
Archetype transform grad norm: 0.320201
Archetype transform param norm: 9.4527
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.7670 (range: 0.7670 - 0.7670)
archetypal_loss: 0.8383 (range: 0.8383 - 0.8383)
kld_loss: 0.1253 (range: 0.1253 - 0.1253)
reconstruction_loss: 0.8383 (range: 0.8383 - 0.8383)
archetype_r2: 0.1359 (range: 0.1359 - 0.1359)
Archetype Transform Summary:
archetype_transform_mean: -0.000275 (range: -0.000275 - -0.000275)
archetype_transform_std: 0.132378 (range: 0.132378 - 0.132378)
archetype_transform_norm: 9.452748 (range: 9.452748 - 9.452748)
archetype_transform_grad_norm: 0.320201 (range: 0.320201 - 0.320201)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0130, max=0.5888, mean=0.1429
Batch reconstruction MSE: 0.9887
Archetype stats: min=-27.8302, max=21.4072
Archetype change since last debug: 1.408125
Archetype gradients: norm=0.037542, mean=0.001458
Epoch 1/1
Average loss: 0.7675
Archetypal loss: 0.8391
KLD loss: 0.1233
Reconstruction loss: 0.8391
Archetype R²: 0.1349
Archetype transform grad norm: 0.324440
Archetype transform param norm: 9.4606
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.7675 (range: 0.7675 - 0.7675)
archetypal_loss: 0.8391 (range: 0.8391 - 0.8391)
kld_loss: 0.1233 (range: 0.1233 - 0.1233)
reconstruction_loss: 0.8391 (range: 0.8391 - 0.8391)
archetype_r2: 0.1349 (range: 0.1349 - 0.1349)
Archetype Transform Summary:
archetype_transform_mean: -0.000287 (range: -0.000287 - -0.000287)
archetype_transform_std: 0.132488 (range: 0.132488 - 0.132488)
archetype_transform_norm: 9.460633 (range: 9.460633 - 9.460633)
archetype_transform_grad_norm: 0.324440 (range: 0.324440 - 0.324440)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0153, max=0.5865, mean=0.1429
Batch reconstruction MSE: 0.9202
Archetype stats: min=-27.3452, max=21.4194
Archetype change since last debug: 1.302764
Archetype gradients: norm=0.023531, mean=0.001014
Epoch 1/1
Average loss: 0.7657
Archetypal loss: 0.8369
KLD loss: 0.1250
Reconstruction loss: 0.8369
Archetype R²: 0.1374
Archetype transform grad norm: 0.314046
Archetype transform param norm: 9.4827
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.7657 (range: 0.7657 - 0.7657)
archetypal_loss: 0.8369 (range: 0.8369 - 0.8369)
kld_loss: 0.1250 (range: 0.1250 - 0.1250)
reconstruction_loss: 0.8369 (range: 0.8369 - 0.8369)
archetype_r2: 0.1374 (range: 0.1374 - 0.1374)
Archetype Transform Summary:
archetype_transform_mean: -0.000323 (range: -0.000323 - -0.000323)
archetype_transform_std: 0.132796 (range: 0.132796 - 0.132796)
archetype_transform_norm: 9.482651 (range: 9.482651 - 9.482651)
archetype_transform_grad_norm: 0.314046 (range: 0.314046 - 0.314046)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0150, max=0.5996, mean=0.1429
Batch reconstruction MSE: 0.9188
Archetype stats: min=-27.8631, max=21.3190
Archetype change since last debug: 1.418234
Archetype gradients: norm=0.021590, mean=0.000850
Epoch 1/1
Average loss: 0.7649
Archetypal loss: 0.8366
KLD loss: 0.1195
Reconstruction loss: 0.8366
Archetype R²: 0.1376
Archetype transform grad norm: 0.308655
Archetype transform param norm: 9.5103
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.7649 (range: 0.7649 - 0.7649)
archetypal_loss: 0.8366 (range: 0.8366 - 0.8366)
kld_loss: 0.1195 (range: 0.1195 - 0.1195)
reconstruction_loss: 0.8366 (range: 0.8366 - 0.8366)
archetype_r2: 0.1376 (range: 0.1376 - 0.1376)
Archetype Transform Summary:
archetype_transform_mean: -0.000274 (range: -0.000274 - -0.000274)
archetype_transform_std: 0.133184 (range: 0.133184 - 0.133184)
archetype_transform_norm: 9.510306 (range: 9.510306 - 9.510306)
archetype_transform_grad_norm: 0.308655 (range: 0.308655 - 0.308655)
[OK] Completed in 47.1s
[STATS] Mean archetype R²: 0.1287
[STATS] Mean validation R²: 0.1287
đź§Ş Configuration 18/20: {'n_archetypes': 7, 'hidden_dims': [256, 128, 64], 'inflation_factor': 1.5, 'use_pcha_init': True, 'use_inflation': True}
Fold 1/3
Model input_dim: 50 (auto-detected from data)
Archetypes parameter registered: True
Archetypes requires_grad: True
Deep_AA (Deep Archetypal Analysis) initialized:
- Single-stage architecture (like Deep_2)
- Inflation factor: 1.5
- Direct archetypal coordinates (no bottleneck)
Consolidated Archetype Initialization
PCHA: True, Inflation: True (factor: 1.5)
Test inflation: False
Running PCHA initialization...
Input shape: (128, 50)
Target archetypes: 7
Running PCHA with 7 archetypes...
Data shape for PCHA: (50, 128)
PCHA Results:
Archetypes shape: (7, 50)
Archetype R²: 0.3358
SSE: 4202.9105
PCHA archetype R²: 0.3358
Archetype shape: (7, 50)
[OK] Initialized 7 archetypes using PCHA
Scalar Archetypal Inflation (factor: 1.50)
[OK] Inflation complete
[STATS] Positioning verification:
Data radius (max): 23.193
Data radius (mean): 6.439
Archetype distances: 3.858 to 32.785
Archetypes outside data: 1/7
Min archetype separation: 6.681
[OK] Archetype initialization complete (success: True)
[OK] Archetype initialization complete (PCHA: True, Inflation: 1.5)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0006, max=0.9258, mean=0.1429
Batch reconstruction MSE: 1.1538
Archetype stats: min=-2.7589, max=2.1097
Archetype gradients: norm=0.010148, mean=0.000407
Epoch 1/1
Average loss: 0.8719
Archetypal loss: 0.9653
KLD loss: 0.0313
Reconstruction loss: 0.9653
Archetype R²: -0.0136
Archetype transform grad norm: 0.194829
Archetype transform param norm: 5.8007
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.8719 (range: 0.8719 - 0.8719)
archetypal_loss: 0.9653 (range: 0.9653 - 0.9653)
kld_loss: 0.0313 (range: 0.0313 - 0.0313)
reconstruction_loss: 0.9653 (range: 0.9653 - 0.9653)
archetype_r2: -0.0136 (range: -0.0136 - -0.0136)
Archetype Transform Summary:
archetype_transform_mean: -0.000988 (range: -0.000988 - -0.000988)
archetype_transform_std: 0.081227 (range: 0.081227 - 0.081227)
archetype_transform_norm: 5.800652 (range: 5.800652 - 5.800652)
archetype_transform_grad_norm: 0.194829 (range: 0.194829 - 0.194829)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0025, max=0.8035, mean=0.1429
Batch reconstruction MSE: 1.0542
Archetype stats: min=-1.2158, max=1.3258
Archetype change since last debug: 7.455629
Archetype gradients: norm=0.003011, mean=0.000131
Epoch 1/1
Average loss: 0.8574
Archetypal loss: 0.9455
KLD loss: 0.0650
Reconstruction loss: 0.9455
Archetype R²: 0.0069
Archetype transform grad norm: 0.173086
Archetype transform param norm: 5.8301
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.8574 (range: 0.8574 - 0.8574)
archetypal_loss: 0.9455 (range: 0.9455 - 0.9455)
kld_loss: 0.0650 (range: 0.0650 - 0.0650)
reconstruction_loss: 0.9455 (range: 0.9455 - 0.9455)
archetype_r2: 0.0069 (range: 0.0069 - 0.0069)
Archetype Transform Summary:
archetype_transform_mean: -0.000977 (range: -0.000977 - -0.000977)
archetype_transform_std: 0.081640 (range: 0.081640 - 0.081640)
archetype_transform_norm: 5.830096 (range: 5.830096 - 5.830096)
archetype_transform_grad_norm: 0.173086 (range: 0.173086 - 0.173086)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0010, max=0.9904, mean=0.1429
Batch reconstruction MSE: 1.0716
Archetype stats: min=-2.4608, max=3.4557
Archetype change since last debug: 7.656326
Archetype gradients: norm=0.004372, mean=0.000166
Epoch 1/1
Average loss: 0.8444
Archetypal loss: 0.9267
KLD loss: 0.1037
Reconstruction loss: 0.9267
Archetype R²: 0.0267
Archetype transform grad norm: 0.205237
Archetype transform param norm: 5.9729
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.8444 (range: 0.8444 - 0.8444)
archetypal_loss: 0.9267 (range: 0.9267 - 0.9267)
kld_loss: 0.1037 (range: 0.1037 - 0.1037)
reconstruction_loss: 0.9267 (range: 0.9267 - 0.9267)
archetype_r2: 0.0267 (range: 0.0267 - 0.0267)
Archetype Transform Summary:
archetype_transform_mean: -0.000449 (range: -0.000449 - -0.000449)
archetype_transform_std: 0.083644 (range: 0.083644 - 0.083644)
archetype_transform_norm: 5.972868 (range: 5.972868 - 5.972868)
archetype_transform_grad_norm: 0.205237 (range: 0.205237 - 0.205237)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0025, max=0.9128, mean=0.1429
Batch reconstruction MSE: 1.1129
Archetype stats: min=-4.2738, max=7.5682
Archetype change since last debug: 10.285131
Archetype gradients: norm=0.009007, mean=0.000334
Epoch 1/1
Average loss: 0.8316
Archetypal loss: 0.9102
KLD loss: 0.1241
Reconstruction loss: 0.9102
Archetype R²: 0.0443
Archetype transform grad norm: 0.227746
Archetype transform param norm: 6.1851
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.8316 (range: 0.8316 - 0.8316)
archetypal_loss: 0.9102 (range: 0.9102 - 0.9102)
kld_loss: 0.1241 (range: 0.1241 - 0.1241)
reconstruction_loss: 0.9102 (range: 0.9102 - 0.9102)
archetype_r2: 0.0443 (range: 0.0443 - 0.0443)
Archetype Transform Summary:
archetype_transform_mean: 0.000052 (range: 0.000052 - 0.000052)
archetype_transform_std: 0.086618 (range: 0.086618 - 0.086618)
archetype_transform_norm: 6.185148 (range: 6.185148 - 6.185148)
archetype_transform_grad_norm: 0.227746 (range: 0.227746 - 0.227746)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0032, max=0.7895, mean=0.1429
Batch reconstruction MSE: 1.1216
Archetype stats: min=-5.6498, max=11.6426
Archetype change since last debug: 10.318949
Archetype gradients: norm=0.009371, mean=0.000364
Epoch 1/1
Average loss: 0.8222
Archetypal loss: 0.8993
KLD loss: 0.1279
Reconstruction loss: 0.8993
Archetype R²: 0.0558
Archetype transform grad norm: 0.251282
Archetype transform param norm: 6.4122
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.8222 (range: 0.8222 - 0.8222)
archetypal_loss: 0.8993 (range: 0.8993 - 0.8993)
kld_loss: 0.1279 (range: 0.1279 - 0.1279)
reconstruction_loss: 0.8993 (range: 0.8993 - 0.8993)
archetype_r2: 0.0558 (range: 0.0558 - 0.0558)
Archetype Transform Summary:
archetype_transform_mean: 0.000311 (range: 0.000311 - 0.000311)
archetype_transform_std: 0.089797 (range: 0.089797 - 0.089797)
archetype_transform_norm: 6.412192 (range: 6.412192 - 6.412192)
archetype_transform_grad_norm: 0.251282 (range: 0.251282 - 0.251282)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0002, max=0.9948, mean=0.1429
Batch reconstruction MSE: 1.1545
Archetype stats: min=-6.3974, max=14.7662
Archetype change since last debug: 8.843829
Archetype gradients: norm=0.014351, mean=0.000555
Epoch 1/1
Average loss: 0.8155
Archetypal loss: 0.8917
KLD loss: 0.1293
Reconstruction loss: 0.8917
Archetype R²: 0.0640
Archetype transform grad norm: 0.259794
Archetype transform param norm: 6.6095
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.8155 (range: 0.8155 - 0.8155)
archetypal_loss: 0.8917 (range: 0.8917 - 0.8917)
kld_loss: 0.1293 (range: 0.1293 - 0.1293)
reconstruction_loss: 0.8917 (range: 0.8917 - 0.8917)
archetype_r2: 0.0640 (range: 0.0640 - 0.0640)
Archetype Transform Summary:
archetype_transform_mean: 0.000445 (range: 0.000445 - 0.000445)
archetype_transform_std: 0.092559 (range: 0.092559 - 0.092559)
archetype_transform_norm: 6.609480 (range: 6.609480 - 6.609480)
archetype_transform_grad_norm: 0.259794 (range: 0.259794 - 0.259794)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0030, max=0.9024, mean=0.1429
Batch reconstruction MSE: 1.1302
Archetype stats: min=-7.7202, max=17.3752
Archetype change since last debug: 7.184185
Archetype gradients: norm=0.017669, mean=0.000673
Epoch 1/1
Average loss: 0.8088
Archetypal loss: 0.8829
KLD loss: 0.1416
Reconstruction loss: 0.8829
Archetype R²: 0.0734
Archetype transform grad norm: 0.271726
Archetype transform param norm: 6.8072
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.8088 (range: 0.8088 - 0.8088)
archetypal_loss: 0.8829 (range: 0.8829 - 0.8829)
kld_loss: 0.1416 (range: 0.1416 - 0.1416)
reconstruction_loss: 0.8829 (range: 0.8829 - 0.8829)
archetype_r2: 0.0734 (range: 0.0734 - 0.0734)
Archetype Transform Summary:
archetype_transform_mean: 0.000571 (range: 0.000571 - 0.000571)
archetype_transform_std: 0.095327 (range: 0.095327 - 0.095327)
archetype_transform_norm: 6.807201 (range: 6.807201 - 6.807201)
archetype_transform_grad_norm: 0.271726 (range: 0.271726 - 0.271726)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0076, max=0.7962, mean=0.1429
Batch reconstruction MSE: 1.1570
Archetype stats: min=-9.2991, max=19.6811
Archetype change since last debug: 7.128875
Archetype gradients: norm=0.017595, mean=0.000646
Epoch 1/1
Average loss: 0.8022
Archetypal loss: 0.8753
KLD loss: 0.1446
Reconstruction loss: 0.8753
Archetype R²: 0.0815
Archetype transform grad norm: 0.273351
Archetype transform param norm: 7.0066
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.8022 (range: 0.8022 - 0.8022)
archetypal_loss: 0.8753 (range: 0.8753 - 0.8753)
kld_loss: 0.1446 (range: 0.1446 - 0.1446)
reconstruction_loss: 0.8753 (range: 0.8753 - 0.8753)
archetype_r2: 0.0815 (range: 0.0815 - 0.0815)
Archetype Transform Summary:
archetype_transform_mean: 0.000699 (range: 0.000699 - 0.000699)
archetype_transform_std: 0.098119 (range: 0.098119 - 0.098119)
archetype_transform_norm: 7.006571 (range: 7.006571 - 7.006571)
archetype_transform_grad_norm: 0.273351 (range: 0.273351 - 0.273351)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0023, max=0.9514, mean=0.1429
Batch reconstruction MSE: 1.1571
Archetype stats: min=-10.5728, max=21.8024
Archetype change since last debug: 6.887594
Archetype gradients: norm=0.020926, mean=0.000882
Epoch 1/1
Average loss: 0.7976
Archetypal loss: 0.8689
KLD loss: 0.1555
Reconstruction loss: 0.8689
Archetype R²: 0.0883
Archetype transform grad norm: 0.293163
Archetype transform param norm: 7.2065
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.7976 (range: 0.7976 - 0.7976)
archetypal_loss: 0.8689 (range: 0.8689 - 0.8689)
kld_loss: 0.1555 (range: 0.1555 - 0.1555)
reconstruction_loss: 0.8689 (range: 0.8689 - 0.8689)
archetype_r2: 0.0883 (range: 0.0883 - 0.0883)
Archetype Transform Summary:
archetype_transform_mean: 0.000755 (range: 0.000755 - 0.000755)
archetype_transform_std: 0.100918 (range: 0.100918 - 0.100918)
archetype_transform_norm: 7.206498 (range: 7.206498 - 7.206498)
archetype_transform_grad_norm: 0.293163 (range: 0.293163 - 0.293163)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0055, max=0.8718, mean=0.1429
Batch reconstruction MSE: 1.2223
Archetype stats: min=-11.5375, max=23.1630
Archetype change since last debug: 6.123385
Archetype gradients: norm=0.028409, mean=0.001113
Epoch 1/1
Average loss: 0.7947
Archetypal loss: 0.8656
KLD loss: 0.1567
Reconstruction loss: 0.8656
Archetype R²: 0.0920
Archetype transform grad norm: 0.298835
Archetype transform param norm: 7.3716
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.7947 (range: 0.7947 - 0.7947)
archetypal_loss: 0.8656 (range: 0.8656 - 0.8656)
kld_loss: 0.1567 (range: 0.1567 - 0.1567)
reconstruction_loss: 0.8656 (range: 0.8656 - 0.8656)
archetype_r2: 0.0920 (range: 0.0920 - 0.0920)
Archetype Transform Summary:
archetype_transform_mean: 0.000775 (range: 0.000775 - 0.000775)
archetype_transform_std: 0.103231 (range: 0.103231 - 0.103231)
archetype_transform_norm: 7.371640 (range: 7.371640 - 7.371640)
archetype_transform_grad_norm: 0.298835 (range: 0.298835 - 0.298835)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0107, max=0.7541, mean=0.1429
Batch reconstruction MSE: 1.1809
Archetype stats: min=-12.1323, max=23.8682
Archetype change since last debug: 5.344367
Archetype gradients: norm=0.029689, mean=0.001110
Epoch 1/1
Average loss: 0.7889
Archetypal loss: 0.8590
KLD loss: 0.1583
Reconstruction loss: 0.8590
Archetype R²: 0.0989
Archetype transform grad norm: 0.305524
Archetype transform param norm: 7.5323
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.7889 (range: 0.7889 - 0.7889)
archetypal_loss: 0.8590 (range: 0.8590 - 0.8590)
kld_loss: 0.1583 (range: 0.1583 - 0.1583)
reconstruction_loss: 0.8590 (range: 0.8590 - 0.8590)
archetype_r2: 0.0989 (range: 0.0989 - 0.0989)
Archetype Transform Summary:
archetype_transform_mean: 0.000801 (range: 0.000801 - 0.000801)
archetype_transform_std: 0.105481 (range: 0.105481 - 0.105481)
archetype_transform_norm: 7.532323 (range: 7.532323 - 7.532323)
archetype_transform_grad_norm: 0.305524 (range: 0.305524 - 0.305524)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0089, max=0.8070, mean=0.1429
Batch reconstruction MSE: 1.1906
Archetype stats: min=-12.7392, max=24.4747
Archetype change since last debug: 4.670408
Archetype gradients: norm=0.026373, mean=0.001135
Epoch 1/1
Average loss: 0.7850
Archetypal loss: 0.8554
KLD loss: 0.1513
Reconstruction loss: 0.8554
Archetype R²: 0.1027
Archetype transform grad norm: 0.298706
Archetype transform param norm: 7.6746
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.7850 (range: 0.7850 - 0.7850)
archetypal_loss: 0.8554 (range: 0.8554 - 0.8554)
kld_loss: 0.1513 (range: 0.1513 - 0.1513)
reconstruction_loss: 0.8554 (range: 0.8554 - 0.8554)
archetype_r2: 0.1027 (range: 0.1027 - 0.1027)
Archetype Transform Summary:
archetype_transform_mean: 0.000797 (range: 0.000797 - 0.000797)
archetype_transform_std: 0.107473 (range: 0.107473 - 0.107473)
archetype_transform_norm: 7.674573 (range: 7.674573 - 7.674573)
archetype_transform_grad_norm: 0.298706 (range: 0.298706 - 0.298706)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0120, max=0.7049, mean=0.1429
Batch reconstruction MSE: 1.1739
Archetype stats: min=-13.4047, max=25.5187
Archetype change since last debug: 4.405452
Archetype gradients: norm=0.033787, mean=0.001114
Epoch 1/1
Average loss: 0.7827
Archetypal loss: 0.8525
KLD loss: 0.1542
Reconstruction loss: 0.8525
Archetype R²: 0.1057
Archetype transform grad norm: 0.313448
Archetype transform param norm: 7.8162
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.7827 (range: 0.7827 - 0.7827)
archetypal_loss: 0.8525 (range: 0.8525 - 0.8525)
kld_loss: 0.1542 (range: 0.1542 - 0.1542)
reconstruction_loss: 0.8525 (range: 0.8525 - 0.8525)
archetype_r2: 0.1057 (range: 0.1057 - 0.1057)
Archetype Transform Summary:
archetype_transform_mean: 0.000808 (range: 0.000808 - 0.000808)
archetype_transform_std: 0.109457 (range: 0.109457 - 0.109457)
archetype_transform_norm: 7.816207 (range: 7.816207 - 7.816207)
archetype_transform_grad_norm: 0.313448 (range: 0.313448 - 0.313448)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0057, max=0.7519, mean=0.1429
Batch reconstruction MSE: 1.2022
Archetype stats: min=-13.7647, max=25.9095
Archetype change since last debug: 3.877986
Archetype gradients: norm=0.032954, mean=0.001344
Epoch 1/1
Average loss: 0.7802
Archetypal loss: 0.8501
KLD loss: 0.1512
Reconstruction loss: 0.8501
Archetype R²: 0.1083
Archetype transform grad norm: 0.307797
Archetype transform param norm: 7.9399
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.7802 (range: 0.7802 - 0.7802)
archetypal_loss: 0.8501 (range: 0.8501 - 0.8501)
kld_loss: 0.1512 (range: 0.1512 - 0.1512)
reconstruction_loss: 0.8501 (range: 0.8501 - 0.8501)
archetype_r2: 0.1083 (range: 0.1083 - 0.1083)
Archetype Transform Summary:
archetype_transform_mean: 0.000734 (range: 0.000734 - 0.000734)
archetype_transform_std: 0.111189 (range: 0.111189 - 0.111189)
archetype_transform_norm: 7.939854 (range: 7.939854 - 7.939854)
archetype_transform_grad_norm: 0.307797 (range: 0.307797 - 0.307797)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0101, max=0.6885, mean=0.1429
Batch reconstruction MSE: 1.1527
Archetype stats: min=-14.1906, max=26.5966
Archetype change since last debug: 3.509913
Archetype gradients: norm=0.029832, mean=0.001048
Epoch 1/1
Average loss: 0.7759
Archetypal loss: 0.8440
KLD loss: 0.1627
Reconstruction loss: 0.8440
Archetype R²: 0.1146
Archetype transform grad norm: 0.308727
Archetype transform param norm: 8.1002
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.7759 (range: 0.7759 - 0.7759)
archetypal_loss: 0.8440 (range: 0.8440 - 0.8440)
kld_loss: 0.1627 (range: 0.1627 - 0.1627)
reconstruction_loss: 0.8440 (range: 0.8440 - 0.8440)
archetype_r2: 0.1146 (range: 0.1146 - 0.1146)
Archetype Transform Summary:
archetype_transform_mean: 0.000671 (range: 0.000671 - 0.000671)
archetype_transform_std: 0.113435 (range: 0.113435 - 0.113435)
archetype_transform_norm: 8.100225 (range: 8.100225 - 8.100225)
archetype_transform_grad_norm: 0.308727 (range: 0.308727 - 0.308727)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0119, max=0.6922, mean=0.1429
Batch reconstruction MSE: 1.1635
Archetype stats: min=-14.6884, max=27.2542
Archetype change since last debug: 4.282736
Archetype gradients: norm=0.034143, mean=0.001274
Epoch 1/1
Average loss: 0.7724
Archetypal loss: 0.8402
KLD loss: 0.1624
Reconstruction loss: 0.8402
Archetype R²: 0.1186
Archetype transform grad norm: 0.310162
Archetype transform param norm: 8.2591
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.7724 (range: 0.7724 - 0.7724)
archetypal_loss: 0.8402 (range: 0.8402 - 0.8402)
kld_loss: 0.1624 (range: 0.1624 - 0.1624)
reconstruction_loss: 0.8402 (range: 0.8402 - 0.8402)
archetype_r2: 0.1186 (range: 0.1186 - 0.1186)
Archetype Transform Summary:
archetype_transform_mean: 0.000586 (range: 0.000586 - 0.000586)
archetype_transform_std: 0.115660 (range: 0.115660 - 0.115660)
archetype_transform_norm: 8.259054 (range: 8.259054 - 8.259054)
archetype_transform_grad_norm: 0.310162 (range: 0.310162 - 0.310162)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0115, max=0.5792, mean=0.1429
Batch reconstruction MSE: 1.1552
Archetype stats: min=-15.2401, max=28.0838
Archetype change since last debug: 4.170871
Archetype gradients: norm=0.028183, mean=0.001107
Epoch 1/1
Average loss: 0.7693
Archetypal loss: 0.8367
KLD loss: 0.1634
Reconstruction loss: 0.8367
Archetype R²: 0.1223
Archetype transform grad norm: 0.327269
Archetype transform param norm: 8.4260
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.7693 (range: 0.7693 - 0.7693)
archetypal_loss: 0.8367 (range: 0.8367 - 0.8367)
kld_loss: 0.1634 (range: 0.1634 - 0.1634)
reconstruction_loss: 0.8367 (range: 0.8367 - 0.8367)
archetype_r2: 0.1223 (range: 0.1223 - 0.1223)
Archetype Transform Summary:
archetype_transform_mean: 0.000458 (range: 0.000458 - 0.000458)
archetype_transform_std: 0.117999 (range: 0.117999 - 0.117999)
archetype_transform_norm: 8.426040 (range: 8.426040 - 8.426040)
archetype_transform_grad_norm: 0.327269 (range: 0.327269 - 0.327269)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0114, max=0.5632, mean=0.1429
Batch reconstruction MSE: 1.1819
Archetype stats: min=-15.6733, max=28.5833
Archetype change since last debug: 4.231534
Archetype gradients: norm=0.047426, mean=0.001725
Epoch 1/1
Average loss: 0.7669
Archetypal loss: 0.8344
KLD loss: 0.1589
Reconstruction loss: 0.8344
Archetype R²: 0.1247
Archetype transform grad norm: 0.319372
Archetype transform param norm: 8.5575
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.7669 (range: 0.7669 - 0.7669)
archetypal_loss: 0.8344 (range: 0.8344 - 0.8344)
kld_loss: 0.1589 (range: 0.1589 - 0.1589)
reconstruction_loss: 0.8344 (range: 0.8344 - 0.8344)
archetype_r2: 0.1247 (range: 0.1247 - 0.1247)
Archetype Transform Summary:
archetype_transform_mean: 0.000422 (range: 0.000422 - 0.000422)
archetype_transform_std: 0.119840 (range: 0.119840 - 0.119840)
archetype_transform_norm: 8.557516 (range: 8.557516 - 8.557516)
archetype_transform_grad_norm: 0.319372 (range: 0.319372 - 0.319372)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0096, max=0.4406, mean=0.1429
Batch reconstruction MSE: 1.2040
Archetype stats: min=-16.1746, max=29.3659
Archetype change since last debug: 3.517055
Archetype gradients: norm=0.033612, mean=0.001392
Epoch 1/1
Average loss: 0.7665
Archetypal loss: 0.8342
KLD loss: 0.1580
Reconstruction loss: 0.8342
Archetype R²: 0.1250
Archetype transform grad norm: 0.336033
Archetype transform param norm: 8.6793
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.7665 (range: 0.7665 - 0.7665)
archetypal_loss: 0.8342 (range: 0.8342 - 0.8342)
kld_loss: 0.1580 (range: 0.1580 - 0.1580)
reconstruction_loss: 0.8342 (range: 0.8342 - 0.8342)
archetype_r2: 0.1250 (range: 0.1250 - 0.1250)
Archetype Transform Summary:
archetype_transform_mean: 0.000276 (range: 0.000276 - 0.000276)
archetype_transform_std: 0.121545 (range: 0.121545 - 0.121545)
archetype_transform_norm: 8.679252 (range: 8.679252 - 8.679252)
archetype_transform_grad_norm: 0.336033 (range: 0.336033 - 0.336033)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0109, max=0.5751, mean=0.1429
Batch reconstruction MSE: 1.3060
Archetype stats: min=-16.3617, max=29.5386
Archetype change since last debug: 3.284316
Archetype gradients: norm=0.062904, mean=0.002232
Epoch 1/1
Average loss: 0.7679
Archetypal loss: 0.8359
KLD loss: 0.1558
Reconstruction loss: 0.8359
Archetype R²: 0.1234
Archetype transform grad norm: 0.346743
Archetype transform param norm: 8.7431
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.7679 (range: 0.7679 - 0.7679)
archetypal_loss: 0.8359 (range: 0.8359 - 0.8359)
kld_loss: 0.1558 (range: 0.1558 - 0.1558)
reconstruction_loss: 0.8359 (range: 0.8359 - 0.8359)
archetype_r2: 0.1234 (range: 0.1234 - 0.1234)
Archetype Transform Summary:
archetype_transform_mean: 0.000277 (range: 0.000277 - 0.000277)
archetype_transform_std: 0.122440 (range: 0.122440 - 0.122440)
archetype_transform_norm: 8.743112 (range: 8.743112 - 8.743112)
archetype_transform_grad_norm: 0.346743 (range: 0.346743 - 0.346743)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0108, max=0.3591, mean=0.1429
Batch reconstruction MSE: 1.1879
Archetype stats: min=-16.5608, max=29.8388
Archetype change since last debug: 2.370864
Archetype gradients: norm=0.031336, mean=0.001200
Epoch 1/1
Average loss: 0.7632
Archetypal loss: 0.8312
KLD loss: 0.1511
Reconstruction loss: 0.8312
Archetype R²: 0.1281
Archetype transform grad norm: 0.329943
Archetype transform param norm: 8.8239
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.7632 (range: 0.7632 - 0.7632)
archetypal_loss: 0.8312 (range: 0.8312 - 0.8312)
kld_loss: 0.1511 (range: 0.1511 - 0.1511)
reconstruction_loss: 0.8312 (range: 0.8312 - 0.8312)
archetype_r2: 0.1281 (range: 0.1281 - 0.1281)
Archetype Transform Summary:
archetype_transform_mean: 0.000164 (range: 0.000164 - 0.000164)
archetype_transform_std: 0.123572 (range: 0.123572 - 0.123572)
archetype_transform_norm: 8.823944 (range: 8.823944 - 8.823944)
archetype_transform_grad_norm: 0.329943 (range: 0.329943 - 0.329943)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0112, max=0.4715, mean=0.1429
Batch reconstruction MSE: 1.1087
Archetype stats: min=-16.7554, max=30.0495
Archetype change since last debug: 2.608385
Archetype gradients: norm=0.032052, mean=0.001193
Epoch 1/1
Average loss: 0.7629
Archetypal loss: 0.8313
KLD loss: 0.1470
Reconstruction loss: 0.8313
Archetype R²: 0.1278
Archetype transform grad norm: 0.355460
Archetype transform param norm: 8.9078
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.7629 (range: 0.7629 - 0.7629)
archetypal_loss: 0.8313 (range: 0.8313 - 0.8313)
kld_loss: 0.1470 (range: 0.1470 - 0.1470)
reconstruction_loss: 0.8313 (range: 0.8313 - 0.8313)
archetype_r2: 0.1278 (range: 0.1278 - 0.1278)
Archetype Transform Summary:
archetype_transform_mean: 0.000189 (range: 0.000189 - 0.000189)
archetype_transform_std: 0.124746 (range: 0.124746 - 0.124746)
archetype_transform_norm: 8.907819 (range: 8.907819 - 8.907819)
archetype_transform_grad_norm: 0.355460 (range: 0.355460 - 0.355460)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0109, max=0.3330, mean=0.1429
Batch reconstruction MSE: 1.1222
Archetype stats: min=-17.1699, max=30.6661
Archetype change since last debug: 2.590882
Archetype gradients: norm=0.018369, mean=0.000776
Epoch 1/1
Average loss: 0.7594
Archetypal loss: 0.8283
KLD loss: 0.1397
Reconstruction loss: 0.8283
Archetype R²: 0.1310
Archetype transform grad norm: 0.332082
Archetype transform param norm: 8.9909
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.7594 (range: 0.7594 - 0.7594)
archetypal_loss: 0.8283 (range: 0.8283 - 0.8283)
kld_loss: 0.1397 (range: 0.1397 - 0.1397)
reconstruction_loss: 0.8283 (range: 0.8283 - 0.8283)
archetype_r2: 0.1310 (range: 0.1310 - 0.1310)
Archetype Transform Summary:
archetype_transform_mean: 0.000147 (range: 0.000147 - 0.000147)
archetype_transform_std: 0.125910 (range: 0.125910 - 0.125910)
archetype_transform_norm: 8.990924 (range: 8.990924 - 8.990924)
archetype_transform_grad_norm: 0.332082 (range: 0.332082 - 0.332082)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0149, max=0.4690, mean=0.1429
Batch reconstruction MSE: 1.1194
Archetype stats: min=-17.1890, max=30.7138
Archetype change since last debug: 2.552543
Archetype gradients: norm=0.035462, mean=0.001351
Epoch 1/1
Average loss: 0.7590
Archetypal loss: 0.8277
KLD loss: 0.1412
Reconstruction loss: 0.8277
Archetype R²: 0.1316
Archetype transform grad norm: 0.340297
Archetype transform param norm: 9.0650
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.7590 (range: 0.7590 - 0.7590)
archetypal_loss: 0.8277 (range: 0.8277 - 0.8277)
kld_loss: 0.1412 (range: 0.1412 - 0.1412)
reconstruction_loss: 0.8277 (range: 0.8277 - 0.8277)
archetype_r2: 0.1316 (range: 0.1316 - 0.1316)
Archetype Transform Summary:
archetype_transform_mean: 0.000141 (range: 0.000141 - 0.000141)
archetype_transform_std: 0.126947 (range: 0.126947 - 0.126947)
archetype_transform_norm: 9.064981 (range: 9.064981 - 9.064981)
archetype_transform_grad_norm: 0.340297 (range: 0.340297 - 0.340297)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0125, max=0.3263, mean=0.1429
Batch reconstruction MSE: 1.1279
Archetype stats: min=-17.5884, max=31.2988
Archetype change since last debug: 2.479472
Archetype gradients: norm=0.015685, mean=0.000642
Epoch 1/1
Average loss: 0.7573
Archetypal loss: 0.8268
KLD loss: 0.1326
Reconstruction loss: 0.8268
Archetype R²: 0.1325
Archetype transform grad norm: 0.333086
Archetype transform param norm: 9.1437
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.7573 (range: 0.7573 - 0.7573)
archetypal_loss: 0.8268 (range: 0.8268 - 0.8268)
kld_loss: 0.1326 (range: 0.1326 - 0.1326)
reconstruction_loss: 0.8268 (range: 0.8268 - 0.8268)
archetype_r2: 0.1325 (range: 0.1325 - 0.1325)
Archetype Transform Summary:
archetype_transform_mean: 0.000141 (range: 0.000141 - 0.000141)
archetype_transform_std: 0.128049 (range: 0.128049 - 0.128049)
archetype_transform_norm: 9.143661 (range: 9.143661 - 9.143661)
archetype_transform_grad_norm: 0.333086 (range: 0.333086 - 0.333086)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0182, max=0.4316, mean=0.1429
Batch reconstruction MSE: 1.1225
Archetype stats: min=-17.4802, max=31.0479
Archetype change since last debug: 2.444258
Archetype gradients: norm=0.036303, mean=0.001482
Epoch 1/1
Average loss: 0.7584
Archetypal loss: 0.8275
KLD loss: 0.1370
Reconstruction loss: 0.8275
Archetype R²: 0.1317
Archetype transform grad norm: 0.356185
Archetype transform param norm: 9.2007
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.7584 (range: 0.7584 - 0.7584)
archetypal_loss: 0.8275 (range: 0.8275 - 0.8275)
kld_loss: 0.1370 (range: 0.1370 - 0.1370)
reconstruction_loss: 0.8275 (range: 0.8275 - 0.8275)
archetype_r2: 0.1317 (range: 0.1317 - 0.1317)
Archetype Transform Summary:
archetype_transform_mean: 0.000120 (range: 0.000120 - 0.000120)
archetype_transform_std: 0.128849 (range: 0.128849 - 0.128849)
archetype_transform_norm: 9.200741 (range: 9.200741 - 9.200741)
archetype_transform_grad_norm: 0.356185 (range: 0.356185 - 0.356185)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0149, max=0.3086, mean=0.1429
Batch reconstruction MSE: 1.1915
Archetype stats: min=-17.9048, max=31.6179
Archetype change since last debug: 2.219610
Archetype gradients: norm=0.026830, mean=0.001176
Epoch 1/1
Average loss: 0.7590
Archetypal loss: 0.8287
KLD loss: 0.1310
Reconstruction loss: 0.8287
Archetype R²: 0.1306
Archetype transform grad norm: 0.361435
Archetype transform param norm: 9.2480
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.7590 (range: 0.7590 - 0.7590)
archetypal_loss: 0.8287 (range: 0.8287 - 0.8287)
kld_loss: 0.1310 (range: 0.1310 - 0.1310)
reconstruction_loss: 0.8287 (range: 0.8287 - 0.8287)
archetype_r2: 0.1306 (range: 0.1306 - 0.1306)
Archetype Transform Summary:
archetype_transform_mean: 0.000091 (range: 0.000091 - 0.000091)
archetype_transform_std: 0.129511 (range: 0.129511 - 0.129511)
archetype_transform_norm: 9.248037 (range: 9.248037 - 9.248037)
archetype_transform_grad_norm: 0.361435 (range: 0.361435 - 0.361435)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0234, max=0.3364, mean=0.1429
Batch reconstruction MSE: 1.1800
Archetype stats: min=-17.5737, max=31.0303
Archetype change since last debug: 1.953020
Archetype gradients: norm=0.040591, mean=0.001640
Epoch 1/1
Average loss: 0.7581
Archetypal loss: 0.8275
KLD loss: 0.1341
Reconstruction loss: 0.8275
Archetype R²: 0.1318
Archetype transform grad norm: 0.353377
Archetype transform param norm: 9.2814
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.7581 (range: 0.7581 - 0.7581)
archetypal_loss: 0.8275 (range: 0.8275 - 0.8275)
kld_loss: 0.1341 (range: 0.1341 - 0.1341)
reconstruction_loss: 0.8275 (range: 0.8275 - 0.8275)
archetype_r2: 0.1318 (range: 0.1318 - 0.1318)
Archetype Transform Summary:
archetype_transform_mean: 0.000067 (range: 0.000067 - 0.000067)
archetype_transform_std: 0.129979 (range: 0.129979 - 0.129979)
archetype_transform_norm: 9.281433 (range: 9.281433 - 9.281433)
archetype_transform_grad_norm: 0.353377 (range: 0.353377 - 0.353377)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0210, max=0.3250, mean=0.1429
Batch reconstruction MSE: 1.1685
Archetype stats: min=-17.9800, max=31.5588
Archetype change since last debug: 1.848830
Archetype gradients: norm=0.035278, mean=0.001450
Epoch 1/1
Average loss: 0.7567
Archetypal loss: 0.8261
KLD loss: 0.1314
Reconstruction loss: 0.8261
Archetype R²: 0.1332
Archetype transform grad norm: 0.342234
Archetype transform param norm: 9.3264
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.7567 (range: 0.7567 - 0.7567)
archetypal_loss: 0.8261 (range: 0.8261 - 0.8261)
kld_loss: 0.1314 (range: 0.1314 - 0.1314)
reconstruction_loss: 0.8261 (range: 0.8261 - 0.8261)
archetype_r2: 0.1332 (range: 0.1332 - 0.1332)
Archetype Transform Summary:
archetype_transform_mean: 0.000056 (range: 0.000056 - 0.000056)
archetype_transform_std: 0.130608 (range: 0.130608 - 0.130608)
archetype_transform_norm: 9.326383 (range: 9.326383 - 9.326383)
archetype_transform_grad_norm: 0.342234 (range: 0.342234 - 0.342234)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0185, max=0.3609, mean=0.1429
Batch reconstruction MSE: 1.1366
Archetype stats: min=-17.9809, max=31.4961
Archetype change since last debug: 1.881456
Archetype gradients: norm=0.039854, mean=0.001658
Epoch 1/1
Average loss: 0.7563
Archetypal loss: 0.8260
KLD loss: 0.1294
Reconstruction loss: 0.8260
Archetype R²: 0.1332
Archetype transform grad norm: 0.355940
Archetype transform param norm: 9.3698
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.7563 (range: 0.7563 - 0.7563)
archetypal_loss: 0.8260 (range: 0.8260 - 0.8260)
kld_loss: 0.1294 (range: 0.1294 - 0.1294)
reconstruction_loss: 0.8260 (range: 0.8260 - 0.8260)
archetype_r2: 0.1332 (range: 0.1332 - 0.1332)
Archetype Transform Summary:
archetype_transform_mean: 0.000055 (range: 0.000055 - 0.000055)
archetype_transform_std: 0.131216 (range: 0.131216 - 0.131216)
archetype_transform_norm: 9.369815 (range: 9.369815 - 9.369815)
archetype_transform_grad_norm: 0.355940 (range: 0.355940 - 0.355940)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0256, max=0.3285, mean=0.1429
Batch reconstruction MSE: 1.1180
Archetype stats: min=-18.3524, max=32.0624
Archetype change since last debug: 1.807044
Archetype gradients: norm=0.033994, mean=0.001300
Epoch 1/1
Average loss: 0.7555
Archetypal loss: 0.8249
KLD loss: 0.1305
Reconstruction loss: 0.8249
Archetype R²: 0.1343
Archetype transform grad norm: 0.347273
Archetype transform param norm: 9.4173
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.7555 (range: 0.7555 - 0.7555)
archetypal_loss: 0.8249 (range: 0.8249 - 0.8249)
kld_loss: 0.1305 (range: 0.1305 - 0.1305)
reconstruction_loss: 0.8249 (range: 0.8249 - 0.8249)
archetype_r2: 0.1343 (range: 0.1343 - 0.1343)
Archetype Transform Summary:
archetype_transform_mean: 0.000066 (range: 0.000066 - 0.000066)
archetype_transform_std: 0.131882 (range: 0.131882 - 0.131882)
archetype_transform_norm: 9.417340 (range: 9.417340 - 9.417340)
archetype_transform_grad_norm: 0.347273 (range: 0.347273 - 0.347273)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0166, max=0.3724, mean=0.1429
Batch reconstruction MSE: 1.1848
Archetype stats: min=-18.4830, max=32.2652
Archetype change since last debug: 1.921899
Archetype gradients: norm=0.045792, mean=0.001807
Epoch 1/1
Average loss: 0.7555
Archetypal loss: 0.8256
KLD loss: 0.1248
Reconstruction loss: 0.8256
Archetype R²: 0.1337
Archetype transform grad norm: 0.341677
Archetype transform param norm: 9.4450
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.7555 (range: 0.7555 - 0.7555)
archetypal_loss: 0.8256 (range: 0.8256 - 0.8256)
kld_loss: 0.1248 (range: 0.1248 - 0.1248)
reconstruction_loss: 0.8256 (range: 0.8256 - 0.8256)
archetype_r2: 0.1337 (range: 0.1337 - 0.1337)
Archetype Transform Summary:
archetype_transform_mean: 0.000015 (range: 0.000015 - 0.000015)
archetype_transform_std: 0.132269 (range: 0.132269 - 0.132269)
archetype_transform_norm: 9.444966 (range: 9.444966 - 9.444966)
archetype_transform_grad_norm: 0.341677 (range: 0.341677 - 0.341677)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0229, max=0.3160, mean=0.1429
Batch reconstruction MSE: 1.1306
Archetype stats: min=-18.7588, max=32.7365
Archetype change since last debug: 1.423535
Archetype gradients: norm=0.028985, mean=0.001216
Epoch 1/1
Average loss: 0.7550
Archetypal loss: 0.8247
KLD loss: 0.1278
Reconstruction loss: 0.8247
Archetype R²: 0.1345
Archetype transform grad norm: 0.347597
Archetype transform param norm: 9.4849
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.7550 (range: 0.7550 - 0.7550)
archetypal_loss: 0.8247 (range: 0.8247 - 0.8247)
kld_loss: 0.1278 (range: 0.1278 - 0.1278)
reconstruction_loss: 0.8247 (range: 0.8247 - 0.8247)
archetype_r2: 0.1345 (range: 0.1345 - 0.1345)
Archetype Transform Summary:
archetype_transform_mean: 0.000058 (range: 0.000058 - 0.000058)
archetype_transform_std: 0.132828 (range: 0.132828 - 0.132828)
archetype_transform_norm: 9.484862 (range: 9.484862 - 9.484862)
archetype_transform_grad_norm: 0.347597 (range: 0.347597 - 0.347597)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0214, max=0.3606, mean=0.1429
Batch reconstruction MSE: 1.1440
Archetype stats: min=-18.6875, max=32.5661
Archetype change since last debug: 1.771073
Archetype gradients: norm=0.039043, mean=0.001467
Epoch 1/1
Average loss: 0.7536
Archetypal loss: 0.8239
KLD loss: 0.1209
Reconstruction loss: 0.8239
Archetype R²: 0.1353
Archetype transform grad norm: 0.334243
Archetype transform param norm: 9.5134
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.7536 (range: 0.7536 - 0.7536)
archetypal_loss: 0.8239 (range: 0.8239 - 0.8239)
kld_loss: 0.1209 (range: 0.1209 - 0.1209)
reconstruction_loss: 0.8239 (range: 0.8239 - 0.8239)
archetype_r2: 0.1353 (range: 0.1353 - 0.1353)
Archetype Transform Summary:
archetype_transform_mean: 0.000030 (range: 0.000030 - 0.000030)
archetype_transform_std: 0.133227 (range: 0.133227 - 0.133227)
archetype_transform_norm: 9.513363 (range: 9.513363 - 9.513363)
archetype_transform_grad_norm: 0.334243 (range: 0.334243 - 0.334243)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0249, max=0.3159, mean=0.1429
Batch reconstruction MSE: 1.0852
Archetype stats: min=-19.0051, max=33.1570
Archetype change since last debug: 1.694883
Archetype gradients: norm=0.023521, mean=0.001021
Epoch 1/1
Average loss: 0.7527
Archetypal loss: 0.8225
KLD loss: 0.1245
Reconstruction loss: 0.8225
Archetype R²: 0.1367
Archetype transform grad norm: 0.339372
Archetype transform param norm: 9.5643
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.7527 (range: 0.7527 - 0.7527)
archetypal_loss: 0.8225 (range: 0.8225 - 0.8225)
kld_loss: 0.1245 (range: 0.1245 - 0.1245)
reconstruction_loss: 0.8225 (range: 0.8225 - 0.8225)
archetype_r2: 0.1367 (range: 0.1367 - 0.1367)
Archetype Transform Summary:
archetype_transform_mean: 0.000057 (range: 0.000057 - 0.000057)
archetype_transform_std: 0.133940 (range: 0.133940 - 0.133940)
archetype_transform_norm: 9.564266 (range: 9.564266 - 9.564266)
archetype_transform_grad_norm: 0.339372 (range: 0.339372 - 0.339372)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0254, max=0.4673, mean=0.1429
Batch reconstruction MSE: 1.1334
Archetype stats: min=-19.0275, max=33.1398
Archetype change since last debug: 1.968598
Archetype gradients: norm=0.043849, mean=0.001685
Epoch 1/1
Average loss: 0.7534
Archetypal loss: 0.8239
KLD loss: 0.1187
Reconstruction loss: 0.8239
Archetype R²: 0.1352
Archetype transform grad norm: 0.353195
Archetype transform param norm: 9.5921
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.7534 (range: 0.7534 - 0.7534)
archetypal_loss: 0.8239 (range: 0.8239 - 0.8239)
kld_loss: 0.1187 (range: 0.1187 - 0.1187)
reconstruction_loss: 0.8239 (range: 0.8239 - 0.8239)
archetype_r2: 0.1352 (range: 0.1352 - 0.1352)
Archetype Transform Summary:
archetype_transform_mean: 0.000055 (range: 0.000055 - 0.000055)
archetype_transform_std: 0.134329 (range: 0.134329 - 0.134329)
archetype_transform_norm: 9.592053 (range: 9.592053 - 9.592053)
archetype_transform_grad_norm: 0.353195 (range: 0.353195 - 0.353195)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0269, max=0.3154, mean=0.1429
Batch reconstruction MSE: 1.0834
Archetype stats: min=-19.3712, max=33.7300
Archetype change since last debug: 1.638731
Archetype gradients: norm=0.027133, mean=0.001234
Epoch 1/1
Average loss: 0.7521
Archetypal loss: 0.8223
KLD loss: 0.1206
Reconstruction loss: 0.8223
Archetype R²: 0.1368
Archetype transform grad norm: 0.350696
Archetype transform param norm: 9.6370
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.7521 (range: 0.7521 - 0.7521)
archetypal_loss: 0.8223 (range: 0.8223 - 0.8223)
kld_loss: 0.1206 (range: 0.1206 - 0.1206)
reconstruction_loss: 0.8223 (range: 0.8223 - 0.8223)
archetype_r2: 0.1368 (range: 0.1368 - 0.1368)
Archetype Transform Summary:
archetype_transform_mean: 0.000083 (range: 0.000083 - 0.000083)
archetype_transform_std: 0.134959 (range: 0.134959 - 0.134959)
archetype_transform_norm: 9.637030 (range: 9.637030 - 9.637030)
archetype_transform_grad_norm: 0.350696 (range: 0.350696 - 0.350696)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0265, max=0.3092, mean=0.1429
Batch reconstruction MSE: 1.1031
Archetype stats: min=-19.2131, max=33.4488
Archetype change since last debug: 1.874473
Archetype gradients: norm=0.040735, mean=0.001578
Epoch 1/1
Average loss: 0.7519
Archetypal loss: 0.8223
KLD loss: 0.1176
Reconstruction loss: 0.8223
Archetype R²: 0.1368
Archetype transform grad norm: 0.347486
Archetype transform param norm: 9.6681
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.7519 (range: 0.7519 - 0.7519)
archetypal_loss: 0.8223 (range: 0.8223 - 0.8223)
kld_loss: 0.1176 (range: 0.1176 - 0.1176)
reconstruction_loss: 0.8223 (range: 0.8223 - 0.8223)
archetype_r2: 0.1368 (range: 0.1368 - 0.1368)
Archetype Transform Summary:
archetype_transform_mean: 0.000072 (range: 0.000072 - 0.000072)
archetype_transform_std: 0.135393 (range: 0.135393 - 0.135393)
archetype_transform_norm: 9.668068 (range: 9.668068 - 9.668068)
archetype_transform_grad_norm: 0.347486 (range: 0.347486 - 0.347486)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0268, max=0.2904, mean=0.1429
Batch reconstruction MSE: 1.0660
Archetype stats: min=-19.6818, max=34.2354
Archetype change since last debug: 1.932516
Archetype gradients: norm=0.029171, mean=0.001324
Epoch 1/1
Average loss: 0.7506
Archetypal loss: 0.8213
KLD loss: 0.1147
Reconstruction loss: 0.8213
Archetype R²: 0.1378
Archetype transform grad norm: 0.353740
Archetype transform param norm: 9.7177
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.7506 (range: 0.7506 - 0.7506)
archetypal_loss: 0.8213 (range: 0.8213 - 0.8213)
kld_loss: 0.1147 (range: 0.1147 - 0.1147)
reconstruction_loss: 0.8213 (range: 0.8213 - 0.8213)
archetype_r2: 0.1378 (range: 0.1378 - 0.1378)
Archetype Transform Summary:
archetype_transform_mean: 0.000113 (range: 0.000113 - 0.000113)
archetype_transform_std: 0.136088 (range: 0.136088 - 0.136088)
archetype_transform_norm: 9.717688 (range: 9.717688 - 9.717688)
archetype_transform_grad_norm: 0.353740 (range: 0.353740 - 0.353740)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0286, max=0.3076, mean=0.1429
Batch reconstruction MSE: 1.0590
Archetype stats: min=-19.3907, max=33.6977
Archetype change since last debug: 2.061349
Archetype gradients: norm=0.041638, mean=0.001581
Epoch 1/1
Average loss: 0.7501
Archetypal loss: 0.8206
KLD loss: 0.1152
Reconstruction loss: 0.8206
Archetype R²: 0.1384
Archetype transform grad norm: 0.347309
Archetype transform param norm: 9.7547
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.7501 (range: 0.7501 - 0.7501)
archetypal_loss: 0.8206 (range: 0.8206 - 0.8206)
kld_loss: 0.1152 (range: 0.1152 - 0.1152)
reconstruction_loss: 0.8206 (range: 0.8206 - 0.8206)
archetype_r2: 0.1384 (range: 0.1384 - 0.1384)
Archetype Transform Summary:
archetype_transform_mean: 0.000114 (range: 0.000114 - 0.000114)
archetype_transform_std: 0.136607 (range: 0.136607 - 0.136607)
archetype_transform_norm: 9.754741 (range: 9.754741 - 9.754741)
archetype_transform_grad_norm: 0.347309 (range: 0.347309 - 0.347309)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0266, max=0.2643, mean=0.1429
Batch reconstruction MSE: 1.0953
Archetype stats: min=-19.9793, max=34.8130
Archetype change since last debug: 2.441976
Archetype gradients: norm=0.037963, mean=0.001633
Epoch 1/1
Average loss: 0.7509
Archetypal loss: 0.8220
KLD loss: 0.1112
Reconstruction loss: 0.8220
Archetype R²: 0.1371
Archetype transform grad norm: 0.366634
Archetype transform param norm: 9.7954
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.7509 (range: 0.7509 - 0.7509)
archetypal_loss: 0.8220 (range: 0.8220 - 0.8220)
kld_loss: 0.1112 (range: 0.1112 - 0.1112)
reconstruction_loss: 0.8220 (range: 0.8220 - 0.8220)
archetype_r2: 0.1371 (range: 0.1371 - 0.1371)
Archetype Transform Summary:
archetype_transform_mean: 0.000120 (range: 0.000120 - 0.000120)
archetype_transform_std: 0.137176 (range: 0.137176 - 0.137176)
archetype_transform_norm: 9.795389 (range: 9.795389 - 9.795389)
archetype_transform_grad_norm: 0.366634 (range: 0.366634 - 0.366634)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0290, max=0.3431, mean=0.1429
Batch reconstruction MSE: 1.1425
Archetype stats: min=-19.5206, max=34.0250
Archetype change since last debug: 2.098172
Archetype gradients: norm=0.055669, mean=0.002133
Epoch 1/1
Average loss: 0.7523
Archetypal loss: 0.8230
KLD loss: 0.1155
Reconstruction loss: 0.8230
Archetype R²: 0.1361
Archetype transform grad norm: 0.363506
Archetype transform param norm: 9.8101
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.7523 (range: 0.7523 - 0.7523)
archetypal_loss: 0.8230 (range: 0.8230 - 0.8230)
kld_loss: 0.1155 (range: 0.1155 - 0.1155)
reconstruction_loss: 0.8230 (range: 0.8230 - 0.8230)
archetype_r2: 0.1361 (range: 0.1361 - 0.1361)
Archetype Transform Summary:
archetype_transform_mean: 0.000093 (range: 0.000093 - 0.000093)
archetype_transform_std: 0.137382 (range: 0.137382 - 0.137382)
archetype_transform_norm: 9.810092 (range: 9.810092 - 9.810092)
archetype_transform_grad_norm: 0.363506 (range: 0.363506 - 0.363506)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0185, max=0.3015, mean=0.1429
Batch reconstruction MSE: 1.1950
Archetype stats: min=-19.9078, max=34.7094
Archetype change since last debug: 1.868125
Archetype gradients: norm=0.045363, mean=0.002082
Epoch 1/1
Average loss: 0.7528
Archetypal loss: 0.8239
KLD loss: 0.1131
Reconstruction loss: 0.8239
Archetype R²: 0.1353
Archetype transform grad norm: 0.366643
Archetype transform param norm: 9.8248
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.7528 (range: 0.7528 - 0.7528)
archetypal_loss: 0.8239 (range: 0.8239 - 0.8239)
kld_loss: 0.1131 (range: 0.1131 - 0.1131)
reconstruction_loss: 0.8239 (range: 0.8239 - 0.8239)
archetype_r2: 0.1353 (range: 0.1353 - 0.1353)
Archetype Transform Summary:
archetype_transform_mean: 0.000079 (range: 0.000079 - 0.000079)
archetype_transform_std: 0.137589 (range: 0.137589 - 0.137589)
archetype_transform_norm: 9.824847 (range: 9.824847 - 9.824847)
archetype_transform_grad_norm: 0.366643 (range: 0.366643 - 0.366643)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0398, max=0.3388, mean=0.1429
Batch reconstruction MSE: 1.1023
Archetype stats: min=-19.3681, max=33.8796
Archetype change since last debug: 2.000815
Archetype gradients: norm=0.046939, mean=0.001896
Epoch 1/1
Average loss: 0.7506
Archetypal loss: 0.8211
KLD loss: 0.1160
Reconstruction loss: 0.8211
Archetype R²: 0.1380
Archetype transform grad norm: 0.351890
Archetype transform param norm: 9.8446
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.7506 (range: 0.7506 - 0.7506)
archetypal_loss: 0.8211 (range: 0.8211 - 0.8211)
kld_loss: 0.1160 (range: 0.1160 - 0.1160)
reconstruction_loss: 0.8211 (range: 0.8211 - 0.8211)
archetype_r2: 0.1380 (range: 0.1380 - 0.1380)
Archetype Transform Summary:
archetype_transform_mean: 0.000058 (range: 0.000058 - 0.000058)
archetype_transform_std: 0.137866 (range: 0.137866 - 0.137866)
archetype_transform_norm: 9.844641 (range: 9.844641 - 9.844641)
archetype_transform_grad_norm: 0.351890 (range: 0.351890 - 0.351890)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0272, max=0.2484, mean=0.1429
Batch reconstruction MSE: 1.1152
Archetype stats: min=-19.7862, max=34.7120
Archetype change since last debug: 2.104540
Archetype gradients: norm=0.046322, mean=0.002053
Epoch 1/1
Average loss: 0.7515
Archetypal loss: 0.8228
KLD loss: 0.1103
Reconstruction loss: 0.8228
Archetype R²: 0.1362
Archetype transform grad norm: 0.389268
Archetype transform param norm: 9.8707
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.7515 (range: 0.7515 - 0.7515)
archetypal_loss: 0.8228 (range: 0.8228 - 0.8228)
kld_loss: 0.1103 (range: 0.1103 - 0.1103)
reconstruction_loss: 0.8228 (range: 0.8228 - 0.8228)
archetype_r2: 0.1362 (range: 0.1362 - 0.1362)
Archetype Transform Summary:
archetype_transform_mean: 0.000072 (range: 0.000072 - 0.000072)
archetype_transform_std: 0.138231 (range: 0.138231 - 0.138231)
archetype_transform_norm: 9.870703 (range: 9.870703 - 9.870703)
archetype_transform_grad_norm: 0.389268 (range: 0.389268 - 0.389268)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0530, max=0.3076, mean=0.1429
Batch reconstruction MSE: 1.0647
Archetype stats: min=-19.4015, max=34.0504
Archetype change since last debug: 1.843192
Archetype gradients: norm=0.048551, mean=0.002018
Epoch 1/1
Average loss: 0.7506
Archetypal loss: 0.8214
KLD loss: 0.1138
Reconstruction loss: 0.8214
Archetype R²: 0.1376
Archetype transform grad norm: 0.378251
Archetype transform param norm: 9.8934
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.7506 (range: 0.7506 - 0.7506)
archetypal_loss: 0.8214 (range: 0.8214 - 0.8214)
kld_loss: 0.1138 (range: 0.1138 - 0.1138)
reconstruction_loss: 0.8214 (range: 0.8214 - 0.8214)
archetype_r2: 0.1376 (range: 0.1376 - 0.1376)
Archetype Transform Summary:
archetype_transform_mean: 0.000040 (range: 0.000040 - 0.000040)
archetype_transform_std: 0.138549 (range: 0.138549 - 0.138549)
archetype_transform_norm: 9.893418 (range: 9.893418 - 9.893418)
archetype_transform_grad_norm: 0.378251 (range: 0.378251 - 0.378251)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0314, max=0.2732, mean=0.1429
Batch reconstruction MSE: 1.0910
Archetype stats: min=-19.6928, max=34.4908
Archetype change since last debug: 1.696865
Archetype gradients: norm=0.049637, mean=0.002029
Epoch 1/1
Average loss: 0.7491
Archetypal loss: 0.8205
KLD loss: 0.1064
Reconstruction loss: 0.8205
Archetype R²: 0.1385
Archetype transform grad norm: 0.356794
Archetype transform param norm: 9.9141
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.7491 (range: 0.7491 - 0.7491)
archetypal_loss: 0.8205 (range: 0.8205 - 0.8205)
kld_loss: 0.1064 (range: 0.1064 - 0.1064)
reconstruction_loss: 0.8205 (range: 0.8205 - 0.8205)
archetype_r2: 0.1385 (range: 0.1385 - 0.1385)
Archetype Transform Summary:
archetype_transform_mean: 0.000048 (range: 0.000048 - 0.000048)
archetype_transform_std: 0.138839 (range: 0.138839 - 0.138839)
archetype_transform_norm: 9.914099 (range: 9.914099 - 9.914099)
archetype_transform_grad_norm: 0.356794 (range: 0.356794 - 0.356794)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0534, max=0.2958, mean=0.1429
Batch reconstruction MSE: 1.0723
Archetype stats: min=-19.5163, max=34.2510
Archetype change since last debug: 1.718397
Archetype gradients: norm=0.049812, mean=0.002162
Epoch 1/1
Average loss: 0.7493
Archetypal loss: 0.8201
KLD loss: 0.1118
Reconstruction loss: 0.8201
Archetype R²: 0.1388
Archetype transform grad norm: 0.361559
Archetype transform param norm: 9.9411
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.7493 (range: 0.7493 - 0.7493)
archetypal_loss: 0.8201 (range: 0.8201 - 0.8201)
kld_loss: 0.1118 (range: 0.1118 - 0.1118)
reconstruction_loss: 0.8201 (range: 0.8201 - 0.8201)
archetype_r2: 0.1388 (range: 0.1388 - 0.1388)
Archetype Transform Summary:
archetype_transform_mean: 0.000038 (range: 0.000038 - 0.000038)
archetype_transform_std: 0.139217 (range: 0.139217 - 0.139217)
archetype_transform_norm: 9.941095 (range: 9.941095 - 9.941095)
archetype_transform_grad_norm: 0.361559 (range: 0.361559 - 0.361559)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0429, max=0.2842, mean=0.1429
Batch reconstruction MSE: 1.1297
Archetype stats: min=-19.9030, max=34.9874
Archetype change since last debug: 1.806578
Archetype gradients: norm=0.053407, mean=0.002121
Epoch 1/1
Average loss: 0.7517
Archetypal loss: 0.8234
KLD loss: 0.1061
Reconstruction loss: 0.8234
Archetype R²: 0.1355
Archetype transform grad norm: 0.397319
Archetype transform param norm: 9.9525
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.7517 (range: 0.7517 - 0.7517)
archetypal_loss: 0.8234 (range: 0.8234 - 0.8234)
kld_loss: 0.1061 (range: 0.1061 - 0.1061)
reconstruction_loss: 0.8234 (range: 0.8234 - 0.8234)
archetype_r2: 0.1355 (range: 0.1355 - 0.1355)
Archetype Transform Summary:
archetype_transform_mean: 0.000030 (range: 0.000030 - 0.000030)
archetype_transform_std: 0.139376 (range: 0.139376 - 0.139376)
archetype_transform_norm: 9.952470 (range: 9.952470 - 9.952470)
archetype_transform_grad_norm: 0.397319 (range: 0.397319 - 0.397319)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0433, max=0.3034, mean=0.1429
Batch reconstruction MSE: 1.1173
Archetype stats: min=-19.5296, max=34.3615
Archetype change since last debug: 1.704324
Archetype gradients: norm=0.054436, mean=0.002325
Epoch 1/1
Average loss: 0.7518
Archetypal loss: 0.8230
KLD loss: 0.1105
Reconstruction loss: 0.8230
Archetype R²: 0.1359
Archetype transform grad norm: 0.399005
Archetype transform param norm: 9.9606
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.7518 (range: 0.7518 - 0.7518)
archetypal_loss: 0.8230 (range: 0.8230 - 0.8230)
kld_loss: 0.1105 (range: 0.1105 - 0.1105)
reconstruction_loss: 0.8230 (range: 0.8230 - 0.8230)
archetype_r2: 0.1359 (range: 0.1359 - 0.1359)
Archetype Transform Summary:
archetype_transform_mean: -0.000011 (range: -0.000011 - -0.000011)
archetype_transform_std: 0.139490 (range: 0.139490 - 0.139490)
archetype_transform_norm: 9.960568 (range: 9.960568 - 9.960568)
archetype_transform_grad_norm: 0.399005 (range: 0.399005 - 0.399005)
Fold 2/3
Model input_dim: 50 (auto-detected from data)
Archetypes parameter registered: True
Archetypes requires_grad: True
Deep_AA (Deep Archetypal Analysis) initialized:
- Single-stage architecture (like Deep_2)
- Inflation factor: 1.5
- Direct archetypal coordinates (no bottleneck)
Consolidated Archetype Initialization
PCHA: True, Inflation: True (factor: 1.5)
Test inflation: False
Running PCHA initialization...
Input shape: (128, 50)
Target archetypes: 7
Running PCHA with 7 archetypes...
Data shape for PCHA: (50, 128)
PCHA Results:
Archetypes shape: (7, 50)
Archetype R²: 0.3008
SSE: 4375.4311
PCHA archetype R²: 0.3008
Archetype shape: (7, 50)
[OK] Initialized 7 archetypes using PCHA
Scalar Archetypal Inflation (factor: 1.50)
[OK] Inflation complete
[STATS] Positioning verification:
Data radius (max): 16.524
Data radius (mean): 6.485
Archetype distances: 3.744 to 20.941
Archetypes outside data: 1/7
Min archetype separation: 8.927
[OK] Archetype initialization complete (success: True)
[OK] Archetype initialization complete (PCHA: True, Inflation: 1.5)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0006, max=0.9126, mean=0.1429
Batch reconstruction MSE: 0.9397
Archetype stats: min=-1.3258, max=1.2853
Archetype gradients: norm=0.009337, mean=0.000399
Epoch 1/1
Average loss: 0.8591
Archetypal loss: 0.9516
KLD loss: 0.0267
Reconstruction loss: 0.9516
Archetype R²: -0.0129
Archetype transform grad norm: 0.140693
Archetype transform param norm: 5.8299
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.8591 (range: 0.8591 - 0.8591)
archetypal_loss: 0.9516 (range: 0.9516 - 0.9516)
kld_loss: 0.0267 (range: 0.0267 - 0.0267)
reconstruction_loss: 0.9516 (range: 0.9516 - 0.9516)
archetype_r2: -0.0129 (range: -0.0129 - -0.0129)
Archetype Transform Summary:
archetype_transform_mean: -0.001205 (range: -0.001205 - -0.001205)
archetype_transform_std: 0.081634 (range: 0.081634 - 0.081634)
archetype_transform_norm: 5.829932 (range: 5.829932 - 5.829932)
archetype_transform_grad_norm: 0.140693 (range: 0.140693 - 0.140693)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0005, max=0.8958, mean=0.1429
Batch reconstruction MSE: 0.8549
Archetype stats: min=-0.9390, max=1.0939
Archetype change since last debug: 5.257226
Archetype gradients: norm=0.002693, mean=0.000104
Epoch 1/1
Average loss: 0.8524
Archetypal loss: 0.9421
KLD loss: 0.0443
Reconstruction loss: 0.9421
Archetype R²: -0.0026
Archetype transform grad norm: 0.110755
Archetype transform param norm: 5.8425
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.8524 (range: 0.8524 - 0.8524)
archetypal_loss: 0.9421 (range: 0.9421 - 0.9421)
kld_loss: 0.0443 (range: 0.0443 - 0.0443)
reconstruction_loss: 0.9421 (range: 0.9421 - 0.9421)
archetype_r2: -0.0026 (range: -0.0026 - -0.0026)
Archetype Transform Summary:
archetype_transform_mean: -0.001163 (range: -0.001163 - -0.001163)
archetype_transform_std: 0.081811 (range: 0.081811 - 0.081811)
archetype_transform_norm: 5.842488 (range: 5.842488 - 5.842488)
archetype_transform_grad_norm: 0.110755 (range: 0.110755 - 0.110755)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0030, max=0.9282, mean=0.1429
Batch reconstruction MSE: 0.8642
Archetype stats: min=-1.4295, max=1.9098
Archetype change since last debug: 3.265417
Archetype gradients: norm=0.003268, mean=0.000129
Epoch 1/1
Average loss: 0.8409
Archetypal loss: 0.9240
KLD loss: 0.0931
Reconstruction loss: 0.9240
Archetype R²: 0.0166
Archetype transform grad norm: 0.136859
Archetype transform param norm: 5.9615
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.8409 (range: 0.8409 - 0.8409)
archetypal_loss: 0.9240 (range: 0.9240 - 0.9240)
kld_loss: 0.0931 (range: 0.0931 - 0.0931)
reconstruction_loss: 0.9240 (range: 0.9240 - 0.9240)
archetype_r2: 0.0166 (range: 0.0166 - 0.0166)
Archetype Transform Summary:
archetype_transform_mean: -0.001231 (range: -0.001231 - -0.001231)
archetype_transform_std: 0.083477 (range: 0.083477 - 0.083477)
archetype_transform_norm: 5.961509 (range: 5.961509 - 5.961509)
archetype_transform_grad_norm: 0.136859 (range: 0.136859 - 0.136859)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0053, max=0.8223, mean=0.1429
Batch reconstruction MSE: 0.8881
Archetype stats: min=-3.2993, max=5.4113
Archetype change since last debug: 9.398592
Archetype gradients: norm=0.005831, mean=0.000243
Epoch 1/1
Average loss: 0.8263
Archetypal loss: 0.9050
KLD loss: 0.1177
Reconstruction loss: 0.9050
Archetype R²: 0.0368
Archetype transform grad norm: 0.166249
Archetype transform param norm: 6.2294
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.8263 (range: 0.8263 - 0.8263)
archetypal_loss: 0.9050 (range: 0.9050 - 0.9050)
kld_loss: 0.1177 (range: 0.1177 - 0.1177)
reconstruction_loss: 0.9050 (range: 0.9050 - 0.9050)
archetype_r2: 0.0368 (range: 0.0368 - 0.0368)
Archetype Transform Summary:
archetype_transform_mean: -0.001414 (range: -0.001414 - -0.001414)
archetype_transform_std: 0.087226 (range: 0.087226 - 0.087226)
archetype_transform_norm: 6.229411 (range: 6.229411 - 6.229411)
archetype_transform_grad_norm: 0.166249 (range: 0.166249 - 0.166249)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0002, max=0.7963, mean=0.1429
Batch reconstruction MSE: 0.9967
Archetype stats: min=-5.7978, max=9.8778
Archetype change since last debug: 10.356243
Archetype gradients: norm=0.014673, mean=0.000544
Epoch 1/1
Average loss: 0.8184
Archetypal loss: 0.8945
KLD loss: 0.1339
Reconstruction loss: 0.8945
Archetype R²: 0.0479
Archetype transform grad norm: 0.187177
Archetype transform param norm: 6.4739
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.8184 (range: 0.8184 - 0.8184)
archetypal_loss: 0.8945 (range: 0.8945 - 0.8945)
kld_loss: 0.1339 (range: 0.1339 - 0.1339)
reconstruction_loss: 0.8945 (range: 0.8945 - 0.8945)
archetype_r2: 0.0479 (range: 0.0479 - 0.0479)
Archetype Transform Summary:
archetype_transform_mean: -0.001604 (range: -0.001604 - -0.001604)
archetype_transform_std: 0.090648 (range: 0.090648 - 0.090648)
archetype_transform_norm: 6.473945 (range: 6.473945 - 6.473945)
archetype_transform_grad_norm: 0.187177 (range: 0.187177 - 0.187177)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0033, max=0.9622, mean=0.1429
Batch reconstruction MSE: 0.9939
Archetype stats: min=-7.6721, max=13.1974
Archetype change since last debug: 7.812509
Archetype gradients: norm=0.022790, mean=0.000818
Epoch 1/1
Average loss: 0.8100
Archetypal loss: 0.8802
KLD loss: 0.1776
Reconstruction loss: 0.8802
Archetype R²: 0.0632
Archetype transform grad norm: 0.208810
Archetype transform param norm: 6.7432
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.8100 (range: 0.8100 - 0.8100)
archetypal_loss: 0.8802 (range: 0.8802 - 0.8802)
kld_loss: 0.1776 (range: 0.1776 - 0.1776)
reconstruction_loss: 0.8802 (range: 0.8802 - 0.8802)
archetype_r2: 0.0632 (range: 0.0632 - 0.0632)
Archetype Transform Summary:
archetype_transform_mean: -0.001804 (range: -0.001804 - -0.001804)
archetype_transform_std: 0.094415 (range: 0.094415 - 0.094415)
archetype_transform_norm: 6.743175 (range: 6.743175 - 6.743175)
archetype_transform_grad_norm: 0.208810 (range: 0.208810 - 0.208810)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0042, max=0.7639, mean=0.1429
Batch reconstruction MSE: 1.1642
Archetype stats: min=-9.0688, max=15.7641
Archetype change since last debug: 8.987556
Archetype gradients: norm=0.045006, mean=0.001555
Epoch 1/1
Average loss: 0.8050
Archetypal loss: 0.8731
KLD loss: 0.1919
Reconstruction loss: 0.8731
Archetype R²: 0.0705
Archetype transform grad norm: 0.235610
Archetype transform param norm: 6.9796
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.8050 (range: 0.8050 - 0.8050)
archetypal_loss: 0.8731 (range: 0.8731 - 0.8731)
kld_loss: 0.1919 (range: 0.1919 - 0.1919)
reconstruction_loss: 0.8731 (range: 0.8731 - 0.8731)
archetype_r2: 0.0705 (range: 0.0705 - 0.0705)
Archetype Transform Summary:
archetype_transform_mean: -0.001912 (range: -0.001912 - -0.001912)
archetype_transform_std: 0.097724 (range: 0.097724 - 0.097724)
archetype_transform_norm: 6.979577 (range: 6.979577 - 6.979577)
archetype_transform_grad_norm: 0.235610 (range: 0.235610 - 0.235610)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0011, max=0.8667, mean=0.1429
Batch reconstruction MSE: 1.1243
Archetype stats: min=-10.0948, max=17.5669
Archetype change since last debug: 7.118122
Archetype gradients: norm=0.039074, mean=0.001355
Epoch 1/1
Average loss: 0.7978
Archetypal loss: 0.8628
KLD loss: 0.2124
Reconstruction loss: 0.8628
Archetype R²: 0.0815
Archetype transform grad norm: 0.233031
Archetype transform param norm: 7.1854
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.7978 (range: 0.7978 - 0.7978)
archetypal_loss: 0.8628 (range: 0.8628 - 0.8628)
kld_loss: 0.2124 (range: 0.2124 - 0.2124)
reconstruction_loss: 0.8628 (range: 0.8628 - 0.8628)
archetype_r2: 0.0815 (range: 0.0815 - 0.0815)
Archetype Transform Summary:
archetype_transform_mean: -0.001796 (range: -0.001796 - -0.001796)
archetype_transform_std: 0.100610 (range: 0.100610 - 0.100610)
archetype_transform_norm: 7.185433 (range: 7.185433 - 7.185433)
archetype_transform_grad_norm: 0.233031 (range: 0.233031 - 0.233031)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0052, max=0.9124, mean=0.1429
Batch reconstruction MSE: 1.0090
Archetype stats: min=-10.7894, max=18.4033
Archetype change since last debug: 6.178807
Archetype gradients: norm=0.022700, mean=0.000825
Epoch 1/1
Average loss: 0.7872
Archetypal loss: 0.8530
KLD loss: 0.1953
Reconstruction loss: 0.8530
Archetype R²: 0.0923
Archetype transform grad norm: 0.232846
Archetype transform param norm: 7.4080
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.7872 (range: 0.7872 - 0.7872)
archetypal_loss: 0.8530 (range: 0.8530 - 0.8530)
kld_loss: 0.1953 (range: 0.1953 - 0.1953)
reconstruction_loss: 0.8530 (range: 0.8530 - 0.8530)
archetype_r2: 0.0923 (range: 0.0923 - 0.0923)
Archetype Transform Summary:
archetype_transform_mean: -0.001742 (range: -0.001742 - -0.001742)
archetype_transform_std: 0.103728 (range: 0.103728 - 0.103728)
archetype_transform_norm: 7.407972 (range: 7.407972 - 7.407972)
archetype_transform_grad_norm: 0.232846 (range: 0.232846 - 0.232846)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0004, max=0.9899, mean=0.1429
Batch reconstruction MSE: 1.0268
Archetype stats: min=-11.8770, max=20.0278
Archetype change since last debug: 6.815328
Archetype gradients: norm=0.027136, mean=0.001034
Epoch 1/1
Average loss: 0.7812
Archetypal loss: 0.8489
KLD loss: 0.1712
Reconstruction loss: 0.8489
Archetype R²: 0.0966
Archetype transform grad norm: 0.242685
Archetype transform param norm: 7.6017
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.7812 (range: 0.7812 - 0.7812)
archetypal_loss: 0.8489 (range: 0.8489 - 0.8489)
kld_loss: 0.1712 (range: 0.1712 - 0.1712)
reconstruction_loss: 0.8489 (range: 0.8489 - 0.8489)
archetype_r2: 0.0966 (range: 0.0966 - 0.0966)
Archetype Transform Summary:
archetype_transform_mean: -0.001681 (range: -0.001681 - -0.001681)
archetype_transform_std: 0.106442 (range: 0.106442 - 0.106442)
archetype_transform_norm: 7.601711 (range: 7.601711 - 7.601711)
archetype_transform_grad_norm: 0.242685 (range: 0.242685 - 0.242685)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0047, max=0.8902, mean=0.1429
Batch reconstruction MSE: 0.9995
Archetype stats: min=-13.0312, max=21.6142
Archetype change since last debug: 5.488128
Archetype gradients: norm=0.030902, mean=0.001091
Epoch 1/1
Average loss: 0.7786
Archetypal loss: 0.8460
KLD loss: 0.1723
Reconstruction loss: 0.8460
Archetype R²: 0.0997
Archetype transform grad norm: 0.252383
Archetype transform param norm: 7.7652
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.7786 (range: 0.7786 - 0.7786)
archetypal_loss: 0.8460 (range: 0.8460 - 0.8460)
kld_loss: 0.1723 (range: 0.1723 - 0.1723)
reconstruction_loss: 0.8460 (range: 0.8460 - 0.8460)
archetype_r2: 0.0997 (range: 0.0997 - 0.0997)
Archetype Transform Summary:
archetype_transform_mean: -0.001609 (range: -0.001609 - -0.001609)
archetype_transform_std: 0.108734 (range: 0.108734 - 0.108734)
archetype_transform_norm: 7.765242 (range: 7.765242 - 7.765242)
archetype_transform_grad_norm: 0.252383 (range: 0.252383 - 0.252383)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0078, max=0.8087, mean=0.1429
Batch reconstruction MSE: 1.1518
Archetype stats: min=-14.0036, max=22.9392
Archetype change since last debug: 5.126781
Archetype gradients: norm=0.048150, mean=0.001885
Epoch 1/1
Average loss: 0.7809
Archetypal loss: 0.8492
KLD loss: 0.1668
Reconstruction loss: 0.8492
Archetype R²: 0.0959
Archetype transform grad norm: 0.274473
Archetype transform param norm: 7.8613
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.7809 (range: 0.7809 - 0.7809)
archetypal_loss: 0.8492 (range: 0.8492 - 0.8492)
kld_loss: 0.1668 (range: 0.1668 - 0.1668)
reconstruction_loss: 0.8492 (range: 0.8492 - 0.8492)
archetype_r2: 0.0959 (range: 0.0959 - 0.0959)
Archetype Transform Summary:
archetype_transform_mean: -0.001605 (range: -0.001605 - -0.001605)
archetype_transform_std: 0.110080 (range: 0.110080 - 0.110080)
archetype_transform_norm: 7.861328 (range: 7.861328 - 7.861328)
archetype_transform_grad_norm: 0.274473 (range: 0.274473 - 0.274473)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0027, max=0.9241, mean=0.1429
Batch reconstruction MSE: 1.0768
Archetype stats: min=-14.7223, max=23.6398
Archetype change since last debug: 3.017670
Archetype gradients: norm=0.049418, mean=0.001451
Epoch 1/1
Average loss: 0.7794
Archetypal loss: 0.8452
KLD loss: 0.1869
Reconstruction loss: 0.8452
Archetype R²: 0.1003
Archetype transform grad norm: 0.273149
Archetype transform param norm: 7.9550
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.7794 (range: 0.7794 - 0.7794)
archetypal_loss: 0.8452 (range: 0.8452 - 0.8452)
kld_loss: 0.1869 (range: 0.1869 - 0.1869)
reconstruction_loss: 0.8452 (range: 0.8452 - 0.8452)
archetype_r2: 0.1003 (range: 0.1003 - 0.1003)
Archetype Transform Summary:
archetype_transform_mean: -0.001483 (range: -0.001483 - -0.001483)
archetype_transform_std: 0.111394 (range: 0.111394 - 0.111394)
archetype_transform_norm: 7.955035 (range: 7.955035 - 7.955035)
archetype_transform_grad_norm: 0.273149 (range: 0.273149 - 0.273149)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0070, max=0.8739, mean=0.1429
Batch reconstruction MSE: 1.1252
Archetype stats: min=-14.5480, max=23.0147
Archetype change since last debug: 4.088951
Archetype gradients: norm=0.040276, mean=0.001786
Epoch 1/1
Average loss: 0.7774
Archetypal loss: 0.8451
KLD loss: 0.1684
Reconstruction loss: 0.8451
Archetype R²: 0.1003
Archetype transform grad norm: 0.275453
Archetype transform param norm: 8.0269
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.7774 (range: 0.7774 - 0.7774)
archetypal_loss: 0.8451 (range: 0.8451 - 0.8451)
kld_loss: 0.1684 (range: 0.1684 - 0.1684)
reconstruction_loss: 0.8451 (range: 0.8451 - 0.8451)
archetype_r2: 0.1003 (range: 0.1003 - 0.1003)
Archetype Transform Summary:
archetype_transform_mean: -0.001477 (range: -0.001477 - -0.001477)
archetype_transform_std: 0.112400 (range: 0.112400 - 0.112400)
archetype_transform_norm: 8.026868 (range: 8.026868 - 8.026868)
archetype_transform_grad_norm: 0.275453 (range: 0.275453 - 0.275453)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0033, max=0.8992, mean=0.1429
Batch reconstruction MSE: 0.9529
Archetype stats: min=-14.8026, max=23.1204
Archetype change since last debug: 2.577089
Archetype gradients: norm=0.014839, mean=0.000597
Epoch 1/1
Average loss: 0.7712
Archetypal loss: 0.8390
KLD loss: 0.1610
Reconstruction loss: 0.8390
Archetype R²: 0.1072
Archetype transform grad norm: 0.259549
Archetype transform param norm: 8.1321
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.7712 (range: 0.7712 - 0.7712)
archetypal_loss: 0.8390 (range: 0.8390 - 0.8390)
kld_loss: 0.1610 (range: 0.1610 - 0.1610)
reconstruction_loss: 0.8390 (range: 0.8390 - 0.8390)
archetype_r2: 0.1072 (range: 0.1072 - 0.1072)
Archetype Transform Summary:
archetype_transform_mean: -0.001422 (range: -0.001422 - -0.001422)
archetype_transform_std: 0.113875 (range: 0.113875 - 0.113875)
archetype_transform_norm: 8.132117 (range: 8.132117 - 8.132117)
archetype_transform_grad_norm: 0.259549 (range: 0.259549 - 0.259549)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0059, max=0.8149, mean=0.1429
Batch reconstruction MSE: 1.1099
Archetype stats: min=-15.4799, max=23.9582
Archetype change since last debug: 3.670976
Archetype gradients: norm=0.051354, mean=0.001772
Epoch 1/1
Average loss: 0.7718
Archetypal loss: 0.8419
KLD loss: 0.1409
Reconstruction loss: 0.8419
Archetype R²: 0.1037
Archetype transform grad norm: 0.262525
Archetype transform param norm: 8.1826
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.7718 (range: 0.7718 - 0.7718)
archetypal_loss: 0.8419 (range: 0.8419 - 0.8419)
kld_loss: 0.1409 (range: 0.1409 - 0.1409)
reconstruction_loss: 0.8419 (range: 0.8419 - 0.8419)
archetype_r2: 0.1037 (range: 0.1037 - 0.1037)
Archetype Transform Summary:
archetype_transform_mean: -0.001307 (range: -0.001307 - -0.001307)
archetype_transform_std: 0.114583 (range: 0.114583 - 0.114583)
archetype_transform_norm: 8.182581 (range: 8.182581 - 8.182581)
archetype_transform_grad_norm: 0.262525 (range: 0.262525 - 0.262525)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0024, max=0.9421, mean=0.1429
Batch reconstruction MSE: 1.0670
Archetype stats: min=-16.0718, max=24.5557
Archetype change since last debug: 2.487044
Archetype gradients: norm=0.031875, mean=0.001373
Epoch 1/1
Average loss: 0.7738
Archetypal loss: 0.8404
KLD loss: 0.1738
Reconstruction loss: 0.8404
Archetype R²: 0.1053
Archetype transform grad norm: 0.277206
Archetype transform param norm: 8.2478
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.7738 (range: 0.7738 - 0.7738)
archetypal_loss: 0.8404 (range: 0.8404 - 0.8404)
kld_loss: 0.1738 (range: 0.1738 - 0.1738)
reconstruction_loss: 0.8404 (range: 0.8404 - 0.8404)
archetype_r2: 0.1053 (range: 0.1053 - 0.1053)
Archetype Transform Summary:
archetype_transform_mean: -0.001309 (range: -0.001309 - -0.001309)
archetype_transform_std: 0.115497 (range: 0.115497 - 0.115497)
archetype_transform_norm: 8.247836 (range: 8.247836 - 8.247836)
archetype_transform_grad_norm: 0.277206 (range: 0.277206 - 0.277206)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0048, max=0.8550, mean=0.1429
Batch reconstruction MSE: 0.9937
Archetype stats: min=-16.5832, max=25.1826
Archetype change since last debug: 2.902108
Archetype gradients: norm=0.033909, mean=0.001123
Epoch 1/1
Average loss: 0.7690
Archetypal loss: 0.8378
KLD loss: 0.1506
Reconstruction loss: 0.8378
Archetype R²: 0.1083
Archetype transform grad norm: 0.264832
Archetype transform param norm: 8.3146
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.7690 (range: 0.7690 - 0.7690)
archetypal_loss: 0.8378 (range: 0.8378 - 0.8378)
kld_loss: 0.1506 (range: 0.1506 - 0.1506)
reconstruction_loss: 0.8378 (range: 0.8378 - 0.8378)
archetype_r2: 0.1083 (range: 0.1083 - 0.1083)
Archetype Transform Summary:
archetype_transform_mean: -0.001215 (range: -0.001215 - -0.001215)
archetype_transform_std: 0.116433 (range: 0.116433 - 0.116433)
archetype_transform_norm: 8.314639 (range: 8.314639 - 8.314639)
archetype_transform_grad_norm: 0.264832 (range: 0.264832 - 0.264832)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0060, max=0.8708, mean=0.1429
Batch reconstruction MSE: 1.0271
Archetype stats: min=-17.2337, max=25.9277
Archetype change since last debug: 2.833825
Archetype gradients: norm=0.034686, mean=0.001509
Epoch 1/1
Average loss: 0.7687
Archetypal loss: 0.8381
KLD loss: 0.1439
Reconstruction loss: 0.8381
Archetype R²: 0.1078
Archetype transform grad norm: 0.274426
Archetype transform param norm: 8.3743
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.7687 (range: 0.7687 - 0.7687)
archetypal_loss: 0.8381 (range: 0.8381 - 0.8381)
kld_loss: 0.1439 (range: 0.1439 - 0.1439)
reconstruction_loss: 0.8381 (range: 0.8381 - 0.8381)
archetype_r2: 0.1078 (range: 0.1078 - 0.1078)
Archetype Transform Summary:
archetype_transform_mean: -0.001243 (range: -0.001243 - -0.001243)
archetype_transform_std: 0.117268 (range: 0.117268 - 0.117268)
archetype_transform_norm: 8.374274 (range: 8.374274 - 8.374274)
archetype_transform_grad_norm: 0.274426 (range: 0.274426 - 0.274426)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0025, max=0.9192, mean=0.1429
Batch reconstruction MSE: 0.9422
Archetype stats: min=-17.6707, max=26.4124
Archetype change since last debug: 2.252350
Archetype gradients: norm=0.027093, mean=0.000987
Epoch 1/1
Average loss: 0.7669
Archetypal loss: 0.8353
KLD loss: 0.1513
Reconstruction loss: 0.8353
Archetype R²: 0.1110
Archetype transform grad norm: 0.266599
Archetype transform param norm: 8.4452
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.7669 (range: 0.7669 - 0.7669)
archetypal_loss: 0.8353 (range: 0.8353 - 0.8353)
kld_loss: 0.1513 (range: 0.1513 - 0.1513)
reconstruction_loss: 0.8353 (range: 0.8353 - 0.8353)
archetype_r2: 0.1110 (range: 0.1110 - 0.1110)
Archetype Transform Summary:
archetype_transform_mean: -0.001174 (range: -0.001174 - -0.001174)
archetype_transform_std: 0.118263 (range: 0.118263 - 0.118263)
archetype_transform_norm: 8.445223 (range: 8.445223 - 8.445223)
archetype_transform_grad_norm: 0.266599 (range: 0.266599 - 0.266599)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0069, max=0.8421, mean=0.1429
Batch reconstruction MSE: 1.0556
Archetype stats: min=-18.3010, max=27.1448
Archetype change since last debug: 2.732138
Archetype gradients: norm=0.031207, mean=0.001278
Epoch 1/1
Average loss: 0.7658
Archetypal loss: 0.8374
KLD loss: 0.1213
Reconstruction loss: 0.8374
Archetype R²: 0.1084
Archetype transform grad norm: 0.273955
Archetype transform param norm: 8.4929
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.7658 (range: 0.7658 - 0.7658)
archetypal_loss: 0.8374 (range: 0.8374 - 0.8374)
kld_loss: 0.1213 (range: 0.1213 - 0.1213)
reconstruction_loss: 0.8374 (range: 0.8374 - 0.8374)
archetype_r2: 0.1084 (range: 0.1084 - 0.1084)
Archetype Transform Summary:
archetype_transform_mean: -0.001187 (range: -0.001187 - -0.001187)
archetype_transform_std: 0.118930 (range: 0.118930 - 0.118930)
archetype_transform_norm: 8.492923 (range: 8.492923 - 8.492923)
archetype_transform_grad_norm: 0.273955 (range: 0.273955 - 0.273955)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0024, max=0.9320, mean=0.1429
Batch reconstruction MSE: 0.9249
Archetype stats: min=-18.4328, max=27.1671
Archetype change since last debug: 1.674376
Archetype gradients: norm=0.027395, mean=0.001138
Epoch 1/1
Average loss: 0.7655
Archetypal loss: 0.8338
KLD loss: 0.1512
Reconstruction loss: 0.8338
Archetype R²: 0.1126
Archetype transform grad norm: 0.270582
Archetype transform param norm: 8.5546
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.7655 (range: 0.7655 - 0.7655)
archetypal_loss: 0.8338 (range: 0.8338 - 0.8338)
kld_loss: 0.1512 (range: 0.1512 - 0.1512)
reconstruction_loss: 0.8338 (range: 0.8338 - 0.8338)
archetype_r2: 0.1126 (range: 0.1126 - 0.1126)
Archetype Transform Summary:
archetype_transform_mean: -0.001101 (range: -0.001101 - -0.001101)
archetype_transform_std: 0.119794 (range: 0.119794 - 0.119794)
archetype_transform_norm: 8.554554 (range: 8.554554 - 8.554554)
archetype_transform_grad_norm: 0.270582 (range: 0.270582 - 0.270582)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0069, max=0.8101, mean=0.1429
Batch reconstruction MSE: 1.0513
Archetype stats: min=-18.9824, max=27.7768
Archetype change since last debug: 2.559792
Archetype gradients: norm=0.038169, mean=0.001530
Epoch 1/1
Average loss: 0.7643
Archetypal loss: 0.8364
KLD loss: 0.1155
Reconstruction loss: 0.8364
Archetype R²: 0.1094
Archetype transform grad norm: 0.282798
Archetype transform param norm: 8.5990
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.7643 (range: 0.7643 - 0.7643)
archetypal_loss: 0.8364 (range: 0.8364 - 0.8364)
kld_loss: 0.1155 (range: 0.1155 - 0.1155)
reconstruction_loss: 0.8364 (range: 0.8364 - 0.8364)
archetype_r2: 0.1094 (range: 0.1094 - 0.1094)
Archetype Transform Summary:
archetype_transform_mean: -0.001137 (range: -0.001137 - -0.001137)
archetype_transform_std: 0.120416 (range: 0.120416 - 0.120416)
archetype_transform_norm: 8.598985 (range: 8.598985 - 8.598985)
archetype_transform_grad_norm: 0.282798 (range: 0.282798 - 0.282798)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0020, max=0.9421, mean=0.1429
Batch reconstruction MSE: 0.9907
Archetype stats: min=-19.2488, max=28.0264
Archetype change since last debug: 1.635379
Archetype gradients: norm=0.046069, mean=0.001870
Epoch 1/1
Average loss: 0.7665
Archetypal loss: 0.8353
KLD loss: 0.1470
Reconstruction loss: 0.8353
Archetype R²: 0.1108
Archetype transform grad norm: 0.288420
Archetype transform param norm: 8.6304
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.7665 (range: 0.7665 - 0.7665)
archetypal_loss: 0.8353 (range: 0.8353 - 0.8353)
kld_loss: 0.1470 (range: 0.1470 - 0.1470)
reconstruction_loss: 0.8353 (range: 0.8353 - 0.8353)
archetype_r2: 0.1108 (range: 0.1108 - 0.1108)
Archetype Transform Summary:
archetype_transform_mean: -0.001056 (range: -0.001056 - -0.001056)
archetype_transform_std: 0.120857 (range: 0.120857 - 0.120857)
archetype_transform_norm: 8.630372 (range: 8.630372 - 8.630372)
archetype_transform_grad_norm: 0.288420 (range: 0.288420 - 0.288420)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0069, max=0.8312, mean=0.1429
Batch reconstruction MSE: 1.0860
Archetype stats: min=-19.6423, max=28.4076
Archetype change since last debug: 1.867146
Archetype gradients: norm=0.042862, mean=0.001700
Epoch 1/1
Average loss: 0.7660
Archetypal loss: 0.8369
KLD loss: 0.1278
Reconstruction loss: 0.8369
Archetype R²: 0.1089
Archetype transform grad norm: 0.293323
Archetype transform param norm: 8.6556
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.7660 (range: 0.7660 - 0.7660)
archetypal_loss: 0.8369 (range: 0.8369 - 0.8369)
kld_loss: 0.1278 (range: 0.1278 - 0.1278)
reconstruction_loss: 0.8369 (range: 0.8369 - 0.8369)
archetype_r2: 0.1089 (range: 0.1089 - 0.1089)
Archetype Transform Summary:
archetype_transform_mean: -0.001067 (range: -0.001067 - -0.001067)
archetype_transform_std: 0.121210 (range: 0.121210 - 0.121210)
archetype_transform_norm: 8.655625 (range: 8.655625 - 8.655625)
archetype_transform_grad_norm: 0.293323 (range: 0.293323 - 0.293323)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0019, max=0.9594, mean=0.1429
Batch reconstruction MSE: 0.9751
Archetype stats: min=-19.5378, max=28.1377
Archetype change since last debug: 1.673550
Archetype gradients: norm=0.036345, mean=0.001438
Epoch 1/1
Average loss: 0.7637
Archetypal loss: 0.8329
KLD loss: 0.1415
Reconstruction loss: 0.8329
Archetype R²: 0.1133
Archetype transform grad norm: 0.275604
Archetype transform param norm: 8.6946
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.7637 (range: 0.7637 - 0.7637)
archetypal_loss: 0.8329 (range: 0.8329 - 0.8329)
kld_loss: 0.1415 (range: 0.1415 - 0.1415)
reconstruction_loss: 0.8329 (range: 0.8329 - 0.8329)
archetype_r2: 0.1133 (range: 0.1133 - 0.1133)
Archetype Transform Summary:
archetype_transform_mean: -0.000990 (range: -0.000990 - -0.000990)
archetype_transform_std: 0.121757 (range: 0.121757 - 0.121757)
archetype_transform_norm: 8.694625 (range: 8.694625 - 8.694625)
archetype_transform_grad_norm: 0.275604 (range: 0.275604 - 0.275604)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0047, max=0.8582, mean=0.1429
Batch reconstruction MSE: 0.9815
Archetype stats: min=-19.8904, max=28.5483
Archetype change since last debug: 2.069283
Archetype gradients: norm=0.025435, mean=0.001033
Epoch 1/1
Average loss: 0.7617
Archetypal loss: 0.8326
KLD loss: 0.1233
Reconstruction loss: 0.8326
Archetype R²: 0.1136
Archetype transform grad norm: 0.281275
Archetype transform param norm: 8.7428
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.7617 (range: 0.7617 - 0.7617)
archetypal_loss: 0.8326 (range: 0.8326 - 0.8326)
kld_loss: 0.1233 (range: 0.1233 - 0.1233)
reconstruction_loss: 0.8326 (range: 0.8326 - 0.8326)
archetype_r2: 0.1136 (range: 0.1136 - 0.1136)
Archetype Transform Summary:
archetype_transform_mean: -0.000981 (range: -0.000981 - -0.000981)
archetype_transform_std: 0.122432 (range: 0.122432 - 0.122432)
archetype_transform_norm: 8.742792 (range: 8.742792 - 8.742792)
archetype_transform_grad_norm: 0.281275 (range: 0.281275 - 0.281275)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0037, max=0.9159, mean=0.1429
Batch reconstruction MSE: 0.9478
Archetype stats: min=-20.1297, max=28.8183
Archetype change since last debug: 1.728086
Archetype gradients: norm=0.032640, mean=0.001247
Epoch 1/1
Average loss: 0.7603
Archetypal loss: 0.8308
KLD loss: 0.1264
Reconstruction loss: 0.8308
Archetype R²: 0.1156
Archetype transform grad norm: 0.278717
Archetype transform param norm: 8.7931
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.7603 (range: 0.7603 - 0.7603)
archetypal_loss: 0.8308 (range: 0.8308 - 0.8308)
kld_loss: 0.1264 (range: 0.1264 - 0.1264)
reconstruction_loss: 0.8308 (range: 0.8308 - 0.8308)
archetype_r2: 0.1156 (range: 0.1156 - 0.1156)
Archetype Transform Summary:
archetype_transform_mean: -0.000912 (range: -0.000912 - -0.000912)
archetype_transform_std: 0.123137 (range: 0.123137 - 0.123137)
archetype_transform_norm: 8.793141 (range: 8.793141 - 8.793141)
archetype_transform_grad_norm: 0.278717 (range: 0.278717 - 0.278717)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0052, max=0.8681, mean=0.1429
Batch reconstruction MSE: 1.0638
Archetype stats: min=-20.5832, max=29.3297
Archetype change since last debug: 1.950045
Archetype gradients: norm=0.043870, mean=0.001979
Epoch 1/1
Average loss: 0.7633
Archetypal loss: 0.8341
KLD loss: 0.1258
Reconstruction loss: 0.8341
Archetype R²: 0.1118
Archetype transform grad norm: 0.301014
Archetype transform param norm: 8.8265
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.7633 (range: 0.7633 - 0.7633)
archetypal_loss: 0.8341 (range: 0.8341 - 0.8341)
kld_loss: 0.1258 (range: 0.1258 - 0.1258)
reconstruction_loss: 0.8341 (range: 0.8341 - 0.8341)
archetype_r2: 0.1118 (range: 0.1118 - 0.1118)
Archetype Transform Summary:
archetype_transform_mean: -0.000931 (range: -0.000931 - -0.000931)
archetype_transform_std: 0.123604 (range: 0.123604 - 0.123604)
archetype_transform_norm: 8.826493 (range: 8.826493 - 8.826493)
archetype_transform_grad_norm: 0.301014 (range: 0.301014 - 0.301014)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0043, max=0.9045, mean=0.1429
Batch reconstruction MSE: 1.0986
Archetype stats: min=-20.6544, max=29.3607
Archetype change since last debug: 1.435906
Archetype gradients: norm=0.066228, mean=0.002496
Epoch 1/1
Average loss: 0.7637
Archetypal loss: 0.8330
KLD loss: 0.1404
Reconstruction loss: 0.8330
Archetype R²: 0.1129
Archetype transform grad norm: 0.297533
Archetype transform param norm: 8.8399
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.7637 (range: 0.7637 - 0.7637)
archetypal_loss: 0.8330 (range: 0.8330 - 0.8330)
kld_loss: 0.1404 (range: 0.1404 - 0.1404)
reconstruction_loss: 0.8330 (range: 0.8330 - 0.8330)
archetype_r2: 0.1129 (range: 0.1129 - 0.1129)
Archetype Transform Summary:
archetype_transform_mean: -0.000855 (range: -0.000855 - -0.000855)
archetype_transform_std: 0.123792 (range: 0.123792 - 0.123792)
archetype_transform_norm: 8.839862 (range: 8.839862 - 8.839862)
archetype_transform_grad_norm: 0.297533 (range: 0.297533 - 0.297533)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0062, max=0.8580, mean=0.1429
Batch reconstruction MSE: 1.2073
Archetype stats: min=-20.9300, max=29.5083
Archetype change since last debug: 2.113412
Archetype gradients: norm=0.067816, mean=0.002901
Epoch 1/1
Average loss: 0.7658
Archetypal loss: 0.8342
KLD loss: 0.1500
Reconstruction loss: 0.8342
Archetype R²: 0.1113
Archetype transform grad norm: 0.301694
Archetype transform param norm: 8.8386
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.7658 (range: 0.7658 - 0.7658)
archetypal_loss: 0.8342 (range: 0.8342 - 0.8342)
kld_loss: 0.1500 (range: 0.1500 - 0.1500)
reconstruction_loss: 0.8342 (range: 0.8342 - 0.8342)
archetype_r2: 0.1113 (range: 0.1113 - 0.1113)
Archetype Transform Summary:
archetype_transform_mean: -0.000892 (range: -0.000892 - -0.000892)
archetype_transform_std: 0.123774 (range: 0.123774 - 0.123774)
archetype_transform_norm: 8.838584 (range: 8.838584 - 8.838584)
archetype_transform_grad_norm: 0.301694 (range: 0.301694 - 0.301694)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0065, max=0.8582, mean=0.1429
Batch reconstruction MSE: 0.9904
Archetype stats: min=-20.8320, max=29.3290
Archetype change since last debug: 1.708004
Archetype gradients: norm=0.047028, mean=0.001615
Epoch 1/1
Average loss: 0.7596
Archetypal loss: 0.8277
KLD loss: 0.1462
Reconstruction loss: 0.8277
Archetype R²: 0.1187
Archetype transform grad norm: 0.288237
Archetype transform param norm: 8.8840
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.7596 (range: 0.7596 - 0.7596)
archetypal_loss: 0.8277 (range: 0.8277 - 0.8277)
kld_loss: 0.1462 (range: 0.1462 - 0.1462)
reconstruction_loss: 0.8277 (range: 0.8277 - 0.8277)
archetype_r2: 0.1187 (range: 0.1187 - 0.1187)
Archetype Transform Summary:
archetype_transform_mean: -0.000814 (range: -0.000814 - -0.000814)
archetype_transform_std: 0.124411 (range: 0.124411 - 0.124411)
archetype_transform_norm: 8.884011 (range: 8.884011 - 8.884011)
archetype_transform_grad_norm: 0.288237 (range: 0.288237 - 0.288237)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0117, max=0.7097, mean=0.1429
Batch reconstruction MSE: 1.0241
Archetype stats: min=-21.3050, max=29.9200
Archetype change since last debug: 2.065029
Archetype gradients: norm=0.035951, mean=0.001309
Epoch 1/1
Average loss: 0.7571
Archetypal loss: 0.8265
KLD loss: 0.1330
Reconstruction loss: 0.8265
Archetype R²: 0.1200
Archetype transform grad norm: 0.284242
Archetype transform param norm: 8.9335
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.7571 (range: 0.7571 - 0.7571)
archetypal_loss: 0.8265 (range: 0.8265 - 0.8265)
kld_loss: 0.1330 (range: 0.1330 - 0.1330)
reconstruction_loss: 0.8265 (range: 0.8265 - 0.8265)
archetype_r2: 0.1200 (range: 0.1200 - 0.1200)
Archetype Transform Summary:
archetype_transform_mean: -0.000811 (range: -0.000811 - -0.000811)
archetype_transform_std: 0.125104 (range: 0.125104 - 0.125104)
archetype_transform_norm: 8.933507 (range: 8.933507 - 8.933507)
archetype_transform_grad_norm: 0.284242 (range: 0.284242 - 0.284242)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0056, max=0.8600, mean=0.1429
Batch reconstruction MSE: 0.9999
Archetype stats: min=-21.4683, max=30.1079
Archetype change since last debug: 1.916505
Archetype gradients: norm=0.052590, mean=0.001948
Epoch 1/1
Average loss: 0.7576
Archetypal loss: 0.8244
KLD loss: 0.1568
Reconstruction loss: 0.8244
Archetype R²: 0.1222
Archetype transform grad norm: 0.298471
Archetype transform param norm: 8.9923
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.7576 (range: 0.7576 - 0.7576)
archetypal_loss: 0.8244 (range: 0.8244 - 0.8244)
kld_loss: 0.1568 (range: 0.1568 - 0.1568)
reconstruction_loss: 0.8244 (range: 0.8244 - 0.8244)
archetype_r2: 0.1222 (range: 0.1222 - 0.1222)
Archetype Transform Summary:
archetype_transform_mean: -0.000739 (range: -0.000739 - -0.000739)
archetype_transform_std: 0.125927 (range: 0.125927 - 0.125927)
archetype_transform_norm: 8.992259 (range: 8.992259 - 8.992259)
archetype_transform_grad_norm: 0.298471 (range: 0.298471 - 0.298471)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0122, max=0.6780, mean=0.1429
Batch reconstruction MSE: 1.1834
Archetype stats: min=-21.6019, max=30.3879
Archetype change since last debug: 1.989923
Archetype gradients: norm=0.073154, mean=0.002868
Epoch 1/1
Average loss: 0.7578
Archetypal loss: 0.8266
KLD loss: 0.1386
Reconstruction loss: 0.8266
Archetype R²: 0.1194
Archetype transform grad norm: 0.303233
Archetype transform param norm: 9.0131
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.7578 (range: 0.7578 - 0.7578)
archetypal_loss: 0.8266 (range: 0.8266 - 0.8266)
kld_loss: 0.1386 (range: 0.1386 - 0.1386)
reconstruction_loss: 0.8266 (range: 0.8266 - 0.8266)
archetype_r2: 0.1194 (range: 0.1194 - 0.1194)
Archetype Transform Summary:
archetype_transform_mean: -0.000802 (range: -0.000802 - -0.000802)
archetype_transform_std: 0.126219 (range: 0.126219 - 0.126219)
archetype_transform_norm: 9.013128 (range: 9.013128 - 9.013128)
archetype_transform_grad_norm: 0.303233 (range: 0.303233 - 0.303233)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0077, max=0.8193, mean=0.1429
Batch reconstruction MSE: 1.2769
Archetype stats: min=-21.4356, max=30.1771
Archetype change since last debug: 2.896476
Archetype gradients: norm=0.099117, mean=0.003789
Epoch 1/1
Average loss: 0.7627
Archetypal loss: 0.8280
KLD loss: 0.1756
Reconstruction loss: 0.8280
Archetype R²: 0.1177
Archetype transform grad norm: 0.318083
Archetype transform param norm: 9.0132
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.7627 (range: 0.7627 - 0.7627)
archetypal_loss: 0.8280 (range: 0.8280 - 0.8280)
kld_loss: 0.1756 (range: 0.1756 - 0.1756)
reconstruction_loss: 0.8280 (range: 0.8280 - 0.8280)
archetype_r2: 0.1177 (range: 0.1177 - 0.1177)
Archetype Transform Summary:
archetype_transform_mean: -0.000775 (range: -0.000775 - -0.000775)
archetype_transform_std: 0.126220 (range: 0.126220 - 0.126220)
archetype_transform_norm: 9.013183 (range: 9.013183 - 9.013183)
archetype_transform_grad_norm: 0.318083 (range: 0.318083 - 0.318083)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0113, max=0.6793, mean=0.1429
Batch reconstruction MSE: 1.3246
Archetype stats: min=-20.4535, max=28.9907
Archetype change since last debug: 2.789755
Archetype gradients: norm=0.091966, mean=0.003614
Epoch 1/1
Average loss: 0.7604
Archetypal loss: 0.8270
KLD loss: 0.1602
Reconstruction loss: 0.8270
Archetype R²: 0.1186
Archetype transform grad norm: 0.303349
Archetype transform param norm: 9.0019
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.7604 (range: 0.7604 - 0.7604)
archetypal_loss: 0.8270 (range: 0.8270 - 0.8270)
kld_loss: 0.1602 (range: 0.1602 - 0.1602)
reconstruction_loss: 0.8270 (range: 0.8270 - 0.8270)
archetype_r2: 0.1186 (range: 0.1186 - 0.1186)
Archetype Transform Summary:
archetype_transform_mean: -0.000739 (range: -0.000739 - -0.000739)
archetype_transform_std: 0.126062 (range: 0.126062 - 0.126062)
archetype_transform_norm: 9.001930 (range: 9.001930 - 9.001930)
archetype_transform_grad_norm: 0.303349 (range: 0.303349 - 0.303349)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0126, max=0.6792, mean=0.1429
Batch reconstruction MSE: 1.2413
Archetype stats: min=-20.3583, max=28.5841
Archetype change since last debug: 2.945750
Archetype gradients: norm=0.088259, mean=0.003375
Epoch 1/1
Average loss: 0.7576
Archetypal loss: 0.8240
KLD loss: 0.1603
Reconstruction loss: 0.8240
Archetype R²: 0.1220
Archetype transform grad norm: 0.293026
Archetype transform param norm: 9.0140
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.7576 (range: 0.7576 - 0.7576)
archetypal_loss: 0.8240 (range: 0.8240 - 0.8240)
kld_loss: 0.1603 (range: 0.1603 - 0.1603)
reconstruction_loss: 0.8240 (range: 0.8240 - 0.8240)
archetype_r2: 0.1220 (range: 0.1220 - 0.1220)
Archetype Transform Summary:
archetype_transform_mean: -0.000757 (range: -0.000757 - -0.000757)
archetype_transform_std: 0.126231 (range: 0.126231 - 0.126231)
archetype_transform_norm: 9.013972 (range: 9.013972 - 9.013972)
archetype_transform_grad_norm: 0.293026 (range: 0.293026 - 0.293026)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0176, max=0.4475, mean=0.1429
Batch reconstruction MSE: 0.9675
Archetype stats: min=-20.0511, max=28.2105
Archetype change since last debug: 1.616221
Archetype gradients: norm=0.023208, mean=0.000914
Epoch 1/1
Average loss: 0.7493
Archetypal loss: 0.8155
KLD loss: 0.1535
Reconstruction loss: 0.8155
Archetype R²: 0.1316
Archetype transform grad norm: 0.260219
Archetype transform param norm: 9.0766
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.7493 (range: 0.7493 - 0.7493)
archetypal_loss: 0.8155 (range: 0.8155 - 0.8155)
kld_loss: 0.1535 (range: 0.1535 - 0.1535)
reconstruction_loss: 0.8155 (range: 0.8155 - 0.8155)
archetype_r2: 0.1316 (range: 0.1316 - 0.1316)
Archetype Transform Summary:
archetype_transform_mean: -0.000658 (range: -0.000658 - -0.000658)
archetype_transform_std: 0.127108 (range: 0.127108 - 0.127108)
archetype_transform_norm: 9.076571 (range: 9.076571 - 9.076571)
archetype_transform_grad_norm: 0.260219 (range: 0.260219 - 0.260219)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0150, max=0.5442, mean=0.1429
Batch reconstruction MSE: 0.9364
Archetype stats: min=-20.3991, max=28.7351
Archetype change since last debug: 2.314402
Archetype gradients: norm=0.041370, mean=0.001584
Epoch 1/1
Average loss: 0.7475
Archetypal loss: 0.8140
KLD loss: 0.1486
Reconstruction loss: 0.8140
Archetype R²: 0.1333
Archetype transform grad norm: 0.270229
Archetype transform param norm: 9.1596
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.7475 (range: 0.7475 - 0.7475)
archetypal_loss: 0.8140 (range: 0.8140 - 0.8140)
kld_loss: 0.1486 (range: 0.1486 - 0.1486)
reconstruction_loss: 0.8140 (range: 0.8140 - 0.8140)
archetype_r2: 0.1333 (range: 0.1333 - 0.1333)
Archetype Transform Summary:
archetype_transform_mean: -0.000613 (range: -0.000613 - -0.000613)
archetype_transform_std: 0.128271 (range: 0.128271 - 0.128271)
archetype_transform_norm: 9.159579 (range: 9.159579 - 9.159579)
archetype_transform_grad_norm: 0.270229 (range: 0.270229 - 0.270229)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0178, max=0.3546, mean=0.1429
Batch reconstruction MSE: 0.9388
Archetype stats: min=-20.6723, max=29.1868
Archetype change since last debug: 2.334813
Archetype gradients: norm=0.035839, mean=0.001479
Epoch 1/1
Average loss: 0.7468
Archetypal loss: 0.8139
KLD loss: 0.1437
Reconstruction loss: 0.8139
Archetype R²: 0.1334
Archetype transform grad norm: 0.284810
Archetype transform param norm: 9.2358
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.7468 (range: 0.7468 - 0.7468)
archetypal_loss: 0.8139 (range: 0.8139 - 0.8139)
kld_loss: 0.1437 (range: 0.1437 - 0.1437)
reconstruction_loss: 0.8139 (range: 0.8139 - 0.8139)
archetype_r2: 0.1334 (range: 0.1334 - 0.1334)
Archetype Transform Summary:
archetype_transform_mean: -0.000579 (range: -0.000579 - -0.000579)
archetype_transform_std: 0.129338 (range: 0.129338 - 0.129338)
archetype_transform_norm: 9.235803 (range: 9.235803 - 9.235803)
archetype_transform_grad_norm: 0.284810 (range: 0.284810 - 0.284810)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0179, max=0.4700, mean=0.1429
Batch reconstruction MSE: 1.0519
Archetype stats: min=-21.0512, max=29.7710
Archetype change since last debug: 2.342926
Archetype gradients: norm=0.061945, mean=0.002749
Epoch 1/1
Average loss: 0.7498
Archetypal loss: 0.8168
KLD loss: 0.1466
Reconstruction loss: 0.8168
Archetype R²: 0.1301
Archetype transform grad norm: 0.304856
Archetype transform param norm: 9.2864
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.7498 (range: 0.7498 - 0.7498)
archetypal_loss: 0.8168 (range: 0.8168 - 0.8168)
kld_loss: 0.1466 (range: 0.1466 - 0.1466)
reconstruction_loss: 0.8168 (range: 0.8168 - 0.8168)
archetype_r2: 0.1301 (range: 0.1301 - 0.1301)
Archetype Transform Summary:
archetype_transform_mean: -0.000562 (range: -0.000562 - -0.000562)
archetype_transform_std: 0.130047 (range: 0.130047 - 0.130047)
archetype_transform_norm: 9.286411 (range: 9.286411 - 9.286411)
archetype_transform_grad_norm: 0.304856 (range: 0.304856 - 0.304856)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0164, max=0.4247, mean=0.1429
Batch reconstruction MSE: 1.1831
Archetype stats: min=-21.0006, max=29.8106
Archetype change since last debug: 2.039864
Archetype gradients: norm=0.084706, mean=0.003598
Epoch 1/1
Average loss: 0.7528
Archetypal loss: 0.8203
KLD loss: 0.1445
Reconstruction loss: 0.8203
Archetype R²: 0.1260
Archetype transform grad norm: 0.321479
Archetype transform param norm: 9.2992
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.7528 (range: 0.7528 - 0.7528)
archetypal_loss: 0.8203 (range: 0.8203 - 0.8203)
kld_loss: 0.1445 (range: 0.1445 - 0.1445)
reconstruction_loss: 0.8203 (range: 0.8203 - 0.8203)
archetype_r2: 0.1260 (range: 0.1260 - 0.1260)
Archetype Transform Summary:
archetype_transform_mean: -0.000572 (range: -0.000572 - -0.000572)
archetype_transform_std: 0.130226 (range: 0.130226 - 0.130226)
archetype_transform_norm: 9.299152 (range: 9.299152 - 9.299152)
archetype_transform_grad_norm: 0.321479 (range: 0.321479 - 0.321479)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0186, max=0.4058, mean=0.1429
Batch reconstruction MSE: 1.2370
Archetype stats: min=-21.0954, max=29.9712
Archetype change since last debug: 2.287670
Archetype gradients: norm=0.079040, mean=0.003173
Epoch 1/1
Average loss: 0.7541
Archetypal loss: 0.8218
KLD loss: 0.1440
Reconstruction loss: 0.8218
Archetype R²: 0.1243
Archetype transform grad norm: 0.323491
Archetype transform param norm: 9.2970
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.7541 (range: 0.7541 - 0.7541)
archetypal_loss: 0.8218 (range: 0.8218 - 0.8218)
kld_loss: 0.1440 (range: 0.1440 - 0.1440)
reconstruction_loss: 0.8218 (range: 0.8218 - 0.8218)
archetype_r2: 0.1243 (range: 0.1243 - 0.1243)
Archetype Transform Summary:
archetype_transform_mean: -0.000564 (range: -0.000564 - -0.000564)
archetype_transform_std: 0.130195 (range: 0.130195 - 0.130195)
archetype_transform_norm: 9.296971 (range: 9.296971 - 9.296971)
archetype_transform_grad_norm: 0.323491 (range: 0.323491 - 0.323491)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0118, max=0.5781, mean=0.1429
Batch reconstruction MSE: 1.1979
Archetype stats: min=-20.5599, max=29.3241
Archetype change since last debug: 2.533002
Archetype gradients: norm=0.141357, mean=0.004321
Epoch 1/1
Average loss: 0.7537
Archetypal loss: 0.8190
KLD loss: 0.1662
Reconstruction loss: 0.8190
Archetype R²: 0.1274
Archetype transform grad norm: 0.297336
Archetype transform param norm: 9.2984
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.7537 (range: 0.7537 - 0.7537)
archetypal_loss: 0.8190 (range: 0.8190 - 0.8190)
kld_loss: 0.1662 (range: 0.1662 - 0.1662)
reconstruction_loss: 0.8190 (range: 0.8190 - 0.8190)
archetype_r2: 0.1274 (range: 0.1274 - 0.1274)
Archetype Transform Summary:
archetype_transform_mean: -0.000578 (range: -0.000578 - -0.000578)
archetype_transform_std: 0.130215 (range: 0.130215 - 0.130215)
archetype_transform_norm: 9.298392 (range: 9.298392 - 9.298392)
archetype_transform_grad_norm: 0.297336 (range: 0.297336 - 0.297336)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0206, max=0.3437, mean=0.1429
Batch reconstruction MSE: 1.3352
Archetype stats: min=-20.7025, max=29.5306
Archetype change since last debug: 1.732884
Archetype gradients: norm=0.063290, mean=0.002812
Epoch 1/1
Average loss: 0.7531
Archetypal loss: 0.8216
KLD loss: 0.1361
Reconstruction loss: 0.8216
Archetype R²: 0.1242
Archetype transform grad norm: 0.294022
Archetype transform param norm: 9.2801
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.7531 (range: 0.7531 - 0.7531)
archetypal_loss: 0.8216 (range: 0.8216 - 0.8216)
kld_loss: 0.1361 (range: 0.1361 - 0.1361)
reconstruction_loss: 0.8216 (range: 0.8216 - 0.8216)
archetype_r2: 0.1242 (range: 0.1242 - 0.1242)
Archetype Transform Summary:
archetype_transform_mean: -0.000560 (range: -0.000560 - -0.000560)
archetype_transform_std: 0.129959 (range: 0.129959 - 0.129959)
archetype_transform_norm: 9.280098 (range: 9.280098 - 9.280098)
archetype_transform_grad_norm: 0.294022 (range: 0.294022 - 0.294022)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0173, max=0.3781, mean=0.1429
Batch reconstruction MSE: 1.0348
Archetype stats: min=-20.1709, max=28.7505
Archetype change since last debug: 2.236322
Archetype gradients: norm=0.042811, mean=0.001775
Epoch 1/1
Average loss: 0.7495
Archetypal loss: 0.8138
KLD loss: 0.1715
Reconstruction loss: 0.8138
Archetype R²: 0.1333
Archetype transform grad norm: 0.273394
Archetype transform param norm: 9.3095
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.7495 (range: 0.7495 - 0.7495)
archetypal_loss: 0.8138 (range: 0.8138 - 0.8138)
kld_loss: 0.1715 (range: 0.1715 - 0.1715)
reconstruction_loss: 0.8138 (range: 0.8138 - 0.8138)
archetype_r2: 0.1333 (range: 0.1333 - 0.1333)
Archetype Transform Summary:
archetype_transform_mean: -0.000556 (range: -0.000556 - -0.000556)
archetype_transform_std: 0.130370 (range: 0.130370 - 0.130370)
archetype_transform_norm: 9.309481 (range: 9.309481 - 9.309481)
archetype_transform_grad_norm: 0.273394 (range: 0.273394 - 0.273394)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0149, max=0.4863, mean=0.1429
Batch reconstruction MSE: 1.2908
Archetype stats: min=-20.5077, max=29.3074
Archetype change since last debug: 1.745805
Archetype gradients: norm=0.062256, mean=0.002295
Epoch 1/1
Average loss: 0.7500
Archetypal loss: 0.8191
KLD loss: 0.1286
Reconstruction loss: 0.8191
Archetype R²: 0.1270
Archetype transform grad norm: 0.279893
Archetype transform param norm: 9.3097
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.7500 (range: 0.7500 - 0.7500)
archetypal_loss: 0.8191 (range: 0.8191 - 0.8191)
kld_loss: 0.1286 (range: 0.1286 - 0.1286)
reconstruction_loss: 0.8191 (range: 0.8191 - 0.8191)
archetype_r2: 0.1270 (range: 0.1270 - 0.1270)
Archetype Transform Summary:
archetype_transform_mean: -0.000517 (range: -0.000517 - -0.000517)
archetype_transform_std: 0.130373 (range: 0.130373 - 0.130373)
archetype_transform_norm: 9.309664 (range: 9.309664 - 9.309664)
archetype_transform_grad_norm: 0.279893 (range: 0.279893 - 0.279893)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0193, max=0.3165, mean=0.1429
Batch reconstruction MSE: 0.8983
Archetype stats: min=-20.0000, max=28.6330
Archetype change since last debug: 1.622610
Archetype gradients: norm=0.028767, mean=0.001059
Epoch 1/1
Average loss: 0.7433
Archetypal loss: 0.8094
KLD loss: 0.1478
Reconstruction loss: 0.8094
Archetype R²: 0.1381
Archetype transform grad norm: 0.258101
Archetype transform param norm: 9.3648
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.7433 (range: 0.7433 - 0.7433)
archetypal_loss: 0.8094 (range: 0.8094 - 0.8094)
kld_loss: 0.1478 (range: 0.1478 - 0.1478)
reconstruction_loss: 0.8094 (range: 0.8094 - 0.8094)
archetype_r2: 0.1381 (range: 0.1381 - 0.1381)
Archetype Transform Summary:
archetype_transform_mean: -0.000506 (range: -0.000506 - -0.000506)
archetype_transform_std: 0.131145 (range: 0.131145 - 0.131145)
archetype_transform_norm: 9.364810 (range: 9.364810 - 9.364810)
archetype_transform_grad_norm: 0.258101 (range: 0.258101 - 0.258101)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0224, max=0.2957, mean=0.1429
Batch reconstruction MSE: 0.8966
Archetype stats: min=-20.5454, max=29.4760
Archetype change since last debug: 2.321954
Archetype gradients: norm=0.019138, mean=0.000733
Epoch 1/1
Average loss: 0.7415
Archetypal loss: 0.8093
KLD loss: 0.1314
Reconstruction loss: 0.8093
Archetype R²: 0.1383
Archetype transform grad norm: 0.266471
Archetype transform param norm: 9.4365
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.7415 (range: 0.7415 - 0.7415)
archetypal_loss: 0.8093 (range: 0.8093 - 0.8093)
kld_loss: 0.1314 (range: 0.1314 - 0.1314)
reconstruction_loss: 0.8093 (range: 0.8093 - 0.8093)
archetype_r2: 0.1383 (range: 0.1383 - 0.1383)
Archetype Transform Summary:
archetype_transform_mean: -0.000461 (range: -0.000461 - -0.000461)
archetype_transform_std: 0.132149 (range: 0.132149 - 0.132149)
archetype_transform_norm: 9.436471 (range: 9.436471 - 9.436471)
archetype_transform_grad_norm: 0.266471 (range: 0.266471 - 0.266471)
Fold 3/3
Model input_dim: 50 (auto-detected from data)
Archetypes parameter registered: True
Archetypes requires_grad: True
Deep_AA (Deep Archetypal Analysis) initialized:
- Single-stage architecture (like Deep_2)
- Inflation factor: 1.5
- Direct archetypal coordinates (no bottleneck)
Consolidated Archetype Initialization
PCHA: True, Inflation: True (factor: 1.5)
Test inflation: False
Running PCHA initialization...
Input shape: (128, 50)
Target archetypes: 7
Running PCHA with 7 archetypes...
Data shape for PCHA: (50, 128)
PCHA Results:
Archetypes shape: (7, 50)
Archetype R²: 0.3012
SSE: 3810.2071
PCHA archetype R²: 0.3012
Archetype shape: (7, 50)
[OK] Initialized 7 archetypes using PCHA
Scalar Archetypal Inflation (factor: 1.50)
[OK] Inflation complete
[STATS] Positioning verification:
Data radius (max): 16.629
Data radius (mean): 6.068
Archetype distances: 3.965 to 22.336
Archetypes outside data: 2/7
Min archetype separation: 8.396
[OK] Archetype initialization complete (success: True)
[OK] Archetype initialization complete (PCHA: True, Inflation: 1.5)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0031, max=0.7969, mean=0.1429
Batch reconstruction MSE: 0.9481
Archetype stats: min=-1.3406, max=1.5135
Archetype gradients: norm=0.009843, mean=0.000409
Epoch 1/1
Average loss: 0.8918
Archetypal loss: 0.9881
KLD loss: 0.0256
Reconstruction loss: 0.9881
Archetype R²: -0.0152
Archetype transform grad norm: 0.162180
Archetype transform param norm: 5.8137
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.8918 (range: 0.8918 - 0.8918)
archetypal_loss: 0.9881 (range: 0.9881 - 0.9881)
kld_loss: 0.0256 (range: 0.0256 - 0.0256)
reconstruction_loss: 0.9881 (range: 0.9881 - 0.9881)
archetype_r2: -0.0152 (range: -0.0152 - -0.0152)
Archetype Transform Summary:
archetype_transform_mean: 0.000500 (range: 0.000500 - 0.000500)
archetype_transform_std: 0.081414 (range: 0.081414 - 0.081414)
archetype_transform_norm: 5.813676 (range: 5.813676 - 5.813676)
archetype_transform_grad_norm: 0.162180 (range: 0.162180 - 0.162180)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0022, max=0.8316, mean=0.1429
Batch reconstruction MSE: 0.8540
Archetype stats: min=-1.4170, max=1.0074
Archetype change since last debug: 6.157088
Archetype gradients: norm=0.002403, mean=0.000100
Epoch 1/1
Average loss: 0.8813
Archetypal loss: 0.9750
KLD loss: 0.0372
Reconstruction loss: 0.9750
Archetype R²: -0.0017
Archetype transform grad norm: 0.123196
Archetype transform param norm: 5.8226
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.8813 (range: 0.8813 - 0.8813)
archetypal_loss: 0.9750 (range: 0.9750 - 0.9750)
kld_loss: 0.0372 (range: 0.0372 - 0.0372)
reconstruction_loss: 0.9750 (range: 0.9750 - 0.9750)
archetype_r2: -0.0017 (range: -0.0017 - -0.0017)
Archetype Transform Summary:
archetype_transform_mean: 0.000335 (range: 0.000335 - 0.000335)
archetype_transform_std: 0.081539 (range: 0.081539 - 0.081539)
archetype_transform_norm: 5.822550 (range: 5.822550 - 5.822550)
archetype_transform_grad_norm: 0.123196 (range: 0.123196 - 0.123196)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0039, max=0.7041, mean=0.1429
Batch reconstruction MSE: 0.8730
Archetype stats: min=-3.1175, max=2.2000
Archetype change since last debug: 4.599831
Archetype gradients: norm=0.003890, mean=0.000139
Epoch 1/1
Average loss: 0.8720
Archetypal loss: 0.9598
KLD loss: 0.0815
Reconstruction loss: 0.9598
Archetype R²: 0.0139
Archetype transform grad norm: 0.152082
Archetype transform param norm: 5.9238
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.8720 (range: 0.8720 - 0.8720)
archetypal_loss: 0.9598 (range: 0.9598 - 0.9598)
kld_loss: 0.0815 (range: 0.0815 - 0.0815)
reconstruction_loss: 0.9598 (range: 0.9598 - 0.9598)
archetype_r2: 0.0139 (range: 0.0139 - 0.0139)
Archetype Transform Summary:
archetype_transform_mean: 0.000185 (range: 0.000185 - 0.000185)
archetype_transform_std: 0.082958 (range: 0.082958 - 0.082958)
archetype_transform_norm: 5.923847 (range: 5.923847 - 5.923847)
archetype_transform_grad_norm: 0.152082 (range: 0.152082 - 0.152082)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0034, max=0.7751, mean=0.1429
Batch reconstruction MSE: 0.8884
Archetype stats: min=-6.0827, max=5.2045
Archetype change since last debug: 8.863849
Archetype gradients: norm=0.004952, mean=0.000196
Epoch 1/1
Average loss: 0.8578
Archetypal loss: 0.9393
KLD loss: 0.1244
Reconstruction loss: 0.9393
Archetype R²: 0.0350
Archetype transform grad norm: 0.180812
Archetype transform param norm: 6.1494
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.8578 (range: 0.8578 - 0.8578)
archetypal_loss: 0.9393 (range: 0.9393 - 0.9393)
kld_loss: 0.1244 (range: 0.1244 - 0.1244)
reconstruction_loss: 0.9393 (range: 0.9393 - 0.9393)
archetype_r2: 0.0350 (range: 0.0350 - 0.0350)
Archetype Transform Summary:
archetype_transform_mean: 0.000244 (range: 0.000244 - 0.000244)
archetype_transform_std: 0.086117 (range: 0.086117 - 0.086117)
archetype_transform_norm: 6.149417 (range: 6.149417 - 6.149417)
archetype_transform_grad_norm: 0.180812 (range: 0.180812 - 0.180812)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0038, max=0.7732, mean=0.1429
Batch reconstruction MSE: 0.9661
Archetype stats: min=-8.9327, max=7.8219
Archetype change since last debug: 11.316211
Archetype gradients: norm=0.011809, mean=0.000410
Epoch 1/1
Average loss: 0.8446
Archetypal loss: 0.9214
KLD loss: 0.1535
Reconstruction loss: 0.9214
Archetype R²: 0.0532
Archetype transform grad norm: 0.214743
Archetype transform param norm: 6.4513
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.8446 (range: 0.8446 - 0.8446)
archetypal_loss: 0.9214 (range: 0.9214 - 0.9214)
kld_loss: 0.1535 (range: 0.1535 - 0.1535)
reconstruction_loss: 0.9214 (range: 0.9214 - 0.9214)
archetype_r2: 0.0532 (range: 0.0532 - 0.0532)
Archetype Transform Summary:
archetype_transform_mean: 0.000555 (range: 0.000555 - 0.000555)
archetype_transform_std: 0.090343 (range: 0.090343 - 0.090343)
archetype_transform_norm: 6.451252 (range: 6.451252 - 6.451252)
archetype_transform_grad_norm: 0.214743 (range: 0.214743 - 0.214743)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0039, max=0.8097, mean=0.1429
Batch reconstruction MSE: 1.0466
Archetype stats: min=-10.2596, max=9.1364
Archetype change since last debug: 10.842512
Archetype gradients: norm=0.019662, mean=0.000732
Epoch 1/1
Average loss: 0.8351
Archetypal loss: 0.9104
KLD loss: 0.1574
Reconstruction loss: 0.9104
Archetype R²: 0.0642
Archetype transform grad norm: 0.232607
Archetype transform param norm: 6.7202
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.8351 (range: 0.8351 - 0.8351)
archetypal_loss: 0.9104 (range: 0.9104 - 0.9104)
kld_loss: 0.1574 (range: 0.1574 - 0.1574)
reconstruction_loss: 0.9104 (range: 0.9104 - 0.9104)
archetype_r2: 0.0642 (range: 0.0642 - 0.0642)
Archetype Transform Summary:
archetype_transform_mean: 0.000828 (range: 0.000828 - 0.000828)
archetype_transform_std: 0.094108 (range: 0.094108 - 0.094108)
archetype_transform_norm: 6.720234 (range: 6.720234 - 6.720234)
archetype_transform_grad_norm: 0.232607 (range: 0.232607 - 0.232607)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0045, max=0.8257, mean=0.1429
Batch reconstruction MSE: 0.9984
Archetype stats: min=-11.1880, max=9.2692
Archetype change since last debug: 8.442390
Archetype gradients: norm=0.018956, mean=0.000695
Epoch 1/1
Average loss: 0.8262
Archetypal loss: 0.9013
KLD loss: 0.1510
Reconstruction loss: 0.9013
Archetype R²: 0.0736
Archetype transform grad norm: 0.247417
Archetype transform param norm: 6.9456
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.8262 (range: 0.8262 - 0.8262)
archetypal_loss: 0.9013 (range: 0.9013 - 0.9013)
kld_loss: 0.1510 (range: 0.1510 - 0.1510)
reconstruction_loss: 0.9013 (range: 0.9013 - 0.9013)
archetype_r2: 0.0736 (range: 0.0736 - 0.0736)
Archetype Transform Summary:
archetype_transform_mean: 0.000904 (range: 0.000904 - 0.000904)
archetype_transform_std: 0.097263 (range: 0.097263 - 0.097263)
archetype_transform_norm: 6.945580 (range: 6.945580 - 6.945580)
archetype_transform_grad_norm: 0.247417 (range: 0.247417 - 0.247417)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0035, max=0.8275, mean=0.1429
Batch reconstruction MSE: 1.0092
Archetype stats: min=-13.2101, max=10.9101
Archetype change since last debug: 7.128313
Archetype gradients: norm=0.018622, mean=0.000655
Epoch 1/1
Average loss: 0.8209
Archetypal loss: 0.8959
KLD loss: 0.1457
Reconstruction loss: 0.8959
Archetype R²: 0.0790
Archetype transform grad norm: 0.247979
Archetype transform param norm: 7.1357
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.8209 (range: 0.8209 - 0.8209)
archetypal_loss: 0.8959 (range: 0.8959 - 0.8959)
kld_loss: 0.1457 (range: 0.1457 - 0.1457)
reconstruction_loss: 0.8959 (range: 0.8959 - 0.8959)
archetype_r2: 0.0790 (range: 0.0790 - 0.0790)
Archetype Transform Summary:
archetype_transform_mean: 0.000958 (range: 0.000958 - 0.000958)
archetype_transform_std: 0.099925 (range: 0.099925 - 0.099925)
archetype_transform_norm: 7.135707 (range: 7.135707 - 7.135707)
archetype_transform_grad_norm: 0.247979 (range: 0.247979 - 0.247979)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0025, max=0.9465, mean=0.1429
Batch reconstruction MSE: 0.9771
Archetype stats: min=-15.0439, max=12.2702
Archetype change since last debug: 6.019154
Archetype gradients: norm=0.017337, mean=0.000670
Epoch 1/1
Average loss: 0.8150
Archetypal loss: 0.8889
KLD loss: 0.1494
Reconstruction loss: 0.8889
Archetype R²: 0.0862
Archetype transform grad norm: 0.255059
Archetype transform param norm: 7.3187
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.8150 (range: 0.8150 - 0.8150)
archetypal_loss: 0.8889 (range: 0.8889 - 0.8889)
kld_loss: 0.1494 (range: 0.1494 - 0.1494)
reconstruction_loss: 0.8889 (range: 0.8889 - 0.8889)
archetype_r2: 0.0862 (range: 0.0862 - 0.0862)
Archetype Transform Summary:
archetype_transform_mean: 0.000836 (range: 0.000836 - 0.000836)
archetype_transform_std: 0.102489 (range: 0.102489 - 0.102489)
archetype_transform_norm: 7.318699 (range: 7.318699 - 7.318699)
archetype_transform_grad_norm: 0.255059 (range: 0.255059 - 0.255059)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0027, max=0.8913, mean=0.1429
Batch reconstruction MSE: 0.9509
Archetype stats: min=-16.6699, max=13.5799
Archetype change since last debug: 5.729928
Archetype gradients: norm=0.017012, mean=0.000647
Epoch 1/1
Average loss: 0.8086
Archetypal loss: 0.8799
KLD loss: 0.1672
Reconstruction loss: 0.8799
Archetype R²: 0.0956
Archetype transform grad norm: 0.265419
Archetype transform param norm: 7.5407
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.8086 (range: 0.8086 - 0.8086)
archetypal_loss: 0.8799 (range: 0.8799 - 0.8799)
kld_loss: 0.1672 (range: 0.1672 - 0.1672)
reconstruction_loss: 0.8799 (range: 0.8799 - 0.8799)
archetype_r2: 0.0956 (range: 0.0956 - 0.0956)
Archetype Transform Summary:
archetype_transform_mean: 0.000720 (range: 0.000720 - 0.000720)
archetype_transform_std: 0.105599 (range: 0.105599 - 0.105599)
archetype_transform_norm: 7.540704 (range: 7.540704 - 7.540704)
archetype_transform_grad_norm: 0.265419 (range: 0.265419 - 0.265419)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0031, max=0.9077, mean=0.1429
Batch reconstruction MSE: 0.9819
Archetype stats: min=-18.3308, max=14.8779
Archetype change since last debug: 6.853524
Archetype gradients: norm=0.022758, mean=0.000896
Epoch 1/1
Average loss: 0.8006
Archetypal loss: 0.8693
KLD loss: 0.1827
Reconstruction loss: 0.8693
Archetype R²: 0.1063
Archetype transform grad norm: 0.278070
Archetype transform param norm: 7.7982
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.8006 (range: 0.8006 - 0.8006)
archetypal_loss: 0.8693 (range: 0.8693 - 0.8693)
kld_loss: 0.1827 (range: 0.1827 - 0.1827)
reconstruction_loss: 0.8693 (range: 0.8693 - 0.8693)
archetype_r2: 0.1063 (range: 0.1063 - 0.1063)
Archetype Transform Summary:
archetype_transform_mean: 0.000451 (range: 0.000451 - 0.000451)
archetype_transform_std: 0.109207 (range: 0.109207 - 0.109207)
archetype_transform_norm: 7.798244 (range: 7.798244 - 7.798244)
archetype_transform_grad_norm: 0.278070 (range: 0.278070 - 0.278070)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0033, max=0.8947, mean=0.1429
Batch reconstruction MSE: 1.0317
Archetype stats: min=-19.3336, max=15.8239
Archetype change since last debug: 7.385385
Archetype gradients: norm=0.042703, mean=0.001460
Epoch 1/1
Average loss: 0.7954
Archetypal loss: 0.8627
KLD loss: 0.1888
Reconstruction loss: 0.8627
Archetype R²: 0.1128
Archetype transform grad norm: 0.287886
Archetype transform param norm: 8.0303
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.7954 (range: 0.7954 - 0.7954)
archetypal_loss: 0.8627 (range: 0.8627 - 0.8627)
kld_loss: 0.1888 (range: 0.1888 - 0.1888)
reconstruction_loss: 0.8627 (range: 0.8627 - 0.8627)
archetype_r2: 0.1128 (range: 0.1128 - 0.1128)
Archetype Transform Summary:
archetype_transform_mean: 0.000323 (range: 0.000323 - 0.000323)
archetype_transform_std: 0.112457 (range: 0.112457 - 0.112457)
archetype_transform_norm: 8.030312 (range: 8.030312 - 8.030312)
archetype_transform_grad_norm: 0.287886 (range: 0.287886 - 0.287886)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0049, max=0.7876, mean=0.1429
Batch reconstruction MSE: 1.1598
Archetype stats: min=-20.3402, max=16.6533
Archetype change since last debug: 5.701891
Archetype gradients: norm=0.037331, mean=0.001541
Epoch 1/1
Average loss: 0.7933
Archetypal loss: 0.8618
KLD loss: 0.1769
Reconstruction loss: 0.8618
Archetype R²: 0.1133
Archetype transform grad norm: 0.299446
Archetype transform param norm: 8.1907
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.7933 (range: 0.7933 - 0.7933)
archetypal_loss: 0.8618 (range: 0.8618 - 0.8618)
kld_loss: 0.1769 (range: 0.1769 - 0.1769)
reconstruction_loss: 0.8618 (range: 0.8618 - 0.8618)
archetype_r2: 0.1133 (range: 0.1133 - 0.1133)
Archetype Transform Summary:
archetype_transform_mean: 0.000110 (range: 0.000110 - 0.000110)
archetype_transform_std: 0.114704 (range: 0.114704 - 0.114704)
archetype_transform_norm: 8.190716 (range: 8.190716 - 8.190716)
archetype_transform_grad_norm: 0.299446 (range: 0.299446 - 0.299446)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0053, max=0.7456, mean=0.1429
Batch reconstruction MSE: 1.1492
Archetype stats: min=-20.5367, max=16.7663
Archetype change since last debug: 4.700015
Archetype gradients: norm=0.060715, mean=0.002139
Epoch 1/1
Average loss: 0.7912
Archetypal loss: 0.8589
KLD loss: 0.1819
Reconstruction loss: 0.8589
Archetype R²: 0.1163
Archetype transform grad norm: 0.295756
Archetype transform param norm: 8.2967
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.7912 (range: 0.7912 - 0.7912)
archetypal_loss: 0.8589 (range: 0.8589 - 0.8589)
kld_loss: 0.1819 (range: 0.1819 - 0.1819)
reconstruction_loss: 0.8589 (range: 0.8589 - 0.8589)
archetype_r2: 0.1163 (range: 0.1163 - 0.1163)
Archetype Transform Summary:
archetype_transform_mean: 0.000122 (range: 0.000122 - 0.000122)
archetype_transform_std: 0.116189 (range: 0.116189 - 0.116189)
archetype_transform_norm: 8.296723 (range: 8.296723 - 8.296723)
archetype_transform_grad_norm: 0.295756 (range: 0.295756 - 0.295756)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0078, max=0.5958, mean=0.1429
Batch reconstruction MSE: 1.0957
Archetype stats: min=-21.3960, max=17.1449
Archetype change since last debug: 3.231031
Archetype gradients: norm=0.034058, mean=0.001398
Epoch 1/1
Average loss: 0.7873
Archetypal loss: 0.8557
KLD loss: 0.1715
Reconstruction loss: 0.8557
Archetype R²: 0.1195
Archetype transform grad norm: 0.305819
Archetype transform param norm: 8.4061
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.7873 (range: 0.7873 - 0.7873)
archetypal_loss: 0.8557 (range: 0.8557 - 0.8557)
kld_loss: 0.1715 (range: 0.1715 - 0.1715)
reconstruction_loss: 0.8557 (range: 0.8557 - 0.8557)
archetype_r2: 0.1195 (range: 0.1195 - 0.1195)
Archetype Transform Summary:
archetype_transform_mean: -0.000011 (range: -0.000011 - -0.000011)
archetype_transform_std: 0.117720 (range: 0.117720 - 0.117720)
archetype_transform_norm: 8.406076 (range: 8.406076 - 8.406076)
archetype_transform_grad_norm: 0.305819 (range: 0.305819 - 0.305819)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0104, max=0.5454, mean=0.1429
Batch reconstruction MSE: 1.0675
Archetype stats: min=-21.1948, max=17.7120
Archetype change since last debug: 3.738441
Archetype gradients: norm=0.046874, mean=0.001695
Epoch 1/1
Average loss: 0.7852
Archetypal loss: 0.8535
KLD loss: 0.1707
Reconstruction loss: 0.8535
Archetype R²: 0.1218
Archetype transform grad norm: 0.303485
Archetype transform param norm: 8.5034
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.7852 (range: 0.7852 - 0.7852)
archetypal_loss: 0.8535 (range: 0.8535 - 0.8535)
kld_loss: 0.1707 (range: 0.1707 - 0.1707)
reconstruction_loss: 0.8535 (range: 0.8535 - 0.8535)
archetype_r2: 0.1218 (range: 0.1218 - 0.1218)
Archetype Transform Summary:
archetype_transform_mean: 0.000028 (range: 0.000028 - 0.000028)
archetype_transform_std: 0.119083 (range: 0.119083 - 0.119083)
archetype_transform_norm: 8.503424 (range: 8.503424 - 8.503424)
archetype_transform_grad_norm: 0.303485 (range: 0.303485 - 0.303485)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0143, max=0.6119, mean=0.1429
Batch reconstruction MSE: 0.9801
Archetype stats: min=-21.8727, max=17.7795
Archetype change since last debug: 3.188435
Archetype gradients: norm=0.029584, mean=0.001190
Epoch 1/1
Average loss: 0.7812
Archetypal loss: 0.8500
KLD loss: 0.1627
Reconstruction loss: 0.8500
Archetype R²: 0.1256
Archetype transform grad norm: 0.300765
Archetype transform param norm: 8.6100
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.7812 (range: 0.7812 - 0.7812)
archetypal_loss: 0.8500 (range: 0.8500 - 0.8500)
kld_loss: 0.1627 (range: 0.1627 - 0.1627)
reconstruction_loss: 0.8500 (range: 0.8500 - 0.8500)
archetype_r2: 0.1256 (range: 0.1256 - 0.1256)
Archetype Transform Summary:
archetype_transform_mean: -0.000043 (range: -0.000043 - -0.000043)
archetype_transform_std: 0.120575 (range: 0.120575 - 0.120575)
archetype_transform_norm: 8.609964 (range: 8.609964 - 8.609964)
archetype_transform_grad_norm: 0.300765 (range: 0.300765 - 0.300765)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0133, max=0.5110, mean=0.1429
Batch reconstruction MSE: 0.9903
Archetype stats: min=-22.1472, max=18.3512
Archetype change since last debug: 3.339866
Archetype gradients: norm=0.036860, mean=0.001311
Epoch 1/1
Average loss: 0.7797
Archetypal loss: 0.8488
KLD loss: 0.1570
Reconstruction loss: 0.8488
Archetype R²: 0.1267
Archetype transform grad norm: 0.299612
Archetype transform param norm: 8.7065
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.7797 (range: 0.7797 - 0.7797)
archetypal_loss: 0.8488 (range: 0.8488 - 0.8488)
kld_loss: 0.1570 (range: 0.1570 - 0.1570)
reconstruction_loss: 0.8488 (range: 0.8488 - 0.8488)
archetype_r2: 0.1267 (range: 0.1267 - 0.1267)
Archetype Transform Summary:
archetype_transform_mean: 0.000028 (range: 0.000028 - 0.000028)
archetype_transform_std: 0.121927 (range: 0.121927 - 0.121927)
archetype_transform_norm: 8.706466 (range: 8.706466 - 8.706466)
archetype_transform_grad_norm: 0.299612 (range: 0.299612 - 0.299612)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0161, max=0.6397, mean=0.1429
Batch reconstruction MSE: 0.9528
Archetype stats: min=-22.7922, max=18.7074
Archetype change since last debug: 3.083156
Archetype gradients: norm=0.024684, mean=0.000942
Epoch 1/1
Average loss: 0.7782
Archetypal loss: 0.8474
KLD loss: 0.1551
Reconstruction loss: 0.8474
Archetype R²: 0.1281
Archetype transform grad norm: 0.308651
Archetype transform param norm: 8.7968
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.7782 (range: 0.7782 - 0.7782)
archetypal_loss: 0.8474 (range: 0.8474 - 0.8474)
kld_loss: 0.1551 (range: 0.1551 - 0.1551)
reconstruction_loss: 0.8474 (range: 0.8474 - 0.8474)
archetype_r2: 0.1281 (range: 0.1281 - 0.1281)
Archetype Transform Summary:
archetype_transform_mean: -0.000081 (range: -0.000081 - -0.000081)
archetype_transform_std: 0.123191 (range: 0.123191 - 0.123191)
archetype_transform_norm: 8.796753 (range: 8.796753 - 8.796753)
archetype_transform_grad_norm: 0.308651 (range: 0.308651 - 0.308651)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0168, max=0.4531, mean=0.1429
Batch reconstruction MSE: 1.0475
Archetype stats: min=-23.1493, max=19.2795
Archetype change since last debug: 2.876412
Archetype gradients: norm=0.042741, mean=0.001663
Epoch 1/1
Average loss: 0.7787
Archetypal loss: 0.8487
KLD loss: 0.1489
Reconstruction loss: 0.8487
Archetype R²: 0.1265
Archetype transform grad norm: 0.306204
Archetype transform param norm: 8.8582
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.7787 (range: 0.7787 - 0.7787)
archetypal_loss: 0.8487 (range: 0.8487 - 0.8487)
kld_loss: 0.1489 (range: 0.1489 - 0.1489)
reconstruction_loss: 0.8487 (range: 0.8487 - 0.8487)
archetype_r2: 0.1265 (range: 0.1265 - 0.1265)
Archetype Transform Summary:
archetype_transform_mean: 0.000039 (range: 0.000039 - 0.000039)
archetype_transform_std: 0.124052 (range: 0.124052 - 0.124052)
archetype_transform_norm: 8.858207 (range: 8.858207 - 8.858207)
archetype_transform_grad_norm: 0.306204 (range: 0.306204 - 0.306204)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0150, max=0.5643, mean=0.1429
Batch reconstruction MSE: 0.9591
Archetype stats: min=-23.7288, max=19.3117
Archetype change since last debug: 2.245780
Archetype gradients: norm=0.027800, mean=0.001180
Epoch 1/1
Average loss: 0.7763
Archetypal loss: 0.8460
KLD loss: 0.1493
Reconstruction loss: 0.8460
Archetype R²: 0.1295
Archetype transform grad norm: 0.308438
Archetype transform param norm: 8.9337
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.7763 (range: 0.7763 - 0.7763)
archetypal_loss: 0.8460 (range: 0.8460 - 0.8460)
kld_loss: 0.1493 (range: 0.1493 - 0.1493)
reconstruction_loss: 0.8460 (range: 0.8460 - 0.8460)
archetype_r2: 0.1295 (range: 0.1295 - 0.1295)
Archetype Transform Summary:
archetype_transform_mean: -0.000111 (range: -0.000111 - -0.000111)
archetype_transform_std: 0.125108 (range: 0.125108 - 0.125108)
archetype_transform_norm: 8.933659 (range: 8.933659 - 8.933659)
archetype_transform_grad_norm: 0.308438 (range: 0.308438 - 0.308438)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0177, max=0.4247, mean=0.1429
Batch reconstruction MSE: 1.0129
Archetype stats: min=-23.9488, max=20.0161
Archetype change since last debug: 2.666256
Archetype gradients: norm=0.042267, mean=0.001717
Epoch 1/1
Average loss: 0.7774
Archetypal loss: 0.8477
KLD loss: 0.1443
Reconstruction loss: 0.8477
Archetype R²: 0.1274
Archetype transform grad norm: 0.322384
Archetype transform param norm: 8.9805
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.7774 (range: 0.7774 - 0.7774)
archetypal_loss: 0.8477 (range: 0.8477 - 0.8477)
kld_loss: 0.1443 (range: 0.1443 - 0.1443)
reconstruction_loss: 0.8477 (range: 0.8477 - 0.8477)
archetype_r2: 0.1274 (range: 0.1274 - 0.1274)
Archetype Transform Summary:
archetype_transform_mean: 0.000036 (range: 0.000036 - 0.000036)
archetype_transform_std: 0.125764 (range: 0.125764 - 0.125764)
archetype_transform_norm: 8.980488 (range: 8.980488 - 8.980488)
archetype_transform_grad_norm: 0.322384 (range: 0.322384 - 0.322384)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0187, max=0.5866, mean=0.1429
Batch reconstruction MSE: 1.0141
Archetype stats: min=-24.4447, max=20.0205
Archetype change since last debug: 2.102234
Archetype gradients: norm=0.030079, mean=0.001313
Epoch 1/1
Average loss: 0.7778
Archetypal loss: 0.8478
KLD loss: 0.1479
Reconstruction loss: 0.8478
Archetype R²: 0.1273
Archetype transform grad norm: 0.331663
Archetype transform param norm: 9.0266
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.7778 (range: 0.7778 - 0.7778)
archetypal_loss: 0.8478 (range: 0.8478 - 0.8478)
kld_loss: 0.1479 (range: 0.1479 - 0.1479)
reconstruction_loss: 0.8478 (range: 0.8478 - 0.8478)
archetype_r2: 0.1273 (range: 0.1273 - 0.1273)
Archetype Transform Summary:
archetype_transform_mean: -0.000107 (range: -0.000107 - -0.000107)
archetype_transform_std: 0.126410 (range: 0.126410 - 0.126410)
archetype_transform_norm: 9.026608 (range: 9.026608 - 9.026608)
archetype_transform_grad_norm: 0.331663 (range: 0.331663 - 0.331663)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0194, max=0.4318, mean=0.1429
Batch reconstruction MSE: 1.0208
Archetype stats: min=-24.2911, max=20.3438
Archetype change since last debug: 2.001829
Archetype gradients: norm=0.046453, mean=0.001779
Epoch 1/1
Average loss: 0.7768
Archetypal loss: 0.8476
KLD loss: 0.1398
Reconstruction loss: 0.8476
Archetype R²: 0.1275
Archetype transform grad norm: 0.327754
Archetype transform param norm: 9.0507
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.7768 (range: 0.7768 - 0.7768)
archetypal_loss: 0.8476 (range: 0.8476 - 0.8476)
kld_loss: 0.1398 (range: 0.1398 - 0.1398)
reconstruction_loss: 0.8476 (range: 0.8476 - 0.8476)
archetype_r2: 0.1275 (range: 0.1275 - 0.1275)
Archetype Transform Summary:
archetype_transform_mean: 0.000025 (range: 0.000025 - 0.000025)
archetype_transform_std: 0.126747 (range: 0.126747 - 0.126747)
archetype_transform_norm: 9.050667 (range: 9.050667 - 9.050667)
archetype_transform_grad_norm: 0.327754 (range: 0.327754 - 0.327754)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0221, max=0.5522, mean=0.1429
Batch reconstruction MSE: 0.8957
Archetype stats: min=-24.5963, max=20.3881
Archetype change since last debug: 1.787244
Archetype gradients: norm=0.024338, mean=0.001051
Epoch 1/1
Average loss: 0.7736
Archetypal loss: 0.8434
KLD loss: 0.1450
Reconstruction loss: 0.8434
Archetype R²: 0.1320
Archetype transform grad norm: 0.327693
Archetype transform param norm: 9.1119
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.7736 (range: 0.7736 - 0.7736)
archetypal_loss: 0.8434 (range: 0.8434 - 0.8434)
kld_loss: 0.1450 (range: 0.1450 - 0.1450)
reconstruction_loss: 0.8434 (range: 0.8434 - 0.8434)
archetype_r2: 0.1320 (range: 0.1320 - 0.1320)
Archetype Transform Summary:
archetype_transform_mean: -0.000065 (range: -0.000065 - -0.000065)
archetype_transform_std: 0.127605 (range: 0.127605 - 0.127605)
archetype_transform_norm: 9.111930 (range: 9.111930 - 9.111930)
archetype_transform_grad_norm: 0.327693 (range: 0.327693 - 0.327693)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0204, max=0.4464, mean=0.1429
Batch reconstruction MSE: 0.9340
Archetype stats: min=-24.8275, max=20.8214
Archetype change since last debug: 2.241508
Archetype gradients: norm=0.046327, mean=0.001826
Epoch 1/1
Average loss: 0.7734
Archetypal loss: 0.8440
KLD loss: 0.1386
Reconstruction loss: 0.8440
Archetype R²: 0.1313
Archetype transform grad norm: 0.328341
Archetype transform param norm: 9.1528
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.7734 (range: 0.7734 - 0.7734)
archetypal_loss: 0.8440 (range: 0.8440 - 0.8440)
kld_loss: 0.1386 (range: 0.1386 - 0.1386)
reconstruction_loss: 0.8440 (range: 0.8440 - 0.8440)
archetype_r2: 0.1313 (range: 0.1313 - 0.1313)
Archetype Transform Summary:
archetype_transform_mean: 0.000026 (range: 0.000026 - 0.000026)
archetype_transform_std: 0.128177 (range: 0.128177 - 0.128177)
archetype_transform_norm: 9.152751 (range: 9.152751 - 9.152751)
archetype_transform_grad_norm: 0.328341 (range: 0.328341 - 0.328341)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0198, max=0.5042, mean=0.1429
Batch reconstruction MSE: 0.9787
Archetype stats: min=-25.3759, max=20.8850
Archetype change since last debug: 2.061188
Archetype gradients: norm=0.035079, mean=0.001552
Epoch 1/1
Average loss: 0.7735
Archetypal loss: 0.8440
KLD loss: 0.1388
Reconstruction loss: 0.8440
Archetype R²: 0.1310
Archetype transform grad norm: 0.329194
Archetype transform param norm: 9.2044
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.7735 (range: 0.7735 - 0.7735)
archetypal_loss: 0.8440 (range: 0.8440 - 0.8440)
kld_loss: 0.1388 (range: 0.1388 - 0.1388)
reconstruction_loss: 0.8440 (range: 0.8440 - 0.8440)
archetype_r2: 0.1310 (range: 0.1310 - 0.1310)
Archetype Transform Summary:
archetype_transform_mean: -0.000062 (range: -0.000062 - -0.000062)
archetype_transform_std: 0.128900 (range: 0.128900 - 0.128900)
archetype_transform_norm: 9.204373 (range: 9.204373 - 9.204373)
archetype_transform_grad_norm: 0.329194 (range: 0.329194 - 0.329194)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0242, max=0.5200, mean=0.1429
Batch reconstruction MSE: 0.9669
Archetype stats: min=-25.1718, max=21.1998
Archetype change since last debug: 1.963091
Archetype gradients: norm=0.055082, mean=0.002136
Epoch 1/1
Average loss: 0.7728
Archetypal loss: 0.8434
KLD loss: 0.1372
Reconstruction loss: 0.8434
Archetype R²: 0.1316
Archetype transform grad norm: 0.329739
Archetype transform param norm: 9.2302
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.7728 (range: 0.7728 - 0.7728)
archetypal_loss: 0.8434 (range: 0.8434 - 0.8434)
kld_loss: 0.1372 (range: 0.1372 - 0.1372)
reconstruction_loss: 0.8434 (range: 0.8434 - 0.8434)
archetype_r2: 0.1316 (range: 0.1316 - 0.1316)
Archetype Transform Summary:
archetype_transform_mean: 0.000033 (range: 0.000033 - 0.000033)
archetype_transform_std: 0.129261 (range: 0.129261 - 0.129261)
archetype_transform_norm: 9.230173 (range: 9.230173 - 9.230173)
archetype_transform_grad_norm: 0.329739 (range: 0.329739 - 0.329739)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0243, max=0.4557, mean=0.1429
Batch reconstruction MSE: 0.9846
Archetype stats: min=-25.7757, max=21.1818
Archetype change since last debug: 1.956474
Archetype gradients: norm=0.039255, mean=0.001712
Epoch 1/1
Average loss: 0.7727
Archetypal loss: 0.8434
KLD loss: 0.1365
Reconstruction loss: 0.8434
Archetype R²: 0.1315
Archetype transform grad norm: 0.332372
Archetype transform param norm: 9.2798
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.7727 (range: 0.7727 - 0.7727)
archetypal_loss: 0.8434 (range: 0.8434 - 0.8434)
kld_loss: 0.1365 (range: 0.1365 - 0.1365)
reconstruction_loss: 0.8434 (range: 0.8434 - 0.8434)
archetype_r2: 0.1315 (range: 0.1315 - 0.1315)
Archetype Transform Summary:
archetype_transform_mean: -0.000044 (range: -0.000044 - -0.000044)
archetype_transform_std: 0.129956 (range: 0.129956 - 0.129956)
archetype_transform_norm: 9.279832 (range: 9.279832 - 9.279832)
archetype_transform_grad_norm: 0.332372 (range: 0.332372 - 0.332372)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0170, max=0.4538, mean=0.1429
Batch reconstruction MSE: 1.0992
Archetype stats: min=-25.0101, max=21.4903
Archetype change since last debug: 2.414547
Archetype gradients: norm=0.045482, mean=0.001674
Epoch 1/1
Average loss: 0.7769
Archetypal loss: 0.8473
KLD loss: 0.1432
Reconstruction loss: 0.8473
Archetype R²: 0.1271
Archetype transform grad norm: 0.332439
Archetype transform param norm: 9.2752
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.7769 (range: 0.7769 - 0.7769)
archetypal_loss: 0.8473 (range: 0.8473 - 0.8473)
kld_loss: 0.1432 (range: 0.1432 - 0.1432)
reconstruction_loss: 0.8473 (range: 0.8473 - 0.8473)
archetype_r2: 0.1271 (range: 0.1271 - 0.1271)
Archetype Transform Summary:
archetype_transform_mean: -0.000002 (range: -0.000002 - -0.000002)
archetype_transform_std: 0.129891 (range: 0.129891 - 0.129891)
archetype_transform_norm: 9.275194 (range: 9.275194 - 9.275194)
archetype_transform_grad_norm: 0.332439 (range: 0.332439 - 0.332439)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0179, max=0.5351, mean=0.1429
Batch reconstruction MSE: 0.9373
Archetype stats: min=-24.8711, max=21.2042
Archetype change since last debug: 1.819094
Archetype gradients: norm=0.027262, mean=0.001178
Epoch 1/1
Average loss: 0.7715
Archetypal loss: 0.8422
KLD loss: 0.1348
Reconstruction loss: 0.8422
Archetype R²: 0.1327
Archetype transform grad norm: 0.331081
Archetype transform param norm: 9.3048
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.7715 (range: 0.7715 - 0.7715)
archetypal_loss: 0.8422 (range: 0.8422 - 0.8422)
kld_loss: 0.1348 (range: 0.1348 - 0.1348)
reconstruction_loss: 0.8422 (range: 0.8422 - 0.8422)
archetype_r2: 0.1327 (range: 0.1327 - 0.1327)
Archetype Transform Summary:
archetype_transform_mean: -0.000027 (range: -0.000027 - -0.000027)
archetype_transform_std: 0.130306 (range: 0.130306 - 0.130306)
archetype_transform_norm: 9.304825 (range: 9.304825 - 9.304825)
archetype_transform_grad_norm: 0.331081 (range: 0.331081 - 0.331081)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0275, max=0.4371, mean=0.1429
Batch reconstruction MSE: 0.9130
Archetype stats: min=-24.7216, max=21.5498
Archetype change since last debug: 1.685550
Archetype gradients: norm=0.024508, mean=0.000842
Epoch 1/1
Average loss: 0.7700
Archetypal loss: 0.8407
KLD loss: 0.1340
Reconstruction loss: 0.8407
Archetype R²: 0.1343
Archetype transform grad norm: 0.318465
Archetype transform param norm: 9.3507
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.7700 (range: 0.7700 - 0.7700)
archetypal_loss: 0.8407 (range: 0.8407 - 0.8407)
kld_loss: 0.1340 (range: 0.1340 - 0.1340)
reconstruction_loss: 0.8407 (range: 0.8407 - 0.8407)
archetype_r2: 0.1343 (range: 0.1343 - 0.1343)
Archetype Transform Summary:
archetype_transform_mean: -0.000034 (range: -0.000034 - -0.000034)
archetype_transform_std: 0.130949 (range: 0.130949 - 0.130949)
archetype_transform_norm: 9.350732 (range: 9.350732 - 9.350732)
archetype_transform_grad_norm: 0.318465 (range: 0.318465 - 0.318465)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0240, max=0.5696, mean=0.1429
Batch reconstruction MSE: 0.8588
Archetype stats: min=-25.2421, max=21.7272
Archetype change since last debug: 2.085310
Archetype gradients: norm=0.026172, mean=0.000999
Epoch 1/1
Average loss: 0.7684
Archetypal loss: 0.8393
KLD loss: 0.1303
Reconstruction loss: 0.8393
Archetype R²: 0.1358
Archetype transform grad norm: 0.326590
Archetype transform param norm: 9.4029
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.7684 (range: 0.7684 - 0.7684)
archetypal_loss: 0.8393 (range: 0.8393 - 0.8393)
kld_loss: 0.1303 (range: 0.1303 - 0.1303)
reconstruction_loss: 0.8393 (range: 0.8393 - 0.8393)
archetype_r2: 0.1358 (range: 0.1358 - 0.1358)
Archetype Transform Summary:
archetype_transform_mean: -0.000012 (range: -0.000012 - -0.000012)
archetype_transform_std: 0.131680 (range: 0.131680 - 0.131680)
archetype_transform_norm: 9.402928 (range: 9.402928 - 9.402928)
archetype_transform_grad_norm: 0.326590 (range: 0.326590 - 0.326590)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0264, max=0.4607, mean=0.1429
Batch reconstruction MSE: 0.8392
Archetype stats: min=-25.4563, max=22.0119
Archetype change since last debug: 1.936562
Archetype gradients: norm=0.020272, mean=0.000812
Epoch 1/1
Average loss: 0.7671
Archetypal loss: 0.8383
KLD loss: 0.1263
Reconstruction loss: 0.8383
Archetype R²: 0.1368
Archetype transform grad norm: 0.317792
Archetype transform param norm: 9.4584
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.7671 (range: 0.7671 - 0.7671)
archetypal_loss: 0.8383 (range: 0.8383 - 0.8383)
kld_loss: 0.1263 (range: 0.1263 - 0.1263)
reconstruction_loss: 0.8383 (range: 0.8383 - 0.8383)
archetype_r2: 0.1368 (range: 0.1368 - 0.1368)
Archetype Transform Summary:
archetype_transform_mean: -0.000009 (range: -0.000009 - -0.000009)
archetype_transform_std: 0.132456 (range: 0.132456 - 0.132456)
archetype_transform_norm: 9.458356 (range: 9.458356 - 9.458356)
archetype_transform_grad_norm: 0.317792 (range: 0.317792 - 0.317792)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0273, max=0.5076, mean=0.1429
Batch reconstruction MSE: 0.8604
Archetype stats: min=-26.1644, max=22.2140
Archetype change since last debug: 2.190711
Archetype gradients: norm=0.036677, mean=0.001267
Epoch 1/1
Average loss: 0.7667
Archetypal loss: 0.8382
KLD loss: 0.1237
Reconstruction loss: 0.8382
Archetype R²: 0.1368
Archetype transform grad norm: 0.323263
Archetype transform param norm: 9.5060
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.7667 (range: 0.7667 - 0.7667)
archetypal_loss: 0.8382 (range: 0.8382 - 0.8382)
kld_loss: 0.1237 (range: 0.1237 - 0.1237)
reconstruction_loss: 0.8382 (range: 0.8382 - 0.8382)
archetype_r2: 0.1368 (range: 0.1368 - 0.1368)
Archetype Transform Summary:
archetype_transform_mean: -0.000003 (range: -0.000003 - -0.000003)
archetype_transform_std: 0.133124 (range: 0.133124 - 0.133124)
archetype_transform_norm: 9.505988 (range: 9.505988 - 9.505988)
archetype_transform_grad_norm: 0.323263 (range: 0.323263 - 0.323263)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0277, max=0.4961, mean=0.1429
Batch reconstruction MSE: 0.9022
Archetype stats: min=-26.4505, max=22.6764
Archetype change since last debug: 1.913422
Archetype gradients: norm=0.034802, mean=0.001470
Epoch 1/1
Average loss: 0.7673
Archetypal loss: 0.8388
KLD loss: 0.1243
Reconstruction loss: 0.8388
Archetype R²: 0.1360
Archetype transform grad norm: 0.325222
Archetype transform param norm: 9.5452
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.7673 (range: 0.7673 - 0.7673)
archetypal_loss: 0.8388 (range: 0.8388 - 0.8388)
kld_loss: 0.1243 (range: 0.1243 - 0.1243)
reconstruction_loss: 0.8388 (range: 0.8388 - 0.8388)
archetype_r2: 0.1360 (range: 0.1360 - 0.1360)
Archetype Transform Summary:
archetype_transform_mean: 0.000030 (range: 0.000030 - 0.000030)
archetype_transform_std: 0.133673 (range: 0.133673 - 0.133673)
archetype_transform_norm: 9.545249 (range: 9.545249 - 9.545249)
archetype_transform_grad_norm: 0.325222 (range: 0.325222 - 0.325222)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0240, max=0.4953, mean=0.1429
Batch reconstruction MSE: 0.9313
Archetype stats: min=-27.0828, max=22.6773
Archetype change since last debug: 1.898111
Archetype gradients: norm=0.045474, mean=0.001732
Epoch 1/1
Average loss: 0.7684
Archetypal loss: 0.8402
KLD loss: 0.1226
Reconstruction loss: 0.8402
Archetype R²: 0.1344
Archetype transform grad norm: 0.344464
Archetype transform param norm: 9.5704
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.7684 (range: 0.7684 - 0.7684)
archetypal_loss: 0.8402 (range: 0.8402 - 0.8402)
kld_loss: 0.1226 (range: 0.1226 - 0.1226)
reconstruction_loss: 0.8402 (range: 0.8402 - 0.8402)
archetype_r2: 0.1344 (range: 0.1344 - 0.1344)
Archetype Transform Summary:
archetype_transform_mean: -0.000008 (range: -0.000008 - -0.000008)
archetype_transform_std: 0.134025 (range: 0.134025 - 0.134025)
archetype_transform_norm: 9.570393 (range: 9.570393 - 9.570393)
archetype_transform_grad_norm: 0.344464 (range: 0.344464 - 0.344464)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0291, max=0.4869, mean=0.1429
Batch reconstruction MSE: 0.9317
Archetype stats: min=-26.7910, max=23.0485
Archetype change since last debug: 1.627511
Archetype gradients: norm=0.050898, mean=0.002235
Epoch 1/1
Average loss: 0.7692
Archetypal loss: 0.8408
KLD loss: 0.1244
Reconstruction loss: 0.8408
Archetype R²: 0.1338
Archetype transform grad norm: 0.351643
Archetype transform param norm: 9.5880
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.7692 (range: 0.7692 - 0.7692)
archetypal_loss: 0.8408 (range: 0.8408 - 0.8408)
kld_loss: 0.1244 (range: 0.1244 - 0.1244)
reconstruction_loss: 0.8408 (range: 0.8408 - 0.8408)
archetype_r2: 0.1338 (range: 0.1338 - 0.1338)
Archetype Transform Summary:
archetype_transform_mean: 0.000043 (range: 0.000043 - 0.000043)
archetype_transform_std: 0.134272 (range: 0.134272 - 0.134272)
archetype_transform_norm: 9.587980 (range: 9.587980 - 9.587980)
archetype_transform_grad_norm: 0.351643 (range: 0.351643 - 0.351643)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0251, max=0.5297, mean=0.1429
Batch reconstruction MSE: 0.9514
Archetype stats: min=-27.3955, max=22.6911
Archetype change since last debug: 2.056230
Archetype gradients: norm=0.061106, mean=0.002262
Epoch 1/1
Average loss: 0.7686
Archetypal loss: 0.8404
KLD loss: 0.1221
Reconstruction loss: 0.8404
Archetype R²: 0.1341
Archetype transform grad norm: 0.352117
Archetype transform param norm: 9.6003
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.7686 (range: 0.7686 - 0.7686)
archetypal_loss: 0.8404 (range: 0.8404 - 0.8404)
kld_loss: 0.1221 (range: 0.1221 - 0.1221)
reconstruction_loss: 0.8404 (range: 0.8404 - 0.8404)
archetype_r2: 0.1341 (range: 0.1341 - 0.1341)
Archetype Transform Summary:
archetype_transform_mean: 0.000008 (range: 0.000008 - 0.000008)
archetype_transform_std: 0.134444 (range: 0.134444 - 0.134444)
archetype_transform_norm: 9.600252 (range: 9.600252 - 9.600252)
archetype_transform_grad_norm: 0.352117 (range: 0.352117 - 0.352117)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0297, max=0.4801, mean=0.1429
Batch reconstruction MSE: 0.9426
Archetype stats: min=-26.6256, max=23.0542
Archetype change since last debug: 2.076481
Archetype gradients: norm=0.050100, mean=0.002310
Epoch 1/1
Average loss: 0.7681
Archetypal loss: 0.8396
KLD loss: 0.1245
Reconstruction loss: 0.8396
Archetype R²: 0.1348
Archetype transform grad norm: 0.349121
Archetype transform param norm: 9.6185
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.7681 (range: 0.7681 - 0.7681)
archetypal_loss: 0.8396 (range: 0.8396 - 0.8396)
kld_loss: 0.1245 (range: 0.1245 - 0.1245)
reconstruction_loss: 0.8396 (range: 0.8396 - 0.8396)
archetype_r2: 0.1348 (range: 0.1348 - 0.1348)
Archetype Transform Summary:
archetype_transform_mean: 0.000015 (range: 0.000015 - 0.000015)
archetype_transform_std: 0.134699 (range: 0.134699 - 0.134699)
archetype_transform_norm: 9.618525 (range: 9.618525 - 9.618525)
archetype_transform_grad_norm: 0.349121 (range: 0.349121 - 0.349121)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0282, max=0.5008, mean=0.1429
Batch reconstruction MSE: 0.9738
Archetype stats: min=-27.3922, max=22.3696
Archetype change since last debug: 2.350425
Archetype gradients: norm=0.048811, mean=0.001983
Epoch 1/1
Average loss: 0.7678
Archetypal loss: 0.8400
KLD loss: 0.1179
Reconstruction loss: 0.8400
Archetype R²: 0.1343
Archetype transform grad norm: 0.348338
Archetype transform param norm: 9.6373
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.7678 (range: 0.7678 - 0.7678)
archetypal_loss: 0.8400 (range: 0.8400 - 0.8400)
kld_loss: 0.1179 (range: 0.1179 - 0.1179)
reconstruction_loss: 0.8400 (range: 0.8400 - 0.8400)
archetype_r2: 0.1343 (range: 0.1343 - 0.1343)
Archetype Transform Summary:
archetype_transform_mean: -0.000001 (range: -0.000001 - -0.000001)
archetype_transform_std: 0.134962 (range: 0.134962 - 0.134962)
archetype_transform_norm: 9.637295 (range: 9.637295 - 9.637295)
archetype_transform_grad_norm: 0.348338 (range: 0.348338 - 0.348338)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0293, max=0.4986, mean=0.1429
Batch reconstruction MSE: 0.9107
Archetype stats: min=-26.4125, max=22.7594
Archetype change since last debug: 2.440738
Archetype gradients: norm=0.036151, mean=0.001610
Epoch 1/1
Average loss: 0.7664
Archetypal loss: 0.8380
KLD loss: 0.1220
Reconstruction loss: 0.8380
Archetype R²: 0.1365
Archetype transform grad norm: 0.335039
Archetype transform param norm: 9.6604
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.7664 (range: 0.7664 - 0.7664)
archetypal_loss: 0.8380 (range: 0.8380 - 0.8380)
kld_loss: 0.1220 (range: 0.1220 - 0.1220)
reconstruction_loss: 0.8380 (range: 0.8380 - 0.8380)
archetype_r2: 0.1365 (range: 0.1365 - 0.1365)
Archetype Transform Summary:
archetype_transform_mean: 0.000021 (range: 0.000021 - 0.000021)
archetype_transform_std: 0.135286 (range: 0.135286 - 0.135286)
archetype_transform_norm: 9.660440 (range: 9.660440 - 9.660440)
archetype_transform_grad_norm: 0.335039 (range: 0.335039 - 0.335039)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0234, max=0.5027, mean=0.1429
Batch reconstruction MSE: 0.8895
Archetype stats: min=-27.2627, max=22.3716
Archetype change since last debug: 2.173290
Archetype gradients: norm=0.035390, mean=0.001378
Epoch 1/1
Average loss: 0.7650
Archetypal loss: 0.8372
KLD loss: 0.1152
Reconstruction loss: 0.8372
Archetype R²: 0.1373
Archetype transform grad norm: 0.330987
Archetype transform param norm: 9.6924
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.7650 (range: 0.7650 - 0.7650)
archetypal_loss: 0.8372 (range: 0.8372 - 0.8372)
kld_loss: 0.1152 (range: 0.1152 - 0.1152)
reconstruction_loss: 0.8372 (range: 0.8372 - 0.8372)
archetype_r2: 0.1373 (range: 0.1373 - 0.1373)
Archetype Transform Summary:
archetype_transform_mean: 0.000026 (range: 0.000026 - 0.000026)
archetype_transform_std: 0.135734 (range: 0.135734 - 0.135734)
archetype_transform_norm: 9.692385 (range: 9.692385 - 9.692385)
archetype_transform_grad_norm: 0.330987 (range: 0.330987 - 0.330987)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0306, max=0.5019, mean=0.1429
Batch reconstruction MSE: 0.8578
Archetype stats: min=-26.7400, max=22.9981
Archetype change since last debug: 1.997813
Archetype gradients: norm=0.030399, mean=0.001343
Epoch 1/1
Average loss: 0.7645
Archetypal loss: 0.8364
KLD loss: 0.1173
Reconstruction loss: 0.8364
Archetype R²: 0.1382
Archetype transform grad norm: 0.332000
Archetype transform param norm: 9.7272
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.7645 (range: 0.7645 - 0.7645)
archetypal_loss: 0.8364 (range: 0.8364 - 0.8364)
kld_loss: 0.1173 (range: 0.1173 - 0.1173)
reconstruction_loss: 0.8364 (range: 0.8364 - 0.8364)
archetype_r2: 0.1382 (range: 0.1382 - 0.1382)
Archetype Transform Summary:
archetype_transform_mean: -0.000003 (range: -0.000003 - -0.000003)
archetype_transform_std: 0.136222 (range: 0.136222 - 0.136222)
archetype_transform_norm: 9.727210 (range: 9.727210 - 9.727210)
archetype_transform_grad_norm: 0.332000 (range: 0.332000 - 0.332000)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0327, max=0.4869, mean=0.1429
Batch reconstruction MSE: 0.8760
Archetype stats: min=-27.6409, max=22.8547
Archetype change since last debug: 2.167568
Archetype gradients: norm=0.039621, mean=0.001440
Epoch 1/1
Average loss: 0.7641
Archetypal loss: 0.8365
KLD loss: 0.1126
Reconstruction loss: 0.8365
Archetype R²: 0.1379
Archetype transform grad norm: 0.332319
Archetype transform param norm: 9.7545
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.7641 (range: 0.7641 - 0.7641)
archetypal_loss: 0.8365 (range: 0.8365 - 0.8365)
kld_loss: 0.1126 (range: 0.1126 - 0.1126)
reconstruction_loss: 0.8365 (range: 0.8365 - 0.8365)
archetype_r2: 0.1379 (range: 0.1379 - 0.1379)
Archetype Transform Summary:
archetype_transform_mean: 0.000068 (range: 0.000068 - 0.000068)
archetype_transform_std: 0.136604 (range: 0.136604 - 0.136604)
archetype_transform_norm: 9.754515 (range: 9.754515 - 9.754515)
archetype_transform_grad_norm: 0.332319 (range: 0.332319 - 0.332319)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0300, max=0.5080, mean=0.1429
Batch reconstruction MSE: 0.8562
Archetype stats: min=-27.2937, max=23.3300
Archetype change since last debug: 1.694314
Archetype gradients: norm=0.035686, mean=0.001476
Epoch 1/1
Average loss: 0.7640
Archetypal loss: 0.8361
KLD loss: 0.1156
Reconstruction loss: 0.8361
Archetype R²: 0.1384
Archetype transform grad norm: 0.337740
Archetype transform param norm: 9.7858
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.7640 (range: 0.7640 - 0.7640)
archetypal_loss: 0.8361 (range: 0.8361 - 0.8361)
kld_loss: 0.1156 (range: 0.1156 - 0.1156)
reconstruction_loss: 0.8361 (range: 0.8361 - 0.8361)
archetype_r2: 0.1384 (range: 0.1384 - 0.1384)
Archetype Transform Summary:
archetype_transform_mean: -0.000029 (range: -0.000029 - -0.000029)
archetype_transform_std: 0.137043 (range: 0.137043 - 0.137043)
archetype_transform_norm: 9.785845 (range: 9.785845 - 9.785845)
archetype_transform_grad_norm: 0.337740 (range: 0.337740 - 0.337740)
[OK] Completed in 58.5s
[STATS] Mean archetype R²: 0.1293
[STATS] Mean validation R²: 0.1293
đź§Ş Configuration 19/20: {'n_archetypes': 7, 'hidden_dims': [128], 'inflation_factor': 1.5, 'use_pcha_init': True, 'use_inflation': True}
Fold 1/3
Model input_dim: 50 (auto-detected from data)
Archetypes parameter registered: True
Archetypes requires_grad: True
Deep_AA (Deep Archetypal Analysis) initialized:
- Single-stage architecture (like Deep_2)
- Inflation factor: 1.5
- Direct archetypal coordinates (no bottleneck)
Consolidated Archetype Initialization
PCHA: True, Inflation: True (factor: 1.5)
Test inflation: False
Running PCHA initialization...
Input shape: (128, 50)
Target archetypes: 7
Running PCHA with 7 archetypes...
Data shape for PCHA: (50, 128)
PCHA Results:
Archetypes shape: (7, 50)
Archetype R²: 0.3358
SSE: 4202.9105
PCHA archetype R²: 0.3358
Archetype shape: (7, 50)
[OK] Initialized 7 archetypes using PCHA
Scalar Archetypal Inflation (factor: 1.50)
[OK] Inflation complete
[STATS] Positioning verification:
Data radius (max): 23.193
Data radius (mean): 6.439
Archetype distances: 3.858 to 32.785
Archetypes outside data: 1/7
Min archetype separation: 6.681
[OK] Archetype initialization complete (success: True)
[OK] Archetype initialization complete (PCHA: True, Inflation: 1.5)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0001, max=0.9274, mean=0.1429
Batch reconstruction MSE: 1.1409
Archetype stats: min=-1.3865, max=1.5143
Archetype gradients: norm=0.011197, mean=0.000458
Epoch 1/1
Average loss: 0.8817
Archetypal loss: 0.9635
KLD loss: 0.1448
Reconstruction loss: 0.9635
Archetype R²: -0.0118
Archetype transform grad norm: 0.170934
Archetype transform param norm: 5.8152
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.8817 (range: 0.8817 - 0.8817)
archetypal_loss: 0.9635 (range: 0.9635 - 0.9635)
kld_loss: 0.1448 (range: 0.1448 - 0.1448)
reconstruction_loss: 0.9635 (range: 0.9635 - 0.9635)
archetype_r2: -0.0118 (range: -0.0118 - -0.0118)
Archetype Transform Summary:
archetype_transform_mean: -0.000262 (range: -0.000262 - -0.000262)
archetype_transform_std: 0.081435 (range: 0.081435 - 0.081435)
archetype_transform_norm: 5.815192 (range: 5.815192 - 5.815192)
archetype_transform_grad_norm: 0.170934 (range: 0.170934 - 0.170934)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0044, max=0.8607, mean=0.1429
Batch reconstruction MSE: 1.0604
Archetype stats: min=-1.1369, max=1.4435
Archetype change since last debug: 6.987483
Archetype gradients: norm=0.002507, mean=0.000104
Epoch 1/1
Average loss: 0.8608
Archetypal loss: 0.9481
KLD loss: 0.0743
Reconstruction loss: 0.9481
Archetype R²: 0.0042
Archetype transform grad norm: 0.136876
Archetype transform param norm: 5.8601
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.8608 (range: 0.8608 - 0.8608)
archetypal_loss: 0.9481 (range: 0.9481 - 0.9481)
kld_loss: 0.0743 (range: 0.0743 - 0.0743)
reconstruction_loss: 0.9481 (range: 0.9481 - 0.9481)
archetype_r2: 0.0042 (range: 0.0042 - 0.0042)
Archetype Transform Summary:
archetype_transform_mean: -0.000500 (range: -0.000500 - -0.000500)
archetype_transform_std: 0.082065 (range: 0.082065 - 0.082065)
archetype_transform_norm: 5.860137 (range: 5.860137 - 5.860137)
archetype_transform_grad_norm: 0.136876 (range: 0.136876 - 0.136876)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0037, max=0.8964, mean=0.1429
Batch reconstruction MSE: 1.0737
Archetype stats: min=-1.8137, max=2.3705
Archetype change since last debug: 5.313515
Archetype gradients: norm=0.003858, mean=0.000155
Epoch 1/1
Average loss: 0.8481
Archetypal loss: 0.9279
KLD loss: 0.1306
Reconstruction loss: 0.9279
Archetype R²: 0.0258
Archetype transform grad norm: 0.167453
Archetype transform param norm: 6.0314
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.8481 (range: 0.8481 - 0.8481)
archetypal_loss: 0.9279 (range: 0.9279 - 0.9279)
kld_loss: 0.1306 (range: 0.1306 - 0.1306)
reconstruction_loss: 0.9279 (range: 0.9279 - 0.9279)
archetype_r2: 0.0258 (range: 0.0258 - 0.0258)
Archetype Transform Summary:
archetype_transform_mean: -0.000313 (range: -0.000313 - -0.000313)
archetype_transform_std: 0.084464 (range: 0.084464 - 0.084464)
archetype_transform_norm: 6.031386 (range: 6.031386 - 6.031386)
archetype_transform_grad_norm: 0.167453 (range: 0.167453 - 0.167453)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0038, max=0.9084, mean=0.1429
Batch reconstruction MSE: 1.1676
Archetype stats: min=-3.4578, max=4.2801
Archetype change since last debug: 10.393288
Archetype gradients: norm=0.010964, mean=0.000420
Epoch 1/1
Average loss: 0.8337
Archetypal loss: 0.9067
KLD loss: 0.1764
Reconstruction loss: 0.9067
Archetype R²: 0.0484
Archetype transform grad norm: 0.200335
Archetype transform param norm: 6.3188
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.8337 (range: 0.8337 - 0.8337)
archetypal_loss: 0.9067 (range: 0.9067 - 0.9067)
kld_loss: 0.1764 (range: 0.1764 - 0.1764)
reconstruction_loss: 0.9067 (range: 0.9067 - 0.9067)
archetype_r2: 0.0484 (range: 0.0484 - 0.0484)
Archetype Transform Summary:
archetype_transform_mean: -0.000025 (range: -0.000025 - -0.000025)
archetype_transform_std: 0.088490 (range: 0.088490 - 0.088490)
archetype_transform_norm: 6.318807 (range: 6.318807 - 6.318807)
archetype_transform_grad_norm: 0.200335 (range: 0.200335 - 0.200335)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0026, max=0.8695, mean=0.1429
Batch reconstruction MSE: 1.2787
Archetype stats: min=-5.3955, max=5.7678
Archetype change since last debug: 10.203911
Archetype gradients: norm=0.021206, mean=0.000824
Epoch 1/1
Average loss: 0.8229
Archetypal loss: 0.8933
KLD loss: 0.1890
Reconstruction loss: 0.8933
Archetype R²: 0.0627
Archetype transform grad norm: 0.219479
Archetype transform param norm: 6.6073
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.8229 (range: 0.8229 - 0.8229)
archetypal_loss: 0.8933 (range: 0.8933 - 0.8933)
kld_loss: 0.1890 (range: 0.1890 - 0.1890)
reconstruction_loss: 0.8933 (range: 0.8933 - 0.8933)
archetype_r2: 0.0627 (range: 0.0627 - 0.0627)
Archetype Transform Summary:
archetype_transform_mean: 0.000147 (range: 0.000147 - 0.000147)
archetype_transform_std: 0.092529 (range: 0.092529 - 0.092529)
archetype_transform_norm: 6.607256 (range: 6.607256 - 6.607256)
archetype_transform_grad_norm: 0.219479 (range: 0.219479 - 0.219479)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0032, max=0.8350, mean=0.1429
Batch reconstruction MSE: 1.3462
Archetype stats: min=-6.3734, max=7.1136
Archetype change since last debug: 7.973804
Archetype gradients: norm=0.029558, mean=0.001147
Epoch 1/1
Average loss: 0.8142
Archetypal loss: 0.8830
KLD loss: 0.1946
Reconstruction loss: 0.8830
Archetype R²: 0.0736
Archetype transform grad norm: 0.232409
Archetype transform param norm: 6.8572
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.8142 (range: 0.8142 - 0.8142)
archetypal_loss: 0.8830 (range: 0.8830 - 0.8830)
kld_loss: 0.1946 (range: 0.1946 - 0.1946)
reconstruction_loss: 0.8830 (range: 0.8830 - 0.8830)
archetype_r2: 0.0736 (range: 0.0736 - 0.0736)
Archetype Transform Summary:
archetype_transform_mean: 0.000249 (range: 0.000249 - 0.000249)
archetype_transform_std: 0.096030 (range: 0.096030 - 0.096030)
archetype_transform_norm: 6.857250 (range: 6.857250 - 6.857250)
archetype_transform_grad_norm: 0.232409 (range: 0.232409 - 0.232409)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0046, max=0.7394, mean=0.1429
Batch reconstruction MSE: 1.3919
Archetype stats: min=-7.0244, max=8.0398
Archetype change since last debug: 6.907116
Archetype gradients: norm=0.035943, mean=0.001436
Epoch 1/1
Average loss: 0.8076
Archetypal loss: 0.8760
KLD loss: 0.1921
Reconstruction loss: 0.8760
Archetype R²: 0.0811
Archetype transform grad norm: 0.240902
Archetype transform param norm: 7.0588
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.8076 (range: 0.8076 - 0.8076)
archetypal_loss: 0.8760 (range: 0.8760 - 0.8760)
kld_loss: 0.1921 (range: 0.1921 - 0.1921)
reconstruction_loss: 0.8760 (range: 0.8760 - 0.8760)
archetype_r2: 0.0811 (range: 0.0811 - 0.0811)
Archetype Transform Summary:
archetype_transform_mean: 0.000339 (range: 0.000339 - 0.000339)
archetype_transform_std: 0.098851 (range: 0.098851 - 0.098851)
archetype_transform_norm: 7.058759 (range: 7.058759 - 7.058759)
archetype_transform_grad_norm: 0.240902 (range: 0.240902 - 0.240902)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0050, max=0.6793, mean=0.1429
Batch reconstruction MSE: 1.4152
Archetype stats: min=-7.5456, max=8.7501
Archetype change since last debug: 5.576381
Archetype gradients: norm=0.040872, mean=0.001612
Epoch 1/1
Average loss: 0.8026
Archetypal loss: 0.8710
KLD loss: 0.1872
Reconstruction loss: 0.8710
Archetype R²: 0.0863
Archetype transform grad norm: 0.247044
Archetype transform param norm: 7.2160
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.8026 (range: 0.8026 - 0.8026)
archetypal_loss: 0.8710 (range: 0.8710 - 0.8710)
kld_loss: 0.1872 (range: 0.1872 - 0.1872)
reconstruction_loss: 0.8710 (range: 0.8710 - 0.8710)
archetype_r2: 0.0863 (range: 0.0863 - 0.0863)
Archetype Transform Summary:
archetype_transform_mean: 0.000390 (range: 0.000390 - 0.000390)
archetype_transform_std: 0.101054 (range: 0.101054 - 0.101054)
archetype_transform_norm: 7.216012 (range: 7.216012 - 7.216012)
archetype_transform_grad_norm: 0.247044 (range: 0.247044 - 0.247044)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0055, max=0.6763, mean=0.1429
Batch reconstruction MSE: 1.4102
Archetype stats: min=-8.0151, max=9.3342
Archetype change since last debug: 4.686545
Archetype gradients: norm=0.040338, mean=0.001631
Epoch 1/1
Average loss: 0.7980
Archetypal loss: 0.8664
KLD loss: 0.1825
Reconstruction loss: 0.8664
Archetype R²: 0.0911
Archetype transform grad norm: 0.250038
Archetype transform param norm: 7.3511
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.7980 (range: 0.7980 - 0.7980)
archetypal_loss: 0.8664 (range: 0.8664 - 0.8664)
kld_loss: 0.1825 (range: 0.1825 - 0.1825)
reconstruction_loss: 0.8664 (range: 0.8664 - 0.8664)
archetype_r2: 0.0911 (range: 0.0911 - 0.0911)
Archetype Transform Summary:
archetype_transform_mean: 0.000421 (range: 0.000421 - 0.000421)
archetype_transform_std: 0.102945 (range: 0.102945 - 0.102945)
archetype_transform_norm: 7.351072 (range: 7.351072 - 7.351072)
archetype_transform_grad_norm: 0.250038 (range: 0.250038 - 0.250038)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0057, max=0.6996, mean=0.1429
Batch reconstruction MSE: 1.3919
Archetype stats: min=-8.4842, max=9.8525
Archetype change since last debug: 4.250805
Archetype gradients: norm=0.039518, mean=0.001617
Epoch 1/1
Average loss: 0.7939
Archetypal loss: 0.8622
KLD loss: 0.1797
Reconstruction loss: 0.8622
Archetype R²: 0.0955
Archetype transform grad norm: 0.253613
Archetype transform param norm: 7.4782
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.7939 (range: 0.7939 - 0.7939)
archetypal_loss: 0.8622 (range: 0.8622 - 0.8622)
kld_loss: 0.1797 (range: 0.1797 - 0.1797)
reconstruction_loss: 0.8622 (range: 0.8622 - 0.8622)
archetype_r2: 0.0955 (range: 0.0955 - 0.0955)
Archetype Transform Summary:
archetype_transform_mean: 0.000447 (range: 0.000447 - 0.000447)
archetype_transform_std: 0.104725 (range: 0.104725 - 0.104725)
archetype_transform_norm: 7.478171 (range: 7.478171 - 7.478171)
archetype_transform_grad_norm: 0.253613 (range: 0.253613 - 0.253613)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0061, max=0.7302, mean=0.1429
Batch reconstruction MSE: 1.3686
Archetype stats: min=-9.6091, max=10.3458
Archetype change since last debug: 4.010945
Archetype gradients: norm=0.036366, mean=0.001533
Epoch 1/1
Average loss: 0.7899
Archetypal loss: 0.8577
KLD loss: 0.1798
Reconstruction loss: 0.8577
Archetype R²: 0.1001
Archetype transform grad norm: 0.254426
Archetype transform param norm: 7.6070
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.7899 (range: 0.7899 - 0.7899)
archetypal_loss: 0.8577 (range: 0.8577 - 0.8577)
kld_loss: 0.1798 (range: 0.1798 - 0.1798)
reconstruction_loss: 0.8577 (range: 0.8577 - 0.8577)
archetype_r2: 0.1001 (range: 0.1001 - 0.1001)
Archetype Transform Summary:
archetype_transform_mean: 0.000472 (range: 0.000472 - 0.000472)
archetype_transform_std: 0.106529 (range: 0.106529 - 0.106529)
archetype_transform_norm: 7.607049 (range: 7.607049 - 7.607049)
archetype_transform_grad_norm: 0.254426 (range: 0.254426 - 0.254426)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0064, max=0.7355, mean=0.1429
Batch reconstruction MSE: 1.3499
Archetype stats: min=-10.6587, max=10.7899
Archetype change since last debug: 3.903165
Archetype gradients: norm=0.036910, mean=0.001537
Epoch 1/1
Average loss: 0.7862
Archetypal loss: 0.8532
KLD loss: 0.1831
Reconstruction loss: 0.8532
Archetype R²: 0.1048
Archetype transform grad norm: 0.260068
Archetype transform param norm: 7.7393
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.7862 (range: 0.7862 - 0.7862)
archetypal_loss: 0.8532 (range: 0.8532 - 0.8532)
kld_loss: 0.1831 (range: 0.1831 - 0.1831)
reconstruction_loss: 0.8532 (range: 0.8532 - 0.8532)
archetype_r2: 0.1048 (range: 0.1048 - 0.1048)
Archetype Transform Summary:
archetype_transform_mean: 0.000502 (range: 0.000502 - 0.000502)
archetype_transform_std: 0.108381 (range: 0.108381 - 0.108381)
archetype_transform_norm: 7.739292 (range: 7.739292 - 7.739292)
archetype_transform_grad_norm: 0.260068 (range: 0.260068 - 0.260068)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0071, max=0.7323, mean=0.1429
Batch reconstruction MSE: 1.3384
Archetype stats: min=-11.6637, max=11.2483
Archetype change since last debug: 3.835710
Archetype gradients: norm=0.038117, mean=0.001552
Epoch 1/1
Average loss: 0.7826
Archetypal loss: 0.8489
KLD loss: 0.1860
Reconstruction loss: 0.8489
Archetype R²: 0.1093
Archetype transform grad norm: 0.262503
Archetype transform param norm: 7.8725
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.7826 (range: 0.7826 - 0.7826)
archetypal_loss: 0.8489 (range: 0.8489 - 0.8489)
kld_loss: 0.1860 (range: 0.1860 - 0.1860)
reconstruction_loss: 0.8489 (range: 0.8489 - 0.8489)
archetype_r2: 0.1093 (range: 0.1093 - 0.1093)
Archetype Transform Summary:
archetype_transform_mean: 0.000523 (range: 0.000523 - 0.000523)
archetype_transform_std: 0.110247 (range: 0.110247 - 0.110247)
archetype_transform_norm: 7.872504 (range: 7.872504 - 7.872504)
archetype_transform_grad_norm: 0.262503 (range: 0.262503 - 0.262503)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0079, max=0.7114, mean=0.1429
Batch reconstruction MSE: 1.3387
Archetype stats: min=-12.6465, max=11.6700
Archetype change since last debug: 3.778241
Archetype gradients: norm=0.043441, mean=0.001644
Epoch 1/1
Average loss: 0.7800
Archetypal loss: 0.8456
KLD loss: 0.1889
Reconstruction loss: 0.8456
Archetype R²: 0.1128
Archetype transform grad norm: 0.268693
Archetype transform param norm: 7.9985
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.7800 (range: 0.7800 - 0.7800)
archetypal_loss: 0.8456 (range: 0.8456 - 0.8456)
kld_loss: 0.1889 (range: 0.1889 - 0.1889)
reconstruction_loss: 0.8456 (range: 0.8456 - 0.8456)
archetype_r2: 0.1128 (range: 0.1128 - 0.1128)
Archetype Transform Summary:
archetype_transform_mean: 0.000540 (range: 0.000540 - 0.000540)
archetype_transform_std: 0.112011 (range: 0.112011 - 0.112011)
archetype_transform_norm: 7.998500 (range: 7.998500 - 7.998500)
archetype_transform_grad_norm: 0.268693 (range: 0.268693 - 0.268693)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0098, max=0.6695, mean=0.1429
Batch reconstruction MSE: 1.3515
Archetype stats: min=-13.5422, max=12.0904
Archetype change since last debug: 3.435904
Archetype gradients: norm=0.047978, mean=0.001749
Epoch 1/1
Average loss: 0.7778
Archetypal loss: 0.8434
KLD loss: 0.1871
Reconstruction loss: 0.8434
Archetype R²: 0.1151
Archetype transform grad norm: 0.271169
Archetype transform param norm: 8.1035
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.7778 (range: 0.7778 - 0.7778)
archetypal_loss: 0.8434 (range: 0.8434 - 0.8434)
kld_loss: 0.1871 (range: 0.1871 - 0.1871)
reconstruction_loss: 0.8434 (range: 0.8434 - 0.8434)
archetype_r2: 0.1151 (range: 0.1151 - 0.1151)
Archetype Transform Summary:
archetype_transform_mean: 0.000555 (range: 0.000555 - 0.000555)
archetype_transform_std: 0.113481 (range: 0.113481 - 0.113481)
archetype_transform_norm: 8.103456 (range: 8.103456 - 8.103456)
archetype_transform_grad_norm: 0.271169 (range: 0.271169 - 0.271169)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0111, max=0.6200, mean=0.1429
Batch reconstruction MSE: 1.3470
Archetype stats: min=-14.3446, max=12.4772
Archetype change since last debug: 3.084811
Archetype gradients: norm=0.047680, mean=0.001726
Epoch 1/1
Average loss: 0.7751
Archetypal loss: 0.8406
KLD loss: 0.1858
Reconstruction loss: 0.8406
Archetype R²: 0.1180
Archetype transform grad norm: 0.272153
Archetype transform param norm: 8.2037
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.7751 (range: 0.7751 - 0.7751)
archetypal_loss: 0.8406 (range: 0.8406 - 0.8406)
kld_loss: 0.1858 (range: 0.1858 - 0.1858)
reconstruction_loss: 0.8406 (range: 0.8406 - 0.8406)
archetype_r2: 0.1180 (range: 0.1180 - 0.1180)
Archetype Transform Summary:
archetype_transform_mean: 0.000571 (range: 0.000571 - 0.000571)
archetype_transform_std: 0.114885 (range: 0.114885 - 0.114885)
archetype_transform_norm: 8.203715 (range: 8.203715 - 8.203715)
archetype_transform_grad_norm: 0.272153 (range: 0.272153 - 0.272153)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0121, max=0.5520, mean=0.1429
Batch reconstruction MSE: 1.3307
Archetype stats: min=-15.0565, max=12.8745
Archetype change since last debug: 2.905813
Archetype gradients: norm=0.046816, mean=0.001689
Epoch 1/1
Average loss: 0.7731
Archetypal loss: 0.8387
KLD loss: 0.1830
Reconstruction loss: 0.8387
Archetype R²: 0.1200
Archetype transform grad norm: 0.276784
Archetype transform param norm: 8.2941
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.7731 (range: 0.7731 - 0.7731)
archetypal_loss: 0.8387 (range: 0.8387 - 0.8387)
kld_loss: 0.1830 (range: 0.1830 - 0.1830)
reconstruction_loss: 0.8387 (range: 0.8387 - 0.8387)
archetype_r2: 0.1200 (range: 0.1200 - 0.1200)
Archetype Transform Summary:
archetype_transform_mean: 0.000579 (range: 0.000579 - 0.000579)
archetype_transform_std: 0.116150 (range: 0.116150 - 0.116150)
archetype_transform_norm: 8.294053 (range: 8.294053 - 8.294053)
archetype_transform_grad_norm: 0.276784 (range: 0.276784 - 0.276784)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0123, max=0.4949, mean=0.1429
Batch reconstruction MSE: 1.3172
Archetype stats: min=-15.7646, max=13.3522
Archetype change since last debug: 2.818105
Archetype gradients: norm=0.045256, mean=0.001619
Epoch 1/1
Average loss: 0.7712
Archetypal loss: 0.8368
KLD loss: 0.1813
Reconstruction loss: 0.8368
Archetype R²: 0.1220
Archetype transform grad norm: 0.279882
Archetype transform param norm: 8.3834
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.7712 (range: 0.7712 - 0.7712)
archetypal_loss: 0.8368 (range: 0.8368 - 0.8368)
kld_loss: 0.1813 (range: 0.1813 - 0.1813)
reconstruction_loss: 0.8368 (range: 0.8368 - 0.8368)
archetype_r2: 0.1220 (range: 0.1220 - 0.1220)
Archetype Transform Summary:
archetype_transform_mean: 0.000588 (range: 0.000588 - 0.000588)
archetype_transform_std: 0.117401 (range: 0.117401 - 0.117401)
archetype_transform_norm: 8.383417 (range: 8.383417 - 8.383417)
archetype_transform_grad_norm: 0.279882 (range: 0.279882 - 0.279882)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0154, max=0.4535, mean=0.1429
Batch reconstruction MSE: 1.3310
Archetype stats: min=-16.1282, max=13.8248
Archetype change since last debug: 2.651890
Archetype gradients: norm=0.042650, mean=0.001620
Epoch 1/1
Average loss: 0.7707
Archetypal loss: 0.8364
KLD loss: 0.1793
Reconstruction loss: 0.8364
Archetype R²: 0.1224
Archetype transform grad norm: 0.287983
Archetype transform param norm: 8.4581
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.7707 (range: 0.7707 - 0.7707)
archetypal_loss: 0.8364 (range: 0.8364 - 0.8364)
kld_loss: 0.1793 (range: 0.1793 - 0.1793)
reconstruction_loss: 0.8364 (range: 0.8364 - 0.8364)
archetype_r2: 0.1224 (range: 0.1224 - 0.1224)
Archetype Transform Summary:
archetype_transform_mean: 0.000580 (range: 0.000580 - 0.000580)
archetype_transform_std: 0.118447 (range: 0.118447 - 0.118447)
archetype_transform_norm: 8.458099 (range: 8.458099 - 8.458099)
archetype_transform_grad_norm: 0.287983 (range: 0.287983 - 0.287983)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0142, max=0.4365, mean=0.1429
Batch reconstruction MSE: 1.3212
Archetype stats: min=-16.6245, max=13.9020
Archetype change since last debug: 2.387277
Archetype gradients: norm=0.052039, mean=0.001878
Epoch 1/1
Average loss: 0.7700
Archetypal loss: 0.8357
KLD loss: 0.1787
Reconstruction loss: 0.8357
Archetype R²: 0.1231
Archetype transform grad norm: 0.302621
Archetype transform param norm: 8.5225
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.7700 (range: 0.7700 - 0.7700)
archetypal_loss: 0.8357 (range: 0.8357 - 0.8357)
kld_loss: 0.1787 (range: 0.1787 - 0.1787)
reconstruction_loss: 0.8357 (range: 0.8357 - 0.8357)
archetype_r2: 0.1231 (range: 0.1231 - 0.1231)
Archetype Transform Summary:
archetype_transform_mean: 0.000589 (range: 0.000589 - 0.000589)
archetype_transform_std: 0.119349 (range: 0.119349 - 0.119349)
archetype_transform_norm: 8.522480 (range: 8.522480 - 8.522480)
archetype_transform_grad_norm: 0.302621 (range: 0.302621 - 0.302621)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0154, max=0.3849, mean=0.1429
Batch reconstruction MSE: 1.2764
Archetype stats: min=-16.6404, max=13.9579
Archetype change since last debug: 2.186686
Archetype gradients: norm=0.037219, mean=0.001444
Epoch 1/1
Average loss: 0.7676
Archetypal loss: 0.8334
KLD loss: 0.1760
Reconstruction loss: 0.8334
Archetype R²: 0.1255
Archetype transform grad norm: 0.295943
Archetype transform param norm: 8.5855
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.7676 (range: 0.7676 - 0.7676)
archetypal_loss: 0.8334 (range: 0.8334 - 0.8334)
kld_loss: 0.1760 (range: 0.1760 - 0.1760)
reconstruction_loss: 0.8334 (range: 0.8334 - 0.8334)
archetype_r2: 0.1255 (range: 0.1255 - 0.1255)
Archetype Transform Summary:
archetype_transform_mean: 0.000584 (range: 0.000584 - 0.000584)
archetype_transform_std: 0.120231 (range: 0.120231 - 0.120231)
archetype_transform_norm: 8.585488 (range: 8.585488 - 8.585488)
archetype_transform_grad_norm: 0.295943 (range: 0.295943 - 0.295943)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0159, max=0.4198, mean=0.1429
Batch reconstruction MSE: 1.2839
Archetype stats: min=-17.1819, max=14.0782
Archetype change since last debug: 2.330655
Archetype gradients: norm=0.049063, mean=0.001803
Epoch 1/1
Average loss: 0.7664
Archetypal loss: 0.8323
KLD loss: 0.1735
Reconstruction loss: 0.8323
Archetype R²: 0.1265
Archetype transform grad norm: 0.293362
Archetype transform param norm: 8.6519
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.7664 (range: 0.7664 - 0.7664)
archetypal_loss: 0.8323 (range: 0.8323 - 0.8323)
kld_loss: 0.1735 (range: 0.1735 - 0.1735)
reconstruction_loss: 0.8323 (range: 0.8323 - 0.8323)
archetype_r2: 0.1265 (range: 0.1265 - 0.1265)
Archetype Transform Summary:
archetype_transform_mean: 0.000607 (range: 0.000607 - 0.000607)
archetype_transform_std: 0.121161 (range: 0.121161 - 0.121161)
archetype_transform_norm: 8.651896 (range: 8.651896 - 8.651896)
archetype_transform_grad_norm: 0.293362 (range: 0.293362 - 0.293362)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0177, max=0.4012, mean=0.1429
Batch reconstruction MSE: 1.2884
Archetype stats: min=-17.2963, max=14.2787
Archetype change since last debug: 2.175327
Archetype gradients: norm=0.034838, mean=0.001437
Epoch 1/1
Average loss: 0.7661
Archetypal loss: 0.8322
KLD loss: 0.1719
Reconstruction loss: 0.8322
Archetype R²: 0.1267
Archetype transform grad norm: 0.303418
Archetype transform param norm: 8.7111
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.7661 (range: 0.7661 - 0.7661)
archetypal_loss: 0.8322 (range: 0.8322 - 0.8322)
kld_loss: 0.1719 (range: 0.1719 - 0.1719)
reconstruction_loss: 0.8322 (range: 0.8322 - 0.8322)
archetype_r2: 0.1267 (range: 0.1267 - 0.1267)
Archetype Transform Summary:
archetype_transform_mean: 0.000595 (range: 0.000595 - 0.000595)
archetype_transform_std: 0.121991 (range: 0.121991 - 0.121991)
archetype_transform_norm: 8.711132 (range: 8.711132 - 8.711132)
archetype_transform_grad_norm: 0.303418 (range: 0.303418 - 0.303418)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0175, max=0.4603, mean=0.1429
Batch reconstruction MSE: 1.2558
Archetype stats: min=-17.6710, max=14.4533
Archetype change since last debug: 1.981863
Archetype gradients: norm=0.048734, mean=0.001754
Epoch 1/1
Average loss: 0.7643
Archetypal loss: 0.8303
KLD loss: 0.1701
Reconstruction loss: 0.8303
Archetype R²: 0.1285
Archetype transform grad norm: 0.294483
Archetype transform param norm: 8.7710
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.7643 (range: 0.7643 - 0.7643)
archetypal_loss: 0.8303 (range: 0.8303 - 0.8303)
kld_loss: 0.1701 (range: 0.1701 - 0.1701)
reconstruction_loss: 0.8303 (range: 0.8303 - 0.8303)
archetype_r2: 0.1285 (range: 0.1285 - 0.1285)
Archetype Transform Summary:
archetype_transform_mean: 0.000615 (range: 0.000615 - 0.000615)
archetype_transform_std: 0.122830 (range: 0.122830 - 0.122830)
archetype_transform_norm: 8.771032 (range: 8.771032 - 8.771032)
archetype_transform_grad_norm: 0.294483 (range: 0.294483 - 0.294483)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0205, max=0.4203, mean=0.1429
Batch reconstruction MSE: 1.2696
Archetype stats: min=-17.8239, max=14.6993
Archetype change since last debug: 2.113072
Archetype gradients: norm=0.028740, mean=0.001215
Epoch 1/1
Average loss: 0.7647
Archetypal loss: 0.8307
KLD loss: 0.1704
Reconstruction loss: 0.8307
Archetype R²: 0.1281
Archetype transform grad norm: 0.308713
Archetype transform param norm: 8.8245
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.7647 (range: 0.7647 - 0.7647)
archetypal_loss: 0.8307 (range: 0.8307 - 0.8307)
kld_loss: 0.1704 (range: 0.1704 - 0.1704)
reconstruction_loss: 0.8307 (range: 0.8307 - 0.8307)
archetype_r2: 0.1281 (range: 0.1281 - 0.1281)
Archetype Transform Summary:
archetype_transform_mean: 0.000608 (range: 0.000608 - 0.000608)
archetype_transform_std: 0.123579 (range: 0.123579 - 0.123579)
archetype_transform_norm: 8.824520 (range: 8.824520 - 8.824520)
archetype_transform_grad_norm: 0.308713 (range: 0.308713 - 0.308713)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0163, max=0.3851, mean=0.1429
Batch reconstruction MSE: 1.3038
Archetype stats: min=-18.1539, max=14.9064
Archetype change since last debug: 1.949043
Archetype gradients: norm=0.060798, mean=0.002186
Epoch 1/1
Average loss: 0.7643
Archetypal loss: 0.8305
KLD loss: 0.1683
Reconstruction loss: 0.8305
Archetype R²: 0.1283
Archetype transform grad norm: 0.300147
Archetype transform param norm: 8.8658
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.7643 (range: 0.7643 - 0.7643)
archetypal_loss: 0.8305 (range: 0.8305 - 0.8305)
kld_loss: 0.1683 (range: 0.1683 - 0.1683)
reconstruction_loss: 0.8305 (range: 0.8305 - 0.8305)
archetype_r2: 0.1283 (range: 0.1283 - 0.1283)
Archetype Transform Summary:
archetype_transform_mean: 0.000621 (range: 0.000621 - 0.000621)
archetype_transform_std: 0.124157 (range: 0.124157 - 0.124157)
archetype_transform_norm: 8.865812 (range: 8.865812 - 8.865812)
archetype_transform_grad_norm: 0.300147 (range: 0.300147 - 0.300147)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0226, max=0.3901, mean=0.1429
Batch reconstruction MSE: 1.2889
Archetype stats: min=-18.2041, max=15.0839
Archetype change since last debug: 1.650396
Archetype gradients: norm=0.027288, mean=0.001061
Epoch 1/1
Average loss: 0.7635
Archetypal loss: 0.8297
KLD loss: 0.1676
Reconstruction loss: 0.8297
Archetype R²: 0.1292
Archetype transform grad norm: 0.296321
Archetype transform param norm: 8.9047
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.7635 (range: 0.7635 - 0.7635)
archetypal_loss: 0.8297 (range: 0.8297 - 0.8297)
kld_loss: 0.1676 (range: 0.1676 - 0.1676)
reconstruction_loss: 0.8297 (range: 0.8297 - 0.8297)
archetype_r2: 0.1292 (range: 0.1292 - 0.1292)
Archetype Transform Summary:
archetype_transform_mean: 0.000613 (range: 0.000613 - 0.000613)
archetype_transform_std: 0.124701 (range: 0.124701 - 0.124701)
archetype_transform_norm: 8.904683 (range: 8.904683 - 8.904683)
archetype_transform_grad_norm: 0.296321 (range: 0.296321 - 0.296321)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0156, max=0.4180, mean=0.1429
Batch reconstruction MSE: 1.2434
Archetype stats: min=-18.4503, max=15.1633
Archetype change since last debug: 1.580451
Archetype gradients: norm=0.051818, mean=0.001810
Epoch 1/1
Average loss: 0.7616
Archetypal loss: 0.8278
KLD loss: 0.1656
Reconstruction loss: 0.8278
Archetype R²: 0.1310
Archetype transform grad norm: 0.291888
Archetype transform param norm: 8.9519
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.7616 (range: 0.7616 - 0.7616)
archetypal_loss: 0.8278 (range: 0.8278 - 0.8278)
kld_loss: 0.1656 (range: 0.1656 - 0.1656)
reconstruction_loss: 0.8278 (range: 0.8278 - 0.8278)
archetype_r2: 0.1310 (range: 0.1310 - 0.1310)
Archetype Transform Summary:
archetype_transform_mean: 0.000633 (range: 0.000633 - 0.000633)
archetype_transform_std: 0.125363 (range: 0.125363 - 0.125363)
archetype_transform_norm: 8.951944 (range: 8.951944 - 8.951944)
archetype_transform_grad_norm: 0.291888 (range: 0.291888 - 0.291888)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0228, max=0.3856, mean=0.1429
Batch reconstruction MSE: 1.2388
Archetype stats: min=-18.7510, max=15.3249
Archetype change since last debug: 1.813550
Archetype gradients: norm=0.024035, mean=0.000892
Epoch 1/1
Average loss: 0.7616
Archetypal loss: 0.8278
KLD loss: 0.1653
Reconstruction loss: 0.8278
Archetype R²: 0.1310
Archetype transform grad norm: 0.299521
Archetype transform param norm: 8.9993
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.7616 (range: 0.7616 - 0.7616)
archetypal_loss: 0.8278 (range: 0.8278 - 0.8278)
kld_loss: 0.1653 (range: 0.1653 - 0.1653)
reconstruction_loss: 0.8278 (range: 0.8278 - 0.8278)
archetype_r2: 0.1310 (range: 0.1310 - 0.1310)
Archetype Transform Summary:
archetype_transform_mean: 0.000623 (range: 0.000623 - 0.000623)
archetype_transform_std: 0.126026 (range: 0.126026 - 0.126026)
archetype_transform_norm: 8.999303 (range: 8.999303 - 8.999303)
archetype_transform_grad_norm: 0.299521 (range: 0.299521 - 0.299521)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0187, max=0.3508, mean=0.1429
Batch reconstruction MSE: 1.2350
Archetype stats: min=-19.0563, max=15.4363
Archetype change since last debug: 1.661616
Archetype gradients: norm=0.047366, mean=0.001665
Epoch 1/1
Average loss: 0.7612
Archetypal loss: 0.8277
KLD loss: 0.1625
Reconstruction loss: 0.8277
Archetype R²: 0.1312
Archetype transform grad norm: 0.295625
Archetype transform param norm: 9.0412
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.7612 (range: 0.7612 - 0.7612)
archetypal_loss: 0.8277 (range: 0.8277 - 0.8277)
kld_loss: 0.1625 (range: 0.1625 - 0.1625)
reconstruction_loss: 0.8277 (range: 0.8277 - 0.8277)
archetype_r2: 0.1312 (range: 0.1312 - 0.1312)
Archetype Transform Summary:
archetype_transform_mean: 0.000634 (range: 0.000634 - 0.000634)
archetype_transform_std: 0.126613 (range: 0.126613 - 0.126613)
archetype_transform_norm: 9.041182 (range: 9.041182 - 9.041182)
archetype_transform_grad_norm: 0.295625 (range: 0.295625 - 0.295625)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0202, max=0.4264, mean=0.1429
Batch reconstruction MSE: 1.2611
Archetype stats: min=-19.2807, max=15.4973
Archetype change since last debug: 1.564668
Archetype gradients: norm=0.025298, mean=0.000978
Epoch 1/1
Average loss: 0.7616
Archetypal loss: 0.8283
KLD loss: 0.1616
Reconstruction loss: 0.8283
Archetype R²: 0.1306
Archetype transform grad norm: 0.300508
Archetype transform param norm: 9.0714
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.7616 (range: 0.7616 - 0.7616)
archetypal_loss: 0.8283 (range: 0.8283 - 0.8283)
kld_loss: 0.1616 (range: 0.1616 - 0.1616)
reconstruction_loss: 0.8283 (range: 0.8283 - 0.8283)
archetype_r2: 0.1306 (range: 0.1306 - 0.1306)
Archetype Transform Summary:
archetype_transform_mean: 0.000644 (range: 0.000644 - 0.000644)
archetype_transform_std: 0.127036 (range: 0.127036 - 0.127036)
archetype_transform_norm: 9.071389 (range: 9.071389 - 9.071389)
archetype_transform_grad_norm: 0.300508 (range: 0.300508 - 0.300508)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0156, max=0.3429, mean=0.1429
Batch reconstruction MSE: 1.2423
Archetype stats: min=-19.4908, max=15.5326
Archetype change since last debug: 1.474348
Archetype gradients: norm=0.046460, mean=0.001594
Epoch 1/1
Average loss: 0.7603
Archetypal loss: 0.8268
KLD loss: 0.1613
Reconstruction loss: 0.8268
Archetype R²: 0.1320
Archetype transform grad norm: 0.290926
Archetype transform param norm: 9.1039
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.7603 (range: 0.7603 - 0.7603)
archetypal_loss: 0.8268 (range: 0.8268 - 0.8268)
kld_loss: 0.1613 (range: 0.1613 - 0.1613)
reconstruction_loss: 0.8268 (range: 0.8268 - 0.8268)
archetype_r2: 0.1320 (range: 0.1320 - 0.1320)
Archetype Transform Summary:
archetype_transform_mean: 0.000652 (range: 0.000652 - 0.000652)
archetype_transform_std: 0.127491 (range: 0.127491 - 0.127491)
archetype_transform_norm: 9.103875 (range: 9.103875 - 9.103875)
archetype_transform_grad_norm: 0.290926 (range: 0.290926 - 0.290926)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0238, max=0.3709, mean=0.1429
Batch reconstruction MSE: 1.2339
Archetype stats: min=-19.6362, max=15.6839
Archetype change since last debug: 1.507634
Archetype gradients: norm=0.021872, mean=0.000937
Epoch 1/1
Average loss: 0.7598
Archetypal loss: 0.8265
KLD loss: 0.1597
Reconstruction loss: 0.8265
Archetype R²: 0.1323
Archetype transform grad norm: 0.299251
Archetype transform param norm: 9.1353
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.7598 (range: 0.7598 - 0.7598)
archetypal_loss: 0.8265 (range: 0.8265 - 0.8265)
kld_loss: 0.1597 (range: 0.1597 - 0.1597)
reconstruction_loss: 0.8265 (range: 0.8265 - 0.8265)
archetype_r2: 0.1323 (range: 0.1323 - 0.1323)
Archetype Transform Summary:
archetype_transform_mean: 0.000644 (range: 0.000644 - 0.000644)
archetype_transform_std: 0.127931 (range: 0.127931 - 0.127931)
archetype_transform_norm: 9.135327 (range: 9.135327 - 9.135327)
archetype_transform_grad_norm: 0.299251 (range: 0.299251 - 0.299251)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0231, max=0.3859, mean=0.1429
Batch reconstruction MSE: 1.2496
Archetype stats: min=-19.9343, max=15.6315
Archetype change since last debug: 1.363971
Archetype gradients: norm=0.050967, mean=0.001754
Epoch 1/1
Average loss: 0.7600
Archetypal loss: 0.8265
KLD loss: 0.1614
Reconstruction loss: 0.8265
Archetype R²: 0.1323
Archetype transform grad norm: 0.296512
Archetype transform param norm: 9.1656
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.7600 (range: 0.7600 - 0.7600)
archetypal_loss: 0.8265 (range: 0.8265 - 0.8265)
kld_loss: 0.1614 (range: 0.1614 - 0.1614)
reconstruction_loss: 0.8265 (range: 0.8265 - 0.8265)
archetype_r2: 0.1323 (range: 0.1323 - 0.1323)
Archetype Transform Summary:
archetype_transform_mean: 0.000642 (range: 0.000642 - 0.000642)
archetype_transform_std: 0.128355 (range: 0.128355 - 0.128355)
archetype_transform_norm: 9.165633 (range: 9.165633 - 9.165633)
archetype_transform_grad_norm: 0.296512 (range: 0.296512 - 0.296512)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0241, max=0.4282, mean=0.1429
Batch reconstruction MSE: 1.2475
Archetype stats: min=-20.1833, max=15.7153
Archetype change since last debug: 1.343728
Archetype gradients: norm=0.026888, mean=0.001118
Epoch 1/1
Average loss: 0.7593
Archetypal loss: 0.8264
KLD loss: 0.1560
Reconstruction loss: 0.8264
Archetype R²: 0.1324
Archetype transform grad norm: 0.303080
Archetype transform param norm: 9.1942
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.7593 (range: 0.7593 - 0.7593)
archetypal_loss: 0.8264 (range: 0.8264 - 0.8264)
kld_loss: 0.1560 (range: 0.1560 - 0.1560)
reconstruction_loss: 0.8264 (range: 0.8264 - 0.8264)
archetype_r2: 0.1324 (range: 0.1324 - 0.1324)
Archetype Transform Summary:
archetype_transform_mean: 0.000600 (range: 0.000600 - 0.000600)
archetype_transform_std: 0.128756 (range: 0.128756 - 0.128756)
archetype_transform_norm: 9.194203 (range: 9.194203 - 9.194203)
archetype_transform_grad_norm: 0.303080 (range: 0.303080 - 0.303080)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0247, max=0.3947, mean=0.1429
Batch reconstruction MSE: 1.2769
Archetype stats: min=-20.4893, max=15.8449
Archetype change since last debug: 1.562449
Archetype gradients: norm=0.051865, mean=0.001861
Epoch 1/1
Average loss: 0.7601
Archetypal loss: 0.8267
KLD loss: 0.1607
Reconstruction loss: 0.8267
Archetype R²: 0.1321
Archetype transform grad norm: 0.299697
Archetype transform param norm: 9.2149
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.7601 (range: 0.7601 - 0.7601)
archetypal_loss: 0.8267 (range: 0.8267 - 0.8267)
kld_loss: 0.1607 (range: 0.1607 - 0.1607)
reconstruction_loss: 0.8267 (range: 0.8267 - 0.8267)
archetype_r2: 0.1321 (range: 0.1321 - 0.1321)
Archetype Transform Summary:
archetype_transform_mean: 0.000587 (range: 0.000587 - 0.000587)
archetype_transform_std: 0.129045 (range: 0.129045 - 0.129045)
archetype_transform_norm: 9.214870 (range: 9.214870 - 9.214870)
archetype_transform_grad_norm: 0.299697 (range: 0.299697 - 0.299697)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0244, max=0.4055, mean=0.1429
Batch reconstruction MSE: 1.2183
Archetype stats: min=-20.7596, max=15.8199
Archetype change since last debug: 1.140636
Archetype gradients: norm=0.025882, mean=0.001050
Epoch 1/1
Average loss: 0.7589
Archetypal loss: 0.8258
KLD loss: 0.1563
Reconstruction loss: 0.8258
Archetype R²: 0.1329
Archetype transform grad norm: 0.307218
Archetype transform param norm: 9.2368
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.7589 (range: 0.7589 - 0.7589)
archetypal_loss: 0.8258 (range: 0.8258 - 0.8258)
kld_loss: 0.1563 (range: 0.1563 - 0.1563)
reconstruction_loss: 0.8258 (range: 0.8258 - 0.8258)
archetype_r2: 0.1329 (range: 0.1329 - 0.1329)
Archetype Transform Summary:
archetype_transform_mean: 0.000581 (range: 0.000581 - 0.000581)
archetype_transform_std: 0.129353 (range: 0.129353 - 0.129353)
archetype_transform_norm: 9.236825 (range: 9.236825 - 9.236825)
archetype_transform_grad_norm: 0.307218 (range: 0.307218 - 0.307218)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0285, max=0.3652, mean=0.1429
Batch reconstruction MSE: 1.2554
Archetype stats: min=-20.9464, max=15.9959
Archetype change since last debug: 1.236558
Archetype gradients: norm=0.041955, mean=0.001514
Epoch 1/1
Average loss: 0.7587
Archetypal loss: 0.8256
KLD loss: 0.1563
Reconstruction loss: 0.8256
Archetype R²: 0.1332
Archetype transform grad norm: 0.296551
Archetype transform param norm: 9.2608
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.7587 (range: 0.7587 - 0.7587)
archetypal_loss: 0.8256 (range: 0.8256 - 0.8256)
kld_loss: 0.1563 (range: 0.1563 - 0.1563)
reconstruction_loss: 0.8256 (range: 0.8256 - 0.8256)
archetype_r2: 0.1332 (range: 0.1332 - 0.1332)
Archetype Transform Summary:
archetype_transform_mean: 0.000587 (range: 0.000587 - 0.000587)
archetype_transform_std: 0.129688 (range: 0.129688 - 0.129688)
archetype_transform_norm: 9.260774 (range: 9.260774 - 9.260774)
archetype_transform_grad_norm: 0.296551 (range: 0.296551 - 0.296551)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0212, max=0.3891, mean=0.1429
Batch reconstruction MSE: 1.2264
Archetype stats: min=-21.1700, max=16.0407
Archetype change since last debug: 1.142156
Archetype gradients: norm=0.025505, mean=0.000941
Epoch 1/1
Average loss: 0.7577
Archetypal loss: 0.8247
KLD loss: 0.1553
Reconstruction loss: 0.8247
Archetype R²: 0.1341
Archetype transform grad norm: 0.296115
Archetype transform param norm: 9.2898
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.7577 (range: 0.7577 - 0.7577)
archetypal_loss: 0.8247 (range: 0.8247 - 0.8247)
kld_loss: 0.1553 (range: 0.1553 - 0.1553)
reconstruction_loss: 0.8247 (range: 0.8247 - 0.8247)
archetype_r2: 0.1341 (range: 0.1341 - 0.1341)
Archetype Transform Summary:
archetype_transform_mean: 0.000583 (range: 0.000583 - 0.000583)
archetype_transform_std: 0.130095 (range: 0.130095 - 0.130095)
archetype_transform_norm: 9.289845 (range: 9.289845 - 9.289845)
archetype_transform_grad_norm: 0.296115 (range: 0.296115 - 0.296115)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0274, max=0.3769, mean=0.1429
Batch reconstruction MSE: 1.2610
Archetype stats: min=-21.3894, max=16.1534
Archetype change since last debug: 1.212369
Archetype gradients: norm=0.038747, mean=0.001422
Epoch 1/1
Average loss: 0.7579
Archetypal loss: 0.8250
KLD loss: 0.1534
Reconstruction loss: 0.8250
Archetype R²: 0.1338
Archetype transform grad norm: 0.291103
Archetype transform param norm: 9.3131
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.7579 (range: 0.7579 - 0.7579)
archetypal_loss: 0.8250 (range: 0.8250 - 0.8250)
kld_loss: 0.1534 (range: 0.1534 - 0.1534)
reconstruction_loss: 0.8250 (range: 0.8250 - 0.8250)
archetype_r2: 0.1338 (range: 0.1338 - 0.1338)
Archetype Transform Summary:
archetype_transform_mean: 0.000574 (range: 0.000574 - 0.000574)
archetype_transform_std: 0.130421 (range: 0.130421 - 0.130421)
archetype_transform_norm: 9.313073 (range: 9.313073 - 9.313073)
archetype_transform_grad_norm: 0.291103 (range: 0.291103 - 0.291103)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0191, max=0.3243, mean=0.1429
Batch reconstruction MSE: 1.1809
Archetype stats: min=-21.4992, max=16.2332
Archetype change since last debug: 1.120898
Archetype gradients: norm=0.028137, mean=0.000879
Epoch 1/1
Average loss: 0.7559
Archetypal loss: 0.8229
KLD loss: 0.1531
Reconstruction loss: 0.8229
Archetype R²: 0.1358
Archetype transform grad norm: 0.299489
Archetype transform param norm: 9.3486
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.7559 (range: 0.7559 - 0.7559)
archetypal_loss: 0.8229 (range: 0.8229 - 0.8229)
kld_loss: 0.1531 (range: 0.1531 - 0.1531)
reconstruction_loss: 0.8229 (range: 0.8229 - 0.8229)
archetype_r2: 0.1358 (range: 0.1358 - 0.1358)
Archetype Transform Summary:
archetype_transform_mean: 0.000584 (range: 0.000584 - 0.000584)
archetype_transform_std: 0.130918 (range: 0.130918 - 0.130918)
archetype_transform_norm: 9.348592 (range: 9.348592 - 9.348592)
archetype_transform_grad_norm: 0.299489 (range: 0.299489 - 0.299489)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0262, max=0.4260, mean=0.1429
Batch reconstruction MSE: 1.1946
Archetype stats: min=-21.8858, max=16.4324
Archetype change since last debug: 1.501593
Archetype gradients: norm=0.037863, mean=0.001538
Epoch 1/1
Average loss: 0.7563
Archetypal loss: 0.8234
KLD loss: 0.1517
Reconstruction loss: 0.8234
Archetype R²: 0.1353
Archetype transform grad norm: 0.303851
Archetype transform param norm: 9.3826
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.7563 (range: 0.7563 - 0.7563)
archetypal_loss: 0.8234 (range: 0.8234 - 0.8234)
kld_loss: 0.1517 (range: 0.1517 - 0.1517)
reconstruction_loss: 0.8234 (range: 0.8234 - 0.8234)
archetype_r2: 0.1353 (range: 0.1353 - 0.1353)
Archetype Transform Summary:
archetype_transform_mean: 0.000600 (range: 0.000600 - 0.000600)
archetype_transform_std: 0.131395 (range: 0.131395 - 0.131395)
archetype_transform_norm: 9.382625 (range: 9.382625 - 9.382625)
archetype_transform_grad_norm: 0.303851 (range: 0.303851 - 0.303851)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0202, max=0.3177, mean=0.1429
Batch reconstruction MSE: 1.2176
Archetype stats: min=-22.1739, max=16.4225
Archetype change since last debug: 1.303924
Archetype gradients: norm=0.041066, mean=0.001303
Epoch 1/1
Average loss: 0.7571
Archetypal loss: 0.8245
KLD loss: 0.1500
Reconstruction loss: 0.8245
Archetype R²: 0.1342
Archetype transform grad norm: 0.315647
Archetype transform param norm: 9.4038
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.7571 (range: 0.7571 - 0.7571)
archetypal_loss: 0.8245 (range: 0.8245 - 0.8245)
kld_loss: 0.1500 (range: 0.1500 - 0.1500)
reconstruction_loss: 0.8245 (range: 0.8245 - 0.8245)
archetype_r2: 0.1342 (range: 0.1342 - 0.1342)
Archetype Transform Summary:
archetype_transform_mean: 0.000604 (range: 0.000604 - 0.000604)
archetype_transform_std: 0.131691 (range: 0.131691 - 0.131691)
archetype_transform_norm: 9.403762 (range: 9.403762 - 9.403762)
archetype_transform_grad_norm: 0.315647 (range: 0.315647 - 0.315647)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0268, max=0.4374, mean=0.1429
Batch reconstruction MSE: 1.2667
Archetype stats: min=-22.2793, max=16.5846
Archetype change since last debug: 1.166628
Archetype gradients: norm=0.053223, mean=0.002050
Epoch 1/1
Average loss: 0.7586
Archetypal loss: 0.8260
KLD loss: 0.1519
Reconstruction loss: 0.8260
Archetype R²: 0.1327
Archetype transform grad norm: 0.310969
Archetype transform param norm: 9.4075
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.7586 (range: 0.7586 - 0.7586)
archetypal_loss: 0.8260 (range: 0.8260 - 0.8260)
kld_loss: 0.1519 (range: 0.1519 - 0.1519)
reconstruction_loss: 0.8260 (range: 0.8260 - 0.8260)
archetype_r2: 0.1327 (range: 0.1327 - 0.1327)
Archetype Transform Summary:
archetype_transform_mean: 0.000580 (range: 0.000580 - 0.000580)
archetype_transform_std: 0.131744 (range: 0.131744 - 0.131744)
archetype_transform_norm: 9.407542 (range: 9.407542 - 9.407542)
archetype_transform_grad_norm: 0.310969 (range: 0.310969 - 0.310969)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0253, max=0.3454, mean=0.1429
Batch reconstruction MSE: 1.2935
Archetype stats: min=-22.1362, max=16.5368
Archetype change since last debug: 0.980383
Archetype gradients: norm=0.047135, mean=0.001788
Epoch 1/1
Average loss: 0.7590
Archetypal loss: 0.8264
KLD loss: 0.1525
Reconstruction loss: 0.8264
Archetype R²: 0.1323
Archetype transform grad norm: 0.317285
Archetype transform param norm: 9.4075
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.7590 (range: 0.7590 - 0.7590)
archetypal_loss: 0.8264 (range: 0.8264 - 0.8264)
kld_loss: 0.1525 (range: 0.1525 - 0.1525)
reconstruction_loss: 0.8264 (range: 0.8264 - 0.8264)
archetype_r2: 0.1323 (range: 0.1323 - 0.1323)
Archetype Transform Summary:
archetype_transform_mean: 0.000582 (range: 0.000582 - 0.000582)
archetype_transform_std: 0.131743 (range: 0.131743 - 0.131743)
archetype_transform_norm: 9.407486 (range: 9.407486 - 9.407486)
archetype_transform_grad_norm: 0.317285 (range: 0.317285 - 0.317285)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0256, max=0.3227, mean=0.1429
Batch reconstruction MSE: 1.2490
Archetype stats: min=-22.1413, max=16.4458
Archetype change since last debug: 1.057334
Archetype gradients: norm=0.056289, mean=0.001697
Epoch 1/1
Average loss: 0.7579
Archetypal loss: 0.8251
KLD loss: 0.1536
Reconstruction loss: 0.8251
Archetype R²: 0.1337
Archetype transform grad norm: 0.303510
Archetype transform param norm: 9.4075
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.7579 (range: 0.7579 - 0.7579)
archetypal_loss: 0.8251 (range: 0.8251 - 0.8251)
kld_loss: 0.1536 (range: 0.1536 - 0.1536)
reconstruction_loss: 0.8251 (range: 0.8251 - 0.8251)
archetype_r2: 0.1337 (range: 0.1337 - 0.1337)
Archetype Transform Summary:
archetype_transform_mean: 0.000554 (range: 0.000554 - 0.000554)
archetype_transform_std: 0.131744 (range: 0.131744 - 0.131744)
archetype_transform_norm: 9.407543 (range: 9.407543 - 9.407543)
archetype_transform_grad_norm: 0.303510 (range: 0.303510 - 0.303510)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0211, max=0.3654, mean=0.1429
Batch reconstruction MSE: 1.2410
Archetype stats: min=-21.8851, max=16.4768
Archetype change since last debug: 1.078186
Archetype gradients: norm=0.035136, mean=0.001529
Epoch 1/1
Average loss: 0.7566
Archetypal loss: 0.8238
KLD loss: 0.1522
Reconstruction loss: 0.8238
Archetype R²: 0.1349
Archetype transform grad norm: 0.305351
Archetype transform param norm: 9.4243
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.7566 (range: 0.7566 - 0.7566)
archetypal_loss: 0.8238 (range: 0.8238 - 0.8238)
kld_loss: 0.1522 (range: 0.1522 - 0.1522)
reconstruction_loss: 0.8238 (range: 0.8238 - 0.8238)
archetype_r2: 0.1349 (range: 0.1349 - 0.1349)
Archetype Transform Summary:
archetype_transform_mean: 0.000551 (range: 0.000551 - 0.000551)
archetype_transform_std: 0.131979 (range: 0.131979 - 0.131979)
archetype_transform_norm: 9.424337 (range: 9.424337 - 9.424337)
archetype_transform_grad_norm: 0.305351 (range: 0.305351 - 0.305351)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0278, max=0.3424, mean=0.1429
Batch reconstruction MSE: 1.2165
Archetype stats: min=-22.0660, max=16.4542
Archetype change since last debug: 1.174771
Archetype gradients: norm=0.058299, mean=0.001998
Epoch 1/1
Average loss: 0.7566
Archetypal loss: 0.8237
KLD loss: 0.1523
Reconstruction loss: 0.8237
Archetype R²: 0.1350
Archetype transform grad norm: 0.308084
Archetype transform param norm: 9.4402
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.7566 (range: 0.7566 - 0.7566)
archetypal_loss: 0.8237 (range: 0.8237 - 0.8237)
kld_loss: 0.1523 (range: 0.1523 - 0.1523)
reconstruction_loss: 0.8237 (range: 0.8237 - 0.8237)
archetype_r2: 0.1350 (range: 0.1350 - 0.1350)
Archetype Transform Summary:
archetype_transform_mean: 0.000531 (range: 0.000531 - 0.000531)
archetype_transform_std: 0.132201 (range: 0.132201 - 0.132201)
archetype_transform_norm: 9.440171 (range: 9.440171 - 9.440171)
archetype_transform_grad_norm: 0.308084 (range: 0.308084 - 0.308084)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0256, max=0.3570, mean=0.1429
Batch reconstruction MSE: 1.2451
Archetype stats: min=-22.0285, max=16.4012
Archetype change since last debug: 1.044833
Archetype gradients: norm=0.037117, mean=0.001520
Epoch 1/1
Average loss: 0.7568
Archetypal loss: 0.8241
KLD loss: 0.1516
Reconstruction loss: 0.8241
Archetype R²: 0.1346
Archetype transform grad norm: 0.310552
Archetype transform param norm: 9.4551
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.7568 (range: 0.7568 - 0.7568)
archetypal_loss: 0.8241 (range: 0.8241 - 0.8241)
kld_loss: 0.1516 (range: 0.1516 - 0.1516)
reconstruction_loss: 0.8241 (range: 0.8241 - 0.8241)
archetype_r2: 0.1346 (range: 0.1346 - 0.1346)
Archetype Transform Summary:
archetype_transform_mean: 0.000529 (range: 0.000529 - 0.000529)
archetype_transform_std: 0.132410 (range: 0.132410 - 0.132410)
archetype_transform_norm: 9.455124 (range: 9.455124 - 9.455124)
archetype_transform_grad_norm: 0.310552 (range: 0.310552 - 0.310552)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0297, max=0.3749, mean=0.1429
Batch reconstruction MSE: 1.2948
Archetype stats: min=-22.0820, max=16.3109
Archetype change since last debug: 1.087830
Archetype gradients: norm=0.060468, mean=0.002183
Epoch 1/1
Average loss: 0.7584
Archetypal loss: 0.8255
KLD loss: 0.1540
Reconstruction loss: 0.8255
Archetype R²: 0.1332
Archetype transform grad norm: 0.307673
Archetype transform param norm: 9.4528
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.7584 (range: 0.7584 - 0.7584)
archetypal_loss: 0.8255 (range: 0.8255 - 0.8255)
kld_loss: 0.1540 (range: 0.1540 - 0.1540)
reconstruction_loss: 0.8255 (range: 0.8255 - 0.8255)
archetype_r2: 0.1332 (range: 0.1332 - 0.1332)
Archetype Transform Summary:
archetype_transform_mean: 0.000513 (range: 0.000513 - 0.000513)
archetype_transform_std: 0.132377 (range: 0.132377 - 0.132377)
archetype_transform_norm: 9.452758 (range: 9.452758 - 9.452758)
archetype_transform_grad_norm: 0.307673 (range: 0.307673 - 0.307673)
Fold 2/3
Model input_dim: 50 (auto-detected from data)
Archetypes parameter registered: True
Archetypes requires_grad: True
Deep_AA (Deep Archetypal Analysis) initialized:
- Single-stage architecture (like Deep_2)
- Inflation factor: 1.5
- Direct archetypal coordinates (no bottleneck)
Consolidated Archetype Initialization
PCHA: True, Inflation: True (factor: 1.5)
Test inflation: False
Running PCHA initialization...
Input shape: (128, 50)
Target archetypes: 7
Running PCHA with 7 archetypes...
Data shape for PCHA: (50, 128)
PCHA Results:
Archetypes shape: (7, 50)
Archetype R²: 0.3008
SSE: 4375.4311
PCHA archetype R²: 0.3008
Archetype shape: (7, 50)
[OK] Initialized 7 archetypes using PCHA
Scalar Archetypal Inflation (factor: 1.50)
[OK] Inflation complete
[STATS] Positioning verification:
Data radius (max): 16.524
Data radius (mean): 6.485
Archetype distances: 3.744 to 20.941
Archetypes outside data: 1/7
Min archetype separation: 8.927
[OK] Archetype initialization complete (success: True)
[OK] Archetype initialization complete (PCHA: True, Inflation: 1.5)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0012, max=0.9441, mean=0.1429
Batch reconstruction MSE: 0.9164
Archetype stats: min=-1.1826, max=1.4961
Archetype gradients: norm=0.007747, mean=0.000324
Epoch 1/1
Average loss: 0.8667
Archetypal loss: 0.9499
KLD loss: 0.1176
Reconstruction loss: 0.9499
Archetype R²: -0.0111
Archetype transform grad norm: 0.131986
Archetype transform param norm: 5.7784
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.8667 (range: 0.8667 - 0.8667)
archetypal_loss: 0.9499 (range: 0.9499 - 0.9499)
kld_loss: 0.1176 (range: 0.1176 - 0.1176)
reconstruction_loss: 0.9499 (range: 0.9499 - 0.9499)
archetype_r2: -0.0111 (range: -0.0111 - -0.0111)
Archetype Transform Summary:
archetype_transform_mean: -0.001616 (range: -0.001616 - -0.001616)
archetype_transform_std: 0.080903 (range: 0.080903 - 0.080903)
archetype_transform_norm: 5.778419 (range: 5.778419 - 5.778419)
archetype_transform_grad_norm: 0.131986 (range: 0.131986 - 0.131986)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0048, max=0.8150, mean=0.1429
Batch reconstruction MSE: 0.8678
Archetype stats: min=-0.6956, max=1.0423
Archetype change since last debug: 5.760808
Archetype gradients: norm=0.002600, mean=0.000113
Epoch 1/1
Average loss: 0.8510
Archetypal loss: 0.9390
KLD loss: 0.0593
Reconstruction loss: 0.9390
Archetype R²: 0.0008
Archetype transform grad norm: 0.107832
Archetype transform param norm: 5.8292
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.8510 (range: 0.8510 - 0.8510)
archetypal_loss: 0.9390 (range: 0.9390 - 0.9390)
kld_loss: 0.0593 (range: 0.0593 - 0.0593)
reconstruction_loss: 0.9390 (range: 0.9390 - 0.9390)
archetype_r2: 0.0008 (range: 0.0008 - 0.0008)
Archetype Transform Summary:
archetype_transform_mean: -0.001908 (range: -0.001908 - -0.001908)
archetype_transform_std: 0.081611 (range: 0.081611 - 0.081611)
archetype_transform_norm: 5.829244 (range: 5.829244 - 5.829244)
archetype_transform_grad_norm: 0.107832 (range: 0.107832 - 0.107832)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0037, max=0.7989, mean=0.1429
Batch reconstruction MSE: 0.8768
Archetype stats: min=-1.3989, max=1.8255
Archetype change since last debug: 4.179233
Archetype gradients: norm=0.003555, mean=0.000145
Epoch 1/1
Average loss: 0.8402
Archetypal loss: 0.9209
KLD loss: 0.1137
Reconstruction loss: 0.9209
Archetype R²: 0.0201
Archetype transform grad norm: 0.135574
Archetype transform param norm: 6.0204
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.8402 (range: 0.8402 - 0.8402)
archetypal_loss: 0.9209 (range: 0.9209 - 0.9209)
kld_loss: 0.1137 (range: 0.1137 - 0.1137)
reconstruction_loss: 0.9209 (range: 0.9209 - 0.9209)
archetype_r2: 0.0201 (range: 0.0201 - 0.0201)
Archetype Transform Summary:
archetype_transform_mean: -0.001888 (range: -0.001888 - -0.001888)
archetype_transform_std: 0.084289 (range: 0.084289 - 0.084289)
archetype_transform_norm: 6.020376 (range: 6.020376 - 6.020376)
archetype_transform_grad_norm: 0.135574 (range: 0.135574 - 0.135574)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0025, max=0.7953, mean=0.1429
Batch reconstruction MSE: 0.9478
Archetype stats: min=-3.0064, max=3.6088
Archetype change since last debug: 9.928291
Archetype gradients: norm=0.011056, mean=0.000401
Epoch 1/1
Average loss: 0.8222
Archetypal loss: 0.8929
KLD loss: 0.1863
Reconstruction loss: 0.8929
Archetype R²: 0.0498
Archetype transform grad norm: 0.170757
Archetype transform param norm: 6.4038
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.8222 (range: 0.8222 - 0.8222)
archetypal_loss: 0.8929 (range: 0.8929 - 0.8929)
kld_loss: 0.1863 (range: 0.1863 - 0.1863)
reconstruction_loss: 0.8929 (range: 0.8929 - 0.8929)
archetype_r2: 0.0498 (range: 0.0498 - 0.0498)
Archetype Transform Summary:
archetype_transform_mean: -0.001895 (range: -0.001895 - -0.001895)
archetype_transform_std: 0.089660 (range: 0.089660 - 0.089660)
archetype_transform_norm: 6.403843 (range: 6.403843 - 6.403843)
archetype_transform_grad_norm: 0.170757 (range: 0.170757 - 0.170757)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0021, max=0.7925, mean=0.1429
Batch reconstruction MSE: 1.0695
Archetype stats: min=-4.3487, max=5.6821
Archetype change since last debug: 12.600445
Archetype gradients: norm=0.022250, mean=0.000898
Epoch 1/1
Average loss: 0.8071
Archetypal loss: 0.8738
KLD loss: 0.2074
Reconstruction loss: 0.8738
Archetype R²: 0.0698
Archetype transform grad norm: 0.195172
Archetype transform param norm: 6.8114
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.8071 (range: 0.8071 - 0.8071)
archetypal_loss: 0.8738 (range: 0.8738 - 0.8738)
kld_loss: 0.2074 (range: 0.2074 - 0.2074)
reconstruction_loss: 0.8738 (range: 0.8738 - 0.8738)
archetype_r2: 0.0698 (range: 0.0698 - 0.0698)
Archetype Transform Summary:
archetype_transform_mean: -0.001932 (range: -0.001932 - -0.001932)
archetype_transform_std: 0.095369 (range: 0.095369 - 0.095369)
archetype_transform_norm: 6.811442 (range: 6.811442 - 6.811442)
archetype_transform_grad_norm: 0.195172 (range: 0.195172 - 0.195172)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0022, max=0.8064, mean=0.1429
Batch reconstruction MSE: 1.1625
Archetype stats: min=-5.2232, max=7.3717
Archetype change since last debug: 10.362126
Archetype gradients: norm=0.030690, mean=0.001283
Epoch 1/1
Average loss: 0.7979
Archetypal loss: 0.8646
KLD loss: 0.1979
Reconstruction loss: 0.8646
Archetype R²: 0.0793
Archetype transform grad norm: 0.210441
Archetype transform param norm: 7.1019
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.7979 (range: 0.7979 - 0.7979)
archetypal_loss: 0.8646 (range: 0.8646 - 0.8646)
kld_loss: 0.1979 (range: 0.1979 - 0.1979)
reconstruction_loss: 0.8646 (range: 0.8646 - 0.8646)
archetype_r2: 0.0793 (range: 0.0793 - 0.0793)
Archetype Transform Summary:
archetype_transform_mean: -0.001909 (range: -0.001909 - -0.001909)
archetype_transform_std: 0.099438 (range: 0.099438 - 0.099438)
archetype_transform_norm: 7.101896 (range: 7.101896 - 7.101896)
archetype_transform_grad_norm: 0.210441 (range: 0.210441 - 0.210441)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0020, max=0.8196, mean=0.1429
Batch reconstruction MSE: 1.2001
Archetype stats: min=-5.9649, max=9.4194
Archetype change since last debug: 7.315725
Archetype gradients: norm=0.034160, mean=0.001444
Epoch 1/1
Average loss: 0.7920
Archetypal loss: 0.8592
KLD loss: 0.1874
Reconstruction loss: 0.8592
Archetype R²: 0.0850
Archetype transform grad norm: 0.218874
Archetype transform param norm: 7.3001
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.7920 (range: 0.7920 - 0.7920)
archetypal_loss: 0.8592 (range: 0.8592 - 0.8592)
kld_loss: 0.1874 (range: 0.1874 - 0.1874)
reconstruction_loss: 0.8592 (range: 0.8592 - 0.8592)
archetype_r2: 0.0850 (range: 0.0850 - 0.0850)
Archetype Transform Summary:
archetype_transform_mean: -0.001881 (range: -0.001881 - -0.001881)
archetype_transform_std: 0.102215 (range: 0.102215 - 0.102215)
archetype_transform_norm: 7.300122 (range: 7.300122 - 7.300122)
archetype_transform_grad_norm: 0.218874 (range: 0.218874 - 0.218874)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0017, max=0.8362, mean=0.1429
Batch reconstruction MSE: 1.2074
Archetype stats: min=-6.8911, max=11.1543
Archetype change since last debug: 5.636609
Archetype gradients: norm=0.035175, mean=0.001495
Epoch 1/1
Average loss: 0.7874
Archetypal loss: 0.8550
KLD loss: 0.1793
Reconstruction loss: 0.8550
Archetype R²: 0.0895
Archetype transform grad norm: 0.224333
Archetype transform param norm: 7.4525
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.7874 (range: 0.7874 - 0.7874)
archetypal_loss: 0.8550 (range: 0.8550 - 0.8550)
kld_loss: 0.1793 (range: 0.1793 - 0.1793)
reconstruction_loss: 0.8550 (range: 0.8550 - 0.8550)
archetype_r2: 0.0895 (range: 0.0895 - 0.0895)
Archetype Transform Summary:
archetype_transform_mean: -0.001855 (range: -0.001855 - -0.001855)
archetype_transform_std: 0.104350 (range: 0.104350 - 0.104350)
archetype_transform_norm: 7.452509 (range: 7.452509 - 7.452509)
archetype_transform_grad_norm: 0.224333 (range: 0.224333 - 0.224333)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0015, max=0.8583, mean=0.1429
Batch reconstruction MSE: 1.1909
Archetype stats: min=-7.8477, max=12.6607
Archetype change since last debug: 4.619660
Archetype gradients: norm=0.034129, mean=0.001461
Epoch 1/1
Average loss: 0.7831
Archetypal loss: 0.8509
KLD loss: 0.1731
Reconstruction loss: 0.8509
Archetype R²: 0.0938
Archetype transform grad norm: 0.227556
Archetype transform param norm: 7.5874
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.7831 (range: 0.7831 - 0.7831)
archetypal_loss: 0.8509 (range: 0.8509 - 0.8509)
kld_loss: 0.1731 (range: 0.1731 - 0.1731)
reconstruction_loss: 0.8509 (range: 0.8509 - 0.8509)
archetype_r2: 0.0938 (range: 0.0938 - 0.0938)
Archetype Transform Summary:
archetype_transform_mean: -0.001824 (range: -0.001824 - -0.001824)
archetype_transform_std: 0.106239 (range: 0.106239 - 0.106239)
archetype_transform_norm: 7.587393 (range: 7.587393 - 7.587393)
archetype_transform_grad_norm: 0.227556 (range: 0.227556 - 0.227556)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0013, max=0.8760, mean=0.1429
Batch reconstruction MSE: 1.1621
Archetype stats: min=-8.6207, max=14.0280
Archetype change since last debug: 4.134501
Archetype gradients: norm=0.031667, mean=0.001390
Epoch 1/1
Average loss: 0.7800
Archetypal loss: 0.8478
KLD loss: 0.1697
Reconstruction loss: 0.8478
Archetype R²: 0.0972
Archetype transform grad norm: 0.231652
Archetype transform param norm: 7.7244
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.7800 (range: 0.7800 - 0.7800)
archetypal_loss: 0.8478 (range: 0.8478 - 0.8478)
kld_loss: 0.1697 (range: 0.1697 - 0.1697)
reconstruction_loss: 0.8478 (range: 0.8478 - 0.8478)
archetype_r2: 0.0972 (range: 0.0972 - 0.0972)
Archetype Transform Summary:
archetype_transform_mean: -0.001782 (range: -0.001782 - -0.001782)
archetype_transform_std: 0.108159 (range: 0.108159 - 0.108159)
archetype_transform_norm: 7.724421 (range: 7.724421 - 7.724421)
archetype_transform_grad_norm: 0.231652 (range: 0.231652 - 0.231652)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0010, max=0.9002, mean=0.1429
Batch reconstruction MSE: 1.1333
Archetype stats: min=-9.2983, max=15.2712
Archetype change since last debug: 3.872793
Archetype gradients: norm=0.030645, mean=0.001382
Epoch 1/1
Average loss: 0.7763
Archetypal loss: 0.8439
KLD loss: 0.1678
Reconstruction loss: 0.8439
Archetype R²: 0.1014
Archetype transform grad norm: 0.234635
Archetype transform param norm: 7.8578
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.7763 (range: 0.7763 - 0.7763)
archetypal_loss: 0.8439 (range: 0.8439 - 0.8439)
kld_loss: 0.1678 (range: 0.1678 - 0.1678)
reconstruction_loss: 0.8439 (range: 0.8439 - 0.8439)
archetype_r2: 0.1014 (range: 0.1014 - 0.1014)
Archetype Transform Summary:
archetype_transform_mean: -0.001760 (range: -0.001760 - -0.001760)
archetype_transform_std: 0.110028 (range: 0.110028 - 0.110028)
archetype_transform_norm: 7.857839 (range: 7.857839 - 7.857839)
archetype_transform_grad_norm: 0.234635 (range: 0.234635 - 0.234635)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0008, max=0.9188, mean=0.1429
Batch reconstruction MSE: 1.1167
Archetype stats: min=-9.9443, max=16.3107
Archetype change since last debug: 3.715661
Archetype gradients: norm=0.031553, mean=0.001434
Epoch 1/1
Average loss: 0.7725
Archetypal loss: 0.8390
KLD loss: 0.1745
Reconstruction loss: 0.8390
Archetype R²: 0.1067
Archetype transform grad norm: 0.236862
Archetype transform param norm: 8.0089
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.7725 (range: 0.7725 - 0.7725)
archetypal_loss: 0.8390 (range: 0.8390 - 0.8390)
kld_loss: 0.1745 (range: 0.1745 - 0.1745)
reconstruction_loss: 0.8390 (range: 0.8390 - 0.8390)
archetype_r2: 0.1067 (range: 0.1067 - 0.1067)
Archetype Transform Summary:
archetype_transform_mean: -0.001726 (range: -0.001726 - -0.001726)
archetype_transform_std: 0.112145 (range: 0.112145 - 0.112145)
archetype_transform_norm: 8.008921 (range: 8.008921 - 8.008921)
archetype_transform_grad_norm: 0.236862 (range: 0.236862 - 0.236862)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0008, max=0.9313, mean=0.1429
Batch reconstruction MSE: 1.1336
Archetype stats: min=-10.4808, max=17.3061
Archetype change since last debug: 3.924272
Archetype gradients: norm=0.043475, mean=0.001731
Epoch 1/1
Average loss: 0.7698
Archetypal loss: 0.8350
KLD loss: 0.1825
Reconstruction loss: 0.8350
Archetype R²: 0.1109
Archetype transform grad norm: 0.241604
Archetype transform param norm: 8.1576
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.7698 (range: 0.7698 - 0.7698)
archetypal_loss: 0.8350 (range: 0.8350 - 0.8350)
kld_loss: 0.1825 (range: 0.1825 - 0.1825)
reconstruction_loss: 0.8350 (range: 0.8350 - 0.8350)
archetype_r2: 0.1109 (range: 0.1109 - 0.1109)
Archetype Transform Summary:
archetype_transform_mean: -0.001705 (range: -0.001705 - -0.001705)
archetype_transform_std: 0.114228 (range: 0.114228 - 0.114228)
archetype_transform_norm: 8.157628 (range: 8.157628 - 8.157628)
archetype_transform_grad_norm: 0.241604 (range: 0.241604 - 0.241604)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0008, max=0.9299, mean=0.1429
Batch reconstruction MSE: 1.1522
Archetype stats: min=-10.9870, max=18.1785
Archetype change since last debug: 3.694911
Archetype gradients: norm=0.057198, mean=0.001984
Epoch 1/1
Average loss: 0.7670
Archetypal loss: 0.8317
KLD loss: 0.1842
Reconstruction loss: 0.8317
Archetype R²: 0.1144
Archetype transform grad norm: 0.246430
Archetype transform param norm: 8.2907
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.7670 (range: 0.7670 - 0.7670)
archetypal_loss: 0.8317 (range: 0.8317 - 0.8317)
kld_loss: 0.1842 (range: 0.1842 - 0.1842)
reconstruction_loss: 0.8317 (range: 0.8317 - 0.8317)
archetype_r2: 0.1144 (range: 0.1144 - 0.1144)
Archetype Transform Summary:
archetype_transform_mean: -0.001682 (range: -0.001682 - -0.001682)
archetype_transform_std: 0.116092 (range: 0.116092 - 0.116092)
archetype_transform_norm: 8.290699 (range: 8.290699 - 8.290699)
archetype_transform_grad_norm: 0.246430 (range: 0.246430 - 0.246430)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0011, max=0.9109, mean=0.1429
Batch reconstruction MSE: 1.1543
Archetype stats: min=-11.3977, max=18.9028
Archetype change since last debug: 3.306154
Archetype gradients: norm=0.061109, mean=0.002095
Epoch 1/1
Average loss: 0.7644
Archetypal loss: 0.8292
KLD loss: 0.1814
Reconstruction loss: 0.8292
Archetype R²: 0.1171
Archetype transform grad norm: 0.247460
Archetype transform param norm: 8.4072
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.7644 (range: 0.7644 - 0.7644)
archetypal_loss: 0.8292 (range: 0.8292 - 0.8292)
kld_loss: 0.1814 (range: 0.1814 - 0.1814)
reconstruction_loss: 0.8292 (range: 0.8292 - 0.8292)
archetype_r2: 0.1171 (range: 0.1171 - 0.1171)
Archetype Transform Summary:
archetype_transform_mean: -0.001664 (range: -0.001664 - -0.001664)
archetype_transform_std: 0.117724 (range: 0.117724 - 0.117724)
archetype_transform_norm: 8.407220 (range: 8.407220 - 8.407220)
archetype_transform_grad_norm: 0.247460 (range: 0.247460 - 0.247460)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0015, max=0.8785, mean=0.1429
Batch reconstruction MSE: 1.1752
Archetype stats: min=-11.7837, max=19.4907
Archetype change since last debug: 3.031550
Archetype gradients: norm=0.059846, mean=0.002097
Epoch 1/1
Average loss: 0.7630
Archetypal loss: 0.8278
KLD loss: 0.1798
Reconstruction loss: 0.8278
Archetype R²: 0.1184
Archetype transform grad norm: 0.252494
Archetype transform param norm: 8.5042
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.7630 (range: 0.7630 - 0.7630)
archetypal_loss: 0.8278 (range: 0.8278 - 0.8278)
kld_loss: 0.1798 (range: 0.1798 - 0.1798)
reconstruction_loss: 0.8278 (range: 0.8278 - 0.8278)
archetype_r2: 0.1184 (range: 0.1184 - 0.1184)
Archetype Transform Summary:
archetype_transform_mean: -0.001637 (range: -0.001637 - -0.001637)
archetype_transform_std: 0.119082 (range: 0.119082 - 0.119082)
archetype_transform_norm: 8.504152 (range: 8.504152 - 8.504152)
archetype_transform_grad_norm: 0.252494 (range: 0.252494 - 0.252494)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0020, max=0.8487, mean=0.1429
Batch reconstruction MSE: 1.1521
Archetype stats: min=-12.0944, max=19.9733
Archetype change since last debug: 2.600589
Archetype gradients: norm=0.058960, mean=0.002086
Epoch 1/1
Average loss: 0.7610
Archetypal loss: 0.8259
KLD loss: 0.1767
Reconstruction loss: 0.8259
Archetype R²: 0.1205
Archetype transform grad norm: 0.251767
Archetype transform param norm: 8.5932
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.7610 (range: 0.7610 - 0.7610)
archetypal_loss: 0.8259 (range: 0.8259 - 0.8259)
kld_loss: 0.1767 (range: 0.1767 - 0.1767)
reconstruction_loss: 0.8259 (range: 0.8259 - 0.8259)
archetype_r2: 0.1205 (range: 0.1205 - 0.1205)
Archetype Transform Summary:
archetype_transform_mean: -0.001614 (range: -0.001614 - -0.001614)
archetype_transform_std: 0.120329 (range: 0.120329 - 0.120329)
archetype_transform_norm: 8.593159 (range: 8.593159 - 8.593159)
archetype_transform_grad_norm: 0.251767 (range: 0.251767 - 0.251767)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0036, max=0.7708, mean=0.1429
Batch reconstruction MSE: 1.1418
Archetype stats: min=-12.3346, max=20.4286
Archetype change since last debug: 2.513631
Archetype gradients: norm=0.052040, mean=0.001848
Epoch 1/1
Average loss: 0.7599
Archetypal loss: 0.8250
KLD loss: 0.1738
Reconstruction loss: 0.8250
Archetype R²: 0.1216
Archetype transform grad norm: 0.262298
Archetype transform param norm: 8.6749
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.7599 (range: 0.7599 - 0.7599)
archetypal_loss: 0.8250 (range: 0.8250 - 0.8250)
kld_loss: 0.1738 (range: 0.1738 - 0.1738)
reconstruction_loss: 0.8250 (range: 0.8250 - 0.8250)
archetype_r2: 0.1216 (range: 0.1216 - 0.1216)
Archetype Transform Summary:
archetype_transform_mean: -0.001576 (range: -0.001576 - -0.001576)
archetype_transform_std: 0.121475 (range: 0.121475 - 0.121475)
archetype_transform_norm: 8.674948 (range: 8.674948 - 8.674948)
archetype_transform_grad_norm: 0.262298 (range: 0.262298 - 0.262298)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0059, max=0.6612, mean=0.1429
Batch reconstruction MSE: 1.1329
Archetype stats: min=-12.5671, max=20.7197
Archetype change since last debug: 2.287005
Archetype gradients: norm=0.053100, mean=0.001975
Epoch 1/1
Average loss: 0.7590
Archetypal loss: 0.8241
KLD loss: 0.1737
Reconstruction loss: 0.8241
Archetype R²: 0.1226
Archetype transform grad norm: 0.263173
Archetype transform param norm: 8.7464
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.7590 (range: 0.7590 - 0.7590)
archetypal_loss: 0.8241 (range: 0.8241 - 0.8241)
kld_loss: 0.1737 (range: 0.1737 - 0.1737)
reconstruction_loss: 0.8241 (range: 0.8241 - 0.8241)
archetype_r2: 0.1226 (range: 0.1226 - 0.1226)
Archetype Transform Summary:
archetype_transform_mean: -0.001549 (range: -0.001549 - -0.001549)
archetype_transform_std: 0.122476 (range: 0.122476 - 0.122476)
archetype_transform_norm: 8.746411 (range: 8.746411 - 8.746411)
archetype_transform_grad_norm: 0.263173 (range: 0.263173 - 0.263173)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0081, max=0.5882, mean=0.1429
Batch reconstruction MSE: 1.1745
Archetype stats: min=-12.5965, max=21.0118
Archetype change since last debug: 2.171206
Archetype gradients: norm=0.052273, mean=0.002130
Epoch 1/1
Average loss: 0.7611
Archetypal loss: 0.8263
KLD loss: 0.1743
Reconstruction loss: 0.8263
Archetype R²: 0.1203
Archetype transform grad norm: 0.285248
Archetype transform param norm: 8.7948
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.7611 (range: 0.7611 - 0.7611)
archetypal_loss: 0.8263 (range: 0.8263 - 0.8263)
kld_loss: 0.1743 (range: 0.1743 - 0.1743)
reconstruction_loss: 0.8263 (range: 0.8263 - 0.8263)
archetype_r2: 0.1203 (range: 0.1203 - 0.1203)
Archetype Transform Summary:
archetype_transform_mean: -0.001526 (range: -0.001526 - -0.001526)
archetype_transform_std: 0.123155 (range: 0.123155 - 0.123155)
archetype_transform_norm: 8.794847 (range: 8.794847 - 8.794847)
archetype_transform_grad_norm: 0.285248 (range: 0.285248 - 0.285248)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0123, max=0.4616, mean=0.1429
Batch reconstruction MSE: 1.1794
Archetype stats: min=-12.5918, max=20.8118
Archetype change since last debug: 1.930950
Archetype gradients: norm=0.063393, mean=0.002371
Epoch 1/1
Average loss: 0.7618
Archetypal loss: 0.8267
KLD loss: 0.1783
Reconstruction loss: 0.8267
Archetype R²: 0.1200
Archetype transform grad norm: 0.285025
Archetype transform param norm: 8.8159
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.7618 (range: 0.7618 - 0.7618)
archetypal_loss: 0.8267 (range: 0.8267 - 0.8267)
kld_loss: 0.1783 (range: 0.1783 - 0.1783)
reconstruction_loss: 0.8267 (range: 0.8267 - 0.8267)
archetype_r2: 0.1200 (range: 0.1200 - 0.1200)
Archetype Transform Summary:
archetype_transform_mean: -0.001540 (range: -0.001540 - -0.001540)
archetype_transform_std: 0.123449 (range: 0.123449 - 0.123449)
archetype_transform_norm: 8.815879 (range: 8.815879 - 8.815879)
archetype_transform_grad_norm: 0.285025 (range: 0.285025 - 0.285025)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0116, max=0.4476, mean=0.1429
Batch reconstruction MSE: 1.1564
Archetype stats: min=-12.5279, max=20.7148
Archetype change since last debug: 2.223696
Archetype gradients: norm=0.049788, mean=0.002023
Epoch 1/1
Average loss: 0.7589
Archetypal loss: 0.8240
KLD loss: 0.1729
Reconstruction loss: 0.8240
Archetype R²: 0.1227
Archetype transform grad norm: 0.283984
Archetype transform param norm: 8.8434
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.7589 (range: 0.7589 - 0.7589)
archetypal_loss: 0.8240 (range: 0.8240 - 0.8240)
kld_loss: 0.1729 (range: 0.1729 - 0.1729)
reconstruction_loss: 0.8240 (range: 0.8240 - 0.8240)
archetype_r2: 0.1227 (range: 0.1227 - 0.1227)
Archetype Transform Summary:
archetype_transform_mean: -0.001548 (range: -0.001548 - -0.001548)
archetype_transform_std: 0.123834 (range: 0.123834 - 0.123834)
archetype_transform_norm: 8.843363 (range: 8.843363 - 8.843363)
archetype_transform_grad_norm: 0.283984 (range: 0.283984 - 0.283984)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0140, max=0.4124, mean=0.1429
Batch reconstruction MSE: 1.0794
Archetype stats: min=-12.5477, max=20.6390
Archetype change since last debug: 2.079567
Archetype gradients: norm=0.046930, mean=0.001819
Epoch 1/1
Average loss: 0.7556
Archetypal loss: 0.8205
KLD loss: 0.1721
Reconstruction loss: 0.8205
Archetype R²: 0.1266
Archetype transform grad norm: 0.263895
Archetype transform param norm: 8.9025
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.7556 (range: 0.7556 - 0.7556)
archetypal_loss: 0.8205 (range: 0.8205 - 0.8205)
kld_loss: 0.1721 (range: 0.1721 - 0.1721)
reconstruction_loss: 0.8205 (range: 0.8205 - 0.8205)
archetype_r2: 0.1266 (range: 0.1266 - 0.1266)
Archetype Transform Summary:
archetype_transform_mean: -0.001534 (range: -0.001534 - -0.001534)
archetype_transform_std: 0.124663 (range: 0.124663 - 0.124663)
archetype_transform_norm: 8.902505 (range: 8.902505 - 8.902505)
archetype_transform_grad_norm: 0.263895 (range: 0.263895 - 0.263895)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0163, max=0.3599, mean=0.1429
Batch reconstruction MSE: 1.0600
Archetype stats: min=-12.7639, max=20.9274
Archetype change since last debug: 2.025370
Archetype gradients: norm=0.034294, mean=0.001320
Epoch 1/1
Average loss: 0.7538
Archetypal loss: 0.8189
KLD loss: 0.1677
Reconstruction loss: 0.8189
Archetype R²: 0.1283
Archetype transform grad norm: 0.263339
Archetype transform param norm: 8.9743
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.7538 (range: 0.7538 - 0.7538)
archetypal_loss: 0.8189 (range: 0.8189 - 0.8189)
kld_loss: 0.1677 (range: 0.1677 - 0.1677)
reconstruction_loss: 0.8189 (range: 0.8189 - 0.8189)
archetype_r2: 0.1283 (range: 0.1283 - 0.1283)
Archetype Transform Summary:
archetype_transform_mean: -0.001508 (range: -0.001508 - -0.001508)
archetype_transform_std: 0.125669 (range: 0.125669 - 0.125669)
archetype_transform_norm: 8.974341 (range: 8.974341 - 8.974341)
archetype_transform_grad_norm: 0.263339 (range: 0.263339 - 0.263339)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0156, max=0.3951, mean=0.1429
Batch reconstruction MSE: 1.0568
Archetype stats: min=-12.9587, max=21.3660
Archetype change since last debug: 2.214164
Archetype gradients: norm=0.040347, mean=0.001582
Epoch 1/1
Average loss: 0.7533
Archetypal loss: 0.8184
KLD loss: 0.1671
Reconstruction loss: 0.8184
Archetype R²: 0.1288
Archetype transform grad norm: 0.258564
Archetype transform param norm: 9.0397
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.7533 (range: 0.7533 - 0.7533)
archetypal_loss: 0.8184 (range: 0.8184 - 0.8184)
kld_loss: 0.1671 (range: 0.1671 - 0.1671)
reconstruction_loss: 0.8184 (range: 0.8184 - 0.8184)
archetype_r2: 0.1288 (range: 0.1288 - 0.1288)
Archetype Transform Summary:
archetype_transform_mean: -0.001492 (range: -0.001492 - -0.001492)
archetype_transform_std: 0.126585 (range: 0.126585 - 0.126585)
archetype_transform_norm: 9.039726 (range: 9.039726 - 9.039726)
archetype_transform_grad_norm: 0.258564 (range: 0.258564 - 0.258564)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0178, max=0.3753, mean=0.1429
Batch reconstruction MSE: 1.0901
Archetype stats: min=-13.1793, max=21.6269
Archetype change since last debug: 1.918654
Archetype gradients: norm=0.030960, mean=0.001358
Epoch 1/1
Average loss: 0.7530
Archetypal loss: 0.8185
KLD loss: 0.1641
Reconstruction loss: 0.8185
Archetype R²: 0.1286
Archetype transform grad norm: 0.263704
Archetype transform param norm: 9.0968
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.7530 (range: 0.7530 - 0.7530)
archetypal_loss: 0.8185 (range: 0.8185 - 0.8185)
kld_loss: 0.1641 (range: 0.1641 - 0.1641)
reconstruction_loss: 0.8185 (range: 0.8185 - 0.8185)
archetype_r2: 0.1286 (range: 0.1286 - 0.1286)
Archetype Transform Summary:
archetype_transform_mean: -0.001471 (range: -0.001471 - -0.001471)
archetype_transform_std: 0.127384 (range: 0.127384 - 0.127384)
archetype_transform_norm: 9.096755 (range: 9.096755 - 9.096755)
archetype_transform_grad_norm: 0.263704 (range: 0.263704 - 0.263704)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0116, max=0.5116, mean=0.1429
Batch reconstruction MSE: 1.1122
Archetype stats: min=-13.3491, max=21.9120
Archetype change since last debug: 1.824122
Archetype gradients: norm=0.049606, mean=0.001876
Epoch 1/1
Average loss: 0.7540
Archetypal loss: 0.8191
KLD loss: 0.1675
Reconstruction loss: 0.8191
Archetype R²: 0.1279
Archetype transform grad norm: 0.262043
Archetype transform param norm: 9.1362
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.7540 (range: 0.7540 - 0.7540)
archetypal_loss: 0.8191 (range: 0.8191 - 0.8191)
kld_loss: 0.1675 (range: 0.1675 - 0.1675)
reconstruction_loss: 0.8191 (range: 0.8191 - 0.8191)
archetype_r2: 0.1279 (range: 0.1279 - 0.1279)
Archetype Transform Summary:
archetype_transform_mean: -0.001463 (range: -0.001463 - -0.001463)
archetype_transform_std: 0.127936 (range: 0.127936 - 0.127936)
archetype_transform_norm: 9.136172 (range: 9.136172 - 9.136172)
archetype_transform_grad_norm: 0.262043 (range: 0.262043 - 0.262043)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0186, max=0.3669, mean=0.1429
Batch reconstruction MSE: 1.1123
Archetype stats: min=-13.4623, max=22.0540
Archetype change since last debug: 1.330840
Archetype gradients: norm=0.031852, mean=0.001426
Epoch 1/1
Average loss: 0.7535
Archetypal loss: 0.8189
KLD loss: 0.1647
Reconstruction loss: 0.8189
Archetype R²: 0.1282
Archetype transform grad norm: 0.272832
Archetype transform param norm: 9.1745
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.7535 (range: 0.7535 - 0.7535)
archetypal_loss: 0.8189 (range: 0.8189 - 0.8189)
kld_loss: 0.1647 (range: 0.1647 - 0.1647)
reconstruction_loss: 0.8189 (range: 0.8189 - 0.8189)
archetype_r2: 0.1282 (range: 0.1282 - 0.1282)
Archetype Transform Summary:
archetype_transform_mean: -0.001453 (range: -0.001453 - -0.001453)
archetype_transform_std: 0.128473 (range: 0.128473 - 0.128473)
archetype_transform_norm: 9.174469 (range: 9.174469 - 9.174469)
archetype_transform_grad_norm: 0.272832 (range: 0.272832 - 0.272832)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0131, max=0.5060, mean=0.1429
Batch reconstruction MSE: 1.1057
Archetype stats: min=-13.6004, max=22.0829
Archetype change since last debug: 1.528880
Archetype gradients: norm=0.060121, mean=0.002075
Epoch 1/1
Average loss: 0.7532
Archetypal loss: 0.8187
KLD loss: 0.1640
Reconstruction loss: 0.8187
Archetype R²: 0.1284
Archetype transform grad norm: 0.271362
Archetype transform param norm: 9.2027
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.7532 (range: 0.7532 - 0.7532)
archetypal_loss: 0.8187 (range: 0.8187 - 0.8187)
kld_loss: 0.1640 (range: 0.1640 - 0.1640)
reconstruction_loss: 0.8187 (range: 0.8187 - 0.8187)
archetype_r2: 0.1284 (range: 0.1284 - 0.1284)
Archetype Transform Summary:
archetype_transform_mean: -0.001450 (range: -0.001450 - -0.001450)
archetype_transform_std: 0.128868 (range: 0.128868 - 0.128868)
archetype_transform_norm: 9.202675 (range: 9.202675 - 9.202675)
archetype_transform_grad_norm: 0.271362 (range: 0.271362 - 0.271362)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0188, max=0.3263, mean=0.1429
Batch reconstruction MSE: 1.1011
Archetype stats: min=-13.7008, max=22.2409
Archetype change since last debug: 1.351406
Archetype gradients: norm=0.033798, mean=0.001419
Epoch 1/1
Average loss: 0.7521
Archetypal loss: 0.8177
KLD loss: 0.1613
Reconstruction loss: 0.8177
Archetype R²: 0.1293
Archetype transform grad norm: 0.274301
Archetype transform param norm: 9.2385
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.7521 (range: 0.7521 - 0.7521)
archetypal_loss: 0.8177 (range: 0.8177 - 0.8177)
kld_loss: 0.1613 (range: 0.1613 - 0.1613)
reconstruction_loss: 0.8177 (range: 0.8177 - 0.8177)
archetype_r2: 0.1293 (range: 0.1293 - 0.1293)
Archetype Transform Summary:
archetype_transform_mean: -0.001438 (range: -0.001438 - -0.001438)
archetype_transform_std: 0.129369 (range: 0.129369 - 0.129369)
archetype_transform_norm: 9.238487 (range: 9.238487 - 9.238487)
archetype_transform_grad_norm: 0.274301 (range: 0.274301 - 0.274301)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0179, max=0.4397, mean=0.1429
Batch reconstruction MSE: 1.0670
Archetype stats: min=-13.8490, max=22.2528
Archetype change since last debug: 1.481411
Archetype gradients: norm=0.057028, mean=0.001946
Epoch 1/1
Average loss: 0.7514
Archetypal loss: 0.8170
KLD loss: 0.1614
Reconstruction loss: 0.8170
Archetype R²: 0.1303
Archetype transform grad norm: 0.274833
Archetype transform param norm: 9.2752
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.7514 (range: 0.7514 - 0.7514)
archetypal_loss: 0.8170 (range: 0.8170 - 0.8170)
kld_loss: 0.1614 (range: 0.1614 - 0.1614)
reconstruction_loss: 0.8170 (range: 0.8170 - 0.8170)
archetype_r2: 0.1303 (range: 0.1303 - 0.1303)
Archetype Transform Summary:
archetype_transform_mean: -0.001424 (range: -0.001424 - -0.001424)
archetype_transform_std: 0.129884 (range: 0.129884 - 0.129884)
archetype_transform_norm: 9.275209 (range: 9.275209 - 9.275209)
archetype_transform_grad_norm: 0.274833 (range: 0.274833 - 0.274833)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0198, max=0.3496, mean=0.1429
Batch reconstruction MSE: 1.0740
Archetype stats: min=-13.9634, max=22.5397
Archetype change since last debug: 1.396513
Archetype gradients: norm=0.032996, mean=0.001404
Epoch 1/1
Average loss: 0.7508
Archetypal loss: 0.8166
KLD loss: 0.1590
Reconstruction loss: 0.8166
Archetype R²: 0.1306
Archetype transform grad norm: 0.277299
Archetype transform param norm: 9.3147
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.7508 (range: 0.7508 - 0.7508)
archetypal_loss: 0.8166 (range: 0.8166 - 0.8166)
kld_loss: 0.1590 (range: 0.1590 - 0.1590)
reconstruction_loss: 0.8166 (range: 0.8166 - 0.8166)
archetype_r2: 0.1306 (range: 0.1306 - 0.1306)
Archetype Transform Summary:
archetype_transform_mean: -0.001411 (range: -0.001411 - -0.001411)
archetype_transform_std: 0.130437 (range: 0.130437 - 0.130437)
archetype_transform_norm: 9.314691 (range: 9.314691 - 9.314691)
archetype_transform_grad_norm: 0.277299 (range: 0.277299 - 0.277299)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0200, max=0.4209, mean=0.1429
Batch reconstruction MSE: 1.0605
Archetype stats: min=-14.1136, max=22.6235
Archetype change since last debug: 1.485577
Archetype gradients: norm=0.055620, mean=0.001923
Epoch 1/1
Average loss: 0.7505
Archetypal loss: 0.8163
KLD loss: 0.1583
Reconstruction loss: 0.8163
Archetype R²: 0.1310
Archetype transform grad norm: 0.275763
Archetype transform param norm: 9.3490
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.7505 (range: 0.7505 - 0.7505)
archetypal_loss: 0.8163 (range: 0.8163 - 0.8163)
kld_loss: 0.1583 (range: 0.1583 - 0.1583)
reconstruction_loss: 0.8163 (range: 0.8163 - 0.8163)
archetype_r2: 0.1310 (range: 0.1310 - 0.1310)
Archetype Transform Summary:
archetype_transform_mean: -0.001411 (range: -0.001411 - -0.001411)
archetype_transform_std: 0.130917 (range: 0.130917 - 0.130917)
archetype_transform_norm: 9.348956 (range: 9.348956 - 9.348956)
archetype_transform_grad_norm: 0.275763 (range: 0.275763 - 0.275763)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0180, max=0.3576, mean=0.1429
Batch reconstruction MSE: 1.0938
Archetype stats: min=-14.2346, max=22.8829
Archetype change since last debug: 1.313519
Archetype gradients: norm=0.031803, mean=0.001318
Epoch 1/1
Average loss: 0.7512
Archetypal loss: 0.8171
KLD loss: 0.1589
Reconstruction loss: 0.8171
Archetype R²: 0.1302
Archetype transform grad norm: 0.276985
Archetype transform param norm: 9.3789
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.7512 (range: 0.7512 - 0.7512)
archetypal_loss: 0.8171 (range: 0.8171 - 0.8171)
kld_loss: 0.1589 (range: 0.1589 - 0.1589)
reconstruction_loss: 0.8171 (range: 0.8171 - 0.8171)
archetype_r2: 0.1302 (range: 0.1302 - 0.1302)
Archetype Transform Summary:
archetype_transform_mean: -0.001403 (range: -0.001403 - -0.001403)
archetype_transform_std: 0.131336 (range: 0.131336 - 0.131336)
archetype_transform_norm: 9.378905 (range: 9.378905 - 9.378905)
archetype_transform_grad_norm: 0.276985 (range: 0.276985 - 0.276985)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0125, max=0.4637, mean=0.1429
Batch reconstruction MSE: 1.1036
Archetype stats: min=-14.3842, max=22.9922
Archetype change since last debug: 1.339847
Archetype gradients: norm=0.060250, mean=0.002043
Epoch 1/1
Average loss: 0.7517
Archetypal loss: 0.8175
KLD loss: 0.1592
Reconstruction loss: 0.8175
Archetype R²: 0.1296
Archetype transform grad norm: 0.278561
Archetype transform param norm: 9.3928
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.7517 (range: 0.7517 - 0.7517)
archetypal_loss: 0.8175 (range: 0.8175 - 0.8175)
kld_loss: 0.1592 (range: 0.1592 - 0.1592)
reconstruction_loss: 0.8175 (range: 0.8175 - 0.8175)
archetype_r2: 0.1296 (range: 0.1296 - 0.1296)
Archetype Transform Summary:
archetype_transform_mean: -0.001416 (range: -0.001416 - -0.001416)
archetype_transform_std: 0.131531 (range: 0.131531 - 0.131531)
archetype_transform_norm: 9.392841 (range: 9.392841 - 9.392841)
archetype_transform_grad_norm: 0.278561 (range: 0.278561 - 0.278561)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0175, max=0.3060, mean=0.1429
Batch reconstruction MSE: 1.0946
Archetype stats: min=-14.4689, max=23.0448
Archetype change since last debug: 1.050326
Archetype gradients: norm=0.030631, mean=0.001358
Epoch 1/1
Average loss: 0.7504
Archetypal loss: 0.8161
KLD loss: 0.1585
Reconstruction loss: 0.8161
Archetype R²: 0.1311
Archetype transform grad norm: 0.271798
Archetype transform param norm: 9.4151
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.7504 (range: 0.7504 - 0.7504)
archetypal_loss: 0.8161 (range: 0.8161 - 0.8161)
kld_loss: 0.1585 (range: 0.1585 - 0.1585)
reconstruction_loss: 0.8161 (range: 0.8161 - 0.8161)
archetype_r2: 0.1311 (range: 0.1311 - 0.1311)
Archetype Transform Summary:
archetype_transform_mean: -0.001406 (range: -0.001406 - -0.001406)
archetype_transform_std: 0.131844 (range: 0.131844 - 0.131844)
archetype_transform_norm: 9.415134 (range: 9.415134 - 9.415134)
archetype_transform_grad_norm: 0.271798 (range: 0.271798 - 0.271798)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0141, max=0.3551, mean=0.1429
Batch reconstruction MSE: 1.0520
Archetype stats: min=-14.5719, max=23.1656
Archetype change since last debug: 1.208288
Archetype gradients: norm=0.039895, mean=0.001505
Epoch 1/1
Average loss: 0.7493
Archetypal loss: 0.8151
KLD loss: 0.1573
Reconstruction loss: 0.8151
Archetype R²: 0.1323
Archetype transform grad norm: 0.268651
Archetype transform param norm: 9.4447
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.7493 (range: 0.7493 - 0.7493)
archetypal_loss: 0.8151 (range: 0.8151 - 0.8151)
kld_loss: 0.1573 (range: 0.1573 - 0.1573)
reconstruction_loss: 0.8151 (range: 0.8151 - 0.8151)
archetype_r2: 0.1323 (range: 0.1323 - 0.1323)
Archetype Transform Summary:
archetype_transform_mean: -0.001397 (range: -0.001397 - -0.001397)
archetype_transform_std: 0.132258 (range: 0.132258 - 0.132258)
archetype_transform_norm: 9.444723 (range: 9.444723 - 9.444723)
archetype_transform_grad_norm: 0.268651 (range: 0.268651 - 0.268651)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0187, max=0.2892, mean=0.1429
Batch reconstruction MSE: 1.0539
Archetype stats: min=-14.6981, max=23.3137
Archetype change since last debug: 1.290201
Archetype gradients: norm=0.034459, mean=0.001460
Epoch 1/1
Average loss: 0.7485
Archetypal loss: 0.8143
KLD loss: 0.1561
Reconstruction loss: 0.8143
Archetype R²: 0.1331
Archetype transform grad norm: 0.266530
Archetype transform param norm: 9.4798
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.7485 (range: 0.7485 - 0.7485)
archetypal_loss: 0.8143 (range: 0.8143 - 0.8143)
kld_loss: 0.1561 (range: 0.1561 - 0.1561)
reconstruction_loss: 0.8143 (range: 0.8143 - 0.8143)
archetype_r2: 0.1331 (range: 0.1331 - 0.1331)
Archetype Transform Summary:
archetype_transform_mean: -0.001377 (range: -0.001377 - -0.001377)
archetype_transform_std: 0.132749 (range: 0.132749 - 0.132749)
archetype_transform_norm: 9.479775 (range: 9.479775 - 9.479775)
archetype_transform_grad_norm: 0.266530 (range: 0.266530 - 0.266530)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0142, max=0.3434, mean=0.1429
Batch reconstruction MSE: 1.0533
Archetype stats: min=-14.8286, max=23.5572
Archetype change since last debug: 1.328782
Archetype gradients: norm=0.031874, mean=0.001325
Epoch 1/1
Average loss: 0.7488
Archetypal loss: 0.8147
KLD loss: 0.1559
Reconstruction loss: 0.8147
Archetype R²: 0.1327
Archetype transform grad norm: 0.265340
Archetype transform param norm: 9.5088
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.7488 (range: 0.7488 - 0.7488)
archetypal_loss: 0.8147 (range: 0.8147 - 0.8147)
kld_loss: 0.1559 (range: 0.1559 - 0.1559)
reconstruction_loss: 0.8147 (range: 0.8147 - 0.8147)
archetype_r2: 0.1327 (range: 0.1327 - 0.1327)
Archetype Transform Summary:
archetype_transform_mean: -0.001369 (range: -0.001369 - -0.001369)
archetype_transform_std: 0.133156 (range: 0.133156 - 0.133156)
archetype_transform_norm: 9.508808 (range: 9.508808 - 9.508808)
archetype_transform_grad_norm: 0.265340 (range: 0.265340 - 0.265340)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0183, max=0.3332, mean=0.1429
Batch reconstruction MSE: 1.0929
Archetype stats: min=-14.9975, max=23.5370
Archetype change since last debug: 1.237501
Archetype gradients: norm=0.054391, mean=0.001902
Epoch 1/1
Average loss: 0.7496
Archetypal loss: 0.8156
KLD loss: 0.1561
Reconstruction loss: 0.8156
Archetype R²: 0.1316
Archetype transform grad norm: 0.279893
Archetype transform param norm: 9.5251
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.7496 (range: 0.7496 - 0.7496)
archetypal_loss: 0.8156 (range: 0.8156 - 0.8156)
kld_loss: 0.1561 (range: 0.1561 - 0.1561)
reconstruction_loss: 0.8156 (range: 0.8156 - 0.8156)
archetype_r2: 0.1316 (range: 0.1316 - 0.1316)
Archetype Transform Summary:
archetype_transform_mean: -0.001367 (range: -0.001367 - -0.001367)
archetype_transform_std: 0.133384 (range: 0.133384 - 0.133384)
archetype_transform_norm: 9.525115 (range: 9.525115 - 9.525115)
archetype_transform_grad_norm: 0.279893 (range: 0.279893 - 0.279893)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0117, max=0.3752, mean=0.1429
Batch reconstruction MSE: 1.0921
Archetype stats: min=-15.0939, max=23.7707
Archetype change since last debug: 1.100260
Archetype gradients: norm=0.039673, mean=0.001571
Epoch 1/1
Average loss: 0.7499
Archetypal loss: 0.8158
KLD loss: 0.1566
Reconstruction loss: 0.8158
Archetype R²: 0.1314
Archetype transform grad norm: 0.277787
Archetype transform param norm: 9.5351
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.7499 (range: 0.7499 - 0.7499)
archetypal_loss: 0.8158 (range: 0.8158 - 0.8158)
kld_loss: 0.1566 (range: 0.1566 - 0.1566)
reconstruction_loss: 0.8158 (range: 0.8158 - 0.8158)
archetype_r2: 0.1314 (range: 0.1314 - 0.1314)
Archetype Transform Summary:
archetype_transform_mean: -0.001380 (range: -0.001380 - -0.001380)
archetype_transform_std: 0.133525 (range: 0.133525 - 0.133525)
archetype_transform_norm: 9.535137 (range: 9.535137 - 9.535137)
archetype_transform_grad_norm: 0.277787 (range: 0.277787 - 0.277787)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0190, max=0.4317, mean=0.1429
Batch reconstruction MSE: 1.1152
Archetype stats: min=-15.1986, max=23.7739
Archetype change since last debug: 0.994655
Archetype gradients: norm=0.066518, mean=0.002161
Epoch 1/1
Average loss: 0.7498
Archetypal loss: 0.8157
KLD loss: 0.1567
Reconstruction loss: 0.8157
Archetype R²: 0.1314
Archetype transform grad norm: 0.281597
Archetype transform param norm: 9.5404
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.7498 (range: 0.7498 - 0.7498)
archetypal_loss: 0.8157 (range: 0.8157 - 0.8157)
kld_loss: 0.1567 (range: 0.1567 - 0.1567)
reconstruction_loss: 0.8157 (range: 0.8157 - 0.8157)
archetype_r2: 0.1314 (range: 0.1314 - 0.1314)
Archetype Transform Summary:
archetype_transform_mean: -0.001367 (range: -0.001367 - -0.001367)
archetype_transform_std: 0.133599 (range: 0.133599 - 0.133599)
archetype_transform_norm: 9.540435 (range: 9.540435 - 9.540435)
archetype_transform_grad_norm: 0.281597 (range: 0.281597 - 0.281597)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0148, max=0.3530, mean=0.1429
Batch reconstruction MSE: 1.1099
Archetype stats: min=-15.2748, max=23.9394
Archetype change since last debug: 0.980084
Archetype gradients: norm=0.044815, mean=0.001849
Epoch 1/1
Average loss: 0.7501
Archetypal loss: 0.8161
KLD loss: 0.1557
Reconstruction loss: 0.8161
Archetype R²: 0.1310
Archetype transform grad norm: 0.282924
Archetype transform param norm: 9.5472
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.7501 (range: 0.7501 - 0.7501)
archetypal_loss: 0.8161 (range: 0.8161 - 0.8161)
kld_loss: 0.1557 (range: 0.1557 - 0.1557)
reconstruction_loss: 0.8161 (range: 0.8161 - 0.8161)
archetype_r2: 0.1310 (range: 0.1310 - 0.1310)
Archetype Transform Summary:
archetype_transform_mean: -0.001386 (range: -0.001386 - -0.001386)
archetype_transform_std: 0.133693 (range: 0.133693 - 0.133693)
archetype_transform_norm: 9.547175 (range: 9.547175 - 9.547175)
archetype_transform_grad_norm: 0.282924 (range: 0.282924 - 0.282924)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0199, max=0.3510, mean=0.1429
Batch reconstruction MSE: 1.0919
Archetype stats: min=-15.4153, max=23.9059
Archetype change since last debug: 0.940607
Archetype gradients: norm=0.058850, mean=0.002099
Epoch 1/1
Average loss: 0.7494
Archetypal loss: 0.8152
KLD loss: 0.1574
Reconstruction loss: 0.8152
Archetype R²: 0.1321
Archetype transform grad norm: 0.282004
Archetype transform param norm: 9.5588
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.7494 (range: 0.7494 - 0.7494)
archetypal_loss: 0.8152 (range: 0.8152 - 0.8152)
kld_loss: 0.1574 (range: 0.1574 - 0.1574)
reconstruction_loss: 0.8152 (range: 0.8152 - 0.8152)
archetype_r2: 0.1321 (range: 0.1321 - 0.1321)
Archetype Transform Summary:
archetype_transform_mean: -0.001365 (range: -0.001365 - -0.001365)
archetype_transform_std: 0.133856 (range: 0.133856 - 0.133856)
archetype_transform_norm: 9.558785 (range: 9.558785 - 9.558785)
archetype_transform_grad_norm: 0.282004 (range: 0.282004 - 0.282004)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0123, max=0.3349, mean=0.1429
Batch reconstruction MSE: 1.0562
Archetype stats: min=-15.5367, max=24.2134
Archetype change since last debug: 1.072680
Archetype gradients: norm=0.033333, mean=0.001345
Epoch 1/1
Average loss: 0.7480
Archetypal loss: 0.8140
KLD loss: 0.1545
Reconstruction loss: 0.8140
Archetype R²: 0.1334
Archetype transform grad norm: 0.271630
Archetype transform param norm: 9.5788
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.7480 (range: 0.7480 - 0.7480)
archetypal_loss: 0.8140 (range: 0.8140 - 0.8140)
kld_loss: 0.1545 (range: 0.1545 - 0.1545)
reconstruction_loss: 0.8140 (range: 0.8140 - 0.8140)
archetype_r2: 0.1334 (range: 0.1334 - 0.1334)
Archetype Transform Summary:
archetype_transform_mean: -0.001387 (range: -0.001387 - -0.001387)
archetype_transform_std: 0.134137 (range: 0.134137 - 0.134137)
archetype_transform_norm: 9.578842 (range: 9.578842 - 9.578842)
archetype_transform_grad_norm: 0.271630 (range: 0.271630 - 0.271630)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0199, max=0.3495, mean=0.1429
Batch reconstruction MSE: 1.0560
Archetype stats: min=-15.7653, max=24.2131
Archetype change since last debug: 1.134810
Archetype gradients: norm=0.049166, mean=0.001737
Epoch 1/1
Average loss: 0.7474
Archetypal loss: 0.8132
KLD loss: 0.1550
Reconstruction loss: 0.8132
Archetype R²: 0.1342
Archetype transform grad norm: 0.268560
Archetype transform param norm: 9.6035
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.7474 (range: 0.7474 - 0.7474)
archetypal_loss: 0.8132 (range: 0.8132 - 0.8132)
kld_loss: 0.1550 (range: 0.1550 - 0.1550)
reconstruction_loss: 0.8132 (range: 0.8132 - 0.8132)
archetype_r2: 0.1342 (range: 0.1342 - 0.1342)
Archetype Transform Summary:
archetype_transform_mean: -0.001367 (range: -0.001367 - -0.001367)
archetype_transform_std: 0.134482 (range: 0.134482 - 0.134482)
archetype_transform_norm: 9.603511 (range: 9.603511 - 9.603511)
archetype_transform_grad_norm: 0.268560 (range: 0.268560 - 0.268560)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0126, max=0.2811, mean=0.1429
Batch reconstruction MSE: 1.0381
Archetype stats: min=-15.9464, max=24.5751
Archetype change since last debug: 1.187502
Archetype gradients: norm=0.029273, mean=0.001134
Epoch 1/1
Average loss: 0.7468
Archetypal loss: 0.8128
KLD loss: 0.1522
Reconstruction loss: 0.8128
Archetype R²: 0.1346
Archetype transform grad norm: 0.270573
Archetype transform param norm: 9.6316
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.7468 (range: 0.7468 - 0.7468)
archetypal_loss: 0.8128 (range: 0.8128 - 0.8128)
kld_loss: 0.1522 (range: 0.1522 - 0.1522)
reconstruction_loss: 0.8128 (range: 0.8128 - 0.8128)
archetype_r2: 0.1346 (range: 0.1346 - 0.1346)
Archetype Transform Summary:
archetype_transform_mean: -0.001371 (range: -0.001371 - -0.001371)
archetype_transform_std: 0.134875 (range: 0.134875 - 0.134875)
archetype_transform_norm: 9.631585 (range: 9.631585 - 9.631585)
archetype_transform_grad_norm: 0.270573 (range: 0.270573 - 0.270573)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0182, max=0.4030, mean=0.1429
Batch reconstruction MSE: 1.0636
Archetype stats: min=-16.1928, max=24.5505
Archetype change since last debug: 1.171073
Archetype gradients: norm=0.052632, mean=0.001821
Epoch 1/1
Average loss: 0.7476
Archetypal loss: 0.8137
KLD loss: 0.1531
Reconstruction loss: 0.8137
Archetype R²: 0.1337
Archetype transform grad norm: 0.272104
Archetype transform param norm: 9.6501
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.7476 (range: 0.7476 - 0.7476)
archetypal_loss: 0.8137 (range: 0.8137 - 0.8137)
kld_loss: 0.1531 (range: 0.1531 - 0.1531)
reconstruction_loss: 0.8137 (range: 0.8137 - 0.8137)
archetype_r2: 0.1337 (range: 0.1337 - 0.1337)
Archetype Transform Summary:
archetype_transform_mean: -0.001346 (range: -0.001346 - -0.001346)
archetype_transform_std: 0.135134 (range: 0.135134 - 0.135134)
archetype_transform_norm: 9.650051 (range: 9.650051 - 9.650051)
archetype_transform_grad_norm: 0.272104 (range: 0.272104 - 0.272104)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0140, max=0.3096, mean=0.1429
Batch reconstruction MSE: 1.0895
Archetype stats: min=-16.2206, max=24.8467
Archetype change since last debug: 1.026967
Archetype gradients: norm=0.038609, mean=0.001654
Epoch 1/1
Average loss: 0.7478
Archetypal loss: 0.8142
KLD loss: 0.1499
Reconstruction loss: 0.8142
Archetype R²: 0.1330
Archetype transform grad norm: 0.282594
Archetype transform param norm: 9.6585
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.7478 (range: 0.7478 - 0.7478)
archetypal_loss: 0.8142 (range: 0.8142 - 0.8142)
kld_loss: 0.1499 (range: 0.1499 - 0.1499)
reconstruction_loss: 0.8142 (range: 0.8142 - 0.8142)
archetype_r2: 0.1330 (range: 0.1330 - 0.1330)
Archetype Transform Summary:
archetype_transform_mean: -0.001352 (range: -0.001352 - -0.001352)
archetype_transform_std: 0.135252 (range: 0.135252 - 0.135252)
archetype_transform_norm: 9.658463 (range: 9.658463 - 9.658463)
archetype_transform_grad_norm: 0.282594 (range: 0.282594 - 0.282594)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0179, max=0.3989, mean=0.1429
Batch reconstruction MSE: 1.1014
Archetype stats: min=-16.3208, max=24.4203
Archetype change since last debug: 1.169539
Archetype gradients: norm=0.065428, mean=0.002240
Epoch 1/1
Average loss: 0.7489
Archetypal loss: 0.8148
KLD loss: 0.1560
Reconstruction loss: 0.8148
Archetype R²: 0.1324
Archetype transform grad norm: 0.283434
Archetype transform param norm: 9.6608
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.7489 (range: 0.7489 - 0.7489)
archetypal_loss: 0.8148 (range: 0.8148 - 0.8148)
kld_loss: 0.1560 (range: 0.1560 - 0.1560)
reconstruction_loss: 0.8148 (range: 0.8148 - 0.8148)
archetype_r2: 0.1324 (range: 0.1324 - 0.1324)
Archetype Transform Summary:
archetype_transform_mean: -0.001323 (range: -0.001323 - -0.001323)
archetype_transform_std: 0.135285 (range: 0.135285 - 0.135285)
archetype_transform_norm: 9.660796 (range: 9.660796 - 9.660796)
archetype_transform_grad_norm: 0.283434 (range: 0.283434 - 0.283434)
Fold 3/3
Model input_dim: 50 (auto-detected from data)
Archetypes parameter registered: True
Archetypes requires_grad: True
Deep_AA (Deep Archetypal Analysis) initialized:
- Single-stage architecture (like Deep_2)
- Inflation factor: 1.5
- Direct archetypal coordinates (no bottleneck)
Consolidated Archetype Initialization
PCHA: True, Inflation: True (factor: 1.5)
Test inflation: False
Running PCHA initialization...
Input shape: (128, 50)
Target archetypes: 7
Running PCHA with 7 archetypes...
Data shape for PCHA: (50, 128)
PCHA Results:
Archetypes shape: (7, 50)
Archetype R²: 0.3012
SSE: 3810.2071
PCHA archetype R²: 0.3012
Archetype shape: (7, 50)
[OK] Initialized 7 archetypes using PCHA
Scalar Archetypal Inflation (factor: 1.50)
[OK] Inflation complete
[STATS] Positioning verification:
Data radius (max): 16.629
Data radius (mean): 6.068
Archetype distances: 3.965 to 22.336
Archetypes outside data: 2/7
Min archetype separation: 8.396
[OK] Archetype initialization complete (success: True)
[OK] Archetype initialization complete (PCHA: True, Inflation: 1.5)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0009, max=0.8946, mean=0.1429
Batch reconstruction MSE: 0.9783
Archetype stats: min=-2.4406, max=2.0775
Archetype gradients: norm=0.012155, mean=0.000475
Epoch 1/1
Average loss: 0.9044
Archetypal loss: 0.9889
KLD loss: 0.1443
Reconstruction loss: 0.9889
Archetype R²: -0.0160
Archetype transform grad norm: 0.190524
Archetype transform param norm: 5.7726
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.9044 (range: 0.9044 - 0.9044)
archetypal_loss: 0.9889 (range: 0.9889 - 0.9889)
kld_loss: 0.1443 (range: 0.1443 - 0.1443)
reconstruction_loss: 0.9889 (range: 0.9889 - 0.9889)
archetype_r2: -0.0160 (range: -0.0160 - -0.0160)
Archetype Transform Summary:
archetype_transform_mean: 0.000912 (range: 0.000912 - 0.000912)
archetype_transform_std: 0.080835 (range: 0.080835 - 0.080835)
archetype_transform_norm: 5.772581 (range: 5.772581 - 5.772581)
archetype_transform_grad_norm: 0.190524 (range: 0.190524 - 0.190524)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0013, max=0.8894, mean=0.1429
Batch reconstruction MSE: 0.8696
Archetype stats: min=-1.1206, max=1.3049
Archetype change since last debug: 8.334899
Archetype gradients: norm=0.003335, mean=0.000125
Epoch 1/1
Average loss: 0.8797
Archetypal loss: 0.9681
KLD loss: 0.0837
Reconstruction loss: 0.9681
Archetype R²: 0.0053
Archetype transform grad norm: 0.143380
Archetype transform param norm: 5.8147
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.8797 (range: 0.8797 - 0.8797)
archetypal_loss: 0.9681 (range: 0.9681 - 0.9681)
kld_loss: 0.0837 (range: 0.0837 - 0.0837)
reconstruction_loss: 0.9681 (range: 0.9681 - 0.9681)
archetype_r2: 0.0053 (range: 0.0053 - 0.0053)
Archetype Transform Summary:
archetype_transform_mean: 0.001034 (range: 0.001034 - 0.001034)
archetype_transform_std: 0.081423 (range: 0.081423 - 0.081423)
archetype_transform_norm: 5.814650 (range: 5.814650 - 5.814650)
archetype_transform_grad_norm: 0.143380 (range: 0.143380 - 0.143380)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0012, max=0.9031, mean=0.1429
Batch reconstruction MSE: 0.9009
Archetype stats: min=-2.2138, max=2.7803
Archetype change since last debug: 5.501161
Archetype gradients: norm=0.006785, mean=0.000206
Epoch 1/1
Average loss: 0.8690
Archetypal loss: 0.9515
KLD loss: 0.1270
Reconstruction loss: 0.9515
Archetype R²: 0.0222
Archetype transform grad norm: 0.177374
Archetype transform param norm: 5.9597
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.8690 (range: 0.8690 - 0.8690)
archetypal_loss: 0.9515 (range: 0.9515 - 0.9515)
kld_loss: 0.1270 (range: 0.1270 - 0.1270)
reconstruction_loss: 0.9515 (range: 0.9515 - 0.9515)
archetype_r2: 0.0222 (range: 0.0222 - 0.0222)
Archetype Transform Summary:
archetype_transform_mean: 0.001029 (range: 0.001029 - 0.001029)
archetype_transform_std: 0.083454 (range: 0.083454 - 0.083454)
archetype_transform_norm: 5.959697 (range: 5.959697 - 5.959697)
archetype_transform_grad_norm: 0.177374 (range: 0.177374 - 0.177374)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0010, max=0.9171, mean=0.1429
Batch reconstruction MSE: 0.9847
Archetype stats: min=-3.6072, max=4.5189
Archetype change since last debug: 8.608363
Archetype gradients: norm=0.013195, mean=0.000404
Epoch 1/1
Average loss: 0.8566
Archetypal loss: 0.9330
KLD loss: 0.1695
Reconstruction loss: 0.9330
Archetype R²: 0.0411
Archetype transform grad norm: 0.203516
Archetype transform param norm: 6.1930
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.8566 (range: 0.8566 - 0.8566)
archetypal_loss: 0.9330 (range: 0.9330 - 0.9330)
kld_loss: 0.1695 (range: 0.1695 - 0.1695)
reconstruction_loss: 0.9330 (range: 0.9330 - 0.9330)
archetype_r2: 0.0411 (range: 0.0411 - 0.0411)
Archetype Transform Summary:
archetype_transform_mean: 0.000944 (range: 0.000944 - 0.000944)
archetype_transform_std: 0.086722 (range: 0.086722 - 0.086722)
archetype_transform_norm: 6.192984 (range: 6.192984 - 6.192984)
archetype_transform_grad_norm: 0.203516 (range: 0.203516 - 0.203516)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0014, max=0.8757, mean=0.1429
Batch reconstruction MSE: 1.0670
Archetype stats: min=-4.3361, max=5.4705
Archetype change since last debug: 9.251167
Archetype gradients: norm=0.018509, mean=0.000653
Epoch 1/1
Average loss: 0.8453
Archetypal loss: 0.9186
KLD loss: 0.1854
Reconstruction loss: 0.9186
Archetype R²: 0.0557
Archetype transform grad norm: 0.219091
Archetype transform param norm: 6.4492
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.8453 (range: 0.8453 - 0.8453)
archetypal_loss: 0.9186 (range: 0.9186 - 0.9186)
kld_loss: 0.1854 (range: 0.1854 - 0.1854)
reconstruction_loss: 0.9186 (range: 0.9186 - 0.9186)
archetype_r2: 0.0557 (range: 0.0557 - 0.0557)
Archetype Transform Summary:
archetype_transform_mean: 0.000897 (range: 0.000897 - 0.000897)
archetype_transform_std: 0.090311 (range: 0.090311 - 0.090311)
archetype_transform_norm: 6.449179 (range: 6.449179 - 6.449179)
archetype_transform_grad_norm: 0.219091 (range: 0.219091 - 0.219091)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0024, max=0.7929, mean=0.1429
Batch reconstruction MSE: 1.1380
Archetype stats: min=-6.1321, max=5.9699
Archetype change since last debug: 8.333740
Archetype gradients: norm=0.024903, mean=0.000934
Epoch 1/1
Average loss: 0.8372
Archetypal loss: 0.9095
KLD loss: 0.1869
Reconstruction loss: 0.9095
Archetype R²: 0.0649
Archetype transform grad norm: 0.231666
Archetype transform param norm: 6.6674
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.8372 (range: 0.8372 - 0.8372)
archetypal_loss: 0.9095 (range: 0.9095 - 0.9095)
kld_loss: 0.1869 (range: 0.1869 - 0.1869)
reconstruction_loss: 0.9095 (range: 0.9095 - 0.9095)
archetype_r2: 0.0649 (range: 0.0649 - 0.0649)
Archetype Transform Summary:
archetype_transform_mean: 0.000949 (range: 0.000949 - 0.000949)
archetype_transform_std: 0.093367 (range: 0.093367 - 0.093367)
archetype_transform_norm: 6.667442 (range: 6.667442 - 6.667442)
archetype_transform_grad_norm: 0.231666 (range: 0.231666 - 0.231666)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0031, max=0.7417, mean=0.1429
Batch reconstruction MSE: 1.1662
Archetype stats: min=-7.9232, max=7.1233
Archetype change since last debug: 6.656819
Archetype gradients: norm=0.027897, mean=0.001109
Epoch 1/1
Average loss: 0.8291
Archetypal loss: 0.8998
KLD loss: 0.1924
Reconstruction loss: 0.8998
Archetype R²: 0.0748
Archetype transform grad norm: 0.236900
Archetype transform param norm: 6.8607
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.8291 (range: 0.8291 - 0.8291)
archetypal_loss: 0.8998 (range: 0.8998 - 0.8998)
kld_loss: 0.1924 (range: 0.1924 - 0.1924)
reconstruction_loss: 0.8998 (range: 0.8998 - 0.8998)
archetype_r2: 0.0748 (range: 0.0748 - 0.0748)
Archetype Transform Summary:
archetype_transform_mean: 0.001047 (range: 0.001047 - 0.001047)
archetype_transform_std: 0.096073 (range: 0.096073 - 0.096073)
archetype_transform_norm: 6.860749 (range: 6.860749 - 6.860749)
archetype_transform_grad_norm: 0.236900 (range: 0.236900 - 0.236900)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0031, max=0.7732, mean=0.1429
Batch reconstruction MSE: 1.1979
Archetype stats: min=-9.2286, max=7.9125
Archetype change since last debug: 6.354112
Archetype gradients: norm=0.032486, mean=0.001299
Epoch 1/1
Average loss: 0.8232
Archetypal loss: 0.8930
KLD loss: 0.1946
Reconstruction loss: 0.8930
Archetype R²: 0.0818
Archetype transform grad norm: 0.243466
Archetype transform param norm: 7.0306
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.8232 (range: 0.8232 - 0.8232)
archetypal_loss: 0.8930 (range: 0.8930 - 0.8930)
kld_loss: 0.1946 (range: 0.1946 - 0.1946)
reconstruction_loss: 0.8930 (range: 0.8930 - 0.8930)
archetype_r2: 0.0818 (range: 0.0818 - 0.0818)
Archetype Transform Summary:
archetype_transform_mean: 0.001126 (range: 0.001126 - 0.001126)
archetype_transform_std: 0.098452 (range: 0.098452 - 0.098452)
archetype_transform_norm: 7.030623 (range: 7.030623 - 7.030623)
archetype_transform_grad_norm: 0.243466 (range: 0.243466 - 0.243466)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0032, max=0.7946, mean=0.1429
Batch reconstruction MSE: 1.2212
Archetype stats: min=-10.2420, max=9.5128
Archetype change since last debug: 5.335392
Archetype gradients: norm=0.037941, mean=0.001454
Epoch 1/1
Average loss: 0.8183
Archetypal loss: 0.8882
KLD loss: 0.1893
Reconstruction loss: 0.8882
Archetype R²: 0.0866
Archetype transform grad norm: 0.248596
Archetype transform param norm: 7.1691
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.8183 (range: 0.8183 - 0.8183)
archetypal_loss: 0.8882 (range: 0.8882 - 0.8882)
kld_loss: 0.1893 (range: 0.1893 - 0.1893)
reconstruction_loss: 0.8882 (range: 0.8882 - 0.8882)
archetype_r2: 0.0866 (range: 0.0866 - 0.0866)
Archetype Transform Summary:
archetype_transform_mean: 0.001181 (range: 0.001181 - 0.001181)
archetype_transform_std: 0.100391 (range: 0.100391 - 0.100391)
archetype_transform_norm: 7.169115 (range: 7.169115 - 7.169115)
archetype_transform_grad_norm: 0.248596 (range: 0.248596 - 0.248596)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0030, max=0.8145, mean=0.1429
Batch reconstruction MSE: 1.2194
Archetype stats: min=-11.1041, max=10.9369
Archetype change since last debug: 4.498765
Archetype gradients: norm=0.037577, mean=0.001452
Epoch 1/1
Average loss: 0.8146
Archetypal loss: 0.8847
KLD loss: 0.1835
Reconstruction loss: 0.8847
Archetype R²: 0.0902
Archetype transform grad norm: 0.252668
Archetype transform param norm: 7.2889
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.8146 (range: 0.8146 - 0.8146)
archetypal_loss: 0.8847 (range: 0.8847 - 0.8847)
kld_loss: 0.1835 (range: 0.1835 - 0.1835)
reconstruction_loss: 0.8847 (range: 0.8847 - 0.8847)
archetype_r2: 0.0902 (range: 0.0902 - 0.0902)
Archetype Transform Summary:
archetype_transform_mean: 0.001224 (range: 0.001224 - 0.001224)
archetype_transform_std: 0.102068 (range: 0.102068 - 0.102068)
archetype_transform_norm: 7.288948 (range: 7.288948 - 7.288948)
archetype_transform_grad_norm: 0.252668 (range: 0.252668 - 0.252668)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0028, max=0.8318, mean=0.1429
Batch reconstruction MSE: 1.2011
Archetype stats: min=-11.8039, max=12.1570
Archetype change since last debug: 3.903933
Archetype gradients: norm=0.036629, mean=0.001422
Epoch 1/1
Average loss: 0.8109
Archetypal loss: 0.8811
KLD loss: 0.1790
Reconstruction loss: 0.8811
Archetype R²: 0.0939
Archetype transform grad norm: 0.253225
Archetype transform param norm: 7.4031
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.8109 (range: 0.8109 - 0.8109)
archetypal_loss: 0.8811 (range: 0.8811 - 0.8811)
kld_loss: 0.1790 (range: 0.1790 - 0.1790)
reconstruction_loss: 0.8811 (range: 0.8811 - 0.8811)
archetype_r2: 0.0939 (range: 0.0939 - 0.0939)
Archetype Transform Summary:
archetype_transform_mean: 0.001260 (range: 0.001260 - 0.001260)
archetype_transform_std: 0.103667 (range: 0.103667 - 0.103667)
archetype_transform_norm: 7.403148 (range: 7.403148 - 7.403148)
archetype_transform_grad_norm: 0.253225 (range: 0.253225 - 0.253225)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0028, max=0.8546, mean=0.1429
Batch reconstruction MSE: 1.1711
Archetype stats: min=-12.4366, max=13.2497
Archetype change since last debug: 3.633047
Archetype gradients: norm=0.033747, mean=0.001354
Epoch 1/1
Average loss: 0.8076
Archetypal loss: 0.8777
KLD loss: 0.1763
Reconstruction loss: 0.8777
Archetype R²: 0.0974
Archetype transform grad norm: 0.256028
Archetype transform param norm: 7.5187
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.8076 (range: 0.8076 - 0.8076)
archetypal_loss: 0.8777 (range: 0.8777 - 0.8777)
kld_loss: 0.1763 (range: 0.1763 - 0.1763)
reconstruction_loss: 0.8777 (range: 0.8777 - 0.8777)
archetype_r2: 0.0974 (range: 0.0974 - 0.0974)
Archetype Transform Summary:
archetype_transform_mean: 0.001304 (range: 0.001304 - 0.001304)
archetype_transform_std: 0.105285 (range: 0.105285 - 0.105285)
archetype_transform_norm: 7.518692 (range: 7.518692 - 7.518692)
archetype_transform_grad_norm: 0.256028 (range: 0.256028 - 0.256028)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0030, max=0.8582, mean=0.1429
Batch reconstruction MSE: 1.1401
Archetype stats: min=-13.0116, max=14.2715
Archetype change since last debug: 3.493278
Archetype gradients: norm=0.031057, mean=0.001293
Epoch 1/1
Average loss: 0.8041
Archetypal loss: 0.8738
KLD loss: 0.1776
Reconstruction loss: 0.8738
Archetype R²: 0.1015
Archetype transform grad norm: 0.257615
Archetype transform param norm: 7.6378
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.8041 (range: 0.8041 - 0.8041)
archetypal_loss: 0.8738 (range: 0.8738 - 0.8738)
kld_loss: 0.1776 (range: 0.1776 - 0.1776)
reconstruction_loss: 0.8738 (range: 0.8738 - 0.8738)
archetype_r2: 0.1015 (range: 0.1015 - 0.1015)
Archetype Transform Summary:
archetype_transform_mean: 0.001331 (range: 0.001331 - 0.001331)
archetype_transform_std: 0.106953 (range: 0.106953 - 0.106953)
archetype_transform_norm: 7.637805 (range: 7.637805 - 7.637805)
archetype_transform_grad_norm: 0.257615 (range: 0.257615 - 0.257615)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0034, max=0.8582, mean=0.1429
Batch reconstruction MSE: 1.1195
Archetype stats: min=-13.5407, max=15.2638
Archetype change since last debug: 3.562817
Archetype gradients: norm=0.030213, mean=0.001288
Epoch 1/1
Average loss: 0.8009
Archetypal loss: 0.8697
KLD loss: 0.1819
Reconstruction loss: 0.8697
Archetype R²: 0.1058
Archetype transform grad norm: 0.262701
Archetype transform param norm: 7.7637
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.8009 (range: 0.8009 - 0.8009)
archetypal_loss: 0.8697 (range: 0.8697 - 0.8697)
kld_loss: 0.1819 (range: 0.1819 - 0.1819)
reconstruction_loss: 0.8697 (range: 0.8697 - 0.8697)
archetype_r2: 0.1058 (range: 0.1058 - 0.1058)
Archetype Transform Summary:
archetype_transform_mean: 0.001348 (range: 0.001348 - 0.001348)
archetype_transform_std: 0.108716 (range: 0.108716 - 0.108716)
archetype_transform_norm: 7.763734 (range: 7.763734 - 7.763734)
archetype_transform_grad_norm: 0.262701 (range: 0.262701 - 0.262701)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0039, max=0.8729, mean=0.1429
Batch reconstruction MSE: 1.1197
Archetype stats: min=-14.0657, max=16.1533
Archetype change since last debug: 3.623488
Archetype gradients: norm=0.034633, mean=0.001391
Epoch 1/1
Average loss: 0.7981
Archetypal loss: 0.8660
KLD loss: 0.1867
Reconstruction loss: 0.8660
Archetype R²: 0.1095
Archetype transform grad norm: 0.267301
Archetype transform param norm: 7.8846
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.7981 (range: 0.7981 - 0.7981)
archetypal_loss: 0.8660 (range: 0.8660 - 0.8660)
kld_loss: 0.1867 (range: 0.1867 - 0.1867)
reconstruction_loss: 0.8660 (range: 0.8660 - 0.8660)
archetype_r2: 0.1095 (range: 0.1095 - 0.1095)
Archetype Transform Summary:
archetype_transform_mean: 0.001378 (range: 0.001378 - 0.001378)
archetype_transform_std: 0.110409 (range: 0.110409 - 0.110409)
archetype_transform_norm: 7.884629 (range: 7.884629 - 7.884629)
archetype_transform_grad_norm: 0.267301 (range: 0.267301 - 0.267301)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0043, max=0.8832, mean=0.1429
Batch reconstruction MSE: 1.1285
Archetype stats: min=-14.4908, max=16.9903
Archetype change since last debug: 3.462502
Archetype gradients: norm=0.040516, mean=0.001496
Epoch 1/1
Average loss: 0.7969
Archetypal loss: 0.8646
KLD loss: 0.1873
Reconstruction loss: 0.8646
Archetype R²: 0.1109
Archetype transform grad norm: 0.270769
Archetype transform param norm: 7.9875
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.7969 (range: 0.7969 - 0.7969)
archetypal_loss: 0.8646 (range: 0.8646 - 0.8646)
kld_loss: 0.1873 (range: 0.1873 - 0.1873)
reconstruction_loss: 0.8646 (range: 0.8646 - 0.8646)
archetype_r2: 0.1109 (range: 0.1109 - 0.1109)
Archetype Transform Summary:
archetype_transform_mean: 0.001408 (range: 0.001408 - 0.001408)
archetype_transform_std: 0.111849 (range: 0.111849 - 0.111849)
archetype_transform_norm: 7.987490 (range: 7.987490 - 7.987490)
archetype_transform_grad_norm: 0.270769 (range: 0.270769 - 0.270769)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0054, max=0.8564, mean=0.1429
Batch reconstruction MSE: 1.1362
Archetype stats: min=-15.0659, max=17.5953
Archetype change since last debug: 3.035863
Archetype gradients: norm=0.042667, mean=0.001561
Epoch 1/1
Average loss: 0.7948
Archetypal loss: 0.8625
KLD loss: 0.1864
Reconstruction loss: 0.8625
Archetype R²: 0.1132
Archetype transform grad norm: 0.275381
Archetype transform param norm: 8.0701
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.7948 (range: 0.7948 - 0.7948)
archetypal_loss: 0.8625 (range: 0.8625 - 0.8625)
kld_loss: 0.1864 (range: 0.1864 - 0.1864)
reconstruction_loss: 0.8625 (range: 0.8625 - 0.8625)
archetype_r2: 0.1132 (range: 0.1132 - 0.1132)
Archetype Transform Summary:
archetype_transform_mean: 0.001440 (range: 0.001440 - 0.001440)
archetype_transform_std: 0.113006 (range: 0.113006 - 0.113006)
archetype_transform_norm: 8.070103 (range: 8.070103 - 8.070103)
archetype_transform_grad_norm: 0.275381 (range: 0.275381 - 0.275381)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0057, max=0.8427, mean=0.1429
Batch reconstruction MSE: 1.1320
Archetype stats: min=-14.9821, max=18.0347
Archetype change since last debug: 2.560674
Archetype gradients: norm=0.044281, mean=0.001507
Epoch 1/1
Average loss: 0.7938
Archetypal loss: 0.8616
KLD loss: 0.1838
Reconstruction loss: 0.8616
Archetype R²: 0.1140
Archetype transform grad norm: 0.279804
Archetype transform param norm: 8.1436
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.7938 (range: 0.7938 - 0.7938)
archetypal_loss: 0.8616 (range: 0.8616 - 0.8616)
kld_loss: 0.1838 (range: 0.1838 - 0.1838)
reconstruction_loss: 0.8616 (range: 0.8616 - 0.8616)
archetype_r2: 0.1140 (range: 0.1140 - 0.1140)
Archetype Transform Summary:
archetype_transform_mean: 0.001480 (range: 0.001480 - 0.001480)
archetype_transform_std: 0.114035 (range: 0.114035 - 0.114035)
archetype_transform_norm: 8.143632 (range: 8.143632 - 8.143632)
archetype_transform_grad_norm: 0.279804 (range: 0.279804 - 0.279804)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0070, max=0.8183, mean=0.1429
Batch reconstruction MSE: 1.1354
Archetype stats: min=-14.9831, max=17.7659
Archetype change since last debug: 2.524686
Archetype gradients: norm=0.047066, mean=0.001696
Epoch 1/1
Average loss: 0.7913
Archetypal loss: 0.8587
KLD loss: 0.1846
Reconstruction loss: 0.8587
Archetype R²: 0.1168
Archetype transform grad norm: 0.291311
Archetype transform param norm: 8.2101
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.7913 (range: 0.7913 - 0.7913)
archetypal_loss: 0.8587 (range: 0.8587 - 0.8587)
kld_loss: 0.1846 (range: 0.1846 - 0.1846)
reconstruction_loss: 0.8587 (range: 0.8587 - 0.8587)
archetype_r2: 0.1168 (range: 0.1168 - 0.1168)
Archetype Transform Summary:
archetype_transform_mean: 0.001513 (range: 0.001513 - 0.001513)
archetype_transform_std: 0.114966 (range: 0.114966 - 0.114966)
archetype_transform_norm: 8.210086 (range: 8.210086 - 8.210086)
archetype_transform_grad_norm: 0.291311 (range: 0.291311 - 0.291311)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0082, max=0.7931, mean=0.1429
Batch reconstruction MSE: 1.1351
Archetype stats: min=-15.0576, max=18.2617
Archetype change since last debug: 2.311649
Archetype gradients: norm=0.044861, mean=0.001513
Epoch 1/1
Average loss: 0.7897
Archetypal loss: 0.8570
KLD loss: 0.1835
Reconstruction loss: 0.8570
Archetype R²: 0.1185
Archetype transform grad norm: 0.290727
Archetype transform param norm: 8.2760
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.7897 (range: 0.7897 - 0.7897)
archetypal_loss: 0.8570 (range: 0.8570 - 0.8570)
kld_loss: 0.1835 (range: 0.1835 - 0.1835)
reconstruction_loss: 0.8570 (range: 0.8570 - 0.8570)
archetype_r2: 0.1185 (range: 0.1185 - 0.1185)
Archetype Transform Summary:
archetype_transform_mean: 0.001525 (range: 0.001525 - 0.001525)
archetype_transform_std: 0.115888 (range: 0.115888 - 0.115888)
archetype_transform_norm: 8.275988 (range: 8.275988 - 8.275988)
archetype_transform_grad_norm: 0.290727 (range: 0.290727 - 0.290727)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0089, max=0.7582, mean=0.1429
Batch reconstruction MSE: 1.1328
Archetype stats: min=-15.4319, max=18.6499
Archetype change since last debug: 2.286348
Archetype gradients: norm=0.045660, mean=0.001667
Epoch 1/1
Average loss: 0.7891
Archetypal loss: 0.8565
KLD loss: 0.1829
Reconstruction loss: 0.8565
Archetype R²: 0.1190
Archetype transform grad norm: 0.288700
Archetype transform param norm: 8.3332
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.7891 (range: 0.7891 - 0.7891)
archetypal_loss: 0.8565 (range: 0.8565 - 0.8565)
kld_loss: 0.1829 (range: 0.1829 - 0.1829)
reconstruction_loss: 0.8565 (range: 0.8565 - 0.8565)
archetype_r2: 0.1190 (range: 0.1190 - 0.1190)
Archetype Transform Summary:
archetype_transform_mean: 0.001533 (range: 0.001533 - 0.001533)
archetype_transform_std: 0.116690 (range: 0.116690 - 0.116690)
archetype_transform_norm: 8.333229 (range: 8.333229 - 8.333229)
archetype_transform_grad_norm: 0.288700 (range: 0.288700 - 0.288700)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0108, max=0.7352, mean=0.1429
Batch reconstruction MSE: 1.1233
Archetype stats: min=-15.5636, max=19.0311
Archetype change since last debug: 2.072742
Archetype gradients: norm=0.040314, mean=0.001458
Epoch 1/1
Average loss: 0.7875
Archetypal loss: 0.8550
KLD loss: 0.1803
Reconstruction loss: 0.8550
Archetype R²: 0.1206
Archetype transform grad norm: 0.291857
Archetype transform param norm: 8.3894
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.7875 (range: 0.7875 - 0.7875)
archetypal_loss: 0.8550 (range: 0.8550 - 0.8550)
kld_loss: 0.1803 (range: 0.1803 - 0.1803)
reconstruction_loss: 0.8550 (range: 0.8550 - 0.8550)
archetype_r2: 0.1206 (range: 0.1206 - 0.1206)
Archetype Transform Summary:
archetype_transform_mean: 0.001549 (range: 0.001549 - 0.001549)
archetype_transform_std: 0.117476 (range: 0.117476 - 0.117476)
archetype_transform_norm: 8.389354 (range: 8.389354 - 8.389354)
archetype_transform_grad_norm: 0.291857 (range: 0.291857 - 0.291857)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0108, max=0.6904, mean=0.1429
Batch reconstruction MSE: 1.0852
Archetype stats: min=-15.9622, max=19.2319
Archetype change since last debug: 2.030487
Archetype gradients: norm=0.042391, mean=0.001544
Epoch 1/1
Average loss: 0.7858
Archetypal loss: 0.8535
KLD loss: 0.1769
Reconstruction loss: 0.8535
Archetype R²: 0.1222
Archetype transform grad norm: 0.289376
Archetype transform param norm: 8.4458
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.7858 (range: 0.7858 - 0.7858)
archetypal_loss: 0.8535 (range: 0.8535 - 0.8535)
kld_loss: 0.1769 (range: 0.1769 - 0.1769)
reconstruction_loss: 0.8535 (range: 0.8535 - 0.8535)
archetype_r2: 0.1222 (range: 0.1222 - 0.1222)
Archetype Transform Summary:
archetype_transform_mean: 0.001568 (range: 0.001568 - 0.001568)
archetype_transform_std: 0.118267 (range: 0.118267 - 0.118267)
archetype_transform_norm: 8.445845 (range: 8.445845 - 8.445845)
archetype_transform_grad_norm: 0.289376 (range: 0.289376 - 0.289376)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0139, max=0.6575, mean=0.1429
Batch reconstruction MSE: 1.0856
Archetype stats: min=-16.3091, max=19.6735
Archetype change since last debug: 2.065103
Archetype gradients: norm=0.033624, mean=0.001241
Epoch 1/1
Average loss: 0.7851
Archetypal loss: 0.8528
KLD loss: 0.1759
Reconstruction loss: 0.8528
Archetype R²: 0.1229
Archetype transform grad norm: 0.286932
Archetype transform param norm: 8.5032
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.7851 (range: 0.7851 - 0.7851)
archetypal_loss: 0.8528 (range: 0.8528 - 0.8528)
kld_loss: 0.1759 (range: 0.1759 - 0.1759)
reconstruction_loss: 0.8528 (range: 0.8528 - 0.8528)
archetype_r2: 0.1229 (range: 0.1229 - 0.1229)
Archetype Transform Summary:
archetype_transform_mean: 0.001587 (range: 0.001587 - 0.001587)
archetype_transform_std: 0.119070 (range: 0.119070 - 0.119070)
archetype_transform_norm: 8.503197 (range: 8.503197 - 8.503197)
archetype_transform_grad_norm: 0.286932 (range: 0.286932 - 0.286932)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0158, max=0.6312, mean=0.1429
Batch reconstruction MSE: 1.1049
Archetype stats: min=-16.6917, max=19.8551
Archetype change since last debug: 1.933601
Archetype gradients: norm=0.046981, mean=0.001703
Epoch 1/1
Average loss: 0.7861
Archetypal loss: 0.8541
KLD loss: 0.1741
Reconstruction loss: 0.8541
Archetype R²: 0.1215
Archetype transform grad norm: 0.291851
Archetype transform param norm: 8.5422
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.7861 (range: 0.7861 - 0.7861)
archetypal_loss: 0.8541 (range: 0.8541 - 0.8541)
kld_loss: 0.1741 (range: 0.1741 - 0.1741)
reconstruction_loss: 0.8541 (range: 0.8541 - 0.8541)
archetype_r2: 0.1215 (range: 0.1215 - 0.1215)
Archetype Transform Summary:
archetype_transform_mean: 0.001613 (range: 0.001613 - 0.001613)
archetype_transform_std: 0.119616 (range: 0.119616 - 0.119616)
archetype_transform_norm: 8.542217 (range: 8.542217 - 8.542217)
archetype_transform_grad_norm: 0.291851 (range: 0.291851 - 0.291851)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0139, max=0.6027, mean=0.1429
Batch reconstruction MSE: 1.0964
Archetype stats: min=-17.0077, max=20.0393
Archetype change since last debug: 1.645862
Archetype gradients: norm=0.034617, mean=0.001381
Epoch 1/1
Average loss: 0.7842
Archetypal loss: 0.8520
KLD loss: 0.1739
Reconstruction loss: 0.8520
Archetype R²: 0.1236
Archetype transform grad norm: 0.291694
Archetype transform param norm: 8.5833
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.7842 (range: 0.7842 - 0.7842)
archetypal_loss: 0.8520 (range: 0.8520 - 0.8520)
kld_loss: 0.1739 (range: 0.1739 - 0.1739)
reconstruction_loss: 0.8520 (range: 0.8520 - 0.8520)
archetype_r2: 0.1236 (range: 0.1236 - 0.1236)
Archetype Transform Summary:
archetype_transform_mean: 0.001628 (range: 0.001628 - 0.001628)
archetype_transform_std: 0.120191 (range: 0.120191 - 0.120191)
archetype_transform_norm: 8.583277 (range: 8.583277 - 8.583277)
archetype_transform_grad_norm: 0.291694 (range: 0.291694 - 0.291694)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0189, max=0.5546, mean=0.1429
Batch reconstruction MSE: 1.0617
Archetype stats: min=-17.1793, max=20.0879
Archetype change since last debug: 1.685496
Archetype gradients: norm=0.042879, mean=0.001631
Epoch 1/1
Average loss: 0.7825
Archetypal loss: 0.8504
KLD loss: 0.1719
Reconstruction loss: 0.8504
Archetype R²: 0.1252
Archetype transform grad norm: 0.293686
Archetype transform param norm: 8.6276
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.7825 (range: 0.7825 - 0.7825)
archetypal_loss: 0.8504 (range: 0.8504 - 0.8504)
kld_loss: 0.1719 (range: 0.1719 - 0.1719)
reconstruction_loss: 0.8504 (range: 0.8504 - 0.8504)
archetype_r2: 0.1252 (range: 0.1252 - 0.1252)
Archetype Transform Summary:
archetype_transform_mean: 0.001652 (range: 0.001652 - 0.001652)
archetype_transform_std: 0.120811 (range: 0.120811 - 0.120811)
archetype_transform_norm: 8.627597 (range: 8.627597 - 8.627597)
archetype_transform_grad_norm: 0.293686 (range: 0.293686 - 0.293686)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0139, max=0.5186, mean=0.1429
Batch reconstruction MSE: 1.0877
Archetype stats: min=-17.6164, max=20.3821
Archetype change since last debug: 1.832134
Archetype gradients: norm=0.031986, mean=0.001309
Epoch 1/1
Average loss: 0.7835
Archetypal loss: 0.8512
KLD loss: 0.1738
Reconstruction loss: 0.8512
Archetype R²: 0.1243
Archetype transform grad norm: 0.293590
Archetype transform param norm: 8.6699
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.7835 (range: 0.7835 - 0.7835)
archetypal_loss: 0.8512 (range: 0.8512 - 0.8512)
kld_loss: 0.1738 (range: 0.1738 - 0.1738)
reconstruction_loss: 0.8512 (range: 0.8512 - 0.8512)
archetype_r2: 0.1243 (range: 0.1243 - 0.1243)
Archetype Transform Summary:
archetype_transform_mean: 0.001656 (range: 0.001656 - 0.001656)
archetype_transform_std: 0.121404 (range: 0.121404 - 0.121404)
archetype_transform_norm: 8.669902 (range: 8.669902 - 8.669902)
archetype_transform_grad_norm: 0.293590 (range: 0.293590 - 0.293590)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0173, max=0.5310, mean=0.1429
Batch reconstruction MSE: 1.0868
Archetype stats: min=-17.7842, max=20.4005
Archetype change since last debug: 1.573096
Archetype gradients: norm=0.044864, mean=0.001737
Epoch 1/1
Average loss: 0.7828
Archetypal loss: 0.8507
KLD loss: 0.1713
Reconstruction loss: 0.8507
Archetype R²: 0.1248
Archetype transform grad norm: 0.296755
Archetype transform param norm: 8.7005
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.7828 (range: 0.7828 - 0.7828)
archetypal_loss: 0.8507 (range: 0.8507 - 0.8507)
kld_loss: 0.1713 (range: 0.1713 - 0.1713)
reconstruction_loss: 0.8507 (range: 0.8507 - 0.8507)
archetype_r2: 0.1248 (range: 0.1248 - 0.1248)
Archetype Transform Summary:
archetype_transform_mean: 0.001645 (range: 0.001645 - 0.001645)
archetype_transform_std: 0.121832 (range: 0.121832 - 0.121832)
archetype_transform_norm: 8.700492 (range: 8.700492 - 8.700492)
archetype_transform_grad_norm: 0.296755 (range: 0.296755 - 0.296755)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0159, max=0.5115, mean=0.1429
Batch reconstruction MSE: 1.1238
Archetype stats: min=-18.0645, max=20.6704
Archetype change since last debug: 1.451609
Archetype gradients: norm=0.032017, mean=0.001325
Epoch 1/1
Average loss: 0.7831
Archetypal loss: 0.8508
KLD loss: 0.1735
Reconstruction loss: 0.8508
Archetype R²: 0.1245
Archetype transform grad norm: 0.297148
Archetype transform param norm: 8.7286
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.7831 (range: 0.7831 - 0.7831)
archetypal_loss: 0.8508 (range: 0.8508 - 0.8508)
kld_loss: 0.1735 (range: 0.1735 - 0.1735)
reconstruction_loss: 0.8508 (range: 0.8508 - 0.8508)
archetype_r2: 0.1245 (range: 0.1245 - 0.1245)
Archetype Transform Summary:
archetype_transform_mean: 0.001604 (range: 0.001604 - 0.001604)
archetype_transform_std: 0.122226 (range: 0.122226 - 0.122226)
archetype_transform_norm: 8.728597 (range: 8.728597 - 8.728597)
archetype_transform_grad_norm: 0.297148 (range: 0.297148 - 0.297148)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0137, max=0.5032, mean=0.1429
Batch reconstruction MSE: 1.0946
Archetype stats: min=-18.3315, max=20.8419
Archetype change since last debug: 1.778502
Archetype gradients: norm=0.042441, mean=0.001602
Epoch 1/1
Average loss: 0.7824
Archetypal loss: 0.8504
KLD loss: 0.1705
Reconstruction loss: 0.8504
Archetype R²: 0.1250
Archetype transform grad norm: 0.292649
Archetype transform param norm: 8.7561
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.7824 (range: 0.7824 - 0.7824)
archetypal_loss: 0.8504 (range: 0.8504 - 0.8504)
kld_loss: 0.1705 (range: 0.1705 - 0.1705)
reconstruction_loss: 0.8504 (range: 0.8504 - 0.8504)
archetype_r2: 0.1250 (range: 0.1250 - 0.1250)
Archetype Transform Summary:
archetype_transform_mean: 0.001588 (range: 0.001588 - 0.001588)
archetype_transform_std: 0.122612 (range: 0.122612 - 0.122612)
archetype_transform_norm: 8.756147 (range: 8.756147 - 8.756147)
archetype_transform_grad_norm: 0.292649 (range: 0.292649 - 0.292649)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0167, max=0.4870, mean=0.1429
Batch reconstruction MSE: 1.0627
Archetype stats: min=-18.5170, max=20.9014
Archetype change since last debug: 1.401813
Archetype gradients: norm=0.026402, mean=0.001016
Epoch 1/1
Average loss: 0.7814
Archetypal loss: 0.8494
KLD loss: 0.1690
Reconstruction loss: 0.8494
Archetype R²: 0.1260
Archetype transform grad norm: 0.289064
Archetype transform param norm: 8.7926
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.7814 (range: 0.7814 - 0.7814)
archetypal_loss: 0.8494 (range: 0.8494 - 0.8494)
kld_loss: 0.1690 (range: 0.1690 - 0.1690)
reconstruction_loss: 0.8494 (range: 0.8494 - 0.8494)
archetype_r2: 0.1260 (range: 0.1260 - 0.1260)
Archetype Transform Summary:
archetype_transform_mean: 0.001587 (range: 0.001587 - 0.001587)
archetype_transform_std: 0.123122 (range: 0.123122 - 0.123122)
archetype_transform_norm: 8.792564 (range: 8.792564 - 8.792564)
archetype_transform_grad_norm: 0.289064 (range: 0.289064 - 0.289064)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0137, max=0.4801, mean=0.1429
Batch reconstruction MSE: 1.0502
Archetype stats: min=-18.4898, max=20.6599
Archetype change since last debug: 1.646280
Archetype gradients: norm=0.041015, mean=0.001598
Epoch 1/1
Average loss: 0.7797
Archetypal loss: 0.8478
KLD loss: 0.1670
Reconstruction loss: 0.8478
Archetype R²: 0.1277
Archetype transform grad norm: 0.296243
Archetype transform param norm: 8.8294
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.7797 (range: 0.7797 - 0.7797)
archetypal_loss: 0.8478 (range: 0.8478 - 0.8478)
kld_loss: 0.1670 (range: 0.1670 - 0.1670)
reconstruction_loss: 0.8478 (range: 0.8478 - 0.8478)
archetype_r2: 0.1277 (range: 0.1277 - 0.1277)
Archetype Transform Summary:
archetype_transform_mean: 0.001599 (range: 0.001599 - 0.001599)
archetype_transform_std: 0.123638 (range: 0.123638 - 0.123638)
archetype_transform_norm: 8.829419 (range: 8.829419 - 8.829419)
archetype_transform_grad_norm: 0.296243 (range: 0.296243 - 0.296243)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0168, max=0.4582, mean=0.1429
Batch reconstruction MSE: 1.0467
Archetype stats: min=-18.8733, max=21.0274
Archetype change since last debug: 1.582153
Archetype gradients: norm=0.024561, mean=0.000915
Epoch 1/1
Average loss: 0.7799
Archetypal loss: 0.8479
KLD loss: 0.1680
Reconstruction loss: 0.8479
Archetype R²: 0.1275
Archetype transform grad norm: 0.294350
Archetype transform param norm: 8.8668
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.7799 (range: 0.7799 - 0.7799)
archetypal_loss: 0.8479 (range: 0.8479 - 0.8479)
kld_loss: 0.1680 (range: 0.1680 - 0.1680)
reconstruction_loss: 0.8479 (range: 0.8479 - 0.8479)
archetype_r2: 0.1275 (range: 0.1275 - 0.1275)
Archetype Transform Summary:
archetype_transform_mean: 0.001592 (range: 0.001592 - 0.001592)
archetype_transform_std: 0.124161 (range: 0.124161 - 0.124161)
archetype_transform_norm: 8.866761 (range: 8.866761 - 8.866761)
archetype_transform_grad_norm: 0.294350 (range: 0.294350 - 0.294350)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0153, max=0.4480, mean=0.1429
Batch reconstruction MSE: 1.0496
Archetype stats: min=-19.0147, max=21.0311
Archetype change since last debug: 1.393099
Archetype gradients: norm=0.042849, mean=0.001541
Epoch 1/1
Average loss: 0.7793
Archetypal loss: 0.8475
KLD loss: 0.1656
Reconstruction loss: 0.8475
Archetype R²: 0.1278
Archetype transform grad norm: 0.294476
Archetype transform param norm: 8.8980
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.7793 (range: 0.7793 - 0.7793)
archetypal_loss: 0.8475 (range: 0.8475 - 0.8475)
kld_loss: 0.1656 (range: 0.1656 - 0.1656)
reconstruction_loss: 0.8475 (range: 0.8475 - 0.8475)
archetype_r2: 0.1278 (range: 0.1278 - 0.1278)
Archetype Transform Summary:
archetype_transform_mean: 0.001601 (range: 0.001601 - 0.001601)
archetype_transform_std: 0.124599 (range: 0.124599 - 0.124599)
archetype_transform_norm: 8.897996 (range: 8.897996 - 8.897996)
archetype_transform_grad_norm: 0.294476 (range: 0.294476 - 0.294476)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0161, max=0.4821, mean=0.1429
Batch reconstruction MSE: 1.0542
Archetype stats: min=-19.2713, max=21.1623
Archetype change since last debug: 1.416613
Archetype gradients: norm=0.025367, mean=0.001056
Epoch 1/1
Average loss: 0.7788
Archetypal loss: 0.8469
KLD loss: 0.1660
Reconstruction loss: 0.8469
Archetype R²: 0.1284
Archetype transform grad norm: 0.295759
Archetype transform param norm: 8.9300
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.7788 (range: 0.7788 - 0.7788)
archetypal_loss: 0.8469 (range: 0.8469 - 0.8469)
kld_loss: 0.1660 (range: 0.1660 - 0.1660)
reconstruction_loss: 0.8469 (range: 0.8469 - 0.8469)
archetype_r2: 0.1284 (range: 0.1284 - 0.1284)
Archetype Transform Summary:
archetype_transform_mean: 0.001595 (range: 0.001595 - 0.001595)
archetype_transform_std: 0.125047 (range: 0.125047 - 0.125047)
archetype_transform_norm: 8.929981 (range: 8.929981 - 8.929981)
archetype_transform_grad_norm: 0.295759 (range: 0.295759 - 0.295759)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0164, max=0.4743, mean=0.1429
Batch reconstruction MSE: 1.0936
Archetype stats: min=-19.5644, max=21.5049
Archetype change since last debug: 1.419839
Archetype gradients: norm=0.046177, mean=0.001653
Epoch 1/1
Average loss: 0.7799
Archetypal loss: 0.8481
KLD loss: 0.1665
Reconstruction loss: 0.8481
Archetype R²: 0.1271
Archetype transform grad norm: 0.294857
Archetype transform param norm: 8.9481
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.7799 (range: 0.7799 - 0.7799)
archetypal_loss: 0.8481 (range: 0.8481 - 0.8481)
kld_loss: 0.1665 (range: 0.1665 - 0.1665)
reconstruction_loss: 0.8481 (range: 0.8481 - 0.8481)
archetype_r2: 0.1271 (range: 0.1271 - 0.1271)
Archetype Transform Summary:
archetype_transform_mean: 0.001586 (range: 0.001586 - 0.001586)
archetype_transform_std: 0.125301 (range: 0.125301 - 0.125301)
archetype_transform_norm: 8.948117 (range: 8.948117 - 8.948117)
archetype_transform_grad_norm: 0.294857 (range: 0.294857 - 0.294857)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0164, max=0.4989, mean=0.1429
Batch reconstruction MSE: 1.0713
Archetype stats: min=-19.6351, max=21.5436
Archetype change since last debug: 1.043167
Archetype gradients: norm=0.025838, mean=0.001093
Epoch 1/1
Average loss: 0.7791
Archetypal loss: 0.8473
KLD loss: 0.1645
Reconstruction loss: 0.8473
Archetype R²: 0.1278
Archetype transform grad norm: 0.295514
Archetype transform param norm: 8.9697
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.7791 (range: 0.7791 - 0.7791)
archetypal_loss: 0.8473 (range: 0.8473 - 0.8473)
kld_loss: 0.1645 (range: 0.1645 - 0.1645)
reconstruction_loss: 0.8473 (range: 0.8473 - 0.8473)
archetype_r2: 0.1278 (range: 0.1278 - 0.1278)
Archetype Transform Summary:
archetype_transform_mean: 0.001577 (range: 0.001577 - 0.001577)
archetype_transform_std: 0.125603 (range: 0.125603 - 0.125603)
archetype_transform_norm: 8.969707 (range: 8.969707 - 8.969707)
archetype_transform_grad_norm: 0.295514 (range: 0.295514 - 0.295514)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0196, max=0.4612, mean=0.1429
Batch reconstruction MSE: 1.0387
Archetype stats: min=-19.6312, max=21.4353
Archetype change since last debug: 1.225122
Archetype gradients: norm=0.044395, mean=0.001633
Epoch 1/1
Average loss: 0.7774
Archetypal loss: 0.8456
KLD loss: 0.1638
Reconstruction loss: 0.8456
Archetype R²: 0.1296
Archetype transform grad norm: 0.297082
Archetype transform param norm: 8.9970
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.7774 (range: 0.7774 - 0.7774)
archetypal_loss: 0.8456 (range: 0.8456 - 0.8456)
kld_loss: 0.1638 (range: 0.1638 - 0.1638)
reconstruction_loss: 0.8456 (range: 0.8456 - 0.8456)
archetype_r2: 0.1296 (range: 0.1296 - 0.1296)
Archetype Transform Summary:
archetype_transform_mean: 0.001579 (range: 0.001579 - 0.001579)
archetype_transform_std: 0.125985 (range: 0.125985 - 0.125985)
archetype_transform_norm: 8.996974 (range: 8.996974 - 8.996974)
archetype_transform_grad_norm: 0.297082 (range: 0.297082 - 0.297082)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0189, max=0.4653, mean=0.1429
Batch reconstruction MSE: 1.0443
Archetype stats: min=-19.9440, max=21.8190
Archetype change since last debug: 1.401298
Archetype gradients: norm=0.024281, mean=0.000953
Epoch 1/1
Average loss: 0.7774
Archetypal loss: 0.8456
KLD loss: 0.1637
Reconstruction loss: 0.8456
Archetype R²: 0.1296
Archetype transform grad norm: 0.299456
Archetype transform param norm: 9.0260
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.7774 (range: 0.7774 - 0.7774)
archetypal_loss: 0.8456 (range: 0.8456 - 0.8456)
kld_loss: 0.1637 (range: 0.1637 - 0.1637)
reconstruction_loss: 0.8456 (range: 0.8456 - 0.8456)
archetype_r2: 0.1296 (range: 0.1296 - 0.1296)
Archetype Transform Summary:
archetype_transform_mean: 0.001579 (range: 0.001579 - 0.001579)
archetype_transform_std: 0.126392 (range: 0.126392 - 0.126392)
archetype_transform_norm: 9.026047 (range: 9.026047 - 9.026047)
archetype_transform_grad_norm: 0.299456 (range: 0.299456 - 0.299456)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0235, max=0.4370, mean=0.1429
Batch reconstruction MSE: 1.0359
Archetype stats: min=-19.9682, max=21.7947
Archetype change since last debug: 1.255293
Archetype gradients: norm=0.046112, mean=0.001717
Epoch 1/1
Average loss: 0.7772
Archetypal loss: 0.8456
KLD loss: 0.1620
Reconstruction loss: 0.8456
Archetype R²: 0.1295
Archetype transform grad norm: 0.301580
Archetype transform param norm: 9.0512
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.7772 (range: 0.7772 - 0.7772)
archetypal_loss: 0.8456 (range: 0.8456 - 0.8456)
kld_loss: 0.1620 (range: 0.1620 - 0.1620)
reconstruction_loss: 0.8456 (range: 0.8456 - 0.8456)
archetype_r2: 0.1295 (range: 0.1295 - 0.1295)
Archetype Transform Summary:
archetype_transform_mean: 0.001581 (range: 0.001581 - 0.001581)
archetype_transform_std: 0.126745 (range: 0.126745 - 0.126745)
archetype_transform_norm: 9.051205 (range: 9.051205 - 9.051205)
archetype_transform_grad_norm: 0.301580 (range: 0.301580 - 0.301580)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0181, max=0.4173, mean=0.1429
Batch reconstruction MSE: 1.0344
Archetype stats: min=-20.1787, max=21.9740
Archetype change since last debug: 1.230993
Archetype gradients: norm=0.025934, mean=0.001010
Epoch 1/1
Average loss: 0.7768
Archetypal loss: 0.8450
KLD loss: 0.1625
Reconstruction loss: 0.8450
Archetype R²: 0.1301
Archetype transform grad norm: 0.301410
Archetype transform param norm: 9.0762
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.7768 (range: 0.7768 - 0.7768)
archetypal_loss: 0.8450 (range: 0.8450 - 0.8450)
kld_loss: 0.1625 (range: 0.1625 - 0.1625)
reconstruction_loss: 0.8450 (range: 0.8450 - 0.8450)
archetype_r2: 0.1301 (range: 0.1301 - 0.1301)
Archetype Transform Summary:
archetype_transform_mean: 0.001578 (range: 0.001578 - 0.001578)
archetype_transform_std: 0.127095 (range: 0.127095 - 0.127095)
archetype_transform_norm: 9.076210 (range: 9.076210 - 9.076210)
archetype_transform_grad_norm: 0.301410 (range: 0.301410 - 0.301410)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0211, max=0.4638, mean=0.1429
Batch reconstruction MSE: 1.0672
Archetype stats: min=-20.1920, max=22.0543
Archetype change since last debug: 1.223028
Archetype gradients: norm=0.045564, mean=0.001615
Epoch 1/1
Average loss: 0.7777
Archetypal loss: 0.8460
KLD loss: 0.1629
Reconstruction loss: 0.8460
Archetype R²: 0.1289
Archetype transform grad norm: 0.302523
Archetype transform param norm: 9.0923
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.7777 (range: 0.7777 - 0.7777)
archetypal_loss: 0.8460 (range: 0.8460 - 0.8460)
kld_loss: 0.1629 (range: 0.1629 - 0.1629)
reconstruction_loss: 0.8460 (range: 0.8460 - 0.8460)
archetype_r2: 0.1289 (range: 0.1289 - 0.1289)
Archetype Transform Summary:
archetype_transform_mean: 0.001570 (range: 0.001570 - 0.001570)
archetype_transform_std: 0.127321 (range: 0.127321 - 0.127321)
archetype_transform_norm: 9.092327 (range: 9.092327 - 9.092327)
archetype_transform_grad_norm: 0.302523 (range: 0.302523 - 0.302523)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0224, max=0.4628, mean=0.1429
Batch reconstruction MSE: 1.0461
Archetype stats: min=-20.2503, max=22.0911
Archetype change since last debug: 1.066570
Archetype gradients: norm=0.025934, mean=0.000993
Epoch 1/1
Average loss: 0.7773
Archetypal loss: 0.8457
KLD loss: 0.1616
Reconstruction loss: 0.8457
Archetype R²: 0.1292
Archetype transform grad norm: 0.301963
Archetype transform param norm: 9.1078
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.7773 (range: 0.7773 - 0.7773)
archetypal_loss: 0.8457 (range: 0.8457 - 0.8457)
kld_loss: 0.1616 (range: 0.1616 - 0.1616)
reconstruction_loss: 0.8457 (range: 0.8457 - 0.8457)
archetype_r2: 0.1292 (range: 0.1292 - 0.1292)
Archetype Transform Summary:
archetype_transform_mean: 0.001558 (range: 0.001558 - 0.001558)
archetype_transform_std: 0.127538 (range: 0.127538 - 0.127538)
archetype_transform_norm: 9.107818 (range: 9.107818 - 9.107818)
archetype_transform_grad_norm: 0.301963 (range: 0.301963 - 0.301963)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0194, max=0.4322, mean=0.1429
Batch reconstruction MSE: 1.0516
Archetype stats: min=-20.2562, max=22.0138
Archetype change since last debug: 1.051014
Archetype gradients: norm=0.038856, mean=0.001434
Epoch 1/1
Average loss: 0.7765
Archetypal loss: 0.8448
KLD loss: 0.1621
Reconstruction loss: 0.8448
Archetype R²: 0.1301
Archetype transform grad norm: 0.299111
Archetype transform param norm: 9.1261
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.7765 (range: 0.7765 - 0.7765)
archetypal_loss: 0.8448 (range: 0.8448 - 0.8448)
kld_loss: 0.1621 (range: 0.1621 - 0.1621)
reconstruction_loss: 0.8448 (range: 0.8448 - 0.8448)
archetype_r2: 0.1301 (range: 0.1301 - 0.1301)
Archetype Transform Summary:
archetype_transform_mean: 0.001546 (range: 0.001546 - 0.001546)
archetype_transform_std: 0.127793 (range: 0.127793 - 0.127793)
archetype_transform_norm: 9.126052 (range: 9.126052 - 9.126052)
archetype_transform_grad_norm: 0.299111 (range: 0.299111 - 0.299111)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0208, max=0.4884, mean=0.1429
Batch reconstruction MSE: 1.0649
Archetype stats: min=-20.5097, max=22.3613
Archetype change since last debug: 1.158684
Archetype gradients: norm=0.029494, mean=0.001093
Epoch 1/1
Average loss: 0.7767
Archetypal loss: 0.8450
KLD loss: 0.1617
Reconstruction loss: 0.8450
Archetype R²: 0.1298
Archetype transform grad norm: 0.298913
Archetype transform param norm: 9.1407
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.7767 (range: 0.7767 - 0.7767)
archetypal_loss: 0.8450 (range: 0.8450 - 0.8450)
kld_loss: 0.1617 (range: 0.1617 - 0.1617)
reconstruction_loss: 0.8450 (range: 0.8450 - 0.8450)
archetype_r2: 0.1298 (range: 0.1298 - 0.1298)
Archetype Transform Summary:
archetype_transform_mean: 0.001537 (range: 0.001537 - 0.001537)
archetype_transform_std: 0.127999 (range: 0.127999 - 0.127999)
archetype_transform_norm: 9.140722 (range: 9.140722 - 9.140722)
archetype_transform_grad_norm: 0.298913 (range: 0.298913 - 0.298913)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0210, max=0.3798, mean=0.1429
Batch reconstruction MSE: 1.0653
Archetype stats: min=-20.4233, max=22.2359
Archetype change since last debug: 1.146004
Archetype gradients: norm=0.040568, mean=0.001632
Epoch 1/1
Average loss: 0.7765
Archetypal loss: 0.8449
KLD loss: 0.1605
Reconstruction loss: 0.8449
Archetype R²: 0.1298
Archetype transform grad norm: 0.303214
Archetype transform param norm: 9.1552
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.7765 (range: 0.7765 - 0.7765)
archetypal_loss: 0.8449 (range: 0.8449 - 0.8449)
kld_loss: 0.1605 (range: 0.1605 - 0.1605)
reconstruction_loss: 0.8449 (range: 0.8449 - 0.8449)
archetype_r2: 0.1298 (range: 0.1298 - 0.1298)
Archetype Transform Summary:
archetype_transform_mean: 0.001530 (range: 0.001530 - 0.001530)
archetype_transform_std: 0.128202 (range: 0.128202 - 0.128202)
archetype_transform_norm: 9.155201 (range: 9.155201 - 9.155201)
archetype_transform_grad_norm: 0.303214 (range: 0.303214 - 0.303214)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0200, max=0.3777, mean=0.1429
Batch reconstruction MSE: 1.0114
Archetype stats: min=-20.5964, max=22.4350
Archetype change since last debug: 1.002424
Archetype gradients: norm=0.029126, mean=0.001091
Epoch 1/1
Average loss: 0.7751
Archetypal loss: 0.8435
KLD loss: 0.1591
Reconstruction loss: 0.8435
Archetype R²: 0.1314
Archetype transform grad norm: 0.298933
Archetype transform param norm: 9.1756
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.7751 (range: 0.7751 - 0.7751)
archetypal_loss: 0.8435 (range: 0.8435 - 0.8435)
kld_loss: 0.1591 (range: 0.1591 - 0.1591)
reconstruction_loss: 0.8435 (range: 0.8435 - 0.8435)
archetype_r2: 0.1314 (range: 0.1314 - 0.1314)
Archetype Transform Summary:
archetype_transform_mean: 0.001519 (range: 0.001519 - 0.001519)
archetype_transform_std: 0.128488 (range: 0.128488 - 0.128488)
archetype_transform_norm: 9.175603 (range: 9.175603 - 9.175603)
archetype_transform_grad_norm: 0.298933 (range: 0.298933 - 0.298933)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0225, max=0.3885, mean=0.1429
Batch reconstruction MSE: 1.0159
Archetype stats: min=-20.7942, max=22.7235
Archetype change since last debug: 1.203234
Archetype gradients: norm=0.033155, mean=0.001336
Epoch 1/1
Average loss: 0.7753
Archetypal loss: 0.8440
KLD loss: 0.1571
Reconstruction loss: 0.8440
Archetype R²: 0.1309
Archetype transform grad norm: 0.304866
Archetype transform param norm: 9.1966
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.7753 (range: 0.7753 - 0.7753)
archetypal_loss: 0.8440 (range: 0.8440 - 0.8440)
kld_loss: 0.1571 (range: 0.1571 - 0.1571)
reconstruction_loss: 0.8440 (range: 0.8440 - 0.8440)
archetype_r2: 0.1309 (range: 0.1309 - 0.1309)
Archetype Transform Summary:
archetype_transform_mean: 0.001532 (range: 0.001532 - 0.001532)
archetype_transform_std: 0.128782 (range: 0.128782 - 0.128782)
archetype_transform_norm: 9.196634 (range: 9.196634 - 9.196634)
archetype_transform_grad_norm: 0.304866 (range: 0.304866 - 0.304866)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0199, max=0.3750, mean=0.1429
Batch reconstruction MSE: 1.0168
Archetype stats: min=-20.8836, max=22.9559
Archetype change since last debug: 1.165841
Archetype gradients: norm=0.031371, mean=0.001214
Epoch 1/1
Average loss: 0.7745
Archetypal loss: 0.8430
KLD loss: 0.1577
Reconstruction loss: 0.8430
Archetype R²: 0.1317
Archetype transform grad norm: 0.299239
Archetype transform param norm: 9.2143
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.7745 (range: 0.7745 - 0.7745)
archetypal_loss: 0.8430 (range: 0.8430 - 0.8430)
kld_loss: 0.1577 (range: 0.1577 - 0.1577)
reconstruction_loss: 0.8430 (range: 0.8430 - 0.8430)
archetype_r2: 0.1317 (range: 0.1317 - 0.1317)
Archetype Transform Summary:
archetype_transform_mean: 0.001528 (range: 0.001528 - 0.001528)
archetype_transform_std: 0.129030 (range: 0.129030 - 0.129030)
archetype_transform_norm: 9.214331 (range: 9.214331 - 9.214331)
archetype_transform_grad_norm: 0.299239 (range: 0.299239 - 0.299239)
[OK] Completed in 34.9s
[STATS] Mean archetype R²: 0.1306
[STATS] Mean validation R²: 0.1306
đź§Ş Configuration 20/20: {'n_archetypes': 7, 'hidden_dims': [512, 256, 128], 'inflation_factor': 1.5, 'use_pcha_init': True, 'use_inflation': True}
Fold 1/3
Model input_dim: 50 (auto-detected from data)
Archetypes parameter registered: True
Archetypes requires_grad: True
Deep_AA (Deep Archetypal Analysis) initialized:
- Single-stage architecture (like Deep_2)
- Inflation factor: 1.5
- Direct archetypal coordinates (no bottleneck)
Consolidated Archetype Initialization
PCHA: True, Inflation: True (factor: 1.5)
Test inflation: False
Running PCHA initialization...
Input shape: (128, 50)
Target archetypes: 7
Running PCHA with 7 archetypes...
Data shape for PCHA: (50, 128)
PCHA Results:
Archetypes shape: (7, 50)
Archetype R²: 0.3137
SSE: 4016.2847
PCHA archetype R²: 0.3137
Archetype shape: (7, 50)
[OK] Initialized 7 archetypes using PCHA
Scalar Archetypal Inflation (factor: 1.50)
[OK] Inflation complete
[STATS] Positioning verification:
Data radius (max): 21.926
Data radius (mean): 6.206
Archetype distances: 4.284 to 30.985
Archetypes outside data: 2/7
Min archetype separation: 6.689
[OK] Archetype initialization complete (success: True)
[OK] Archetype initialization complete (PCHA: True, Inflation: 1.5)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0006, max=0.9065, mean=0.1429
Batch reconstruction MSE: 1.1867
Archetype stats: min=-1.9012, max=1.5889
Archetype gradients: norm=0.012765, mean=0.000523
Epoch 1/1
Average loss: 0.8759
Archetypal loss: 0.9696
KLD loss: 0.0326
Reconstruction loss: 0.9696
Archetype R²: -0.0179
Archetype transform grad norm: 0.189151
Archetype transform param norm: 5.7955
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.8759 (range: 0.8759 - 0.8759)
archetypal_loss: 0.9696 (range: 0.9696 - 0.9696)
kld_loss: 0.0326 (range: 0.0326 - 0.0326)
reconstruction_loss: 0.9696 (range: 0.9696 - 0.9696)
archetype_r2: -0.0179 (range: -0.0179 - -0.0179)
Archetype Transform Summary:
archetype_transform_mean: -0.000592 (range: -0.000592 - -0.000592)
archetype_transform_std: 0.081159 (range: 0.081159 - 0.081159)
archetype_transform_norm: 5.795529 (range: 5.795529 - 5.795529)
archetype_transform_grad_norm: 0.189151 (range: 0.189151 - 0.189151)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0007, max=0.9204, mean=0.1429
Batch reconstruction MSE: 1.0493
Archetype stats: min=-1.1839, max=0.9562
Archetype change since last debug: 7.984949
Archetype gradients: norm=0.003328, mean=0.000137
Epoch 1/1
Average loss: 0.8593
Archetypal loss: 0.9461
KLD loss: 0.0778
Reconstruction loss: 0.9461
Archetype R²: 0.0063
Archetype transform grad norm: 0.132886
Archetype transform param norm: 5.8250
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.8593 (range: 0.8593 - 0.8593)
archetypal_loss: 0.9461 (range: 0.9461 - 0.9461)
kld_loss: 0.0778 (range: 0.0778 - 0.0778)
reconstruction_loss: 0.9461 (range: 0.9461 - 0.9461)
archetype_r2: 0.0063 (range: 0.0063 - 0.0063)
Archetype Transform Summary:
archetype_transform_mean: -0.000569 (range: -0.000569 - -0.000569)
archetype_transform_std: 0.081573 (range: 0.081573 - 0.081573)
archetype_transform_norm: 5.825039 (range: 5.825039 - 5.825039)
archetype_transform_grad_norm: 0.132886 (range: 0.132886 - 0.132886)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0047, max=0.7671, mean=0.1429
Batch reconstruction MSE: 1.0802
Archetype stats: min=-2.9726, max=2.4872
Archetype change since last debug: 7.287691
Archetype gradients: norm=0.004140, mean=0.000166
Epoch 1/1
Average loss: 0.8445
Archetypal loss: 0.9257
KLD loss: 0.1129
Reconstruction loss: 0.9257
Archetype R²: 0.0279
Archetype transform grad norm: 0.169880
Archetype transform param norm: 5.9875
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.8445 (range: 0.8445 - 0.8445)
archetypal_loss: 0.9257 (range: 0.9257 - 0.9257)
kld_loss: 0.1129 (range: 0.1129 - 0.1129)
reconstruction_loss: 0.9257 (range: 0.9257 - 0.9257)
archetype_r2: 0.0279 (range: 0.0279 - 0.0279)
Archetype Transform Summary:
archetype_transform_mean: -0.000238 (range: -0.000238 - -0.000238)
archetype_transform_std: 0.083849 (range: 0.083849 - 0.083849)
archetype_transform_norm: 5.987490 (range: 5.987490 - 5.987490)
archetype_transform_grad_norm: 0.169880 (range: 0.169880 - 0.169880)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0045, max=0.7956, mean=0.1429
Batch reconstruction MSE: 1.0996
Archetype stats: min=-6.1252, max=4.8191
Archetype change since last debug: 10.951599
Archetype gradients: norm=0.008541, mean=0.000317
Epoch 1/1
Average loss: 0.8298
Archetypal loss: 0.9058
KLD loss: 0.1462
Reconstruction loss: 0.9058
Archetype R²: 0.0491
Archetype transform grad norm: 0.208052
Archetype transform param norm: 6.2545
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.8298 (range: 0.8298 - 0.8298)
archetypal_loss: 0.9058 (range: 0.9058 - 0.9058)
kld_loss: 0.1462 (range: 0.1462 - 0.1462)
reconstruction_loss: 0.9058 (range: 0.9058 - 0.9058)
archetype_r2: 0.0491 (range: 0.0491 - 0.0491)
Archetype Transform Summary:
archetype_transform_mean: -0.000189 (range: -0.000189 - -0.000189)
archetype_transform_std: 0.087588 (range: 0.087588 - 0.087588)
archetype_transform_norm: 6.254462 (range: 6.254462 - 6.254462)
archetype_transform_grad_norm: 0.208052 (range: 0.208052 - 0.208052)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0084, max=0.7880, mean=0.1429
Batch reconstruction MSE: 1.1624
Archetype stats: min=-8.5839, max=7.3345
Archetype change since last debug: 11.533888
Archetype gradients: norm=0.009855, mean=0.000341
Epoch 1/1
Average loss: 0.8165
Archetypal loss: 0.8898
KLD loss: 0.1575
Reconstruction loss: 0.8898
Archetype R²: 0.0661
Archetype transform grad norm: 0.227232
Archetype transform param norm: 6.5549
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.8165 (range: 0.8165 - 0.8165)
archetypal_loss: 0.8898 (range: 0.8898 - 0.8898)
kld_loss: 0.1575 (range: 0.1575 - 0.1575)
reconstruction_loss: 0.8898 (range: 0.8898 - 0.8898)
archetype_r2: 0.0661 (range: 0.0661 - 0.0661)
Archetype Transform Summary:
archetype_transform_mean: -0.000293 (range: -0.000293 - -0.000293)
archetype_transform_std: 0.091795 (range: 0.091795 - 0.091795)
archetype_transform_norm: 6.554886 (range: 6.554886 - 6.554886)
archetype_transform_grad_norm: 0.227232 (range: 0.227232 - 0.227232)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0056, max=0.8154, mean=0.1429
Batch reconstruction MSE: 1.3162
Archetype stats: min=-10.0206, max=9.0908
Archetype change since last debug: 10.748652
Archetype gradients: norm=0.037397, mean=0.001435
Epoch 1/1
Average loss: 0.8136
Archetypal loss: 0.8862
KLD loss: 0.1599
Reconstruction loss: 0.8862
Archetype R²: 0.0702
Archetype transform grad norm: 0.254579
Archetype transform param norm: 6.7692
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.8136 (range: 0.8136 - 0.8136)
archetypal_loss: 0.8862 (range: 0.8862 - 0.8862)
kld_loss: 0.1599 (range: 0.1599 - 0.1599)
reconstruction_loss: 0.8862 (range: 0.8862 - 0.8862)
archetype_r2: 0.0702 (range: 0.0702 - 0.0702)
Archetype Transform Summary:
archetype_transform_mean: -0.000436 (range: -0.000436 - -0.000436)
archetype_transform_std: 0.094796 (range: 0.094796 - 0.094796)
archetype_transform_norm: 6.769178 (range: 6.769178 - 6.769178)
archetype_transform_grad_norm: 0.254579 (range: 0.254579 - 0.254579)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0069, max=0.8240, mean=0.1429
Batch reconstruction MSE: 1.2560
Archetype stats: min=-11.0699, max=10.5429
Archetype change since last debug: 6.452888
Archetype gradients: norm=0.017143, mean=0.000674
Epoch 1/1
Average loss: 0.8068
Archetypal loss: 0.8781
KLD loss: 0.1650
Reconstruction loss: 0.8781
Archetype R²: 0.0786
Archetype transform grad norm: 0.261822
Archetype transform param norm: 6.9536
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.8068 (range: 0.8068 - 0.8068)
archetypal_loss: 0.8781 (range: 0.8781 - 0.8781)
kld_loss: 0.1650 (range: 0.1650 - 0.1650)
reconstruction_loss: 0.8781 (range: 0.8781 - 0.8781)
archetype_r2: 0.0786 (range: 0.0786 - 0.0786)
Archetype Transform Summary:
archetype_transform_mean: -0.000526 (range: -0.000526 - -0.000526)
archetype_transform_std: 0.097378 (range: 0.097378 - 0.097378)
archetype_transform_norm: 6.953607 (range: 6.953607 - 6.953607)
archetype_transform_grad_norm: 0.261822 (range: 0.261822 - 0.261822)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0100, max=0.7645, mean=0.1429
Batch reconstruction MSE: 1.3061
Archetype stats: min=-11.6896, max=11.5229
Archetype change since last debug: 6.288080
Archetype gradients: norm=0.040955, mean=0.001532
Epoch 1/1
Average loss: 0.8006
Archetypal loss: 0.8715
KLD loss: 0.1633
Reconstruction loss: 0.8715
Archetype R²: 0.0857
Archetype transform grad norm: 0.256382
Archetype transform param norm: 7.1185
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.8006 (range: 0.8006 - 0.8006)
archetypal_loss: 0.8715 (range: 0.8715 - 0.8715)
kld_loss: 0.1633 (range: 0.1633 - 0.1633)
reconstruction_loss: 0.8715 (range: 0.8715 - 0.8715)
archetype_r2: 0.0857 (range: 0.0857 - 0.0857)
Archetype Transform Summary:
archetype_transform_mean: -0.000587 (range: -0.000587 - -0.000587)
archetype_transform_std: 0.099687 (range: 0.099687 - 0.099687)
archetype_transform_norm: 7.118517 (range: 7.118517 - 7.118517)
archetype_transform_grad_norm: 0.256382 (range: 0.256382 - 0.256382)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0094, max=0.7767, mean=0.1429
Batch reconstruction MSE: 1.2207
Archetype stats: min=-12.5612, max=12.6017
Archetype change since last debug: 5.601375
Archetype gradients: norm=0.025504, mean=0.000967
Epoch 1/1
Average loss: 0.7936
Archetypal loss: 0.8632
KLD loss: 0.1672
Reconstruction loss: 0.8632
Archetype R²: 0.0943
Archetype transform grad norm: 0.263582
Archetype transform param norm: 7.3105
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.7936 (range: 0.7936 - 0.7936)
archetypal_loss: 0.8632 (range: 0.8632 - 0.8632)
kld_loss: 0.1672 (range: 0.1672 - 0.1672)
reconstruction_loss: 0.8632 (range: 0.8632 - 0.8632)
archetype_r2: 0.0943 (range: 0.0943 - 0.0943)
Archetype Transform Summary:
archetype_transform_mean: -0.000660 (range: -0.000660 - -0.000660)
archetype_transform_std: 0.102376 (range: 0.102376 - 0.102376)
archetype_transform_norm: 7.310533 (range: 7.310533 - 7.310533)
archetype_transform_grad_norm: 0.263582 (range: 0.263582 - 0.263582)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0119, max=0.6934, mean=0.1429
Batch reconstruction MSE: 1.2630
Archetype stats: min=-13.6989, max=14.0997
Archetype change since last debug: 6.260400
Archetype gradients: norm=0.039264, mean=0.001513
Epoch 1/1
Average loss: 0.7894
Archetypal loss: 0.8597
KLD loss: 0.1566
Reconstruction loss: 0.8597
Archetype R²: 0.0980
Archetype transform grad norm: 0.277541
Archetype transform param norm: 7.4750
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.7894 (range: 0.7894 - 0.7894)
archetypal_loss: 0.8597 (range: 0.8597 - 0.8597)
kld_loss: 0.1566 (range: 0.1566 - 0.1566)
reconstruction_loss: 0.8597 (range: 0.8597 - 0.8597)
archetype_r2: 0.0980 (range: 0.0980 - 0.0980)
Archetype Transform Summary:
archetype_transform_mean: -0.000688 (range: -0.000688 - -0.000688)
archetype_transform_std: 0.104679 (range: 0.104679 - 0.104679)
archetype_transform_norm: 7.474981 (range: 7.474981 - 7.474981)
archetype_transform_grad_norm: 0.277541 (range: 0.277541 - 0.277541)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0117, max=0.7217, mean=0.1429
Batch reconstruction MSE: 1.2201
Archetype stats: min=-14.6233, max=15.1409
Archetype change since last debug: 5.269325
Archetype gradients: norm=0.029311, mean=0.001184
Epoch 1/1
Average loss: 0.7858
Archetypal loss: 0.8552
KLD loss: 0.1620
Reconstruction loss: 0.8552
Archetype R²: 0.1027
Archetype transform grad norm: 0.286898
Archetype transform param norm: 7.6421
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.7858 (range: 0.7858 - 0.7858)
archetypal_loss: 0.8552 (range: 0.8552 - 0.8552)
kld_loss: 0.1620 (range: 0.1620 - 0.1620)
reconstruction_loss: 0.8552 (range: 0.8552 - 0.8552)
archetype_r2: 0.1027 (range: 0.1027 - 0.1027)
Archetype Transform Summary:
archetype_transform_mean: -0.000777 (range: -0.000777 - -0.000777)
archetype_transform_std: 0.107018 (range: 0.107018 - 0.107018)
archetype_transform_norm: 7.642075 (range: 7.642075 - 7.642075)
archetype_transform_grad_norm: 0.286898 (range: 0.286898 - 0.286898)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0122, max=0.6634, mean=0.1429
Batch reconstruction MSE: 1.2592
Archetype stats: min=-15.4401, max=16.2376
Archetype change since last debug: 5.104325
Archetype gradients: norm=0.054415, mean=0.001964
Epoch 1/1
Average loss: 0.7836
Archetypal loss: 0.8538
KLD loss: 0.1515
Reconstruction loss: 0.8538
Archetype R²: 0.1042
Archetype transform grad norm: 0.294427
Archetype transform param norm: 7.7702
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.7836 (range: 0.7836 - 0.7836)
archetypal_loss: 0.8538 (range: 0.8538 - 0.8538)
kld_loss: 0.1515 (range: 0.1515 - 0.1515)
reconstruction_loss: 0.8538 (range: 0.8538 - 0.8538)
archetype_r2: 0.1042 (range: 0.1042 - 0.1042)
Archetype Transform Summary:
archetype_transform_mean: -0.000738 (range: -0.000738 - -0.000738)
archetype_transform_std: 0.108813 (range: 0.108813 - 0.108813)
archetype_transform_norm: 7.770229 (range: 7.770229 - 7.770229)
archetype_transform_grad_norm: 0.294427 (range: 0.294427 - 0.294427)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0100, max=0.7247, mean=0.1429
Batch reconstruction MSE: 1.2076
Archetype stats: min=-16.1360, max=17.0125
Archetype change since last debug: 4.022401
Archetype gradients: norm=0.033114, mean=0.001390
Epoch 1/1
Average loss: 0.7812
Archetypal loss: 0.8505
KLD loss: 0.1575
Reconstruction loss: 0.8505
Archetype R²: 0.1077
Archetype transform grad norm: 0.308543
Archetype transform param norm: 7.9190
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.7812 (range: 0.7812 - 0.7812)
archetypal_loss: 0.8505 (range: 0.8505 - 0.8505)
kld_loss: 0.1575 (range: 0.1575 - 0.1575)
reconstruction_loss: 0.8505 (range: 0.8505 - 0.8505)
archetype_r2: 0.1077 (range: 0.1077 - 0.1077)
Archetype Transform Summary:
archetype_transform_mean: -0.000827 (range: -0.000827 - -0.000827)
archetype_transform_std: 0.110896 (range: 0.110896 - 0.110896)
archetype_transform_norm: 7.919037 (range: 7.919037 - 7.919037)
archetype_transform_grad_norm: 0.308543 (range: 0.308543 - 0.308543)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0123, max=0.7138, mean=0.1429
Batch reconstruction MSE: 1.3312
Archetype stats: min=-16.3705, max=17.3847
Archetype change since last debug: 4.128114
Archetype gradients: norm=0.112315, mean=0.003787
Epoch 1/1
Average loss: 0.7814
Archetypal loss: 0.8498
KLD loss: 0.1657
Reconstruction loss: 0.8498
Archetype R²: 0.1086
Archetype transform grad norm: 0.322171
Archetype transform param norm: 8.0210
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.7814 (range: 0.7814 - 0.7814)
archetypal_loss: 0.8498 (range: 0.8498 - 0.8498)
kld_loss: 0.1657 (range: 0.1657 - 0.1657)
reconstruction_loss: 0.8498 (range: 0.8498 - 0.8498)
archetype_r2: 0.1086 (range: 0.1086 - 0.1086)
Archetype Transform Summary:
archetype_transform_mean: -0.000774 (range: -0.000774 - -0.000774)
archetype_transform_std: 0.112325 (range: 0.112325 - 0.112325)
archetype_transform_norm: 8.020998 (range: 8.020998 - 8.020998)
archetype_transform_grad_norm: 0.322171 (range: 0.322171 - 0.322171)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0088, max=0.5155, mean=0.1429
Batch reconstruction MSE: 1.4557
Archetype stats: min=-16.6755, max=17.6235
Archetype change since last debug: 3.388038
Archetype gradients: norm=0.062401, mean=0.002420
Epoch 1/1
Average loss: 0.7804
Archetypal loss: 0.8488
KLD loss: 0.1650
Reconstruction loss: 0.8488
Archetype R²: 0.1099
Archetype transform grad norm: 0.322334
Archetype transform param norm: 8.1287
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.7804 (range: 0.7804 - 0.7804)
archetypal_loss: 0.8488 (range: 0.8488 - 0.8488)
kld_loss: 0.1650 (range: 0.1650 - 0.1650)
reconstruction_loss: 0.8488 (range: 0.8488 - 0.8488)
archetype_r2: 0.1099 (range: 0.1099 - 0.1099)
Archetype Transform Summary:
archetype_transform_mean: -0.000911 (range: -0.000911 - -0.000911)
archetype_transform_std: 0.113832 (range: 0.113832 - 0.113832)
archetype_transform_norm: 8.128670 (range: 8.128670 - 8.128670)
archetype_transform_grad_norm: 0.322334 (range: 0.322334 - 0.322334)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0033, max=0.8783, mean=0.1429
Batch reconstruction MSE: 1.2796
Archetype stats: min=-16.7439, max=17.6147
Archetype change since last debug: 4.206380
Archetype gradients: norm=0.072864, mean=0.002421
Epoch 1/1
Average loss: 0.7767
Archetypal loss: 0.8409
KLD loss: 0.1987
Reconstruction loss: 0.8409
Archetype R²: 0.1179
Archetype transform grad norm: 0.304343
Archetype transform param norm: 8.2378
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.7767 (range: 0.7767 - 0.7767)
archetypal_loss: 0.8409 (range: 0.8409 - 0.8409)
kld_loss: 0.1987 (range: 0.1987 - 0.1987)
reconstruction_loss: 0.8409 (range: 0.8409 - 0.8409)
archetype_r2: 0.1179 (range: 0.1179 - 0.1179)
Archetype Transform Summary:
archetype_transform_mean: -0.000868 (range: -0.000868 - -0.000868)
archetype_transform_std: 0.115360 (range: 0.115360 - 0.115360)
archetype_transform_norm: 8.237811 (range: 8.237811 - 8.237811)
archetype_transform_grad_norm: 0.304343 (range: 0.304343 - 0.304343)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0138, max=0.5641, mean=0.1429
Batch reconstruction MSE: 1.5609
Archetype stats: min=-17.2790, max=18.3259
Archetype change since last debug: 3.618098
Archetype gradients: norm=0.036572, mean=0.001457
Epoch 1/1
Average loss: 0.7752
Archetypal loss: 0.8437
KLD loss: 0.1584
Reconstruction loss: 0.8437
Archetype R²: 0.1155
Archetype transform grad norm: 0.296208
Archetype transform param norm: 8.3263
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.7752 (range: 0.7752 - 0.7752)
archetypal_loss: 0.8437 (range: 0.8437 - 0.8437)
kld_loss: 0.1584 (range: 0.1584 - 0.1584)
reconstruction_loss: 0.8437 (range: 0.8437 - 0.8437)
archetype_r2: 0.1155 (range: 0.1155 - 0.1155)
Archetype Transform Summary:
archetype_transform_mean: -0.000914 (range: -0.000914 - -0.000914)
archetype_transform_std: 0.116599 (range: 0.116599 - 0.116599)
archetype_transform_norm: 8.326260 (range: 8.326260 - 8.326260)
archetype_transform_grad_norm: 0.296208 (range: 0.296208 - 0.296208)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0078, max=0.7152, mean=0.1429
Batch reconstruction MSE: 1.2142
Archetype stats: min=-17.4344, max=17.9876
Archetype change since last debug: 3.735197
Archetype gradients: norm=0.058914, mean=0.002073
Epoch 1/1
Average loss: 0.7686
Archetypal loss: 0.8339
KLD loss: 0.1812
Reconstruction loss: 0.8339
Archetype R²: 0.1251
Archetype transform grad norm: 0.295355
Archetype transform param norm: 8.4397
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.7686 (range: 0.7686 - 0.7686)
archetypal_loss: 0.8339 (range: 0.8339 - 0.8339)
kld_loss: 0.1812 (range: 0.1812 - 0.1812)
reconstruction_loss: 0.8339 (range: 0.8339 - 0.8339)
archetype_r2: 0.1251 (range: 0.1251 - 0.1251)
Archetype Transform Summary:
archetype_transform_mean: -0.000902 (range: -0.000902 - -0.000902)
archetype_transform_std: 0.118187 (range: 0.118187 - 0.118187)
archetype_transform_norm: 8.439667 (range: 8.439667 - 8.439667)
archetype_transform_grad_norm: 0.295355 (range: 0.295355 - 0.295355)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0133, max=0.5972, mean=0.1429
Batch reconstruction MSE: 1.2740
Archetype stats: min=-17.9702, max=18.8475
Archetype change since last debug: 3.799282
Archetype gradients: norm=0.024352, mean=0.000958
Epoch 1/1
Average loss: 0.7661
Archetypal loss: 0.8338
KLD loss: 0.1567
Reconstruction loss: 0.8338
Archetype R²: 0.1253
Archetype transform grad norm: 0.303475
Archetype transform param norm: 8.5637
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.7661 (range: 0.7661 - 0.7661)
archetypal_loss: 0.8338 (range: 0.8338 - 0.8338)
kld_loss: 0.1567 (range: 0.1567 - 0.1567)
reconstruction_loss: 0.8338 (range: 0.8338 - 0.8338)
archetype_r2: 0.1253 (range: 0.1253 - 0.1253)
Archetype Transform Summary:
archetype_transform_mean: -0.000888 (range: -0.000888 - -0.000888)
archetype_transform_std: 0.119925 (range: 0.119925 - 0.119925)
archetype_transform_norm: 8.563740 (range: 8.563740 - 8.563740)
archetype_transform_grad_norm: 0.303475 (range: 0.303475 - 0.303475)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0102, max=0.7197, mean=0.1429
Batch reconstruction MSE: 1.1267
Archetype stats: min=-18.5395, max=19.1271
Archetype change since last debug: 3.273298
Archetype gradients: norm=0.047492, mean=0.001674
Epoch 1/1
Average loss: 0.7630
Archetypal loss: 0.8293
KLD loss: 0.1661
Reconstruction loss: 0.8293
Archetype R²: 0.1297
Archetype transform grad norm: 0.299726
Archetype transform param norm: 8.6775
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.7630 (range: 0.7630 - 0.7630)
archetypal_loss: 0.8293 (range: 0.8293 - 0.8293)
kld_loss: 0.1661 (range: 0.1661 - 0.1661)
reconstruction_loss: 0.8293 (range: 0.8293 - 0.8293)
archetype_r2: 0.1297 (range: 0.1297 - 0.1297)
Archetype Transform Summary:
archetype_transform_mean: -0.000891 (range: -0.000891 - -0.000891)
archetype_transform_std: 0.121518 (range: 0.121518 - 0.121518)
archetype_transform_norm: 8.677515 (range: 8.677515 - 8.677515)
archetype_transform_grad_norm: 0.299726 (range: 0.299726 - 0.299726)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0161, max=0.4974, mean=0.1429
Batch reconstruction MSE: 1.2594
Archetype stats: min=-18.9578, max=19.8784
Archetype change since last debug: 3.752390
Archetype gradients: norm=0.030701, mean=0.001291
Epoch 1/1
Average loss: 0.7630
Archetypal loss: 0.8313
KLD loss: 0.1483
Reconstruction loss: 0.8313
Archetype R²: 0.1278
Archetype transform grad norm: 0.308261
Archetype transform param norm: 8.7843
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.7630 (range: 0.7630 - 0.7630)
archetypal_loss: 0.8313 (range: 0.8313 - 0.8313)
kld_loss: 0.1483 (range: 0.1483 - 0.1483)
reconstruction_loss: 0.8313 (range: 0.8313 - 0.8313)
archetype_r2: 0.1278 (range: 0.1278 - 0.1278)
Archetype Transform Summary:
archetype_transform_mean: -0.000873 (range: -0.000873 - -0.000873)
archetype_transform_std: 0.123014 (range: 0.123014 - 0.123014)
archetype_transform_norm: 8.784308 (range: 8.784308 - 8.784308)
archetype_transform_grad_norm: 0.308261 (range: 0.308261 - 0.308261)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0100, max=0.7076, mean=0.1429
Batch reconstruction MSE: 1.1540
Archetype stats: min=-19.3430, max=19.9783
Archetype change since last debug: 2.784037
Archetype gradients: norm=0.056598, mean=0.001910
Epoch 1/1
Average loss: 0.7613
Archetypal loss: 0.8284
KLD loss: 0.1571
Reconstruction loss: 0.8284
Archetype R²: 0.1306
Archetype transform grad norm: 0.309401
Archetype transform param norm: 8.8672
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.7613 (range: 0.7613 - 0.7613)
archetypal_loss: 0.8284 (range: 0.8284 - 0.8284)
kld_loss: 0.1571 (range: 0.1571 - 0.1571)
reconstruction_loss: 0.8284 (range: 0.8284 - 0.8284)
archetype_r2: 0.1306 (range: 0.1306 - 0.1306)
Archetype Transform Summary:
archetype_transform_mean: -0.000862 (range: -0.000862 - -0.000862)
archetype_transform_std: 0.124174 (range: 0.124174 - 0.124174)
archetype_transform_norm: 8.867175 (range: 8.867175 - 8.867175)
archetype_transform_grad_norm: 0.309401 (range: 0.309401 - 0.309401)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0183, max=0.4268, mean=0.1429
Batch reconstruction MSE: 1.2349
Archetype stats: min=-19.5144, max=20.4313
Archetype change since last debug: 3.026360
Archetype gradients: norm=0.037079, mean=0.001557
Epoch 1/1
Average loss: 0.7612
Archetypal loss: 0.8297
KLD loss: 0.1449
Reconstruction loss: 0.8297
Archetype R²: 0.1295
Archetype transform grad norm: 0.318779
Archetype transform param norm: 8.9576
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.7612 (range: 0.7612 - 0.7612)
archetypal_loss: 0.8297 (range: 0.8297 - 0.8297)
kld_loss: 0.1449 (range: 0.1449 - 0.1449)
reconstruction_loss: 0.8297 (range: 0.8297 - 0.8297)
archetype_r2: 0.1295 (range: 0.1295 - 0.1295)
Archetype Transform Summary:
archetype_transform_mean: -0.000852 (range: -0.000852 - -0.000852)
archetype_transform_std: 0.125441 (range: 0.125441 - 0.125441)
archetype_transform_norm: 8.957579 (range: 8.957579 - 8.957579)
archetype_transform_grad_norm: 0.318779 (range: 0.318779 - 0.318779)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0113, max=0.6951, mean=0.1429
Batch reconstruction MSE: 1.1559
Archetype stats: min=-20.0057, max=20.5483
Archetype change since last debug: 2.488271
Archetype gradients: norm=0.071943, mean=0.002405
Epoch 1/1
Average loss: 0.7596
Archetypal loss: 0.8271
KLD loss: 0.1520
Reconstruction loss: 0.8271
Archetype R²: 0.1320
Archetype transform grad norm: 0.317069
Archetype transform param norm: 9.0203
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.7596 (range: 0.7596 - 0.7596)
archetypal_loss: 0.8271 (range: 0.8271 - 0.8271)
kld_loss: 0.1520 (range: 0.1520 - 0.1520)
reconstruction_loss: 0.8271 (range: 0.8271 - 0.8271)
archetype_r2: 0.1320 (range: 0.1320 - 0.1320)
Archetype Transform Summary:
archetype_transform_mean: -0.000807 (range: -0.000807 - -0.000807)
archetype_transform_std: 0.126319 (range: 0.126319 - 0.126319)
archetype_transform_norm: 9.020297 (range: 9.020297 - 9.020297)
archetype_transform_grad_norm: 0.317069 (range: 0.317069 - 0.317069)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0156, max=0.4329, mean=0.1429
Batch reconstruction MSE: 1.3063
Archetype stats: min=-19.8752, max=21.2665
Archetype change since last debug: 2.963245
Archetype gradients: norm=0.057886, mean=0.002421
Epoch 1/1
Average loss: 0.7627
Archetypal loss: 0.8315
KLD loss: 0.1432
Reconstruction loss: 0.8315
Archetype R²: 0.1277
Archetype transform grad norm: 0.352037
Archetype transform param norm: 9.0854
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.7627 (range: 0.7627 - 0.7627)
archetypal_loss: 0.8315 (range: 0.8315 - 0.8315)
kld_loss: 0.1432 (range: 0.1432 - 0.1432)
reconstruction_loss: 0.8315 (range: 0.8315 - 0.8315)
archetype_r2: 0.1277 (range: 0.1277 - 0.1277)
Archetype Transform Summary:
archetype_transform_mean: -0.000815 (range: -0.000815 - -0.000815)
archetype_transform_std: 0.127230 (range: 0.127230 - 0.127230)
archetype_transform_norm: 9.085354 (range: 9.085354 - 9.085354)
archetype_transform_grad_norm: 0.352037 (range: 0.352037 - 0.352037)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0188, max=0.5953, mean=0.1429
Batch reconstruction MSE: 1.2689
Archetype stats: min=-20.0248, max=20.6924
Archetype change since last debug: 2.272985
Archetype gradients: norm=0.088155, mean=0.003120
Epoch 1/1
Average loss: 0.7606
Archetypal loss: 0.8292
KLD loss: 0.1431
Reconstruction loss: 0.8292
Archetype R²: 0.1300
Archetype transform grad norm: 0.331970
Archetype transform param norm: 9.1107
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.7606 (range: 0.7606 - 0.7606)
archetypal_loss: 0.8292 (range: 0.8292 - 0.8292)
kld_loss: 0.1431 (range: 0.1431 - 0.1431)
reconstruction_loss: 0.8292 (range: 0.8292 - 0.8292)
archetype_r2: 0.1300 (range: 0.1300 - 0.1300)
Archetype Transform Summary:
archetype_transform_mean: -0.000731 (range: -0.000731 - -0.000731)
archetype_transform_std: 0.127586 (range: 0.127586 - 0.127586)
archetype_transform_norm: 9.110705 (range: 9.110705 - 9.110705)
archetype_transform_grad_norm: 0.331970 (range: 0.331970 - 0.331970)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0199, max=0.3781, mean=0.1429
Batch reconstruction MSE: 1.2989
Archetype stats: min=-19.6500, max=21.2317
Archetype change since last debug: 2.421885
Archetype gradients: norm=0.055595, mean=0.002491
Epoch 1/1
Average loss: 0.7632
Archetypal loss: 0.8319
KLD loss: 0.1451
Reconstruction loss: 0.8319
Archetype R²: 0.1272
Archetype transform grad norm: 0.375714
Archetype transform param norm: 9.1614
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.7632 (range: 0.7632 - 0.7632)
archetypal_loss: 0.8319 (range: 0.8319 - 0.8319)
kld_loss: 0.1451 (range: 0.1451 - 0.1451)
reconstruction_loss: 0.8319 (range: 0.8319 - 0.8319)
archetype_r2: 0.1272 (range: 0.1272 - 0.1272)
Archetype Transform Summary:
archetype_transform_mean: -0.000829 (range: -0.000829 - -0.000829)
archetype_transform_std: 0.128295 (range: 0.128295 - 0.128295)
archetype_transform_norm: 9.161392 (range: 9.161392 - 9.161392)
archetype_transform_grad_norm: 0.375714 (range: 0.375714 - 0.375714)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0158, max=0.5958, mean=0.1429
Batch reconstruction MSE: 1.3564
Archetype stats: min=-20.0985, max=20.4481
Archetype change since last debug: 2.409627
Archetype gradients: norm=0.085733, mean=0.003213
Epoch 1/1
Average loss: 0.7618
Archetypal loss: 0.8316
KLD loss: 0.1334
Reconstruction loss: 0.8316
Archetype R²: 0.1276
Archetype transform grad norm: 0.343629
Archetype transform param norm: 9.1620
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.7618 (range: 0.7618 - 0.7618)
archetypal_loss: 0.8316 (range: 0.8316 - 0.8316)
kld_loss: 0.1334 (range: 0.1334 - 0.1334)
reconstruction_loss: 0.8316 (range: 0.8316 - 0.8316)
archetype_r2: 0.1276 (range: 0.1276 - 0.1276)
Archetype Transform Summary:
archetype_transform_mean: -0.000707 (range: -0.000707 - -0.000707)
archetype_transform_std: 0.128304 (range: 0.128304 - 0.128304)
archetype_transform_norm: 9.161956 (range: 9.161956 - 9.161956)
archetype_transform_grad_norm: 0.343629 (range: 0.343629 - 0.343629)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0203, max=0.3941, mean=0.1429
Batch reconstruction MSE: 1.1384
Archetype stats: min=-19.7367, max=20.8093
Archetype change since last debug: 1.773933
Archetype gradients: norm=0.032148, mean=0.001363
Epoch 1/1
Average loss: 0.7584
Archetypal loss: 0.8264
KLD loss: 0.1465
Reconstruction loss: 0.8264
Archetype R²: 0.1326
Archetype transform grad norm: 0.349990
Archetype transform param norm: 9.2199
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.7584 (range: 0.7584 - 0.7584)
archetypal_loss: 0.8264 (range: 0.8264 - 0.8264)
kld_loss: 0.1465 (range: 0.1465 - 0.1465)
reconstruction_loss: 0.8264 (range: 0.8264 - 0.8264)
archetype_r2: 0.1326 (range: 0.1326 - 0.1326)
Archetype Transform Summary:
archetype_transform_mean: -0.000787 (range: -0.000787 - -0.000787)
archetype_transform_std: 0.129115 (range: 0.129115 - 0.129115)
archetype_transform_norm: 9.219891 (range: 9.219891 - 9.219891)
archetype_transform_grad_norm: 0.349990 (range: 0.349990 - 0.349990)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0222, max=0.4314, mean=0.1429
Batch reconstruction MSE: 1.3460
Archetype stats: min=-20.3271, max=20.6296
Archetype change since last debug: 2.274842
Archetype gradients: norm=0.057212, mean=0.002215
Epoch 1/1
Average loss: 0.7595
Archetypal loss: 0.8300
KLD loss: 0.1248
Reconstruction loss: 0.8300
Archetype R²: 0.1293
Archetype transform grad norm: 0.328989
Archetype transform param norm: 9.2361
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.7595 (range: 0.7595 - 0.7595)
archetypal_loss: 0.8300 (range: 0.8300 - 0.8300)
kld_loss: 0.1248 (range: 0.1248 - 0.1248)
reconstruction_loss: 0.8300 (range: 0.8300 - 0.8300)
archetype_r2: 0.1293 (range: 0.1293 - 0.1293)
Archetype Transform Summary:
archetype_transform_mean: -0.000689 (range: -0.000689 - -0.000689)
archetype_transform_std: 0.129343 (range: 0.129343 - 0.129343)
archetype_transform_norm: 9.236145 (range: 9.236145 - 9.236145)
archetype_transform_grad_norm: 0.328989 (range: 0.328989 - 0.328989)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0127, max=0.5662, mean=0.1429
Batch reconstruction MSE: 1.1154
Archetype stats: min=-20.0690, max=21.1069
Archetype change since last debug: 1.563821
Archetype gradients: norm=0.019811, mean=0.000736
Epoch 1/1
Average loss: 0.7576
Archetypal loss: 0.8246
KLD loss: 0.1553
Reconstruction loss: 0.8246
Archetype R²: 0.1345
Archetype transform grad norm: 0.331125
Archetype transform param norm: 9.2903
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.7576 (range: 0.7576 - 0.7576)
archetypal_loss: 0.8246 (range: 0.8246 - 0.8246)
kld_loss: 0.1553 (range: 0.1553 - 0.1553)
reconstruction_loss: 0.8246 (range: 0.8246 - 0.8246)
archetype_r2: 0.1345 (range: 0.1345 - 0.1345)
Archetype Transform Summary:
archetype_transform_mean: -0.000742 (range: -0.000742 - -0.000742)
archetype_transform_std: 0.130100 (range: 0.130100 - 0.130100)
archetype_transform_norm: 9.290257 (range: 9.290257 - 9.290257)
archetype_transform_grad_norm: 0.331125 (range: 0.331125 - 0.331125)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0267, max=0.3602, mean=0.1429
Batch reconstruction MSE: 1.4524
Archetype stats: min=-20.5913, max=21.0195
Archetype change since last debug: 2.171679
Archetype gradients: norm=0.046947, mean=0.001859
Epoch 1/1
Average loss: 0.7591
Archetypal loss: 0.8305
KLD loss: 0.1166
Reconstruction loss: 0.8305
Archetype R²: 0.1289
Archetype transform grad norm: 0.312187
Archetype transform param norm: 9.2927
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.7591 (range: 0.7591 - 0.7591)
archetypal_loss: 0.8305 (range: 0.8305 - 0.8305)
kld_loss: 0.1166 (range: 0.1166 - 0.1166)
reconstruction_loss: 0.8305 (range: 0.8305 - 0.8305)
archetype_r2: 0.1289 (range: 0.1289 - 0.1289)
Archetype Transform Summary:
archetype_transform_mean: -0.000728 (range: -0.000728 - -0.000728)
archetype_transform_std: 0.130135 (range: 0.130135 - 0.130135)
archetype_transform_norm: 9.292698 (range: 9.292698 - 9.292698)
archetype_transform_grad_norm: 0.312187 (range: 0.312187 - 0.312187)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0158, max=0.5192, mean=0.1429
Batch reconstruction MSE: 1.0543
Archetype stats: min=-20.3521, max=21.2011
Archetype change since last debug: 1.508745
Archetype gradients: norm=0.015287, mean=0.000568
Epoch 1/1
Average loss: 0.7543
Archetypal loss: 0.8218
KLD loss: 0.1468
Reconstruction loss: 0.8218
Archetype R²: 0.1372
Archetype transform grad norm: 0.315091
Archetype transform param norm: 9.3511
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.7543 (range: 0.7543 - 0.7543)
archetypal_loss: 0.8218 (range: 0.8218 - 0.8218)
kld_loss: 0.1468 (range: 0.1468 - 0.1468)
reconstruction_loss: 0.8218 (range: 0.8218 - 0.8218)
archetype_r2: 0.1372 (range: 0.1372 - 0.1372)
Archetype Transform Summary:
archetype_transform_mean: -0.000696 (range: -0.000696 - -0.000696)
archetype_transform_std: 0.130953 (range: 0.130953 - 0.130953)
archetype_transform_norm: 9.351105 (range: 9.351105 - 9.351105)
archetype_transform_grad_norm: 0.315091 (range: 0.315091 - 0.315091)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0259, max=0.3810, mean=0.1429
Batch reconstruction MSE: 1.1589
Archetype stats: min=-20.7989, max=21.5388
Archetype change since last debug: 2.579131
Archetype gradients: norm=0.025112, mean=0.001081
Epoch 1/1
Average loss: 0.7535
Archetypal loss: 0.8238
KLD loss: 0.1207
Reconstruction loss: 0.8238
Archetype R²: 0.1353
Archetype transform grad norm: 0.323924
Archetype transform param norm: 9.4103
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.7535 (range: 0.7535 - 0.7535)
archetypal_loss: 0.8238 (range: 0.8238 - 0.8238)
kld_loss: 0.1207 (range: 0.1207 - 0.1207)
reconstruction_loss: 0.8238 (range: 0.8238 - 0.8238)
archetype_r2: 0.1353 (range: 0.1353 - 0.1353)
Archetype Transform Summary:
archetype_transform_mean: -0.000729 (range: -0.000729 - -0.000729)
archetype_transform_std: 0.131781 (range: 0.131781 - 0.131781)
archetype_transform_norm: 9.410266 (range: 9.410266 - 9.410266)
archetype_transform_grad_norm: 0.323924 (range: 0.323924 - 0.323924)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0234, max=0.4490, mean=0.1429
Batch reconstruction MSE: 1.0587
Archetype stats: min=-21.1281, max=21.8038
Archetype change since last debug: 1.884609
Archetype gradients: norm=0.025032, mean=0.000834
Epoch 1/1
Average loss: 0.7529
Archetypal loss: 0.8214
KLD loss: 0.1367
Reconstruction loss: 0.8214
Archetype R²: 0.1376
Archetype transform grad norm: 0.326163
Archetype transform param norm: 9.4739
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.7529 (range: 0.7529 - 0.7529)
archetypal_loss: 0.8214 (range: 0.8214 - 0.8214)
kld_loss: 0.1367 (range: 0.1367 - 0.1367)
reconstruction_loss: 0.8214 (range: 0.8214 - 0.8214)
archetype_r2: 0.1376 (range: 0.1376 - 0.1376)
Archetype Transform Summary:
archetype_transform_mean: -0.000650 (range: -0.000650 - -0.000650)
archetype_transform_std: 0.132673 (range: 0.132673 - 0.132673)
archetype_transform_norm: 9.473933 (range: 9.473933 - 9.473933)
archetype_transform_grad_norm: 0.326163 (range: 0.326163 - 0.326163)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0316, max=0.3702, mean=0.1429
Batch reconstruction MSE: 1.2728
Archetype stats: min=-21.4827, max=22.2731
Archetype change since last debug: 2.445541
Archetype gradients: norm=0.041648, mean=0.001742
Epoch 1/1
Average loss: 0.7552
Archetypal loss: 0.8260
KLD loss: 0.1177
Reconstruction loss: 0.8260
Archetype R²: 0.1332
Archetype transform grad norm: 0.340193
Archetype transform param norm: 9.5091
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.7552 (range: 0.7552 - 0.7552)
archetypal_loss: 0.8260 (range: 0.8260 - 0.8260)
kld_loss: 0.1177 (range: 0.1177 - 0.1177)
reconstruction_loss: 0.8260 (range: 0.8260 - 0.8260)
archetype_r2: 0.1332 (range: 0.1332 - 0.1332)
Archetype Transform Summary:
archetype_transform_mean: -0.000740 (range: -0.000740 - -0.000740)
archetype_transform_std: 0.133165 (range: 0.133165 - 0.133165)
archetype_transform_norm: 9.509094 (range: 9.509094 - 9.509094)
archetype_transform_grad_norm: 0.340193 (range: 0.340193 - 0.340193)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0224, max=0.4096, mean=0.1429
Batch reconstruction MSE: 1.1376
Archetype stats: min=-21.7738, max=22.3335
Archetype change since last debug: 1.553816
Archetype gradients: norm=0.038060, mean=0.001366
Epoch 1/1
Average loss: 0.7539
Archetypal loss: 0.8231
KLD loss: 0.1308
Reconstruction loss: 0.8231
Archetype R²: 0.1359
Archetype transform grad norm: 0.341370
Archetype transform param norm: 9.5463
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.7539 (range: 0.7539 - 0.7539)
archetypal_loss: 0.8231 (range: 0.8231 - 0.8231)
kld_loss: 0.1308 (range: 0.1308 - 0.1308)
reconstruction_loss: 0.8231 (range: 0.8231 - 0.8231)
archetype_r2: 0.1359 (range: 0.1359 - 0.1359)
Archetype Transform Summary:
archetype_transform_mean: -0.000637 (range: -0.000637 - -0.000637)
archetype_transform_std: 0.133687 (range: 0.133687 - 0.133687)
archetype_transform_norm: 9.546331 (range: 9.546331 - 9.546331)
archetype_transform_grad_norm: 0.341370 (range: 0.341370 - 0.341370)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0348, max=0.3804, mean=0.1429
Batch reconstruction MSE: 1.2316
Archetype stats: min=-21.8051, max=22.6725
Archetype change since last debug: 1.954059
Archetype gradients: norm=0.048040, mean=0.002150
Epoch 1/1
Average loss: 0.7545
Archetypal loss: 0.8251
KLD loss: 0.1191
Reconstruction loss: 0.8251
Archetype R²: 0.1341
Archetype transform grad norm: 0.351375
Archetype transform param norm: 9.5831
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.7545 (range: 0.7545 - 0.7545)
archetypal_loss: 0.8251 (range: 0.8251 - 0.8251)
kld_loss: 0.1191 (range: 0.1191 - 0.1191)
reconstruction_loss: 0.8251 (range: 0.8251 - 0.8251)
archetype_r2: 0.1341 (range: 0.1341 - 0.1341)
Archetype Transform Summary:
archetype_transform_mean: -0.000696 (range: -0.000696 - -0.000696)
archetype_transform_std: 0.134202 (range: 0.134202 - 0.134202)
archetype_transform_norm: 9.583120 (range: 9.583120 - 9.583120)
archetype_transform_grad_norm: 0.351375 (range: 0.351375 - 0.351375)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0369, max=0.3738, mean=0.1429
Batch reconstruction MSE: 1.1395
Archetype stats: min=-22.1837, max=22.5338
Archetype change since last debug: 1.744020
Archetype gradients: norm=0.062742, mean=0.002174
Epoch 1/1
Average loss: 0.7542
Archetypal loss: 0.8240
KLD loss: 0.1264
Reconstruction loss: 0.8240
Archetype R²: 0.1350
Archetype transform grad norm: 0.359275
Archetype transform param norm: 9.6080
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.7542 (range: 0.7542 - 0.7542)
archetypal_loss: 0.8240 (range: 0.8240 - 0.8240)
kld_loss: 0.1264 (range: 0.1264 - 0.1264)
reconstruction_loss: 0.8240 (range: 0.8240 - 0.8240)
archetype_r2: 0.1350 (range: 0.1350 - 0.1350)
Archetype Transform Summary:
archetype_transform_mean: -0.000594 (range: -0.000594 - -0.000594)
archetype_transform_std: 0.134551 (range: 0.134551 - 0.134551)
archetype_transform_norm: 9.608031 (range: 9.608031 - 9.608031)
archetype_transform_grad_norm: 0.359275 (range: 0.359275 - 0.359275)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0354, max=0.3440, mean=0.1429
Batch reconstruction MSE: 1.2365
Archetype stats: min=-21.7163, max=23.1330
Archetype change since last debug: 2.266882
Archetype gradients: norm=0.062020, mean=0.002678
Epoch 1/1
Average loss: 0.7554
Archetypal loss: 0.8260
KLD loss: 0.1202
Reconstruction loss: 0.8260
Archetype R²: 0.1331
Archetype transform grad norm: 0.370718
Archetype transform param norm: 9.6398
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.7554 (range: 0.7554 - 0.7554)
archetypal_loss: 0.8260 (range: 0.8260 - 0.8260)
kld_loss: 0.1202 (range: 0.1202 - 0.1202)
reconstruction_loss: 0.8260 (range: 0.8260 - 0.8260)
archetype_r2: 0.1331 (range: 0.1331 - 0.1331)
Archetype Transform Summary:
archetype_transform_mean: -0.000656 (range: -0.000656 - -0.000656)
archetype_transform_std: 0.134995 (range: 0.134995 - 0.134995)
archetype_transform_norm: 9.639770 (range: 9.639770 - 9.639770)
archetype_transform_grad_norm: 0.370718 (range: 0.370718 - 0.370718)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0302, max=0.3815, mean=0.1429
Batch reconstruction MSE: 1.1459
Archetype stats: min=-22.0088, max=22.6204
Archetype change since last debug: 2.097713
Archetype gradients: norm=0.067594, mean=0.002601
Epoch 1/1
Average loss: 0.7525
Archetypal loss: 0.8229
KLD loss: 0.1193
Reconstruction loss: 0.8229
Archetype R²: 0.1361
Archetype transform grad norm: 0.355572
Archetype transform param norm: 9.6618
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.7525 (range: 0.7525 - 0.7525)
archetypal_loss: 0.8229 (range: 0.8229 - 0.8229)
kld_loss: 0.1193 (range: 0.1193 - 0.1193)
reconstruction_loss: 0.8229 (range: 0.8229 - 0.8229)
archetype_r2: 0.1361 (range: 0.1361 - 0.1361)
Archetype Transform Summary:
archetype_transform_mean: -0.000543 (range: -0.000543 - -0.000543)
archetype_transform_std: 0.135305 (range: 0.135305 - 0.135305)
archetype_transform_norm: 9.661820 (range: 9.661820 - 9.661820)
archetype_transform_grad_norm: 0.355572 (range: 0.355572 - 0.355572)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0448, max=0.3296, mean=0.1429
Batch reconstruction MSE: 1.1744
Archetype stats: min=-21.5002, max=23.2834
Archetype change since last debug: 2.510478
Archetype gradients: norm=0.057912, mean=0.002451
Epoch 1/1
Average loss: 0.7534
Archetypal loss: 0.8236
KLD loss: 0.1216
Reconstruction loss: 0.8236
Archetype R²: 0.1354
Archetype transform grad norm: 0.369754
Archetype transform param norm: 9.7003
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.7534 (range: 0.7534 - 0.7534)
archetypal_loss: 0.8236 (range: 0.8236 - 0.8236)
kld_loss: 0.1216 (range: 0.1216 - 0.1216)
reconstruction_loss: 0.8236 (range: 0.8236 - 0.8236)
archetype_r2: 0.1354 (range: 0.1354 - 0.1354)
Archetype Transform Summary:
archetype_transform_mean: -0.000632 (range: -0.000632 - -0.000632)
archetype_transform_std: 0.135843 (range: 0.135843 - 0.135843)
archetype_transform_norm: 9.700308 (range: 9.700308 - 9.700308)
archetype_transform_grad_norm: 0.369754 (range: 0.369754 - 0.369754)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0347, max=0.3454, mean=0.1429
Batch reconstruction MSE: 1.2648
Archetype stats: min=-21.9348, max=22.5658
Archetype change since last debug: 2.212179
Archetype gradients: norm=0.083966, mean=0.003214
Epoch 1/1
Average loss: 0.7544
Archetypal loss: 0.8255
KLD loss: 0.1146
Reconstruction loss: 0.8255
Archetype R²: 0.1336
Archetype transform grad norm: 0.364688
Archetype transform param norm: 9.7028
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.7544 (range: 0.7544 - 0.7544)
archetypal_loss: 0.8255 (range: 0.8255 - 0.8255)
kld_loss: 0.1146 (range: 0.1146 - 0.1146)
reconstruction_loss: 0.8255 (range: 0.8255 - 0.8255)
archetype_r2: 0.1336 (range: 0.1336 - 0.1336)
Archetype Transform Summary:
archetype_transform_mean: -0.000521 (range: -0.000521 - -0.000521)
archetype_transform_std: 0.135879 (range: 0.135879 - 0.135879)
archetype_transform_norm: 9.702788 (range: 9.702788 - 9.702788)
archetype_transform_grad_norm: 0.364688 (range: 0.364688 - 0.364688)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0160, max=0.3651, mean=0.1429
Batch reconstruction MSE: 1.1739
Archetype stats: min=-21.4246, max=22.9247
Archetype change since last debug: 1.797445
Archetype gradients: norm=0.053318, mean=0.002264
Epoch 1/1
Average loss: 0.7531
Archetypal loss: 0.8232
KLD loss: 0.1219
Reconstruction loss: 0.8232
Archetype R²: 0.1358
Archetype transform grad norm: 0.364679
Archetype transform param norm: 9.7267
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.7531 (range: 0.7531 - 0.7531)
archetypal_loss: 0.8232 (range: 0.8232 - 0.8232)
kld_loss: 0.1219 (range: 0.1219 - 0.1219)
reconstruction_loss: 0.8232 (range: 0.8232 - 0.8232)
archetype_r2: 0.1358 (range: 0.1358 - 0.1358)
Archetype Transform Summary:
archetype_transform_mean: -0.000609 (range: -0.000609 - -0.000609)
archetype_transform_std: 0.136212 (range: 0.136212 - 0.136212)
archetype_transform_norm: 9.726658 (range: 9.726658 - 9.726658)
archetype_transform_grad_norm: 0.364679 (range: 0.364679 - 0.364679)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0355, max=0.3683, mean=0.1429
Batch reconstruction MSE: 1.2232
Archetype stats: min=-21.8588, max=22.3806
Archetype change since last debug: 1.832906
Archetype gradients: norm=0.076155, mean=0.002505
Epoch 1/1
Average loss: 0.7528
Archetypal loss: 0.8238
KLD loss: 0.1138
Reconstruction loss: 0.8238
Archetype R²: 0.1352
Archetype transform grad norm: 0.353117
Archetype transform param norm: 9.7350
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.7528 (range: 0.7528 - 0.7528)
archetypal_loss: 0.8238 (range: 0.8238 - 0.8238)
kld_loss: 0.1138 (range: 0.1138 - 0.1138)
reconstruction_loss: 0.8238 (range: 0.8238 - 0.8238)
archetype_r2: 0.1352 (range: 0.1352 - 0.1352)
Archetype Transform Summary:
archetype_transform_mean: -0.000547 (range: -0.000547 - -0.000547)
archetype_transform_std: 0.136330 (range: 0.136330 - 0.136330)
archetype_transform_norm: 9.735030 (range: 9.735030 - 9.735030)
archetype_transform_grad_norm: 0.353117 (range: 0.353117 - 0.353117)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0442, max=0.3029, mean=0.1429
Batch reconstruction MSE: 1.0954
Archetype stats: min=-21.6948, max=22.7537
Archetype change since last debug: 1.574705
Archetype gradients: norm=0.040316, mean=0.001611
Epoch 1/1
Average loss: 0.7507
Archetypal loss: 0.8206
KLD loss: 0.1220
Reconstruction loss: 0.8206
Archetype R²: 0.1384
Archetype transform grad norm: 0.347221
Archetype transform param norm: 9.7731
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.7507 (range: 0.7507 - 0.7507)
archetypal_loss: 0.8206 (range: 0.8206 - 0.8206)
kld_loss: 0.1220 (range: 0.1220 - 0.1220)
reconstruction_loss: 0.8206 (range: 0.8206 - 0.8206)
archetype_r2: 0.1384 (range: 0.1384 - 0.1384)
Archetype Transform Summary:
archetype_transform_mean: -0.000584 (range: -0.000584 - -0.000584)
archetype_transform_std: 0.136863 (range: 0.136863 - 0.136863)
archetype_transform_norm: 9.773083 (range: 9.773083 - 9.773083)
archetype_transform_grad_norm: 0.347221 (range: 0.347221 - 0.347221)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0453, max=0.3728, mean=0.1429
Batch reconstruction MSE: 1.2020
Archetype stats: min=-22.1528, max=22.7479
Archetype change since last debug: 1.723096
Archetype gradients: norm=0.051523, mean=0.001747
Epoch 1/1
Average loss: 0.7508
Archetypal loss: 0.8225
KLD loss: 0.1056
Reconstruction loss: 0.8225
Archetype R²: 0.1365
Archetype transform grad norm: 0.343995
Archetype transform param norm: 9.7888
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.7508 (range: 0.7508 - 0.7508)
archetypal_loss: 0.8225 (range: 0.8225 - 0.8225)
kld_loss: 0.1056 (range: 0.1056 - 0.1056)
reconstruction_loss: 0.8225 (range: 0.8225 - 0.8225)
archetype_r2: 0.1365 (range: 0.1365 - 0.1365)
Archetype Transform Summary:
archetype_transform_mean: -0.000550 (range: -0.000550 - -0.000550)
archetype_transform_std: 0.137083 (range: 0.137083 - 0.137083)
archetype_transform_norm: 9.788836 (range: 9.788836 - 9.788836)
archetype_transform_grad_norm: 0.343995 (range: 0.343995 - 0.343995)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0265, max=0.2906, mean=0.1429
Batch reconstruction MSE: 1.0642
Archetype stats: min=-22.0003, max=22.9193
Archetype change since last debug: 1.223734
Archetype gradients: norm=0.023844, mean=0.000986
Epoch 1/1
Average loss: 0.7497
Archetypal loss: 0.8191
KLD loss: 0.1254
Reconstruction loss: 0.8191
Archetype R²: 0.1398
Archetype transform grad norm: 0.331833
Archetype transform param norm: 9.8317
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.7497 (range: 0.7497 - 0.7497)
archetypal_loss: 0.8191 (range: 0.8191 - 0.8191)
kld_loss: 0.1254 (range: 0.1254 - 0.1254)
reconstruction_loss: 0.8191 (range: 0.8191 - 0.8191)
archetype_r2: 0.1398 (range: 0.1398 - 0.1398)
Archetype Transform Summary:
archetype_transform_mean: -0.000550 (range: -0.000550 - -0.000550)
archetype_transform_std: 0.137683 (range: 0.137683 - 0.137683)
archetype_transform_norm: 9.831673 (range: 9.831673 - 9.831673)
archetype_transform_grad_norm: 0.331833 (range: 0.331833 - 0.331833)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0349, max=0.3642, mean=0.1429
Batch reconstruction MSE: 1.3180
Archetype stats: min=-22.4573, max=23.0451
Archetype change since last debug: 1.881864
Archetype gradients: norm=0.039709, mean=0.001396
Epoch 1/1
Average loss: 0.7521
Archetypal loss: 0.8245
KLD loss: 0.0999
Reconstruction loss: 0.8245
Archetype R²: 0.1346
Archetype transform grad norm: 0.335499
Archetype transform param norm: 9.8326
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.7521 (range: 0.7521 - 0.7521)
archetypal_loss: 0.8245 (range: 0.8245 - 0.8245)
kld_loss: 0.0999 (range: 0.0999 - 0.0999)
reconstruction_loss: 0.8245 (range: 0.8245 - 0.8245)
archetype_r2: 0.1346 (range: 0.1346 - 0.1346)
Archetype Transform Summary:
archetype_transform_mean: -0.000557 (range: -0.000557 - -0.000557)
archetype_transform_std: 0.137696 (range: 0.137696 - 0.137696)
archetype_transform_norm: 9.832552 (range: 9.832552 - 9.832552)
archetype_transform_grad_norm: 0.335499 (range: 0.335499 - 0.335499)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0337, max=0.3997, mean=0.1429
Batch reconstruction MSE: 1.1170
Archetype stats: min=-22.2171, max=23.1500
Archetype change since last debug: 1.245783
Archetype gradients: norm=0.028493, mean=0.000863
Epoch 1/1
Average loss: 0.7522
Archetypal loss: 0.8216
KLD loss: 0.1279
Reconstruction loss: 0.8216
Archetype R²: 0.1373
Archetype transform grad norm: 0.348706
Archetype transform param norm: 9.8486
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.7522 (range: 0.7522 - 0.7522)
archetypal_loss: 0.8216 (range: 0.8216 - 0.8216)
kld_loss: 0.1279 (range: 0.1279 - 0.1279)
reconstruction_loss: 0.8216 (range: 0.8216 - 0.8216)
archetype_r2: 0.1373 (range: 0.1373 - 0.1373)
Archetype Transform Summary:
archetype_transform_mean: -0.000530 (range: -0.000530 - -0.000530)
archetype_transform_std: 0.137921 (range: 0.137921 - 0.137921)
archetype_transform_norm: 9.848601 (range: 9.848601 - 9.848601)
archetype_transform_grad_norm: 0.348706 (range: 0.348706 - 0.348706)
Fold 2/3
Model input_dim: 50 (auto-detected from data)
Archetypes parameter registered: True
Archetypes requires_grad: True
Deep_AA (Deep Archetypal Analysis) initialized:
- Single-stage architecture (like Deep_2)
- Inflation factor: 1.5
- Direct archetypal coordinates (no bottleneck)
Consolidated Archetype Initialization
PCHA: True, Inflation: True (factor: 1.5)
Test inflation: False
Running PCHA initialization...
Input shape: (128, 50)
Target archetypes: 7
Running PCHA with 7 archetypes...
Data shape for PCHA: (50, 128)
PCHA Results:
Archetypes shape: (7, 50)
Archetype R²: 0.3008
SSE: 4375.4311
PCHA archetype R²: 0.3008
Archetype shape: (7, 50)
[OK] Initialized 7 archetypes using PCHA
Scalar Archetypal Inflation (factor: 1.50)
[OK] Inflation complete
[STATS] Positioning verification:
Data radius (max): 16.524
Data radius (mean): 6.485
Archetype distances: 3.744 to 20.941
Archetypes outside data: 1/7
Min archetype separation: 8.927
[OK] Archetype initialization complete (success: True)
[OK] Archetype initialization complete (PCHA: True, Inflation: 1.5)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0029, max=0.8689, mean=0.1429
Batch reconstruction MSE: 0.9216
Archetype stats: min=-1.1748, max=1.9167
Archetype gradients: norm=0.008394, mean=0.000356
Epoch 1/1
Average loss: 0.8581
Archetypal loss: 0.9502
KLD loss: 0.0291
Reconstruction loss: 0.9502
Archetype R²: -0.0114
Archetype transform grad norm: 0.132500
Archetype transform param norm: 5.7816
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.8581 (range: 0.8581 - 0.8581)
archetypal_loss: 0.9502 (range: 0.9502 - 0.9502)
kld_loss: 0.0291 (range: 0.0291 - 0.0291)
reconstruction_loss: 0.9502 (range: 0.9502 - 0.9502)
archetype_r2: -0.0114 (range: -0.0114 - -0.0114)
Archetype Transform Summary:
archetype_transform_mean: -0.000199 (range: -0.000199 - -0.000199)
archetype_transform_std: 0.080966 (range: 0.080966 - 0.080966)
archetype_transform_norm: 5.781599 (range: 5.781599 - 5.781599)
archetype_transform_grad_norm: 0.132500 (range: 0.132500 - 0.132500)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0007, max=0.9228, mean=0.1429
Batch reconstruction MSE: 0.8474
Archetype stats: min=-0.9107, max=0.9466
Archetype change since last debug: 5.053318
Archetype gradients: norm=0.003587, mean=0.000145
Epoch 1/1
Average loss: 0.8577
Archetypal loss: 0.9407
KLD loss: 0.1101
Reconstruction loss: 0.9407
Archetype R²: -0.0011
Archetype transform grad norm: 0.106131
Archetype transform param norm: 5.7998
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.8577 (range: 0.8577 - 0.8577)
archetypal_loss: 0.9407 (range: 0.9407 - 0.9407)
kld_loss: 0.1101 (range: 0.1101 - 0.1101)
reconstruction_loss: 0.9407 (range: 0.9407 - 0.9407)
archetype_r2: -0.0011 (range: -0.0011 - -0.0011)
Archetype Transform Summary:
archetype_transform_mean: -0.000333 (range: -0.000333 - -0.000333)
archetype_transform_std: 0.081221 (range: 0.081221 - 0.081221)
archetype_transform_norm: 5.799808 (range: 5.799808 - 5.799808)
archetype_transform_grad_norm: 0.106131 (range: 0.106131 - 0.106131)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0009, max=0.9792, mean=0.1429
Batch reconstruction MSE: 0.8879
Archetype stats: min=-1.5653, max=1.9420
Archetype change since last debug: 3.818827
Archetype gradients: norm=0.005191, mean=0.000195
Epoch 1/1
Average loss: 0.8465
Archetypal loss: 0.9258
KLD loss: 0.1327
Reconstruction loss: 0.9258
Archetype R²: 0.0148
Archetype transform grad norm: 0.129080
Archetype transform param norm: 5.9207
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.8465 (range: 0.8465 - 0.8465)
archetypal_loss: 0.9258 (range: 0.9258 - 0.9258)
kld_loss: 0.1327 (range: 0.1327 - 0.1327)
reconstruction_loss: 0.9258 (range: 0.9258 - 0.9258)
archetype_r2: 0.0148 (range: 0.0148 - 0.0148)
Archetype Transform Summary:
archetype_transform_mean: -0.000469 (range: -0.000469 - -0.000469)
archetype_transform_std: 0.082913 (range: 0.082913 - 0.082913)
archetype_transform_norm: 5.920711 (range: 5.920711 - 5.920711)
archetype_transform_grad_norm: 0.129080 (range: 0.129080 - 0.129080)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0010, max=0.9422, mean=0.1429
Batch reconstruction MSE: 0.9958
Archetype stats: min=-3.0102, max=3.9084
Archetype change since last debug: 7.886601
Archetype gradients: norm=0.032919, mean=0.000775
Epoch 1/1
Average loss: 0.8345
Archetypal loss: 0.9075
KLD loss: 0.1770
Reconstruction loss: 0.9075
Archetype R²: 0.0338
Archetype transform grad norm: 0.172317
Archetype transform param norm: 6.1838
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.8345 (range: 0.8345 - 0.8345)
archetypal_loss: 0.9075 (range: 0.9075 - 0.9075)
kld_loss: 0.1770 (range: 0.1770 - 0.1770)
reconstruction_loss: 0.9075 (range: 0.9075 - 0.9075)
archetype_r2: 0.0338 (range: 0.0338 - 0.0338)
Archetype Transform Summary:
archetype_transform_mean: -0.000535 (range: -0.000535 - -0.000535)
archetype_transform_std: 0.086597 (range: 0.086597 - 0.086597)
archetype_transform_norm: 6.183761 (range: 6.183761 - 6.183761)
archetype_transform_grad_norm: 0.172317 (range: 0.172317 - 0.172317)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0001, max=0.8920, mean=0.1429
Batch reconstruction MSE: 1.0403
Archetype stats: min=-4.4794, max=5.9443
Archetype change since last debug: 9.618532
Archetype gradients: norm=0.019784, mean=0.000770
Epoch 1/1
Average loss: 0.8219
Archetypal loss: 0.8894
KLD loss: 0.2140
Reconstruction loss: 0.8894
Archetype R²: 0.0531
Archetype transform grad norm: 0.179121
Archetype transform param norm: 6.4791
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.8219 (range: 0.8219 - 0.8219)
archetypal_loss: 0.8894 (range: 0.8894 - 0.8894)
kld_loss: 0.2140 (range: 0.2140 - 0.2140)
reconstruction_loss: 0.8894 (range: 0.8894 - 0.8894)
archetype_r2: 0.0531 (range: 0.0531 - 0.0531)
Archetype Transform Summary:
archetype_transform_mean: -0.000408 (range: -0.000408 - -0.000408)
archetype_transform_std: 0.090734 (range: 0.090734 - 0.090734)
archetype_transform_norm: 6.479108 (range: 6.479108 - 6.479108)
archetype_transform_grad_norm: 0.179121 (range: 0.179121 - 0.179121)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0008, max=0.8354, mean=0.1429
Batch reconstruction MSE: 1.0412
Archetype stats: min=-5.1165, max=6.5742
Archetype change since last debug: 8.888099
Archetype gradients: norm=0.033800, mean=0.001130
Epoch 1/1
Average loss: 0.8077
Archetypal loss: 0.8734
KLD loss: 0.2163
Reconstruction loss: 0.8734
Archetype R²: 0.0701
Archetype transform grad norm: 0.198027
Archetype transform param norm: 6.7920
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.8077 (range: 0.8077 - 0.8077)
archetypal_loss: 0.8734 (range: 0.8734 - 0.8734)
kld_loss: 0.2163 (range: 0.2163 - 0.2163)
reconstruction_loss: 0.8734 (range: 0.8734 - 0.8734)
archetype_r2: 0.0701 (range: 0.0701 - 0.0701)
Archetype Transform Summary:
archetype_transform_mean: -0.000319 (range: -0.000319 - -0.000319)
archetype_transform_std: 0.095116 (range: 0.095116 - 0.095116)
archetype_transform_norm: 6.791982 (range: 6.791982 - 6.791982)
archetype_transform_grad_norm: 0.198027 (range: 0.198027 - 0.198027)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0023, max=0.8073, mean=0.1429
Batch reconstruction MSE: 1.2028
Archetype stats: min=-6.6964, max=7.8892
Archetype change since last debug: 8.639082
Archetype gradients: norm=0.042524, mean=0.001542
Epoch 1/1
Average loss: 0.8033
Archetypal loss: 0.8680
KLD loss: 0.2217
Reconstruction loss: 0.8680
Archetype R²: 0.0757
Archetype transform grad norm: 0.227345
Archetype transform param norm: 7.0178
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.8033 (range: 0.8033 - 0.8033)
archetypal_loss: 0.8680 (range: 0.8680 - 0.8680)
kld_loss: 0.2217 (range: 0.2217 - 0.2217)
reconstruction_loss: 0.8680 (range: 0.8680 - 0.8680)
archetype_r2: 0.0757 (range: 0.0757 - 0.0757)
Archetype Transform Summary:
archetype_transform_mean: -0.000364 (range: -0.000364 - -0.000364)
archetype_transform_std: 0.098278 (range: 0.098278 - 0.098278)
archetype_transform_norm: 7.017826 (range: 7.017826 - 7.017826)
archetype_transform_grad_norm: 0.227345 (range: 0.227345 - 0.227345)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0010, max=0.9466, mean=0.1429
Batch reconstruction MSE: 1.2601
Archetype stats: min=-7.3824, max=8.9330
Archetype change since last debug: 6.892631
Archetype gradients: norm=0.062556, mean=0.002076
Epoch 1/1
Average loss: 0.8006
Archetypal loss: 0.8630
KLD loss: 0.2389
Reconstruction loss: 0.8630
Archetype R²: 0.0808
Archetype transform grad norm: 0.227597
Archetype transform param norm: 7.1741
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.8006 (range: 0.8006 - 0.8006)
archetypal_loss: 0.8630 (range: 0.8630 - 0.8630)
kld_loss: 0.2389 (range: 0.2389 - 0.2389)
reconstruction_loss: 0.8630 (range: 0.8630 - 0.8630)
archetype_r2: 0.0808 (range: 0.0808 - 0.0808)
Archetype Transform Summary:
archetype_transform_mean: -0.000284 (range: -0.000284 - -0.000284)
archetype_transform_std: 0.100467 (range: 0.100467 - 0.100467)
archetype_transform_norm: 7.174105 (range: 7.174105 - 7.174105)
archetype_transform_grad_norm: 0.227597 (range: 0.227597 - 0.227597)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0036, max=0.8401, mean=0.1429
Batch reconstruction MSE: 1.0256
Archetype stats: min=-8.8907, max=10.5701
Archetype change since last debug: 5.180999
Archetype gradients: norm=0.029898, mean=0.001027
Epoch 1/1
Average loss: 0.7862
Archetypal loss: 0.8511
KLD loss: 0.2020
Reconstruction loss: 0.8511
Archetype R²: 0.0940
Archetype transform grad norm: 0.217501
Archetype transform param norm: 7.3462
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.7862 (range: 0.7862 - 0.7862)
archetypal_loss: 0.8511 (range: 0.8511 - 0.8511)
kld_loss: 0.2020 (range: 0.2020 - 0.2020)
reconstruction_loss: 0.8511 (range: 0.8511 - 0.8511)
archetype_r2: 0.0940 (range: 0.0940 - 0.0940)
Archetype Transform Summary:
archetype_transform_mean: -0.000265 (range: -0.000265 - -0.000265)
archetype_transform_std: 0.102878 (range: 0.102878 - 0.102878)
archetype_transform_norm: 7.346245 (range: 7.346245 - 7.346245)
archetype_transform_grad_norm: 0.217501 (range: 0.217501 - 0.217501)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0080, max=0.8436, mean=0.1429
Batch reconstruction MSE: 1.0258
Archetype stats: min=-9.9856, max=12.2642
Archetype change since last debug: 6.116091
Archetype gradients: norm=0.020331, mean=0.000879
Epoch 1/1
Average loss: 0.7793
Archetypal loss: 0.8470
KLD loss: 0.1703
Reconstruction loss: 0.8470
Archetype R²: 0.0984
Archetype transform grad norm: 0.224026
Archetype transform param norm: 7.5173
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.7793 (range: 0.7793 - 0.7793)
archetypal_loss: 0.8470 (range: 0.8470 - 0.8470)
kld_loss: 0.1703 (range: 0.1703 - 0.1703)
reconstruction_loss: 0.8470 (range: 0.8470 - 0.8470)
archetype_r2: 0.0984 (range: 0.0984 - 0.0984)
Archetype Transform Summary:
archetype_transform_mean: -0.000174 (range: -0.000174 - -0.000174)
archetype_transform_std: 0.105274 (range: 0.105274 - 0.105274)
archetype_transform_norm: 7.517338 (range: 7.517338 - 7.517338)
archetype_transform_grad_norm: 0.224026 (range: 0.224026 - 0.224026)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0061, max=0.8756, mean=0.1429
Batch reconstruction MSE: 0.9237
Archetype stats: min=-11.0839, max=14.0115
Archetype change since last debug: 5.363741
Archetype gradients: norm=0.021783, mean=0.000777
Epoch 1/1
Average loss: 0.7753
Archetypal loss: 0.8423
KLD loss: 0.1721
Reconstruction loss: 0.8423
Archetype R²: 0.1036
Archetype transform grad norm: 0.232846
Archetype transform param norm: 7.6811
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.7753 (range: 0.7753 - 0.7753)
archetypal_loss: 0.8423 (range: 0.8423 - 0.8423)
kld_loss: 0.1721 (range: 0.1721 - 0.1721)
reconstruction_loss: 0.8423 (range: 0.8423 - 0.8423)
archetype_r2: 0.1036 (range: 0.1036 - 0.1036)
Archetype Transform Summary:
archetype_transform_mean: -0.000082 (range: -0.000082 - -0.000082)
archetype_transform_std: 0.107568 (range: 0.107568 - 0.107568)
archetype_transform_norm: 7.681127 (range: 7.681127 - 7.681127)
archetype_transform_grad_norm: 0.232846 (range: 0.232846 - 0.232846)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0070, max=0.7887, mean=0.1429
Batch reconstruction MSE: 1.0610
Archetype stats: min=-12.0848, max=15.5729
Archetype change since last debug: 5.411366
Archetype gradients: norm=0.025585, mean=0.001043
Epoch 1/1
Average loss: 0.7739
Archetypal loss: 0.8434
KLD loss: 0.1491
Reconstruction loss: 0.8434
Archetype R²: 0.1022
Archetype transform grad norm: 0.245576
Archetype transform param norm: 7.8029
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.7739 (range: 0.7739 - 0.7739)
archetypal_loss: 0.8434 (range: 0.8434 - 0.8434)
kld_loss: 0.1491 (range: 0.1491 - 0.1491)
reconstruction_loss: 0.8434 (range: 0.8434 - 0.8434)
archetype_r2: 0.1022 (range: 0.1022 - 0.1022)
Archetype Transform Summary:
archetype_transform_mean: -0.000027 (range: -0.000027 - -0.000027)
archetype_transform_std: 0.109272 (range: 0.109272 - 0.109272)
archetype_transform_norm: 7.802852 (range: 7.802852 - 7.802852)
archetype_transform_grad_norm: 0.245576 (range: 0.245576 - 0.245576)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0024, max=0.9016, mean=0.1429
Batch reconstruction MSE: 0.9757
Archetype stats: min=-12.8765, max=16.9729
Archetype change since last debug: 3.949102
Archetype gradients: norm=0.034763, mean=0.001220
Epoch 1/1
Average loss: 0.7756
Archetypal loss: 0.8415
KLD loss: 0.1826
Reconstruction loss: 0.8415
Archetype R²: 0.1043
Archetype transform grad norm: 0.255213
Archetype transform param norm: 7.9118
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.7756 (range: 0.7756 - 0.7756)
archetypal_loss: 0.8415 (range: 0.8415 - 0.8415)
kld_loss: 0.1826 (range: 0.1826 - 0.1826)
reconstruction_loss: 0.8415 (range: 0.8415 - 0.8415)
archetype_r2: 0.1043 (range: 0.1043 - 0.1043)
Archetype Transform Summary:
archetype_transform_mean: -0.000005 (range: -0.000005 - -0.000005)
archetype_transform_std: 0.110798 (range: 0.110798 - 0.110798)
archetype_transform_norm: 7.911763 (range: 7.911763 - 7.911763)
archetype_transform_grad_norm: 0.255213 (range: 0.255213 - 0.255213)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0032, max=0.7874, mean=0.1429
Batch reconstruction MSE: 1.2465
Archetype stats: min=-13.7277, max=18.3318
Archetype change since last debug: 4.029505
Archetype gradients: norm=0.045286, mean=0.001880
Epoch 1/1
Average loss: 0.7743
Archetypal loss: 0.8445
KLD loss: 0.1422
Reconstruction loss: 0.8445
Archetype R²: 0.1004
Archetype transform grad norm: 0.255293
Archetype transform param norm: 7.9591
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.7743 (range: 0.7743 - 0.7743)
archetypal_loss: 0.8445 (range: 0.8445 - 0.8445)
kld_loss: 0.1422 (range: 0.1422 - 0.1422)
reconstruction_loss: 0.8445 (range: 0.8445 - 0.8445)
archetype_r2: 0.1004 (range: 0.1004 - 0.1004)
Archetype Transform Summary:
archetype_transform_mean: 0.000055 (range: 0.000055 - 0.000055)
archetype_transform_std: 0.111461 (range: 0.111461 - 0.111461)
archetype_transform_norm: 7.959096 (range: 7.959096 - 7.959096)
archetype_transform_grad_norm: 0.255293 (range: 0.255293 - 0.255293)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0033, max=0.9548, mean=0.1429
Batch reconstruction MSE: 0.9788
Archetype stats: min=-13.9799, max=18.8674
Archetype change since last debug: 2.516132
Archetype gradients: norm=0.037959, mean=0.001161
Epoch 1/1
Average loss: 0.7715
Archetypal loss: 0.8378
KLD loss: 0.1746
Reconstruction loss: 0.8378
Archetype R²: 0.1082
Archetype transform grad norm: 0.251814
Archetype transform param norm: 8.0393
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.7715 (range: 0.7715 - 0.7715)
archetypal_loss: 0.8378 (range: 0.8378 - 0.8378)
kld_loss: 0.1746 (range: 0.1746 - 0.1746)
reconstruction_loss: 0.8378 (range: 0.8378 - 0.8378)
archetype_r2: 0.1082 (range: 0.1082 - 0.1082)
Archetype Transform Summary:
archetype_transform_mean: 0.000026 (range: 0.000026 - 0.000026)
archetype_transform_std: 0.112584 (range: 0.112584 - 0.112584)
archetype_transform_norm: 8.039310 (range: 8.039310 - 8.039310)
archetype_transform_grad_norm: 0.251814 (range: 0.251814 - 0.251814)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0094, max=0.7606, mean=0.1429
Batch reconstruction MSE: 1.1191
Archetype stats: min=-14.8145, max=20.0669
Archetype change since last debug: 3.684750
Archetype gradients: norm=0.043530, mean=0.001555
Epoch 1/1
Average loss: 0.7706
Archetypal loss: 0.8400
KLD loss: 0.1469
Reconstruction loss: 0.8400
Archetype R²: 0.1056
Archetype transform grad norm: 0.255727
Archetype transform param norm: 8.0927
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.7706 (range: 0.7706 - 0.7706)
archetypal_loss: 0.8400 (range: 0.8400 - 0.8400)
kld_loss: 0.1469 (range: 0.1469 - 0.1469)
reconstruction_loss: 0.8400 (range: 0.8400 - 0.8400)
archetype_r2: 0.1056 (range: 0.1056 - 0.1056)
Archetype Transform Summary:
archetype_transform_mean: 0.000115 (range: 0.000115 - 0.000115)
archetype_transform_std: 0.113331 (range: 0.113331 - 0.113331)
archetype_transform_norm: 8.092665 (range: 8.092665 - 8.092665)
archetype_transform_grad_norm: 0.255727 (range: 0.255727 - 0.255727)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0019, max=0.9010, mean=0.1429
Batch reconstruction MSE: 0.9667
Archetype stats: min=-14.7908, max=20.0680
Archetype change since last debug: 2.523330
Archetype gradients: norm=0.030359, mean=0.001212
Epoch 1/1
Average loss: 0.7673
Archetypal loss: 0.8355
KLD loss: 0.1537
Reconstruction loss: 0.8355
Archetype R²: 0.1106
Archetype transform grad norm: 0.257517
Archetype transform param norm: 8.1674
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.7673 (range: 0.7673 - 0.7673)
archetypal_loss: 0.8355 (range: 0.8355 - 0.8355)
kld_loss: 0.1537 (range: 0.1537 - 0.1537)
reconstruction_loss: 0.8355 (range: 0.8355 - 0.8355)
archetype_r2: 0.1106 (range: 0.1106 - 0.1106)
Archetype Transform Summary:
archetype_transform_mean: 0.000069 (range: 0.000069 - 0.000069)
archetype_transform_std: 0.114377 (range: 0.114377 - 0.114377)
archetype_transform_norm: 8.167372 (range: 8.167372 - 8.167372)
archetype_transform_grad_norm: 0.257517 (range: 0.257517 - 0.257517)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0021, max=0.9394, mean=0.1429
Batch reconstruction MSE: 0.9806
Archetype stats: min=-15.0918, max=20.7484
Archetype change since last debug: 3.220212
Archetype gradients: norm=0.029456, mean=0.001043
Epoch 1/1
Average loss: 0.7644
Archetypal loss: 0.8346
KLD loss: 0.1326
Reconstruction loss: 0.8346
Archetype R²: 0.1116
Archetype transform grad norm: 0.249618
Archetype transform param norm: 8.2376
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.7644 (range: 0.7644 - 0.7644)
archetypal_loss: 0.8346 (range: 0.8346 - 0.8346)
kld_loss: 0.1326 (range: 0.1326 - 0.1326)
reconstruction_loss: 0.8346 (range: 0.8346 - 0.8346)
archetype_r2: 0.1116 (range: 0.1116 - 0.1116)
Archetype Transform Summary:
archetype_transform_mean: 0.000206 (range: 0.000206 - 0.000206)
archetype_transform_std: 0.115361 (range: 0.115361 - 0.115361)
archetype_transform_norm: 8.237626 (range: 8.237626 - 8.237626)
archetype_transform_grad_norm: 0.249618 (range: 0.249618 - 0.249618)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0064, max=0.9021, mean=0.1429
Batch reconstruction MSE: 0.9295
Archetype stats: min=-15.4553, max=21.3402
Archetype change since last debug: 2.655877
Archetype gradients: norm=0.025244, mean=0.000985
Epoch 1/1
Average loss: 0.7631
Archetypal loss: 0.8331
KLD loss: 0.1328
Reconstruction loss: 0.8331
Archetype R²: 0.1132
Archetype transform grad norm: 0.258431
Archetype transform param norm: 8.3181
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.7631 (range: 0.7631 - 0.7631)
archetypal_loss: 0.8331 (range: 0.8331 - 0.8331)
kld_loss: 0.1328 (range: 0.1328 - 0.1328)
reconstruction_loss: 0.8331 (range: 0.8331 - 0.8331)
archetype_r2: 0.1132 (range: 0.1132 - 0.1132)
Archetype Transform Summary:
archetype_transform_mean: 0.000180 (range: 0.000180 - 0.000180)
archetype_transform_std: 0.116487 (range: 0.116487 - 0.116487)
archetype_transform_norm: 8.318055 (range: 8.318055 - 8.318055)
archetype_transform_grad_norm: 0.258431 (range: 0.258431 - 0.258431)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0054, max=0.7931, mean=0.1429
Batch reconstruction MSE: 1.0215
Archetype stats: min=-15.9632, max=22.1731
Archetype change since last debug: 3.024340
Archetype gradients: norm=0.042305, mean=0.001685
Epoch 1/1
Average loss: 0.7637
Archetypal loss: 0.8346
KLD loss: 0.1255
Reconstruction loss: 0.8346
Archetype R²: 0.1114
Archetype transform grad norm: 0.260844
Archetype transform param norm: 8.3661
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.7637 (range: 0.7637 - 0.7637)
archetypal_loss: 0.8346 (range: 0.8346 - 0.8346)
kld_loss: 0.1255 (range: 0.1255 - 0.1255)
reconstruction_loss: 0.8346 (range: 0.8346 - 0.8346)
archetype_r2: 0.1114 (range: 0.1114 - 0.1114)
Archetype Transform Summary:
archetype_transform_mean: 0.000254 (range: 0.000254 - 0.000254)
archetype_transform_std: 0.117160 (range: 0.117160 - 0.117160)
archetype_transform_norm: 8.366108 (range: 8.366108 - 8.366108)
archetype_transform_grad_norm: 0.260844 (range: 0.260844 - 0.260844)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0039, max=0.9295, mean=0.1429
Batch reconstruction MSE: 1.0907
Archetype stats: min=-16.2916, max=22.6390
Archetype change since last debug: 1.977857
Archetype gradients: norm=0.044364, mean=0.001832
Epoch 1/1
Average loss: 0.7684
Archetypal loss: 0.8372
KLD loss: 0.1490
Reconstruction loss: 0.8372
Archetype R²: 0.1084
Archetype transform grad norm: 0.281051
Archetype transform param norm: 8.4013
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.7684 (range: 0.7684 - 0.7684)
archetypal_loss: 0.8372 (range: 0.8372 - 0.8372)
kld_loss: 0.1490 (range: 0.1490 - 0.1490)
reconstruction_loss: 0.8372 (range: 0.8372 - 0.8372)
archetype_r2: 0.1084 (range: 0.1084 - 0.1084)
Archetype Transform Summary:
archetype_transform_mean: 0.000129 (range: 0.000129 - 0.000129)
archetype_transform_std: 0.117654 (range: 0.117654 - 0.117654)
archetype_transform_norm: 8.401325 (range: 8.401325 - 8.401325)
archetype_transform_grad_norm: 0.281051 (range: 0.281051 - 0.281051)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0049, max=0.8935, mean=0.1429
Batch reconstruction MSE: 1.1389
Archetype stats: min=-16.4352, max=23.1488
Archetype change since last debug: 2.429481
Archetype gradients: norm=0.053556, mean=0.001982
Epoch 1/1
Average loss: 0.7666
Archetypal loss: 0.8373
KLD loss: 0.1307
Reconstruction loss: 0.8373
Archetype R²: 0.1083
Archetype transform grad norm: 0.269452
Archetype transform param norm: 8.4010
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.7666 (range: 0.7666 - 0.7666)
archetypal_loss: 0.8373 (range: 0.8373 - 0.8373)
kld_loss: 0.1307 (range: 0.1307 - 0.1307)
reconstruction_loss: 0.8373 (range: 0.8373 - 0.8373)
archetype_r2: 0.1083 (range: 0.1083 - 0.1083)
Archetype Transform Summary:
archetype_transform_mean: 0.000224 (range: 0.000224 - 0.000224)
archetype_transform_std: 0.117648 (range: 0.117648 - 0.117648)
archetype_transform_norm: 8.400954 (range: 8.400954 - 8.400954)
archetype_transform_grad_norm: 0.269452 (range: 0.269452 - 0.269452)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0037, max=0.9272, mean=0.1429
Batch reconstruction MSE: 0.9478
Archetype stats: min=-16.4707, max=23.1157
Archetype change since last debug: 1.770901
Archetype gradients: norm=0.020353, mean=0.000837
Epoch 1/1
Average loss: 0.7646
Archetypal loss: 0.8327
KLD loss: 0.1516
Reconstruction loss: 0.8327
Archetype R²: 0.1136
Archetype transform grad norm: 0.265494
Archetype transform param norm: 8.4547
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.7646 (range: 0.7646 - 0.7646)
archetypal_loss: 0.8327 (range: 0.8327 - 0.8327)
kld_loss: 0.1516 (range: 0.1516 - 0.1516)
reconstruction_loss: 0.8327 (range: 0.8327 - 0.8327)
archetype_r2: 0.1136 (range: 0.1136 - 0.1136)
Archetype Transform Summary:
archetype_transform_mean: 0.000181 (range: 0.000181 - 0.000181)
archetype_transform_std: 0.118401 (range: 0.118401 - 0.118401)
archetype_transform_norm: 8.454735 (range: 8.454735 - 8.454735)
archetype_transform_grad_norm: 0.265494 (range: 0.265494 - 0.265494)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0011, max=0.9632, mean=0.1429
Batch reconstruction MSE: 1.0260
Archetype stats: min=-16.9227, max=23.8866
Archetype change since last debug: 2.465514
Archetype gradients: norm=0.027030, mean=0.001103
Epoch 1/1
Average loss: 0.7610
Archetypal loss: 0.8331
KLD loss: 0.1122
Reconstruction loss: 0.8331
Archetype R²: 0.1129
Archetype transform grad norm: 0.261525
Archetype transform param norm: 8.4910
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.7610 (range: 0.7610 - 0.7610)
archetypal_loss: 0.8331 (range: 0.8331 - 0.8331)
kld_loss: 0.1122 (range: 0.1122 - 0.1122)
reconstruction_loss: 0.8331 (range: 0.8331 - 0.8331)
archetype_r2: 0.1129 (range: 0.1129 - 0.1129)
Archetype Transform Summary:
archetype_transform_mean: 0.000227 (range: 0.000227 - 0.000227)
archetype_transform_std: 0.118910 (range: 0.118910 - 0.118910)
archetype_transform_norm: 8.491037 (range: 8.491037 - 8.491037)
archetype_transform_grad_norm: 0.261525 (range: 0.261525 - 0.261525)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0048, max=0.9450, mean=0.1429
Batch reconstruction MSE: 0.9080
Archetype stats: min=-17.2400, max=24.3092
Archetype change since last debug: 1.529470
Archetype gradients: norm=0.020599, mean=0.000760
Epoch 1/1
Average loss: 0.7628
Archetypal loss: 0.8306
KLD loss: 0.1525
Reconstruction loss: 0.8306
Archetype R²: 0.1159
Archetype transform grad norm: 0.263558
Archetype transform param norm: 8.5528
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.7628 (range: 0.7628 - 0.7628)
archetypal_loss: 0.8306 (range: 0.8306 - 0.8306)
kld_loss: 0.1525 (range: 0.1525 - 0.1525)
reconstruction_loss: 0.8306 (range: 0.8306 - 0.8306)
archetype_r2: 0.1159 (range: 0.1159 - 0.1159)
Archetype Transform Summary:
archetype_transform_mean: 0.000281 (range: 0.000281 - 0.000281)
archetype_transform_std: 0.119775 (range: 0.119775 - 0.119775)
archetype_transform_norm: 8.552809 (range: 8.552809 - 8.552809)
archetype_transform_grad_norm: 0.263558 (range: 0.263558 - 0.263558)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0079, max=0.7892, mean=0.1429
Batch reconstruction MSE: 1.4870
Archetype stats: min=-17.7444, max=25.0024
Archetype change since last debug: 2.496963
Archetype gradients: norm=0.067036, mean=0.002548
Epoch 1/1
Average loss: 0.7695
Archetypal loss: 0.8432
KLD loss: 0.1065
Reconstruction loss: 0.8432
Archetype R²: 0.1012
Archetype transform grad norm: 0.279983
Archetype transform param norm: 8.4909
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.7695 (range: 0.7695 - 0.7695)
archetypal_loss: 0.8432 (range: 0.8432 - 0.8432)
kld_loss: 0.1065 (range: 0.1065 - 0.1065)
reconstruction_loss: 0.8432 (range: 0.8432 - 0.8432)
archetype_r2: 0.1012 (range: 0.1012 - 0.1012)
Archetype Transform Summary:
archetype_transform_mean: 0.000117 (range: 0.000117 - 0.000117)
archetype_transform_std: 0.118908 (range: 0.118908 - 0.118908)
archetype_transform_norm: 8.490880 (range: 8.490880 - 8.490880)
archetype_transform_grad_norm: 0.279983 (range: 0.279983 - 0.279983)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0007, max=0.9712, mean=0.1429
Batch reconstruction MSE: 0.8994
Archetype stats: min=-17.3323, max=24.2203
Archetype change since last debug: 3.942276
Archetype gradients: norm=0.018076, mean=0.000735
Epoch 1/1
Average loss: 0.7649
Archetypal loss: 0.8292
KLD loss: 0.1866
Reconstruction loss: 0.8292
Archetype R²: 0.1173
Archetype transform grad norm: 0.253324
Archetype transform param norm: 8.5297
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.7649 (range: 0.7649 - 0.7649)
archetypal_loss: 0.8292 (range: 0.8292 - 0.8292)
kld_loss: 0.1866 (range: 0.1866 - 0.1866)
reconstruction_loss: 0.8292 (range: 0.8292 - 0.8292)
archetype_r2: 0.1173 (range: 0.1173 - 0.1173)
Archetype Transform Summary:
archetype_transform_mean: 0.000208 (range: 0.000208 - 0.000208)
archetype_transform_std: 0.119451 (range: 0.119451 - 0.119451)
archetype_transform_norm: 8.529702 (range: 8.529702 - 8.529702)
archetype_transform_grad_norm: 0.253324 (range: 0.253324 - 0.253324)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0122, max=0.6953, mean=0.1429
Batch reconstruction MSE: 1.1088
Archetype stats: min=-17.8573, max=24.8861
Archetype change since last debug: 2.737832
Archetype gradients: norm=0.031467, mean=0.001135
Epoch 1/1
Average loss: 0.7604
Archetypal loss: 0.8331
KLD loss: 0.1061
Reconstruction loss: 0.8331
Archetype R²: 0.1127
Archetype transform grad norm: 0.258714
Archetype transform param norm: 8.5523
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.7604 (range: 0.7604 - 0.7604)
archetypal_loss: 0.8331 (range: 0.8331 - 0.8331)
kld_loss: 0.1061 (range: 0.1061 - 0.1061)
reconstruction_loss: 0.8331 (range: 0.8331 - 0.8331)
archetype_r2: 0.1127 (range: 0.1127 - 0.1127)
Archetype Transform Summary:
archetype_transform_mean: 0.000161 (range: 0.000161 - 0.000161)
archetype_transform_std: 0.119768 (range: 0.119768 - 0.119768)
archetype_transform_norm: 8.552344 (range: 8.552344 - 8.552344)
archetype_transform_grad_norm: 0.258714 (range: 0.258714 - 0.258714)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0063, max=0.9030, mean=0.1429
Batch reconstruction MSE: 0.8611
Archetype stats: min=-17.9394, max=24.9238
Archetype change since last debug: 1.151298
Archetype gradients: norm=0.014220, mean=0.000579
Epoch 1/1
Average loss: 0.7583
Archetypal loss: 0.8278
KLD loss: 0.1334
Reconstruction loss: 0.8278
Archetype R²: 0.1189
Archetype transform grad norm: 0.256401
Archetype transform param norm: 8.6149
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.7583 (range: 0.7583 - 0.7583)
archetypal_loss: 0.8278 (range: 0.8278 - 0.8278)
kld_loss: 0.1334 (range: 0.1334 - 0.1334)
reconstruction_loss: 0.8278 (range: 0.8278 - 0.8278)
archetype_r2: 0.1189 (range: 0.1189 - 0.1189)
Archetype Transform Summary:
archetype_transform_mean: 0.000249 (range: 0.000249 - 0.000249)
archetype_transform_std: 0.120644 (range: 0.120644 - 0.120644)
archetype_transform_norm: 8.614909 (range: 8.614909 - 8.614909)
archetype_transform_grad_norm: 0.256401 (range: 0.256401 - 0.256401)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0091, max=0.8026, mean=0.1429
Batch reconstruction MSE: 0.9891
Archetype stats: min=-18.4144, max=25.5952
Archetype change since last debug: 2.695458
Archetype gradients: norm=0.033561, mean=0.001252
Epoch 1/1
Average loss: 0.7577
Archetypal loss: 0.8303
KLD loss: 0.1043
Reconstruction loss: 0.8303
Archetype R²: 0.1159
Archetype transform grad norm: 0.267176
Archetype transform param norm: 8.6589
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.7577 (range: 0.7577 - 0.7577)
archetypal_loss: 0.8303 (range: 0.8303 - 0.8303)
kld_loss: 0.1043 (range: 0.1043 - 0.1043)
reconstruction_loss: 0.8303 (range: 0.8303 - 0.8303)
archetype_r2: 0.1159 (range: 0.1159 - 0.1159)
Archetype Transform Summary:
archetype_transform_mean: 0.000224 (range: 0.000224 - 0.000224)
archetype_transform_std: 0.121261 (range: 0.121261 - 0.121261)
archetype_transform_norm: 8.658922 (range: 8.658922 - 8.658922)
archetype_transform_grad_norm: 0.267176 (range: 0.267176 - 0.267176)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0063, max=0.9169, mean=0.1429
Batch reconstruction MSE: 0.9837
Archetype stats: min=-18.6287, max=25.9541
Archetype change since last debug: 1.453068
Archetype gradients: norm=0.051956, mean=0.001487
Epoch 1/1
Average loss: 0.7629
Archetypal loss: 0.8323
KLD loss: 0.1383
Reconstruction loss: 0.8323
Archetype R²: 0.1138
Archetype transform grad norm: 0.280502
Archetype transform param norm: 8.6824
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.7629 (range: 0.7629 - 0.7629)
archetypal_loss: 0.8323 (range: 0.8323 - 0.8323)
kld_loss: 0.1383 (range: 0.1383 - 0.1383)
reconstruction_loss: 0.8323 (range: 0.8323 - 0.8323)
archetype_r2: 0.1138 (range: 0.1138 - 0.1138)
Archetype Transform Summary:
archetype_transform_mean: 0.000285 (range: 0.000285 - 0.000285)
archetype_transform_std: 0.121589 (range: 0.121589 - 0.121589)
archetype_transform_norm: 8.682388 (range: 8.682388 - 8.682388)
archetype_transform_grad_norm: 0.280502 (range: 0.280502 - 0.280502)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0057, max=0.8277, mean=0.1429
Batch reconstruction MSE: 1.2973
Archetype stats: min=-18.4900, max=25.7608
Archetype change since last debug: 1.972875
Archetype gradients: norm=0.062400, mean=0.002611
Epoch 1/1
Average loss: 0.7667
Archetypal loss: 0.8385
KLD loss: 0.1204
Reconstruction loss: 0.8385
Archetype R²: 0.1065
Archetype transform grad norm: 0.300151
Archetype transform param norm: 8.6430
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.7667 (range: 0.7667 - 0.7667)
archetypal_loss: 0.8385 (range: 0.8385 - 0.8385)
kld_loss: 0.1204 (range: 0.1204 - 0.1204)
reconstruction_loss: 0.8385 (range: 0.8385 - 0.8385)
archetype_r2: 0.1065 (range: 0.1065 - 0.1065)
Archetype Transform Summary:
archetype_transform_mean: 0.000168 (range: 0.000168 - 0.000168)
archetype_transform_std: 0.121038 (range: 0.121038 - 0.121038)
archetype_transform_norm: 8.642993 (range: 8.642993 - 8.642993)
archetype_transform_grad_norm: 0.300151 (range: 0.300151 - 0.300151)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0039, max=0.9135, mean=0.1429
Batch reconstruction MSE: 0.9310
Archetype stats: min=-17.7906, max=24.6533
Archetype change since last debug: 2.641265
Archetype gradients: norm=0.025025, mean=0.000905
Epoch 1/1
Average loss: 0.7584
Archetypal loss: 0.8276
KLD loss: 0.1355
Reconstruction loss: 0.8276
Archetype R²: 0.1189
Archetype transform grad norm: 0.259940
Archetype transform param norm: 8.6718
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.7584 (range: 0.7584 - 0.7584)
archetypal_loss: 0.8276 (range: 0.8276 - 0.8276)
kld_loss: 0.1355 (range: 0.1355 - 0.1355)
reconstruction_loss: 0.8276 (range: 0.8276 - 0.8276)
archetype_r2: 0.1189 (range: 0.1189 - 0.1189)
Archetype Transform Summary:
archetype_transform_mean: 0.000242 (range: 0.000242 - 0.000242)
archetype_transform_std: 0.121441 (range: 0.121441 - 0.121441)
archetype_transform_norm: 8.671795 (range: 8.671795 - 8.671795)
archetype_transform_grad_norm: 0.259940 (range: 0.259940 - 0.259940)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0067, max=0.7748, mean=0.1429
Batch reconstruction MSE: 0.9758
Archetype stats: min=-18.0197, max=24.9069
Archetype change since last debug: 2.171031
Archetype gradients: norm=0.024033, mean=0.000934
Epoch 1/1
Average loss: 0.7562
Archetypal loss: 0.8280
KLD loss: 0.1102
Reconstruction loss: 0.8280
Archetype R²: 0.1183
Archetype transform grad norm: 0.260766
Archetype transform param norm: 8.7150
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.7562 (range: 0.7562 - 0.7562)
archetypal_loss: 0.8280 (range: 0.8280 - 0.8280)
kld_loss: 0.1102 (range: 0.1102 - 0.1102)
reconstruction_loss: 0.8280 (range: 0.8280 - 0.8280)
archetype_r2: 0.1183 (range: 0.1183 - 0.1183)
Archetype Transform Summary:
archetype_transform_mean: 0.000294 (range: 0.000294 - 0.000294)
archetype_transform_std: 0.122046 (range: 0.122046 - 0.122046)
archetype_transform_norm: 8.715027 (range: 8.715027 - 8.715027)
archetype_transform_grad_norm: 0.260766 (range: 0.260766 - 0.260766)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0074, max=0.8758, mean=0.1429
Batch reconstruction MSE: 0.8978
Archetype stats: min=-18.2614, max=25.2379
Archetype change since last debug: 1.462128
Archetype gradients: norm=0.022867, mean=0.000872
Epoch 1/1
Average loss: 0.7553
Archetypal loss: 0.8259
KLD loss: 0.1195
Reconstruction loss: 0.8259
Archetype R²: 0.1207
Archetype transform grad norm: 0.264957
Archetype transform param norm: 8.7767
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.7553 (range: 0.7553 - 0.7553)
archetypal_loss: 0.8259 (range: 0.8259 - 0.8259)
kld_loss: 0.1195 (range: 0.1195 - 0.1195)
reconstruction_loss: 0.8259 (range: 0.8259 - 0.8259)
archetype_r2: 0.1207 (range: 0.1207 - 0.1207)
Archetype Transform Summary:
archetype_transform_mean: 0.000295 (range: 0.000295 - 0.000295)
archetype_transform_std: 0.122910 (range: 0.122910 - 0.122910)
archetype_transform_norm: 8.776664 (range: 8.776664 - 8.776664)
archetype_transform_grad_norm: 0.264957 (range: 0.264957 - 0.264957)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0067, max=0.7664, mean=0.1429
Batch reconstruction MSE: 1.0076
Archetype stats: min=-18.6629, max=25.7922
Archetype change since last debug: 2.087881
Archetype gradients: norm=0.047172, mean=0.001626
Epoch 1/1
Average loss: 0.7563
Archetypal loss: 0.8281
KLD loss: 0.1101
Reconstruction loss: 0.8281
Archetype R²: 0.1182
Archetype transform grad norm: 0.277840
Archetype transform param norm: 8.8094
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.7563 (range: 0.7563 - 0.7563)
archetypal_loss: 0.8281 (range: 0.8281 - 0.8281)
kld_loss: 0.1101 (range: 0.1101 - 0.1101)
reconstruction_loss: 0.8281 (range: 0.8281 - 0.8281)
archetype_r2: 0.1182 (range: 0.1182 - 0.1182)
Archetype Transform Summary:
archetype_transform_mean: 0.000367 (range: 0.000367 - 0.000367)
archetype_transform_std: 0.123367 (range: 0.123367 - 0.123367)
archetype_transform_norm: 8.809367 (range: 8.809367 - 8.809367)
archetype_transform_grad_norm: 0.277840 (range: 0.277840 - 0.277840)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0070, max=0.8969, mean=0.1429
Batch reconstruction MSE: 1.1329
Archetype stats: min=-19.0093, max=26.1988
Archetype change since last debug: 1.734928
Archetype gradients: norm=0.050063, mean=0.002031
Epoch 1/1
Average loss: 0.7609
Archetypal loss: 0.8306
KLD loss: 0.1340
Reconstruction loss: 0.8306
Archetype R²: 0.1153
Archetype transform grad norm: 0.288456
Archetype transform param norm: 8.8230
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.7609 (range: 0.7609 - 0.7609)
archetypal_loss: 0.8306 (range: 0.8306 - 0.8306)
kld_loss: 0.1340 (range: 0.1340 - 0.1340)
reconstruction_loss: 0.8306 (range: 0.8306 - 0.8306)
archetype_r2: 0.1153 (range: 0.1153 - 0.1153)
Archetype Transform Summary:
archetype_transform_mean: 0.000285 (range: 0.000285 - 0.000285)
archetype_transform_std: 0.123558 (range: 0.123558 - 0.123558)
archetype_transform_norm: 8.822977 (range: 8.822977 - 8.822977)
archetype_transform_grad_norm: 0.288456 (range: 0.288456 - 0.288456)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0060, max=0.8347, mean=0.1429
Batch reconstruction MSE: 1.1192
Archetype stats: min=-19.0593, max=26.1003
Archetype change since last debug: 2.411160
Archetype gradients: norm=0.064114, mean=0.002406
Epoch 1/1
Average loss: 0.7594
Archetypal loss: 0.8290
KLD loss: 0.1324
Reconstruction loss: 0.8290
Archetype R²: 0.1170
Archetype transform grad norm: 0.281094
Archetype transform param norm: 8.8311
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.7594 (range: 0.7594 - 0.7594)
archetypal_loss: 0.8290 (range: 0.8290 - 0.8290)
kld_loss: 0.1324 (range: 0.1324 - 0.1324)
reconstruction_loss: 0.8290 (range: 0.8290 - 0.8290)
archetype_r2: 0.1170 (range: 0.1170 - 0.1170)
Archetype Transform Summary:
archetype_transform_mean: 0.000263 (range: 0.000263 - 0.000263)
archetype_transform_std: 0.123672 (range: 0.123672 - 0.123672)
archetype_transform_norm: 8.831105 (range: 8.831105 - 8.831105)
archetype_transform_grad_norm: 0.281094 (range: 0.281094 - 0.281094)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0054, max=0.8307, mean=0.1429
Batch reconstruction MSE: 1.0631
Archetype stats: min=-19.2876, max=26.5177
Archetype change since last debug: 2.484491
Archetype gradients: norm=0.055103, mean=0.001953
Epoch 1/1
Average loss: 0.7582
Archetypal loss: 0.8264
KLD loss: 0.1450
Reconstruction loss: 0.8264
Archetype R²: 0.1199
Archetype transform grad norm: 0.272895
Archetype transform param norm: 8.8571
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.7582 (range: 0.7582 - 0.7582)
archetypal_loss: 0.8264 (range: 0.8264 - 0.8264)
kld_loss: 0.1450 (range: 0.1450 - 0.1450)
reconstruction_loss: 0.8264 (range: 0.8264 - 0.8264)
archetype_r2: 0.1199 (range: 0.1199 - 0.1199)
Archetype Transform Summary:
archetype_transform_mean: 0.000272 (range: 0.000272 - 0.000272)
archetype_transform_std: 0.124036 (range: 0.124036 - 0.124036)
archetype_transform_norm: 8.857070 (range: 8.857070 - 8.857070)
archetype_transform_grad_norm: 0.272895 (range: 0.272895 - 0.272895)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0079, max=0.6954, mean=0.1429
Batch reconstruction MSE: 0.9907
Archetype stats: min=-19.3917, max=26.6778
Archetype change since last debug: 1.667524
Archetype gradients: norm=0.032201, mean=0.001263
Epoch 1/1
Average loss: 0.7530
Archetypal loss: 0.8229
KLD loss: 0.1233
Reconstruction loss: 0.8229
Archetype R²: 0.1237
Archetype transform grad norm: 0.262208
Archetype transform param norm: 8.9038
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.7530 (range: 0.7530 - 0.7530)
archetypal_loss: 0.8229 (range: 0.8229 - 0.8229)
kld_loss: 0.1233 (range: 0.1233 - 0.1233)
reconstruction_loss: 0.8229 (range: 0.8229 - 0.8229)
archetype_r2: 0.1237 (range: 0.1237 - 0.1237)
Archetype Transform Summary:
archetype_transform_mean: 0.000201 (range: 0.000201 - 0.000201)
archetype_transform_std: 0.124690 (range: 0.124690 - 0.124690)
archetype_transform_norm: 8.903780 (range: 8.903780 - 8.903780)
archetype_transform_grad_norm: 0.262208 (range: 0.262208 - 0.262208)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0065, max=0.7708, mean=0.1429
Batch reconstruction MSE: 0.9406
Archetype stats: min=-19.6793, max=27.1678
Archetype change since last debug: 1.723361
Archetype gradients: norm=0.049724, mean=0.001581
Epoch 1/1
Average loss: 0.7528
Archetypal loss: 0.8207
KLD loss: 0.1418
Reconstruction loss: 0.8207
Archetype R²: 0.1262
Archetype transform grad norm: 0.267733
Archetype transform param norm: 8.9631
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.7528 (range: 0.7528 - 0.7528)
archetypal_loss: 0.8207 (range: 0.8207 - 0.8207)
kld_loss: 0.1418 (range: 0.1418 - 0.1418)
reconstruction_loss: 0.8207 (range: 0.8207 - 0.8207)
archetype_r2: 0.1262 (range: 0.1262 - 0.1262)
Archetype Transform Summary:
archetype_transform_mean: 0.000256 (range: 0.000256 - 0.000256)
archetype_transform_std: 0.125521 (range: 0.125521 - 0.125521)
archetype_transform_norm: 8.963102 (range: 8.963102 - 8.963102)
archetype_transform_grad_norm: 0.267733 (range: 0.267733 - 0.267733)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0076, max=0.5820, mean=0.1429
Batch reconstruction MSE: 1.2548
Archetype stats: min=-19.9707, max=27.6281
Archetype change since last debug: 2.012185
Archetype gradients: norm=0.056157, mean=0.002323
Epoch 1/1
Average loss: 0.7560
Archetypal loss: 0.8262
KLD loss: 0.1245
Reconstruction loss: 0.8262
Archetype R²: 0.1197
Archetype transform grad norm: 0.277420
Archetype transform param norm: 8.9709
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.7560 (range: 0.7560 - 0.7560)
archetypal_loss: 0.8262 (range: 0.8262 - 0.8262)
kld_loss: 0.1245 (range: 0.1245 - 0.1245)
reconstruction_loss: 0.8262 (range: 0.8262 - 0.8262)
archetype_r2: 0.1197 (range: 0.1197 - 0.1197)
Archetype Transform Summary:
archetype_transform_mean: 0.000102 (range: 0.000102 - 0.000102)
archetype_transform_std: 0.125629 (range: 0.125629 - 0.125629)
archetype_transform_norm: 8.970855 (range: 8.970855 - 8.970855)
archetype_transform_grad_norm: 0.277420 (range: 0.277420 - 0.277420)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0069, max=0.7636, mean=0.1429
Batch reconstruction MSE: 1.0969
Archetype stats: min=-19.8537, max=27.4952
Archetype change since last debug: 2.746163
Archetype gradients: norm=0.077446, mean=0.002297
Epoch 1/1
Average loss: 0.7556
Archetypal loss: 0.8212
KLD loss: 0.1656
Reconstruction loss: 0.8212
Archetype R²: 0.1253
Archetype transform grad norm: 0.274284
Archetype transform param norm: 8.9903
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.7556 (range: 0.7556 - 0.7556)
archetypal_loss: 0.8212 (range: 0.8212 - 0.8212)
kld_loss: 0.1656 (range: 0.1656 - 0.1656)
reconstruction_loss: 0.8212 (range: 0.8212 - 0.8212)
archetype_r2: 0.1253 (range: 0.1253 - 0.1253)
Archetype Transform Summary:
archetype_transform_mean: 0.000152 (range: 0.000152 - 0.000152)
archetype_transform_std: 0.125902 (range: 0.125902 - 0.125902)
archetype_transform_norm: 8.990343 (range: 8.990343 - 8.990343)
archetype_transform_grad_norm: 0.274284 (range: 0.274284 - 0.274284)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0078, max=0.5663, mean=0.1429
Batch reconstruction MSE: 1.3442
Archetype stats: min=-20.0274, max=27.7811
Archetype change since last debug: 1.547248
Archetype gradients: norm=0.053157, mean=0.002503
Epoch 1/1
Average loss: 0.7553
Archetypal loss: 0.8247
KLD loss: 0.1309
Reconstruction loss: 0.8247
Archetype R²: 0.1211
Archetype transform grad norm: 0.268625
Archetype transform param norm: 8.9744
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.7553 (range: 0.7553 - 0.7553)
archetypal_loss: 0.8247 (range: 0.8247 - 0.8247)
kld_loss: 0.1309 (range: 0.1309 - 0.1309)
reconstruction_loss: 0.8247 (range: 0.8247 - 0.8247)
archetype_r2: 0.1211 (range: 0.1211 - 0.1211)
Archetype Transform Summary:
archetype_transform_mean: 0.000017 (range: 0.000017 - 0.000017)
archetype_transform_std: 0.125680 (range: 0.125680 - 0.125680)
archetype_transform_norm: 8.974439 (range: 8.974439 - 8.974439)
archetype_transform_grad_norm: 0.268625 (range: 0.268625 - 0.268625)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0093, max=0.7059, mean=0.1429
Batch reconstruction MSE: 1.0461
Archetype stats: min=-19.3798, max=26.8144
Archetype change since last debug: 3.255814
Archetype gradients: norm=0.081637, mean=0.002459
Epoch 1/1
Average loss: 0.7526
Archetypal loss: 0.8180
KLD loss: 0.1644
Reconstruction loss: 0.8180
Archetype R²: 0.1289
Archetype transform grad norm: 0.269657
Archetype transform param norm: 9.0103
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.7526 (range: 0.7526 - 0.7526)
archetypal_loss: 0.8180 (range: 0.8180 - 0.8180)
kld_loss: 0.1644 (range: 0.1644 - 0.1644)
reconstruction_loss: 0.8180 (range: 0.8180 - 0.8180)
archetype_r2: 0.1289 (range: 0.1289 - 0.1289)
Archetype Transform Summary:
archetype_transform_mean: 0.000064 (range: 0.000064 - 0.000064)
archetype_transform_std: 0.126182 (range: 0.126182 - 0.126182)
archetype_transform_norm: 9.010316 (range: 9.010316 - 9.010316)
archetype_transform_grad_norm: 0.269657 (range: 0.269657 - 0.269657)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0120, max=0.5874, mean=0.1429
Batch reconstruction MSE: 1.2095
Archetype stats: min=-19.6930, max=27.2120
Archetype change since last debug: 1.804143
Archetype gradients: norm=0.069190, mean=0.002524
Epoch 1/1
Average loss: 0.7526
Archetypal loss: 0.8207
KLD loss: 0.1397
Reconstruction loss: 0.8207
Archetype R²: 0.1257
Archetype transform grad norm: 0.269086
Archetype transform param norm: 9.0164
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.7526 (range: 0.7526 - 0.7526)
archetypal_loss: 0.8207 (range: 0.8207 - 0.8207)
kld_loss: 0.1397 (range: 0.1397 - 0.1397)
reconstruction_loss: 0.8207 (range: 0.8207 - 0.8207)
archetype_r2: 0.1257 (range: 0.1257 - 0.1257)
Archetype Transform Summary:
archetype_transform_mean: -0.000046 (range: -0.000046 - -0.000046)
archetype_transform_std: 0.126268 (range: 0.126268 - 0.126268)
archetype_transform_norm: 9.016435 (range: 9.016435 - 9.016435)
archetype_transform_grad_norm: 0.269086 (range: 0.269086 - 0.269086)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0074, max=0.4883, mean=0.1429
Batch reconstruction MSE: 1.1153
Archetype stats: min=-19.1571, max=26.3300
Archetype change since last debug: 2.628107
Archetype gradients: norm=0.078575, mean=0.002929
Epoch 1/1
Average loss: 0.7521
Archetypal loss: 0.8177
KLD loss: 0.1616
Reconstruction loss: 0.8177
Archetype R²: 0.1290
Archetype transform grad norm: 0.279812
Archetype transform param norm: 9.0411
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.7521 (range: 0.7521 - 0.7521)
archetypal_loss: 0.8177 (range: 0.8177 - 0.8177)
kld_loss: 0.1616 (range: 0.1616 - 0.1616)
reconstruction_loss: 0.8177 (range: 0.8177 - 0.8177)
archetype_r2: 0.1290 (range: 0.1290 - 0.1290)
Archetype Transform Summary:
archetype_transform_mean: -0.000031 (range: -0.000031 - -0.000031)
archetype_transform_std: 0.126613 (range: 0.126613 - 0.126613)
archetype_transform_norm: 9.041077 (range: 9.041077 - 9.041077)
archetype_transform_grad_norm: 0.279812 (range: 0.279812 - 0.279812)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0121, max=0.5179, mean=0.1429
Batch reconstruction MSE: 1.2278
Archetype stats: min=-19.2324, max=26.2780
Archetype change since last debug: 2.232970
Archetype gradients: norm=0.079612, mean=0.003036
Epoch 1/1
Average loss: 0.7515
Archetypal loss: 0.8188
KLD loss: 0.1454
Reconstruction loss: 0.8188
Archetype R²: 0.1276
Archetype transform grad norm: 0.279470
Archetype transform param norm: 9.0506
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.7515 (range: 0.7515 - 0.7515)
archetypal_loss: 0.8188 (range: 0.8188 - 0.8188)
kld_loss: 0.1454 (range: 0.1454 - 0.1454)
reconstruction_loss: 0.8188 (range: 0.8188 - 0.8188)
archetype_r2: 0.1276 (range: 0.1276 - 0.1276)
Archetype Transform Summary:
archetype_transform_mean: -0.000065 (range: -0.000065 - -0.000065)
archetype_transform_std: 0.126747 (range: 0.126747 - 0.126747)
archetype_transform_norm: 9.050647 (range: 9.050647 - 9.050647)
archetype_transform_grad_norm: 0.279470 (range: 0.279470 - 0.279470)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0092, max=0.5764, mean=0.1429
Batch reconstruction MSE: 1.1230
Archetype stats: min=-18.7816, max=25.4972
Archetype change since last debug: 2.124490
Archetype gradients: norm=0.065838, mean=0.002613
Epoch 1/1
Average loss: 0.7481
Archetypal loss: 0.8156
KLD loss: 0.1402
Reconstruction loss: 0.8156
Archetype R²: 0.1312
Archetype transform grad norm: 0.270443
Archetype transform param norm: 9.0760
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.7481 (range: 0.7481 - 0.7481)
archetypal_loss: 0.8156 (range: 0.8156 - 0.8156)
kld_loss: 0.1402 (range: 0.1402 - 0.1402)
reconstruction_loss: 0.8156 (range: 0.8156 - 0.8156)
archetype_r2: 0.1312 (range: 0.1312 - 0.1312)
Archetype Transform Summary:
archetype_transform_mean: -0.000106 (range: -0.000106 - -0.000106)
archetype_transform_std: 0.127102 (range: 0.127102 - 0.127102)
archetype_transform_norm: 9.076044 (range: 9.076044 - 9.076044)
archetype_transform_grad_norm: 0.270443 (range: 0.270443 - 0.270443)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0111, max=0.4909, mean=0.1429
Batch reconstruction MSE: 0.9534
Archetype stats: min=-18.8578, max=25.6584
Archetype change since last debug: 1.690840
Archetype gradients: norm=0.042663, mean=0.001843
Epoch 1/1
Average loss: 0.7448
Archetypal loss: 0.8111
KLD loss: 0.1484
Reconstruction loss: 0.8111
Archetype R²: 0.1364
Archetype transform grad norm: 0.262282
Archetype transform param norm: 9.1393
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.7448 (range: 0.7448 - 0.7448)
archetypal_loss: 0.8111 (range: 0.8111 - 0.8111)
kld_loss: 0.1484 (range: 0.1484 - 0.1484)
reconstruction_loss: 0.8111 (range: 0.8111 - 0.8111)
archetype_r2: 0.1364 (range: 0.1364 - 0.1364)
Archetype Transform Summary:
archetype_transform_mean: -0.000040 (range: -0.000040 - -0.000040)
archetype_transform_std: 0.127988 (range: 0.127988 - 0.127988)
archetype_transform_norm: 9.139280 (range: 9.139280 - 9.139280)
archetype_transform_grad_norm: 0.262282 (range: 0.262282 - 0.262282)
Fold 3/3
Model input_dim: 50 (auto-detected from data)
Archetypes parameter registered: True
Archetypes requires_grad: True
Deep_AA (Deep Archetypal Analysis) initialized:
- Single-stage architecture (like Deep_2)
- Inflation factor: 1.5
- Direct archetypal coordinates (no bottleneck)
Consolidated Archetype Initialization
PCHA: True, Inflation: True (factor: 1.5)
Test inflation: False
Running PCHA initialization...
Input shape: (128, 50)
Target archetypes: 7
Running PCHA with 7 archetypes...
Data shape for PCHA: (50, 128)
PCHA Results:
Archetypes shape: (7, 50)
Archetype R²: 0.3012
SSE: 3810.2071
PCHA archetype R²: 0.3012
Archetype shape: (7, 50)
[OK] Initialized 7 archetypes using PCHA
Scalar Archetypal Inflation (factor: 1.50)
[OK] Inflation complete
[STATS] Positioning verification:
Data radius (max): 16.629
Data radius (mean): 6.068
Archetype distances: 3.965 to 22.336
Archetypes outside data: 2/7
Min archetype separation: 8.396
[OK] Archetype initialization complete (success: True)
[OK] Archetype initialization complete (PCHA: True, Inflation: 1.5)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0012, max=0.7384, mean=0.1429
Batch reconstruction MSE: 0.9531
Archetype stats: min=-1.7078, max=1.3660
Archetype gradients: norm=0.011392, mean=0.000474
Epoch 1/1
Average loss: 0.8912
Archetypal loss: 0.9865
KLD loss: 0.0334
Reconstruction loss: 0.9865
Archetype R²: -0.0136
Archetype transform grad norm: 0.170844
Archetype transform param norm: 5.7349
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.8912 (range: 0.8912 - 0.8912)
archetypal_loss: 0.9865 (range: 0.9865 - 0.9865)
kld_loss: 0.0334 (range: 0.0334 - 0.0334)
reconstruction_loss: 0.9865 (range: 0.9865 - 0.9865)
archetype_r2: -0.0136 (range: -0.0136 - -0.0136)
Archetype Transform Summary:
archetype_transform_mean: -0.000538 (range: -0.000538 - -0.000538)
archetype_transform_std: 0.080310 (range: 0.080310 - 0.080310)
archetype_transform_norm: 5.734891 (range: 5.734891 - 5.734891)
archetype_transform_grad_norm: 0.170844 (range: 0.170844 - 0.170844)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0003, max=0.9455, mean=0.1429
Batch reconstruction MSE: 0.8487
Archetype stats: min=-1.4225, max=1.3307
Archetype change since last debug: 6.475397
Archetype gradients: norm=0.002586, mean=0.000110
Epoch 1/1
Average loss: 0.8785
Archetypal loss: 0.9668
KLD loss: 0.0835
Reconstruction loss: 0.9668
Archetype R²: 0.0067
Archetype transform grad norm: 0.134624
Archetype transform param norm: 5.7877
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.8785 (range: 0.8785 - 0.8785)
archetypal_loss: 0.9668 (range: 0.9668 - 0.9668)
kld_loss: 0.0835 (range: 0.0835 - 0.0835)
reconstruction_loss: 0.9668 (range: 0.9668 - 0.9668)
archetype_r2: 0.0067 (range: 0.0067 - 0.0067)
Archetype Transform Summary:
archetype_transform_mean: -0.000384 (range: -0.000384 - -0.000384)
archetype_transform_std: 0.081051 (range: 0.081051 - 0.081051)
archetype_transform_norm: 5.787685 (range: 5.787685 - 5.787685)
archetype_transform_grad_norm: 0.134624 (range: 0.134624 - 0.134624)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0022, max=0.7706, mean=0.1429
Batch reconstruction MSE: 0.8895
Archetype stats: min=-2.6703, max=2.9801
Archetype change since last debug: 6.700649
Archetype gradients: norm=0.004196, mean=0.000161
Epoch 1/1
Average loss: 0.8632
Archetypal loss: 0.9441
KLD loss: 0.1350
Reconstruction loss: 0.9441
Archetype R²: 0.0299
Archetype transform grad norm: 0.173131
Archetype transform param norm: 5.9967
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.8632 (range: 0.8632 - 0.8632)
archetypal_loss: 0.9441 (range: 0.9441 - 0.9441)
kld_loss: 0.1350 (range: 0.1350 - 0.1350)
reconstruction_loss: 0.9441 (range: 0.9441 - 0.9441)
archetype_r2: 0.0299 (range: 0.0299 - 0.0299)
Archetype Transform Summary:
archetype_transform_mean: -0.000071 (range: -0.000071 - -0.000071)
archetype_transform_std: 0.083979 (range: 0.083979 - 0.083979)
archetype_transform_norm: 5.996715 (range: 5.996715 - 5.996715)
archetype_transform_grad_norm: 0.173131 (range: 0.173131 - 0.173131)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0029, max=0.9122, mean=0.1429
Batch reconstruction MSE: 0.9254
Archetype stats: min=-4.3794, max=5.3065
Archetype change since last debug: 10.997758
Archetype gradients: norm=0.009982, mean=0.000400
Epoch 1/1
Average loss: 0.8474
Archetypal loss: 0.9230
KLD loss: 0.1667
Reconstruction loss: 0.9230
Archetype R²: 0.0513
Archetype transform grad norm: 0.201777
Archetype transform param norm: 6.3110
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.8474 (range: 0.8474 - 0.8474)
archetypal_loss: 0.9230 (range: 0.9230 - 0.9230)
kld_loss: 0.1667 (range: 0.1667 - 0.1667)
reconstruction_loss: 0.9230 (range: 0.9230 - 0.9230)
archetype_r2: 0.0513 (range: 0.0513 - 0.0513)
Archetype Transform Summary:
archetype_transform_mean: 0.000081 (range: 0.000081 - 0.000081)
archetype_transform_std: 0.088380 (range: 0.088380 - 0.088380)
archetype_transform_norm: 6.310997 (range: 6.310997 - 6.310997)
archetype_transform_grad_norm: 0.201777 (range: 0.201777 - 0.201777)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0039, max=0.8336, mean=0.1429
Batch reconstruction MSE: 1.0098
Archetype stats: min=-6.5309, max=7.6991
Archetype change since last debug: 10.798258
Archetype gradients: norm=0.013685, mean=0.000535
Epoch 1/1
Average loss: 0.8346
Archetypal loss: 0.9068
KLD loss: 0.1849
Reconstruction loss: 0.9068
Archetype R²: 0.0676
Archetype transform grad norm: 0.230529
Archetype transform param norm: 6.6612
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.8346 (range: 0.8346 - 0.8346)
archetypal_loss: 0.9068 (range: 0.9068 - 0.9068)
kld_loss: 0.1849 (range: 0.1849 - 0.1849)
reconstruction_loss: 0.9068 (range: 0.9068 - 0.9068)
archetype_r2: 0.0676 (range: 0.0676 - 0.0676)
Archetype Transform Summary:
archetype_transform_mean: 0.000110 (range: 0.000110 - 0.000110)
archetype_transform_std: 0.093284 (range: 0.093284 - 0.093284)
archetype_transform_norm: 6.661181 (range: 6.661181 - 6.661181)
archetype_transform_grad_norm: 0.230529 (range: 0.230529 - 0.230529)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0021, max=0.9500, mean=0.1429
Batch reconstruction MSE: 1.0625
Archetype stats: min=-8.6135, max=8.8090
Archetype change since last debug: 9.879950
Archetype gradients: norm=0.028558, mean=0.001070
Epoch 1/1
Average loss: 0.8270
Archetypal loss: 0.8977
KLD loss: 0.1912
Reconstruction loss: 0.8977
Archetype R²: 0.0767
Archetype transform grad norm: 0.252933
Archetype transform param norm: 6.9483
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.8270 (range: 0.8270 - 0.8270)
archetypal_loss: 0.8977 (range: 0.8977 - 0.8977)
kld_loss: 0.1912 (range: 0.1912 - 0.1912)
reconstruction_loss: 0.8977 (range: 0.8977 - 0.8977)
archetype_r2: 0.0767 (range: 0.0767 - 0.0767)
Archetype Transform Summary:
archetype_transform_mean: -0.000035 (range: -0.000035 - -0.000035)
archetype_transform_std: 0.097305 (range: 0.097305 - 0.097305)
archetype_transform_norm: 6.948275 (range: 6.948275 - 6.948275)
archetype_transform_grad_norm: 0.252933 (range: 0.252933 - 0.252933)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0027, max=0.8766, mean=0.1429
Batch reconstruction MSE: 1.0914
Archetype stats: min=-10.2238, max=9.7002
Archetype change since last debug: 7.373907
Archetype gradients: norm=0.030863, mean=0.001036
Epoch 1/1
Average loss: 0.8196
Archetypal loss: 0.8889
KLD loss: 0.1957
Reconstruction loss: 0.8889
Archetype R²: 0.0856
Archetype transform grad norm: 0.266289
Archetype transform param norm: 7.1928
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.8196 (range: 0.8196 - 0.8196)
archetypal_loss: 0.8889 (range: 0.8889 - 0.8889)
kld_loss: 0.1957 (range: 0.1957 - 0.1957)
reconstruction_loss: 0.8889 (range: 0.8889 - 0.8889)
archetype_r2: 0.0856 (range: 0.0856 - 0.0856)
Archetype Transform Summary:
archetype_transform_mean: -0.000158 (range: -0.000158 - -0.000158)
archetype_transform_std: 0.100730 (range: 0.100730 - 0.100730)
archetype_transform_norm: 7.192830 (range: 7.192830 - 7.192830)
archetype_transform_grad_norm: 0.266289 (range: 0.266289 - 0.266289)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0045, max=0.8190, mean=0.1429
Batch reconstruction MSE: 1.0510
Archetype stats: min=-11.5342, max=10.2245
Archetype change since last debug: 6.626967
Archetype gradients: norm=0.035412, mean=0.001305
Epoch 1/1
Average loss: 0.8134
Archetypal loss: 0.8818
KLD loss: 0.1982
Reconstruction loss: 0.8818
Archetype R²: 0.0930
Archetype transform grad norm: 0.277829
Archetype transform param norm: 7.4068
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.8134 (range: 0.8134 - 0.8134)
archetypal_loss: 0.8818 (range: 0.8818 - 0.8818)
kld_loss: 0.1982 (range: 0.1982 - 0.1982)
reconstruction_loss: 0.8818 (range: 0.8818 - 0.8818)
archetype_r2: 0.0930 (range: 0.0930 - 0.0930)
Archetype Transform Summary:
archetype_transform_mean: -0.000241 (range: -0.000241 - -0.000241)
archetype_transform_std: 0.103725 (range: 0.103725 - 0.103725)
archetype_transform_norm: 7.406763 (range: 7.406763 - 7.406763)
archetype_transform_grad_norm: 0.277829 (range: 0.277829 - 0.277829)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0037, max=0.7813, mean=0.1429
Batch reconstruction MSE: 1.0560
Archetype stats: min=-12.9413, max=10.7797
Archetype change since last debug: 5.735135
Archetype gradients: norm=0.028303, mean=0.000976
Epoch 1/1
Average loss: 0.8057
Archetypal loss: 0.8733
KLD loss: 0.1978
Reconstruction loss: 0.8733
Archetype R²: 0.1017
Archetype transform grad norm: 0.275923
Archetype transform param norm: 7.6230
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.8057 (range: 0.8057 - 0.8057)
archetypal_loss: 0.8733 (range: 0.8733 - 0.8733)
kld_loss: 0.1978 (range: 0.1978 - 0.1978)
reconstruction_loss: 0.8733 (range: 0.8733 - 0.8733)
archetype_r2: 0.1017 (range: 0.1017 - 0.1017)
Archetype Transform Summary:
archetype_transform_mean: -0.000373 (range: -0.000373 - -0.000373)
archetype_transform_std: 0.106754 (range: 0.106754 - 0.106754)
archetype_transform_norm: 7.623044 (range: 7.623044 - 7.623044)
archetype_transform_grad_norm: 0.275923 (range: 0.275923 - 0.275923)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0077, max=0.7467, mean=0.1429
Batch reconstruction MSE: 1.0573
Archetype stats: min=-13.7781, max=11.1548
Archetype change since last debug: 5.886310
Archetype gradients: norm=0.043511, mean=0.001675
Epoch 1/1
Average loss: 0.7988
Archetypal loss: 0.8659
KLD loss: 0.1954
Reconstruction loss: 0.8659
Archetype R²: 0.1092
Archetype transform grad norm: 0.273868
Archetype transform param norm: 7.8378
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.7988 (range: 0.7988 - 0.7988)
archetypal_loss: 0.8659 (range: 0.8659 - 0.8659)
kld_loss: 0.1954 (range: 0.1954 - 0.1954)
reconstruction_loss: 0.8659 (range: 0.8659 - 0.8659)
archetype_r2: 0.1092 (range: 0.1092 - 0.1092)
Archetype Transform Summary:
archetype_transform_mean: -0.000469 (range: -0.000469 - -0.000469)
archetype_transform_std: 0.109761 (range: 0.109761 - 0.109761)
archetype_transform_norm: 7.837782 (range: 7.837782 - 7.837782)
archetype_transform_grad_norm: 0.273868 (range: 0.273868 - 0.273868)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0096, max=0.6316, mean=0.1429
Batch reconstruction MSE: 1.0791
Archetype stats: min=-15.0572, max=11.6503
Archetype change since last debug: 5.784018
Archetype gradients: norm=0.030546, mean=0.001234
Epoch 1/1
Average loss: 0.7953
Archetypal loss: 0.8627
KLD loss: 0.1882
Reconstruction loss: 0.8627
Archetype R²: 0.1124
Archetype transform grad norm: 0.297315
Archetype transform param norm: 8.0475
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.7953 (range: 0.7953 - 0.7953)
archetypal_loss: 0.8627 (range: 0.8627 - 0.8627)
kld_loss: 0.1882 (range: 0.1882 - 0.1882)
reconstruction_loss: 0.8627 (range: 0.8627 - 0.8627)
archetype_r2: 0.1124 (range: 0.1124 - 0.1124)
Archetype Transform Summary:
archetype_transform_mean: -0.000484 (range: -0.000484 - -0.000484)
archetype_transform_std: 0.112698 (range: 0.112698 - 0.112698)
archetype_transform_norm: 8.047510 (range: 8.047510 - 8.047510)
archetype_transform_grad_norm: 0.297315 (range: 0.297315 - 0.297315)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0107, max=0.5191, mean=0.1429
Batch reconstruction MSE: 1.1046
Archetype stats: min=-15.6186, max=11.9214
Archetype change since last debug: 5.414629
Archetype gradients: norm=0.075397, mean=0.002705
Epoch 1/1
Average loss: 0.7930
Archetypal loss: 0.8598
KLD loss: 0.1915
Reconstruction loss: 0.8598
Archetype R²: 0.1151
Archetype transform grad norm: 0.299886
Archetype transform param norm: 8.1894
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.7930 (range: 0.7930 - 0.7930)
archetypal_loss: 0.8598 (range: 0.8598 - 0.8598)
kld_loss: 0.1915 (range: 0.1915 - 0.1915)
reconstruction_loss: 0.8598 (range: 0.8598 - 0.8598)
archetype_r2: 0.1151 (range: 0.1151 - 0.1151)
Archetype Transform Summary:
archetype_transform_mean: -0.000592 (range: -0.000592 - -0.000592)
archetype_transform_std: 0.114684 (range: 0.114684 - 0.114684)
archetype_transform_norm: 8.189376 (range: 8.189376 - 8.189376)
archetype_transform_grad_norm: 0.299886 (range: 0.299886 - 0.299886)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0100, max=0.4815, mean=0.1429
Batch reconstruction MSE: 1.2354
Archetype stats: min=-16.4701, max=12.3042
Archetype change since last debug: 4.121803
Archetype gradients: norm=0.041868, mean=0.001677
Epoch 1/1
Average loss: 0.7930
Archetypal loss: 0.8614
KLD loss: 0.1773
Reconstruction loss: 0.8614
Archetype R²: 0.1131
Archetype transform grad norm: 0.315837
Archetype transform param norm: 8.3127
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.7930 (range: 0.7930 - 0.7930)
archetypal_loss: 0.8614 (range: 0.8614 - 0.8614)
kld_loss: 0.1773 (range: 0.1773 - 0.1773)
reconstruction_loss: 0.8614 (range: 0.8614 - 0.8614)
archetype_r2: 0.1131 (range: 0.1131 - 0.1131)
Archetype Transform Summary:
archetype_transform_mean: -0.000654 (range: -0.000654 - -0.000654)
archetype_transform_std: 0.116411 (range: 0.116411 - 0.116411)
archetype_transform_norm: 8.312726 (range: 8.312726 - 8.312726)
archetype_transform_grad_norm: 0.315837 (range: 0.315837 - 0.315837)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0131, max=0.5276, mean=0.1429
Batch reconstruction MSE: 1.0761
Archetype stats: min=-16.8874, max=12.0994
Archetype change since last debug: 4.192409
Archetype gradients: norm=0.066125, mean=0.002152
Epoch 1/1
Average loss: 0.7892
Archetypal loss: 0.8553
KLD loss: 0.1942
Reconstruction loss: 0.8553
Archetype R²: 0.1198
Archetype transform grad norm: 0.296790
Archetype transform param norm: 8.4139
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.7892 (range: 0.7892 - 0.7892)
archetypal_loss: 0.8553 (range: 0.8553 - 0.8553)
kld_loss: 0.1942 (range: 0.1942 - 0.1942)
reconstruction_loss: 0.8553 (range: 0.8553 - 0.8553)
archetype_r2: 0.1198 (range: 0.1198 - 0.1198)
Archetype Transform Summary:
archetype_transform_mean: -0.000782 (range: -0.000782 - -0.000782)
archetype_transform_std: 0.117827 (range: 0.117827 - 0.117827)
archetype_transform_norm: 8.413915 (range: 8.413915 - 8.413915)
archetype_transform_grad_norm: 0.296790 (range: 0.296790 - 0.296790)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0097, max=0.5682, mean=0.1429
Batch reconstruction MSE: 1.1060
Archetype stats: min=-17.6416, max=12.7404
Archetype change since last debug: 3.323698
Archetype gradients: norm=0.027231, mean=0.001209
Epoch 1/1
Average loss: 0.7856
Archetypal loss: 0.8544
KLD loss: 0.1664
Reconstruction loss: 0.8544
Archetype R²: 0.1206
Archetype transform grad norm: 0.298507
Archetype transform param norm: 8.5278
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.7856 (range: 0.7856 - 0.7856)
archetypal_loss: 0.8544 (range: 0.8544 - 0.8544)
kld_loss: 0.1664 (range: 0.1664 - 0.1664)
reconstruction_loss: 0.8544 (range: 0.8544 - 0.8544)
archetype_r2: 0.1206 (range: 0.1206 - 0.1206)
Archetype Transform Summary:
archetype_transform_mean: -0.000768 (range: -0.000768 - -0.000768)
archetype_transform_std: 0.119422 (range: 0.119422 - 0.119422)
archetype_transform_norm: 8.527768 (range: 8.527768 - 8.527768)
archetype_transform_grad_norm: 0.298507 (range: 0.298507 - 0.298507)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0175, max=0.4744, mean=0.1429
Batch reconstruction MSE: 0.9493
Archetype stats: min=-18.0861, max=13.1557
Archetype change since last debug: 3.408133
Archetype gradients: norm=0.036191, mean=0.001195
Epoch 1/1
Average loss: 0.7822
Archetypal loss: 0.8497
KLD loss: 0.1744
Reconstruction loss: 0.8497
Archetype R²: 0.1258
Archetype transform grad norm: 0.293083
Archetype transform param norm: 8.6402
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.7822 (range: 0.7822 - 0.7822)
archetypal_loss: 0.8497 (range: 0.8497 - 0.8497)
kld_loss: 0.1744 (range: 0.1744 - 0.1744)
reconstruction_loss: 0.8497 (range: 0.8497 - 0.8497)
archetype_r2: 0.1258 (range: 0.1258 - 0.1258)
Archetype Transform Summary:
archetype_transform_mean: -0.000830 (range: -0.000830 - -0.000830)
archetype_transform_std: 0.120997 (range: 0.120997 - 0.120997)
archetype_transform_norm: 8.640243 (range: 8.640243 - 8.640243)
archetype_transform_grad_norm: 0.293083 (range: 0.293083 - 0.293083)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0148, max=0.5099, mean=0.1429
Batch reconstruction MSE: 1.0194
Archetype stats: min=-18.9327, max=13.7727
Archetype change since last debug: 3.665944
Archetype gradients: norm=0.023425, mean=0.000987
Epoch 1/1
Average loss: 0.7817
Archetypal loss: 0.8514
KLD loss: 0.1548
Reconstruction loss: 0.8514
Archetype R²: 0.1239
Archetype transform grad norm: 0.309567
Archetype transform param norm: 8.7473
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.7817 (range: 0.7817 - 0.7817)
archetypal_loss: 0.8514 (range: 0.8514 - 0.8514)
kld_loss: 0.1548 (range: 0.1548 - 0.1548)
reconstruction_loss: 0.8514 (range: 0.8514 - 0.8514)
archetype_r2: 0.1239 (range: 0.1239 - 0.1239)
Archetype Transform Summary:
archetype_transform_mean: -0.000778 (range: -0.000778 - -0.000778)
archetype_transform_std: 0.122496 (range: 0.122496 - 0.122496)
archetype_transform_norm: 8.747294 (range: 8.747294 - 8.747294)
archetype_transform_grad_norm: 0.309567 (range: 0.309567 - 0.309567)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0130, max=0.5546, mean=0.1429
Batch reconstruction MSE: 0.9118
Archetype stats: min=-19.3823, max=14.1673
Archetype change since last debug: 3.213466
Archetype gradients: norm=0.036591, mean=0.001157
Epoch 1/1
Average loss: 0.7805
Archetypal loss: 0.8488
KLD loss: 0.1659
Reconstruction loss: 0.8488
Archetype R²: 0.1269
Archetype transform grad norm: 0.307828
Archetype transform param norm: 8.8385
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.7805 (range: 0.7805 - 0.7805)
archetypal_loss: 0.8488 (range: 0.8488 - 0.8488)
kld_loss: 0.1659 (range: 0.1659 - 0.1659)
reconstruction_loss: 0.8488 (range: 0.8488 - 0.8488)
archetype_r2: 0.1269 (range: 0.1269 - 0.1269)
Archetype Transform Summary:
archetype_transform_mean: -0.000842 (range: -0.000842 - -0.000842)
archetype_transform_std: 0.123773 (range: 0.123773 - 0.123773)
archetype_transform_norm: 8.838514 (range: 8.838514 - 8.838514)
archetype_transform_grad_norm: 0.307828 (range: 0.307828 - 0.307828)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0175, max=0.4145, mean=0.1429
Batch reconstruction MSE: 1.0760
Archetype stats: min=-20.0696, max=14.8638
Archetype change since last debug: 3.268745
Archetype gradients: norm=0.032457, mean=0.001356
Epoch 1/1
Average loss: 0.7804
Archetypal loss: 0.8508
KLD loss: 0.1463
Reconstruction loss: 0.8508
Archetype R²: 0.1242
Archetype transform grad norm: 0.315608
Archetype transform param norm: 8.9095
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.7804 (range: 0.7804 - 0.7804)
archetypal_loss: 0.8508 (range: 0.8508 - 0.8508)
kld_loss: 0.1463 (range: 0.1463 - 0.1463)
reconstruction_loss: 0.8508 (range: 0.8508 - 0.8508)
archetype_r2: 0.1242 (range: 0.1242 - 0.1242)
Archetype Transform Summary:
archetype_transform_mean: -0.000796 (range: -0.000796 - -0.000796)
archetype_transform_std: 0.124768 (range: 0.124768 - 0.124768)
archetype_transform_norm: 8.909499 (range: 8.909499 - 8.909499)
archetype_transform_grad_norm: 0.315608 (range: 0.315608 - 0.315608)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0190, max=0.5851, mean=0.1429
Batch reconstruction MSE: 0.9207
Archetype stats: min=-20.2957, max=15.1305
Archetype change since last debug: 2.397752
Archetype gradients: norm=0.038476, mean=0.001344
Epoch 1/1
Average loss: 0.7776
Archetypal loss: 0.8464
KLD loss: 0.1581
Reconstruction loss: 0.8464
Archetype R²: 0.1292
Archetype transform grad norm: 0.306521
Archetype transform param norm: 8.9857
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.7776 (range: 0.7776 - 0.7776)
archetypal_loss: 0.8464 (range: 0.8464 - 0.8464)
kld_loss: 0.1581 (range: 0.1581 - 0.1581)
reconstruction_loss: 0.8464 (range: 0.8464 - 0.8464)
archetype_r2: 0.1292 (range: 0.1292 - 0.1292)
Archetype Transform Summary:
archetype_transform_mean: -0.000807 (range: -0.000807 - -0.000807)
archetype_transform_std: 0.125835 (range: 0.125835 - 0.125835)
archetype_transform_norm: 8.985733 (range: 8.985733 - 8.985733)
archetype_transform_grad_norm: 0.306521 (range: 0.306521 - 0.306521)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0158, max=0.4559, mean=0.1429
Batch reconstruction MSE: 1.0826
Archetype stats: min=-20.8535, max=15.7584
Archetype change since last debug: 2.997324
Archetype gradients: norm=0.038192, mean=0.001294
Epoch 1/1
Average loss: 0.7781
Archetypal loss: 0.8487
KLD loss: 0.1420
Reconstruction loss: 0.8487
Archetype R²: 0.1262
Archetype transform grad norm: 0.311759
Archetype transform param norm: 9.0498
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.7781 (range: 0.7781 - 0.7781)
archetypal_loss: 0.8487 (range: 0.8487 - 0.8487)
kld_loss: 0.1420 (range: 0.1420 - 0.1420)
reconstruction_loss: 0.8487 (range: 0.8487 - 0.8487)
archetype_r2: 0.1262 (range: 0.1262 - 0.1262)
Archetype Transform Summary:
archetype_transform_mean: -0.000844 (range: -0.000844 - -0.000844)
archetype_transform_std: 0.126733 (range: 0.126733 - 0.126733)
archetype_transform_norm: 9.049843 (range: 9.049843 - 9.049843)
archetype_transform_grad_norm: 0.311759 (range: 0.311759 - 0.311759)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0166, max=0.5381, mean=0.1429
Batch reconstruction MSE: 1.0292
Archetype stats: min=-21.2185, max=15.5757
Archetype change since last debug: 2.410440
Archetype gradients: norm=0.065471, mean=0.002397
Epoch 1/1
Average loss: 0.7781
Archetypal loss: 0.8472
KLD loss: 0.1565
Reconstruction loss: 0.8472
Archetype R²: 0.1279
Archetype transform grad norm: 0.315359
Archetype transform param norm: 9.0883
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.7781 (range: 0.7781 - 0.7781)
archetypal_loss: 0.8472 (range: 0.8472 - 0.8472)
kld_loss: 0.1565 (range: 0.1565 - 0.1565)
reconstruction_loss: 0.8472 (range: 0.8472 - 0.8472)
archetype_r2: 0.1279 (range: 0.1279 - 0.1279)
Archetype Transform Summary:
archetype_transform_mean: -0.000750 (range: -0.000750 - -0.000750)
archetype_transform_std: 0.127272 (range: 0.127272 - 0.127272)
archetype_transform_norm: 9.088325 (range: 9.088325 - 9.088325)
archetype_transform_grad_norm: 0.315359 (range: 0.315359 - 0.315359)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0173, max=0.4940, mean=0.1429
Batch reconstruction MSE: 1.1712
Archetype stats: min=-21.7316, max=15.8271
Archetype change since last debug: 2.080817
Archetype gradients: norm=0.062522, mean=0.002815
Epoch 1/1
Average loss: 0.7806
Archetypal loss: 0.8508
KLD loss: 0.1481
Reconstruction loss: 0.8508
Archetype R²: 0.1237
Archetype transform grad norm: 0.341919
Archetype transform param norm: 9.1239
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.7806 (range: 0.7806 - 0.7806)
archetypal_loss: 0.8508 (range: 0.8508 - 0.8508)
kld_loss: 0.1481 (range: 0.1481 - 0.1481)
reconstruction_loss: 0.8508 (range: 0.8508 - 0.8508)
archetype_r2: 0.1237 (range: 0.1237 - 0.1237)
Archetype Transform Summary:
archetype_transform_mean: -0.000795 (range: -0.000795 - -0.000795)
archetype_transform_std: 0.127770 (range: 0.127770 - 0.127770)
archetype_transform_norm: 9.123905 (range: 9.123905 - 9.123905)
archetype_transform_grad_norm: 0.341919 (range: 0.341919 - 0.341919)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0190, max=0.4368, mean=0.1429
Batch reconstruction MSE: 1.3201
Archetype stats: min=-21.5030, max=15.8683
Archetype change since last debug: 2.020772
Archetype gradients: norm=0.128656, mean=0.004567
Epoch 1/1
Average loss: 0.7852
Archetypal loss: 0.8548
KLD loss: 0.1586
Reconstruction loss: 0.8548
Archetype R²: 0.1190
Archetype transform grad norm: 0.361077
Archetype transform param norm: 9.1067
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.7852 (range: 0.7852 - 0.7852)
archetypal_loss: 0.8548 (range: 0.8548 - 0.8548)
kld_loss: 0.1586 (range: 0.1586 - 0.1586)
reconstruction_loss: 0.8548 (range: 0.8548 - 0.8548)
archetype_r2: 0.1190 (range: 0.1190 - 0.1190)
Archetype Transform Summary:
archetype_transform_mean: -0.000833 (range: -0.000833 - -0.000833)
archetype_transform_std: 0.127529 (range: 0.127529 - 0.127529)
archetype_transform_norm: 9.106683 (range: 9.106683 - 9.106683)
archetype_transform_grad_norm: 0.361077 (range: 0.361077 - 0.361077)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0170, max=0.5594, mean=0.1429
Batch reconstruction MSE: 1.3357
Archetype stats: min=-21.4367, max=16.0437
Archetype change since last debug: 3.568744
Archetype gradients: norm=0.096346, mean=0.003842
Epoch 1/1
Average loss: 0.7865
Archetypal loss: 0.8548
KLD loss: 0.1724
Reconstruction loss: 0.8548
Archetype R²: 0.1191
Archetype transform grad norm: 0.357900
Archetype transform param norm: 9.0916
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.7865 (range: 0.7865 - 0.7865)
archetypal_loss: 0.8548 (range: 0.8548 - 0.8548)
kld_loss: 0.1724 (range: 0.1724 - 0.1724)
reconstruction_loss: 0.8548 (range: 0.8548 - 0.8548)
archetype_r2: 0.1191 (range: 0.1191 - 0.1191)
Archetype Transform Summary:
archetype_transform_mean: -0.000875 (range: -0.000875 - -0.000875)
archetype_transform_std: 0.127317 (range: 0.127317 - 0.127317)
archetype_transform_norm: 9.091599 (range: 9.091599 - 9.091599)
archetype_transform_grad_norm: 0.357900 (range: 0.357900 - 0.357900)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0185, max=0.4747, mean=0.1429
Batch reconstruction MSE: 1.1293
Archetype stats: min=-20.6647, max=15.8176
Archetype change since last debug: 3.077084
Archetype gradients: norm=0.083589, mean=0.002875
Epoch 1/1
Average loss: 0.7777
Archetypal loss: 0.8478
KLD loss: 0.1474
Reconstruction loss: 0.8478
Archetype R²: 0.1268
Archetype transform grad norm: 0.315890
Archetype transform param norm: 9.1006
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.7777 (range: 0.7777 - 0.7777)
archetypal_loss: 0.8478 (range: 0.8478 - 0.8478)
kld_loss: 0.1474 (range: 0.1474 - 0.1474)
reconstruction_loss: 0.8478 (range: 0.8478 - 0.8478)
archetype_r2: 0.1268 (range: 0.1268 - 0.1268)
Archetype Transform Summary:
archetype_transform_mean: -0.000808 (range: -0.000808 - -0.000808)
archetype_transform_std: 0.127444 (range: 0.127444 - 0.127444)
archetype_transform_norm: 9.100599 (range: 9.100599 - 9.100599)
archetype_transform_grad_norm: 0.315890 (range: 0.315890 - 0.315890)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0213, max=0.5447, mean=0.1429
Batch reconstruction MSE: 0.9125
Archetype stats: min=-21.4362, max=16.2256
Archetype change since last debug: 2.079253
Archetype gradients: norm=0.030944, mean=0.001328
Epoch 1/1
Average loss: 0.7745
Archetypal loss: 0.8429
KLD loss: 0.1580
Reconstruction loss: 0.8429
Archetype R²: 0.1324
Archetype transform grad norm: 0.314878
Archetype transform param norm: 9.1671
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.7745 (range: 0.7745 - 0.7745)
archetypal_loss: 0.8429 (range: 0.8429 - 0.8429)
kld_loss: 0.1580 (range: 0.1580 - 0.1580)
reconstruction_loss: 0.8429 (range: 0.8429 - 0.8429)
archetype_r2: 0.1324 (range: 0.1324 - 0.1324)
Archetype Transform Summary:
archetype_transform_mean: -0.000928 (range: -0.000928 - -0.000928)
archetype_transform_std: 0.128375 (range: 0.128375 - 0.128375)
archetype_transform_norm: 9.167125 (range: 9.167125 - 9.167125)
archetype_transform_grad_norm: 0.314878 (range: 0.314878 - 0.314878)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0174, max=0.4591, mean=0.1429
Batch reconstruction MSE: 0.9960
Archetype stats: min=-21.5324, max=16.4891
Archetype change since last debug: 2.557036
Archetype gradients: norm=0.042772, mean=0.001523
Epoch 1/1
Average loss: 0.7729
Archetypal loss: 0.8438
KLD loss: 0.1352
Reconstruction loss: 0.8438
Archetype R²: 0.1312
Archetype transform grad norm: 0.302485
Archetype transform param norm: 9.2155
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.7729 (range: 0.7729 - 0.7729)
archetypal_loss: 0.8438 (range: 0.8438 - 0.8438)
kld_loss: 0.1352 (range: 0.1352 - 0.1352)
reconstruction_loss: 0.8438 (range: 0.8438 - 0.8438)
archetype_r2: 0.1312 (range: 0.1312 - 0.1312)
Archetype Transform Summary:
archetype_transform_mean: -0.000860 (range: -0.000860 - -0.000860)
archetype_transform_std: 0.129052 (range: 0.129052 - 0.129052)
archetype_transform_norm: 9.215477 (range: 9.215477 - 9.215477)
archetype_transform_grad_norm: 0.302485 (range: 0.302485 - 0.302485)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0231, max=0.5819, mean=0.1429
Batch reconstruction MSE: 0.8751
Archetype stats: min=-21.9906, max=16.9192
Archetype change since last debug: 1.917006
Archetype gradients: norm=0.019568, mean=0.000718
Epoch 1/1
Average loss: 0.7720
Archetypal loss: 0.8410
KLD loss: 0.1510
Reconstruction loss: 0.8410
Archetype R²: 0.1344
Archetype transform grad norm: 0.306371
Archetype transform param norm: 9.2835
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.7720 (range: 0.7720 - 0.7720)
archetypal_loss: 0.8410 (range: 0.8410 - 0.8410)
kld_loss: 0.1510 (range: 0.1510 - 0.1510)
reconstruction_loss: 0.8410 (range: 0.8410 - 0.8410)
archetype_r2: 0.1344 (range: 0.1344 - 0.1344)
Archetype Transform Summary:
archetype_transform_mean: -0.000941 (range: -0.000941 - -0.000941)
archetype_transform_std: 0.130004 (range: 0.130004 - 0.130004)
archetype_transform_norm: 9.283502 (range: 9.283502 - 9.283502)
archetype_transform_grad_norm: 0.306371 (range: 0.306371 - 0.306371)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0220, max=0.4988, mean=0.1429
Batch reconstruction MSE: 1.0020
Archetype stats: min=-22.2446, max=17.1154
Archetype change since last debug: 2.366248
Archetype gradients: norm=0.035931, mean=0.001465
Epoch 1/1
Average loss: 0.7721
Archetypal loss: 0.8437
KLD loss: 0.1279
Reconstruction loss: 0.8437
Archetype R²: 0.1312
Archetype transform grad norm: 0.311188
Archetype transform param norm: 9.3243
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.7721 (range: 0.7721 - 0.7721)
archetypal_loss: 0.8437 (range: 0.8437 - 0.8437)
kld_loss: 0.1279 (range: 0.1279 - 0.1279)
reconstruction_loss: 0.8437 (range: 0.8437 - 0.8437)
archetype_r2: 0.1312 (range: 0.1312 - 0.1312)
Archetype Transform Summary:
archetype_transform_mean: -0.000856 (range: -0.000856 - -0.000856)
archetype_transform_std: 0.130576 (range: 0.130576 - 0.130576)
archetype_transform_norm: 9.324288 (range: 9.324288 - 9.324288)
archetype_transform_grad_norm: 0.311188 (range: 0.311188 - 0.311188)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0211, max=0.5840, mean=0.1429
Batch reconstruction MSE: 0.8199
Archetype stats: min=-22.6505, max=17.4319
Archetype change since last debug: 1.806604
Archetype gradients: norm=0.018540, mean=0.000811
Epoch 1/1
Average loss: 0.7694
Archetypal loss: 0.8384
KLD loss: 0.1479
Reconstruction loss: 0.8384
Archetype R²: 0.1371
Archetype transform grad norm: 0.304566
Archetype transform param norm: 9.3936
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.7694 (range: 0.7694 - 0.7694)
archetypal_loss: 0.8384 (range: 0.8384 - 0.8384)
kld_loss: 0.1479 (range: 0.1479 - 0.1479)
reconstruction_loss: 0.8384 (range: 0.8384 - 0.8384)
archetype_r2: 0.1371 (range: 0.1371 - 0.1371)
Archetype Transform Summary:
archetype_transform_mean: -0.000884 (range: -0.000884 - -0.000884)
archetype_transform_std: 0.131547 (range: 0.131547 - 0.131547)
archetype_transform_norm: 9.393620 (range: 9.393620 - 9.393620)
archetype_transform_grad_norm: 0.304566 (range: 0.304566 - 0.304566)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0202, max=0.5070, mean=0.1429
Batch reconstruction MSE: 1.0434
Archetype stats: min=-23.0684, max=17.8197
Archetype change since last debug: 2.606204
Archetype gradients: norm=0.041268, mean=0.001434
Epoch 1/1
Average loss: 0.7709
Archetypal loss: 0.8432
KLD loss: 0.1208
Reconstruction loss: 0.8432
Archetype R²: 0.1315
Archetype transform grad norm: 0.309178
Archetype transform param norm: 9.4291
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.7709 (range: 0.7709 - 0.7709)
archetypal_loss: 0.8432 (range: 0.8432 - 0.8432)
kld_loss: 0.1208 (range: 0.1208 - 0.1208)
reconstruction_loss: 0.8432 (range: 0.8432 - 0.8432)
archetype_r2: 0.1315 (range: 0.1315 - 0.1315)
Archetype Transform Summary:
archetype_transform_mean: -0.000900 (range: -0.000900 - -0.000900)
archetype_transform_std: 0.132044 (range: 0.132044 - 0.132044)
archetype_transform_norm: 9.429142 (range: 9.429142 - 9.429142)
archetype_transform_grad_norm: 0.309178 (range: 0.309178 - 0.309178)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0225, max=0.5700, mean=0.1429
Batch reconstruction MSE: 0.8608
Archetype stats: min=-23.3818, max=18.0523
Archetype change since last debug: 1.651501
Archetype gradients: norm=0.027674, mean=0.001120
Epoch 1/1
Average loss: 0.7695
Archetypal loss: 0.8388
KLD loss: 0.1460
Reconstruction loss: 0.8388
Archetype R²: 0.1365
Archetype transform grad norm: 0.313577
Archetype transform param norm: 9.4860
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.7695 (range: 0.7695 - 0.7695)
archetypal_loss: 0.8388 (range: 0.8388 - 0.8388)
kld_loss: 0.1460 (range: 0.1460 - 0.1460)
reconstruction_loss: 0.8388 (range: 0.8388 - 0.8388)
archetype_r2: 0.1365 (range: 0.1365 - 0.1365)
Archetype Transform Summary:
archetype_transform_mean: -0.000869 (range: -0.000869 - -0.000869)
archetype_transform_std: 0.132840 (range: 0.132840 - 0.132840)
archetype_transform_norm: 9.485969 (range: 9.485969 - 9.485969)
archetype_transform_grad_norm: 0.313577 (range: 0.313577 - 0.313577)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0202, max=0.5044, mean=0.1429
Batch reconstruction MSE: 1.0268
Archetype stats: min=-23.7171, max=18.4018
Archetype change since last debug: 2.362778
Archetype gradients: norm=0.041526, mean=0.001353
Epoch 1/1
Average loss: 0.7697
Archetypal loss: 0.8420
KLD loss: 0.1185
Reconstruction loss: 0.8420
Archetype R²: 0.1327
Archetype transform grad norm: 0.311992
Archetype transform param norm: 9.5182
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.7697 (range: 0.7697 - 0.7697)
archetypal_loss: 0.8420 (range: 0.8420 - 0.8420)
kld_loss: 0.1185 (range: 0.1185 - 0.1185)
reconstruction_loss: 0.8420 (range: 0.8420 - 0.8420)
archetype_r2: 0.1327 (range: 0.1327 - 0.1327)
Archetype Transform Summary:
archetype_transform_mean: -0.000852 (range: -0.000852 - -0.000852)
archetype_transform_std: 0.133291 (range: 0.133291 - 0.133291)
archetype_transform_norm: 9.518171 (range: 9.518171 - 9.518171)
archetype_transform_grad_norm: 0.311992 (range: 0.311992 - 0.311992)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0221, max=0.5468, mean=0.1429
Batch reconstruction MSE: 0.8557
Archetype stats: min=-24.0208, max=18.3192
Archetype change since last debug: 1.761969
Archetype gradients: norm=0.047563, mean=0.001692
Epoch 1/1
Average loss: 0.7684
Archetypal loss: 0.8380
KLD loss: 0.1419
Reconstruction loss: 0.8380
Archetype R²: 0.1372
Archetype transform grad norm: 0.315619
Archetype transform param norm: 9.5666
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.7684 (range: 0.7684 - 0.7684)
archetypal_loss: 0.8380 (range: 0.8380 - 0.8380)
kld_loss: 0.1419 (range: 0.1419 - 0.1419)
reconstruction_loss: 0.8380 (range: 0.8380 - 0.8380)
archetype_r2: 0.1372 (range: 0.1372 - 0.1372)
Archetype Transform Summary:
archetype_transform_mean: -0.000790 (range: -0.000790 - -0.000790)
archetype_transform_std: 0.133970 (range: 0.133970 - 0.133970)
archetype_transform_norm: 9.566607 (range: 9.566607 - 9.566607)
archetype_transform_grad_norm: 0.315619 (range: 0.315619 - 0.315619)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0206, max=0.4917, mean=0.1429
Batch reconstruction MSE: 1.0385
Archetype stats: min=-24.4247, max=18.7330
Archetype change since last debug: 2.344068
Archetype gradients: norm=0.061100, mean=0.002299
Epoch 1/1
Average loss: 0.7699
Archetypal loss: 0.8421
KLD loss: 0.1193
Reconstruction loss: 0.8421
Archetype R²: 0.1324
Archetype transform grad norm: 0.333070
Archetype transform param norm: 9.6002
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.7699 (range: 0.7699 - 0.7699)
archetypal_loss: 0.8421 (range: 0.8421 - 0.8421)
kld_loss: 0.1193 (range: 0.1193 - 0.1193)
reconstruction_loss: 0.8421 (range: 0.8421 - 0.8421)
archetype_r2: 0.1324 (range: 0.1324 - 0.1324)
Archetype Transform Summary:
archetype_transform_mean: -0.000887 (range: -0.000887 - -0.000887)
archetype_transform_std: 0.134440 (range: 0.134440 - 0.134440)
archetype_transform_norm: 9.600189 (range: 9.600189 - 9.600189)
archetype_transform_grad_norm: 0.333070 (range: 0.333070 - 0.333070)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0226, max=0.5296, mean=0.1429
Batch reconstruction MSE: 0.9128
Archetype stats: min=-24.7272, max=18.6958
Archetype change since last debug: 1.835927
Archetype gradients: norm=0.069205, mean=0.002568
Epoch 1/1
Average loss: 0.7684
Archetypal loss: 0.8390
KLD loss: 0.1333
Reconstruction loss: 0.8390
Archetype R²: 0.1360
Archetype transform grad norm: 0.327910
Archetype transform param norm: 9.6275
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.7684 (range: 0.7684 - 0.7684)
archetypal_loss: 0.8390 (range: 0.8390 - 0.8390)
kld_loss: 0.1333 (range: 0.1333 - 0.1333)
reconstruction_loss: 0.8390 (range: 0.8390 - 0.8390)
archetype_r2: 0.1360 (range: 0.1360 - 0.1360)
Archetype Transform Summary:
archetype_transform_mean: -0.000808 (range: -0.000808 - -0.000808)
archetype_transform_std: 0.134823 (range: 0.134823 - 0.134823)
archetype_transform_norm: 9.627507 (range: 9.627507 - 9.627507)
archetype_transform_grad_norm: 0.327910 (range: 0.327910 - 0.327910)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0239, max=0.5033, mean=0.1429
Batch reconstruction MSE: 0.9939
Archetype stats: min=-25.2076, max=19.0786
Archetype change since last debug: 2.074641
Archetype gradients: norm=0.072909, mean=0.002932
Epoch 1/1
Average loss: 0.7698
Archetypal loss: 0.8416
KLD loss: 0.1240
Reconstruction loss: 0.8416
Archetype R²: 0.1331
Archetype transform grad norm: 0.348830
Archetype transform param norm: 9.6612
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.7698 (range: 0.7698 - 0.7698)
archetypal_loss: 0.8416 (range: 0.8416 - 0.8416)
kld_loss: 0.1240 (range: 0.1240 - 0.1240)
reconstruction_loss: 0.8416 (range: 0.8416 - 0.8416)
archetype_r2: 0.1331 (range: 0.1331 - 0.1331)
Archetype Transform Summary:
archetype_transform_mean: -0.000911 (range: -0.000911 - -0.000911)
archetype_transform_std: 0.135294 (range: 0.135294 - 0.135294)
archetype_transform_norm: 9.661226 (range: 9.661226 - 9.661226)
archetype_transform_grad_norm: 0.348830 (range: 0.348830 - 0.348830)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0257, max=0.5152, mean=0.1429
Batch reconstruction MSE: 1.0142
Archetype stats: min=-25.4515, max=19.0632
Archetype change since last debug: 2.116832
Archetype gradients: norm=0.093747, mean=0.003504
Epoch 1/1
Average loss: 0.7708
Archetypal loss: 0.8422
KLD loss: 0.1283
Reconstruction loss: 0.8422
Archetype R²: 0.1323
Archetype transform grad norm: 0.355995
Archetype transform param norm: 9.6673
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.7708 (range: 0.7708 - 0.7708)
archetypal_loss: 0.8422 (range: 0.8422 - 0.8422)
kld_loss: 0.1283 (range: 0.1283 - 0.1283)
reconstruction_loss: 0.8422 (range: 0.8422 - 0.8422)
archetype_r2: 0.1323 (range: 0.1323 - 0.1323)
Archetype Transform Summary:
archetype_transform_mean: -0.000848 (range: -0.000848 - -0.000848)
archetype_transform_std: 0.135380 (range: 0.135380 - 0.135380)
archetype_transform_norm: 9.667324 (range: 9.667324 - 9.667324)
archetype_transform_grad_norm: 0.355995 (range: 0.355995 - 0.355995)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0236, max=0.5050, mean=0.1429
Batch reconstruction MSE: 1.0666
Archetype stats: min=-25.8078, max=19.3820
Archetype change since last debug: 2.283348
Archetype gradients: norm=0.078613, mean=0.003317
Epoch 1/1
Average loss: 0.7727
Archetypal loss: 0.8441
KLD loss: 0.1309
Reconstruction loss: 0.8441
Archetype R²: 0.1303
Archetype transform grad norm: 0.369483
Archetype transform param norm: 9.6767
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.7727 (range: 0.7727 - 0.7727)
archetypal_loss: 0.8441 (range: 0.8441 - 0.8441)
kld_loss: 0.1309 (range: 0.1309 - 0.1309)
reconstruction_loss: 0.8441 (range: 0.8441 - 0.8441)
archetype_r2: 0.1303 (range: 0.1303 - 0.1303)
Archetype Transform Summary:
archetype_transform_mean: -0.000914 (range: -0.000914 - -0.000914)
archetype_transform_std: 0.135511 (range: 0.135511 - 0.135511)
archetype_transform_norm: 9.676681 (range: 9.676681 - 9.676681)
archetype_transform_grad_norm: 0.369483 (range: 0.369483 - 0.369483)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0328, max=0.4697, mean=0.1429
Batch reconstruction MSE: 1.0738
Archetype stats: min=-25.6828, max=19.0367
Archetype change since last debug: 2.087989
Archetype gradients: norm=0.083810, mean=0.002967
Epoch 1/1
Average loss: 0.7705
Archetypal loss: 0.8428
KLD loss: 0.1202
Reconstruction loss: 0.8428
Archetype R²: 0.1315
Archetype transform grad norm: 0.350181
Archetype transform param norm: 9.6748
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.7705 (range: 0.7705 - 0.7705)
archetypal_loss: 0.8428 (range: 0.8428 - 0.8428)
kld_loss: 0.1202 (range: 0.1202 - 0.1202)
reconstruction_loss: 0.8428 (range: 0.8428 - 0.8428)
archetype_r2: 0.1315 (range: 0.1315 - 0.1315)
Archetype Transform Summary:
archetype_transform_mean: -0.000870 (range: -0.000870 - -0.000870)
archetype_transform_std: 0.135485 (range: 0.135485 - 0.135485)
archetype_transform_norm: 9.674835 (range: 9.674835 - 9.674835)
archetype_transform_grad_norm: 0.350181 (range: 0.350181 - 0.350181)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0227, max=0.5398, mean=0.1429
Batch reconstruction MSE: 0.9578
Archetype stats: min=-26.0052, max=19.1525
Archetype change since last debug: 2.318023
Archetype gradients: norm=0.052681, mean=0.002351
Epoch 1/1
Average loss: 0.7690
Archetypal loss: 0.8397
KLD loss: 0.1322
Reconstruction loss: 0.8397
Archetype R²: 0.1350
Archetype transform grad norm: 0.338324
Archetype transform param norm: 9.6957
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.7690 (range: 0.7690 - 0.7690)
archetypal_loss: 0.8397 (range: 0.8397 - 0.8397)
kld_loss: 0.1322 (range: 0.1322 - 0.1322)
reconstruction_loss: 0.8397 (range: 0.8397 - 0.8397)
archetype_r2: 0.1350 (range: 0.1350 - 0.1350)
Archetype Transform Summary:
archetype_transform_mean: -0.000885 (range: -0.000885 - -0.000885)
archetype_transform_std: 0.135778 (range: 0.135778 - 0.135778)
archetype_transform_norm: 9.695720 (range: 9.695720 - 9.695720)
archetype_transform_grad_norm: 0.338324 (range: 0.338324 - 0.338324)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0291, max=0.5095, mean=0.1429
Batch reconstruction MSE: 0.9856
Archetype stats: min=-25.6827, max=19.0613
Archetype change since last debug: 2.011958
Archetype gradients: norm=0.066152, mean=0.002075
Epoch 1/1
Average loss: 0.7673
Archetypal loss: 0.8397
KLD loss: 0.1152
Reconstruction loss: 0.8397
Archetype R²: 0.1348
Archetype transform grad norm: 0.325461
Archetype transform param norm: 9.7168
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.7673 (range: 0.7673 - 0.7673)
archetypal_loss: 0.8397 (range: 0.8397 - 0.8397)
kld_loss: 0.1152 (range: 0.1152 - 0.1152)
reconstruction_loss: 0.8397 (range: 0.8397 - 0.8397)
archetype_r2: 0.1348 (range: 0.1348 - 0.1348)
Archetype Transform Summary:
archetype_transform_mean: -0.000880 (range: -0.000880 - -0.000880)
archetype_transform_std: 0.136073 (range: 0.136073 - 0.136073)
archetype_transform_norm: 9.716815 (range: 9.716815 - 9.716815)
archetype_transform_grad_norm: 0.325461 (range: 0.325461 - 0.325461)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0221, max=0.5090, mean=0.1429
Batch reconstruction MSE: 0.8605
Archetype stats: min=-26.0629, max=19.4730
Archetype change since last debug: 1.841113
Archetype gradients: norm=0.052671, mean=0.002108
Epoch 1/1
Average loss: 0.7662
Archetypal loss: 0.8372
KLD loss: 0.1272
Reconstruction loss: 0.8372
Archetype R²: 0.1378
Archetype transform grad norm: 0.333004
Archetype transform param norm: 9.7555
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.7662 (range: 0.7662 - 0.7662)
archetypal_loss: 0.8372 (range: 0.8372 - 0.8372)
kld_loss: 0.1272 (range: 0.1272 - 0.1272)
reconstruction_loss: 0.8372 (range: 0.8372 - 0.8372)
archetype_r2: 0.1378 (range: 0.1378 - 0.1378)
Archetype Transform Summary:
archetype_transform_mean: -0.000922 (range: -0.000922 - -0.000922)
archetype_transform_std: 0.136614 (range: 0.136614 - 0.136614)
archetype_transform_norm: 9.755474 (range: 9.755474 - 9.755474)
archetype_transform_grad_norm: 0.333004 (range: 0.333004 - 0.333004)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0271, max=0.4905, mean=0.1429
Batch reconstruction MSE: 0.9787
Archetype stats: min=-26.0426, max=19.4315
Archetype change since last debug: 2.094244
Archetype gradients: norm=0.074177, mean=0.002468
Epoch 1/1
Average loss: 0.7670
Archetypal loss: 0.8395
KLD loss: 0.1142
Reconstruction loss: 0.8395
Archetype R²: 0.1350
Archetype transform grad norm: 0.331291
Archetype transform param norm: 9.7782
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.7670 (range: 0.7670 - 0.7670)
archetypal_loss: 0.8395 (range: 0.8395 - 0.8395)
kld_loss: 0.1142 (range: 0.1142 - 0.1142)
reconstruction_loss: 0.8395 (range: 0.8395 - 0.8395)
archetype_r2: 0.1350 (range: 0.1350 - 0.1350)
Archetype Transform Summary:
archetype_transform_mean: -0.000887 (range: -0.000887 - -0.000887)
archetype_transform_std: 0.136933 (range: 0.136933 - 0.136933)
archetype_transform_norm: 9.778249 (range: 9.778249 - 9.778249)
archetype_transform_grad_norm: 0.331291 (range: 0.331291 - 0.331291)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0264, max=0.5512, mean=0.1429
Batch reconstruction MSE: 0.9582
Archetype stats: min=-26.5523, max=19.7636
Archetype change since last debug: 1.697210
Archetype gradients: norm=0.075848, mean=0.002872
Epoch 1/1
Average loss: 0.7689
Archetypal loss: 0.8402
KLD loss: 0.1272
Reconstruction loss: 0.8402
Archetype R²: 0.1343
Archetype transform grad norm: 0.347880
Archetype transform param norm: 9.7853
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.7689 (range: 0.7689 - 0.7689)
archetypal_loss: 0.8402 (range: 0.8402 - 0.8402)
kld_loss: 0.1272 (range: 0.1272 - 0.1272)
reconstruction_loss: 0.8402 (range: 0.8402 - 0.8402)
archetype_r2: 0.1343 (range: 0.1343 - 0.1343)
Archetype Transform Summary:
archetype_transform_mean: -0.001036 (range: -0.001036 - -0.001036)
archetype_transform_std: 0.137032 (range: 0.137032 - 0.137032)
archetype_transform_norm: 9.785343 (range: 9.785343 - 9.785343)
archetype_transform_grad_norm: 0.347880 (range: 0.347880 - 0.347880)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0246, max=0.4641, mean=0.1429
Batch reconstruction MSE: 1.0694
Archetype stats: min=-26.3990, max=19.7050
Archetype change since last debug: 1.821298
Archetype gradients: norm=0.074595, mean=0.002711
Epoch 1/1
Average loss: 0.7699
Archetypal loss: 0.8423
KLD loss: 0.1180
Reconstruction loss: 0.8423
Archetype R²: 0.1319
Archetype transform grad norm: 0.347772
Archetype transform param norm: 9.7811
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.7699 (range: 0.7699 - 0.7699)
archetypal_loss: 0.8423 (range: 0.8423 - 0.8423)
kld_loss: 0.1180 (range: 0.1180 - 0.1180)
reconstruction_loss: 0.8423 (range: 0.8423 - 0.8423)
archetype_r2: 0.1319 (range: 0.1319 - 0.1319)
Archetype Transform Summary:
archetype_transform_mean: -0.000961 (range: -0.000961 - -0.000961)
archetype_transform_std: 0.136973 (range: 0.136973 - 0.136973)
archetype_transform_norm: 9.781088 (range: 9.781088 - 9.781088)
archetype_transform_grad_norm: 0.347772 (range: 0.347772 - 0.347772)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0299, max=0.5152, mean=0.1429
Batch reconstruction MSE: 0.9295
Archetype stats: min=-26.6759, max=19.9263
Archetype change since last debug: 1.680307
Archetype gradients: norm=0.062087, mean=0.002510
Epoch 1/1
Average loss: 0.7671
Archetypal loss: 0.8383
KLD loss: 0.1259
Reconstruction loss: 0.8383
Archetype R²: 0.1364
Archetype transform grad norm: 0.336527
Archetype transform param norm: 9.7884
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.7671 (range: 0.7671 - 0.7671)
archetypal_loss: 0.8383 (range: 0.8383 - 0.8383)
kld_loss: 0.1259 (range: 0.1259 - 0.1259)
reconstruction_loss: 0.8383 (range: 0.8383 - 0.8383)
archetype_r2: 0.1364 (range: 0.1364 - 0.1364)
Archetype Transform Summary:
archetype_transform_mean: -0.001117 (range: -0.001117 - -0.001117)
archetype_transform_std: 0.137074 (range: 0.137074 - 0.137074)
archetype_transform_norm: 9.788397 (range: 9.788397 - 9.788397)
archetype_transform_grad_norm: 0.336527 (range: 0.336527 - 0.336527)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0195, max=0.4681, mean=0.1429
Batch reconstruction MSE: 1.0486
Archetype stats: min=-26.7987, max=19.7706
Archetype change since last debug: 1.839536
Archetype gradients: norm=0.061924, mean=0.002677
Epoch 1/1
Average loss: 0.7684
Archetypal loss: 0.8408
KLD loss: 0.1164
Reconstruction loss: 0.8408
Archetype R²: 0.1334
Archetype transform grad norm: 0.341220
Archetype transform param norm: 9.7993
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.7684 (range: 0.7684 - 0.7684)
archetypal_loss: 0.8408 (range: 0.8408 - 0.8408)
kld_loss: 0.1164 (range: 0.1164 - 0.1164)
reconstruction_loss: 0.8408 (range: 0.8408 - 0.8408)
archetype_r2: 0.1334 (range: 0.1334 - 0.1334)
Archetype Transform Summary:
archetype_transform_mean: -0.000982 (range: -0.000982 - -0.000982)
archetype_transform_std: 0.137228 (range: 0.137228 - 0.137228)
archetype_transform_norm: 9.799303 (range: 9.799303 - 9.799303)
archetype_transform_grad_norm: 0.341220 (range: 0.341220 - 0.341220)
Starting training for 1 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: False, Validating constraints: False
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0322, max=0.5393, mean=0.1429
Batch reconstruction MSE: 0.9516
Archetype stats: min=-26.7229, max=19.9745
Archetype change since last debug: 1.661466
Archetype gradients: norm=0.056910, mean=0.002253
Epoch 1/1
Average loss: 0.7665
Archetypal loss: 0.8381
KLD loss: 0.1221
Reconstruction loss: 0.8381
Archetype R²: 0.1364
Archetype transform grad norm: 0.330355
Archetype transform param norm: 9.8086
============================================================
TRAINING COMPLETED
============================================================
Final Performance:
loss: 0.7665 (range: 0.7665 - 0.7665)
archetypal_loss: 0.8381 (range: 0.8381 - 0.8381)
kld_loss: 0.1221 (range: 0.1221 - 0.1221)
reconstruction_loss: 0.8381 (range: 0.8381 - 0.8381)
archetype_r2: 0.1364 (range: 0.1364 - 0.1364)
Archetype Transform Summary:
archetype_transform_mean: -0.001136 (range: -0.001136 - -0.001136)
archetype_transform_std: 0.137357 (range: 0.137357 - 0.137357)
archetype_transform_norm: 9.808614 (range: 9.808614 - 9.808614)
archetype_transform_grad_norm: 0.330355 (range: 0.330355 - 0.330355)
[OK] Completed in 68.1s
[STATS] Mean archetype R²: 0.1298
[STATS] Mean validation R²: 0.1298
Grid search completed!
Best configuration: 7 archetypes, [128] hidden dims, λ=1.5
Archetype R²: 0.1306
#1: n_archetypes=7, R²=0.1306
#2: n_archetypes=7, R²=0.1298
#3: n_archetypes=7, R²=0.1293
#4: n_archetypes=7, R²=0.1287
#5: n_archetypes=6, R²=0.1120
[13]:
# Elbow plot to select optimal n_archetypes
pc.pl.elbow_curve(cv_summary)
Data type cannot be displayed: application/vnd.plotly.v1+json
Step 4: Train Final Model#
Train with the selected number of archetypes. Remember to set pca_key='X_lsi'.
[14]:
n_archetypes = 5 # Adjust based on elbow plot / CV results
results = pc.tl.train_archetypal(
adata,
n_archetypes=n_archetypes,
n_epochs=50,
hidden_dims=[256, 128, 64],
pca_key="X_lsi",
device="cpu",
)
print(f"Final archetype R²: {results.get('final_archetype_r2', 'N/A')}")
[OK] Using specified PCA coordinates: adata.obsm['X_lsi'] (18315, 50)
[STATS] DataLoader created: 18315 cells Ă— 50 PCA components
Config: batch_size=128, workers=0 (Apple Silicon)
Archetypes parameter registered: True
Archetypes requires_grad: True
Deep_AA (Deep Archetypal Analysis) initialized:
- Single-stage architecture (like Deep_2)
- Inflation factor: 1.5
- Direct archetypal coordinates (no bottleneck)
Initializing with PCHA + inflation_factor=1.5...
Consolidated Archetype Initialization
PCHA: True, Inflation: True (factor: 1.5)
Test inflation: False
Running PCHA initialization...
Input shape: (1000, 50)
Target archetypes: 5
Running PCHA with 5 archetypes...
Data shape for PCHA: (50, 1000)
PCHA Results:
Archetypes shape: (5, 50)
Archetype R²: 0.1430
SSE: 42919.9264
PCHA archetype R²: 0.1430
Archetype shape: (5, 50)
[OK] Initialized 5 archetypes using PCHA
Scalar Archetypal Inflation (factor: 1.50)
[OK] Inflation complete
[STATS] Positioning verification:
Data radius (max): 114.600
Data radius (mean): 6.289
Archetype distances: 5.203 to 53.422
Archetypes outside data: 0/5
Min archetype separation: 7.583
[OK] Archetype initialization complete (success: True)
[OK] PCHA + inflation initialization successful!
Starting training for 50 epochs...
Device: cpu
Archetypal weight: 0.9, KLD weight: 0.1, Reconstruction weight: 0.0
(Model configured: arch=0.9, kld=0.1)
Tracking stability: True, Validating constraints: True
Epoch 0 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0042, max=0.8393, mean=0.2000
Batch reconstruction MSE: 1.3985
Archetype stats: min=-5.4128, max=3.3228
Archetype gradients: norm=0.032672, mean=0.001352
Epoch 1/50
Average loss: 0.9056
Archetypal loss: 1.0030
KLD loss: 0.0289
Reconstruction loss: 1.0030
Archetype R²: -0.0154
Archetype transform grad norm: 0.275696
Archetype transform param norm: 5.7963
Constraints satisfied: True
Constraint violation rate: 0.000
Archetype drift (mean): 0.000000
Epoch 2 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0007, max=0.9910, mean=0.2000
Batch reconstruction MSE: 1.5985
Archetype stats: min=-7.0265, max=6.7942
Archetype change since last debug: 25.657192
Archetype gradients: norm=0.043958, mean=0.002055
Epoch 4 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0048, max=0.9139, mean=0.2000
Batch reconstruction MSE: 1.9805
Archetype stats: min=-12.5378, max=12.9206
Archetype change since last debug: 22.271404
Archetype gradients: norm=0.104397, mean=0.004766
Epoch 6/50
Average loss: 0.8371
Archetypal loss: 0.9187
KLD loss: 0.1028
Reconstruction loss: 0.9187
Archetype R²: 0.0753
Archetype transform grad norm: 0.318739
Archetype transform param norm: 7.2826
Epoch 6 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0081, max=0.7607, mean=0.2000
Batch reconstruction MSE: 1.7452
Archetype stats: min=-13.9404, max=14.1674
Archetype change since last debug: 9.889637
Archetype gradients: norm=0.118433, mean=0.005023
Epoch 8 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0264, max=0.7426, mean=0.2000
Batch reconstruction MSE: 1.5404
Archetype stats: min=-14.7360, max=14.6087
Archetype change since last debug: 5.726437
Archetype gradients: norm=0.105707, mean=0.004238
Epoch 10 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0221, max=0.6078, mean=0.2000
Batch reconstruction MSE: 1.3963
Archetype stats: min=-15.6068, max=15.5202
Archetype change since last debug: 4.754302
Archetype gradients: norm=0.088161, mean=0.003758
Epoch 11/50
Average loss: 0.8286
Archetypal loss: 0.9114
KLD loss: 0.0838
Reconstruction loss: 0.9114
Archetype R²: 0.0811
Archetype transform grad norm: 0.320099
Archetype transform param norm: 7.6759
Constraints satisfied: True
Constraint violation rate: 0.000
Archetype drift (mean): 2.023919
Epoch 12 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0272, max=0.6957, mean=0.2000
Batch reconstruction MSE: 1.3871
Archetype stats: min=-16.5924, max=16.6468
Archetype change since last debug: 4.278627
Archetype gradients: norm=0.066130, mean=0.002976
Epoch 14 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0398, max=0.4538, mean=0.2000
Batch reconstruction MSE: 1.2673
Archetype stats: min=-17.2636, max=17.5290
Archetype change since last debug: 3.775030
Archetype gradients: norm=0.056299, mean=0.002323
Epoch 16/50
Average loss: 0.8286
Archetypal loss: 0.9118
KLD loss: 0.0798
Reconstruction loss: 0.9118
Archetype R²: 0.0831
Archetype transform grad norm: 0.333253
Archetype transform param norm: 7.9429
Epoch 16 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0505, max=0.5187, mean=0.2000
Batch reconstruction MSE: 1.4090
Archetype stats: min=-17.7244, max=17.9380
Archetype change since last debug: 3.002614
Archetype gradients: norm=0.100630, mean=0.004259
Epoch 18 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0345, max=0.4531, mean=0.2000
Batch reconstruction MSE: 1.3097
Archetype stats: min=-17.8201, max=18.2691
Archetype change since last debug: 2.077428
Archetype gradients: norm=0.103521, mean=0.003866
Epoch 20 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0531, max=0.4646, mean=0.2000
Batch reconstruction MSE: 1.5179
Archetype stats: min=-18.7622, max=18.7939
Archetype change since last debug: 2.759326
Archetype gradients: norm=0.062463, mean=0.003142
Epoch 21/50
Average loss: 0.8304
Archetypal loss: 0.9138
KLD loss: 0.0804
Reconstruction loss: 0.9138
Archetype R²: 0.0841
Archetype transform grad norm: 0.329047
Archetype transform param norm: 8.0555
Constraints satisfied: True
Constraint violation rate: 0.000
Archetype drift (mean): 1.147955
Epoch 22 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0608, max=0.4262, mean=0.2000
Batch reconstruction MSE: 1.4698
Archetype stats: min=-19.4325, max=19.3537
Archetype change since last debug: 2.749844
Archetype gradients: norm=0.079130, mean=0.003355
Epoch 24 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0533, max=0.4892, mean=0.2000
Batch reconstruction MSE: 1.4084
Archetype stats: min=-18.8239, max=19.2779
Archetype change since last debug: 1.956011
Archetype gradients: norm=0.075708, mean=0.003156
Epoch 26/50
Average loss: 0.8246
Archetypal loss: 0.9077
KLD loss: 0.0766
Reconstruction loss: 0.9077
Archetype R²: 0.0846
Archetype transform grad norm: 0.317719
Archetype transform param norm: 8.1480
Epoch 26 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0682, max=0.4923, mean=0.2000
Batch reconstruction MSE: 1.3608
Archetype stats: min=-18.7218, max=18.9529
Archetype change since last debug: 1.950716
Archetype gradients: norm=0.070516, mean=0.003153
Epoch 28 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0673, max=0.4400, mean=0.2000
Batch reconstruction MSE: 1.3485
Archetype stats: min=-18.6983, max=18.8662
Archetype change since last debug: 2.215880
Archetype gradients: norm=0.076400, mean=0.003763
Epoch 30 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0719, max=0.4162, mean=0.2000
Batch reconstruction MSE: 1.2096
Archetype stats: min=-18.8647, max=19.0529
Archetype change since last debug: 1.789942
Archetype gradients: norm=0.065928, mean=0.003180
Epoch 31/50
Average loss: 0.8240
Archetypal loss: 0.9074
KLD loss: 0.0735
Reconstruction loss: 0.9074
Archetype R²: 0.0857
Archetype transform grad norm: 0.312012
Archetype transform param norm: 8.2404
Constraints satisfied: True
Constraint violation rate: 0.000
Archetype drift (mean): 0.852015
Epoch 32 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0493, max=0.5094, mean=0.2000
Batch reconstruction MSE: 1.5604
Archetype stats: min=-19.2614, max=19.5202
Archetype change since last debug: 1.909075
Archetype gradients: norm=0.094676, mean=0.004720
Epoch 34 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0682, max=0.4532, mean=0.2000
Batch reconstruction MSE: 1.3119
Archetype stats: min=-18.8431, max=19.6002
Archetype change since last debug: 1.879062
Archetype gradients: norm=0.077832, mean=0.003350
Epoch 36/50
Average loss: 0.8260
Archetypal loss: 0.9096
KLD loss: 0.0739
Reconstruction loss: 0.9096
Archetype R²: 0.0852
Archetype transform grad norm: 0.327810
Archetype transform param norm: 8.2964
Epoch 36 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0563, max=0.5247, mean=0.2000
Batch reconstruction MSE: 1.2099
Archetype stats: min=-19.0733, max=19.8226
Archetype change since last debug: 1.836334
Archetype gradients: norm=0.101521, mean=0.003856
Epoch 38 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0600, max=0.4864, mean=0.2000
Batch reconstruction MSE: 1.1851
Archetype stats: min=-19.5609, max=19.9839
Archetype change since last debug: 1.655625
Archetype gradients: norm=0.061999, mean=0.002747
Epoch 40 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0482, max=0.4198, mean=0.2000
Batch reconstruction MSE: 1.1975
Archetype stats: min=-20.3783, max=20.5837
Archetype change since last debug: 2.175887
Archetype gradients: norm=0.060150, mean=0.002963
Epoch 41/50
Average loss: 0.8233
Archetypal loss: 0.9069
KLD loss: 0.0708
Reconstruction loss: 0.9069
Archetype R²: 0.0856
Archetype transform grad norm: 0.296459
Archetype transform param norm: 8.3410
Constraints satisfied: True
Constraint violation rate: 0.000
Archetype drift (mean): 0.756053
Epoch 42 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0570, max=0.4461, mean=0.2000
Batch reconstruction MSE: 1.3043
Archetype stats: min=-20.7393, max=20.8726
Archetype change since last debug: 1.760280
Archetype gradients: norm=0.074333, mean=0.002672
Epoch 44 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0442, max=0.4004, mean=0.2000
Batch reconstruction MSE: 1.2655
Archetype stats: min=-20.7504, max=20.8811
Archetype change since last debug: 1.480756
Archetype gradients: norm=0.125862, mean=0.004937
Epoch 46/50
Average loss: 0.8254
Archetypal loss: 0.9089
KLD loss: 0.0745
Reconstruction loss: 0.9089
Archetype R²: 0.0836
Archetype transform grad norm: 0.316347
Archetype transform param norm: 8.3383
Epoch 46 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0736, max=0.3772, mean=0.2000
Batch reconstruction MSE: 1.3121
Archetype stats: min=-20.4987, max=20.4097
Archetype change since last debug: 2.464167
Archetype gradients: norm=0.066619, mean=0.003248
Epoch 48 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0815, max=0.4578, mean=0.2000
Batch reconstruction MSE: 1.2338
Archetype stats: min=-20.9418, max=20.7715
Archetype change since last debug: 1.910217
Archetype gradients: norm=0.082456, mean=0.003522
Epoch 49 Debug:
z row sums (should be ~1.0): 1.0000 ± 0.0000
z stats: min=0.0341, max=0.5453, mean=0.2000
Batch reconstruction MSE: 2.0755
Archetype stats: min=-21.2075, max=20.9727
Archetype change since last debug: 1.373140
Archetype gradients: norm=0.085136, mean=0.004253
Epoch 50/50
Average loss: 0.8275
Archetypal loss: 0.9114
KLD loss: 0.0725
Reconstruction loss: 0.9114
Archetype R²: 0.0859
Archetype transform grad norm: 0.310094
Archetype transform param norm: 8.3717
Constraints satisfied: True
Constraint violation rate: 0.000
Archetype drift (mean): 0.871960
============================================================
TRAINING COMPLETED
============================================================
[OK] Stored archetype coordinates in adata.uns['archetype_coordinates']: torch.Size([5, 50])
Final Performance:
loss: 0.8275 (range: 0.8229 - 0.9056)
archetypal_loss: 0.9114 (range: 0.9066 - 1.0030)
kld_loss: 0.0725 (range: 0.0289 - 0.1110)
reconstruction_loss: 0.9114 (range: 0.9066 - 1.0030)
archetype_r2: 0.0859 (range: -0.0154 - 0.0865)
Archetype Transform Summary:
archetype_transform_mean: -0.000536 (range: -0.000585 - 0.000384)
archetype_transform_std: 0.117237 (range: 0.081172 - 0.117457)
archetype_transform_norm: 8.371658 (range: 5.796302 - 8.387358)
archetype_transform_grad_norm: 0.310094 (range: 0.252822 - 0.338460)
Transform mean change: 0.000302
[WARNING] Archetype transform might not be learning enough
Final Stability Metrics:
archetype_drift_mean: 0.871960 (range: 0.000000 - 12.964853)
archetype_variance_mean: 0.008226 (range: 0.000000 - 1.827807)
Final Constraint Status:
A matrix sum error: 0.000000
B matrix sum error: 0.000000
Constraints satisfied: True
Final archetype R²: 0.08587823228703605
[15]:
# Training metrics
pc.pl.training_metrics(results["history"])
Data type cannot be displayed: application/vnd.plotly.v1+json
Data type cannot be displayed: application/vnd.plotly.v1+json
Step 5: Archetype Distances, Positions & Assignments#
Compute distances from each cell to each archetype in LSI space, then assign cells to their nearest archetype.
[16]:
# Compute distances in LSI space
pc.tl.archetypal_coordinates(adata, pca_key="X_lsi")
print(f"Archetype positions: {adata.uns['archetype_coordinates'].shape}")
print(f"Distance matrix: {adata.obsm['archetype_distances'].shape}")
Computing archetype distances in PCA space...
Canonical reference: adata.obs.index (18315 cells)
Found PCA coordinates: X_lsi (18315, 50)
Found archetype coordinates: archetype_coordinates (5, 50)
Computing pairwise distances in PCA space...
[OK] Distance computation complete
Distance matrix shape: (18315, 5)
[OK] Stored in AnnData:
adata.obsm['archetype_distances']: (18315, 5) distance matrix
adata.uns['archetype_positions']: (5, 50) archetype positions
adata.uns['archetype_distance_info']: distance computation metadata
[STATS] Distance Statistics:
Nearest archetype distribution:
Archetype 0: 2795 cells (15.3%), mean distance: 33.5142
Archetype 1: 451 cells (2.5%), mean distance: 34.2035
Archetype 2: 5508 cells (30.1%), mean distance: 33.3467
Archetype 3: 9552 cells (52.2%), mean distance: 33.0764
Archetype 4: 9 cells (0.0%), mean distance: 34.7673
Overall statistics:
Mean nearest distance: 33.2531
Distance range: [28.884, 121.268]
Archetype positions: (5, 50)
Distance matrix: (18315, 5)
[17]:
# Assign cells to archetypes (top 10% closest per archetype)
pc.tl.assign_archetypes(adata, percentage_per_archetype=0.1)
adata.obs["archetypes"].value_counts()
AnnData-centric archetype binning...
Distance matrix: (18315, 5) (from adata.obsm['archetype_distances'])
Canonical cell reference: adata.obs.index (18315 cells)
Selecting top 1831 cells (10.0%) per archetype
INCLUDING central archetype_0 (generalist cells)
Archetype 0 (central): 1831 cells, centroid distance range: [34.8888, 34.9877], mean: 34.9611
Archetype 1: 1831 cells, distance range: [30.8723, 33.4236], mean: 33.0499
Archetype 2: 1831 cells, distance range: [31.7376, 35.0504], mean: 34.4331
Archetype 3: 1831 cells, distance range: [30.5359, 33.0230], mean: 32.6955
Archetype 4: 1831 cells, distance range: [28.8842, 32.4825], mean: 31.8148
Archetype 5: 1831 cells, distance range: [34.3878, 36.4911], mean: 36.1245
[STATS] Assignment Summary:
Total cells: 18315
Archetype 0 (central): 1831 cells (10.0%)
Archetype 1: 1831 cells (10.0%)
Archetype 2: 1831 cells (10.0%)
Archetype 3: 1831 cells (10.0%)
Archetype 4: 1831 cells (10.0%)
Archetype 5: 1831 cells (10.0%)
No archetype: 8816 cells (48.1%)
[WARNING] Overlapping assignments: 2923 cells
[OK] Stored assignments in adata.obs['archetypes']:
Categories: ['archetype_0', 'archetype_1', 'archetype_2', 'archetype_3', 'archetype_4', 'archetype_5', 'no_archetype']
no_archetype: 8816 cells (48.1%)
archetype_1: 1671 cells (9.1%)
archetype_2: 1665 cells (9.1%)
archetype_4: 1643 cells (9.0%)
archetype_5: 1615 cells (8.8%)
archetype_3: 1541 cells (8.4%)
archetype_0: 1364 cells (7.4%)
[17]:
archetypes
no_archetype 8816
archetype_1 1671
archetype_2 1665
archetype_4 1643
archetype_5 1615
archetype_3 1541
archetype_0 1364
Name: count, dtype: int64
[18]:
# Extract barycentric weight matrix (A matrix: rows sum to 1)
weights = pc.tl.extract_archetype_weights(adata, pca_key="X_lsi")
print(f"Weight matrix: {weights.shape}")
print(f"Row sums: min={weights.sum(axis=1).min():.4f}, max={weights.sum(axis=1).max():.4f}")
[STATS] Using model from adata.uns['trained_model']
[STATS] Extracting weights for 18315 cells...
PCA shape: (18315, 50)
Device: cpu
Batch size: 256
Processed 18315/18315 cells...
[OK] Stored cell weights in adata.obsm['cell_archetype_weights']
Shape: (18315, 5)
Range: [0.059, 0.471]
Mean sum: 1.0000
[STATS] Archetype weight statistics:
Archetype 0: mean=0.200, std=0.022, max=0.372, dominant in 0 cells
Archetype 1: mean=0.200, std=0.025, max=0.340, dominant in 0 cells
Archetype 2: mean=0.200, std=0.023, max=0.471, dominant in 0 cells
Archetype 3: mean=0.200, std=0.024, max=0.410, dominant in 0 cells
Archetype 4: mean=0.200, std=0.024, max=0.284, dominant in 0 cells
Weight matrix: (18315, 5)
Row sums: min=1.0000, max=1.0000
[19]:
# Visualize archetype positions
pc.pl.archetype_positions(adata)
[19]:
<Figure size 1500x600 with 3 Axes>
[20]:
pc.pl.archetype_positions_3d(adata)
[20]:
<Figure size 1200x1000 with 2 Axes>
[21]:
# Archetype usage statistics
pc.pl.archetype_statistics(adata)
[STATS] Archetype Statistics
==================================================
Number of archetypes: 5
Embedding dimensions: 50
Distance statistics:
Mean distance: 55.0217
Std distance: 2.5060
Min distance: 51.7099
Max distance: 61.1572
Range: 9.4474
Nearest archetypes: A2 - A4
Farthest archetypes: A2 - A5
[21]:
{'n_archetypes': 5,
'n_dimensions': 50,
'mean_distance': 55.02172860349238,
'std_distance': 2.5060175772077207,
'min_distance': 51.70987714135885,
'max_distance': 61.15724285281022,
'distance_range': 9.447365711451368,
'distance_matrix': array([[ 0. , 54.91483488, 53.69872152, 53.00294838, 56.02309706],
[54.91483488, 0. , 55.20350812, 51.70987714, 61.15724285],
[53.69872152, 55.20350812, 0. , 53.0033917 , 54.70887264],
[53.00294838, 51.70987714, 53.0033917 , 0. , 56.79479174],
[56.02309706, 61.15724285, 54.70887264, 56.79479174, 0. ]]),
'nearest_pair': (1, 3),
'farthest_pair': (1, 4),
'hull_volume': None,
'hull_area': None}
Step 6: Characterization#
Peak Associations#
Test which peaks are differentially accessible per archetype. In scATAC-seq, peaks represent open chromatin regions, so archetype-associated peaks reveal the regulatory programs driving each extreme cell state.
[22]:
gene_results = pc.tl.gene_associations(adata, use_layer=None)
sig = gene_results[gene_results["significant"]]
print(f"Total significant peak-archetype associations: {len(sig)}")
print(f"\nBreakdown by archetype:")
print(sig["archetype"].value_counts())
đź§Ş Testing archetype-gene associations (AnnData-centric)...
Method: mannwhitneyu
FDR correction: benjamini_hochberg (global scope)
Test direction: two-sided
Bin proportion: 0.1 (closest cells to each archetype)
Minimum cells per archetype: 10
Comparison group: all
[WARNING] Using adata.X - assuming data is already log-transformed
[OK] AnnData validation passed:
Distance matrix: (18315, 5) from adata.obsm['archetype_distances']
Archetype assignments: 18315 cells from adata.obs['archetypes']
Assignment categories: ['archetype_0', 'archetype_1', 'archetype_2', 'archetype_3', 'archetype_4', 'archetype_5', 'no_archetype']
Using adata.X
Expression data: 18315 cells Ă— 19281 genes
Sparse matrix: 75.1% zeros
Original format: csr
Using AnnData archetype assignments for binning...
Found 6 archetype categories: ['archetype_0', 'archetype_1', 'archetype_2', 'archetype_3', 'archetype_4', 'archetype_5']
no_archetype: 8816 cells (48.1%)
archetype_1: 1671 cells (9.1%)
archetype_2: 1665 cells (9.1%)
archetype_4: 1643 cells (9.0%)
archetype_5: 1615 cells (8.8%)
archetype_3: 1541 cells (8.4%)
archetype_0: 1364 cells (7.4%)
archetype_0: 1364 assigned cells
archetype_1: 1671 assigned cells
archetype_2: 1665 assigned cells
archetype_3: 1541 assigned cells
archetype_4: 1643 assigned cells
archetype_5: 1615 assigned cells
[OK] Assignment-based binning completed (6 valid archetypes)
Testing archetype_0...
Archetype cells: 1364, Comparison cells: 16951
Extracting expression data for 1364 archetype + 16951 other cells...
[OK] Expression extraction completed - testing 19281 genes...
Tested 19122 genes
Testing archetype_1...
Archetype cells: 1671, Comparison cells: 16644
Extracting expression data for 1671 archetype + 16644 other cells...
[OK] Expression extraction completed - testing 19281 genes...
Tested 19122 genes
Testing archetype_2...
Archetype cells: 1665, Comparison cells: 16650
Extracting expression data for 1665 archetype + 16650 other cells...
[OK] Expression extraction completed - testing 19281 genes...
Tested 19122 genes
Testing archetype_3...
Archetype cells: 1541, Comparison cells: 16774
Extracting expression data for 1541 archetype + 16774 other cells...
[OK] Expression extraction completed - testing 19281 genes...
Tested 19122 genes
Testing archetype_4...
Archetype cells: 1643, Comparison cells: 16672
Extracting expression data for 1643 archetype + 16672 other cells...
[OK] Expression extraction completed - testing 19281 genes...
Tested 19122 genes
Testing archetype_5...
Archetype cells: 1615, Comparison cells: 16700
Extracting expression data for 1615 archetype + 16700 other cells...
[OK] Expression extraction completed - testing 19281 genes...
Tested 19122 genes
Applying FDR correction (benjamini_hochberg, global scope)...
Total tests performed: 79672
[STATS] FDR Correction Statistics:
Method: benjamini_hochberg
Number of tests: 79672
Raw p-values < 0.05: 65371
Min p-value: 9.23e-66
Median p-value: 1.50e-05
FDR-corrected p-values < 0.05: 64632
Correction ratio: 64632/65371 = 0.989
Note: BH assumes independence or positive dependence among tests
Applied global FDR correction: 64632/79672 significant
[OK] Gene association testing completed!
Total tests: 79672
Significant associations: 64632 (81.1%)
Significant by direction: {'two-sided': 64632}
Raw significant (p<0.05): 65371
FDR correction impact: 65371 → 64632
[STATS] Top significant associations per archetype:
archetype_2:
↑ ENSG00000251287: FC=0.26, p=7.35e-61 (higher in archetype) (two-sided)
↑ ENSG00000171943: FC=0.19, p=5.16e-60 (higher in archetype) (two-sided)
↑ ENSG00000081377: FC=0.26, p=5.16e-60 (higher in archetype) (two-sided)
archetype_4:
↑ ENSG00000154864: FC=0.32, p=2.82e-50 (higher in archetype) (two-sided)
↑ ENSG00000196581: FC=0.24, p=2.98e-46 (higher in archetype) (two-sided)
↑ ENSG00000064042: FC=0.31, p=4.08e-41 (higher in archetype) (two-sided)
archetype_1:
↑ ENSG00000148848: FC=0.37, p=1.46e-45 (higher in archetype) (two-sided)
↑ ENSG00000145685: FC=0.27, p=6.24e-33 (higher in archetype) (two-sided)
↑ ENSG00000104490: FC=0.29, p=2.33e-31 (higher in archetype) (two-sided)
archetype_5:
↓ ENSG00000104490: FC=-0.43, p=1.55e-43 (lower in archetype) (two-sided)
↓ ENSG00000135074: FC=-0.29, p=3.47e-41 (lower in archetype) (two-sided)
↓ ENSG00000169744: FC=-0.32, p=7.66e-40 (lower in archetype) (two-sided)
archetype_0:
↓ ENSG00000172572: FC=-0.32, p=5.27e-43 (lower in archetype) (two-sided)
↓ ENSG00000107242: FC=-0.28, p=1.73e-36 (lower in archetype) (two-sided)
↓ ENSG00000074964: FC=-0.31, p=3.10e-36 (lower in archetype) (two-sided)
archetype_3:
↑ ENSG00000124788: FC=0.23, p=8.40e-30 (higher in archetype) (two-sided)
↓ ENSG00000124440: FC=-0.17, p=5.63e-27 (lower in archetype) (two-sided)
↓ ENSG00000109906: FC=-0.28, p=2.47e-26 (lower in archetype) (two-sided)
Total significant peak-archetype associations: 64632
Breakdown by archetype:
archetype
archetype_2 13106
archetype_0 12898
archetype_4 12490
archetype_5 11891
archetype_3 9417
archetype_1 4830
Name: count, dtype: int64
[23]:
# Top differentially accessible peaks per archetype
for arch in sorted(sig["archetype"].unique()):
top = sig[sig["archetype"] == arch].nlargest(5, "log_fold_change")
print(f"\n{arch}:")
for _, row in top.iterrows():
print(f" {row['gene']:30s} LFC={row['log_fold_change']:.3f} FDR={row['fdr_pvalue']:.2e}")
archetype_0:
ENSG00000173068 LFC=0.218 FDR=3.77e-11
ENSG00000157827 LFC=0.207 FDR=2.91e-18
ENSG00000196189 LFC=0.173 FDR=3.75e-08
ENSG00000166250 LFC=0.172 FDR=1.32e-10
ENSG00000007237 LFC=0.149 FDR=2.31e-08
archetype_1:
ENSG00000148848 LFC=0.373 FDR=1.46e-45
ENSG00000173068 LFC=0.288 FDR=1.99e-27
ENSG00000104490 LFC=0.286 FDR=2.33e-31
ENSG00000145685 LFC=0.269 FDR=6.24e-33
ENSG00000184719 LFC=0.243 FDR=7.66e-25
archetype_2:
ENSG00000109906 LFC=0.365 FDR=6.53e-52
ENSG00000142611 LFC=0.352 FDR=9.31e-37
ENSG00000058453 LFC=0.336 FDR=3.38e-43
ENSG00000173175 LFC=0.331 FDR=9.14e-40
ENSG00000079432 LFC=0.318 FDR=4.43e-38
archetype_3:
ENSG00000042832 LFC=0.247 FDR=9.24e-18
ENSG00000124788 LFC=0.233 FDR=8.40e-30
ENSG00000187239 LFC=0.208 FDR=2.70e-18
ENSG00000027075 LFC=0.204 FDR=7.56e-11
ENSG00000067057 LFC=0.202 FDR=2.92e-14
archetype_4:
ENSG00000183287 LFC=0.325 FDR=1.54e-29
ENSG00000154864 LFC=0.317 FDR=2.82e-50
ENSG00000064042 LFC=0.307 FDR=4.08e-41
ENSG00000153944 LFC=0.292 FDR=5.60e-29
ENSG00000173068 LFC=0.283 FDR=1.54e-13
archetype_5:
ENSG00000105650 LFC=0.192 FDR=3.38e-07
ENSG00000123358 LFC=0.137 FDR=5.32e-15
ENSG00000095066 LFC=0.129 FDR=4.88e-16
ENSG00000153487 LFC=0.128 FDR=1.65e-09
ENSG00000181222 LFC=0.127 FDR=1.39e-04
Cell Type Associations (if annotations available)#
Test whether specific cell types are enriched or depleted in each archetype.
[24]:
# Check for cell type annotations
ct_cols = [c for c in adata.obs.columns if 'type' in c.lower() or 'cluster' in c.lower()]
print(f"Candidate annotation columns: {ct_cols}")
if ct_cols:
ct_col = ct_cols[0]
print(f"\nUsing '{ct_col}' for conditional associations")
cond_results = pc.tl.conditional_associations(adata, obs_column=ct_col)
sig_cond = cond_results[cond_results["significant"]]
print(f"{len(sig_cond)} significant associations")
for _, row in sig_cond.nlargest(10, "odds_ratio").iterrows():
direction = "enriched" if row["odds_ratio"] > 1 else "depleted"
print(f" {row['archetype']} x {row['condition']}: OR={row['odds_ratio']:.2f} ({direction})")
else:
print("No cell type annotations found — skip conditional associations")
Candidate annotation columns: ['suspension_type', 'cell_type_ontology_term_id', 'author_cell_type', 'sub_celltype', 'tissue_type', 'cell_type', 'archetypes']
Using 'suspension_type' for conditional associations
đź§Ş Testing archetype-conditional associations...
Condition column: suspension_type
Method: hypergeometric (boolean matrix approach)
Testing 6 archetypes Ă— 1 conditions
Total cells in analysis: 9499
Condition distribution:
nucleus: 9499 cells
Boolean matrices created:
Archetype matrix: (9499, 6) (cells Ă— archetypes)
Condition matrix: (9499, 1) (cells Ă— conditions)
[OK] Conditional association testing completed!
Total tests: 6
Significant associations: 0 (0.0%)
Efficiency: 6/6 tests performed (filtered by min_cells)
0 significant associations
Summary#
AnnData keys created in this tutorial:
Key |
Description |
|---|---|
|
LSI embeddings (TF-IDF + TruncatedSVD) |
|
Variance ratio and component loadings |
|
Archetype positions in LSI space |
|
Cell-to-archetype distance matrix |
|
Categorical archetype assignments |
|
Barycentric coordinates (A matrix) |
Key takeaway: scATAC-seq archetypal analysis is identical to scRNA-seq except for the preprocessing step. Replace log-normalize + PCA with TF-IDF + LSI, then set pca_key='X_lsi' everywhere.
WARNING: The current results are not biologically interpretable. Note the lack of model convergence and low archetypal \(R^2\) obtained. This is a demonstration only. Future work will test archetype analysis from raw ATAC peaks to preserve rank structure in LSI dimensional reduction.