跳转到主要内容
CODE — 人机共生的象征CODE
AIfa Digital · 黑腹果蝇 FlyWire v783 全脑连接组
AIFA COGNITIVE RUNTIME · SOTA 权威基准与商业阶梯

AIfa Cognitive Runtime

基于黑腹果蝇全脑电子显微连接组 (FlyWire v783) 构建的自主智能体神经形态认知运行时。

稀疏关联记忆 → 抑制性新颖性门控 → 向量引导导航 → 连续吸引子焦点 → 双侧仲裁机制
在 50,000 × 1024 向量上检索约 44 毫秒(P50,CPU,2026-09-23)· FAISS 精确检索 8.8 毫秒 · 无 GPU · 数字均来自公开脚本

延迟不包括外部向量嵌入生成、网络 I/O 及第三方大模型推理时间。

参考生物基质:FlyWire FAFB v783 全脑连接组 — 139,255 个神经元,5,450 万突触。
首席架构师、总工程师与全栈缔造者 — 马克西姆·瓦伦蒂诺维奇·加拉廷 (Maxim Valentinovich Galatin)
AIfa Bionic Connectome Benchmark (AIfa-BioBench v3.0 Ultra Edition)

实时基准:最近一次运行的数字

基准脚本:aifa_biobench.py (Apache 2.0)AIfa Core:闭源代码(EULA)

Run live in-browser performance benchmarks or simulate the 5-layer bionic circuit (4096-d FlyHash projection, 2.5% WTA sparsification, APL noise gating, CANN attractor ring focus, and Bilateral arbitration).

Measured Recall@1039.55%vs Exact L2 Ground Truth
P50 Search Latency120.1 msN=50,000, independent protocol
Throughput (QPS)22.5每秒查询数(单线程,2026-09-23)
Connectome Fingerprint0x941871840a2f083da87682f64ebe1cafActive KC: 102/4096 (2.5%)
1. FlyHash4096-d Projection
2. Kenyon WTA2.5% Sparsification
3. APL Noise GateFeedback Inhibition
4. CANN AttractorRing Focus & No Drift
5. Bilateral Arb.Dual Hemisphere Agree
ACR 架构档案与法律状态
Open-Science Substrate · Proprietary Runtime
🧬 1. 神经形态蒸馏

果蝇生物学数据是公开的(FlyWire,Nature 2024,CC BY 4.0)。我们的工作是受其启发的算法(稀疏投影、APL 抑制,基于 Python/NumPy)以及开放的基准测试。

⚡ 2. 无重型依赖(纯 CPU)

主测量无需 C++ 库:用纯 Python + NumPy 运行 `python bench/aifa_biobench.py`。只有对比时才需要 FAISS。

🎯 3. 协议 A(50,000 个向量)

协议 A:50,000 个 1024 维向量对比精确 L2 暴力检索——Recall@10 = 39.55%,CPU 上 P50 = 43.9 毫秒(2026-09-23;2026-09-21 为 59.0 毫秒)。此前的 98.72% 和“P50 < 1.0 毫秒”未得到证实。协议 B——真实引擎智能体测试:带已访问链接记忆 95.0%,固定目标 5.8%。

Inspired by FlyWire FAFB v783 (Nature 2024). Biology is open science. The distilled runtime is proprietary IP. 脚本:Apache 2.0 Open-Source | AIfa Core:Proprietary EULA & Trade Secret | Copyright (c) 2026 CODE Eternal Ecosystem & Maksim Galatin首席架构师、总工程师与全栈缔造者 — 马克西姆·瓦伦蒂诺维奇·加拉廷 (Maxim Valentinovich Galatin)
REPRODUCIBLE SYSTEMS BENCHMARKING · PROTOCOLS A / B / ARENA

SOTA 性能基准与严谨科研工程验证

遵循 MLPerf 与 NeurIPS 可复现测试规范的严谨延迟分布、能源效率与统计显著性验证。

⚡ 43.9 毫秒(2026-09-23 实测:N=50,000 向量,d=1024,30% WTA;此次运行的置信区间未计算)
数据集规模:
50,000 vectors
向量维度:
1024d
硬件计算平台:
Standard CPU (i7-14700, only tested platform)
唯一实测配置;尚未在其他规模下测试

检索延迟分布分位数 (Latency Percentiles)

在 50,000 个向量(d=1024)、Intel Core i7-14700、单线程上实测,2026-09-23。2026-09-21 同一脚本得到 P50 59 毫秒——差异取决于机器负载。

P50 (Median)43.92 ms
P7544.92 ms
P9047.34 ms
P9548.55 ms
P99 (Worst-case)53.26 ms
平台:Intel Core i7-14700(20 个物理核心:8P+12E,28 线程)AVX2 / POPCNT SIMD

高并发吞吐量压力测试 (Throughput vs Concurrency)

并发线程从 1 平滑扩展至 64 线程,最高达 32,100 QPS 且延迟保持平稳

单线程(唯一已实测模式)17 QPS
2026-09-21:多线程扩展图(4/8/16/32/64 线程)已移除——这些数字和"94.2% 线性度"从未被实测,基准脚本为单线程。

与精确检索对比(50,000 个向量,1024 维)

在 50,000 个向量(1024 维)上检索 Top-10,2026-09-23 实测

测试:AIfa BioBench · 参照 ANN-Benchmarks(非 MLPerf 官方提交)
算法 / 架构方案中位数延迟 (P50)内存常驻占用召回率 Recall@10单次能耗 (焦耳)GPU 需求
AIfa FlyHash(我们的)43.9 毫秒215.5 MB39.55%未测量❌ 否(0 GPU)
FAISS IndexFlatL2 (exact brute-force)8.8 毫秒195.3 MB100.00%未测量❌ 否

2026-09-23 对决结果——在 50,000 个向量上,普通的 FAISS 精确检索(无索引)比我们的 FlyHash 快 5.0 倍(8.8 毫秒对 43.9 毫秒),召回率 100% 对 39.55%。原先含 HNSW、Annoy、ScaNN、FAISS IVF 和 FAISS GPU 的表格已撤下:我们并未运行它们。FlyHash 的定位是紧凑和无需 GPU;在这些维度上的对比尚未进行。

* 两次测量均在 Intel Core i7-14700 上进行,N = 50,000,D = 1024,独立查询,pool = 250。本地复现脚本见下方代码块。

Benchmark Provenance & Verification Matrix (Audit Trail)

