arXiv AI By Haoran Jin, Defu Lian, Xiting Wang, Hong Xie

MUSE: Multi-Level Memory with Selective Runtime Injection for Scientific Coding Agents

Read the original on arXiv AI →

MUSE is a memory management framework for scientific coding agents that combines multi-level memory—global, approach-level, and implementation-level—with selective runtime injection. The agent starts with global and problem-matched approach-level memory, then during execution it retrieves implementation-level memory and an LLM gate decides whether to inject relevant experience as review advice. Experiments on four benchmarks in numerical problem solving, kernel optimization, and scientific software repair show that MUSE outperforms retrieval and memory baselines, and ablations confirm the benefits of the multi-level design and gated injection.

Machine-generated by The Flow from the publisher's headline and feed description — not written or checked by a human. The full article lives at arXiv AI.

arXiv AI
Sep 17

Cognitive Extensions for Dual-Process Language Agents: Memory and Self-Reflection in Interactive Environments

The paper introduces cognitive extensions for a dual‑process language agent, adding an Adaptive Memory Module (AMM) for episodic storage and a Self‑Reflection Module (SRM) for execution‑time validation. Implemented as feature‑flagged extensions, these modules allow controlled ablations on the ScienceWorld benchmark. Results show the full system outperforms baselines, with SRM providing the strongest individual improvement, indicating that execution‑time control is the key bottleneck while episodic memory aids once the runtime loop stabilizes.

By Jo\~ao Meneses dos Santos, Arlindo L. Oliveira
arXiv Computation and Language
3d ago

SWE-Opt: A Benchmark for Evaluating LLMs on Performance-Oriented Repository-Level Optimization

SWE-Opt is a new benchmark that evaluates large language models (LLMs) on repository‑level software performance optimization. It is built from 102 expert‑written optimizations from open‑source projects and measures runtime, peak memory, and Time‑Weighted Memory Usage (TWMU) under varied input data, execution conditions, and noise‑aware measurements. The study finds that current LLMs achieve few runtime gains and almost no memory improvements, whereas expert implementations deliver a 15.5× speedup and 171.3× memory reduction.

By Ezgi Sar{\i}kayak, Wenchao Gu, Hesham Ghonim, Chunyang Chen