This a post on my "Noframes" wiki.
BiasOfContextPlausibility
Comes as an afterthought from KnowledgeBases1.html
1. One more step
The agent can't realize it needs the knowledge without being acquianted in the current context with what can be in that context.
This can happen through progressive disclosure of directory trees full of filenames from the knowledge base on occassion of consecutive turns… but we can inject knowledge there if we apply semantic search immediately (or can we?
1.1. Or can we just prompt it?
Actually sufficiently prompt for constant queries supply, rather than trying to match the an embedding of Q against the embeddings of As? Can we make the LLM generate them objectively after a turn without involving a bias of context plausibility? Should we do it with prior context spared?
- Should we do it with an additional context of prior queries, without indicating whether they were hits or not?
)
1.2. I didn't really read into the MemFit paper yet, did I
A glance into MemFit (Piehl, Ye) and under 2. Related work, Iterative retrieval for LLMs mentions MemFit keeps the LLM out of the search itself. That sounds like not making it be explicitly output queries that guide the semantic search.
yeah, sending them an email at 2am
MemFit — rookie messy question about retrieval inferenceHello,
my question might be a bit too rushed and perhaps I should take more time trying to get into it all after spending a few days carrying dearly a printout of MemFit, as I have not read into prior referenced work yet, — i.e. I don't want to burn my chances at having correspondence with you by being too quick to write you an email not sufficiently coherent — but:
You say MemFit keeps the LLM out of the search itself — and thus what seems unexplored is that the «Needing to infer» from the Answer-Extraction Prompt could invoke tool calls for a recursive MemFit search, but I guess that would open us to the whole new problems of queries inference from context, tentative queries, and the former additionally doubling down with bias of prior queries from the context.
On one hand I suppose it can be said that not implementing this recursion makes the invocations of MemFit not contain hidden complexity, but on the other, since these inferences are not expected to be introspectable by the orchestrator, the inference may not be picked up to be continued. And since inferences are not tightly limited to a token count, as well as an exceedingly large inference subtopic I suppose being able to thwart rest of the inference effort, an inference that pursues futile uninformed guesswork may be pretty wasteful.
I would guess that once we allow the possibility of recursive MemFit invocations in a situation of inference for an answer, we meet with, in case of a
tool_callsconvention:
- inadequate queries inference — the LLM guesses the queries based on what fact database queries sound like globally, rather than with any insight into what our transcript base is like actually,
- bias of prior queries — the LLM context may include prior inputs of when some answers were reinjected to it, and thus guess what successful queries may sound like based on the picture the answers painted of what is the knowledge base like,
- tentative queries — the queries we would recurse into would no longer be certain to be worthy, and thus recursion should carry the statement of ultimate purpose to allow verifying against pointlessness
Wouldn't the next step perhaps be to try text-tiling the inference reasoning itself, the reasoning phase output of it trying to figure something out (the rhethorical Qs + uninformed guess-As), or putting the chunks of it through a conversational/transforming LLM to turn Qs into As or As into Qs, — and live-mass-applying semantic search to that, and "interjecting" the reasoning?