<?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: Kaue Oliveira</title>
    <description>The latest articles on DEV Community by Kaue Oliveira (@kyuubyn).</description>
    <link>https://dev.to/kyuubyn</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.us-east-2.amazonaws.com%2Fuploads%2Fuser%2Fprofile_image%2F4096749%2Ffa3a0286-796a-4469-ad26-0037e9125118.jpg</url>
      <title>DEV Community: Kaue Oliveira</title>
      <link>https://dev.to/kyuubyn</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/kyuubyn"/>
    <language>en</language>
    <item>
      <title>Why I stopped letting LLMs decide what they remember</title>
      <dc:creator>Kaue Oliveira</dc:creator>
      <pubDate>Thu, 27 Aug 2026 06:16:36 +0000</pubDate>
      <link>https://dev.to/kyuubyn/why-i-stopped-letting-llms-decide-what-they-remember-1e62</link>
      <guid>https://dev.to/kyuubyn/why-i-stopped-letting-llms-decide-what-they-remember-1e62</guid>
      <description>&lt;p&gt;I've been working on a project called &lt;strong&gt;ProofRay&lt;/strong&gt;.&lt;/p&gt;

&lt;p&gt;It's not another chatbot, and not another wrapper around RAG. I wanted to test a simpler idea: what if memory and text generation are two different problems?&lt;/p&gt;

&lt;p&gt;LLMs are great at writing. They'll make an answer sound confident, natural and useful even when they remembered the wrong thing. That's fine for a lot of tasks, but it's a bad contract for personal memory, technical docs, logs. Anything where "I think this was the answer" isn't enough.&lt;/p&gt;

&lt;p&gt;So ProofRay sits before the model.&lt;/p&gt;

&lt;p&gt;You give it documents and a question. It routes the question to source material, verifies identities, spans and digests, and tries to close a proof for the answer.&lt;/p&gt;

&lt;p&gt;Proof closes → it answers.&lt;br&gt;
Material is useful but incomplete → it returns evidence.&lt;br&gt;
Not enough authority → it abstains.&lt;/p&gt;

&lt;p&gt;The important part: &lt;/p&gt;

&lt;blockquote&gt;
&lt;p&gt;relevance alone can't become an asserted answer.&lt;/p&gt;
&lt;/blockquote&gt;

&lt;p&gt;The core runs locally and doesn't need embeddings or an LLM to make the memory decision. You can plug a model in after ProofRay, but only as a reader or rewriter of a result that was already authorized.&lt;/p&gt;

&lt;p&gt;I recently ran four end-to-end consumer paths on MemGym-DR with the current default/general memory profile:&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;ProofRay standalone, no LLM:          0.7975&lt;br&gt;
ProofRay + Gemini Flash-Lite polish:  0.6125&lt;br&gt;
BM25 RAG + Gemini Flash-Lite:         0.5583&lt;br&gt;
ProofRay + Qwen3 1.7B Q8 local:       0.4975&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;Higher is better.&lt;/p&gt;

&lt;p&gt;The standalone number was the one that got me. I expected the LLM to make the final answer better. Instead the "polish" step often made it worse, it would drop an important condition, change a detail, merge evidence into a claim, or turn an abstention into something that sounded more complete than it actually was.&lt;/p&gt;

&lt;p&gt;That doesn't mean Gemini or Qwen are bad. It means they shouldn't be the authority on memory.&lt;/p&gt;

&lt;p&gt;The local Qwen run was fun too: a 1.7B Q8 model on my own machine landed reasonably close to a traditional BM25 + cloud Gemini pipeline. I'm not claiming a small local model matches Gemini in general. I'm saying better memory architecture seems to reduce how much model scale you need for a recall task.&lt;/p&gt;

&lt;p&gt;Some limits, because they matter:&lt;/p&gt;

&lt;p&gt;This is consumed-development benchmark data, not a sealed claim of general performance. ProofRay doesn't understand every possible question, language, relation or domain. The default profile targets general source-grounded memory; there's a separate personal profile for conversational/user-memory cases. The repo keeps the failed experiments and the limitations documented instead of hiding them.&lt;/p&gt;

&lt;p&gt;I'm releasing it as a public alpha because I want people throwing real documents at it, weird "remember when..." questions, conflicting notes, cases I didn't think of.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Repo&lt;/strong&gt;: &lt;a href="https://github.com/kyuubyN/ProofRay" rel="noopener noreferrer"&gt;https://github.com/kyuubyN/ProofRay&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;If you try it, I'd honestly rather get a good failure case than a generic "looks cool".&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2Fptkmyetnzion3dy2bri0.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2Fptkmyetnzion3dy2bri0.png" alt="" width="800" height="826"&gt;&lt;/a&gt;&lt;/p&gt;

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