Skip to content

Cognitive Benchmarks

HEBBS’s four-strategy recall system provides significant precision improvements over similarity-only vector search. This page documents the cognitive benchmark results that validate the multi-path approach.

The cognitive benchmark suite evaluates recall quality using curated datasets where the “correct” memories for each query are known (ground truth). Each benchmark measures precision@k — the fraction of the top-k results that are genuinely relevant.

DatasetMemoriesQueriesDomain
Sales Conversations5,000200CRM, deal management
Support Tickets10,000300Customer support, issue tracking
Research Notes3,000150Multi-domain academic research
Incident Reports2,000100Infrastructure, post-mortems

Results: Precision Improvement Over Similarity-Only

Section titled “Results: Precision Improvement Over Similarity-Only”

Queries where time context is critical (e.g., “What happened before the outage?”):

MethodPrecision@5Improvement
Similarity only0.42baseline
HEBBS temporal0.71+68%

Similarity search retrieves semantically related memories but ignores temporal context. Temporal recall surfaces memories that are chronologically proximate, which is what these queries actually need.

Queries that require understanding cause-and-effect (e.g., “What caused the deal to stall?”):

MethodPrecision@5Improvement
Similarity only0.38baseline
HEBBS causal0.62+63%

Similarity search finds memories that mention similar topics but cannot follow causal chains. Causal recall traces CausedBy edges to surface the actual chain of events.

Queries that require cross-domain pattern matching (e.g., “Have we seen similar dynamics in other deals?”):

MethodPrecision@5Improvement
Similarity only0.35baseline
HEBBS analogical0.50+43%

Similarity search is limited to surface-level semantic similarity. Analogical recall identifies structural parallels across different entities and domains.

For standard semantic queries, HEBBS matches vector search baselines:

MethodPrecision@5
Similarity only (baseline)0.78
HEBBS similarity0.79

No degradation — HEBBS’s HNSW implementation matches or slightly exceeds baseline vector search quality.

When the agent can choose the optimal strategy per query (simulating a strategy-selection model):

MethodAverage Precision@5
Similarity only (all queries)0.48
HEBBS with optimal strategy selection0.66
Overall improvement+37%

After running the reflection pipeline on the test datasets:

MetricBefore ReflectionAfter ReflectionChange
Precision@5 (similarity)0.780.82+5%
Precision@5 (analogical)0.500.58+16%
Unique insights generated0142

Insights generated by reflection improve recall quality by providing higher-level summarizations that match a broader range of queries.

  • All benchmarks run on standardized hardware (m6i.2xlarge, 8 vCPU, 32 GB RAM).
  • Each query is run 10 times; reported numbers are the mean.
  • Ground truth labels are created by three independent annotators with majority vote.
  • The benchmark suite is available in benches/cognitive/ and can be reproduced with hebbs-bench cognitive.