01
A graph gives context
A missing row is still attached to its neighbors. That is the opportunity—and the constraint.
Start with six rows
Imagine six sites connected by a small network. You know two feature values at each site, but deliberately cover the row at B. What could a model use to reconstruct it? Nearby sites offer one source of context. The connections say which sites are nearby in the graph.
We use a power-grid-shaped synthetic graph. Its two feature channels, and , are dimensionless invented numbers. They are not voltages, power injections, sensor readings, or simulated grid states. The shape supplies a memorable example; it supplies no evidence about electrical behavior.
Original feature rows (u, v)
- A
- (2, 1)
- B
- (1, 2)
- C
- (2, 2)
- D
- (3, 1)
- E
- (1, 3)
- F
- (2, 3)
B connects to A, C and D. Links are undirected; position and line length carry no physical units.
A feature vector is an ordered list. At B it is ; swapping the entries changes its meaning. Stack the six vectors as rows to get . The graph adds a node set and an edge set . An edge joins two rows; it is not another feature value.
CL-012 · All six feature rows and graph connections are teaching assumptions.
One message-passing step
B has three neighbors: A, C and D. A message-passing layer collects their vectors, combines them, and transforms the result using shared learned weights. “Shared” means the same rule is applied at different nodes; it does not mean every node receives the same result.
Let be the neighbors of , its starting vector, and learned matrices. One illustrative layer is:
The sum collects neighbors, division makes a mean, and is a nonlinear transformation. With two input features and output features, both matrices have shape , treating each vector as a column in this equation.
Before the transformation, B's original neighbor mean is . That is not the target . Graph context offers information to learn from; adjacency alone does not specify a perfect reconstruction rule.
This mean layer is a refresher, not a reproduction of GraphMAE's architecture. Graph attention can instead learn neighbor-dependent weights. The authors' main GraphMAE recipe uses graph attention, while studying other architecture choices.
Targets without manual labels
A training objective compares a prediction with a target. Self-supervision changes where that target comes from: here, the original feature row supplies it. We hide a row from the predictor while retaining its original values to score the prediction.
GraphMAE, introduced by Hou and colleagues in 2022, centers its original objective on masked node-feature reconstruction. Its graph supplies context, and its encoder learns a representation through this pretext task. This is a particular graph method, not a new name for every masked autoencoder.
CL-001 · GraphMAE, original paper, §3
The next question is more precise than “what is masked?” We need to follow the original row, the input token, and the hidden representation separately.