展示HN:Axion One神经符号微内核原型(在Rust中,寻求调度器的帮助)

1作者: yigremT大约 1 个月前原帖
嗨,HN, 我是AXION One的创始人。我们正在用Rust(稳定版1.78)构建一个神经符号微内核,旨在用向量符号架构(VSA)和联合嵌入预测架构(JEPA)替代启发式资源分配。 问题: 在Linux上运行现代AI工作负载时,策略决策(调度、内存安全、能耗配置)被交给了不透明的遗留子系统。实际上,你有一个黑箱(模型)在另一个黑箱(内核)上运行,用户空间的支架试图弥补这个差距。我们认为,主权AI要求内核本身成为一个能够持续学习和可验证推理的智能体。 架构(“如何”): • VSA(向量符号架构):我们将系统调用编码为高维全息向量(D=10,000)。这使得内核能够使用常数时间的代数运算(绑定/捆绑)而非复杂的分支逻辑进行符号推理(例如,能力验证)。这为进程间通信(IPC)提供了“可验证的粘合剂”。 • JEPA调度器:我们使用一个微型自监督JEPA模型,而不是CFS,该模型在系统调用跟踪上训练,以预测延迟分布并选择帕累托最优的线程顺序。 • 离线整合:在空闲周期中,内核通过随机梯度下降(SGD)“重放”事件图,以优化其嵌入,有效地“做梦”以提升未来性能。 当前状态(“我为什么要发布”): 我们有一个GCP原型(链接在上),验证了VSA/JEPA架构。它在仿真中通过了93%的LKDTM测试,并展示了自学习循环。然而,基于裸金属的Rust内核在树莓派4上遇到了瓶颈。当JEPA调度器将更新的嵌入写回内存时,我们观察到由于缓存行争用导致8-12毫秒的核心停滞。我们在热重启期间也遇到了竞争条件,导致SDHCI超时。 需求: 我正在寻找一位系统架构联合创始人,他能将8毫秒的停滞视为挑战而非失败。我需要一个理解以下内容的人: • 在内核上下文中,Rust nightly和不安全边界。 • 无锁数据结构,以解决嵌入写入争用问题。 • 如何在重放缓冲区中实现因果掩蔽(目前缺失)。 我在这里回答关于我们为什么认为VSA是内核IPC未来的问题。 AXION One正处于系统编程重大突破的边缘。Rust、VSA和JEPA的结合为AI基础设施中最紧迫的问题提供了理论解决方案:主权性、可审计性和效率。然而,从经过验证的云原型过渡到强健的裸机内核需要特定水平的工程人才,系统架构师需要在复杂性中茁壮成长,并不惧怕低级优化。 引用: - Show HN: 一个类似DOS的爱好操作系统,使用Rust。 - VEKOS: 验证过的实验内核操作系统。 - Show HN: Vect AI操作系统。 - Hacker News发布指南与分析。 - 向量符号架构(VSA/HDC)研究。 - 联合嵌入预测架构(JEPA)研究。 - Redox OS与Rust内核讨论。
查看原文
Hi HN,<p>I’m the founder of AXION One. We are building a neuro-symbolic microkernel in Rust (Stable 1.78) that attempts to replace heuristic resource allocation with a Vector Symbolic Architecture (VSA) and a Joint Embedding Predictive Architecture (JEPA). The Problem: Running modern AI workloads on Linux leaves policy decisions (scheduling, memory security, energy profiles) to opaque legacy subsystems. You effectively have a black box (the model) running on top of another black box (the kernel), with user-space scaffolding trying to bridge the gap. We argue that sovereign AI requires the kernel itself to be an agent capable of continual learning and verifiable reasoning. The Architecture (The &quot;How&quot;): • VSA (Vector Symbolic Architecture): We encode syscalls as high-dimensional holographic vectors (D=10,000). This allows the kernel to perform symbolic reasoning (e.g., capability verification) using constant-time algebraic operations (binding&#x2F;bundling) rather than complex branching logic. This provides a &quot;verifiable glue&quot; for IPC. • JEPA Scheduler: Instead of CFS, we use a tiny, self-supervised JEPA model trained on syscall traces to predict latency distributions and select Pareto-optimal thread orders. • Offline Consolidation: During idle cycles, the kernel &quot;replays&quot; event graphs via SGD to refine its embeddings, effectively &quot;dreaming&quot; to optimize future performance. Current Status (The &quot;Why&quot; I&#x27;m Posting): We have a GCP prototype (linked above) that validates the VSA&#x2F;JEPA architecture. It passes 93% of LKDTM tests in emulation and demonstrates the self-learning loop. However, the bare-metal Rust kernel on Raspberry Pi 4 is hitting a wall. We are seeing 8–12ms core stalls due to cache-line contention when the JEPA scheduler writes updated embeddings back to memory. We also have race conditions during warm resume causing SDHCI timeouts. The Ask: I am looking for a System Architect Co-Founder who sees that 8ms stall not as a failure, but as a challenge. I need someone who understands: • Rust nightly and unsafe boundaries in a kernel context. • Lock-free data structures to fix the embedding write contention. • How to implement causal masking in the replay buffer (currently missing).<p>I’m here to answer questions about why we think VSA is the future of kernel IPC<p>AXION One stands at the precipice of a major breakthrough in systems programming. The combination of Rust, VSA, and JEPA offers a theoretical solution to the most pressing problems in AI infrastructure: sovereignty, auditability, and efficiency. However, the transition from a verified cloud prototype to a robust bare machine kernel requires a specific caliber of engineering talent that a System Architect who thrives on complexity and is unafraid of low-level optimization.<p>Citations: Show HN: A DOS-like hobby OS in Rust. VEKOS: Verified Experimental Kernel OS. Show HN: Vect AI OS. Hacker News Posting Guidelines &amp; Analysis. Vector Symbolic Architectures (VSA&#x2F;HDC) Research. Joint Embedding Predictive Architecture (JEPA) Research. Redox OS &amp; Rust Kernel Discussions.