ElasticMem: Latent Memory as a Learnable Resource for LLM Agents | ArxivCSExplorer