arXiv:2610.42068cs.NIOct 2026

Manuscript Offprint

arXiv:2610.42068

RAMA: Retrieval-Augmented Multi-Agent Routing with Episodic Memory for LEO Satellite Networks

Xin Ming Li, Peng Hu

Xin Ming Li*§ and Peng Hu*‡§

*Centre for Computational Mathematics, University of Waterloo, Waterloo, Canada

‡Cheriton School of Computer Science, University of Waterloo, Waterloo, Canada

§Dept. of Electrical and Computer Engineering, University of Manitoba, Winnipeg, Canada

xm5li@uwaterloo.ca, peng.hu@umanitoba.ca

Abstract—Low-Earth orbit (LEO) satellite networks present a challenging routing environment due to rapidly changing topology, traffic, and link conditions. Existing deep reinforcement learning (DRL) routing methods typically rely on current observations and information encoded in network weights, limiting their ability to exploit successful past experiences. We propose RAMA, a retrieval-augmented multi-agent DRL framework with Approximate Information State (AIS), in which each satellite combines its local observation, recent routing history, neighboring state information, and retrieved entries from a per-satellite episodic memory. Retrieved experiences are integrated through a Transformer-based decision network trained with AIS-based auxiliary objectives. With weights frozen in a 140-satellite Kepler constellation, RAMA reduces mean end-to-end latency by 13.4% and 99th-percentile latency by 66.7% relative to the state-of-the-art double deep Q-network (DDQN) routing method, mainly by avoiding long detours. Updated online, RAMA remains stable while DDQN degrades. On the 1,584-satellite Starlink shell 1, the reduction in mean latency grows to 93.2%, and updating RAMA online lowers its mean latency by a further 25.5%. These results demonstrate the effectiveness of retrieval-augmented memory for scalable decentralized routing in LEO satellite networks.

Index Terms—Satellite networks, packet routing, multi-agent reinforcement learning, episodic memory, Low-Earth orbit.

I. INTRODUCTION

As LEO constellations scale from hundreds to thousands of satellites, maintaining an accurate global network state becomes increasingly difficult. Routing decisions must often be made using only local information, while queue occupancies, traffic demands, and link availability evolve continuously. Under these conditions, shortest-path routes computed from stale information may quickly become suboptimal, resulting in congestion, increased latency, and poor resilience to failures [1].

Recent deep reinforcement learning (DRL)-based routing approaches [2]–[4] improve adaptability by learning forwarding policies directly from interaction with the network. However, most existing methods make decisions solely from the current observation or a compact recurrent state. Consequently, valuable information from previous routing experiences may

be forgotten, even when similar traffic and topological situations recur.

LEO constellations exhibit strong periodicity because satellites repeatedly revisit similar orbital positions. Likewise, many traffic patterns recur at daily or shorter timescales. Therefore, forwarding decisions that previously led to low-delay packet delivery can provide useful guidance when similar conditions are encountered again. State-of-the-art multi-agent DRL (MADRL) schemes [2], [3] do not explicitly retain or retrieve such experiences.

To address this limitation, we propose Retrieval-Augmented Memory with Approximate Information State (AIS), called RAMA, a retrieval-enhanced MADRL framework for LEO packet routing. Each satellite maintains a lightweight episodic memory containing previous forwarding experiences together with their realized outcomes. When making a routing decision, the satellite retrieves experiences most similar to the current state and combines them with local observations, neighboring satellite information, and recent routing history through a Transformer-based decision network. Unlike existing LEO routing approaches that encode experience only through network weights or recurrent hidden states, RAMA explicitly stores and retrieves routing experiences at inference time. This enables adaptation through memory even when model parameters remain fixed after deployment. The main contributions are summarized as follows:

  • We propose RAMA that combines local observations, routing history, neighbor states, and a per-satellite episodic memory.
  • We integrate retrieval-based memory with the AIS learning framework, enabling learned representation to capture both reward- and dynamics-relevant information.
  • We extensively evaluate RAMA against double deep Q-network (DDQN) and Dijkstra-based shortest-path routing under both frozen and online adaptation settings.
  • We provide packet-level insights into RAMA's performance gains and the trade-offs relative to shortest-path routing.

The rest of the paper is organized as follows. Section II discusses the related work. Section III presents the system model, the RAMA architecture and its training process. Section IV

We acknowledge the support of the Natural Sciences and Engineering Research Council of Canada (NSERC), [funding reference number RGPIN-2022-03364]. The authors thank Ken Cao and Mahyar Tajeri for their contributions to research discussions and assistance with experiments.

presents the experimental results and a discussion. Section V concludes the paper and outlines future work.