Publication
arXiv
Stage
Preprint
What we read
Summary of the paper
Authors
Peiwen Li, Harshit Verma, Sophia Zhou, Haiwen Wang, Ngoc Bui, Heng Chang, Fei Fei, David van Dijk, Rex Ying
Universities and research institutions
Yale University, Tsinghua University

Institution metadata: OpenAlex record ↗

What they did and found

The researchers trained an AI coding assistant to reuse short notes about earlier work. In their test, the share of tasks solved rose from 21.0% to 25.7%. It also took 17% fewer steps than the untrained assistant working without memory.

Why it matters

Remembering everything has a cost. The study tests a narrower approach: keep useful file locations and commands for checking code, then teach the assistant when those notes help.

Each task starts with the code changes left by previous tasks. Notes are written before the next task is known. The researchers compared runs with and without parts of the earlier record to identify useful information.

Training rewards successful solutions and penalizes extra steps in successful runs. The reported improvement combines the memory design with further training. The comparison measures that combined approach.

Read the paper PDF ↗

Original sources · 1
  1. CoReMem: Cost-Internalizing Memory for Successive Coding Tasks with Prospective Valuation ↗arXiv · 2026-11-12

Check the original paper for its authors, methods, version and access terms.

What remains uncertain

This preprint tests selected tasks within software projects, combining memory design with further training.