Live data from Hacker News

I accidentally turned LLM memory into program analysis

pwning.systems

101–107 of 107 posts

Re: I accidentally turned LLM memory into program analysis

#101

                       agent memory
                             |
              +--------------+--------------+
              |                             |
       deductive state               episodic memory
              |                             |
       facts / rules / time          fuzzy context
       provenance                    semantic retrieval
       retractions                   source text

Well this turns out, just like human memory functions. (Semantic vs episodic memory)

Re: I accidentally turned LLM memory into program analysis

#102
post #53

I reached a similar conclusion: LLMs should only really sit at the terminals of request fulfilment. 1. User request understanding: natural language -> a more rigorous representation, in my case Datalog. 2. Result interpretation: facts and derived facts -> natural language. Between those terminals, the work should be mechanical reasoning over some ontology or formal knowledge structure. That connects to another princi…

When i hear “weathering” i think of something slowly eroding away

Weather is fun choice since it’s a contronym. It has opposing definitions: to endure and to erode.

“He weathered the storm” vs “the stone weathered into an arch”.

Re: I accidentally turned LLM memory into program analysis

#105
post #102
post #53

Earlier quoted context omitted.

When i hear “weathering” i think of something slowly eroding away

Weather is fun choice since it’s a contronym. It has opposing definitions: to endure and to erode. “He weathered the storm” vs “the stone weathered into an arch”.

Really (in your example) the timeframe is the only difference.

You can endure as long as you want to, but we're all going to erode eventually.

Re: I accidentally turned LLM memory into program analysis

#107

This really matches up to my experience on long research projects with Claude. It’s very hard to remove information - Claude has a habit of recording things all over the place and will happily treat things as facts even after they’ve been disproved. What is currently true can get easily contaminated with old “facts”.

One of my rules of thumb is to minimize the amount of "negative knowledge" an LLM sees, as the concept introduced just hangs around in the context way too strong.

The mnemonic I use for that is "do not think of a polar bear".

https://en.wikipedia.org/wiki/Ironic_process_theory

Post reply on HN