All models

DNAConv-net

A graph layer where each node attends over its neighbors' earlier embeddings to set its own receptive field.

Graphs and geometry · 348 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 (19 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
DNA
Parameters
198.3K
Operations
348
Framework
PyTorch
Recurrent
No
Published
ICLR 2019 Workshop on Representation Learning on Graphs and Manifolds
Cited by
26 (as of 19 October 2026)
Authors
Matthias Fey
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
m560
Graph hash
34b1aad5733d23239137af1ac7e4a213e0cfcef08981fd2b05bc591fd21f53c9
Skeleton hash
8ff055dbd41e539b2ba2ccc2a877b053ec2151eae0bb784e243fe8cf3137b8ff
Architecture hash
af6b86263f1e448eb41808d51e650f149448d0a29051eaf91413cfea4217a993
Diagram SHA-256
c8dfdece0190ef874ac7c114b03d0c99080c66c50d8440c86599c93e5584f9f5
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

DNAConv-net follows the paper's setup around the layer, projecting features, stacking DNA layers and performing the final prediction via a fully connected layer, so it outputs class scores.

About this model's family

Dynamic neighborhood aggregation, DNA, is a graph neural network layer in which a node aggregates not just its neighbors' current embeddings but their earlier ones too, choosing per node how local or global its view should be. The motivation is the familiar failure of deep GNNs: stacking layers usually lowers accuracy even though deeper stacks can see more of the graph. Jumping Knowledge networks address this by jumping back to earlier representations after the fact; DNA lets the jump happen inside the aggregation itself.

Concretely, a node's new embedding is computed by attending over all previous embeddings of each neighbor, with the node's current state as the query. Because the attention needs matching dimensions, the feature width must stay equal across all layers. An additional fixed parameter in the attention softmax lets the model refuse to aggregate individual neighbors, preserving fine-grained detail. Grouped linear projections with g groups cut the parameter count from d squared to d squared over g and act as a regularizer on the attention heads.

The evaluation covers eight transductive benchmarks: citation graphs, co-authorship graphs and Amazon co-purchase graphs. The paper reports that DNA beats plain stacking of GNN layers and exceeds Jumping Knowledge in most cases. Grouping gave accuracy gains of up to 3 percentage points for both GAT and DNA. The code and its evaluation examples are integrated into the PyTorch Geometric library.

Key idea. DNA lets each node attend over all previous embeddings of its neighbors during aggregation, with grouped projections as a regularizer, beating Jumping Knowledge stacks on node classification.

  • dna
  • dnaconv
  • dynamic neighborhood aggregation
  • just jump
  • graph attention
  • jumping knowledge
  • node classification
  • 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{fey2019justjumpdynamicneighborhood,
      title={Just Jump: Dynamic Neighborhood Aggregation in Graph Neural Networks}, 
      author={Matthias Fey},
      year={2019},
      eprint={1904.04849},
      archivePrefix={arXiv},
      primaryClass={cs.LG},
      url={https://arxiv.org/abs/1904.04849}, 
}