Papers
Topics
Authors
Recent
Search
2000 character limit reached

Swift-Sarsa: Fast Robust Linear Control

Updated 4 July 2026
  • Swift-Sarsa is an on-policy control algorithm that integrates true online Sarsa(λ) with adaptive step-size techniques for efficient linear control.
  • It employs per-feature eligibility traces and step-size decay to bound the effective learning rate, ensuring stability amidst noisy and non-stationary inputs.
  • Empirical evaluations on an operant conditioning benchmark demonstrate near-optimal lifetime rewards even in high-dimensional, distractor-rich environments.

Swift-Sarsa is an on-policy control algorithm for reinforcement learning with linear function approximation. It is built by taking True Online Sarsa(λ\lambda) and augmenting it with three key ideas from SwiftTD: online step-size optimization, a bound on the effective learning rate, and step-size decay. In the published formulation, the method is presented as a fast and robust algorithm for linear control, particularly in settings where only a very small subset of input signals is relevant and the majority of the signals are noise sampled from a non-stationary distribution (Javed et al., 22 Jul 2025).

1. Origins and scope

The named algorithm appears in the extended abstract "Swift-Sarsa: Fast and Robust Linear Control" (Javed et al., 22 Jul 2025). Its immediate antecedent is SwiftTD, a TD-learning method for prediction introduced by Javed, Sharifnassab, and Sutton in 2024; Swift-Sarsa extends those ideas from prediction to control by combining the SwiftTD machinery with True Online Sarsa(λ\lambda).

The method is explicitly on-policy and uses linear function approximation. It addresses discrete-action problems by learning a separate linear value function for each action, rather than a single shared scalar predictor. The paper also introduces a simple benchmark for linear on-policy control called the operant conditioning benchmark, and uses that environment to study whether the algorithm can assign credit to the relevant signals without any prior knowledge of the structure of the problem (Javed et al., 22 Jul 2025).

In that sense, Swift-Sarsa is both an algorithm and a methodological claim about linear control: step-size adaptation, explicit control of the effective learning rate, and true-online eligibility traces can be combined to preserve on-policy temporal-difference structure while improving robustness to hyper-parameter choice and to large numbers of noisy features.

2. Algorithmic structure

For each action j{1,,m}j \in \{1,\dots,m\}, Swift-Sarsa maintains a separate linear value function with weights wtjRn\mathbf{w}^j_t \in \mathbb{R}^n. The estimated value of action jj at time tt using weights from time t1t-1 is

vt1,tj=i=1nwt1j[i]ϕt[i].v^j_{t-1,t} = \sum_{i=1}^n w^j_{t-1}[i]\,\phi_t[i].

Collecting these predictions yields an action-value vector vt1,tRm\mathbf{v}_{t-1,t}\in\mathbb{R}^m, and the policy π\pi maps that vector to a discrete action. The paper allows either λ\lambda0-greedy or softmax action selection.

The temporal-difference error is written in Sarsa form, but with the paper’s indexing convention:

λ\lambda1

Eligibility traces are maintained per action. At each step, all traces are decayed by λ\lambda2; the trace for the chosen action receives the True Online TD(λ\lambda3)-style increment, whereas the traces for non-chosen actions are only decayed. This preserves the forward-view motivation of true-online methods while restricting active credit assignment to the chosen action.

Swift-Sarsa augments this control backbone with per-parameter step-size adaptation. For each action λ\lambda4 and feature index λ\lambda5, it maintains a weight λ\lambda6, a log step-size λ\lambda7, an eligibility trace λ\lambda8, a “delta-eligibility” trace λ\lambda9, auxiliary traces j{1,,m}j \in \{1,\dots,m\}0 and j{1,,m}j \in \{1,\dots,m\}1, and auxiliary variables j{1,,m}j \in \{1,\dots,m\}2, j{1,,m}j \in \{1,\dots,m\}3, and j{1,,m}j \in \{1,\dots,m\}4. Step-sizes are parameterized as j{1,,m}j \in \{1,\dots,m\}5, clipped to the interval j{1,,m}j \in \{1,\dots,m\}6, where j{1,,m}j \in \{1,\dots,m\}7.

A central quantity is the effective-learning-rate proxy for the chosen action j{1,,m}j \in \{1,\dots,m\}8:

j{1,,m}j \in \{1,\dots,m\}9

The algorithm bounds the effective learning rate through the update

wtjRn\mathbf{w}^j_t \in \mathbb{R}^n0

