IMPORTANT
This repository is no longer subject to any updates.
The main research and development process of HPM and CogniRay is now moved to: MnemoWare/CogniRay
This repository will remain as the original source and as a part of the history.
Differentiable geometric memory for adaptive reasoning, from MnemoWare.
CogniRay is an experimental cognitive memory system built upon the principles of Holographic Projection Memory (HPM). It is designed as a structured, differentiable, and geometrically projective memory substrate that supports active inference, directional recall, and adaptive semantic imprinting.
This repository contains:
- Theoretical foundations of Holographic Projection Memory (HPM) and CogniRay (see
docs/) - Minimal working implementation of HPM (read/write logic) (see
src/) - Examples and exploratory notebooks demonstrating usage (see
examples/) - [Planned] Core library for structured memory interfaces (see
cogniray/)
Memory is not accessed by keys or positions but by directional projection rays traversing a latent field. This enables:
- Content-based access via spatial geometry
- Localized attention along semantic trajectories
- View-dependent retrieval, mimicking perception
Read and write operations are implemented as smooth, differentiable integrals along rays using soft kernels. This allows:
- Gradient-based learning of both memory and access patterns
- Seamless integration with neural architectures
- Full support for backpropagation and active error correction
Conflicting updates do not overwrite but diverge spatially, forming distinct semantic regions. Benefits include:
- Natural separation of contradictory memories
- Elimination of catastrophic forgetting
- Self-organizing semantic clustering
Memory is not static — it can adapt on the fly by modifying localized regions based on projection errors. This provides:
- Real-time correction of outdated or incomplete knowledge
- On-the-fly learning during inference
- Compatibility with lifelong and self-supervised learning
Hierarchical, multi-resolution projection surfaces allow focus from fine-grained detail to global context, enabling:
- Coarse-to-fine reasoning
- Attention allocation to regions of semantic saliency
- Efficient memory search and reconstruction
Projection direction vectors act as semantic filters, encoding preferences for angular alignment:
- Emulates biological orientation selectivity (e.g., V1 cortex)
- Enables disentangled recall based on directional cues
- Supports dynamic, learnable routing mechanisms
Memory operations are explicitly geometric and spatially structured, which ensures:
- Transparent debugging and visualization of memory state
- Modular composability (e.g., stacking beams, splitting projection surfaces)
- Explainability for cognitive systems and symbolic overlays
Though formulated in continuous space, HPM is implemented via voxelized tensors:
- Compatible with GPU-accelerated rasterization and grid processing
- Supports hybrid symbolic-geometric representations
- Bridges low-level neural fields and high-level memory primitives
- Stable research release (v0.1)
- Core CogniRay module for PyTorch
- Adaptive projection routing and multi-view memory
- Interactive visualization and ray tracing interface
CogniRay is developed by MnemoWare, an independent research initiative building cognitive infrastructures for machine reasoning.
We design memory systems that learn by projecting, adapt by recalling, and scale with understanding.
MnemoWare. Shape your mind.
Project: cogniray.online (coming soon)
Company: mnemoware.com (coming soon)
Telegram group: CogniRay
Telegram channel: MnemoWare
Licensed under Creative Commons Attribution–NonCommercial–ShareAlike 4.0 International (CC BY-NC-SA 4.0) https://creativecommons.org/licenses/by-nc-sa/4.0/
You are free to read, redistribute, and adapt the documentation for non-commercial purposes, provided that:
- Proper attribution is given (Konstantin Bashinskiy)
- Derivative works are shared under the same license
Licensed under the CogniRay Non-Commercial License v1.0 Commercial use is strictly prohibited without prior written permission from the author.
You may use the code for:
- Research
- Education
- Personal non-commercial experimentation
For commercial licensing, please contact: license@cogniray.online
Konstantin Bashinskiy (a.k.a. Sombressoul)
AI researcher, memory reconstruction theorist, and occasional code-wrestler.