paper-with-me

홈 › Papers

TinyKG: Memory-Efficient Training Framework for Knowledge Graph Neural Recommender Systems

2022-12-08 · Huiyuan Chen, Xiaoting Li, Kaixiong Zhou, Xia Hu, Chin-Chia Michael Yeh, Yan Zheng, Hao Yang

There has been an explosion of interest in designing various Knowledge Graph Neural Networks (KGNNs), which achieve state-of-the-art performance and provide great explainability for recommendation. The promising performance is mainly resulting from their capability of capturing high-order proximity messages over the knowledge graphs. However, training KGNNs at scale is challenging due to the high memory usage. In the forward pass, the automatic differentiation engines (\textsl{e.g.}, TensorFlow/PyTorch) generally need to cache all intermediate activation maps in order to compute gradients in the backward pass, which leads to a large GPU memory footprint. Existing work solves this problem by utilizing multi-GPU distributed frameworks. Nonetheless, this poses a practical challenge when seeking to deploy KGNNs in memory-constrained environments, especially for industry-scale graphs. Here we present TinyKG, a memory-efficient GPU-based training framework for KGNNs for the tasks of recommendation. Specifically, TinyKG uses exact activations in the forward pass while storing a quantized version of activations in the GPU buffers. During the backward pass, these low-precision activations are dequantized back to full-precision tensors, in order to compute gradients. To reduce the quantization errors, TinyKG applies a simple yet effective quantization algorithm to compress the activations, which ensures unbiasedness with low variance. As such, the training memory footprint of KGNNs is largely reduced with negligible accuracy loss. To evaluate the performance of our TinyKG, we conduct comprehensive experiments on real-world datasets. We found that our TinyKG with INT2 quantization aggressively reduces the memory footprint of activation maps with $7 \times$, only with $2\%$ loss in accuracy, allowing us to deploy KGNNs on memory-constrained devices.

📄 PDF Abstract BibTeX arXiv:2212.04540

Code (0)

등록된 구현이 없습니다.

Tasks

GPUKnowledge GraphsQuantizationRecommendation Systems

Similar Papers 제목 키워드 기반

DYNA : Dynamic Episodic Memory Networks for Augmenting Large Language Models with Temporal Knowledge Graphs in Continuous Learning

2026-06-14 · Ali Sarabadani, Mahtab Tajvidiyan arxiv

Large Language Models (LLMs) struggle to incorporate new knowledge without forgetting or costly retraining. We propose DYNA, a lightweight framework that augments a frozen LLM with a temporal knowledge graph where events…

Knowledge GraphsGraph Clustering

Knowledge-Aware Self-Correction in Language Models via Structured Memory Graphs

2025-07-07 · Swayamjit Saha arxiv

Large Language Models (LLMs) are powerful yet prone to generating factual errors, commonly referred to as hallucinations. We present a lightweight, interpretable framework for knowledge-aware self-correction of LLM outpu…

Knowledge Graph Enhanced Memory-Augmented Retrieval for Long Context Modeling

2026-06-12 · Ghadir Alselwi, Basem Suleiman, Hao Xue, Shoaib Jameel 외 arxiv

Long-context language modeling requires not only extending context windows but maintaining coherent understanding of entity states and relationships across thousands of tokens -- a challenge that semantic similarity alon…

Semantic SimilarityRelation ExtractionKnowledge Graphs

DEMENTIA-PLAN: An Agent-Based Framework for Multi-Knowledge Graph Retrieval-Augmented Generation in Dementia Care

2025-03-26 · Yutong Song, Chenhan Lyu, Pengfei Zhang, Sabine Brunswicker 외

Mild-stage dementia patients primarily experience two critical symptoms: severe memory loss and emotional instability. To address these challenges, we propose DEMENTIA-PLAN, an innovative retrieval-augmented generation f…

Knowledge GraphsResponse GenerationRetrievalRetrieval-augmented Generation

Neuro-Symbolic Meta-Policies for Temporal Knowledge-Graph Memory under Partial Observability

2026-07-20 · Taewoon Kim, Vincent François-Lavet, Michael Cochez arxiv

Partially observable reinforcement learning requires deciding what to retain, retrieve, and forget over time. We introduce a neuro-symbolic meta-policy that learns which symbolic memory heuristic to apply at each decisio…

Reinforcement LearningQuestion Answering