MAGNET: Autonomous Expert Model Generation via Decentralized Autoresearch and BitNet Training
Organizations: Holo Studio Co., Ltd.
Abstract
We present MAGNET (Model Autonomously Growing Network), a decentralized system for autonomous generation, training, and serving of domain-expert language models across commodity hardware. MAGNET integrates four components: (1) autoresearch, an autonomous ML research pipeline that automates dataset generation, hyperparameter exploration, evaluation, and error-driven iteration; (2) BitNet b1.58 ternary training, enabling CPU-native inference via bitnet.cpp without GPU hardware; (3) DiLoCo-based distributed merging for communication-efficient aggregation of domain specialists; and (4) on-chain contribution tracking on the HOOTi EVM chain. We validate autoresearch through three case studies: video safety classification (balanced accuracy 0.9287 to 0.9851), cryptocurrency directional prediction (41% to 54.9% hit rate), and BitNet hyperparameter optimization (10-phase sweep, -16.7% validation loss).
Figures & tables
| Without… | Degradation | Alternative exists? |
|---|---|---|
| Autoresearch | Human bottleneck limits domains and update frequency. | Manual research |
| BitNet | GPU cost excludes most nodes. 4-bit quant is an option but less efficient on CPU. | GPTQ, AWQ |
| DiLoCo | Models remain isolated. FedAvg possible but less communication-efficient. | FedAvg, DeMo |
| On-Chain | Contributions hard to verify at scale. Reputation systems partially substitute. | Reputation, payments |
| Model | Overhead ratio | ||
|---|---|---|---|
| 175B (GPT-3) | 10 s | 5 s | 0.00005% |
| 7B (Llama 2) | 500 ms | 5 s | 0.001% |
| 618M (BitNet) | 10 ms | 5 s | 0.05% |
| 100M (Edge) | 1 ms | 5 s | 0.5% |
| Ver. | bal_acc | FP | FN | Configs | Key Innovation |
|---|---|---|---|---|---|
| Transf. | 0.9287 | 38 | 9 | 690 | End-to-end transformer (failed) |
| v1 | 0.9647 | 24 | 1 | 100 | Tree models + pipeline_pred as feature |
| v2 | 0.9719 | 12 | 5 | 200 | ExtraTrees + class weights |
| v3 | 0.9733 | 13 | 4 | 150 | Per-context LE specialist |
| v4 | 0.9758 | 11 | 4 | 200 | Error analysis + model combination |
| v5 | 0.9783 | 9 | 4 | 298 | Context-conditioned thresholds |
| System | F1 | Bal. Accuracy | Accuracy |
|---|---|---|---|
| ORPO LLM only | 0.173 | 0.269 | 0.232 |
| LGBM + Base LLM | 0.371 | 0.371 | 0.374 |
| LGBM + ORPO LLM | 0.372 | 0.371 | 0.374 |
| LGBM alone (no LLM) | 0.380 | 0.379 | 0.384 |
| Ver. | Data Range | Samples | Features | Hit Rate | Key Innovation |
|---|---|---|---|---|---|
| v4 | 14 days | 504 | 82+6 | 41.0% | Futures data integration (+8.3%) |
| v5 | 1 year | 11,904 | 82+7 | 51.8% | Extended history, funding rate accum. |
| v6 | 6.5 years | 77,771 | 82+10 | 54.9% | Full market cycle coverage |
| Phase | Focus | Configs | Best val_loss | Key Finding |
|---|---|---|---|---|
| 1 | Architecture | 8 | 7.6833 | Wider Deeper (1024d 12L) |
| 2 | Learning rate | 8 | 7.6885 | LR – optimal |
| 3 | Training method | 6 | 7.7802 | Two-stage WD (matches BitNet 2B4T [ 16 ] ) |
| 4 | WSD schedule | 6 | 7.7062 | Warmup 1%, Decay 15% |
| 5 | , weight decay | 6 | 7.7646 | |
| 6 | FFN multiplier | 5 | 7.9323 | 2.67 FFN optimal |
| Parameter | Value |
|---|---|
| Architecture | BitNet b1.58 LLaMA (SwiGLU, RMSNorm, GQA, RoPE) |
| Parameters | 618.3M (tied embeddings) |
| Vocabulary | 128,256 (Llama 3 tokenizer) |
| Training corpus | 3.8B tokens (trilingual) |
| Token:param ratio | 6.1:1 (data-efficient per Spectra [ 10 ] ) |
| LR schedule | WSD (Warmup-Stable-Decay) |
| Domain | Versions | Configs | Improvement | Duration |
|---|---|---|---|---|
| Zevor (video safety) | 9 | 5,000 | bal_acc | 2 days |
| StockClaw (crypto) | 3 | 100 | pp hit rate | 3 days |
| Genkidama (BitNet LM) | 10 phases | 54 | val_loss | 2.3 hours |
| Metric | Measurement | Verification |
|---|---|---|
| Data quality | Held-out evaluation loss | Designed for on-chain reproducibility |
| Training compute | Steps model size | Checkpoint hash |
| Model quality | Benchmark scores | Evaluator consensus (implemented) |
| System | Auto. | Tern. | Merge | Chain | Notes |
| Bittensor | × | × | × | ✓ | Inference market |
| Gensyn | × | × | NoLoCo | In dev. | Compute protocol |
| Prime Intellect | × | × | ✓ | × | OpenDiLoCo, 10B |
| Nous (DeMo) | × | × | ✓ | × | Dist. optimizer |
| Together AI | × | × | × | × | Centralized GPU |
| MAGNET | ✓ | ✓ | ✓ † | ✓ ‡ | This work |
Automated Machine Learning
Automated machine learning (AutoML) builds and tunes data-to-model pipelines with minimal manual effort, balancing predictive quality, compute, and deployment constraints.
See all 96 papers