Rooted Subgraph Extraction for Higher-Order Graph Pattern Encoding

Resolve Bottlenecks,
Find Innovative Solutions
Generate Solutions

Solution Overview

Problem

Conventional graph neural networks (GNNs) are limited in their ability to detect and encode higher-order relationships among entities in large, sparse graphs, particularly in media recommendation systems, failing to capture intricate subgraph motifs like cliques, cycles, or clustered structures due to the expressive ceiling of the first-order Weisfeiler-Lehman test.

Innovation Solution

A Rooted Graph Homomorphism Network (RGHN) model is used to extract subgraph patterns in graph-structured data by parameterizing a set of rooted pattern graphs and efficiently enumerating and aggregating rooted homomorphisms, enabling the detection of complex structural relationships among entities.

Engineering Contradictions & Design Principles

VSEngineering Contradiction Analysis

1Measurement precision

If conventional graph neural networks use first-order Weisfeiler-Lehman test, then the model complexity remains manageable, but the ability to detect higher-order relationships and subgraph motifs is limited

Engineering Contradiction:
Improvesubgraph detection capabilityVSAvoidmodel complexity
Core Design Contradiction:
Measurement precisionVSDevice complexity

Solution Approach 1:

The patent segments the graph analysis into multiple orders (first-order, second-order, etc.) of Weisfeiler-Lehman tests, allowing the model to progressively capture higher-order relationships by dividing the complex detection task into hierarchical stages rather than attempting to detect all patterns simultaneously

Inventive Principle:
Principle #1Segmentation

Solution Approach 2:

The patent implements nested graph structures where higher-order WL tests are built upon lower-order foundations, with each layer embedding the previous layer's features. This nested architecture enables the model to capture increasingly complex subgraph motifs while reusing computational results from simpler patterns, thus managing complexity through structured composition

Inventive Principle:
Principle #7Nested doll (Nesting)

2Measurement precision

If the graph neural network processes large, sparse graphs to capture intricate subgraph motifs, then the detection precision improves, but the computational time and resources increase significantly

Engineering Contradiction:
Improvesubgraph motif detection accuracyVSAvoidcomputational time
Core Design Contradiction:
Measurement precisionVSLoss of time

Solution Approach 1:

The patent performs preliminary computations by pre-calculating and storing graph features, adjacency matrices, and intermediate WL test results that can be reused across multiple queries and iterations. This preliminary processing reduces redundant computations when detecting subgraph motifs in large, sparse graphs, significantly decreasing computational time for subsequent analyses

Inventive Principle:
Principle #10Preliminary action

Solution Approach 2:

The patent dynamically adjusts parameters such as the order of WL tests, neighborhood radius, and sampling strategies based on graph characteristics and query requirements. By changing these parameters adaptively, the model optimizes the balance between detection precision and computational efficiency for different graph structures and sizes

Inventive Principle:
Principle #35Parameter changes

Data Source

PatentUS20250363328A1Subgraph pattern extraction
Publication Date: 2025.11.27 ROKU INC
  • US20250363328A1 patent drawing
  • US20250363328A1 patent drawing
  • US20250363328A1 patent drawing

AI summary

Aspects of the disclosed technology provide solutions for extracting subgraph patterns in graph-structured data and encoding them as embeddings using a graph neural network (GNN). In some aspects, a process of the disclosed technology can include steps for receiving an input graph comprising a plurality of nodes and edges, the input graph representing relationships among a plurality of entities, parameterizing a graph neural network model based on a set of pattern graphs, and identifying, for at least a portion of the nodes in the input graph, rooted homomorphisms between the pattern graphs and local subgraphs rooted at the respective nodes. Systems and machine-readable media are also provided.