If wtjRn\mathbf{w}^j_t \in \mathbb{R}^n1, Swift-Sarsa applies step-size decay,

wtjRn\mathbf{w}^j_t \in \mathbb{R}^n2

and resets wtjRn\mathbf{w}^j_t \in \mathbb{R}^n3, wtjRn\mathbf{w}^j_t \in \mathbb{R}^n4, and wtjRn\mathbf{w}^j_t \in \mathbb{R}^n5 to zero. The paper’s interpretation is that these mechanisms bound the net effect of all active features on each update, thereby limiting instability even when individual per-feature step-sizes become large (Javed et al., 22 Jul 2025).

3. Operant conditioning benchmark

The operant conditioning benchmark is designed so that a very small subset of input signals is relevant for decision making, while the majority of the signals are noise sampled from a non-stationary distribution (Javed et al., 22 Jul 2025). The observation vector is wtjRn\mathbf{w}^j_t \in \mathbb{R}^n6, the action vector is wtjRn\mathbf{w}^j_t \in \mathbb{R}^n7, and wtjRn\mathbf{w}^j_t \in \mathbb{R}^n8. The first wtjRn\mathbf{w}^j_t \in \mathbb{R}^n9 observation components are rare, task-relevant signals; the remaining jj0 components are noisy distractors.

At certain special time steps, exactly one of the first jj1 observation components is jj2. If the agent chooses an action vector whose corresponding component is jj3 and all other action components are jj4, the agent receives a delayed reward. The delay is sampled each time from

jj5

and special stimulus events occur every

jj6

For the noisy components, each index jj7 is Bernoulli with probability jj8, where jj9 performs a Gaussian random walk clipped to the interval tt0. The benchmark therefore combines delayed reward, sparse relevance, and feature non-stationarity in a form that remains linearly representable.

The action space used in the reported experiments is based on tt1 binary action components, which are mapped to four discrete actions: tt2, tt3, tt4, and tt5. Performance is summarized by lifetime average reward,

tt6

4. Empirical behavior

The reported experiments vary the number of observation features tt7, the initial step-size tt8, the meta-step-size tt9, and the presence or absence of step-size decay (Javed et al., 22 Jul 2025). The paper uses t1t-10, t1t-11, an agent lifetime t1t-12, and a softmax policy with temperature t1t-13. It states that the optimal lifetime reward is approximately t1t-14.

Quantity Setting
Relevant action components t1t-15
Feature counts examined t1t-16, t1t-17
Effective-learning-rate bound t1t-18
Decay parameter t1t-19 or vt1,tj=i=1nwt1j[i]ϕt[i].v^j_{t-1,t} = \sum_{i=1}^n w^j_{t-1}[i]\,\phi_t[i].0
Relevant observation components in reported plots vt1,tj=i=1nwt1j[i]ϕt[i].v^j_{t-1,t} = \sum_{i=1}^n w^j_{t-1}[i]\,\phi_t[i].1

Across a wide range of vt1,tj=i=1nwt1j[i]ϕt[i].v^j_{t-1,t} = \sum_{i=1}^n w^j_{t-1}[i]\,\phi_t[i].2 and vt1,tj=i=1nwt1j[i]ϕt[i].v^j_{t-1,t} = \sum_{i=1}^n w^j_{t-1}[i]\,\phi_t[i].3, Swift-Sarsa achieves average rewards close to the optimal value vt1,tj=i=1nwt1j[i]ϕt[i].v^j_{t-1,t} = \sum_{i=1}^n w^j_{t-1}[i]\,\phi_t[i].4. As vt1,tj=i=1nwt1j[i]ϕt[i].v^j_{t-1,t} = \sum_{i=1}^n w^j_{t-1}[i]\,\phi_t[i].5 increases, performance improves, which the paper interprets as evidence that the step-size optimization is beneficial. Increasing vt1,tj=i=1nwt1j[i]ϕt[i].v^j_{t-1,t} = \sum_{i=1}^n w^j_{t-1}[i]\,\phi_t[i].6 from vt1,tj=i=1nwt1j[i]ϕt[i].v^j_{t-1,t} = \sum_{i=1}^n w^j_{t-1}[i]\,\phi_t[i].7 to vt1,tj=i=1nwt1j[i]ϕt[i].v^j_{t-1,t} = \sum_{i=1}^n w^j_{t-1}[i]\,\phi_t[i].8 makes the problem harder and degrades performance somewhat, but the algorithm still performs well and robustly.

