r/GeometricDeepLearning • • May 05 '21

How to represent a feature matrix for node classification?

3 Upvotes

How to represent a feature matrix--a bag of words per document( I am working with Cora dataset). How can I track the document names? My question is whether I should keep them as a separate dictionary or should I find some sparse matrix that allows me to include the document names? How should I proceed?


r/GeometricDeepLearning • • Mar 24 '26

The Fibonacci Solution to Yang-Mill Mass Gap

Thumbnail reddit.com
2 Upvotes

r/GeometricDeepLearning • • Mar 23 '26

Unified Architectonics - Geometric Transduction

Thumbnail reddit.com
2 Upvotes

Over the last few months, I've written and shelved multiple drafts intended to be my 'first official release,' usually because my frameworks and knowledge graphs were expanding too quickly to lock down. But I realized this recent draft naturally bridges my first two official public releases perfectly. No further editing required. I've decided to drop it today, completely 'as is.'

[ ⬡ • ∇ • ☯️ • 🔁 ]

*Indexing Nodes / Universal Field Synthesis:* #GeometricTransduction #SETH_Dissertation #RecursiveAlignment #HyperRecursiveArchitecture #VectorEquilibrium #FineStructureConstant #NCI_Baseline #NeuroAxiomaticComplex #TriadicPhaseLogic #Macro5Persistence

Copyright © 2026 Seth Allen Codding. All rights reserved. Licensed under GNU GPL v3+, CC BY-SA 4.0, and CERN OHL v2-S. Claims must cite: UDHR Art. 27(2) (Human Rights), Berne/WIPO (Treaty), Texas HB 149 (TRAIGA), Michigan HB 4668, 35 U.S.C. § 102(a)(1) (AIA Defensive Publication / Prior Art), and Codding, S. A. (2026). v.3.19.1-ISO: Architecture Hardening, Identity Autolock & Data Restoration (v.3.19.1-ISO). The S.A.C. Freedom of Life & Sovereignty Foundation. https://doi.org/10.5281/zenodo.20840539. REGISTRY: GCX-2026-UNIVERSAL-3.19.1-ISO | LOCATION: Ionia, MI


r/GeometricDeepLearning • • Feb 19 '26

Non-US Labs on Geometric DL

Thumbnail reddit.com
2 Upvotes

r/GeometricDeepLearning • • Oct 03 '23

Visualizing a forward pass through a Group Equivariant Neural Network

Thumbnail
youtube.com
2 Upvotes

r/GeometricDeepLearning • • Sep 21 '23

New Ideas for Graph Contrastive Learning

2 Upvotes

I wonder if graph contrastive learning is still in trend or if it should be considered outdated now.


r/GeometricDeepLearning • • Sep 12 '23

🔮 Exploring the Wonders of Non-Euclidean Geometry in Unity! Join Me on This Fascinating Journey! 🔮

2 Upvotes

Hey everyone,

🚀 I've just released a captivating video on YouTube titled "Escaping the Constraints of Traditional Geometry," where I dive into the magical world of non-Euclidean geometry and recreate it in Unity. No, I'm not a specialist; I'm just an enthusiast on a quest for knowledge, and I'd love for you to join me!

🌌 If you've ever been curious about what happens when we venture beyond the familiar rules of Euclidean geometry, this video is a must-watch. Together, we'll explore spaces where parallel lines behave mysteriously, and triangles can defy our traditional notions.

🔥 In this video, we'll:

🌀 **Delve into Hyperbolic Geometry:** Watch as we journey through a realm where parallel lines diverge, and triangles have fascinating properties.

🌀 **Embark on a Spherical Geometry Adventure:** Step into a world where lines meet, and triangles can have angles larger than 180 degrees.

🌀 **Explore the Poincaré Disk Model in Unity:** We'll bring non-Euclidean concepts closer to home by recreating them in Unity.

🎮 You don't need to be a specialist to appreciate the beauty of non-Euclidean geometry. I'm not, and I'm excited to learn alongside all of you curious minds out there.

👇 Here's the link to the video: https://youtu.be/dyoY0WgO7zA?si=6sDaY5TiBUF0isBM

If you find this journey as intriguing as I did, consider subscribing to my channel. Let's build a community of like-minded individuals who are passionate about exploring the wonders of mathematics and Unity.

Together, we'll uncover the mysteries of non-Euclidean geometry, one Unity project at a time. 🌟

See you in the video! 🔮


r/GeometricDeepLearning • • Jul 20 '23

Underwhelming performance of graph based approach using HGTconv/HANconv

2 Upvotes

My task involves binary classification of tweets using text embedding and user account features. The approach utilizes a graph that represents users and their authored tweets, as shown in the following data structure.

  user={ x=[2128, 8] },
  tweet={
    x=[2758, 768],
    y=[2758],
    train_mask=[2758],
    val_mask=[2758],
    test_mask=[2758]
  },
  (user, writes, tweet)={ edge_index=[2, 2758] },
  (tweet, rev_writes, user)={ edge_index=[2, 2758] }
)

