Memoir: Should a Model Write to Its Memory While It Thinks? | ArxivCSExplorer