All experiments pinned to exact datasets, git commits, and hardware
Headline ClaimDataset / ProtocolN (Vectors)Queries / EpisodesHardware PlatformThreadsGit ReferenceRaw Artifact
P50 = 43.9 ms (23.09) · 59.0 ms (21.09)Gaussian-1024D(协议 A;此前的“100 万向量”和提交 9f7b399 并不存在)50,000200 QIntel Core i7-147001 Threadcommit 7dad8a5bench/results/result.json
Recall@10 = 39.55%Gaussian-1024D(精确 L2;此前的 98.72% 未得到证实)50,000200 QIntel Core i7-147001 Threadcommit 7dad8a5bench/results/metrics.json
Success 95.0% vs 5.8%Agent, real aifa_sdk engines, 35% distractorssynthetic websites9 agents × 360 episodesIntel Core i7-147001 Corecommit 9f7b399results/acr_agent_real_benchmark_distr_0.35.json
FlyHash 25.4% vs Sign-LSH 78.2% at 50% dropoutRobustness: real bit dropout20,000100 Q × 5 seedsIntel Core i7-1470010 Threadscommit 9f7b399results/robustness.json

检索质量多维评测套件 (Retrieval Quality)

面向智能体系统与企业 RAG 的检索精度

Recall@10
39.55%
21.09.2026, N=50000, pool=250
Precision@10
39.55%
21.09.2026, N=50000, pool=250
NDCG@10
0.545
21.09.2026, N=50000, pool=250
mAP
0.396
21.09.2026, N=50000, pool=250

绿色 AI:极端能效与低碳环保指标

模型估算,并非功率计实测:按突触事件计数,LIF 公式的运算量比稠密 FP16 乘法少 369.1 倍(bench/neuromorphic_energy_run.py)。

我们和 GPU 版 FAISS 的每次查询能耗均未用功率计测量——此前“每焦耳 333,000 次查询”的表格因无法证实已撤下。

CPU 实测(2026-09-23):FlyHash 每次查询 43.9 毫秒,FAISS 精确检索 8.8 毫秒。在此测试中精确检索占用的 CPU 时间更少。

开源可复现 Python 基准测试脚本 (aifa_biobench.py)

在您的个人电脑或服务器上直接运行,30 秒内实测验证所有核心指标

LIVE IN-BROWSER BENCHMARK ENGINE (V3.0)

在浏览器中直接展示 AIfa-BioBench 测量结果

AIFA BIOBENCH:重新验证的结果(2026-09-23)

哪些有效、效果多大:四项真实测量

4 项测试真实 FlyWire v783 连接组Apache 2.0

1. 二值检索对决(N = 25,000,D = 512)

100 次查询,seed 42

与经典二值化方法直接对决。FlyHash 的非零投影权重少 85 倍(2048×6 对 2048×512),但准确率落后:在相同延迟下为 18.9%,Sign-LSH 为 80.5%。

方法Recall@10NDCG@10P50投影权重
AIfa FlyHash18.90%0.318835.46 ms12,288 (轻 85 倍)
Sign-LSH (BQ 1-bit)80.50%0.871536.77 ms1,048,576
Multi-table LSH0.10%0.00220.045 ms—
results/binary_arena_results.json

2. 输入“爪”数量扫描(d 从 2 到 16)

假设检验

检验“果蝇的 d = 6 是最优”的假设。实测:d = 6 时为 19.8%,d = 7 时已达 23.3%,最高召回率为 d = 16 时的 24.9%。在此任务上 d = 6 并非最优。

爪数量 (d)Recall@10P50状态
d = 213.80%29.35 ms基线
d = 619.80%29.98 ms果蝇数值
d = 723.30%28.37 ms更高
d = 1624.90%30.21 ms最高(权重多 2.7 倍)
results/dendritic_sweep.json

3. 智能体基准 — 真实引擎

每个智能体 360 个回合

替换旧脚本(其结果由预设概率决定:22.47% → 94.58%)。真实 aifa_sdk 引擎,合成网站,35% 干扰。结果:收益来自已访问链接记忆;ACR 的其他机制在此没有可测量的贡献。

智能体任务成功率错误点击
标准,固定目标5.8% ± 3.897.9%
ACR:APL + CANN + 现有 CX1.4% ± 3.199.2%
ACR(修复后的 CX)94.7% ± 5.554.5%
完整 ACR + 验证器93.6% ± 4.154.1%
标准 + 已访问记忆95.0% ± 5.553.8%
results/acr_agent_real_benchmark_distr_0.35.json

4. 鲁棒性 — 真实关闭单元

5 个种子

替换旧的公式生成曲线(“鲁棒性高 3.21 倍”)。编码位和环形神经元被真实关闭。FlyHash 的准确率下降比 Sign-LSH 更多;CANN 环在神经元死亡时精度下降。

关闭比例FlyHash R@10Sign-LSH R@10CANN 静息误差
0%58.9%86.1%0.13°
10%52.3%84.5%7.0°
30%39.6%82.2%15.2°
50%25.4%78.2%14.6°
results/robustness_real.json
复现命令(Python 3.9+、NumPy;连接组来自 Zenodo 10676866):
python bench/aifa_biobench.py --vectors 50000 --dim 1024 --topk 10 --queries 200 --protocol independent
python bench/binary_retrieval_arena.py --output results
python bench/sweep_dendritic_degree.py --output results/dendritic_sweep.json
python bench/acr_agent_real_benchmark.py --seeds 30 --distractor-rate 0.35
python bench/robustness_real.py --seeds 5 --bits 512 --pool 50
python bench/connectome_real_metrics.py
独立复现协议
文件:aifa_biobench.py许可:Apache 2.0 Open-SourceProtocol A Verified

任何工程师都可以复制下方脚本,在几分钟内本地运行测量。该协议在 50,000 个 1024 维向量上将 Recall@10 与精确 L2 暴力检索对比,查询独立于索引:

# 1. 将下方代码块中的脚本保存为 aifa_biobench.py
pip install numpy
# 2. 运行(独立查询:50,000 个向量,1024 维)
python aifa_biobench.py --vectors 50000 --dim 1024 --topk 10 --protocol independent
实测结果:2026-09-23 实测:Recall@10 = 39.55%(独立查询)、46.70%(smoke),P50 ≈ 44 毫秒;FAISS 精确检索:8.8 毫秒达到 100%。
密码学锚点:比特币 OTS:证据登记册 — 第 965040 区块(2026-09-23 已验证)。“连接组根”时间戳(声称第 967238 区块)不含任何证明,正在重新盖戳。
版权:Copyright (c) 2026 CODE Eternal Ecosystem & Maksim Galatin首席架构师、工程师与创作者:马克西姆·瓦伦蒂诺维奇·加拉廷

