Papers
Topics
Authors
Recent
Search
2000 character limit reached

Scaled Signed Averaging (SSA)

Updated 9 July 2026
  • Scaled Signed Averaging (SSA) is a distributed averaging framework for directed signed networks that replaces the traditional weight-balance requirement with an improved Laplacian potential.
  • It introduces a node-specific scaling matrix derived from principal minors of the induced unsigned Laplacian to ensure exact signed-average consensus in balanced networks and stability in unbalanced ones.
  • The framework offers two continuous-time protocols and a fixed-time extension, providing practical insights into convergence acceleration and precise consensus metrics.

Scaled Signed Averaging (SSA) is a framework for distributed averaging over directed signed networks in which graph-theoretic scaling is built into the consensus dynamics through a diagonal matrix WW constructed from principal minors of an induced unsigned Laplacian. In the formulation developed for signed networks, SSA replaces the weight-balance requirement of classical signed-consensus analyses with an “improved Laplacian potential” and yields two nearest-neighbor protocols that achieve signed-average consensus exactly when the underlying signed digraph is structurally balanced, while driving the state to zero when it is structurally unbalanced (Du et al., 2019).

1. Problem formulation and consensus objective

The SSA framework considers a network of nn agents,

V={v1,,vn},V=\{v_1,\ldots,v_n\},

with scalar agent states xiRx_i\in\mathbb{R}. Information flow is modeled by a signed directed graph

G=(V,E,A),\mathcal{G}=(V,E,A),

where A=[aij]Rn×nA=[a_{ij}]\in\mathbb{R}^{n\times n} satisfies

aij0    (vjvi)E,aii=0,a_{ij}\neq 0 \iff (v_j\to v_i)\in E,\qquad a_{ii}=0,

and the digon-sign-symmetry condition aijaji0a_{ij}a_{ji}\ge 0 is assumed. Positive aija_{ij} represents a cooperative interaction and negative aija_{ij} an antagonistic interaction. The in-degree matrix is

nn0

and the signed Laplacian is

nn1

(Du et al., 2019).

Within this setting, SSA distinguishes two asymptotic behaviors. The first is signed-average consensus, defined by the existence of signs nn2 such that

nn3

This is the bipartite-consensus case in which agents split into two sign classes with equal-magnitude limiting values. The second is state stability, meaning nn4. The convergence theorems are stated under the standing assumption that nn5 is strongly connected (Du et al., 2019).

A central motivation for SSA is that the standard quadratic potential used in signed-consensus analysis coincides with nn6 only under weight balance. SSA removes that restriction by introducing a graph-dependent scaling that compensates for weight-unbalanced directed topologies (Du et al., 2019).

2. Graph constructions and the scaling matrix

SSA is built from two auxiliary graph constructions. The first is the induced unsigned digraph

nn7

with Laplacian

nn8

For each nn9, V={v1,,vn},V=\{v_1,\ldots,v_n\},0 denotes the V={v1,,vn},V=\{v_1,\ldots,v_n\},1 principal minor obtained by deleting row V={v1,,vn},V=\{v_1,\ldots,v_n\},2 and column V={v1,,vn},V=\{v_1,\ldots,v_n\},3 (Du et al., 2019).

The scaling matrix is then defined as

V={v1,,vn},V=\{v_1,\ldots,v_n\},4

These V={v1,,vn},V=\{v_1,\ldots,v_n\},5 are the graph-theoretic quantities that supply the “scaled” part of SSA. They depend only on the induced unsigned digraph and vary across nodes when the topology is weight-unbalanced (Du et al., 2019).

The second construction is the mirror undirected signed graph, whose adjacency is

V={v1,,vn},V=\{v_1,\ldots,v_n\},6

with Laplacian

V={v1,,vn},V=\{v_1,\ldots,v_n\},7

A key identity is

V={v1,,vn},V=\{v_1,\ldots,v_n\},8

In addition, if V={v1,,vn},V=\{v_1,\ldots,v_n\},9 is strongly connected, then the mirror graph xiRx_i\in\mathbb{R}0 is connected. Structural balance is also preserved under the construction: xiRx_i\in\mathbb{R}1 and similarly for structural unbalance (Du et al., 2019).

These constructions convert a directed signed-network problem into a form in which symmetric energy methods apply without assuming ordinary weight balance.

3. Improved Laplacian potential and its spectral meaning

In classical signed-consensus analysis one often considers

xiRx_i\in\mathbb{R}2

but this coincides with xiRx_i\in\mathbb{R}3 only when the graph is weight-balanced. SSA modifies the potential by inserting the node-dependent scaling xiRx_i\in\mathbb{R}4 (Du et al., 2019): xiRx_i\in\mathbb{R}5

