All models

SignedGCN

A graph convolutional network for signed graphs, using balance theory to keep friend and enemy views apart.

Graphs and geometry · 112 operations Checked

100%

Showing the top corner; full diagram not loaded yetShowing a small copy; full diagram not loaded yetLarge diagram, not loaded yet

Open SVG

Loading diagram (10 KB)

Open in a new tab

Click or tap a spot to read it up close. Scroll or drag inside the diagram to move through it. Zoom with + and − or Ctrl and scroll. Press 0 for the whole graph. Swipe inside the diagram to move through it. Use + and − to zoom.

At a glance

Parameters
14.9K
Operations
112
Framework
PyTorch
Recurrent
No
Published
ICDM 2018
Cited by
43 (as of 18 October 2026)
Authors
Tyler Derr, Yao Ma, Jiliang Tang
License
MIT
Checked
Passed: the trace was replayed operation by operation and matched the model's own output for this input.

Files

The diagram is a drawing of a TorchLens trace of the source code. It contains no code or weights.

Details
Stable ID
m2835
Graph hash
e979bba911b97a41f6ad8221079d0ab518861e0485520a3d7b2e815b67942cfd
Skeleton hash
89f73a2253c13fb575fcd620b8abf9c4c483506a1061d4bc30ab4f45515e3b47
Architecture hash
cbfb508d5bede0ea80a0c2c3c2b3926a132d19557464b0b5a45e28a94760f451
Diagram SHA-256
c7f19f7b6b76e0002dd0a0ce82bb68bed15eb367c47068d071a3f2bf15117579
TorchLens version
2.36.0
Renderer
graphviz 2.43.0+pyvips 3.2.0+libvips 8.18.7+render-opts@06c1f0d3
Check
Forward pass replayed in PyTorch

What it is

SignedGCN is a graph convolutional network built for signed networks, graphs whose links are positive or negative. Ordinary GCNs were designed for unsigned graphs, and it is unclear how they could handle negative links. The paper's answer is to use balance theory to correctly aggregate and propagate information across the layers of a signed GCN.

Balance theory, in the paper's shorthand, says the friend of my friend is my friend and the enemy of my friend is my enemy. Rather than one representation per node, the network keeps two, one for suggested friends reached along balanced paths and one for suggested enemies reached along unbalanced paths. A balanced path has an even number of negative links and an unbalanced path an odd number. At the end, the two hidden representations are concatenated into a single low-dimensional embedding per node. Training combines a weighted multinomial logistic regression over positive, negative and no-link pairs with a second term from extended structural balance theory, controlled by λ. The captured member follows the paper's setting of λ = 5 and final embeddings of size 64.

Experiments on four real-world datasets evaluate link sign prediction, the classical benchmark for signed network embedding. The datasets are Bitcoin-Alpha, Bitcoin-OTC, Slashdot and Epinions. Setting λ to zero caused a drastic decrease in performance, which the authors read as evidence that the balance-theory term matters.

Key idea. SGCN brings graph convolution to signed networks by using balance theory to correctly aggregate and propagate information across its layers.

  • SGCN
  • SignedGCN
  • Signed Graph Convolutional Network
  • signed graph
  • signed network
  • signed network embedding
  • balance theory
  • link sign prediction
  • negative links
  • PyTorch Geometric

AI-written summary, based on the paper and checked automatically against it; not reviewed by a person. Corrections welcome.

Cite the paper

@misc{derr2018signedgraphconvolutionalnetwork,
      title={Signed Graph Convolutional Network}, 
      author={Tyler Derr and Yao Ma and Jiliang Tang},
      year={2018},
      eprint={1808.06354},
      archivePrefix={arXiv},
      primaryClass={cs.SI},
      url={https://arxiv.org/abs/1808.06354}, 
}