<?xml-model href='http://www.tei-c.org/release/xml/tei/custom/schema/relaxng/tei_all.rng' schematypens='http://relaxng.org/ns/structure/1.0'?><TEI xmlns="http://www.tei-c.org/ns/1.0">
	<teiHeader>
		<fileDesc>
			<titleStmt><title level='a'>Scalable spectral representations for multiagent reinforcement learning in network MDPs</title></titleStmt>
			<publicationStmt>
				<publisher>PMLR</publisher>
				<date>05/03/2025</date>
			</publicationStmt>
			<sourceDesc>
				<bibl> 
					<idno type="par_id">10600586</idno>
					<idno type="doi"></idno>
					
					<author>Zhaolin Ren</author><author>Runyu Zhang</author><author>Bo Dai</author><author>Na Li</author><author>Yingzhen Li</author><author>Stephan Mandt</author><author>Shipra Agrawal</author><author>Emtiyaz Khan</author>
				</bibl>
			</sourceDesc>
		</fileDesc>
		<profileDesc>
			<abstract><ab><![CDATA[Network Markov Decision Processes (MDPs), which are the de-facto model for multi-agent control, pose a significant challenge to e!cient learning caused by the exponential growth of the global state-action space with the number of agents. In this work, utilizing the exponential decay property of network dynamics, we first derive scalable spectral local representations for multiagent reinforcement learning in network MDPs, which induces a network linear subspace for the local Q-function of each agent. Building on these local spectral representations, we design a scalable algorithmic framework for multiagent reinforcement learning in continuous state-action network MDPs, and provide end-to-end guarantees for the convergence of our algorithm. Empirically, we validate the e"ectiveness of our scalable representation-based approach on two benchmark problems, and demonstrate the advantages of our approach over generic function approximation approaches to representing the local Q-functions. →]]></ab></abstract>
		</profileDesc>
	</teiHeader>
	<text><body xmlns="http://www.tei-c.org/ns/1.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xlink="http://www.w3.org/1999/xlink">
<div xmlns="http://www.tei-c.org/ns/1.0"><head n="1">Introduction</head><p>Multi-agent network systems have found applications in various societal infrastructures, such as power systems, tra!c networks, and smart cities <ref type="bibr">[McArthur et al., 2007</ref><ref type="bibr">, Burmeister et al., 1997</ref><ref type="bibr">, Roscia et al., 2013]</ref>. One particularly important class of such problems is the cooperative multi-agent network MDP setting, where agents are embedded in a graph, and each agent has its own local state <ref type="bibr">[Qu et al., 2020b]</ref>.</p><p>In network MDPs, the local state transition probabilities and rewards only depend on the states and actions of the agent's Reinforcement Learning (RL) <ref type="bibr">[Sutton, 2018]</ref> has emerged as a promising tool for addressing the complex dynamics of these systems <ref type="bibr">[Chen et al., 2024</ref><ref type="bibr">, Nezamoddini and Gholami, 2022</ref><ref type="bibr">, Yan and Xu, 2020]</ref>. There are several pioneering works on designing scalable RL algorithms for network systems <ref type="bibr">[Qu et al., 2021</ref><ref type="bibr">, Lin et al., 2021a</ref><ref type="bibr">, Zhang et al., 2023c]</ref>. To facilitate scalable control in network control, in <ref type="bibr">[Qu et al., 2021]</ref>, the authors introduced a key insight, referred to as the exponential decay property of the Q-function. This property suggests that each agent's local Q-function can be well-approximated using only information from its &#969;-hop neighborhood. We note that a similar property has also been proposed in <ref type="bibr">[Gu et al., 2022]</ref> which focuses on reinforcement learning in the mean field multi-agent setting. Leveraging this property, the proposed algorithm concentrates on learning truncated Q-functions and then applying either policy gradient <ref type="bibr">[Qu et al., 2021</ref><ref type="bibr">, Lin et al., 2021a]</ref> or policy iteration <ref type="bibr">[Zhang et al., 2023c]</ref>. However, although these methods are scalable with respect to the network size, they are limited to the tabular setting, where each agent must store a local Q-table that scales with the state and action spaces of its neighborhood, making it inefficient for large state and action spaces. In fact, due to the inherent complexity in network MDPs, i.e., network size is large and the state and action spaces of each agent are large or continuous, designing e!cient and scalable RL algorithms for such systems remains a long-standing challenge.</p><p>There have been several works aimed at addressing scalability in the context of large state and action spaces. A common approach is to use function approximation to find an e!cient representation of the Q-function. For instance, <ref type="bibr">[Stankovic and Stankovic, 2016]</ref> explores function approximation to solve network RL problems. However, their setting is simpler than the network MDP considered here, as they assume fully decoupled agent dynamics, whereas we allow an agent's dynamics to depend on the states of neighboring agents. In the broader context of multi-agent learning, function approximation has also been widely studied <ref type="bibr">[Zhang et al., 2018, Dubey and</ref><ref type="bibr">Pentland, 2021]</ref>. However, these works di"er from ours: <ref type="bibr">[Zhang et al., 2018]</ref> focuses on the stochastic game setting, where agents share a common global state, while <ref type="bibr">[Dubey and Pentland, 2021]</ref> examines the parallel MDP setting. Additionally, outside the RL domain, there are works on network representation learning <ref type="bibr">[Dong et al., 2020</ref><ref type="bibr">, Li and Pi, 2020</ref><ref type="bibr">, Zhang et al., 2020]</ref>. However, it remains unclear whether these techniques can be applied to control and RL in network systems, which presents an interesting open question for future research.</p><p>Finding a suitable representation for the Q-function is not a unique problem in network RL. It is also a central challenge in classical centralized or single-agent RL. However, picking the right class of function approximators that can represent the Q function while being sample e!cient to learn is challenging. A natural approach is to use deep neural network (NN) architectures, which have great representational capacities. However, challenges to using deep NNs include sampleine!ciency (deep NNs often require huge amounts of data to train), hyperparameter sensitivity, stability of training (it is known that TD learning with nonlinear function approximation may fail to converge), and it can be di!cult to pick an appropriate architecture for the problem setting at hand. One promising approach arises in the (low-rank) linear MDP setting <ref type="bibr">[Jin et al., 2020a]</ref>, where the transition kernel of the MDP can be represented as a linear combination of low-rank features. By applying the Bellman equation, the Q-value function can then be represented as a linear combination of these low-rank features. It has been shown in <ref type="bibr">[Jin et al., 2020a]</ref> in this setting, e!cient RL can be achieved, with sample complexity depending on the dimension of the feature space rather than the size of the state and action spaces. Moreover, computationally, to realize the theoretical promise of linear MDPs, there has been a line of work <ref type="bibr">[Ren et al., 2022c</ref><ref type="bibr">, Ren et al., 2022a</ref><ref type="bibr">, Zhang et al., 2022]</ref> that show that the transition can be e"ectively approximated by a linear decomposition of nonlinear features, with strong empirical performances. Notably, <ref type="bibr">[Ren et al., 2022c]</ref> explore the connection between stochastic nonlinear dynamical systems and linear MDPs, showing that under certain noise assumptions, stochastic nonlinear dynamics can be well-approximated by a linear decomposition of finite-dimensional (nonlinear) spectral features through an approach called spectral dynamic embedding. Building on these spectral features, <ref type="bibr">[Ren et al., 2023]</ref> developed RL algorithms, with strong theoretical guarantees and empirical performances. Given the existing literature, the following question remains open:</p><p>Can we identify an appropriate representation for network MDPs and leverage it for scalability in both the size of the network and state-action space?</p><p>Our contribution Building on the existing literature, this paper addresses the critical gap by proposing a spectral dynamic embedding-based representation and developing a multi-agent RL algorithm for network systems that scales e!ciently with both network size and the complexity of state and action spaces, while also providing provable convergence guarantees.</p><p>Our approach integrates insights from both network RL and linear MDP/representation-based approaches in centralized RL. Specifically, utilizing the exponential decay property and local nature of the transition dynamics, we show how we can approximate the local Q i -value function linearly via network &#969;-local spectral features that factorize the &#969;-hop transition dynamics.</p><p>Leveraging this property, we develop a scalable samplee!cient method to learn local Q-functions in continuous network MDPs, followed by policy optimization based on the learned Q-functions.</p><p>We provide rigorous sample complexity guarantees for our framework, and to the best of our knowledge, this is the first work to propose a provably e!cient multiagent RL algorithm for network systems that is scalable with respect to both network size and the size of the state and action spaces of individual agents. Finally, we validate our approach with numerical experiments on network thermal control and Kuramoto oscillator synchronization. In both cases, we find that our approach provides benefits over generic neural network function approximations, demonstrating the advantages of our spectral representation-based framework.</p><p>Notations For any vectors v 1 , . . . , v n &#8594; R d , the notation &#8593; n i=1 v i &#8594; R nd denotes their tensor product. The inner product of two tensor products is defined as follows. Consider another set of vectors w 1 , . . . , w n &#8594; R d . Then, we denote &#8595;&#8593; n i=1 v i , &#8593; n i=1 w i &#8596; := n i=1 &#8595;v i , w i &#8596; . We also use the notation <ref type="bibr">[n]</ref> to denote the set {1, . . . , n} for a positive integer n. In addition, when the context is clear, for notational convenience, we may drop the time indices and denote (s(t), a(t), s(t + 1)) as (s, a, s &#8593; ).</p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head n="2">Problem Setup and Preliminaries</head><p>Network Markov Decision Process (MDP) We consider the network MDP model, where there are n agents associated with an underlying undirected graph G = (N , E), where N = {1, . . . , n} is the set of agents and E &#8599; N &#8600; N is the set of edges. Each agent i is associated with state s i &#8594; S i , a i &#8594; A i where S i &#8771; R S and A i &#8771; R A are bounded compact sets. At each time t &#8594; N, the global state of the network is denoted as s(t) = (s 1 (t), . . . , s n (t)) &#8594; S := S 1 &#8600; . . . S n . Similarly, the global actuation of the network at each time t is denoted as</p><p>We also introduce the following notations related to &#969;-hop neighborhoods. Let N &#969; i denote the set of &#969;-hop neighborhood of node i and define N &#969; &#8595;i = N \ N &#969; i , i.e., the set of agents that are outside of i'th agent's &#969;-hop neighborhood. We write state s as (s N &#969; i , s N &#969; &#8594;i ), i.e., the states of agents that are in the &#969;-hop neighborhood of i and outside of &#969;-hop neighborhood respectively. Similarly, we write a as (a N &#969; i , a N &#969; &#8594;i ). When &#969; = 1, for simplicity we denote N i := N 1 i . We assume that the next state of each agent i depends only on the current states and actions of its neighbors, so that the probability transition admits the following factorization</p><p>where N i indicates the neighbors of agent i, and s Ni (t) denotes the states of the neighbors of agent i at time t. Further, each agent is associated with a stage reward function r i (s Ni , a Ni ) that depends on the local state and action, and the global stage reward is r(s, a) = 1 n n i=1 r i (s Ni , a Ni ); for simplicity, in the rest of our paper, we will assume that r i depends only on (s i , a i ), but we note that our analysis carries with minimal changes when r i depends on (s Ni , a Ni ). The objective is to find a (localized) policy tuple &#949;</p><p>) depends only on a &#969; &#949; -hop neighborhood, such that the discounted global stage reward is maximized, starting from some initial state distribution &#181; 0 ,</p><p>Next, we give the Kuramoto oscillator synchronization problem as an example of continuous state-action network MDPs. This example will be used in our simulations in Section 5 later. For space reasons, we defer another example, that of thermal control of multi-zone buildings, to Appendix 7.2.</p><p>Example 1 (Kuramoto oscillator synchronization). The Kuramoto model <ref type="bibr">[Acebr&#243;n et al., 2005, Dorfler and</ref><ref type="bibr">Bullo, 2012]</ref> is a well-known model of nonlinear coupled oscillators, and has been widely applied in various fields, ranging from synchronization of neurons in the brain <ref type="bibr">[Cumin and Unsworth, 2007]</ref>, to synchronization of frequency of the alternating current (AC) generators or oscillators <ref type="bibr">[Filatrella et al., 2008]</ref>. Concretely, we consider here a Kuramoto system with n agents, with an underlying graph G = (N , E), where N = {1, . . . , n} is the set of agents and E &#8599; N &#8600; N is the set of edges. The state of each agent i is its phase &#982; i &#8594; [&#8658;&#949;, &#949;], and the action of each agent is a scalar a i &#8594; A i &#8771; R in a bounded subset of R. The dynamics of each agent is influenced only by the states of its neighbors as well as its own action, satisfying the following form in discrete time <ref type="bibr">[Mozafari et al., 2012]</ref>:</p><p>Above, &#1009; i denotes the natural frequency of agent i, dt is the discretization time-step, K ij denotes the coupling strength between agents i and j, a i (t) is the action of agent i at time t, and &#962; i (t) &#8657; N (0, &#966; 2 ) is a noise term faced by agent i at time t. We note that this fits into the localized transition considered in network MDPs. For the reward, we consider frequency synchronization to a fixed target &#1009; target . In this case, the local reward of each agent can be described as r i (&#982; Ni , a i ) = &#8658; &#960;i &#8658;&#1009; target .</p><p>To provide context for what follows, we review a few key concepts in RL. First, fixing a localized policy tuple &#949; = (&#949; 1 , . . . , &#949; n ), the Q-function for this policy &#949; is:</p><p>In the last step, we defined the local Q-functions Q &#949; i (s, a) which represent the Q functions for the individual reward r i . Correspondingly, we can also define the local value function</p><p>We note that the global Q(s, a) function can be obtained by averaging n local Q i (s, a) functions. This plays an important role due to the following result known as the policy gradient theorem, which states that the policy gradient can be computed with knowledge of the Q(s, a) function.</p><p>Lemma 0 <ref type="bibr">([Sutton et al., 1999]</ref></p><p>A natural approach to learning the Q(s, a) function in the networked case is for each agent to learn its local Q i (s, a) function and share it across the network to form a global average. However, this poses a significant challenge when (i) the network size n is large, and (ii) the individual state and action spaces S i and A i are continuous. Even if S i and A i are finite, representing</p><p>n entries, which grows exponentially with n. This challenge worsens with continuous spaces, which have infinite cardinality.</p><p>To address this, we first explore the exponential decay property from prior work, which improves scalability with network size. We then present our main contribution: integrating the exponential decay property with spectral representations from single-agent RL to derive scalable local Q i -value function representations for continuous state-action network MDPs. We begin by discussing the exponential decay property.</p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head>Exponential decay property.</head><p>The exponential decay property <ref type="bibr">[Qu et al., 2020b</ref><ref type="bibr">, Qu et al., 2020a</ref><ref type="bibr">, Lin et al., 2021b]</ref> is defined as follows. Definition 1. Given any c &gt; 0 and 0 &lt; &#8636; &lt; 1, the (c, &#8636;)-exponential decay property holds for a policy &#949; if given any natural number &#969;, for any i &#8594; N , s</p><p>As an immediate corollary, it follows that</p><p>We defer discussion about when the exponential decay property holds to Appendix 7.3. The power of the exponential decay property is that it immediately guarantees that the dependence of Q &#949; i on other agents shrinks quickly as the distance between them grows, such that the true local Q i (s, a)-functions can be approximated by truncated Qi (s N &#969; i , a N &#969; i )-functions up to an error that decays exponentially with &#969;. The truncated Qi function is significantly easier to represent in the finite state-action setting since each agent only needs to keep track of (|S i | &#8600; |A i |) &#969; entries. However, continuous state and action space problems still pose a significant challenge. To overcome this, we will use the idea of spectral representations from linear MDPs and show how this can be adapted to the networked setting to yield truncated functions.</p><p>3 Spectral representations for truncated approximations of local Q i -value functions To recap, the key question we face is this: how can we derive scalable local Q i -value function representations in network problems with continuous state-action spaces, and integrate them into a scalable control framework? This forms the main contribution of our work. In this section, we tackle this question by demonstrating that the spectral representation of local transition kernels provides an e"ective representation for the local Q i -value functions (see Lemma 3 below). We first motivate our analysis by reviewing representation learning in centralized RL via spectral decompositions [Jin et al., 2020b, Ren et al., 2022b]. From such works, we know that if the global P (s &#8593; | s, a) admits a linear decomposition in terms of some spectral features &#8637;(s, a) and &#181;(s &#8593; ), then the Q(s, a)-value function can be linearly represented in terms of the spectral features &#8637;(s, a). In the case of representing local Q i -functions, this property can be stated as follows. Lemma 1 (Representing local Q i -value functions via spectral decomposition of P (Linear MDP in [Jin et al., 2020b])). Suppose the probability transition P (s &#8593; | s, a) of the next state s &#8593; given the current (s, a) pair can be linearly decomposed as P (s &#8593; | s, a) = &#8637;(s, a) &#8771; &#181;(s &#8593; ) for some features &#8637;(s, a) &#8594; R D and &#181;(s &#8593; ) &#8594; R D , which we also refer to as spectral representations. Then, the local Q i -value function admits the linear representation</p><p>where &#8637;i (s, a) := [r i (s i , a i ), &#8637;(s, a)],</p><p>Remark 1. We note that Lemma 1 requires the assumption of the existence of a linear decomposition of the transition kernel. One significant such example of where a linear decomposition of the transition kernel is possible was discussed in <ref type="bibr">[Ren et al., 2023]</ref>. The authors in <ref type="bibr">[Ren et al., 2023]</ref> showed that for a wide class of stochastic control setting with Gaussian noise (or more generally, noise which take the form of a positive-definite kernel), the transition kernel admits an exact (but infinite-dimensional) linear decomposition. By considering a finite-dimensional truncation of these infinite-dimensional features, it can be shown that the linear decomposition holds approximately with finite-dimensional features, and rigorous approximation error bounds can be shown for these finite-dimensional truncations, as shown later in Lemma 5 of our paper as well as <ref type="bibr">[Ren et al., 2023]</ref>.</p><p>More generally, a linear decomposition of the kernel also exists when the transition displays a particular latent variable structure <ref type="bibr">[Ren et al., 2022a]</ref>.</p><p>The benefit of the spectral decomposition property is that the Q i -value functions can be represented by a (D+ 1)-dimensional representation &#8637;i (s, a) comprising the spectral representation &#8637;(s, a) &#8594; R D and local reward r i (s i , a i ) &#8594; R; as demonstrated in <ref type="bibr">[Jin et al., 2020a]</ref>, under appropriate normalization conditions on the norm of the features, the sample complexity of using RL using such features will only depend polynomially on the feature dimension D, rather than the number of the states and actions.. However, applying this result directly in the networked case poses significant challenges, since the required feature dimension D + 1 may be high. To see why this is the case, recall that the probability transition in our networked setting admits the following factorization:</p><p>Suppose for the sake of discussion that each agent's transition probability satisfies the following Property</p><p>1, which states that the local transition has an exact d-dimensional spectral/linear decomposition. As discussed earlier in Remark 1, such a property can be expected to hold (at least approximately) for many problems, in particular stochastic dynamics under Gaussian noise. Property 1. For any i &#8594; [n] and any state-action-next state tuple (s, a, s &#8593; ), there exist features &#8637;i (s Ni , a Ni ) &#8594; R d and &#956;i (s</p><p>Given the factorization of the dynamics, this implies that</p><p>We note that the above expression of P (s &#8593; | s, a) as an inner product between two tensor products follows from the definition of the tensor product introduced earlier in our notations; in particular, note that &#8637;(s, a) and &#956;(s &#8593; ) are both in the space R d n . Intuitively, to interpret why the tensor product arises, we note that in the absence of any structure and correlations between the agents, the features factorizing the transition of the entire network are essentially the outer/tensor product of the local transition-factorization features of the n individual agents. Agnostically, Property 1 means that representing the global network dynamics may require using the d n -dimensional features &#8637;(s, a) := &#63726; n i=1 &#8637;i (s Ni , a Ni ), which even for small d is undesirable due to an exponential dependence on the network size n.</p><p>While the exponential decay property suggests that the Qi -function can be approximated by considering a &#969;-hop neighborhood of agent i, it is unclear how we can combine this with the spectral decomposition property to derive scalable representations for the local Q i -value functions.</p><p>To resolve this, we combine insights from both the exponential decay and spectral decomposition property, which intuitively, suggests that what matters in determining Q &#949; i (s, a) is the probability transition dynamics within a &#969;-hop neighborhood of agent i. In fact, due to the local factorization property of the dynamics, the evolution of &#969;-hop neighborhood only depends on the &#969; + 1-hop neighborhood, which, when Property 1 holds, admits the following spectral decomposition.</p><p>Property 2 (Network &#969;-local spectral features). For any i &#8594; [n] and any state-action-next state tuple (s, a, s &#8593; ), there exist some positive integer d i,&#969; and features</p><p>Property 2 is a statement that a linear decomposition of the &#969;-hop neighborhood transition kernel for any agent i is possible. As we see in Lemma 3 later, the features &#8637; i,&#969; (s</p><p>that arise in this decomposition can represent the local Q i -value function with error decaying exponentially in &#969;. While Property 2 can be viewed as a standalone property independent of Property 1, the following lemma shows that when Property 1 is true, Property 2 automatically holds, with &#8637; i,&#969; and &#181; i,&#969; given by appropriate tensor products of the original &#8637;i and &#956;i from the factorization of the local dynamics. We defer the proof to Appendix 7.4. Lemma 2. Property 2 holds whenever Property 1 holds, by setting</p><p>i &#956;j (s j (t + 1)). Remark 2. While the tensor product representation in Lemma 2 can be used to give a factorization of the &#969;transition dynamics in Property 2, for specific problems, there may exist problem-specific alternative &#8637; i,&#969; and &#181; i,&#969; features that may be lower-dimensional and thus more tractable to use.</p><p>Property 2 presents us with a path towards scalable representation of the local Q i via factorization of the local &#969;-hop neighborhood dynamics and approximating Q i (s, a) by network local representations. We first formalize this in the case when the spectral decomposition is exact and error-free. When this holds, we have the following lemma which shows how Q &#949; i (s, a) can be approximated by network local representations. We defer the proof to Appendix 7.5.1. Lemma 3 (Local Q i approximation via network &#969;-local spectral features). Suppose the (c, &#8636;)-exponential decay property holds. Suppose Property 2 also holds. Then, for any (s, a) pair, agent i, and natural number &#969;, there exists an approximation Q&#949; i which depends linearly on network &#969;-local spectral features &#8637;i,&#969; (s</p><p>where</p><p>with the definitions &#8637;i,&#969; (s</p><p>where</p><p>Approximation. In general, it may be impossible to find &#8637; i,&#969; and &#181; i,&#969; that can exactly factorize the transition kernel. However, in both the unknown-model and the known-model cases, there exist ways to approximate the kernel. In the model-free case, we may leverage representation-learning techniques to approximate the spectrum of the &#969;-hop transition kernel, such as the spectral decomposition in <ref type="bibr">[Ren et al., 2022b]</ref> which seeks to approximate the SVD of the kernel. In the model-based case, in the case when the local transition evolves according to a known dynamics function subject to Gaussian noise, we may approximate the kernel by random or Nystrom features <ref type="bibr">[Ren et al., 2023]</ref>.</p><p>We provide below a unified analysis for the error bound of approximating</p><p>Lemma 4. For any distribution &#8640; o over the space</p><p>, the following holds for some approximation error &#962; P &gt; 0:</p><p>where</p><p>Then, by setting &#8637;i,&#969; (s</p><p>Proof. Suppose (1) holds. Then, define w</p><p>The approximation error in the bound above relies on the condition in (1) to hold. In the case when the local transition evolves according to a known dynamics function subject to a positive-definite kernel noise (e.g. Gaussian noise), we may approximate the &#969;-hop transition kernel with random features such that (1) holds with high probability. For clarity of exposition, we focus on the approximation error of random features for Gaussian kernels <ref type="bibr">[Rahimi and Recht, 2007]</ref> 1 . In this case, our error bound is shown in the following result, whose proof we defer to Appendix 7.5.2. Lemma 5. Fix any i &#8594; [n]. Suppose the local dynamics take the form</p><p>In addition, define</p><p>We note that our result easily generalizes to any positivedefinite transition kernel noise (e.g. Laplacian, Cauchy, Mat&#233;rn, etc; see Table <ref type="table">1</ref> in <ref type="bibr">[Dai et al., 2014]</ref> for more examples)</p><p>for some &#948; &gt; 0. Then, with probability at least 1 &#8658; &#948;, the condition in (1) holds for every i &#8594; [n] and any distribution &#8640; o over S &#8600; A, with &#956;i,&#949;(s</p><p>where p &#962; (s &#8593;</p><p>) is a</p><p>Gaussian distribution with standard deviation &#966; &#962; .</p><p>The key takeaway from the above result is that under Gaussian noise and known reward and dynamics function, there exists finite-dimensional features that can, with high probability, approximately factorize the local &#969;-transition kernels, satisfying the condition in (1) with high probability. Moreover, from this result, we note that the required number of features to achieve this is</p><p>, which only depends on the dimension of states in the largest &#969;-hop neighborhood. We note that the tunable &#8641; in Lemma 5 allows greater flexibility and may be tuned to improve empirical performance <ref type="bibr">[Ren et al., 2023]</ref>.</p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head n="4">Algorithms</head><p>As suggested in Lemma 3, &#8637;i,&#969; serves as a good representation for the local Q i -functions. Based upon this observation, this section focuses on how the local Q ifunction and subsequently a good localized policy can be learned. The algorithm contains three major steps: feature generation, policy evaluation and policy gradient.</p><p>The first step is feature generation (Lines 1 through 3), where we generate the appropriate features &#8637;i,&#969; . This comprises the local reward function as well as the spectral features &#8637;i,&#969; (s N &#969; i ,a N &#969; i ) coming from the factorization of the local &#969;-hop dynamics. In the case of known dynamics and Gaussian noise, we know from Lemma 5 that &#8637;i,&#969; (s</p><p>) can be derived by random features which factorize the local &#969;-hop dynamics with high probability. In this case, we note that our spectral features are scalable with respect to both the network size and the continuous state-action space, since the required number of features only depend on the dimensions of the &#969;-hop neighborhoods.</p><p>The second step is policy evaluation, where we use the feature &#8637;i,&#969; and apply LSTD to find a set of weights</p><p>we first sample M s samples from the stationary distribution of &#949; (k) (Line 5), and then perform a LSTD update for each agent i &#8594; [n] to learn the appropriate weights for the local Q i -functions (Line 6).</p><p>Finally, the last step is updating policy using policy gradient (Lines 6 to 7). For each agent i &#8594; [n], with the learned { Qj } j&#8600;N &#969;&#949; +&#969; i , we perform a gradient step to update the local policy weights &#982; i , and update to the new policy. We note that this update is scalable since from the perspective of each agent i, it only requires knowledge of the local Qj for agents j in a (&#969; &#949; + &#969;)hop neighborhood of agent i. In practice, the &#969;-hop spectral representation we introduce can be combined flexibly with any actor in a distributed cooperative actor-critic framework that requires knowledge of the local Q i -functions.</p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head n="4.1">Policy evaluation error</head><p>We have the following result on the policy evaluation error with our network &#969;-local features. We defer the details of the proof (including preliminary results required for the proof) to Appendix 7.6. Lemma 6 (Policy Evaluation Error). Suppose equation (1) in Lemma 4 holds. Suppose the sample size</p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head>&#63739;</head><p>. Then, with probability at least</p><p>where</p><p>is defined as in equation ( <ref type="formula">4</ref>).</p><p>From the above result, we note that the policy evaluation error comprises three components, with one being the statistical error due to using finite samples, which decays with the square root of the sample size M s , and the truncation error from considering a truncated &#969;hop neighborhood (this decays exponentially in &#969;), as well as the approximation error of the spectral features in approximating the &#969;-hop transition (&#962; P ). </p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head>&#63739;</head><p>. Suppose with probability at least 1 &#8658; &#948;, for all i &#8594; [n], the following holds for some features &#8637;i,&#969; &#8594; R m and &#956;i,&#969; &#8594; R m : </p><p>,where &#952;i,&#949;(s</p><p>) satisfies the condition in (1).</p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head n="3">end</head><p>Policy evaluation and update</p><p>i using least square temporal di"erence (LSTD) as follows:</p><p>where &#8640;i,&#949;(j) := &#952;i,&#949;(s</p><p>Update approximate</p><p>Policy gradient for control</p><p>for some &#962; P &gt; 0 and distribution &#8640; o over S &#8600; A, where</p><p>where L &#8593; is the Lipschitz continuity parameter of</p><p>From the above result, we see that our algorithm can achieve convergence to an approximate stationary point of the global objective J as the number of rounds K increases, up to an error term depending on &#962; J , which depends on the policy evaluation error &#962; Q from Lemma 6. As we observed before, the policy evaluation error comprises a statistical error, a truncation error decaying exponentially as &#969; increases, and a feature approximation error term &#962; P . Consequently, the convergence error to an approximation stationary point also depends on these three terms.</p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head n="5">Simulations</head></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head n="5.1">Thermal control of multi-zone buildings</head><p>We consider a stochastic linear dynamical system modeling the thermal control of a 50-zone building. We assume that the network is connected, with each agent having 2 neighbors. The dynamics of each agent is only a"ected by its neighbors, and subject to Gaussian noise. We also assume access to the model dynamics and reward function. In this problem, to implement our algorithm, we utilize random features that factorize the &#969;-hop Gaussian transition (cf. Lemma 5), and perform least squares, followed by normalized gradient descent. The controller is parameterized to be linear. More details on our experimental setup can be found in Appendix 7.9.</p><p>Since the dynamics are assumed to be linear, we have access to the cost of the optimal controller, making this a good way to benchmark the performance of our algorithm. The performance of our algorithm is shown in Figure <ref type="figure">1</ref> below. As we can see, as &#969; &#949; increases, our algorithm is indeed able to approximate the performance of the optimal controller. Moreover, the speed at which it converges is faster than Qi approximations that leverage a generic two-hidden layer neural network (NN) to represent the (truncated) local Qi value functions; we note that in both cases, the algorithms utilize the same learning rate for the policy gradient step, and have access to the rewards and dynamics function. </p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head n="5.2">Kuramoto oscillator control</head><p>Due to the nonlinearity in this problem, we adopt the Soft-Actor-Critic (SAC) framework for this problem, and compare the performance of a generic deep NN critic with our network spectral local-&#969; critic. In this problem, we consider the more realistic and di!cult setting where the dynamics is unknown. In this problem, the network has 40 agents in total, and the network graph is connected, with each agent having 2 neighbors. We set the goal for the agents to synchronize to a target frequency of 0.2.</p><p>In both the generic SAC and our spectral SAC implementation, the local critic for Q i -value function considers a &#969;-hop neighborhood, i.e. approximate Q i by Qi (s</p><p>) is a two-hidden layer neural network. However, for our approach (spectral + SAC), we add a feature step that regularizes the feature &#8637;i (s N &#969; i , a N &#969; i ) towards factorizing the local dynamics, i.e. minimizing the objective in Condition 1 in Lemma 4. We defer more details on the problem setup as well as experimental details to Appendix 7.9.</p><p>In Figure <ref type="figure">2</ref>, we compare the performance of our approach (Spectral + SAC) with a generic SAC with two-hidden layer NN critic. As we can see, our approach leads to significantly higher rewards. Moreover, we observe that our approach leads to qualitatively better synchronization behavior when starting from the same initial condition, as indicated in Figure <ref type="figure">3</ref>. Finally, we note that in the model-based setting, our algorithm (utilizing random features) achieves a performance comparable to that of generic NN approaches. The model-based results are deferred to Appendix 7.9. (a) SAC Controller (b) Spectral+ SAC Controller Figure 3: Synchronization of frequency ( &#952;) under SAC and Spectral + SAC controller, for 800 time steps with time interval dt = 0.01.</p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head n="6">Conclusion</head><p>In this work, utilizing local spectral representations, we provide the first provably e!cient algorithm for scalable network control in continuous state-action spaces. We validate our results numerically, where we find that utilizing &#969;-local spectral features can achieve e"ective control on a thermal network control problem as well as a Kuramoto nonlinear coupled oscillator control problem. Moreover, in both cases, we demonstrate that our approach has benefits over generic neural network approximations for local Q i -value functions.</p><p>Collectively, our theoretical and empirical results demonstrate the validity and importance of a representation-based viewpoint in achieving more e"ective and scalable control in continuous state-action network MDPs. by NSF ECCS 2401391, NSF IIS 2403240, as well as Dolby. games with decoupled dynamics: Price of anarchy and sample complexity. In 2023 62nd IEEE Conference on Decision and Control (CDC), pages 8100-8107. IEEE. [Zhang et al., 2023b] Zhang, R. C., Li, W., and Li, N. (2023b). On the Optimal Control of Network LQR with Spatially-Exponential Decaying Structure. In 2023 American Control Conference (ACC), pages 1775-1780. ISSN: 2378-5861. [Zhang et al., 2022] Zhang, T., Ren, T., Yang, M., Gonzalez, J., Schuurmans, D., and Dai, B. (2022). Making linear mdps practical via contrastive representation learning. In International Conference on Machine Learning, pages 26447-26466. PMLR. [Zhang et al., 2016] Zhang, X., Shi, W., Li, X., Yan, B., Malkawi, A., and Li, N. (2016). Decentralized temperature control via hvac systems in energy e!cient buildings: An approximate solution procedure. In 2016 IEEE Global Conference on Signal and Information Processing (GlobalSIP), pages 936-940. IEEE. [Zhang et al., 2023c] Zhang, Y., Qu, G., Xu, P., Lin, Y., Chen, Z., and Wierman, A. (2023c). Global convergence of localized policy iteration in networked multi-agent reinforcement learning. Proceedings of the ACM on Measurement and Analysis of Computing Systems, 7(1):1-51. [Zocca, 2019] Zocca, A. (2019). Temporal starvation in multi-channel csma networks: an analytical framework. ACM SIGMETRICS Performance Evaluation Review, 46(3):52-53. Checklist 1. For all models and algorithms presented, check if you include: (a) A clear description of the mathematical setting, assumptions, algorithm, and/or model. Yes (b) An analysis of the properties and complexity (time, space, sample size) of any algorithm. Yes (c) (Optional) Anonymized source code, with specification of all dependencies, including external libraries. Yes 2. For any theoretical claim, check if you include: (a) Statements of the full set of assumptions of all theoretical results. Yes (b) Complete proofs of all theoretical results. Yes (c) Clear explanations of any assumptions. Yes 3. For all figures and tables that present empirical results, check if you include: (a) The code, data, and instructions needed to reproduce the main experimental results (either in the supplemental material or as a URL). Yes (b) All the training details (e.g., data splits, hyperparameters, how they were chosen). Yes (c) A clear definition of the specific measure or statistics and error bars (e.g., with respect to the random seed after running experiments multiple times). Yes (d) A description of the computing infrastructure used. (e.g., type of GPUs, internal cluster, or cloud provider). Yes 4. If you are using existing assets (e.g., code, data, models) or curating/releasing new assets, check if you include: (a) Citations of the creator If your work uses existing assets. Yes (b) The license information of the assets, if applicable. Not applicable (c) New assets either in the supplemental material or as a URL, if applicable. Yes (d) Information about consent from data providers/curators. Not applicable (e) Discussion of sensible content if applicable, e.g., personally identifiable information or offensive content. Not applicable 5. If you used crowdsourcing or conducted research with human subjects, check if you include: (a) The full text of instructions given to participants and screenshots. Not Applicable (b) Descriptions of potential participant risks, with links to Institutional Review Board (IRB) approvals if applicable. Not applicable (c) The estimated hourly wage paid to participants and the total amount spent on participant compensation. Not applicable 7.1 More Related Works Multi-agent reinforcement learning (MARL) for Markov games The study of MARL dates back to the early work of [Littman <ref type="bibr">, 1994</ref><ref type="bibr">, Claus and Boutilier, 1998</ref><ref type="bibr">, Hu and Wellman, 2003]</ref>. One classical setting considered is the stochastic game setting <ref type="bibr">[Shapley, 1953]</ref>, where agents can take their own actions but they share a common global state and maximize a global reward. There are many recent works that studies reducing the computational and sample complexity in this scenario, e.g. <ref type="bibr">[Zhang et al., 2018</ref><ref type="bibr">, Leonardos et al., 2022</ref><ref type="bibr">, Song et al., 2021</ref><ref type="bibr">, Zhang et al., 2024]</ref>. However, one restriction of their approach is that it assumes access to the global state s, as opposed to our setting where each agent only observes a local state s N &#969; i , thus their approach won't extend easily to the network setting considered in our paper.</p><p>Distributed Control for Network Linear Quadratic Regulator (LQR) Apart from reinforcement learning, there is also another line of work tackling the network system from the control perspective. Distributed control is a classical topic that is widely discussed in literature (c.f. <ref type="bibr">[Saeks, 1979</ref><ref type="bibr">, Bamieh et al., 2002</ref><ref type="bibr">, Rotkowitz and Lall, 2005</ref><ref type="bibr">, Rantzer, 2011]</ref>) Notably, some recent works <ref type="bibr">[Zhang et al., 2023b</ref><ref type="bibr">, Shin et al., 2023</ref><ref type="bibr">, Olsson et al., 2024</ref>] also leverage a similar exponential decaying property to address the near-global-optimality of distributed controllers. However, these works are primarily focused on linear dynamical systems, as opposed to our work which is targeted to potentially nonlinear dynamics via representation learning Other multi-agent dynamical models There are also other settings in multi-agent/network systems such as the weakly coupled MDP <ref type="bibr">[Meuleau et al., 1998</ref><ref type="bibr">, Zhang et al., 2023a]</ref>, where agents' transition dynamics are fully decoupled and the only coupling is through the reward function; factored MDP <ref type="bibr">[Kearns and Koller, 1999</ref><ref type="bibr">, Guestrin et al., 2003</ref><ref type="bibr">, Osband and Van Roy, 2014]</ref>, where there is a global action a"ecting every agent's individual local state. (See the 'Related Literature' in <ref type="bibr">[Qu et al., 2021]</ref> for a more detailed summary and comparison.)</p><p>Linear MDPs There has been a sequence of work on sample-e!cient RL via the linear MDPs approach <ref type="bibr">[Jin et al., 2020a]</ref>. In a linear MDP, the transition kernel of the MDP can be represented as a linear combination of low-rank features. By applying the Bellman equation, the Q-value function can then be represented as a linear combination of these low-rank features. It has been shown in <ref type="bibr">[Jin et al., 2020a]</ref> in this setting, sample-e!cient RL can be achieved, with sample complexity depending on the dimension of the feature space rather than the size of the state and action spaces. Computationally, to realize the theoretical promise of linear MDPs, there has been a line of works with strong empirical performances that represents the Q-value function using finite-dimensional features that factorize the transition kernel, where the features are learnt in di"erent ways, e.g. a latent variable approach <ref type="bibr">[Ren et al., 2022a]</ref>, a noise-contrastive approach <ref type="bibr">[Zhang et al., 2022]</ref> building on noise contrastive estimation <ref type="bibr">[Gutmann and</ref><ref type="bibr">Hyv&#228;rinen, 2010, Ma and</ref><ref type="bibr">Collins, 2018]</ref>, and a di"usion-inspired approach <ref type="bibr">[Shribak et al., 2024]</ref>. A key question in the study of linear MDPs is the circumstances under which a lowrank linear factorization of possibly nonlinear features that represent the transition kernel indeed exists. Towards answering this question, the works in <ref type="bibr">[Ren et al., 2022c</ref><ref type="bibr">, Ren et al., 2023]</ref> show that for a wide range of problems in stochastic nonlinear control, specifically stochastic nonlinear control problems where the transition noise takes the form of a positive-definite kernel (e.g. Gaussian noise), there exists infinite-dimensional spectral features which exactly factorizes the transition kernel. However, to enable tractable control, finite-dimensional features are required. Tn <ref type="bibr">[Ren et al., 2023]</ref>, the authors propose a finite-dimensional approximation of the infinite-dimensional spectral features via random features <ref type="bibr">[Rahimi and Recht, 2007]</ref> and Nystrom features <ref type="bibr">[Williams and Seeger, 2000]</ref>, characterize the approximation error of these finite-dimensional truncation approaches, and provide end-to-end theoretical guarantees for a actor-critic framework building on these finite-dimensional features, with strong empirical performance.</p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head n="7.2">Example of thermal control in buildings as network MDP</head><p>Example 2 (Thermal control in buildings). The problem of thermal control of multiple zones in a building can also be cast as a network MDP. Consider a multi-zone building with a Heating Ventilation and Air Conditioning (HVAC) system. Each zone is equipped with a sensor that can measure the local temperatures and can adjust the supply air flow rate of its associated HVAC system. For simplicity, we consider a discrete-time linear thermal dynamics model based on <ref type="bibr">[Zhang et al., 2016</ref><ref type="bibr">, Li et al., 2021]</ref>, where for any i &#8594; [n],</p><p>where x i (t) denotes the temperature of zone i at time t, a i (t) denotes the control input of zone i that is related with the air flow rate of the HVAC system, &#982; o (t) denotes the outdoor temperature, &#949; i represents a constant heat from external sources to zone i, w i (t) represents random disturbances, ! is the time resolution, v i is the thermal capacitance of zone i, &#9655; i represents the thermal resistance of the windows and walls between zone i and the outside environment, and &#9655; ij represents the thermal resistance of the walls between zone i and j. Again, we note that the transition dynamics of each agent depends only on its neighbors (and itself ). At each zone i, there is a desired temperature &#982; &#8594; i set by the users. The local reward function is composed of the (negative) deviation from the desired temperature and the control cost, i.e.</p><p>where &#8641; i &gt; 0 is a trade-o" parameter.</p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head n="7.3">On the exponential decay property</head><p>It may not be immediately clear when the exponential decay property holds. The following lemma (cf. Appendix A in <ref type="bibr">[Qu et al., 2020b]</ref>) highlights that for a local policy where each agent's actions depend only only on its and its neighbors' states (i.e.</p><p>), the exponential decay property holds generally, with &#8636; = &#977;. We defer the proof to our appendix.</p><p>Lemma 7. Suppose &#8660;i &#8594; [n], agent i adopts a localized policy, i.e.</p><p>Suppose also that the local rewards are bounded such that 0 &#8621; r i &#8621; r. Then the &#63728; r 1&#8595;&#982; , &#977; &#63739; -exponential decay property holds.</p><p>We note that under some mixing time assumptions on the MDP <ref type="bibr">[Qu et al., 2020b]</ref>, the exponential decay property may in fact hold for &#8636; &lt; &#977; depending on the system parameters, making it applicable to problems with large discount factors or even in the average-reward setting <ref type="bibr">[Qu et al., 2020a]</ref>.</p><p>We proceed now to prove Lemma 7, which shows that the exponential decay property holds for localized policies and bounded rewards. We note that this was first shown in <ref type="bibr">[Qu et al., 2020b]</ref>, and we provide the proof here for completeness.</p><p>Proof. Consider any i, and choose any natural number &#969;. For an arbitrary (s, a) = (s N &#969; i , s N &#969; &#8594;i , a N &#969; i , a N &#969; &#8594;i ), consider any state-action pair (s &#8593; , a &#8593; ) that di"ers with (s, a) only outside the</p><p>For any natural number t, let p t,i denote the distribution of s i (t), a i (t) conditional on s(0) = s, a(0) = a, and let p &#8593; t,i denote the distribution of s i (t), a i (t) conditional on s(0) = s &#8593; , a(0) = a &#8593; . Then,</p><p>Above, (i) is a direct application of the definition of p t,i and p &#8593; t,i . Meanwhile, (ii) utilizes the fact that for any 0 &#8621; t &#8621; &#969;, we have p t,i &#8656; p &#8593; t,i . This is because of (a) localized policy, such that a i (t) depends only on s Ni (t &#8658; 1), and (b) factorized localized dynamics, that s N j i (t) depends only only on s N j+1 i (t) for any natural number j; hence an iterative argument shows that for any t, p t,i and p &#8593; t,i both only depend on s N t i (0) and a N t i (0). Thus, since (s, a) and (s &#8593; , a &#8593; ) share identical s N &#969; i (0) and a N &#969; i (0), it follows that p t,i &#8656; p &#8593; t,i for t &#8621; &#969;. Finally, (iii) uses the fact that bounded reward assumption, i.e. 0 &#8621; r i &#8621; r. The proof then concludes by rerunning the argument on</p><p>Next, we state and prove the following elementary technical result, which bounds any two truncated Q(or V )-functions with di"erent weights.</p><p>Lemma 8. Suppose the (c, &#8636;)-exponential decay property holds. Then, for any two di"erent weights</p><p>where</p><p>Similarly, for any two di"erent weights w i (s</p><p>we have</p><p>where</p><p>Proof. Compare both truncated Q-functions to a Q-function evaluated at any specific state action pair where the states and actions of the agents in N &#969; i are s N &#969; i and a N &#969; i respectively. The desired result then follows by Definition 1. A similar argument works for the V -function.</p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head n="7.4">Helper results on factorization of network probability transition</head><p>Lemma 2. Property 2 holds whenever Property 1 holds, by setting</p><p>Proof. To see that, observe that</p><p>Above, (iv) follows from Property 1, while (v) uses the definition of the inner product of two tensor products. Thus, when Property 1 holds, Property 2 holds by setting</p><p>7.5 Approximation error of spectral features</p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head n="7.5.1">Approximation error when spectral features exactly factorize &#969;-hop transition</head><p>We recall and prove this result, which bounds the approximation error of using the truncated spectral features to approximate the local Q i -function, in the case when there is no approximation error in the spectral features in representing the &#969;-hop transition. Lemma 3 (Local Q i approximation via network &#969;-local spectral features). Suppose the (c, &#8636;)-exponential decay property holds. Suppose Property 2 also holds. Then, for any (s, a) pair, agent i, and natural number &#969;, there exists an approximation Q&#949; i which depends linearly on network &#969;-local spectral features &#8637;i,&#969; (s</p><p>where</p><p>with the definitions &#8637;i,&#969; (s</p><p>where</p><p>Proof. For notational convenience, we omit the t and (t + 1) in the parentheses of the state and action notations, and instead use a superscript + to denote (t + 1), e.g. s + to denote s(t + 1). Observe that</p><p>Scalable spectral representations for multiagent reinforcement learning in network MDPs</p><p>In (vi) above, we used the notation</p><p>and in (vii), we recall that we defined</p><p>Since the (c, &#8636;)-exponential decay property holds, applying Lemma 8, we have</p><p>Thus our desired result holds by setting</p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head n="7.5.2">Results on approximation error of random features</head><p>We first state the following result on uniform convergence of random Fourier features, adapted from Claim 1 in <ref type="bibr">[Rahimi and Recht, 2007]</ref>. Lemma 9 (Uniform convergence of Fourier features). Let M be a compact subset of R d with diameter diam(M).</p><p>Let k be a positive definite shift-invariant kernel k(x, y) = k(x &#8658; y). Define the mapping z, where</p><p>where &#1009; 1 , . . . , &#1009; D &#8594; R d are D iid samples from p, where p is the Fourier transform of k, i.e. p(&#1009;) =</p><p>1 2&#949;</p><p>e &#8595;j&#8640; &#8596; &#8637; k(&#948;)d&#948;, and b 1 , . . . , b D are D are iid samples from Unif(0, 2&#949;). We assume that k is suitably scaled such that p is a probability distribution.</p><p>Then, for the mapping z defined above, we have</p><p>,</p><p>is the second moment of the Fourier transform of k. Further, sup </p><p>Then, for a positive integer m, define the m-dimensional features &#8637;i,&#969; (s</p><p>In addition, define</p><p>for some &#948; &gt; 0. Then, with probability at least 1 &#8658; &#948;, the condition in (1) holds for every i &#8594; [n] and any distribution &#8640; o over S &#8600; A, with &#956;i,&#949;(s</p><p>where p &#962; (s &#8593;</p><p>) is a Gaussian distribution with standard deviation &#966; &#962; .</p><p>Proof. Observe that P s +</p><p>In addition, in this proof we denote</p><p>where</p><p>it follows that with probability at least 1 &#8658; &#948;,</p><p>When &#1009; := 0, this simplifies to</p><p>. However, we allow a general 0 &#8621; &#1009; &lt; 1 because it gives greater flexibility both theoretically and empirically.</p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head>3</head><p>Here we overload notation to use fi,&#949;(S</p><p>and {&#1009; &#1009; }'s are drawn iid from N (0, &#966; &#8595;2 I d ), {b &#1009; }'s are drawn iid from Unif(0, 2&#949;). It follows then for any</p><p>where we recall that &#8637;i,&#969; (x) := g &#962; &#8641; d &#8637;i,&#969; (x), &#956;i,&#969; (y) := p &#962; (y)&#956; i,&#969; (y). The proof then follows by rescaling &#962; P := &#962; P /n, and taking a union bound over all i &#8594; [n].</p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head n="7.6">Algorithm analysis -policy evaluation error</head><p>For simplicity, we assume throughout the analysis that we are solving the LSTD step in the policy evaluation exactly, i.e. we take the number of least square solves, T , to infinite. Moreover, we drop the i subscript in the notation of &#8637;i,&#969; , and use &#8640; to denote &#8640; &#949; (k) . At round k, the algorithm output of the policy parameter w i of agent i is given by</p><p>For notational convenience, when the context is clear, we drop the k-superscript indicating the current round k, and denote</p><p>We define an intermediate variable wi as follows:</p><p>and further define</p><p>(s, a). From Lemma 3 and Lemma 4, we have that there exists</p><p>such that with probability at least 1 &#8658; &#948;, for every i &#8594; [n],</p><p>Lemma 10 (Bellman Error). On the event that condition (1) in Lemma 4 holds, for every i &#8594; [n], we have</p><p>From Bellman equation we have that</p><p>On both side multiply by &#8637;i,&#969; (s</p><p>) and take expectation over s, a &#8657; &#8640;, we have that</p><p>Further, given that</p><p>on the event that condition (1) in Lemma 4 holds.</p><p>where for the final inequality we used (5).</p><p>Lemma 11 (Statistical Error).</p><p>Proof. Again, for notational simplicity we drop the k-superscript. We first bound the di"erences</p><p>From the Matrix Bernstein inequality (see Lemma 15 in Appendix 7.8) we have that when</p><p>Thus with probability 1 &#8658; 2&#948;</p><p>which completes the proof.</p><p>Combining the above statement we can get the following Lemma for policy evaluation error, which is a restatement of our result in Lemma 6. </p><p>where denoting &#9665;i,&#969; := &#8637;i,&#969; (s</p><p>&#8601; &#9665;i,&#969; &#8601;, where</p><p>Proof. Suppose the condition (1) in Lemma 4 holds. Consider any i &#8594; [n] and k &#8594; [K]. From Lemma 10 and 11 we have that with probability at least 1 &#8658; 2&#948;,</p><p>The desired result then follows by rescaling &#948; := &#948;/(Kn) and taking an union bound over all i &#8594; [n] and k &#8594; [K].</p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head n="7.7">Policy gradient analysis</head><p>We show now that our algorithm can find an approximate stationary point of the averaged discounted cumulative reward function J(&#949; (&#977;) ). For notational convenience, for a given set of policy parameters &#982; = (&#982; 1 , . . . , &#982; n ), we define</p><p>where we recall that r(s, a) := 1 n n i=1 r i (s i , a i ). From Lemma 0, we have that</p><p>We first provide the following result, which shows that assuming Lipschitz continuity of the gradient of the objective function J as well as the gradients of log &#949; &#977; , there exists the following bound on the following weighted sum of the squared gradient norms.</p><p>Lemma 13. Suppose that &#8659;J(&#982;) is L &#8593; -Lipschitz continuous. Suppose that for each i &#8594; [n], k) . Then,</p><p>Proof. By the Lipschitz continuity of &#8659;J(&#982;), we have</p><p>By rearranging and using a telescoping sum, we obtain</p><p>Recall that J(&#982; (K+1) ) &#8658; J(&#982; (1) ) &#8621; r/(1 &#8658; &#977;). Hence, by the given assumption on the bound on the derivative term &#8659; &#977;i log &#949; &#977;i i , it follows that &#8601;&#8659;J(&#8226;)&#8601; &#8621; L&#949; r 1&#8595;&#982; . The desired bound then follows by plugging this in as well as using the triangle inequality to decompose</p><p>As we can tell from the above result, the crux to bounding the average stationarity gap after K rounds of optimization is the di"erence between the true gradient &#8659;J(&#982; (k) ) and the learned gradient &#285;(k) used in the update.</p><p>In this next result, we bound this error, assuming that the truncated local Qi -functions are learned up to some error.</p><p>Lemma 14. For any optimization round k &#8594; [K], let &#8640;(k) denote the empirical distribution of the samples used during round k, i.e. {s(j), a(j)} j&#8600; <ref type="bibr">[Ms]</ref> where (s(j), a(j)) &#8657; &#8640; &#949; (k) . Suppose that for each 0 &#8594; [n], the learnt Q&#1009; -value function satisfies the following error bound:</p><p>where the i-th component of the approximate gradient</p><p>is defined in Line 9 of Algorithm 1.</p><p>Proof. For notational convenience, in the proof, we fix the optimization round k &#8594; [K], and hence, denote &#285;i := &#285;(k) i , &#982; := &#982; (k) and Q&#1009; := Q(k) &#1009; unless otherwise specified. Moreover, we also denote Q &#977; := Q &#949; &#977; for simplicity. From Lemma 0, for any agent i &#8594; [n], we have that</p><p>To bound the di"erence between &#285;i and &#8659; &#977;i J(&#982;), we define the following intermediate terms.</p><p>We define the terms</p><p>Then, we decompose the error as</p><p>We proceed now to bound the three error terms in (8).</p><p>Error term E J,h . We can bound the term E J,h as follows. For any 0 &#8594; [n] and positive integer &#969;, we define</p><p>where we let w((s N &#969; &#1009; ) &#8593; , (a N &#969; &#1009; ) &#8593; ) denote the uniform weight over the space S N &#969; &#8594;&#1009; &#8600; A N &#969; &#8594;&#1009; . From Lemma 8, we know that</p><p>We then have</p><p>To bound E J,h,1 , utilizing the bound in (9) as well as the bound &#8659; &#977;i log &#949; &#977;i i (a i | s &#969; Ni ) &#8621; L i,&#949; in the statement of the lemma, we have that</p><p>Meanwhile, observe that by definition, for any 0</p><p>Thus E J,h,2 = 0. This implies then that</p><p>Error term E h,g . To bound E h,g , we may use standard concentration inequalities. Observe that</p><p>.</p><p>Since</p><p>it follows that E E h,g(j) = 0. Moreover, using the fact that for any 0 &#8594; [n], &#982; and (s, a) pair, 0 &#8621; Q &#977; &#1009; (s, a) &#8621; r 1&#8595;&#982; , and the bound</p><p>in the assumption, we have &#8601;E h,g (j)&#8601; &#8621; 2rL&#949; 1&#8595;&#982; . Using the i.i.d. assumption between the samples j &#8594; [M s ], we may apply Bernstein's concentration inequality for vectors (see Lemma 15) to find that for any &#948; &gt; 0, with probability at least 1 &#8658; &#948;,</p><p>where d &#977; is the dimension of &#982; i .</p><p>Error term E g,&#285; . Observe that</p><p>Above, (ix) follows from the bound in (6), as well as the bound</p><p>Combining the bounds for E J,h , E h,g and E g,&#285; , we find that with probability at least 1 &#8658; &#948;,</p><p>The final result then follows by applying a union bound over k &#8594; [K].</p><p>We are now ready to state our main convergence result.</p><p>Theorem 2 (Restatement of Theorem 1). Suppose the sample size M s &#8619; log &#63728; 2d&#969; (&#8637;/Kn)</p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head>&#63739;</head><p>. Suppose with probability at least 1 &#8658; &#948;, for all i &#8594; [n], the following holds for some features &#8637;i,&#969; and &#956;i,&#969; :</p><p>Proof. Fix a &#948; &gt; 0. Suppose the condition in (1) holds with probability at least 1 &#8658; &#948; for all i &#8594; [n] for a distribution &#8640; o over S &#8600; A. In other words, with probability at least 1 &#8658; &#948;, for all i &#8594; [n], the following holds:</p><p>for some &#962; P &gt; 0. Then, by Lemma 6, it follows that with probability at least 1 &#8658; 3&#948;, for every i &#8594; [n] and optimization round k &#8594; [K], we have</p><p>Note that by Lemma 13, with probability at least 1 &#8658; &#948;, for every optimization round k &#8594; [K], we have</p><p>Thus, by picking &#951; = O(1/ &#8598; K), using union bound, with probability at least 1 &#8658; 4&#948;, we have</p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head n="7.8">Concentration inequalities</head><p>Lemma 15 (Matrix Bernstein). Suppose {M k } n k=1 are i.i.d random matrices where M k &#8594; R d1&#8656;d2 and that</p><p>then for a given &#948; &#8594; (0, 1) and n &#8619; log</p><p>Now we can apply the matrix Bernstein inequality (Theorem 6.1.1 in <ref type="bibr">[Tropp et al., 2015]</ref>) and get that Pr</p><p>which completes the proof.</p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head n="7.9">Simulation details</head><p>All code for this project is available as a zip folder with the supplementary material.</p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head n="7.9.1">Thermal control of multi-zone building</head><p>Problem setup details. In the simulations, we consider a discrete-time linear thermal dynamics model adapted from <ref type="bibr">[Zhang et al., 2016</ref><ref type="bibr">, Li et al., 2021]</ref>, where for any i &#8594; [n],</p><p>where x i (t) denotes the temperature of zone i at time t, a i (t) denotes the control input of zone i that is related with the air flow rate of the HVAC system, &#982; o (t) denotes the outdoor temperature, &#949; i represents a constant heat from external sources to zone i, w i (t) represents random disturbances, ! is the time resolution, v i is the thermal capacitance of zone i, &#9655; i represents the thermal resistance of the windows and walls between zone i and the outside environment, &#9655; ij represents the thermal resistance of the walls between zone i and j, and &#8641; i and 1 i denote scaling factors on the input and noise respectively. The local reward is defined as</p><p>where &#982; &#8594; i is the target temperature and &#8636; i is a trade-o" parameter. The parameters in the dynamics and rewards are set as follows. For simplicity, we center the temperatures at 0, and hence set the target &#982; &#8594; i to be 0. We set &#8636; i = 3. We set the following parameters for the dynamics: ! = 20, v i = 200, &#9655; ij = 1, &#9655; i = 1 2 , &#8641; i = 1 7 , 1 i = vi ! , &#982; 0 = 0. We also assume w i (t) to be drawn iid from N (0, 1). We set the discount factor in the problem to be 0.75, and (when collecting data) set the horizon length of each episode to be 20.</p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head>Connectivity.</head><p>In this problem, there are n = 50 agents, and the agents have circular connectivity and has two neighbors each, such that agent 1 is connected to agents N and agent 2, agent 2 is connected to agents 1 and 3, so on and so forth.</p><p>Experimental details. We assume knowledge of the dynamics and rewards. For policy truncation parameter &#969; &#949; = 0, 1, 2, 3, we use &#969; = 0, 1, 2, 2 respectively 4 as the evaluation &#969; parameter. We now explain the simulation setup for our implementation of Algorithm 1 with random features, as well as the benchmark algorithm using a two-hidden layer NN.</p><p>1. (Spectral embedding generation step). For Algorithm 1 with random features, for each agent i, we use random feature dimension of m = 30, 50, 800, 800 for each of the four experiments (&#969; &#949; = 0, 1, 2, 3) to represent the function T &#949; (s</p><p>)&#8595;ri(si,ai) &#982;</p><p>. For the NN implementation, we used a two-hidden layer NN with 128 neurons to represent the function T &#949; (s N &#969;+1 i , a N &#969;+1 i ).</p><p>2. (Policy evaluation step) We used M s = 100, 200, 500, 1000 episodes respectively for each of the four experiments (&#969; &#949; = 0, 1, 2, 3) to perform the policy evaluation. For the random features implementation, we used the least squares method in Algorithm 1 to compute the new weights for the local value functions. For the NN implementation, we ran batch gradient descent, and used a target network with update rate of 0.005.</p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head n="3.">(Policy update step).</head><p>For both implementations, we normalize the policy gradient, and run gradient descent with &#951; = 0.2.</p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head n="7.9.2">Kuramoto synchronization</head><p>Problem setup details. We recall the setup described earlier in the paper. We consider here a Kuramoto system with n agents, with an underlying graph G = (N , E), where N = {1, . . . , n} is the set of agents and E &#8599; N &#8600; N is the set of edges. The state of each agent i is its phase &#982; i &#8594; [&#8658;&#949;, &#949;], and the action of each agent is 4</p><p>We found in practice that using &#954; = 3 for &#954;&#969; = 3 performed less well in this specific example.</p><p>Scalable spectral representations for multiagent reinforcement learning in network MDPs a scalar a i &#8594; A i &#8771; R in a bounded subset of R. The dynamics of each agent is influenced only by the states of its neighbors as well as its own action, satisfying the following form in discrete time <ref type="bibr">[Mozafari et al., 2012]</ref>:</p><p>&#63723; &#63725; &#1009; i (t)+a i (t)+ &#63723; &#63725; j&#8600;Ni K ij sin(&#982; j &#8658;&#982; i ) &#63734; &#63736; &#63734; &#63736; := &#952;i(t)</p><p>+&#962; i (t).</p><p>Above, &#1009; i denotes the natural frequency of agent i, dt is the discretization time-step, K ij denotes the coupling strength between agents i and j, a i (t) is the action of agent i at time t, and &#962; i (t) &#8657; N (0, &#966; 2 ) is a noise term faced by agent i at time t. We note that this fits into the localized transition considered in network MDPs. For the reward, we consider frequency synchronization to a fixed target &#1009; target . In this case, the local reward of each agent can be described as r i (&#982; Ni , a i ) = &#8658; &#960;i &#8658; &#1009; target .</p><p>The parameters in the dynamics and rewards are set as follows. We set the target &#1009; target to be 0.75. We set the action space as [&#8658;3, 3]. For agents i and j that are connected, we sample K ij uniformly at random from [0.2, 1.2].</p><p>For the natural frequency &#1009; i 's, we sample them iid uniformly at random from [0, 1.5]. For the noise, we sample &#962; i (t) &#8657; N (0, 0.01 2 ). The time resolution is dt = 0.01.</p><p>We also assume w i (t) to be drawn iid from N (0, 1). We set the discount factor in the problem to be 0.99, and set the horizon length to be 800 steps.</p><p>Connectivity. In this problem, there are n = 20 agents, and the agents have circular connectivity and has two neighbors each, such that agent 1 is connected to agents N and agent 2, agent 2 is connected to agents 1 and 3, so on and so forth.</p><p>Experimental details (model-free). In this case, we do not assume access to the dynamics function. We now explain the simulation setup for our implementation of Algorithm 1 with spectral features, as well as the benchmark algorithm using a two-hidden layer NN.</p><p>1. (Policy evaluation step) For both the spectral feature and NN implementation, the features are the last layer of a two-hidden layer neural network with hidden dimension 256. At each iteration, for each agent i, we draw a batch (of 128 transitions) from the replay bu"er and we run 1 step of gradient descent on the least square bellman error, and used a target network with update rate of 0.005.</p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head n="2.">(Policy update step).</head><p>For each agent i, the policy is parameterized to be a 3-hidden layer NN which outputs the mean and standard deviation of the agent's action, and the input is s Ni , i.e. the states of the neighborhood of agent i. We update the policy parameters {&#982; i } n i=1 by taking one gradient descent step on the following objective:</p><p>where D is a set of data from the replay bu"er, Z(s) is a normalization constant. Above, we assume the temperature parameter 2 to be 1. This objective is identical to the implementation in Soft-Actor-Critic (SAC) <ref type="bibr">[Haarnoja et al., 2018]</ref> but for factored policies, as well as using the learned Qi -value functions to approximate the value function.</p><p>3. (Feature step). For the spectral features, for each agent i, we add an additional feature step, which seeks to regularize the features such that they approximate the top left eigenfunctions of the probability transition P (s &#8593;</p><p>), by taking a gradient descent step on the following objective to update agent i's feature </p><p>1. Fix a positive integer L.</p><p>2. For each i &#8594; [L], sample a random function &#1009; i (s &#8593; ) &#8594; R, e.g. &#1009; i (s &#8593; ) = cos(&#8641; &#8771; i s &#8593; + 1 i ), where &#8641; i &#8657; N (0, I S ) and 1 i &#8657; Unif([0, 2&#949;]).</p><p>3. For each i &#8594; [L], learn a &#8637; i (s, a) that approximates P &#1009; i (s, a) := s &#8593; P (s &#8593; | s, a)&#1009; i (s &#8593; )ds &#8593; as follows: We note that the final objective is equivalent to solving the L &#8637; i 's jointly which is single-agent analogue of the objective in ( <ref type="formula">12</ref> </p></div></body>
		</text>
</TEI>
