Commit graph

2 commits

Author SHA1 Message Date
Reuven
d3229d84d5 docs: reorganize into subfolders
- Create new directories: security/, code-reviews/, analysis/
- Move benchmark files to benchmarks/
- Move security audit files to security/
- Move analysis/research files to analysis/
- Move code review files to code-reviews/
- Move implementation files to implementation/
- Move integration files to integration/
- Move training/LoRA files to training/
- Move architecture files to architecture/
- Move optimization guides to optimization/
- Update INDEX.md with new structure
- Update README.md with new structure
- Update REPO_STRUCTURE.md with new structure

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-21 23:43:50 -05:00
Claude
29a5882b25 feat(nervous-system): Complete bio-inspired neural architecture implementation
Implements a five-layer bio-inspired nervous system for RuVector with:

## Core Layers
- Event Sensing: DVS-style event bus with lock-free queues, sharding, backpressure
- Reflex: K-Winner-Take-All competition, dendritic coincidence detection
- Memory: Modern Hopfield networks, hyperdimensional computing (HDC)
- Learning: BTSP one-shot, E-prop online learning, EWC consolidation
- Coherence: Oscillatory routing, predictive coding, global workspace

## Key Components (22,961 lines)
- HDC: 10,000-bit hypervectors with XOR binding, Hamming similarity
- Hopfield: Exponential capacity 2^(d/2), transformer-equivalent attention
- WTA/K-WTA: <1μs winner selection for 1000 neurons
- Pattern Separation: Dentate gyrus-inspired sparse encoding (2-5% sparsity)
- Dendrite: NMDA coincidence detection, plateau potentials
- BTSP: Seconds-scale eligibility traces for one-shot learning
- E-prop: O(1) memory per synapse, 1000+ms credit assignment
- EWC: Fisher information diagonal for forgetting prevention
- Routing: Kuramoto oscillators, 90-99% bandwidth reduction
- Workspace: 4-7 item capacity per Miller's law

## Performance Targets
- Reflex latency: <100μs (Cognitum tiles)
- Hopfield retrieval: <1ms
- HDC similarity: <100ns via SIMD popcount
- Event throughput: 10,000+ events/ms

## Deployment Mapping
- Phase 1: RuVector foundation (HDC + Hopfield)
- Phase 2: Cognitum reflex tier
- Phase 3: Online learning + coherence routing

## Test Coverage
- 313 tests passing
- Comprehensive benchmarks (latency, memory, throughput)
- Quality metrics (recall, capacity, collision rate)

References: iniVation DVS, Dendrify, Modern Hopfield (Ramsauer 2020),
BTSP (Bittner 2017), E-prop (Bellec 2020), EWC (Kirkpatrick 2017),
Communication Through Coherence (Fries 2015), Global Workspace (Baars)
2025-12-28 04:05:08 +00:00