<?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: Phillip Neho</title>
    <description>The latest articles on DEV Community by Phillip Neho (@phillip_neho).</description>
    <link>https://dev.to/phillip_neho</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%2F3069438%2F6d35692f-ae18-4d6c-af79-5b460123a3b9.jpg</url>
      <title>DEV Community: Phillip Neho</title>
      <link>https://dev.to/phillip_neho</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/phillip_neho"/>
    <language>en</language>
    <item>
      <title>We Hit 99.1% on the LOCOMO Benchmark. Here's How.</title>
      <dc:creator>Phillip Neho</dc:creator>
      <pubDate>Sun, 12 Apr 2026 08:00:08 +0000</pubDate>
      <link>https://dev.to/phillip_neho/we-hit-991-on-the-locomo-benchmark-heres-how-18di</link>
      <guid>https://dev.to/phillip_neho/we-hit-991-on-the-locomo-benchmark-heres-how-18di</guid>
      <description>&lt;h1&gt;
  
  
  We Hit 99.1% on the LOCOMO Benchmark. Here's How.
&lt;/h1&gt;

&lt;p&gt;Last week, we hit &lt;strong&gt;99.1% accuracy&lt;/strong&gt; on the LOCOMO benchmark.&lt;/p&gt;

&lt;p&gt;For context:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Mem0&lt;/strong&gt;: 26%&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Engram&lt;/strong&gt;: 79.6%&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Muninn&lt;/strong&gt;: 99.1%&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;That's a &lt;strong&gt;73-point gap&lt;/strong&gt; over Mem0. A &lt;strong&gt;20-point gap&lt;/strong&gt; over Engram.&lt;/p&gt;

&lt;p&gt;The breakthrough wasn't a new model or complex architecture. It was removing a single assumption.&lt;/p&gt;




&lt;h2&gt;
  
  
  What is the LOCOMO Benchmark?
&lt;/h2&gt;

&lt;p&gt;LOCOMO (Long-Context Memory) tests whether AI agents can answer multi-hop reasoning questions using stored memories.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Example:&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;You tell the agent:&lt;/p&gt;

&lt;blockquote&gt;
&lt;p&gt;"James works at TechCorp. Sarah and Mike also work at TechCorp. James plays tennis on weekends."&lt;/p&gt;
&lt;/blockquote&gt;

&lt;p&gt;Then you ask:&lt;/p&gt;

&lt;blockquote&gt;
&lt;p&gt;"Who does James work with?"&lt;/p&gt;
&lt;/blockquote&gt;

&lt;p&gt;The agent must:&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;Find &lt;code&gt;James → works_at → TechCorp&lt;/code&gt;
&lt;/li&gt;
&lt;li&gt;Find &lt;code&gt;TechCorp → employees → [Sarah, Mike]&lt;/code&gt;
&lt;/li&gt;
&lt;li&gt;Return: "Sarah and Mike"&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;This requires &lt;strong&gt;multi-hop reasoning&lt;/strong&gt; — traversing relationships between entities.&lt;/p&gt;




&lt;h2&gt;
  
  
  Why Existing Systems Fail
&lt;/h2&gt;

&lt;p&gt;Most memory systems use &lt;strong&gt;predicate filtering&lt;/strong&gt;:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight python"&gt;&lt;code&gt;&lt;span class="c1"&gt;# Find all 'works_at' facts
&lt;/span&gt;&lt;span class="n"&gt;works_at_facts&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="n"&gt;memory&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nf"&gt;search&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="n"&gt;predicate&lt;/span&gt;&lt;span class="o"&gt;=&lt;/span&gt;&lt;span class="sh"&gt;"&lt;/span&gt;&lt;span class="s"&gt;works_at&lt;/span&gt;&lt;span class="sh"&gt;"&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;The problem: Predicates rarely match exactly. Some systems store &lt;code&gt;works_at&lt;/code&gt;, others &lt;code&gt;employed_by&lt;/code&gt;, others &lt;code&gt;job_title&lt;/code&gt;.&lt;/p&gt;

&lt;p&gt;When you filter by predicate, you miss facts stored with different predicates.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Result:&lt;/strong&gt; Multi-hop reasoning fails because the path breaks.&lt;/p&gt;




&lt;h2&gt;
  
  
  The Breakthrough: Remove Predicate Filtering
&lt;/h2&gt;

&lt;p&gt;We tried a counterintuitive approach: &lt;strong&gt;Stop filtering by predicate entirely.&lt;/strong&gt;&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight python"&gt;&lt;code&gt;&lt;span class="c1"&gt;# OLD: Filter by predicate first
&lt;/span&gt;&lt;span class="n"&gt;facts&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="n"&gt;memory&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nf"&gt;search&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="n"&gt;predicate&lt;/span&gt;&lt;span class="o"&gt;=&lt;/span&gt;&lt;span class="sh"&gt;"&lt;/span&gt;&lt;span class="s"&gt;works_at&lt;/span&gt;&lt;span class="sh"&gt;"&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="n"&gt;entity&lt;/span&gt;&lt;span class="o"&gt;=&lt;/span&gt;&lt;span class="sh"&gt;"&lt;/span&gt;&lt;span class="s"&gt;James&lt;/span&gt;&lt;span class="sh"&gt;"&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;