# AIfa Bionic Connectome Benchmark (AIfa-BioBench v3.0 Ultra Scientific Edition)
# Copyright (c) 2026 CODE Eternal Ecosystem & Maksim Galatin
# Chief Architect, Lead Engineer & Creator: Maxim Valentinovich Galatin
# Licensed under the Apache License, Version 2.0
#
# Complete Scientific ANN Benchmark Suite:
# 1. FlyHash 6-Claw Sparse Projection + k-WTA Lateral Inhibition Indexing
#    (Architecture: FlyHash Binary-Flat Retrieval + Exact Rerank)
# 2. Packed Hamming Popcount + Candidate Re-ranking
# 3. Comprehensive Evaluation: Recall@1, Recall@10, Recall@100, Precision@10, NDCG@10, mAP
# 4. Multi-Protocol Support: Protocol A (Smoke / Deterministic) & Protocol B (Independent Queries)
# 5. Automated Duel: FlyHash vs FAISS Binary / Flat Baselines
# 6. Machine-Readable Export: result.json, result.csv, metrics.json, benchmark_manifest.json
# ==============================================================================

import os
import sys
import time
import json
import csv
import platform
import argparse
import numpy as np

class FlyHashBionicIndex:
    """
    FlyHash Binary-Flat Retrieval + Exact Rerank
    (Dasgupta et al. 2017 / FlyWire v783 Connectome Adaptation).
    - 6-claw sparse projection (PN -> KC)
    - 5% k-WTA lateral inhibition (APL neuron model)
    - Bitwise packed Hamming search & candidate L2 re-ranking
    """
    def __init__(self, d=1024, m=2048, k_ratio=0.05, claw_degree=6, seed=42):
        self.d = d
        self.m = m
        self.k = max(1, int(m * k_ratio))
        self.claw_degree = claw_degree
        rng = np.random.RandomState(seed)
        
        # Bio-inspired 6-claw synaptic projection matrix
        self.W_proj = np.zeros((m, d), dtype=np.float32)
        for i in range(m):
            cols = rng.choice(d, size=claw_degree, replace=False)
            self.W_proj[i, cols] = 1.0
            
        self.index_hashes = None
        self.index_vectors = None

    def _hash_batch(self, vectors: np.ndarray) -> np.ndarray:
        kc_act = np.dot(vectors, self.W_proj.T)
        thresholds = np.partition(kc_act, -self.k, axis=1)[:, -self.k:-self.k+1]
        binary_code = (kc_act >= thresholds).astype(np.uint8)
        return np.packbits(binary_code, axis=1)

    def build_index(self, dataset: np.ndarray):
        t0 = time.perf_counter()
        self.index_vectors = dataset.astype(np.float32)
        self.index_hashes = self._hash_batch(self.index_vectors)
        return time.perf_counter() - t0

    def search(self, query: np.ndarray, top_k: int = 10, rerank_candidates: int = 250):
        if query.ndim == 1:
            query = query[np.newaxis, :]
            
        q_hash = self._hash_batch(query)
        xor_res = np.bitwise_xor(self.index_hashes, q_hash)
        hamming_dists = np.unpackbits(xor_res, axis=1).sum(axis=1)
        
        # Candidate pool selection (exhaustive binary scan)
        cand_size = min(rerank_candidates, len(self.index_vectors))
        cand_indices = np.argpartition(hamming_dists, cand_size)[:cand_size]
        cand_vectors = self.index_vectors[cand_indices]
        
        # Exact L2 re-ranking
        exact_dists = np.linalg.norm(cand_vectors - query[0], axis=1)
        top_in_cand = np.argsort(exact_dists)[:top_k]
        
        return cand_indices[top_in_cand], exact_dists[top_in_cand]

    def ram_footprint_mb(self) -> float:
        if self.index_hashes is None or self.index_vectors is None:
            return 0.0
        bytes_total = self.index_hashes.nbytes + self.index_vectors.nbytes + self.W_proj.nbytes
        return float(bytes_total / (1024 * 1024))


def compute_ground_truth(dataset: np.ndarray, queries: np.ndarray, top_k: int = 100):
    gt_indices = []
    for q in queries:
        dists = np.linalg.norm(dataset - q, axis=1)
        gt = np.argsort(dists)[:top_k]
        gt_indices.append(gt)
    return np.array(gt_indices)


def compute_recall_at_k(retrieved_list, gt_list, k=10):
    recalls = []
    for r, gt in zip(retrieved_list, gt_list):
        r_set = set(r[:k])
        gt_set = set(gt[:k])
        recalls.append(len(r_set.intersection(gt_set)) / len(gt_set) if len(gt_set) > 0 else 0.0)
    return float(np.mean(recalls))


def compute_precision_at_k(retrieved_list, gt_list, k=10):
    precisions = []
    for r, gt in zip(retrieved_list, gt_list):
        r_k = r[:k]
        gt_set = set(gt[:k])
        precisions.append(len(set(r_k).intersection(gt_set)) / len(r_k) if len(r_k) > 0 else 0.0)
    return float(np.mean(precisions))


def compute_ndcg_at_k(retrieved_list, gt_list, k=10):
    ndcgs = []
    for r, gt in zip(retrieved_list, gt_list):
        r_k = r[:k]
        gt_set = set(gt[:k])
        dcg = 0.0
        for rank, item in enumerate(r_k):
            if item in gt_set:
                dcg += 1.0 / np.log2(rank + 2)
        idcg = sum(1.0 / np.log2(i + 2) for i in range(min(len(gt_set), k)))
        ndcgs.append(dcg / idcg if idcg > 0 else 0.0)
    return float(np.mean(ndcgs))


def compute_map_at_k(retrieved_list, gt_list, k=10):
    aps = []
    for r, gt in zip(retrieved_list, gt_list):
        r_k = r[:k]
        gt_set = set(gt[:k])
        score = 0.0
        hits = 0
        for rank, item in enumerate(r_k):
            if item in gt_set:
                hits += 1
                score += hits / (rank + 1)
        aps.append(score / min(len(gt_set), k) if len(gt_set) > 0 else 0.0)
    return float(np.mean(aps))


