Repository navigation
Replies: 1 comment
|
For the low-resource split, v0.10.3 supports separate consolidation settings. Keep Retain on the working model and set
Changing models does not reprocess consolidated or failed facts. The pending query excludes both. I have not verified a safe reset/reprocessing workflow. For partial-output diagnosis, the native reader expects one complete JSON response, with no partial-output capture found in that path. Overriding For a capability gate, repeat fixed new-fact, update, duplicate and contradiction cases. Check source UUIDs and unsupported deletions alongside JSON validity, completion rate and latency. |
Uh oh!
There was an error while loading. Please reload this page.
TL;DR
I spent roughly 6–7 hours investigating Hindsight with a local Qwen3.5 4B Q4_K_M model served by Ollama on modest hardware. Retain works well in my usage, and Recall is responsive. The main difficulty has been Consolidation: some 2-fact batches complete in ~80 seconds and generate a concise, valid JSON response, while other requests generate thousands of tokens without finishing before a 600-second timeout. This can trigger automatic retries and very long total batch times.
My working hypothesis is a task/model/hardware mismatch: a 4B-class quantized model sometimes struggles to terminate complex, long-context, schema-constrained consolidation reliably; at ~11 generated tokens/second, an overlong completion readily becomes a timeout. This is not a proven root cause. In particular, failed requests had no returned output, so I could not examine the unfinished JSON or establish that repetition was occurring.
Importantly, this does not mean Hindsight is unusable. I plan to continue accumulating Facts and graph links through Retain/Recall and revisit Consolidation/Reflect/Mental Models when a stronger model or faster hardware is available.
Environment
qwen3.5:4b-q4_K_M(approximately 4.7B parameters; model download ~3.39 GB)The Hindsight API and Control Plane are bound to loopback on the VivoBook (
127.0.0.1:8888and127.0.0.1:9999). Ollama is not publicly exposed for this experiment.What succeeded
creates/updates/deletesarrays.These are observations from my specific workload, not a benchmark of accuracy against a labeled test set. I have not independently benchmarked full Reflect or Mental Model quality.
Consolidation issue and configuration changes
Initial configuration (relevant fields):
During consolidation, the worker reported
OutputTooLongErrorfor an 8-fact batch and bisected it into 4+4. Other attempts repeatedly encounteredOllama connection errorand timeout/retry behavior. I confirmed that the worker was still processing (not simply an idle database or a dead HTTP server).I then:
HINDSIGHT_API_CONSOLIDATION_LLM_TIMEOUT=600, while keeping the generalHINDSIGHT_API_LLM_TIMEOUT=300.Important: Changing Batch Size while a job was already running did not retroactively change that job's effective batching. Some logged 2-fact units in the old operation came from adaptive bisection; they are not proof that the whole old job was configured as Batch Size = 2.
Selected measurements from the logs
These are different requests / task stages, not a controlled same-prompt A/B comparison:
OutputTooLongError; split into smaller sub-batchesThe Hindsight per-batch approximate input-token counter and Ollama's prompt-evaluation count are not necessarily identical; they should not be treated as interchangeable measurements. Similarly, one successfully handled 2-fact batch does not prove the remaining batches would be stable.
Why the generation length matters on this hardware
At ~11 generated tokens/s, a 300-token reply takes roughly half a minute to generate (plus prompt processing), whereas 6,500 tokens require close to ten minutes of generation alone. The slow hardware magnifies an overlong output into a timeout; it does not by itself explain why the model generated so much.
I also checked the Hindsight v0.10.3 Ollama native provider implementation: its
/api/chatpayload sets"stream": falseand defaults to"think": falseunless overridden. Therefore, I would not assume those 6,500 tokens were a hidden thinking trace. The most plausible unverified explanations include excessively long structured fields, too many update decisions, or generation degeneration. We cannot distinguish these without the failed completion text.Bank snapshot after the tests
The Control Plane showed:
Dashboard interpretation: In v0.10.3, the UI computes
Done = total_nodes - pending - failed, so the 278 “Done” figure includes the 47 Observations. That corresponds to 231 consolidated source Facts out of 441 World + Experience Facts (~52.4%). A displayedFailed = 0means no Facts are currently permanently marked failed; it does not mean that no earlier LLM attempts timed out.The link count confirms that graph-building took place, not that every link is relevant or Recall quality is proven.
Working hypothesis, and limitations
Hypothesis: Qwen3.5 4B Q4_K_M can carry out Hindsight's smaller Retain tasks and support a useful Fact/Recall workflow, but is not consistently reliable for long-context Consolidation on this setup. Hindsight's consolidation prompt asks it to compare newly extracted facts against existing observations, preserve source UUIDs, choose CREATE vs UPDATE vs DELETE, and produce schema-constrained JSON. My successful runs show it can do that; the extended generation and timeout runs show that it does not always complete within the available inference budget.
What I cannot conclude from this experiment:
Suggestions for other self-hosted users
Outputfield..envcontents or actual memory-bank data.Questions for Hindsight maintainers and other users
Related discussions/reports: Hindsight #2544 — degenerate consolidation output, Hindsight #2150 — long/stuck consolidation LLM calls, and Ollama #16685 — Qwen3.5 9B non-terminating long output. These are analogous reports, not proof of the same root cause.
Bottom line: This experiment was still worthwhile. Retain + Facts + Recall already provide value on inexpensive hardware. I view Consolidation/Reflect/Mental Models as separately upgradable layers—not a reason to discard the memory bank or the Hindsight project.
All reactions