The ablation on step-size decay isolates one of the method’s defining components. When the initial step-size is too large, step-size decay significantly improves performance. With decay enabled, the algorithm remains robust even when starting from overly aggressive step-sizes, because the decay mechanism gradually reduces them to a stable regime. The reported empirical picture is therefore one of near-optimal lifetime average reward over a wide range of step-size hyper-parameters, together with robustness in the presence of tens of thousands of distractor features (Javed et al., 22 Jul 2025).

5. Relation to SARSA theory

The extended abstract introducing Swift-Sarsa does not provide formal convergence proofs (Javed et al., 22 Jul 2025). Its significance is better understood against the established theory of SARSA with linear function approximation. Finite-sample analysis for linear SARSA under a single non-i.i.d. trajectory gives a mean-square error rate of order vt1,tj=i=1nwt1j[i]ϕt[i].v^j_{t-1,t} = \sum_{i=1}^n w^j_{t-1}[i]\,\phi_t[i].9 under assumptions including a Lipschitz continuous policy improvement operator and uniform ergodicity (Zou et al., 2019). A later convergence analysis shows that projected SARSA with linear function approximation can chatter in a bounded region rather than converge to a single limit point, and that the region is much smaller than the region that is projected into when the magnitude of the reward is not too large (Zhang et al., 2022).

Step-size sensitivity is a separate axis of difficulty. Implicit variants of Q-learning and SARSA reformulate their updates as fixed-point equations, yielding an adaptive effective step-size

vt1,tRm\mathbf{v}_{t-1,t}\in\mathbb{R}^m0

and demonstrating substantially reduced sensitivity to step-size selection, with stable performance at step-sizes that would cause standard methods to fail (Kim et al., 26 Jan 2026). Off-policy multi-step descendants of the Sarsa family motivate yet another line of work: Gradient Expected Sarsa(vt1,tRm\mathbf{v}_{t-1,t}\in\mathbb{R}^m1) uses a convex-concave saddle-point framework and converges to the optimal solution at a linear convergence rate (Yang et al., 2020).

This suggests that Swift-Sarsa is best read as a particular engineering synthesis inside the linear, on-policy branch of the literature. It does not alter the basic Sarsa control target; instead, it combines true-online traces with per-feature step-size optimization, a hard cap on the effective learning rate, and decay-based recovery from overly aggressive updates.

Before the 2025 extended abstract fixed the name for a specific control algorithm, the expression “Swift-SARSA” also appeared informally as a label for SARSA variants designed to move aggressively while retaining stability. One 2026 paper states that “Swift-SARSA” is a good informal name for implicit SARSA, because the implicit fixed-point reformulation permits large nominal step-sizes while staying numerically stable and requiring much less tuning (Kim et al., 26 Jan 2026).

A 2024 radar-scheduling study provides a different kind of precursor. Its method, called ISQ, is an index policy based on Sarsa and Q-learning for a restless multi-armed bandit formulation of heterogeneous smart target tracking. The authors describe the combination of forward Sarsa and backward Q-learning as a concrete blueprint for what a “Swift-Sarsa” might look like in practice: Sarsa used in a way that accelerates convergence, improves sample efficiency, and scales to a large combinatorial control problem (Hao et al., 2024).

A network slicing study offers a domain-specific example of the same broader intuition. It uses standard tabular SARSA for communication-resource sharing among queues, with two states per queue, actions that change bandwidth by vt1,tRm\mathbf{v}_{t-1,t}\in\mathbb{R}^m2, and event-driven invocation when a threshold is crossed. The paper characterizes this design as practically “swift” because state aggregation, coarse actions, and event-triggered learning reduce the number of state-action pairs and support quick adaptation in overload conditions (Xavier et al., 2023).

This broader usage suggests a dual meaning for the term. In the strict sense, Swift-Sarsa denotes the 2025 algorithm that extends True Online Sarsa(vt1,tRm\mathbf{v}_{t-1,t}\in\mathbb{R}^m3) with the SwiftTD machinery. In a looser research sense, it denotes a design orientation within SARSA research toward aggressive but controlled learning: per-feature adaptation, bounded effective updates, and mechanisms that preserve robustness in the presence of instability, non-stationarity, or large numbers of irrelevant features.

Topic to Video (Beta)

No one has generated a video about this topic yet.

Whiteboard

No one has generated a whiteboard explanation for this topic yet.

Follow Topic

Get notified by email when new papers are published related to Swift-Sarsa.