跳转到主要内容
ToolPotion

Cleora Graph Embedding Engine

Cleora is a Rust-powered graph embedding engine that deterministically computes graph embeddings using sparse Markov propagation. It offers a CPU-only, parameter-free, and fast alternative to GPU-intensive methods, achieving high accuracy on real-world graphs without sampling or noise, making it ideal for production ML pipelines.

访问URL
Cleora Graph Embedding Engine screenshot

描述

Cleora is a groundbreaking Rust-powered graph embedding engine designed to provide deterministic and highly accurate graph embeddings. Unlike traditional methods that rely on random walks, negative sampling, and GPU clusters, Cleora computes the exact distribution of all possible walks in a single sparse matrix power. This approach eliminates noise and stochastic approximation, ensuring perfect reproducibility and significantly faster computation on a single CPU core.

The core of Cleora's innovation lies in its algorithm. It constructs a sparse transition matrix from the input graph, handling heterogeneous hypergraphs with typed, multi-relational edges natively. Each iteration of matrix multiplication with this transition matrix captures the full distribution of walks of a specific length. This is followed by L2-normalized propagation, where each node's embedding is updated to the normalized average of its neighbors' embeddings. This process requires only a few iterations for co-occurrence similarity and slightly more for contextual similarity, making it orders of magnitude faster than sampling-based methods.

Key advantages of Cleora include its speed, accuracy, and efficiency. It is up to 240 times faster than GraphSAGE and uses significantly less memory than other libraries like NetMF. The engine is deterministic by default, crucial for reproducible research and production ML pipelines. It natively supports heterogeneous hypergraphs, eliminating the need for complex graph preprocessing. Furthermore, Cleora boasts a minimal install size of around 5 MB with only numpy and scipy as dependencies, avoiding the headaches of GPU driver installations and heavy frameworks.

Cleora is production-ready, offering stable and inductive embeddings that support the embedding of new nodes without retraining the entire graph. Its capabilities extend to various applications, including recommendation systems, knowledge graphs, entity resolution, fraud detection, and drug discovery. The engine's efficiency is highlighted by case studies like Zomato, which replaced GraphSAGE with Cleora, reducing embedding generation time from 20 hours to under 5 minutes for millions of users.

Cleora provides a comprehensive suite of tools, including built-in alternative algorithms for comparison, a rich evaluation suite for assessing embedding quality, graph sampling capabilities, and hyperparameter tuning. It also includes a CLI tool for easy integration into scripting and CI/CD pipelines. The entire library is open-source, free to use, modify, and deploy, offering a cost-effective solution compared to GPU-based alternatives.

Cleora Graph Embedding Engine的核心功能

  • 通过稀疏矩阵幂进行确定性图嵌入计算

  • 仅限 CPU 执行,无需 GPU

  • 原生支持具有类型化、多关系边的异构超图

  • 消除了随机游走采样和 skip-gram 训练

  • 在真实世界图上实现高精度

  • 比基于 GPU 和基于采样的方法快得多

  • 最小依赖和安装体积小(约 5 MB)

  • 支持感应式学习,无需重新训练即可处理新节点

  • 包含内置的替代算法以供比较

  • 提供丰富的评估套件以评估嵌入质量

  • 提供 CLI 工具以进行脚本和 CI/CD 集成

  • 开源且可免费使用、修改和部署

如何使用 Cleora Graph Embedding Engine?

  1. 安装:pip install pycleora

  2. 输入数据:以 TSV 格式提供边列表、交互日志或知识三元组。

  3. 图构建:Cleora 从输入数据构建异构超图。

  4. 矩阵幂:计算稀疏转移矩阵及其幂以捕获游走分布。

  5. 嵌入生成:L2 归一化传播生成确定性嵌入向量。

  6. 下游 ML:利用生成的嵌入进行推荐、分类、搜索等。

Cleora Graph Embedding Engine的使用案例

  • 推荐系统
  • 知识图谱
  • 实体解析
  • 欺诈检测
  • 社交网络分析
  • 药物发现
  • 供应链优化
  • 客户细分

Cleora Graph Embedding Engine的常见问题

Cleora Graph Embedding Engine 评价

加载中...

与 Cleora Graph Embedding Engine 类似的热门AI工具

AI 模型

node2vec 是一个可扩展的框架,用于学习图中节点的连续特征表示。它通过有偏随机游走来优化邻域保留,从而支持各种机器学习任务。该算法平衡了探索和利用,以获得丰富的节点嵌入。

机器学习平台

本地AI游乐场是一款免费、开源的原生应用程序,可离线和私密运行AI模型。它通过Rust后端简化了AI推理,无需GPU。轻松管理模型、验证完整性并启动流式服务器,使AI无需技术设置即可访问。

AI 模型与大语言模型

SelfMachines 提供了一个终极 AI 开发平台,专注于可观测性、可解释性和超高生产力。其拖放式环境简化了 AI 的部署和训练,支持定制化解决方案。该平台拥有分层图引擎,用于可视化和编排 ML 模型及流程,使不同技能水平的用户都能更轻松地使用高级 AI。

机器学习平台

AI 应用

GPUX 提供 AI 模型无服务器 GPU 推理,支持快速部署和执行机器学习工作负载。它提供快速冷启动,支持 Stable Diffusion XL 和 Whisper 等多种 AI 模型,并允许用户运行推理或在私有模型上出售请求,使 AI 更加易于访问和高效。

MLOps 与模型部署

该存储库提供了“简单深度图卷积网络”(GCNII)模型的 PyTorch 实现。它包含在基准图数据集上复现半监督和全监督结果的代码,以及一个 PyTorch Geometric 参考实现。

AI 模型与大语言模型

Chutes 是一个无服务器 AI 计算平台,允许用户在几秒钟内部署、运行和扩展任何 AI 模型。它专注于开源模型,为 AI 开发者和企业提供灵活高效的环境。

机器学习平台

AI 模型

EvolveGCN 提供用于演化图卷积网络(Evolving Graph Convolutional Networks)的代码,该网络专为动态图设计。此 AI 模型发表于 AAAI 2020,提供了一个用于分析和建模演化图结构的框架。它包含各种数据集和实验设置的实现,有助于动态图分析的研究。

AI 模型与大语言模型

AI 模型

SAGPool 是 Self-Attention Graph Pooling 的官方 PyTorch 实现,该方法在 ICML 2019 上发表。这个只读的归档仓库提供了新颖的图池化方法的代码,该方法利用自注意力机制来改进图表示学习。它适用于研究人员和开发人员处理图神经网络。

AI 模型与大语言模型