This improved Laplacian potential satisfies the exact identities

xiRx_i\in\mathbb{R}6

The first equality links the potential to the original directed signed graph through xiRx_i\in\mathbb{R}7, and the second links it to the mirror signed graph through a symmetric quadratic form (Du et al., 2019).

Its definiteness properties encode the network’s balance structure. For a strongly connected xiRx_i\in\mathbb{R}8,

  • if xiRx_i\in\mathbb{R}9 is structurally balanced, then G=(V,E,A),\mathcal{G}=(V,E,A),0 and G=(V,E,A),\mathcal{G}=(V,E,A),1 are positive semidefinite, with

G=(V,E,A),\mathcal{G}=(V,E,A),2

where G=(V,E,A),\mathcal{G}=(V,E,A),3 is the gauge such that G=(V,E,A),\mathcal{G}=(V,E,A),4;

  • if G=(V,E,A),\mathcal{G}=(V,E,A),5 is structurally unbalanced, then G=(V,E,A),\mathcal{G}=(V,E,A),6 is positive definite, so

G=(V,E,A),\mathcal{G}=(V,E,A),7

This is the analytic core of SSA. The scaling does not merely reweight the protocol; it furnishes a Lyapunov-type measure whose nullspace and positivity directly separate bipartite consensus from asymptotic stability (Du et al., 2019).

4. Distributed SSA protocols and convergence theorems

SSA yields two nearest-neighbor continuous-time protocols. The first uses the mirror signed graph: G=(V,E,A),\mathcal{G}=(V,E,A),8 which in vector form is

G=(V,E,A),\mathcal{G}=(V,E,A),9

The second applies the scaling directly to the original signed Laplacian: A=[aij]Rn×nA=[a_{ij}]\in\mathbb{R}^{n\times n}0 with vector form

A=[aij]Rn×nA=[a_{ij}]\in\mathbb{R}^{n\times n}1

Since A=[aij]Rn×nA=[a_{ij}]\in\mathbb{R}^{n\times n}2, the spectrum of A=[aij]Rn×nA=[a_{ij}]\in\mathbb{R}^{n\times n}3 is exactly the same as that of a weighted Laplacian (Du et al., 2019).

Protocol Node-level update Vector form
Protocol 1 Uses A=[aij]Rn×nA=[a_{ij}]\in\mathbb{R}^{n\times n}4 and A=[aij]Rn×nA=[a_{ij}]\in\mathbb{R}^{n\times n}5 A=[aij]Rn×nA=[a_{ij}]\in\mathbb{R}^{n\times n}6
Protocol 2 Uses A=[aij]Rn×nA=[a_{ij}]\in\mathbb{R}^{n\times n}7 and A=[aij]Rn×nA=[a_{ij}]\in\mathbb{R}^{n\times n}8 A=[aij]Rn×nA=[a_{ij}]\in\mathbb{R}^{n\times n}9

For both protocols, the convergence statements are identical under strong connectivity. Signed-average consensus holds if and only if aij0    (vjvi)E,aii=0,a_{ij}\neq 0 \iff (v_j\to v_i)\in E,\qquad a_{ii}=0,0 is structurally balanced, and state stability holds if and only if aij0    (vjvi)E,aii=0,a_{ij}\neq 0 \iff (v_j\to v_i)\in E,\qquad a_{ii}=0,1 is structurally unbalanced (Du et al., 2019).

For Protocol 1, the proof uses

aij0    (vjvi)E,aii=0,a_{ij}\neq 0 \iff (v_j\to v_i)\in E,\qquad a_{ii}=0,2

which yields

aij0    (vjvi)E,aii=0,a_{ij}\neq 0 \iff (v_j\to v_i)\in E,\qquad a_{ii}=0,3

If the graph is balanced, LaSalle’s invariance principle gives convergence to

aij0    (vjvi)E,aii=0,a_{ij}\neq 0 \iff (v_j\to v_i)\in E,\qquad a_{ii}=0,4

hence bipartite consensus, and the left/right eigen-projector calculation recovers the exact signed average

aij0    (vjvi)E,aii=0,a_{ij}\neq 0 \iff (v_j\to v_i)\in E,\qquad a_{ii}=0,5

If the graph is unbalanced, aij0    (vjvi)E,aii=0,a_{ij}\neq 0 \iff (v_j\to v_i)\in E,\qquad a_{ii}=0,6 for all aij0    (vjvi)E,aii=0,a_{ij}\neq 0 \iff (v_j\to v_i)\in E,\qquad a_{ii}=0,7, so the origin is asymptotically stable (Du et al., 2019).