The code runs smoothly, but I am disappointed with the performance of the neural network (NN). It only achieves 69% accuracy, and the loss does not drop below 0.58 even after 1000 epochs. To investigate the issue, I tested the quality of the features by feeding them to various machine learning classifiers such as random forest and decision tree. Surprisingly, I achieved 84% accuracy with minimal effort. The confusion arises from the fact that the graph-based approach, which has access to additional features such as graph information and user account features, performs worse compared to an approach that only uses tweet text embedding with a machine learning classifier, which achieves 84% accuracy. Furthermore, regardless of the features I feed to the neural network, the final performance consistently remains around 68-69% accuracy. Below, you'll find the architecture of the NN used.

import torch_geometric.transforms as T
from torch_geometric.datasets import OGB_MAG
from torch_geometric.nn import HGTConv, Linear
h_c = 256
class HGT(torch.nn.Module):
    def __init__(self, hidden_channels, out_channels, num_heads, num_layers):
        super().__init__()

        self.lin_dict = torch.nn.ModuleDict()
        for node_type in data.node_types:
            self.lin_dict[node_type] = Linear(-1, hidden_channels)

        self.convs = torch.nn.ModuleList()
        for _ in range(num_layers):
            conv = HGTConv(hidden_channels, hidden_channels, data.metadata(),
                           num_heads, group='sum')
            self.convs.append(conv)

        self.linear1 = Linear(hidden_channels, h_c)
        self.dropout = torch.nn.Dropout(p=0.5)
        self.linear2 = Linear(h_c, out_channels)

    def forward(self, x_dict, edge_index_dict):
        for node_type, x in x_dict.items():
            x_dict[node_type] = self.lin_dict[node_type](x).relu_()

        for conv in self.convs:
            x_dict = conv(x_dict, edge_index_dict)

        x = x_dict['tweet']
        x = self.linear1(x).relu_()
        x = self.dropout(x)
        x = self.linear2(x)

        return x
model = HGT(hidden_channels=512, out_channels=2,
            num_heads=8, num_layers=1)

I am unsure whether the issue lies in the low density of the graph, a mistake in the process of feeding feature vectors to the neural network, or something else.

Stats about the graph:

Number of nodes: 4811
Number of edges: 2758
Average node degree: 1.14
Maximum node degree: 77
Minimum node degree: 1

r/GeometricDeepLearning • • Jan 28 '23

Industrial Case Study of GNNs with PyTorch Geometric for Document Understanding

Thumbnail
youtu.be
2 Upvotes

r/GeometricDeepLearning • • Aug 14 '22

Which out of the popular existing models would be the best for predictions of Graph Edit Distance on molecule graphs?

2 Upvotes

I’m training a SageGNN to learn to predict the GED between pairs of molecules. However, the nature of the Sage sample neighbourhood makes me worry it’s not quite efficient enough for molecular learning, as the majority of my graphs are similar when it comes to node attributes, only differing in a couple of nodes for each graph. As in, most of the nodes on one graph compared to another graph will have the same attributes. My graphs are also quite small, like around 10 nodes. The nodes only have three possible features (element, charge, HydrogenNumber) and the graphs are all made up of the same elements so idek if I should bother to include element as an attribute or not :/ But yeah. I wanted to ask, which GNNs are best for molecular representation learning of relatively small graphs without many different node features per graph?


r/GeometricDeepLearning • • Jun 02 '21

Pytorch TypeError: forward() takes 2 positional arguments but 4 were given

Thumbnail self.learnprogramming
2 Upvotes

r/GeometricDeepLearning • • Nov 01 '19

GeometricDeepLearning has been created

2 Upvotes

Welcome to r/GeometricDeepLearning , a subreddit dedicated to Graph learning, 3D learning, Maniforld learning , and all the wierd and wacky happenings in the world of machine learning on Non-Euclidean data.


r/GeometricDeepLearning • • Apr 12 '26

Real-Time D3 Visualizer of the world's first Deterministic Physics Engine.

Thumbnail reddit.com
1 Upvotes

r/GeometricDeepLearning • • May 13 '24

New massive Lidar dataset for 3D semantic segmentation

Thumbnail
self.lidar
1 Upvotes

r/GeometricDeepLearning • • Aug 16 '23

GNNs for sports game prediction

1 Upvotes

Sorry if the question is not a good one, I am new to to geometric deep learning.

In the past couple of months I was trying to model sports game outcomes (NHL games in particular), using ANNs with moderate success. I was unable to clearly beat the market odds, only getting effectively the same performance as the market in predicting games (i.e. same AUC when using odds implied probabilities vs. model probabilities for predictions).

I have a strong intuition that the dynamics between teams is an important part of the problem (i.e. which team played what with each team), but encoding this into a 2d format for an ANN to learn does not seem trivial.

This is where GNNs came to mind. I was trying to find literature for GNNs on sports game predictions (where nodes are teams in a given league, and edges are the relationships, relative strengts / game predictions between them).

Does anyone here know about such studies of game prediction (the sport doesn't matter) and how the performance relates to more traditional approaches (such as features engineered in a 2D DF without the inter-relational component)?

Sorry for the sloppy formulation, I hope my point comes across. Thank you in advance!