All models

ACMP

Graph message passing modeled as particles with attractive and repulsive forces and an Allen-Cahn term.

Graphs and geometry · 14,767 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

This diagram has 14,767 operations (1.1 MB) and is drawn when you ask.

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
23.7K
Operations
14,767
Framework
PyTorch
Recurrent
Yes
Published
ICLR 2023
Cited by
7 (as of 27 October 2026)
Authors
Yuelin Wang, Kai Yi, Xinliang Liu and others
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
m14493
Graph hash
852e81a72cbfc7365864f08d07e36f701af967909a2e941ee3e2747c22fa078e
Skeleton hash
767baf4caadda24fba5313b8c91051a5289775dba0d0ba5d0dc6c7d3dfd4709d
Architecture hash
9711ea05287a37787592f16001fa3442bc3114770aee3a4d7e173acc161124a4
Diagram SHA-256
4769a540bad586cc550719edb82903acf3447027aca9bdc061aaacff41741774
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

ACMP, short for Allen-Cahn message passing, is a message passing scheme for graph neural networks built on interacting particle dynamics, where nodes are particles and edges represent their interactions. The particles are driven by attractive and repulsive forces plus the Allen-Cahn double-well potential from phase transition modeling. The paper presents this as an answer to oversmoothing, the problem in which all node features become indistinguishable.

In the update equation the coefficient a(xi, xj) − β sets the force between two connected nodes: a node is attracted by a neighbor when the coefficient is positive and repelled when it is negative. Repulsion lets features separate into clusters, but it can also push particles apart without limit, so the authors add a damping term that they call an Allen-Cahn term. With δ = 0 and β = 0 the model reduces to the graph neural diffusion network (GRAND).

The network first embeds the node features with a simple multi-layer perceptron, then evolves them under the ACMP equation with a neural ODE solver, and feeds the features at the ending time to an MLP-based classifier. The paper proves a strictly positive lower bound on the Dirichlet energy and states that ACMP can take the network depth up to one hundred layers. Its experiments cover node classification on both homophilic and heterophilic datasets, using only one-hop neighbor information.

Key idea. ACMP models graph message passing as a particle system with attractive and repulsive forces plus an Allen-Cahn term, with a proven strictly positive lower bound on the Dirichlet energy.

  • acmp
  • allen-cahn message passing
  • graph neural network
  • node classification
  • oversmoothing
  • heterophily
  • neural ode gnn
  • repulsive message passing
  • dirichlet energy

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

Cite the paper

@misc{wang2025acmpallencahnmessagepassing,
      title={ACMP: Allen-Cahn Message Passing with Attractive and Repulsive Forces for Graph Neural Networks}, 
      author={Yuelin Wang and Kai Yi and Xinliang Liu and Yu Guang Wang and Shi Jin},
      year={2025},
      eprint={2206.05437},
      archivePrefix={arXiv},
      primaryClass={cs.LG},
      url={https://arxiv.org/abs/2206.05437}, 
}