Skip to content

Research and improve Memory Search algorithms #14

Description

@Xunzhuo

Goal

Research and improve Memory Search algorithms for higher-quality retrieval over Personal Model claims, Steps, and contextual recall inputs.

Scope

  • Evaluate current lexical, fuzzy, CJK n-gram, semantic, and claim-confidence ranking behavior.
  • Improve query expansion / query variants, cross-language recall, topic matching, stance/polarity handling, and no-match calibration.
  • Distinguish claim-aware search from conversation search while allowing useful combined ranking signals.
  • Add diagnostics that explain why a result matched, ranked, or failed.
  • Preserve safety: weak matches must not become asserted Personal Model truth.

Acceptance Criteria

  • Current memory search behavior is benchmarked with representative examples.
  • Proposed algorithm changes include measurable quality targets.
  • Golden tests cover strong match, weak match, no match, cross-language, CJK, and conflict-prone queries.
  • Diagnostics make ranking decisions inspectable for development and evaluation.
  • The algorithm remains aligned with docs/system-design/system-layer-model.md.

Metadata

Metadata

Assignees

No one assigned

    Labels

    area/contextContext assembly, compression, and reusearea/evaluationEvaluation harnesses, datasets, and quality metricsarea/memoryMemory, recall, Personal Model, and search behaviorenhancementNew feature or requestkind/researchResearch-oriented algorithm or product explorationpriority/p0Critical roadmap blocker

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions