TGraphX Insights
Technical articles about TGraphX and tensor-native graph learning, grouped by topic. New readers should begin with the learning paths; if your task is standard graph learning on flat features, the comparisons explain when another library is the better choice.
Reading paths for newcomers · Library comparison overview · AI-Powered Video Analyzer (local video analysis)
Latest
Learning paths
Short reading orders for common starting points.
New to TGraphX
What the library is, how to install it, and a first graph with tensor-valued nodes.
Tensor-native message passing
When a node should be a tensor, and what layers do with it.
Shapes, testing and debugging
Catch shape and indexing mistakes before they change results silently.
Larger graphs
Sampling, feature stores and profiling.
Knowledge graphs
Embedding models, tensor-valued entity features and where PyKEEN is the better choice.
Reproducible and honest experiments
Seeds, saved inputs, leakage checks and conservative reporting.
Getting started with TGraphX
Install TGraphX, build a first tensor-valued graph, run it on Colab, and find answers to common first questions.
TGraphX Quickstart: From Install to First Working Experiment
Getting Started with Tensor-Valued Nodes in TGraphX
Mini-Batch Training Loop for [C, H, W] Node Features in TGraphX
TGraphX on Google Colab: Quickstart
From Notebook to Reproducible Experiment: Using the TGraphX Colab Gallery
One Call vs an Explicit Loop: Node Classification in TGraphX
TGraphX Troubleshooting FAQ: Errors, Layer Shapes and Silent Mistakes
TGraphX FAQ for PyTorch Users
Tensor-valued nodes, edges and message passing
What it means for nodes and edges to be tensors, how message passing, batching and attention treat them, and when plain vectors are enough.
Tensor-Valued Nodes in Graph Neural Networks: Why Shape Matters
When Flat Vector Node Features Are Insufficient for Your GNN Task
Inside Tensor Message Passing: The φ → AGG → ψ Pipeline in TGraphX
The TGraphX Graph and GraphBatch: How Tensor Graphs Are Stored and Batched
Reading the TGraphX Source: How a Tensor-Valued Graph Is Represented
Graph Attention over Feature Maps: TensorGATLayer Internals and Honest Limits
Tensor-Valued Edge Features in Graph Neural Networks
Tensor-Valued Edges in TGraphX: Relations as Structured Feature Maps
Permutation Equivariance in Tensor GNNs: How TGraphX Tests It
Topology vs Feature Geometry: Two Spaces Every Tensor Graph Lives In
k-Hop Neighborhoods and Locality in Tensor Message Passing
Graph-Level Tensors: Pooling and Readout for Structured Node States
TGraphX vs PyTorch Tensors Alone: When a Graph Abstraction Helps
TGraphX Architecture Reference: Paper vs Released Package
Shape validation, testing and debugging
Validating shapes, reasoning about tensor dimensions through layers, finding silent failures and testing graph code.
Shape-Aware Validation in TGraphX: Catching Bugs Before They Matter
Tensor Shapes as an API Contract in Graph Learning
Shape Algebra Through GNN Layers: Tracking Tensor Dimensions in TGraphX
Tensor Shape Semantics for GNN Researchers: A Notation Guide
The Hidden Cost of Silent Shape Errors in GNN Experiments
Silent GNN Failures: Shape-Compatible Bugs That Raise No Error
Debugging Graph Neural Networks: A Systematic Approach with TGraphX
Debugging Common GNN Errors with TGraphX
Testing Graph Learning Code: Unit Tests That Catch Real Mistakes
Building a Shape-Checked GNN Experiment Skeleton with TGraphX
Why Graph Learning Libraries Need Honest Failure Modes
Multidimensional Node Features in PyTorch Geometric
Reproducibility and research integrity
Seeds, determinism, saved inputs, leakage checks, experiment records, benchmark reporting and citation.
Research Reproducibility in GNN Projects: Lessons from TGraphX
A Practical GNN Reproducibility Checklist with Code
Seeded Operations and Deterministic Flags in TGraphX Experiments
Reproducibility by Construction: The reproducible() Context and Run Metadata
Reproducibility Checklists for Tensor-Valued GNN Experiments
Masks, Splits, and Leakage in TGraphX Node Classification
Serializing Tensor Graphs: save_tgraphx, load_tgraphx, and GraphML Round-Trips
.tgx Files in TGraphX: What They Store and What They Do Not
Building an Inspectable TGraphX Run Directory: graph.tgx, Configs, and Metrics
Designing a Graph Experiment Report That Future You Can Understand
Recording Benchmark Context with TGraphX: What You Must Supply Yourself
Research Integrity in Graph Learning: What Benchmarks Don't Tell You
Open-Source Readiness for GNN Research: A Practical Checklist
Citing and Describing TGraphX Accurately in Papers and Reports
GNN architectures and learning tasks
GraphSAGE, GIN, attention, pooling, node and graph classification, link prediction, temporal and typed graphs, calibration and explanation.
GraphSAGE Layer Deep Dive with TGraphX
Graph Isomorphism Network (GIN) Explained, with TGraphX Code
GCN vs GAT: Graph Convolution vs Graph Attention Compared
Over-Smoothing in Deep GNNs: Causes and Mitigations
Graph-Level Classification: Architectures and Pooling
Graph Pooling Methods Compared: Mean, Sum, Max, DiffPool
Semi-Supervised Node Classification in TGraphX: Label Propagation, GCN and Self-Training
Label Propagation for Semi-Supervised Graph Learning
Applying TGraphX to Citation Networks
Node2Vec and Graph Embedding in TGraphX
Graph Autoencoders and VGAE for Link Prediction
Temporal Graph Neural Networks in TGraphX: TGNMemory and TGATConv
Heterogeneous Graph Learning with TGraphX: RGCN, HAN, and HGT
Hypergraph Basics: Incidence Matrices and Clique Expansion
Calibration and Uncertainty in GNN Predictions
Explaining GNN Predictions for Vector Features: Saliency and Integrated Gradients
Explaining GNNs for Image-Patch Nodes: Saliency, Integrated Gradients, Edge Attribution
Graph Convolutional Networks (GCN): Normalised Adjacency by Hand
Message Passing from Scratch in PyTorch with index_add
Sampling, feature stores and performance
Mini-batch sampling, out-of-core feature stores, profiling, parallelism and the limits of distributed support.
Neighbor Sampling in TGraphX: Scaling GNNs to Large Graphs
Mini-Batch Sampling Math: NeighborLoader, GraphSAINT, and Cluster-GCN in TGraphX
GraphSAINT and Cluster-GCN: Scalable Sampling Compared
InMemoryFeatureStore vs MemmapFeatureStore: Which One Do You Need?
Training from a Memory-Mapped Feature Store with NeighborLoader
Distributed GNN Training with TGraphX Helpers
How Optimized Is TGraphX? A Source-Grounded Performance Review
TGraphX Performance FAQ: Speed, GPU Use, Parallelism, and Limits
What Can Be Parallelized in a Tensor-Valued Graph Pipeline?
Profiling a TGraphX Workflow with PyTorch Tools
Knowledge graphs
Knowledge-graph embedding with scalar and tensor-valued entity features, worked examples and toolkit boundaries.
Knowledge Graph Embedding in TGraphX: Train and Rank TransE, DistMult, ComplEx, RotatE
Knowledge Graph Tutorial: Tensor Entity Features and Multimodal KGs in TGraphX
Knowledge Graph Scoring: TransE, DistMult, ComplEx, RotatE
MovieLens Recommendation with Knowledge Graph Embeddings in TGraphX
Multimodal Knowledge Graph with Vision and Text Entities: End-to-End Tutorial
TGraphX vs PyKEEN: Choosing a Knowledge Graph Embedding Library
TGraphX vs Knowledge Graph Toolkits: Where the Boundaries Are
DistMult Scoring Function: Formula, Gradients, Symmetry
Graph mining, generation, optimization and RL
Motifs, communities, spectra, link scores, anomaly detection, graph generation, evolutionary search and reinforcement learning. Several of these modules are labelled Experimental.
Graph Mining with TGraphX: Motifs, Centrality and WL Labels
Graph Mining vs GNN Message Passing: When to Use Each
Community Detection with TGraphX and NetworkX
Graph Spectral Analysis with TGraphX
Link Prediction Scoring Functions: Jaccard, Adamic-Adar, Common Neighbors
Graph Anomaly Detection with TGraphX
Generating Graphs with Tensor-Valued Node Features in TGraphX
Graph Generation: Classical, Neural, and Metrics in TGraphX
Measuring Generated Graphs: Validity, Uniqueness, Novelty, Diversity, and MMD
Evolutionary Optimization over Graph Structures with TGraphX
Multi-Objective Graph Optimization: NSGA-II and Pareto Fronts in TGraphX
run_graph_rl in TGraphX: Environments, Algorithms and Result Traps
REINFORCE, DQN and PPO on a Graph Navigation Task in TGraphX
Graph Reinforcement Learning as an MDP over Tensor States
Vision, multimodal and domain applications
Image-patch graphs, multimodal node states, text graphs and domain applications.
Graph Learning for Computer Vision: When Image Patches Become Nodes
MNIST as a Graph: Tensor-Native Node Classification with TGraphX
CIFAR-10 Patch Graphs: Shape-Aware Image Graph Learning
Building Vision Graphs: Scene, Patch and kNN Recipes in TGraphX
Different Node Types, Different Modalities: HeteroGraph or One Projected Graph
Image, Volume and Sequence Node Features: Which TGraphX Layers Accept Them
Tensor-Valued Graphs for Multimodal Research Workflows
TGraphX for Scientific Data: Graph Learning in Biology and Materials Science
Structured Annotation for Graph and Vision Research
Schema-Aware Neural Architectures for Structured Data
Building a Minimal Article-to-Graph Pipeline for NLP Experiments
Graph Learning for NLP: Text-to-Graph Pipelines
AI-Assisted Image Annotation: How to Review and Correct Model Proposals
How to Analyze Videos Locally with AI: From Install to First Report
Audio Event Detection in Video with PANNs: Window Tags and Event Times
Describing Video Frames with BLIP: What Captions Add and What They Miss
Computer Vision Dataset Preparation: From Annotation to a Checked Export
CPU vs GPU for Video Object Detection: A D-FINE Benchmark
D-FINE Object Detection Explained: Box Distributions on Video Frames
How AI Analyzes an Entire Video: From Frames to Timestamped Evidence
Local Computer Vision Inference: Browser, WebGPU or GPU Worker?
Local Video Summarization with Ollama: Building Timestamped Evidence
Offline Video Transcription with Whisper and FFmpeg, with Timestamps
Scene Change Detection in Python: Frame-Difference Metrics and Thresholds
Text-Prompt Object Detection and Segmentation in Images and Video
Video Analysis JSON in Python: Validate, Query and Compare Results
Visual Similarity Search: Finding and Annotating Objects from One Example
AI-Powered Video Analyzer: Which Frames It Samples and Skips
Combining CNNs and GNNs
Hybrid models that join convolution with graph message passing.
How to Combine a CNN and a GNN in One PyTorch Model
Images as graphs
Turning images, patches and regions into graph nodes and edges.
How to Convert an Image into a Graph in Python
Framework comparisons and interoperability
Balanced comparisons with PyTorch Geometric, DGL, NetworkX, plain PyTorch and hand-written code, plus dataset interoperability.
TGraphX vs PyTorch Geometric: Choosing the Right Framework
Do Your Image-Patch Nodes Need TGraphX? A Half-Day Fit Test Against PyG
TGraphX and PyTorch Geometric: A Complementary Workflow
Interoperating with PyTorch Geometric, OGB, and DGL Datasets in TGraphX
PyTorch Geometric: Strengths, Weaknesses, and What It Doesn't Cover
Why Small GNN Frameworks Coexist with PyG and DGL
TGraphX vs DGL: A Practical Comparison for Graph Learning Research
Porting a [C, H, W] Node Classifier Between DGL and TGraphX
TGraphX vs NetworkX: Graph Analytics vs Graph Learning
TGraphX, PyG, DGL, and NetworkX: A Tool Selection Matrix
Where Tensor-Native Graph Learning Fits in the GNN Ecosystem
TGraphX vs Hand-Rolled Graph Code: Maintainability Trade-Offs
PyG from_networkx and Node Order: Keeping a Reliable ID Mapping
DGL vs PyTorch Geometric: API, Sampling and Project Status
APIs, tooling and research-engineering workflow
APIs, CLI, dashboards, experiment tracking, stability labels and notes on documenting research software.