All models

LEConv

The cluster-scoring convolution inside ASAP pooling, built to see local extrema that a plain GCN cannot.

Graphs and geometry · 15 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 (21 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

Family
LEConv
Parameters
194
Operations
15
Framework
PyTorch
Recurrent
No
Published
AAAI 2020
Cited by
26 (as of 18 October 2026)
Authors
Ekagra Ranjan, Soumya Sanyal, Partha Pratim Talukdar
License
Apache-2.0
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
m1496
Graph hash
e1475bfb2efe1e0ef7d6648ae4a462da0660ff3c8da41ecc20ecde2a15ffbf7a
Skeleton hash
c7ee470ec5d56bf6445955816b9b0ed91d93ffbb8289be6c08ac5dbc32793077
Architecture hash
f9d44c6f9f27815369dd0f30ea2591dbe1624e0fdf50f01c94218564cac9a975
Diagram SHA-256
3026473987351823a24cacac964288dcab398e3d5562c87ef4e22f96a8630c18
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

LEConv, short for Local Extrema Convolution, is a small graph convolution that was born inside ASAP, a pooling method for graph neural networks. ASAP is a sparse and differentiable pooling operator meant to fix earlier pooling methods that either fail to capture the graph substructure or do not scale to large graphs. Within it, LEConv is introduced as a graph convolution method that can capture local extremum information, and its job is to compute the fitness score used to pick which clusters survive into the pooled graph.

The formulation adds, for each node, a self-loop term and a sum over neighbours of the difference between the node's and the neighbour's linearly transformed features, with three separate learnable weight matrices. The authors prove that a fitness value computed by a plain GCN cannot learn functions that depend on the difference between a node and its neighbours, whereas LEConv can. The intuition they give is that LEConv scores clusters by both their global and local importance, through the self-loops and the ability to learn functions of local extremas.

In an ablation on FRANKENSTEIN and NCI1, swapping GCN for LEConv as the fitness function raised validation accuracy from 62.7 to 67.8 and from 65.4 to 70.7. The authors also observe that the full LEConv beats a one-matrix Basic-LEConv because its three different linear transformations let it learn more complicated scoring functions. ASAP as a whole reports an average improvement of 4% over the previous sparse hierarchical state of the art on graph classification benchmarks.

The official repository keeps LEConv in its own file, le_conv.py, next to the pooling operator, and the layer traced here is the PyTorch Geometric version of that same convolution.

Key idea. LEConv is a graph convolution whose fitness scores depend on the difference between a node and its neighbours after linear transformation, something a plain GCN provably cannot learn. ASAP uses it to score clusters by their local and global importance before selecting the top fraction for the pooled graph.

  • LEConv
  • Local Extrema Convolution
  • ASAP
  • Adaptive Structure Aware Pooling
  • ASAP pooling
  • graph pooling
  • hierarchical pooling
  • cluster fitness score
  • graph classification
  • Master2Token
  • M2T
  • TopK pooling
  • SAGPool
  • 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{ranjan2020asapadaptivestructureaware,
      title={ASAP: Adaptive Structure Aware Pooling for Learning Hierarchical Graph Representations}, 
      author={Ekagra Ranjan and Soumya Sanyal and Partha Pratim Talukdar},
      year={2020},
      eprint={1911.07979},
      archivePrefix={arXiv},
      primaryClass={cs.LG},
      url={https://arxiv.org/abs/1911.07979}, 
}