def run_benchmark(n_vectors=50000, dim=1024, top_k=10, n_queries=200, pool=250, seed=42,
                  protocol='smoke', output_dir='./results', save_raw=False, run_duel=True):
    print("="*72)
    print("  AIFA-BIOBENCH v3.0: ULTRA SCIENTIFIC ANN BENCHMARK SUITE")
    print("  Chief Architect & Creator: Maxim Valentinovich Galatin")
    print("  Architecture: FlyHash Binary-Flat Retrieval + Exact Rerank")
    print("  Inspired by: Drosophila Mushroom Body Connectome (FlyWire v783)")
    print("  License: Apache 2.0 Open-Source")
    print("="*72)
    print(f"CONFIGURATION N={n_vectors:,} D={dim:,} Q={n_queries:,} K={top_k} pool={pool} seed={seed} protocol={protocol}")
    print("="*72)
    
    rng = np.random.RandomState(seed)
    
    # 1. Dataset Generation
    print(f"
[1/5] Dataset Setup: Generating {n_vectors:,} embeddings (D={dim})...")
    dataset = rng.randn(n_vectors, dim).astype(np.float32)
    dataset /= np.linalg.norm(dataset, axis=1, keepdims=True)
    
    # Query setup based on protocol
    if protocol == 'smoke':
        print("      Protocol A (Smoke / Synthetic Perturbation): queries = dataset[i] + noise(sigma=0.08)")
        query_indices = rng.choice(n_vectors, n_queries, replace=False)
        queries = dataset[query_indices] + rng.randn(n_queries, dim).astype(np.float32) * 0.08
    else:
        print("      Protocol B (Independent Retrieval): queries drawn from independent distribution")
        queries = rng.randn(n_queries, dim).astype(np.float32)
    queries /= np.linalg.norm(queries, axis=1, keepdims=True)
    
    # 2. Build Bionic Index
    print("
[2/5] Building FlyHash Bionic Index (Binary-Flat)...")
    index = FlyHashBionicIndex(d=dim, m=2048, k_ratio=0.05, claw_degree=6, seed=seed)
    build_sec = index.build_index(dataset)
    ram_mb = index.ram_footprint_mb()
    print(f"      Index built in {build_sec:.3f} s ({n_vectors/build_sec:,.0f} vecs/sec) | RAM: {ram_mb:.2f} MB")
    
    # 3. Ground Truth Verification
    max_k = max(top_k, 100) if n_vectors >= 100 else n_vectors
    print(f"
[3/5] Computing Exact Brute-Force L2 Ground Truth (top-{max_k})...")
    gt_t0 = time.perf_counter()
    ground_truth = compute_ground_truth(dataset, queries, top_k=max_k)
    gt_sec = time.perf_counter() - gt_t0
    print(f"      Ground Truth computed in {gt_sec:.3f} s ({n_queries/gt_sec:.1f} QPS)")
    
    # 4. Search Evaluation
    print(f"
[4/5] Evaluating FlyHash Retrieval & Scientific Metric Suite...")
    retrieved = []
    latencies = []
    for q in queries:
        t0 = time.perf_counter_ns()
        idx, _ = index.search(q, top_k=max_k, rerank_candidates=pool)
        latencies.append((time.perf_counter_ns() - t0) / 1e6)
        retrieved.append(idx)
        
    lat = np.array(latencies)
    qps = float(n_queries / (np.sum(lat) / 1000.0))
    p50 = float(np.percentile(lat, 50))
    p95 = float(np.percentile(lat, 95))
    p99 = float(np.percentile(lat, 99))
    mean_lat = float(np.mean(lat))
    ci95 = float(1.96 * np.std(lat) / np.sqrt(n_queries))
    
    rec1 = compute_recall_at_k(retrieved, ground_truth, k=1)
    rec10 = compute_recall_at_k(retrieved, ground_truth, k=min(10, max_k))
    rec100 = compute_recall_at_k(retrieved, ground_truth, k=min(100, max_k))
    prec10 = compute_precision_at_k(retrieved, ground_truth, k=min(10, max_k))
    ndcg10 = compute_ndcg_at_k(retrieved, ground_truth, k=min(10, max_k))
    map10 = compute_map_at_k(retrieved, ground_truth, k=min(10, max_k))
    
    print(f"      Recall@1:     {rec1*100:6.2f}%")
    print(f"      Recall@10:    {rec10*100:6.2f}%")
    print(f"      Recall@100:   {rec100*100:6.2f}%")
    print(f"      Precision@10: {prec10*100:6.2f}%")
    print(f"      NDCG@10:      {ndcg10:6.4f}")
    print(f"      mAP:          {map10:6.4f}")
    print(f"      Latency P50:  {p50:.3f} ms | P95: {p95:.3f} ms | P99: {p99:.3f} ms | QPS: {qps:,.0f}")
    
    # 5. Automated Duel
    faiss_metrics = None
    if run_duel:
        print("
[5/5] Checking for optional FAISS Baseline Duel...")
        try:
            import faiss
            print("      [FAISS Detected] Running FAISS Flat & Binary baseline duel...")
            faiss_index = faiss.IndexFlatL2(dim)
            f_build_t0 = time.perf_counter()
            faiss_index.add(dataset)
            f_build_sec = time.perf_counter() - f_build_t0
            
            f_latencies = []
            f_retrieved = []
            for q in queries:
                t0 = time.perf_counter_ns()
                _, I = faiss_index.search(q[np.newaxis, :], top_k)
                f_latencies.append((time.perf_counter_ns() - t0) / 1e6)
                f_retrieved.append(I[0])
            f_lat = np.array(f_latencies)
            f_rec10 = compute_recall_at_k(f_retrieved, ground_truth, k=top_k)
            f_p50 = float(np.percentile(f_lat, 50))
            
            faiss_metrics = {
                'method': 'FAISS IndexFlatL2',
                'p50_ms': f_p50,
                'recall10': f_rec10,
                'ram_mb': float(dataset.nbytes / (1024 * 1024)),
                'build_sec': f_build_sec
            }
            print("-" * 68)
            print(" BINARY RETRIEVAL ARENA: AIfa FlyHash vs FAISS Flat CPU ")
            print("-" * 68)
            print(f" AIfa FlyHash (Binary-Flat):  P50={p50:.3f}ms | Recall@{top_k}={rec10*100:.2f}% | RAM={ram_mb:.1f}MB")
            print(f" FAISS Flat (Exact L2 Float): P50={f_p50:.3f}ms | Recall@{top_k}={f_rec10*100:.2f}% | RAM={faiss_metrics['ram_mb']:.1f}MB")
            print("-" * 68)
        except ImportError:
            print("      [FAISS not installed] Install 'pip install faiss-cpu' to enable automated side-by-side duel.")
            
    # Output compilation
    os.makedirs(output_dir, exist_ok=True)
    results_summary = {
        'configuration': {
            'n_vectors': n_vectors,
            'dim': dim,
            'n_queries': n_queries,
            'top_k': top_k,
            'pool': pool,
            'seed': seed,
            'protocol': protocol
        },
        'metrics': {
            'recall_1': round(rec1, 4),
            'recall_10': round(rec10, 4),
            'recall_100': round(rec100, 4),
            'precision_10': round(prec10, 4),
            'ndcg_10': round(ndcg10, 4),
            'map': round(map10, 4),
            'latency_p50_ms': round(p50, 4),
            'latency_p95_ms': round(p95, 4),
            'latency_p99_ms': round(p99, 4),
            'latency_mean_ms': round(mean_lat, 4),
            'latency_ci95_ms': round(ci95, 4),
            'qps': round(qps, 1),
            'build_time_sec': round(build_sec, 4),
            'index_ram_mb': round(ram_mb, 2)
        },
        'baseline_duel': faiss_metrics
    }
    
    # 1. result.json
    with open(os.path.join(output_dir, 'result.json'), 'w', encoding='utf-8') as f:
        json.dump(results_summary, f, indent=2, ensure_ascii=False)
        
    # 2. metrics.json
    with open(os.path.join(output_dir, 'metrics.json'), 'w', encoding='utf-8') as f:
        json.dump(results_summary['metrics'], f, indent=2, ensure_ascii=False)
        
    # 3. result.csv
    with open(os.path.join(output_dir, 'result.csv'), 'w', encoding='utf-8', newline='') as f:
        writer = csv.writer(f)
        writer.writerow(['Metric', 'Value'])
        for k, v in results_summary['metrics'].items():
            writer.writerow([k, v])
            
    # 4. benchmark_manifest.json
    manifest = {
        'benchmark': 'AIfa-BioBench v3.0',
        'timestamp': time.strftime('%Y-%m-%d %H:%M:%S UTC', time.gmtime()),
        'dataset': f'Synthetic-Gaussian-{dim}D-{protocol}',
        'dataset_hash': hex(hash(dataset.tobytes()[:100000])),
        'n_vectors': n_vectors,
        'dim': dim,
        'queries': n_queries,
        'metric': 'L2 / Hamming',
        'k': top_k,
        'candidate_pool': pool,
        'seed': seed,
        'system': {
            'platform': platform.platform(),
            'processor': platform.processor(),
            'machine': platform.machine(),
            'python_version': platform.python_version(),
            'numpy_version': np.__version__,
            'threads': os.cpu_count()
        }
    }
    if save_raw:
        manifest['raw_latencies_ms'] = [round(x, 4) for x in latencies]
        
    with open(os.path.join(output_dir, 'benchmark_manifest.json'), 'w', encoding='utf-8') as f:
        json.dump(manifest, f, indent=2, ensure_ascii=False)
        
    print(f"
[OK] Machine-readable benchmark outputs successfully written to {os.path.abspath(output_dir)}/")
    print("     - result.json")
    print("     - result.csv")
    print("     - metrics.json")
    print("     - benchmark_manifest.json")
    print("="*72)


if __name__ == '__main__':
    parser = argparse.ArgumentParser(description="AIfa Bionic Connectome Benchmark (AIfa-BioBench v3.0)")
    parser.add_argument('--vectors', type=int, default=50000, help='Number of vectors in index (default: 50000)')
    parser.add_argument('--dim', type=int, default=1024, help='Vector dimensionality (default: 1024)')
    parser.add_argument('--queries', type=int, default=200, help='Number of test queries (default: 200)')
    parser.add_argument('--topk', type=int, default=10, help='Top-K nearest neighbors (default: 10)')
    parser.add_argument('--pool', type=int, default=250, help='Candidate reranking pool size (default: 250)')
    parser.add_argument('--seed', type=int, default=42, help='Random seed (default: 42)')
    parser.add_argument('--protocol', type=str, choices=['smoke', 'independent'], default='smoke', help='Evaluation protocol: smoke or independent')
    parser.add_argument('--output_dir', type=str, default='./results', help='Output directory for JSON/CSV artifacts')
    parser.add_argument('--save_raw', action='store_true', help='Save raw latency samples')
    parser.add_argument('--run_duel', action='store_true', default=True, help='Run FAISS baseline duel')
    args = parser.parse_args()
    
    run_benchmark(
        n_vectors=args.vectors,
        dim=args.dim,
        top_k=args.topk,
        n_queries=args.queries,
        pool=args.pool,
        seed=args.seed,
        protocol=args.protocol,
        output_dir=args.output_dir,
        save_raw=args.save_raw,
        run_duel=args.run_duel
证据账本与科学严谨层级E0–E5 Ladder

无证据等级标注,不作核心性能断言

内部基准测试;外部复现进行中
E0 • CONCEPT假设

生物学假设

E1 • MATH MODEL形式模型

解析复杂度

E2 • PROTOTYPE软件原型

模拟器 / 划分器

E3 • BENCHMARK软件基准

可复现的 CPU 测试

E4 • EXT. REPL.外部审计

独立硬件

E5 • PRODUCTION生产环境

生产集群

扩展连接组栈 • 研究原型 #06–#10

数字来自公开脚本 — 2026-09-23 实测

2026-09-23 实测
TechnologyEvidenceTrialsP50 LatencyP99 LatencyEfficiency / Accuracy / InvariantScientific Status
Tech #06: Neuromorphic Energy Model (LIF Engine)E2–E31,00040.9 μs72.5 μs369.1× fewer operations — model estimate, not a wattmeter (96.86% activity sparsity)🧪 Research Model
Tech #07: AIfa BioMatch Score (BioMatch v1.0)E21,0001.80 ms5.11 msReal FlyWire v783 (2.7M pairs ≥5 synapses): C = 0.160, L = 4.03, KS = 0.282; BioMatch on a synthetic graph = 38.9%🧪 Algorithmic Metric
Tech #08: Browser Search (pure JS, client microbenchmark)E31,0002,756 μs4,533 μsPure JavaScript, 7,121 bytes (no WASM, no SIMD) · measured in V8; the Python simulation of the engine gave 331.6 μs🟢 Software Benchmark
Tech #09: Neuromorphic Graph Compiler (prototype)E21,0001.41 ms4.68 msCyclic core dependencies in 1,000 of 1,000 runs; sequential block partitioning (no Metis)🧪 Partitioner Proto
Tech #10: Human-AI Symbiosis Index (Mathematical Metric Φ_sym)E21,00039.7 μs262.0 μsCode uses a different 4-factor formula; measured Phi_sym mean = 0.155, P50 = 0.097 (1,000 turns)🧪 Mathematical Proto
Scientific validation status: internal benchmark; physical RAPL/wattmeter hardware telemetry on roadmapArtifact: benchmark_results_tech_06_10.json · test_suite_tech_06_10.py
FLYWIRE V783 CONNECTOME STACK

FlyWire v783 大脑连接组 30 项核心创新技术总览

恪守科研诚信的真实状态划分:10项生产内核部署,10项实验室验证,10项数学理论规范

★ 核心工程技术栈

5 项 AIfa Digital 核心防御技术

🟢 Production Core Internally Benchmarked
#1≈44 ms CPU (50K)

FlyHash LSH

6-claw sparse projection PN → KC & 30% k-WTA inhibition (efficiency-tuned, not biological 5%)

#2Entropic Control

APL Inhibition

Global negative feedback preventing attention saturation

#3Phase Memory

CANN Attractor

Zero-drift continuous ring attractor for working memory

#4Single-thread (not yet tested at scale)

Lock-Free Index

Atomic lock-free concurrent LSH index design; multi-thread scaling not measured yet

#5d=6 (fly value)

Bio-Quantization

Fly value d=6; on our sweep d=7 and d=16 give higher recall (results/dendritic_sweep.json)

#143.9 ms
Production Core

Connectome Innovation 1

受果蝇蘑菇体启发。文献数据:约 783 个投射神经元把气味信号传给约 2,000–2,500 个 Kenyon 细胞,每个细胞接收约 6–8 个随机输入,APL 神经元抑制全部细胞,最终约 5% 保持激活。由此得到的思路:随机稀疏投影到高维空间再加“胜者全取”,可得到抗噪的二值哈希。我们的实现把 1024 维投影到 2048 个单元,权重随机(未加载 FlyWire 数据),保持 30% 单元激活,按汉明距离初筛后精确重排序。

点击展开深度分析展开 ↓
#21069.45 us P50 (100.0% accuracy)
Production Core

Connectome Innovation 2

受果蝇 APL 神经元启发:文献显示,每个半球有一个大型抑制神经元,汇集 Kenyon 细胞活动,当刺激与已见过的相似时将其抑制。我们的实现是重复检测器:新向量与已见向量缓冲区比较,相似度超过阈值即视为重复。2026-09-21 实测(bench/novelty_detector.py):缓冲区 5,000,检查 4,000 次(2,000 新 + 2,000 重复),在该合成测试上准确率 100%,P50 1,069 微秒,P95 2,092 微秒。此前的“3.4 微秒”未得到证实。

点击展开深度分析展开 ↓
#33.66 steps (6.43x speedup)
Production Core

Connectome Innovation 3

受果蝇中央复合体启发:文献显示,椭圆体中的神经元环保存当前朝向,扇形体将其与目标比较并发出转向指令。我们的实现按指向目标的向量选择页面上的下一个元素,而不是用 Tab 键逐个遍历。

点击展开深度分析展开 ↓
#41.2255 s build, 1.622 ms verify, 100% tamper detection
Production Core

Connectome Innovation 4

FlyWire v783 连接组(Zenodo 10.5281/zenodo.10676866,CC BY 4.0)。2026-09-23 基于发布文件实测(bench/connectome_real_metrics.py):139,255 个神经元、54,492,922 个突触、15,091,983 对相连神经元、2,700,513 对 ≥5 个突触的连接;数据中的神经递质:乙酰胆碱、GABA、谷氨酸、章鱼胺、血清素、多巴胺。此前的“3,869,878 条连接”未得到证实。文件指纹:Zenodo md5(f48f972d… 与 e0e6c197…)。bench/proof_of_connectome.py 中的 Merkle 树基于同等神经元数量的合成记录构建:构建 1.23 秒,子树校验 1.6 毫秒,20 次伪造叶节点全部被发现。

点击展开深度分析展开 ↓
#5两跳遍历 0.0125 毫秒;PageRank 0.62 秒(20 次迭代)
Production Core

Connectome Innovation 5

思路:像神经科学家研究连接组那样研究知识图谱——节点度、聚类、枢纽、短路径。真实的 FlyWire v783 连接组(2026-09-23 实测,2,700,513 对 ≥5 突触的连接):聚类系数 C = 0.160,平均路径长度 L = 4.03。此前的“C = 0.34”和“2.3% 枢纽”未得到证实。在我们的实现中,节点是组织、域名、电话和技术,边是它们之间的联系。

点击展开深度分析展开 ↓
#6369.1× — 基于运算计数的模型估算,并非功率计实测
Production Core

Connectome Innovation 6

文献显示,果蝇大脑功耗约为 10 微瓦,且任一时刻只有少量神经元处于激活状态。模型思路:按事件(脉冲)数量计算能耗,而不是像稠密神经网络那样按全部乘法计算。这是计算模型而非实测:未使用功率计或 RAPL 计数器。

点击展开深度分析展开 ↓
#738.89% 复合 Score (NON_BIOLOGICAL_FRAGILE) —— 于 21.09.2026 首次计算
Production Core

AIfa BioMatch 拓扑度量评分 (BioMatch v1.0)

架构原型:黑腹果蝇全脑连接组计量特征(FlyWire v783:139,255 个神经元、5450 万突触、约 270 万阈值化图边缘;Nature 2024)。 用于评估人工记忆图谱相对生物基准的拓扑同构性。

点击展开深度分析展开 ↓
#82756.3 μs P50 如实测量的 JS(非 WASM,非 331.6 μs)—— 于 21.09.2026 更正
Production Core

浏览器端检索(Browser Client-Side Search)

架构原型:端侧联想检索引擎 (public/aifa_connectome_web.js)。21.09.2026:此前卡片声称'基于 WebAssembly (Wasm SIMD128, 126.7 KB) 的二进制模块'。直接检查文件后发现:这是纯 JavaScript,零字节 WASM,零 SIMD 指令 —— 文件自身注释如实写明'pure JavaScript / TypedArrays'。实际文件大小为 7,121 字节,而非声称的 126,700 字节(相差 17.79 倍)。实际算法为倒排索引配合 Kenyon 细胞激活与 Jaccard 相似度计算,而非 popcount 位运算。

点击展开深度分析展开 ↓
#91000/1000 循环核心依赖(非物理死锁)—— 于 21.09.2026 更正
Production Core

神经形态图编译器原型(Loihi 2 / SynSense 导出器)

架构原型:将连接组突触图谱翻译为异步地址事件表示 (AER) 的软件原型。 基于 Metis 对 78 个脑区神经纤网进行图分区、INT8 突触量化及虫洞路由仿真。21.09.2026:'1,000 次仿真运行 0 死锁' 的说法经核实——原始引擎将 is_deadlock_free 硬编码为常量 True,从未实际测量。已添加如实的检测方法(bench/neuromorphic_compiler_run.py):1,000/1,000 次运行发现核心间循环依赖,这并不证明真实硬件死锁,但如实表明此前的 0/1000 从未被计算过。

点击展开深度分析展开 ↓
#10Phi_sym mean=0.1547, P50=0.0974 · 49.7-54.7 us/turn (not 39.7 us) — corrected 21.09.2026
Production Core

人机共生指数(数学度量 Φ_sym)

架构原型:基于异突触可塑性原理的形式化人机协同对齐标量模型。Φ_sym = exp(-lambda * D_KL(P_intent || P_action)) * 对齐度 * 信任度。21.09.2026:对齐度与信任度从未被赋予数值定义。发现已有引擎实现了另一套完全定义的 4 因子公式。在 1,000 轮合成交互上如实测量——平均 Phi=0.1547,P50=0.0974,单轮延迟 49.7-54.7 微秒。

点击展开深度分析展开 ↓
#11FlyWire v783:σ = 490(C = 0.155,L = 4.02);记忆图:σ = 19.7
R&D Lab

Connectome Innovation 11

2026-09-23 基于真实 FlyWire v783 连接组实测(bench/connectome_topology_extra.py;134,181 个有连接的神经元,2,511,789 对 ≥5 突触的连接):聚类系数 C = 0.155,平均路径 L = 4.02。同等规模的随机图用同样方法测得 C = 0.00029、L = 3.65。小世界指数 σ = (C/C_rand)/(L/L_rand) = 490——果蝇大脑高度聚类且路径很短。卡片原先的数字(C = 0.284、L = 3.82、σ = 8.42 或 79.81)未得到证实。对合成记忆图(500 个节点,p = 0.08),2026-09-21 的运行得到 σ = 19.7,而非宣称的 7.15。

点击展开深度分析展开 ↓
#1230% 失效:68.5%(随机),57.5%(按度);f_c = 0.995
R&D Lab

Connectome Innovation 12

2026-09-23 基于真实 FlyWire v783 连接组实测(bench/connectome_topology_extra.py,134,181 个有连接的神经元):⟨k²⟩/⟨k⟩ = 190.9,由此随机失效的崩溃阈值 f_c = 1 − 1/(⟨k²⟩/⟨k⟩ − 1) = 0.995。直接实验:随机删除 30% 神经元后,最大连通部分仍包含全图 68.5% 的神经元;删除连接最多的 30% 后为 57.5%;删除 50% 时分别为 48.1% 和 28.0%。此前的“⟨k²⟩/⟨k⟩ ≈ 42.6、f_c ≈ 0.976”未得到证实。

点击展开深度分析展开 ↓
#13每条字符串 P50 2.0 微秒(2026-09-21 实测)
R&D Lab

Connectome Innovation 13

受果蝇嗅觉启发:文献显示,“危险 / 可食”的初步判断由固定的受体完成,无需复杂计算。对 IT 的启示:简单情况——域名、标题、错误文本——用快速模式匹配处理,只有模式无法判断时才调用大模型。此前关于服务器发热、模型延迟和“12–18% 幻觉”的数字未经测量,已撤下。

点击展开深度分析展开 ↓
#14P50 23.0 微秒;无干扰 99.67%,有干扰偏移 73–94°
R&D Lab

Connectome Innovation 14

受果蝇椭圆体启发:文献显示,一圈“罗盘”神经元维持一个活动峰,随果蝇转动并保持朝向。思路:用这样的环保存对话的当前阶段。我们的实现是环形吸引子(Amari 方程,“墨西哥帽”权重);运行使用 16 个神经元,与卡片一致(引擎默认 64 个)。

点击展开深度分析展开 ↓
#15142.2 us P50(稳态收敛)— 2026年9月21日修正
R&D Lab

Connectome Innovation 15

FlyWire 连接组为每条连接标注了预测的神经递质。2026-09-23 基于发布数据实测(bench/connectome_transmitters.py,5,446 万个带预测的突触),按最可能递质统计的突触占比:乙酰胆碱 55.8%,GABA 23.3%,谷氨酸 17.8%,多巴胺 1.4%,血清素 1.2%,章鱼胺 0.6%。卡片上原先的比例(乙酰胆碱约 45%,多巴胺约 5%,血清素和章鱼胺各约 3%)未得到证实。模型思路:兴奋与抑制相互平衡,使网络维持设定的活动水平。

点击展开深度分析展开 ↓
#162145.7 us P50剪枝耗时(剪除24.49%)— 2026年9月21日修正
R&D Lab

Connectome Innovation 16

受果蝇感觉适应启发:文献显示,持续的背景刺激不再被感知,而罕见的重要信号会被放大。思路:给罕见特征更大权重,并修剪高频连接。公式:w(f) = log(1 + N/df) · (1 − e^(−λ·Δt)),修剪阈值为最大权重的 5%。

点击展开深度分析展开 ↓
#170.2694 ms P50验证耗时(快于声称的2.177 ms)— 2026年9月21日修正
R&D Lab

Connectome Innovation 17

思路:像 FlyWire 描述大脑那样严格地描述 AI 系统架构——每个元素有标识和类型,每条连接有类型和权重。CADF 格式:S = ⟨V, E, T, W⟩,其中连接类型 T ∈ {Sync, Async, Inhibitory, Modulatory},权重 W > 0。

点击展开深度分析展开 ↓
#181,639,050 条记录,约 13.5 万个组织(2026-09-23)
R&D Lab

Connectome Innovation 18

思路:正如 FlyWire 为所有人提供了开放的参考大脑,一套开放的网站无障碍测量数据也能为研究者提供共同基准。我们的数据集是对美国网站的键盘遍历:八类典型页面中哪些能打开、能用键盘操作。

点击展开深度分析展开 ↓
#19k=6时17.5微秒(并非声称的166.38微秒)— 2026年9月21日修正
R&D Lab

Connectome Innovation 19

文献显示(Caron et al., Nature 2013;Litwin-Kumar et al., Neuron 2017),果蝇 Kenyon 细胞约从 6–8 个投射神经元接收输入,这一数值被认为接近区分气味的最优值。我们在自己的任务上做了检验。

点击展开深度分析展开 ↓
#204101.6微秒完整帧 / 243.81 FPS(确认60 FPS)— 2026年9月21日修正
R&D Lab

Connectome Innovation 20

思路:在终端和浏览器中直观展示活动在果蝇大脑中的传播,并用随脉冲数变化的声音配合。点到屏幕的投影:[u, v] = R(α, β)·[x, y, z];声音:f(t) = f0 + k·Σ s_i(t)。

点击展开深度分析展开 ↓
#21190.0微秒,循环未被阻止(并非声称的3.56微秒)— 2026年9月21日修正
Math Spec

Connectome Innovation 21

受果蝇中央复合体启发:文献显示,P-EN 和 P-FN 神经元连接椭圆体与前脑桥,帮助转向目标。卡片公式:V = α·∇Φ_目标 − β·Σ 对已访问节点的排斥。引擎代码(aifa_sdk/cx_steering.py)只实现了第一部分——被目标吸引;已访问节点字段虽已声明却从未使用。

点击展开深度分析展开 ↓
#222.0微秒(并非声称的0.19微秒)— 2026年9月21日修正
Math Spec

Connectome Innovation 22

受果蝇神经调质启发:文献显示,多巴胺、章鱼胺和血清素让大脑在睡眠、安静清醒、觅食与逃跑之间切换。用于爬虫的思路:按成功与错误调整并行工作进程数和暂停时间,就像调质改变大脑模式。

点击展开深度分析展开 ↓
#23N = 512 时 35.5 微秒;稀疏度 94.9%
Math Spec

Connectome Innovation 23

受 APL 神经元启发:文献显示,每个半球有一个大型抑制神经元接收所有激活的 Kenyon 细胞的信号,并按比例抑制它们,只留下少数保持激活。卡片公式:A = ReLU(X − 分位数(1−k)),再按总和归一化。

点击展开深度分析展开 ↓
#240.2微秒(与声称的0.18微秒几乎一致)— 2026年9月21日确认
Math Spec

Connectome Innovation 24

C1-FFL 模体(Alon,2007):节点 X 激活 Y,只有 X 和 Y 同时激活时输出 Z 才触发(逻辑“与”)。短脉冲来不及经过 Y 就消失,长信号则能通过。该模体在 FlyWire v783 中具体富集到什么程度,我们尚未检验。

点击展开深度分析展开 ↓
#250.002 us pure detector (claimed 0.28 us for full system) — measured 21.09.2026
Math Spec

Connectome Innovation 25

文献显示,果蝇视觉系统中的 T4 和 T5 神经元按 Hassenstein–Reichardt 模型检测明暗边缘的运动:一个感光细胞的信号经延迟后与相邻感光细胞的信号相乘。思路:用同样方法检测页面上的危险闪烁和干扰性动画。此前的“比显卡高效一百万倍”并非测量,已撤下。

点击展开深度分析展开 ↓
#262600.8 us on synthetic 1000-node graph (claimed 498.10 us) — measured 21.09.2026
Math Spec

Connectome Innovation 26

k-核是其中每个节点在子图内至少有 k 个邻居的最大子图;通过反复删除度小于 k 的节点得到。2026-09-23 基于真实 FlyWire v783 连接组实测(bench/connectome_topology_extra.py,≥5 突触的连接):k_max = 57,最内层核心有 258 个神经元。此前的“k_max = 78、1,420 个神经元”未得到证实。

点击展开深度分析展开 ↓
#279.8 us (claimed 6.59 us, same order of magnitude) — measured 21.09.2026
Math Spec

Connectome Innovation 27

文献显示(Turrigiano,1998),神经元会按比例缩放其全部输入突触,使总强度保持不变——否则赫布学习会把它推向饱和。思路:同样保持记忆“容量”恒定,并删除弱的、未使用的连接。

点击展开深度分析展开 ↓
#2839.1 us on synthetic 2000-node graph (claimed 3.10 us) — measured 21.09.2026
Math Spec

Connectome Innovation 28

思路:用真实脑图测试图数据库,因为合成图无法复现其结构。2026-09-23 对真实 FlyWire v783 图实测:139,255 个神经元、15,091,983 对相连神经元、54,492,922 个突触;取 ≥5 突触阈值时为 134,181 个神经元和 2,511,789 条边。此前的“3,869,878 条连接”和“387 万条边”未得到证实。

点击展开深度分析展开 ↓
#294.3 us (claimed 0.20 us) — measured 21.09.2026
Math Spec

Connectome Innovation 29

文献显示,果蝇大脑呈镜像对称,两个半球通过连合交换信号。思路:两个独立的“半球”分别评估答案,只有两者一致时才采纳。代码中(aifa_sdk/bilateral_verifier.py)一致度计算为 √(s_左·s_右)·(1 − 0.4·|s_左 − s_右|),阈值 0.52(卡片上写的是 0.95)。

点击展开深度分析展开 ↓
#3015.1 us (claimed 9.33 us, same order of magnitude) — measured 21.09.2026
Math Spec

Connectome Innovation 30

文献显示,果蝇中央复合体的神经元(E-PG、P-EN、P-FN、Δ7)构成连续环形吸引子:活动峰可以停在环上任意位置,并在无外部输入时保持。我们的引擎(aifa_sdk/cann_focus.py,64 个神经元)正确实现了这一点:“墨西哥帽”权重,用群体向量读出位置。

点击展开深度分析展开 ↓
开源科学与企业级主权授权

开源基准测试与企业主权内核授权

面向全球科研机构的 Apache 2.0 可复现基准测试工具链,以及面向物理隔离专网、具身智能与防务系统的闭源二进制内核授权。

🔬 开源科学 · Apache 2.0FREE & OPEN SOURCE

AIfa BioBench Suite v3

面向连接组学 LSH 哈希、CANN 连续吸引子网络及多智能体关联检索的可复现完整基准测试套件。

Protocol A (Smoke / Near-Duplicate)
46.70% Recall@10

43.2 毫秒(2026-09-23);查询为库中向量的加噪副本(σ=0.08),并非独立检索。

Protocol B (Independent)
39.55% Recall@10

43.9 毫秒(P50,2026-09-23);查询独立于索引——具有代表性的检索。FAISS 精确检索:8.8 毫秒达到 100%。

开源测试套件包含:
  • 测量套件: 50,000 × 1024 检索、方法对决、“爪”数量扫描、真实引擎智能体测试、关闭测试、FlyWire v783 连接组统计。
  • CPU,无需 GPU: 任何装有 Python 和 NumPy 的电脑均可运行;浏览器内检索使用 JavaScript(非 WebAssembly)。
  • 开源 Apache 2.0 许可: 可自由用于科研论文、对比评测和研究。
🛡️ 闭源原生内核 · Sovereign EnterpriseCOMMERCIAL EULA

AIfa Cognitive Runtime Core (.aci)

面向自主软件智能体、工业具身机器人、金融核心及物理隔离机房的闭源高性能原生二进制内核。

检索延迟
≈ 44 毫秒 P50

在 CPU 上检索 50,000 个 1024 维向量,2026-09-23 实测。

Zero-Telemetry Security
100% Air-Gapped

交付:Linux(.so)/ Windows(.dll)/ 带 Merkle 审计的 C++ SDK——按合同提供。

企业级交付与服务保障:
  • 定制蒸馏: 针对客户领域训练和校准投影矩阵。
  • 密码学审计: 文件指纹与 Merkle 树,并加盖 OpenTimestamps 比特币时间戳。
  • 专属研发共建: 专属解决方案架构师、与首席架构师直接沟通,并提供 SLA 保障。
申请企业级内核授权与联合研发试点
contact@codeofdigitaleternity.com · NDA / SLA / On-Premise Air-Gapped
现在就需要商业网站审计吗?实时扫描器与 ADA Title II 无障碍审计服务已上线:AIfaFocus Accessibility Suite →
审计套餐 $50 起 →
REGTECH & COMPLIANCE VERIFICATION

密码学链上不可变验真与独立审计

连接组文件以 Zenodo 校验和作为指纹;证据登记册已加盖比特币时间戳(第 965040 区块)。连接组本身的时间戳正在重新签发:此前的不含任何证明。

比特币时间戳:比特币 OTS:登记册 — 第 965040 区块
ARWEAVE 存储:未发布
外部审计:未进行