| { | |
| "id": "dynamic_rank", | |
| "name": "Dynamic Entropy Singular Value Decomposition (Dynamic Entropy SVD) Compress", | |
| "file": "Codes/framework/compression_engine/dynamic_rank.py", | |
| "type": "Compression Engine", | |
| "category": "Low-Rank SVD & Factorization", | |
| "paradigm": "svd", | |
| "icon": "\u26a1", | |
| "description": "Dynamic Entropy Singular Value Decomposition (Dynamic Entropy SVD) Compressor. Implements singular entropy computation over empirical layer activation covariances: $$H(\\Sigma_l) = -\\sum_{i=1}^{d} p_i \\ln(p_i), \\quad p_i = \\frac{\\sigma_i}{\\sum_j \\sigma_j}$$ Dynamically budgets layer ranks $r_l \\in [r_{\\min}, r_{\\max}]$ proportional to singular entropy, subject to global rank or parameter budgets,", | |
| "classes": [ | |
| "DynamicSVDLinear", | |
| "DynamicEntropySVDCompressor", | |
| "DynamicEntropySVDCompressorRegistered", | |
| "EntropyRankAllocatorRegistered" | |
| ], | |
| "methods_count": 21, | |
| "math_latex": "H(\\Sigma_l) = -\\sum_{i=1}^d p_i \\ln(p_i), \\quad p_i = \\frac{\\sigma_i}{\\sum_{j=1}^d \\sigma_j}", | |
| "components": [ | |
| { | |
| "id": "v_factor", | |
| "name": "Factor V (Low-Rank Subspace Projection)", | |
| "role": "Projection to Rank r", | |
| "shape_transform": "[r \u00d7 d_in]", | |
| "color": "#3acbb8", | |
| "math_latex": "z_t = x_t V_r^\\top, \\quad V_r \\in \\mathbb{R}^{r \\times d_{in}}" | |
| }, | |
| { | |
| "id": "u_factor", | |
| "name": "Factor U (Full-Rank Expansion Projection)", | |
| "role": "Expansion to Output Space", | |
| "shape_transform": "[d_out \u00d7 r]", | |
| "color": "#2dd4bf", | |
| "math_latex": "y_t = z_t (\\Sigma_r U_r^\\top) + b, \\quad U_r \\in \\mathbb{R}^{d_{out} \\times r}" | |
| }, | |
| { | |
| "id": "adapter", | |
| "name": "Residual LoRA / Norm Calibration", | |
| "role": "Fidelity Compensation", | |
| "shape_transform": "[d_out \u00d7 d_in] Residual", | |
| "color": "#5eead4", | |
| "math_latex": "\\Delta y_t = x_t (B A)^\\top \\cdot \\frac{\\alpha}{r}, \\quad A \\in \\mathbb{R}^{r \\times d_{in}}, \\; B \\in \\mathbb{R}^{d_{out} \\times r}" | |
| } | |
| ], | |
| "model_projections": { | |
| "distilbert": { | |
| "hidden_size": 768, | |
| "intermediate_size": 3072, | |
| "baseline_layer_params": 6488064, | |
| "compressed_layer_params": 786432, | |
| "savings_ratio": 8.25 | |
| }, | |
| "roberta": { | |
| "hidden_size": 768, | |
| "intermediate_size": 3072, | |
| "baseline_layer_params": 6488064, | |
| "compressed_layer_params": 786432, | |
| "savings_ratio": 8.25 | |
| }, | |
| "gpt2": { | |
| "hidden_size": 768, | |
| "intermediate_size": 3072, | |
| "baseline_layer_params": 6488064, | |
| "compressed_layer_params": 786432, | |
| "savings_ratio": 8.25 | |
| }, | |
| "qwen": { | |
| "hidden_size": 896, | |
| "intermediate_size": 4864, | |
| "baseline_layer_params": 11124736, | |
| "compressed_layer_params": 1081344, | |
| "savings_ratio": 10.29 | |
| } | |
| } | |
| } |
Xet Storage Details
- Size:
- 2.84 kB
- Xet hash:
- 31381bf307ce173a2399b34655ef0915d65f766de01b97c0488b4e1fc88c6333
·
Xet efficiently stores files, intelligently splitting them into unique chunks and accelerating uploads and downloads. More info.