&lt;span class="c1"&gt;# NEW: Search ALL facts for entity, filter after
&lt;/span&gt;&lt;span class="n"&gt;facts&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="n"&gt;memory&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nf"&gt;search&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="n"&gt;entity&lt;/span&gt;&lt;span class="o"&gt;=&lt;/span&gt;&lt;span class="sh"&gt;"&lt;/span&gt;&lt;span class="s"&gt;James&lt;/span&gt;&lt;span class="sh"&gt;"&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;
&lt;span class="n"&gt;works_at_facts&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="p"&gt;[&lt;/span&gt;&lt;span class="n"&gt;f&lt;/span&gt; &lt;span class="k"&gt;for&lt;/span&gt; &lt;span class="n"&gt;f&lt;/span&gt; &lt;span class="ow"&gt;in&lt;/span&gt; &lt;span class="n"&gt;facts&lt;/span&gt; &lt;span class="k"&gt;if&lt;/span&gt; &lt;span class="n"&gt;f&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="n"&gt;predicate&lt;/span&gt; &lt;span class="ow"&gt;in&lt;/span&gt; &lt;span class="p"&gt;[&lt;/span&gt;&lt;span class="sh"&gt;"&lt;/span&gt;&lt;span class="s"&gt;works_at&lt;/span&gt;&lt;span class="sh"&gt;"&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="sh"&gt;"&lt;/span&gt;&lt;span class="s"&gt;employed_by&lt;/span&gt;&lt;span class="sh"&gt;"&lt;/span&gt;&lt;span class="p"&gt;]]&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;Latency: &lt;strong&gt;~50ms&lt;/strong&gt; on Cloudflare Workers.&lt;/p&gt;




&lt;h2&gt;
  
  
  The Numbers
&lt;/h2&gt;

&lt;div class="table-wrapper-paragraph"&gt;&lt;table&gt;
&lt;thead&gt;
&lt;tr&gt;
&lt;th&gt;System&lt;/th&gt;
&lt;th&gt;LOCOMO Score&lt;/th&gt;
&lt;th&gt;Gap to Muninn&lt;/th&gt;
&lt;/tr&gt;
&lt;/thead&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td&gt;&lt;strong&gt;Muninn&lt;/strong&gt;&lt;/td&gt;
&lt;td&gt;&lt;strong&gt;99.1%&lt;/strong&gt;&lt;/td&gt;
&lt;td&gt;—&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;MemMachine&lt;/td&gt;
&lt;td&gt;88%&lt;/td&gt;
&lt;td&gt;-11.1%&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Engram&lt;/td&gt;
&lt;td&gt;79.6%&lt;/td&gt;
&lt;td&gt;-19.5%&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Mem0&lt;/td&gt;
&lt;td&gt;26%&lt;/td&gt;
&lt;td&gt;-73.1%&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;&lt;/div&gt;

&lt;p&gt;The jump from 87% to 99.1% came from removing predicate filtering.&lt;/p&gt;




&lt;h2&gt;
  
  
  Try It
&lt;/h2&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Dashboard:&lt;/strong&gt; &lt;a href="https://muninn.au" rel="noopener noreferrer"&gt;https://muninn.au&lt;/a&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;API:&lt;/strong&gt; &lt;a href="https://api.muninn.au" rel="noopener noreferrer"&gt;https://api.muninn.au&lt;/a&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;GitHub:&lt;/strong&gt; &lt;a href="https://github.com/Phillipneho/muninn" rel="noopener noreferrer"&gt;https://github.com/Phillipneho/muninn&lt;/a&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Free tier:&lt;/strong&gt; No credit card required&lt;/li&gt;
&lt;/ul&gt;




&lt;h2&gt;
  
  
  The Lesson
&lt;/h2&gt;

&lt;p&gt;Sometimes the best optimization is &lt;strong&gt;removing complexity&lt;/strong&gt;, not adding it.&lt;/p&gt;

&lt;p&gt;We spent months trying to improve predicate filtering. Better NLP, more synonyms, fuzzy matching.&lt;/p&gt;

&lt;p&gt;None of it worked.&lt;/p&gt;

&lt;p&gt;Removing predicate filtering entirely? That was a 12-point accuracy jump.&lt;/p&gt;




&lt;p&gt;&lt;em&gt;&lt;a href="https://muninn.au" rel="noopener noreferrer"&gt;Phillip is building memory infrastructure for AI agents.&lt;/a&gt;&lt;/em&gt;&lt;/p&gt;

</description>
      <category>ai</category>
      <category>llm</category>
      <category>memory</category>
      <category>agents</category>
    </item>
  </channel>
</rss>
