{"work":{"id":"57bb3f0f-e008-4d33-8865-9bfe73922e73","openalex_id":null,"doi":null,"arxiv_id":"2510.12635","raw_key":null,"title":"Memory as Action: Autonomous Context Curation for Long-Horizon Agentic Tasks","authors":null,"authors_text":null,"year":2025,"venue":"cs.AI","abstract":"Long-context Large Language Models, despite their expanded capacity, require careful working memory management to mitigate attention dilution during long-horizon tasks. Yet existing approaches rely on external mechanisms that lack awareness of the agent's reasoning state, leading to suboptimal decisions. We propose Memory-as-Action (MemAct), a framework that treats working memory management as learnable policy actions. By formulating context management as in-place editing operations (deletion, insertion), MemAct enables joint optimization of information retention and task performance through end-to-end reinforcement learning. To address the computational challenges of dynamic context updates, we introduce Dynamic Context Policy Optimization, which restores training efficiency without compromising reasoning integrity. Experiments show that MemAct-RL-14B matches the accuracy of models $16\\times$ larger while reducing average context length by 51\\%, with learned strategies that adapt to model capabilities and generalize across task complexities.","external_url":"https://arxiv.org/abs/2510.12635","cited_by_count":null,"metadata_source":"pith","metadata_fetched_at":"2026-07-03T10:17:57.766257+00:00","pith_arxiv_id":"2510.12635","created_at":"2026-05-10T15:25:31.950865+00:00","updated_at":"2026-07-03T10:17:57.766257+00:00","title_quality_ok":true,"display_title":"Memory as Action: Autonomous Context Curation for Long-Horizon Agentic Tasks","render_title":"Memory as Action: Autonomous Context Curation for Long-Horizon Agentic Tasks"},"hub":{"state":{"work_id":"57bb3f0f-e008-4d33-8865-9bfe73922e73","tier":"hub","tier_reason":"10+ Pith inbound or 1,000+ external citations","pith_inbound_count":15,"external_cited_by_count":null,"distinct_field_count":5,"first_pith_cited_at":"2025-09-02T17:46:26+00:00","last_pith_cited_at":"2026-07-01T03:38:42+00:00","author_build_status":"not_needed","summary_status":"needed","contexts_status":"needed","graph_status":"needed","ask_index_status":"not_needed","reader_status":"not_needed","recognition_status":"not_needed","updated_at":"2026-07-04T13:56:50.302775+00:00","tier_text":"hub"},"tier":"hub","role_counts":[{"context_role":"background","n":1},{"context_role":"baseline","n":1}],"polarity_counts":[{"context_polarity":"background","n":1},{"context_polarity":"baseline","n":1}],"runs":{},"summary":{},"graph":{},"authors":[]}}