Repository navigation
Conversation
|
Thanks for the detailed writeup — the acronym stack (HDC = Hyperdimensional Computing, DSV = Directional Semantic Vectors, 1-Step Grad, Sylvester/Hadamard symmetry, radial) describes a genuinely unusual pipeline, and it's clear from the README and the ~10k-line diff that a lot of care went into the multi-phase build (G[p] rolling hash → NMF frequency table → Fibonacci-hash XOR bundles → suffix grammar → LZMA9 artifact). Reviewing as a community member before mods weigh in on the claimed 0.4118 BPB (vs. current SOTA 1.0810 and naive baseline 1.2244). A few questions that would help me and anyone else reading the PR evaluate the claim. 1. Is the eval
|
|
Thank you for the great detailed feedback! For 4., I haven't tested it on the CPU preflight check for the final results so it might not produce the same expected results as the GPU. I have only tested the GPU which can be a bit varied in behavior due to how floats are sometimes calculated in comparison to the slightly different bytes calculation that the HDC uses for massive parallelism on CPU. I will fix the code so that they both use a similar calculation for fairness and accuracy. For 2., I recently explored the NFM more thoroughly and it seems to not contribute at all to the final results and that only the DSV really contributes so it can be completely cut from the pipeline for clarity. I will definitely look into 5. and 6. as well to be sure that the calculations matches what is expected so it is a fair comparison against the transformer baseline for the competition. |
|
Hmm |
- Add new HDC Zero Track 5Mb experiment directory with training scripts - Add scipy, blake3, and cupy to requirements.txt
- Add HDC_Core_Model with consciousness, parallel training, recipes/seeds, relationship encoder, and templates - Add LTX_Model_Transfer_Learning_Instant for instant transfer learning capabilities - Add plans directory with implementation and integration documentation - Add Readmes with biological pipeline integration and architecture documentation - Update HDC Zero Track training scripts and README
…and plans directories; update HDC_Zero_Track_5Mb experiment and requirements.txt
…ormat to competition standard, fix log parsing
- Add batch_projection mode: projects entire dataset into single bundled HDC vector - Add instant_projection mode: GPU-accelerated batch projection (fastest) - Implement O(1) hash-based position lookup via combined_hash - Add iterative batch learning with target accuracy stopping criterion - Add crosstalk prevention via sparse windows and circular shift addressing - Update README with new training modes and documentation
- Add sparse_encode_parallel and sparse_encode_chunked CUDA kernels for parallel position processing - Add sparse_verify_and_correct kernel for GPU-accelerated verification - Implement GPU-accelerated instant_batch_verify_and_correct with CPU fallback - Add instant_projection and batch_projection mode support in training - Update cache statistics to include hits, misses, and hit_rate fields
…move obsolete ternary plan
…modules, and update documentation
- Add _zero_crosstalk.py module implementing Zero-Crosstalk HDC/VSA Memory System - Components: K-Sparsity, Nonlinear Thresholding, Orthogonal Manifold Projection, Semantic Hash-Collating, Fractional Power Encoding - Update README.md with comprehensive documentation for the new module
…osstalk, update README and train_gpt
…update train_gpt.py
- Implement continuous_attention_blend() method for transformer-like attention - Add vectorized batch score computation for performance optimization - Update train_gpt.py to use cluster_enhanced blending mode - Add comprehensive documentation on sparse window vs context window - Semantic layer now contributes at ALL confidence levels (not just fallback)
- Implement TransitionCodebook for permutation-based predictions (2.5× compression) - Implement RecursiveScalarQuantizer for tiered confidence compression (4.2×) - Implement GhostTable combining PTL + RSQ for procedural reconstruction - Add comprehensive tests for all new components - Update README with storage impact analysis (3.4× improvement) - Max tokens in 16MB: 559K → 1.9M tokens
…try, and transition codebook modules - Extended README.md with comprehensive documentation (+544 lines) - Enhanced _semantic_layer.py with improved semantic processing (+556 lines) - Major updates to train_gpt.py with expanded training capabilities (+1417 lines) - Added new _limbic_system.py module for emotional/contextual processing - Added new _moral_geometry.py module for ethical reasoning components - Added new _transition_codebook.py module for state transition handling
- Updated train_gpt.py with new HDC architecture components - Enhanced _semantic_layer.py with improved semantic processing - Expanded _transition_codebook.py with additional transition patterns - Added new modules: _full_context_hash.py, _layered_predict.py, _optimal_seed_search.py, _semantic_rolling_hash.py, _suffix_grammar.py - Updated README.md with comprehensive documentation - Added submission.json for experiment tracking - Added plans/hdc_architecture_upgrade.md for architecture planning - Updated requirements.txt dependencies
…derboard test log
…eed search, train_gpt
…ord; remove HDC Zero Track 5Mb and plans
… logs, and 3-run leaderboard command - Update val_bpb from stale 0.2729 (pre-fix) to correct 0.4118 - Update artifact bytes: 15,943,520 (was 15,970,651) - Update code bytes: 246,140 (was 273,267) - Update elapsed: 338.7s (was 338.1s) - Fix avg bytes/token: 2.4062 (was incorrectly stated as 3.6311) - Fix BPB audit block to match actual train_run1.log output - Update reference log filenames to train_run1.log / train_20260408T002558.log - Remove pre-fix disclaimer and stale contamination audit references - Fix 3-run leaderboard loop: add HG_SEEDS=42,7,1337, fix workspace path - Remove nested duplicate subdirectory files (moved to correct flat structure) - Add train_20260408T002558.log and train_run1.log as official run evidence
…x Symmetry record
…ne and training scripts
…-LM, README, train_gpt; add seed logs
…EADME; remove old seed logs
…gen DSVOnly record
…tory, and plan files
|
I updated the architecture to use the full training dataset for all runs. I also updated the 3 seed runs to run independently; they will likely still have the same output or close to it because the architecture is deterministic with very little noise or accuracy loss. This is partially due to the new golden axis shift which allows for more lags and orthogonality between rotations and positions in the token sequence. I clarified what each component contributes to the final bits per byte outcome in greater detail in the readme. I also fixed a bug where the entire evaluation dataset was not used from before. The context window was extended for this new model version. In addition, I removed a dead backwards pass from before since only the forward pass contributed meaningfully to the model's bits per bytes level. The code book contributes to the model's architecture a lot more than the DSV alone so I kept both. The DSV primarily corrects rare tokens in the code book while the code book has semantic information organized innately using the Sylvester Hadamard and pop count [+1 (positive relationship), 0 (neutral), -1 (negative relationship)]. I explain more of my findings in more detail in the readme. I am planning on implementing the suggestions for evaluation in the next iteration. I got the new BPB down from 0.4118 to approximately BPB 0.4067 for this next iteration due to adding the golden axis in and the minor fixes in the architecture that reduced accuracy. |
|
I added in clear labels for Bits per Byte and learning tracking especially for the directional semantic vector to show how the model learns. It primarily learns using similarity and pop count in place of frequency and softmax args in order to have controlled randomness. The pop count has correlations and sharper relationships between subatomic (bits) and atomic (bytes) components of the tokens to better understand the structure of the dataset and learn the vocabulary through similarity bundling and search. The gradient hash handles the common words and structures for learning while the DSV handles the rest. This model gets its primary learning signal from the DSV so I did include a pure hash gradient bits per byte but the architecture would fail without having the similarity structure. I also fixed the issue with the CPU preflight check not working with some of the imports so it should work now but the model can only be trained using GPUS. |
This is an exotic architecture with primary learning mechanisms involving directional semantic vectors, golden axis shift with a Sylvester Hadamard Matrix, and a code cookbook table. It achieves 0.411 val_bpb on the 3 independent runs on the H100x8 pod within the time limit. (After the update with the golden axis shift and bug fixes, it now runs at 0.4067 BPB.)