Update README.md
Browse files
README.md
CHANGED
|
@@ -1,13 +1,109 @@
|
|
| 1 |
-
CECP
|
| 2 |
|
| 3 |
-
|
| 4 |
|
| 5 |
-
CECP is an experimental
|
| 6 |
|
| 7 |
-
|
| 8 |
|
| 9 |
-
|
| 10 |
|
| 11 |
-
|
| 12 |
|
| 13 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
# CECP — Co-Evolving Compositional Pre-Training
|
| 2 |
|
| 3 |
+
### Experimental Low Memory Language Model Training Architecture
|
| 4 |
|
| 5 |
+
**CECP (Co-Evolving Compositional Pre-Training)** is an experimental AI training architecture focused on reducing the memory and storage requirements of large language models while preserving as much of their original performance as possible.
|
| 6 |
|
| 7 |
+
Unlike conventional approaches that train a model at higher precision and compress it afterward, CECP explores integrating compression directly into the learning process.
|
| 8 |
|
| 9 |
+
The central idea is simple: **rather than forcing an already trained model into a smaller representation, allow the model to adapt to a compact representation as it learns.**
|
| 10 |
|
| 11 |
+
This approach aims to minimize performance degradation associated with aggressive model compression, potentially enabling capable AI models to operate on hardware with significantly lower memory requirements.
|
| 12 |
|
| 13 |
+
CECP is currently under active research and development.
|
| 14 |
+
|
| 15 |
+
---
|
| 16 |
+
|
| 17 |
+
## Research Objectives
|
| 18 |
+
|
| 19 |
+
CECP is designed around three primary goals:
|
| 20 |
+
|
| 21 |
+
- **Extreme model compression:** Reduce model storage requirements without proportionally sacrificing language model performance.
|
| 22 |
+
- **Compression aware learning:** Allow neural networks to adapt to compact representations throughout training.
|
| 23 |
+
- **Accessible local AI:** Make increasingly capable language models practical on consumer hardware with limited RAM and VRAM.
|
| 24 |
+
|
| 25 |
+
Rather than focusing exclusively on the smallest possible model, CECP investigates the relationship between model capacity, compression, and retained performance.
|
| 26 |
+
|
| 27 |
+
## Preliminary Experimental Results
|
| 28 |
+
|
| 29 |
+
CECP has been evaluated on several experimental language model configurations, including models with approximately 21 million and 53 million parameters.
|
| 30 |
+
|
| 31 |
+
The latest experiments compare CECP against a conventional FP32 baseline using the TinyStories dataset.
|
| 32 |
+
|
| 33 |
+
### 53M Parameter Language Model
|
| 34 |
+
|
| 35 |
+
**Experimental configuration:**
|
| 36 |
+
- Model size: approximately 52.8 million parameters
|
| 37 |
+
- Dataset: TinyStories
|
| 38 |
+
- Training duration: 2,500 optimizer steps
|
| 39 |
+
- Evaluation: validation perplexity
|
| 40 |
+
- Independent training seeds: 3
|
| 41 |
+
- Hardware: NVIDIA Tesla T4
|
| 42 |
+
|
| 43 |
+
| Model | Mean Validation Perplexity ↓ |
|
| 44 |
+
| Dense FP32 | 18.146 ± 0.298 |
|
| 45 |
+
| **CECP-256** | **17.986 ± 0.082** |
|
| 46 |
+
|
| 47 |
+
In these experiments, CECP achieved validation perplexity comparable to the conventional FP32 baseline despite operating with aggressively compressed weight representations.
|
| 48 |
+
|
| 49 |
+
The small difference between the two models should be interpreted as approximate performance parity rather than evidence of general superiority.
|
| 50 |
+
|
| 51 |
+
CECP currently requires more training time than conventional dense training. Improving training efficiency remains an active development priority.
|
| 52 |
+
|
| 53 |
+
### Compression Efficiency
|
| 54 |
+
|
| 55 |
+
CECP's weight representation is designed to support extremely low bit storage.
|
| 56 |
+
|
| 57 |
+
Its compressed projection representation can achieve a nominal one bit per weight index payload, with additional storage required for supporting representation data.
|
| 58 |
+
|
| 59 |
+
The effective compression ratio depends on model architecture, layer dimensions, and configuration.
|
| 60 |
+
|
| 61 |
+
Early experiments have demonstrated substantial projection weight storage reductions. Larger models may benefit from reduced relative representation overhead, although this remains an area of ongoing evaluation.
|
| 62 |
+
|
| 63 |
+
---
|
| 64 |
+
|
| 65 |
+
## Potential Scaling
|
| 66 |
+
|
| 67 |
+
One of the central research questions surrounding CECP is how compression aware learning behaves as model size increases.
|
| 68 |
+
|
| 69 |
+
Early experiments suggest that CECP can maintain competitive language model performance across the small model sizes evaluated so far.
|
| 70 |
+
|
| 71 |
+
Future research will investigate whether these properties extend to:
|
| 72 |
+
|
| 73 |
+
- 100M–500M parameter language models
|
| 74 |
+
- Billion parameter architectures
|
| 75 |
+
- Larger and more diverse training datasets
|
| 76 |
+
- Longer context applications
|
| 77 |
+
- Local deployment on memory constrained consumer hardware
|
| 78 |
+
|
| 79 |
+
As model capacity increases, CECP may offer opportunities to improve the balance between model size and retained capabilities.
|
| 80 |
+
|
| 81 |
+
However, these scaling benefits remain hypotheses until validated through larger experiments.
|
| 82 |
+
|
| 83 |
+
## Research Status
|
| 84 |
+
|
| 85 |
+
**Status: Experimental — Active Development**
|
| 86 |
+
|
| 87 |
+
CECP has demonstrated functional compression aware language model training and promising early validation perplexity results.
|
| 88 |
+
|
| 89 |
+
Further work is required to establish its performance against established low bit training and quantization methods at larger scales.
|
| 90 |
+
|
| 91 |
+
Current research priorities include improving training efficiency, evaluating larger models, verifying end to end deployment memory requirements, and strengthening comparative benchmarks.
|
| 92 |
+
|
| 93 |
+
The complete implementation and selected technical details are not publicly available at this stage.
|
| 94 |
+
|
| 95 |
+
## Project Vision
|
| 96 |
+
|
| 97 |
+
CECP is being developed with a broader objective: making capable AI systems more accessible without requiring increasingly expensive hardware.
|
| 98 |
+
|
| 99 |
+
The long term vision is to explore whether language models can achieve a better balance between intelligence, memory consumption, and deployment efficiency by adapting to compression throughout training.
|
| 100 |
+
|
| 101 |
+
**The objective isn't simply to make AI models smaller. It's to make them learn effectively while being smaller.**
|
| 102 |
+
|
| 103 |
+
---
|
| 104 |
+
|
| 105 |
+
*CECP — Co-Evolving Compositional Pre-Training*
|
| 106 |
+
|
| 107 |
+
*Independent experimental AI architecture research.*
|
| 108 |
+
|
| 109 |
+
*Preliminary results are not evidence of superiority over production scale language models or established quantization methods.*
|