HTM Spatial Pooler + Temporal Memory + Reflex Acceleration

Orchestrate HTM Spatial Pooler, Temporal Memory, and Reflex Memory into a cognitive pipeline.

Updated Feb 28, 2026
One-click install
npx skills add https://github.com/sovr610/refffiy --skill htm-spatial-pooler-temporal-memory-reflex-acceleration
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: HTM Spatial Pooler + Temporal Memory + Reflex Acceleration
Source: https://github.com/sovr610/refffiy/tree/main/brain-ai-dev/skills/htm-spatial-temporal-reflex
Command: npx skills add https://github.com/sovr610/refffiy --skill htm-spatial-pooler-temporal-memory-reflex-acceleration

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires torch, pytest, and includes scripts (resource) and references (resource) and assets (resource) components.

What problem does it solve?

This Skill provides an integrated, end-to-end HTM pipeline that combines Spatial Pooler, Temporal Memory, and Reflex Memory acceleration to enable consistent, real-time sequence learning and fast predictive lookups.

Core Features & Use Cases

  • Deterministic HTM components (SP/TM) with a reflex-accelerated fast path for frequently observed SDR patterns.
  • Reflex Memory supports observation vs promoted tables, confidence tracking, baseline snapshot verification, LSH-based lookup, and state_dict checkpointing.
  • Public contracts and configuration surfaces for HTM (SP/TM/Reflex) and optional fallbacks to maintain downstream compatibility.

Quick Start

Instantiate a minimal HTMConfig preset and run a short sequence to observe SP outputs, TM predictions, and reflex fast-path results.

Frequently Asked Questions about HTM Spatial Pooler + Temporal Memory + Reflex Acceleration

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I accelerate HTM temporal memory sequence learning for real-time anomaly detection?

Accelerate HTM temporal memory by integrating a reflex LSH caching fast path for frequently observed SDR patterns, enabling real-time sequence learning and rapid predictive lookups. This pipeline combines Spatial Pooler and Temporal Memory for accelerated inference.

What is reflex memory in cognitive architecture and how does it work with Spatial Pooler outputs?

Reflex memory is an acceleration mechanism that caches frequent SDR patterns using LSH-based lookup. It works with Spatial Pooler outputs by tracking confidence, verifying baseline snapshots, and promoting observations to bypass standard processing for faster inference.

How do I configure an end-to-end HTM pipeline with Spatial Pooler and Temporal Memory in Python?

Configure an end-to-end HTM pipeline using a nested HTMConfig structure with configurable presets. Instantiate a minimal preset to run sequences and observe Spatial Pooler outputs, Temporal Memory predictions, and reflex fast-path results.

Does this HTM implementation require PyTorch and pytest to run sequence learning benchmarks?

Yes, this HTM implementation requires PyTorch and pytest. PyTorch handles tensor operations for the SDR outputs, while pytest supports the included test and benchmark scaffold for rapid development and evaluation of the cognitive pipeline.

Can I checkpoint and restore HTM reflex memory state_dict for SDR pattern tracking?

Yes, you can checkpoint and restore reflex memory using state_dict functionality. The system supports observation and promoted tables with confidence tracking and baseline snapshot verification, allowing consistent state persistence across sessions.

When should I not use a reflex-accelerated HTM pipeline for sequence learning?

Avoid using reflex-accelerated HTM pipelines when working with highly novel or sparse data streams, as the LSH caching fast path relies on frequently observed SDR patterns. Standard Temporal Memory without reflex acceleration may handle rare sequences more effectively.