For Protocol 2, the same if-and-only-if structure follows from the spectral characterization of aij0    (vjvi)E,aii=0,a_{ij}\neq 0 \iff (v_j\to v_i)\in E,\qquad a_{ii}=0,8: aij0    (vjvi)E,aii=0,a_{ij}\neq 0 \iff (v_j\to v_i)\in E,\qquad a_{ii}=0,9 has exactly one zero eigenvalue if and only if the graph is balanced, and is Hurwitz if and only if the graph is unbalanced (Du et al., 2019).

A common misconception is that structural balance should imply ordinary consensus. In directed signed networks, the relevant limiting behavior is generally bipartite consensus, and SSA identifies the correct invariant quantity as the signed average rather than the unsigned arithmetic average.

5. Fixed-time extension and numerical behavior

SSA also admits a fixed-time extension based on a two-term homogeneous feedback law applied to the mirror-graph disagreement term: aijaji0a_{ij}a_{ji}\ge 00 where aijaji0a_{ij}a_{ji}\ge 01 and aijaji0a_{ij}a_{ji}\ge 02, aijaji0a_{ij}a_{ji}\ge 03 are odd integers. In vector form, aijaji0a_{ij}a_{ji}\ge 04 with a 2-homogeneous mapping (Du et al., 2019).

Under strong connectivity, the fixed-time results separate the balanced and unbalanced cases:

  • if aijaji0a_{ij}a_{ji}\ge 05 is balanced, fixed-time bipartite consensus is achieved within

aijaji0a_{ij}a_{ji}\ge 06

  • if aijaji0a_{ij}a_{ji}\ge 07 is unbalanced, fixed-time stability is achieved within

aijaji0a_{ij}a_{ji}\ge 08

The Lyapunov function is again the improved potential,

aijaji0a_{ij}a_{ji}\ge 09

and the derivative estimate takes the form

aija_{ij}0

which is compared with the scalar system

aija_{ij}1

to obtain the time bound (Du et al., 2019).

The numerical example in the source considers aija_{ij}2 agents on two strongly connected, weight-unbalanced digraphs, one balanced and one unbalanced, with

aija_{ij}3

Under the original unscaled Altafini protocol

aija_{ij}4

the balanced graph converges to approximately aija_{ij}5, not the correct signed average aija_{ij}6, while the unbalanced graph converges to zero. Under SSA Protocol 1 or Protocol 2, the balanced graph converges exactly to aija_{ij}7,

aija_{ij}8

and the unbalanced graph again converges to zero. Because the values aija_{ij}9 differ from row to row, convergence under Protocol 2 is reported as slightly faster than under an unweighted version, illustrating that the SSA weights can accelerate agreement without changing the final value (Du et al., 2019).

6. Terminological scope and unrelated uses of “SSA”

The acronym “SSA” is not unique to signed-network averaging, and this creates a persistent source of confusion across fields.

In power electronics and switching-system theory, “SSA” commonly denotes state-space averaging rather than scaled signed averaging. An operator-theoretic reconstruction of classical state-space averaging shows that, for a piecewise-linear switching system with two subintervals, the classical averaged matrix

aija_{ij}0

arises as the leading-order truncation of an exact matrix-logarithm reconstruction of the Poincaré map. That work also explains why state-space averaging relies on low-frequency and small-ripple assumptions and why it becomes fragile for converters with more than two subintervals per cycle (Yang et al., 20 Dec 2025). This usage is terminologically unrelated to distributed averaging over signed networks.

A second unrelated usage appears in transformer research. In the study “Improving in-context learning with a better scoring function,” scaled signed averaging is proposed as an alternative to Softmax in the attention mechanism. The abstract states that LLMs exhibit limitations on tasks involving first-order quantifiers such as all and some, as well as on in-context learning with linear functions; it identifies Softmax as a contributing factor, proposes scaled signed averaging, and reports that SSA dramatically improves performance on the target tasks while matching or exceeding Softmax-based encoder-only and decoder-only transformers across a variety of linguistic probing tasks (Naim et al., 20 Aug 2025).

These cross-domain usages do not share a common formalism. In signed networks, SSA refers to graph-scaled distributed averaging built from aija_{ij}1, aija_{ij}2, and aija_{ij}3. In power electronics, SSA denotes a continuous-time approximation regime for switched systems. In transformer attention, SSA denotes a scoring-function alternative to Softmax. The shared acronym therefore has field-specific meaning, and precision requires identifying the domain explicitly.

Definition Search Book Streamline Icon: https://streamlinehq.com
References (3)

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 Scaled Signed Averaging (SSA).