<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:dc="http://purl.org/dc/elements/1.1/">
  <channel>
    <title>DEV Community: Roan de Jager</title>
    <description>The latest articles on DEV Community by Roan de Jager (@roandejager).</description>
    <link>https://dev.to/roandejager</link>
    <image>
      <url>https://media2.dev.to/dynamic/image/width=90,height=90,fit=cover,gravity=auto,format=auto/https:%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Fuser%2Fprofile_image%2F3984390%2Fbfb46654-8a1d-44d4-bfa9-7cc53f4f1630.png</url>
      <title>DEV Community: Roan de Jager</title>
      <link>https://dev.to/roandejager</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/roandejager"/>
    <language>en</language>
    <item>
      <title>Hillock: A brain-inspired, CPU-bound memory gate for local LLMs</title>
      <dc:creator>Roan de Jager</dc:creator>
      <pubDate>Sun, 14 Jun 2026 21:04:21 +0000</pubDate>
      <link>https://dev.to/roandejager/hillock-a-brain-inspired-cpu-bound-memory-gate-for-local-llms-24n9</link>
      <guid>https://dev.to/roandejager/hillock-a-brain-inspired-cpu-bound-memory-gate-for-local-llms-24n9</guid>
      <description>&lt;p&gt;Hi everyone,&lt;/p&gt;

&lt;p&gt;I've been hacking on a local personal memory system called &lt;strong&gt;Hillock&lt;/strong&gt;. Honestly, it's very much a work in progress and it isn't some flawless breakthrough, but I wanted to see if we could build a lightweight, completely offline memory layer for local LLMs without the overhead of running a heavy neural vector database or wasting precious VRAM. &lt;/p&gt;

&lt;p&gt;The project is named after the biological &lt;em&gt;Axon Hillock&lt;/em&gt;—the exact gatekeeper region of a human neuron that sums up incoming electrical charges and decides whether to fire (open the gate) or remain silent (block).&lt;/p&gt;

&lt;h3&gt;
  
  
  How the architecture works:
&lt;/h3&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;The Ground Truth (SQLite)&lt;/strong&gt;: Stores hard facts as simple database triples (Subject-Predicate-Object) so the system has a solid symbolic foundation.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;The Synapses (Hebbian Plasticity)&lt;/strong&gt;: Tracks which concepts co-occur during a conversation to dynamically build gradient-free associative weights.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;The Context (Hyperdimensional Computing)&lt;/strong&gt;: Maintains a 10,000-dimensional leaky context vector that rolls, binds, and accumulates history. This helps the system resolve pronouns (like "he/she") and decide when to block a query to prevent hallucinations.&lt;/li&gt;
&lt;/ul&gt;

&lt;h3&gt;
  
  
  The Honest Benchmarks (Yes, it breaks!)
&lt;/h3&gt;

&lt;p&gt;I wrote a tough, 30-sentence scientific benchmark with complex sentence structures and hard negatives (like asking what Einstein discovered when the text only mentions Curie discovering radioactivity and Einstein working with her). &lt;/p&gt;

&lt;p&gt;Running Qwen 1.5B locally on my computer, here is how it actually did:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Extraction Precision&lt;/strong&gt;: 10.6%&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Extraction Recall&lt;/strong&gt;: 22.7%&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Retrieval Accuracy&lt;/strong&gt;: 30.0%&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Gate Accuracy&lt;/strong&gt;: 30.0%&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Why are these scores low? Because a tiny 1.5B model completely trips over complex English grammar during ingestion (it gets confused and creates weird predicates). However, the actual HDC vector-matching itself is incredibly stable. I enforce a &lt;em&gt;Constant-Component-Count&lt;/em&gt; of exactly 3 components per fact, which balances the vector norms and keeps retrieval highly reliable once the facts are actually in the database.&lt;/p&gt;

&lt;p&gt;It is fully open-source (under the AGPL-3.0 copyleft license) and designed to run entirely offline on consumer hardware. &lt;/p&gt;

&lt;p&gt;If anyone is interested in VSAs, neuro-symbolic AI, or has feedback on the HDC context-binding math, I'd love for you to check it out!&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;GitHub Repository:&lt;/strong&gt; &lt;a href="https://github.com/roandejager/Hillock" rel="noopener noreferrer"&gt;https://github.com/roandejager/Hillock&lt;/a&gt;&lt;/p&gt;

</description>
      <category>ai</category>
      <category>python</category>
      <category>opensource</category>
      <category>machinelearning</category>
    </item>
  </channel>
</rss>
