Mstar searched for a memory harness per task and found structurally different ones for conversation, planning and expert reasoning
AspireAI community · arXiv
Agents rely on a memory harness to write, organise, retrieve and use past experience, and a harness that works for one task tends to fail on another because conversation, embodied planning and expert reasoning want different storage and retrieval behaviour. Mstar treats the harness as an executable Python memory program with Schema, Logic and Instruction components and searches for it by reflective code evolution, optimising all three jointly. Across four tasks spanning conversation, embodied planning and specialised reasoning, the evolved programs beat existing baselines, and the authors report that the discovered programs have structurally distinct processing mechanisms per domain. The paper's claim is that the memory program, not the retrieval strategy alone, is the thing worth searching over.
Read the story and explore more from the AspireAI community.
Two sparse-autoencoder analyses have resisted scaling: matching semantically similar features across layers, and compressing large feature circuits into interpretable supernodes. This paper argues both are the same underlying problem, estimating semantic distances between SAE features that sit on different activation manifolds. Its representation treats each feature not as a single decoder vector but as an activation-weighted distribution over the hidden states expressing it, projects those distributions into a shared reference space, and compares them with Wasserstein distance. The representation is proved invariant to activation rescaling and stable under perturbation, and recovers true matches under finite-sample margin conditions. Empirically it outperformed decoder-vector and LLM-based baselines and captured subtle functional distinctions between related features, and it compressed large feature circuits into interpretable supernodes automatically. The limitation is that this is interpretability tooling: the paper demonstrates better feature matching and circuit compression, not that downstream interpretability claims become more accurate.