ImageNet classification with deep convolutional neural networks
Alex Krizhevsky, Ilya Sutskever et al.
1
Citations
0
Influential Citations
arXiv.org
Venue
2026
Year
Memory-based self-evolution has emerged as a promising paradigm for coding agents. However, existing approaches typically restrict memory utilization to homogeneous task domains, failing to leverage the shared infrastructural foundations, such as runtime environments and programming languages, that exist across diverse real-world coding problems. To address this limitation, we investigate \textbf{Memory Transfer Learning} (MTL) by harnessing a unified memory pool from heterogeneous domains. We evaluate performance across 6 coding benchmarks using four memory representations, ranging from concrete traces to abstract insights. Our experiments demonstrate that cross-domain memory improves average performance by 3.7\%, primarily by transferring meta-knowledge, such as validation routines, rather than task-specific code. Importantly, we find that abstraction dictates transferability; high-level insights generalize well, whereas low-level traces often induce negative transfer due to excessive specificity. Furthermore, we show that transfer effectiveness scales with the size of the memory pool, and memory can be transferred even between different models. Our work establishes empirical design principles for expanding memory utilization beyond single-domain silos. Project page: https://memorytransfer.github.io/
Memory-based self-evolution has become a promising approach for coding agents, but existing methods are often confined to homogeneous task domains. This paper challenges that limitation by introducing Memory Transfer Learning (MTL), which leverages a unified memory pool from heterogeneous domains. The significance lies in recognizing that diverse coding problems share infrastructural foundations—such as runtime environments and programming languages—that can be exploited for knowledge transfer. This shift from domain-specific memory to cross-domain memory could fundamentally enhance the scalability and adaptability of coding agents.
The paper's findings are particularly impactful because they reveal that abstraction is the key determinant of transferability. High-level insights, like validation routines, transfer effectively across domains, while low-level traces often cause negative transfer due to their specificity. This insight provides a clear design principle for future memory systems: prioritize abstract, meta-knowledge over concrete, task-specific details. This could reshape how memory is structured and curated in AI systems, moving beyond simple storage to intelligent abstraction.
The experiments across six coding benchmarks show that cross-domain memory improves average performance by 3.7%. This improvement is attributed to the transfer of meta-knowledge, such as validation routines, rather than task-specific code. The paper also highlights that abstraction dictates transferability: high-level insights generalize well, whereas low-level traces often induce negative transfer due to excessive specificity. Furthermore, transfer effectiveness scales with the size of the memory pool, and memory can be transferred even between different models. These results provide concrete evidence for the benefits of cross-domain memory and the importance of abstraction.
This work establishes empirical design principles for expanding memory utilization beyond single-domain silos. By demonstrating that cross-domain memory can improve performance and that abstraction is key, it paves the way for more robust and adaptable coding agents. The findings could influence future research in memory-augmented AI, encouraging the development of systems that can learn and transfer meta-knowledge across diverse tasks. This has broader implications for AI self-evolution, potentially enabling agents to accumulate and reuse knowledge more effectively across a wide range of real-world coding problems.
Alex Krizhevsky, Ilya Sutskever et al.
Ashish Vaswani, Noam Shazeer et al.
Douglas M. Bates, Martin Mächler et al.
Diederik P. Kingma, Jimmy Ba