Graph Neural Networks Conditioned on Affinity Features

Resolve Bottlenecks,
Find Innovative Solutions
Generate Solutions

Solution Overview

Problem

Graph neural networks face limitations in computational efficiency and expressivity due to their limited receptive field and high computational complexity when processing graph data without incorporating structural affinity features.

Innovation Solution

Conditioning graph neural networks on affinity features such as effective resistance, hitting time, and commute time features, which represent properties of random walks in the graph, to generate task predictions, thereby reducing the number of message passing steps and improving predictive accuracy.

Engineering Contradictions & Design Principles

VSEngineering Contradiction Analysis

1Measurement precision

If graph neural networks use more message passing steps (layers) to improve predictive accuracy, then prediction accuracy improves, but computational complexity and processing time increase

Engineering Contradiction:
Improveprediction accuracyVSAvoidcomputational complexity
Core Design Contradiction:
Measurement precisionVSDevice complexity

Solution Approach 1:

The patent pre-computes affinity features (effective resistance, hitting time, commute time) before the graph neural network processing. These affinity features capture structural properties of the graph in advance, allowing the GNN to condition on them and achieve better predictions with fewer message passing steps, thus reducing computational complexity while maintaining accuracy

Inventive Principle:
Principle #10Preliminary action

Solution Approach 2:

The patent introduces affinity features as an intermediary between the raw graph structure and the GNN processing. These features serve as a bridge that encodes structural information in a condensed form, enabling the GNN to efficiently leverage graph structure without requiring extensive message passing to capture structural dependencies

Inventive Principle:
Principle #24Intermediary (Mediator)

2Productivity

If graph neural networks reduce the number of layers to improve computational efficiency, then processing speed improves, but receptive field and expressivity decrease

Engineering Contradiction:
Improveprocessing speedVSAvoidreceptive field
Core Design Contradiction:
ProductivityVSLoss of information

Solution Approach 1:

The patent pre-computes affinity features that encode global structural information of the graph before GNN processing. By conditioning on these pre-computed features, the GNN gains access to global structural context without requiring many message passing steps, thus maintaining effective receptive field while improving processing speed

Inventive Principle:
Principle #10Preliminary action

Solution Approach 2:

The patent changes the parameter representation by transforming raw graph structure into affinity features (effective resistance, hitting time, commute time). This parameter transformation allows the model to capture structural information more efficiently, achieving better expressivity with fewer layers

Inventive Principle:
Principle #35Parameter changes

3Measurement precision

If graph neural networks process more graph data to improve prediction accuracy, then accuracy improves, but memory usage increases

Engineering Contradiction:
Improveprediction accuracyVSAvoidmemory usage
Core Design Contradiction:
Measurement precisionVSQuantity of substance

Solution Approach 1:

The patent extracts essential structural information from the graph into compact affinity features (effective resistance, hitting time, commute time). By taking out only the most relevant structural properties and representing them in condensed feature vectors, the patent reduces memory requirements while preserving the information needed for accurate predictions

Inventive Principle:
Principle #2Taking out (Extraction)

Data Source

PatentUS20230281430A1Conditioning graph neural networks on graph affinity measure features
Publication Date: 2023.09.07 GOOGLE LLC
  • US20230281430A1 patent drawing
  • US20230281430A1 patent drawing
  • US20230281430A1 patent drawing

AI summary

Methods and systems for conditioning graph neural networks on affinity features. One of the methods includes obtaining graph data representing an input graph that comprises a set of nodes and a set of edges that each connect a respective pair of nodes, the graph data comprising respective node features for each of the nodes, edge features for each of the edges, and a respective weight for each of the edges; generating one or more affinity features, each affinity feature representing a property of one or more random walks through the graph guided by the respective weights for the edges; and processing the graph data using a graph neural network that is conditioned on the one or more affinity features to generate a task prediction for a machine learning task for the input graph.