potentialpaper

NGDB-Zoo: Towards Efficient and Scalable Neural Graph Databases Training

Zhongwei Xie, Jiaxin Bai, Shujie LIU, Haoyu Huang, LI Yufei, Yisen Gao, Hong Ting Tsang, Yangqiu Song

NeurIPS 2026

Edit this page

Or clone it with git

Run in a terminal:

Needs Git LFS. To push, use an API key from your profile as the password.

Or let your agent set it up

It checks and sets up everything: signing in, git, the clone, credentials and an SSH key.

Abstract. Neural Graph Databases (NGDBs) support complex logical reasoning over incomplete knowledge structures, yet their training efficiency and expressivity are constrained by rigid query-level batching and structure-only embeddings. We present NGDB-Zoo, a unified framework that resolves these bottlenecks by synergizing operator-level training with semantic augmentation. By decoupling logical operators from query topologies, NGDB-Zoo transforms training loops into dynamically scheduled data-flow executions, enabling multi-stream parallelism and achieving a 1.8×1.8\times-6.8×6.8\times average throughput compared to baselines. Furthermore, we formalize a decoupled architecture to integrate semantic priors from pre-trained text embeddings without triggering I/O stalls or memory overflows. Experiments on six benchmarks, including ogbl-wikikg2\textit{ogbl-wikikg2} and ATLAS-Wiki\textit{ATLAS-Wiki}, show that NGDB-Zoo scales dense query-embedding training to million-entity graphs while maintaining competitive filtered MRR.

Are you an author? Claim this paper to see who's reading it, with views and other statistics, and to write about it here.

Claim this paper
How does this paper connect to your work? Write how you built on it, compared with it or reproduced it, or add a summary, a critique or errata.
Or make it interactive:
Start writing

edit · history

DateVersionSubmitted toPDFEvidence
4 May 2026NeurIPS 2026submittedNeurIPS 2026Accept (poster)reviews ↓[1]PDF[1]
Missing a version?

NeurIPS 2026

Accept (poster) · 5 reviews · OpenReview

Updated 25 Nov 2026, 03:43 UTC.

Program Chairs · DecisionOpenReview ↗
Decision
Accept (poster)
Read decision
Meta-review

The engineering part of this paper is competent and well instrumented. The proposed methods (optimized memory management, cardinality-aware grouping optimization for variable-length inputs, asynchronous CPU-GPU pipelining) help improve the training efficiency. The paper validates performance across multiple benchmark datasets and representative backbone models (including BetaE, Q2B, GQE, etc.) but also conducts extensive ablation studies.

However the following weaknesses still need to be resolved:

  1. The empirical evaluation has gaps that obscure the true value of the contribution. There are the concerns: 1/ in the only large-scale head-to-head comparison (Table 2), the authors transplanted baseline numbers from prior papers that were run on completely different hardware, invalidating the comparison; 2/ The ablation studies reveal that the paper's actual novel contributions (operator-level batching and Max-Fillness dispatch) account for only a small fraction of the speedup, while major gain comes from standard pipelining and vectorization engineering; 3/ Memory-for-Speed needs to be studied. (The framework consumes roughly 8x more GPU memory than SMORE to achieve its 1.8x throughput gain.); 4/ The control for test-set leakage when integrating the frozen pre-trained text embeddings on public datasets is not discussed.

  2. The dynamic updates are not analyzed. The current semantic enhancement relies on frozen​ pre-trained embeddings. The model cannot dynamically refine semantic representations based on the evolving graph structure during training.

  3. There are novelty concerns. For instance, operator-level batching was already introduced by the ATOM framework. As another example, the asynchronous sampling with CPU-GPU pipelining and multi-GPU scaling is SMORE's design.

Final justification

In the rebuttal, the authors resolved several critical empirical and methodological concerns by providing controlled evidence and transparently scoping their claims. They provided extra experiments to verify identical optimizer-step budgets with multi-seed standard deviations and demostrate the NGDB-Zoo outperforms SMORE on multi-GPU (8×A6000 GPUs) on large-scale datasets. (FB400k and ogbl-wikikg2) They addressed the test-set leakage concerns. Although the GPU memory overhead of NGDB-Zoo is still significant, I would like to treat it as a trade-off between performance and memory cost.

I would recommend an accept.

Area Chair vi2M · Meta-reviewOpenReview ↗
Read meta-review
Meta-review

The engineering part of this paper is competent and well instrumented. The proposed methods (optimized memory management, cardinality-aware grouping optimization for variable-length inputs, asynchronous CPU-GPU pipelining) help improve the training efficiency. The paper validates performance across multiple benchmark datasets and representative backbone models (including BetaE, Q2B, GQE, etc.) but also conducts extensive ablation studies.

However the following weaknesses still need to be resolved:

  1. The empirical evaluation has gaps that obscure the true value of the contribution. There are the concerns: 1/ in the only large-scale head-to-head comparison (Table 2), the authors transplanted baseline numbers from prior papers that were run on completely different hardware, invalidating the comparison; 2/ The ablation studies reveal that the paper's actual novel contributions (operator-level batching and Max-Fillness dispatch) account for only a small fraction of the speedup, while major gain comes from standard pipelining and vectorization engineering; 3/ Memory-for-Speed needs to be studied. (The framework consumes roughly 8x more GPU memory than SMORE to achieve its 1.8x throughput gain.); 4/ The control for test-set leakage when integrating the frozen pre-trained text embeddings on public datasets is not discussed.

  2. The dynamic updates are not analyzed. The current semantic enhancement relies on frozen​ pre-trained embeddings. The model cannot dynamically refine semantic representations based on the evolving graph structure during training.

  3. There are novelty concerns. For instance, operator-level batching was already introduced by the ATOM framework. As another example, the asynchronous sampling with CPU-GPU pipelining and multi-GPU scaling is SMORE's design.

Final justification

In the rebuttal, the authors resolved several critical empirical and methodological concerns by providing controlled evidence and transparently scoping their claims. They provided extra experiments to verify identical optimizer-step budgets with multi-seed standard deviations and demostrate the NGDB-Zoo outperforms SMORE on multi-GPU (8×A6000 GPUs) on large-scale datasets. (FB400k and ogbl-wikikg2) They addressed the test-set leakage concerns. Although the GPU memory overhead of NGDB-Zoo is still significant, I would like to treat it as a trade-off between performance and memory cost.

I would recommend an accept.

Reviewer X4PCOpenReview ↗
Rating
3/6
Confidence
3/5
Quality
3/4
Clarity
3/4
Significance
2/4
Originality
3/4
Contribution type
general
Ethical concerns
NO or VERY MINOR ethics concerns only
Read review
Summary

Neural Graph Databases (NGDBs) support complex logical reasoning over incomplete knowledge structures, yet their training efficiency and expressivity are constrained by rigid query-level batching and structure-only embeddings. This paper presents NGDB-Zoo, a unified framework that resolves these bottlenecks by synergizing operator-level training with semantic augmentation.

Concretely, NGDB-Zoo decomposes complex queries into a Directed Acyclic Graph (DAG) of typed operators, enabling cross-query operator fusion, dependency-aware scheduling, and eager reclamation of intermediate tensors.

Strengths and weaknesses

Strengths

  1. Neural graph databases are an important topic for question-answering. Its training efficiency and expressivity are constrained.

  2. The proposed method (autograd-safe operator-level training runtime and decoupled structural semantic integration) can help improve the training efficiency.

  3. Experiments on large datasets (ogbl-wikikg2、ATLAS-Wiki-4M) with millions of nodes are provided to show the efficiency.

Weaknesses:

  1. The main concern is that the contribution is more on system speed up instead of ML algorithms.

  2. The dynamic updates are not analyzed. When new data comes, how to optimize the retraining process is not provided.

  3. Based on table 4, SMORE has comparable throughput and much lower gpu memory usage compared to the proposed NGDB-Zoo.

Questions

As in weaknesses. It might be more suitable for DB conferences like SIGMOD to get thorough review with database experts.

Limitations

Yes.

Final justification

I agree that the throughput improvement is a contribution. However, my two concerns still not resolved.

  1. ML vs. systems contribution. The authors agree the main contribution is systems rather than a new reasoning model. Semantic augmentation is the only modeling result, but it uses a standard recipe (frozen text embeddings plus a projection layer) and does not always help: Table 13 shows FB15k/GQE dropping from 30.39 to 30.17, so "consistently improves MRR" is not accurate.

  2. Updating the database when new data arrives. The measurement covers re-encoding the frozen semantic table, which is not trained and is therefore expected to be inexpensive. The retraining cost I asked about lies in the structural embeddings, optimizer state, and graph indices, and the response confirms these are unsupported during an active run.

The concerns from Reviewer U9Us also make sense to me.

The reviewer is not an expert in database system. If it is in SIGMOD, it may get better reviews.

Formatting concerns

No.

2 comments
Authors · RebuttalOpenReview ↗
Rebuttal

We thank the reviewer X4PC for recognizing that neural graph databases are "an important topic for question-answering," that our method "can help improve the training efficiency," and for acknowledging our experiments on large datasets with millions of nodes. We address each concern below.

W1/Q1: Contribution scope (more on system speedup than ML algorithms); Venue fit.

A1: We agree that the primary contribution is ML systems rather than a new reasoning architecture. Our significance claim is that the runtime preserves ML training semantics and substantially improves the efficiency of established CQA models at million-entity scale. Concretely, the paper offers three quantified lines of evidence beyond speedup:

  1. A formalized structural–semantic representation method. Appendix G formalizes semantic integration as learning on a composite manifold H_joint = H_str × H_sem with a trainable projection into model-specific logical manifolds (Eq. 9–10), covering geometric and distributional (box/beta) query encoders. This is also where the largest accuracy gains come from: semantic augmentation improves average MRR from 26.90 to 30.08 (+3.18 pp) with BGE (Table 13), with consistent gains using Qwen3-Embedding (Figure 8).

  2. Training-semantics preservation. Applying operator-level batching to training requires preserving autograd dependencies, loss alignment, and the mathematical objective under dynamic scheduling. Appendix N provides a gradient-equivalence analysis and empirical verification: the maximum absolute logit difference is below 10−610^{-6} under FP32 single-stream execution, and final MRR remains within run-to-run variance. This correctness analysis is central to supporting stateful ML training rather than only stateless query execution.

  3. Learning under non-stationary workloads. Our online stochastic sampler (Appendix H) supports on-the-fly adaptation of the training distribution. In the controlled diagnostic in Appendix H.4, adaptive sampling improves MRR by 21.5% on average after an abrupt shift in query difficulty (Fig. 9), providing evidence on learning dynamics under changing workloads.

Regarding venue fit, NGDB-Zoo supports representative CQA models from major ML, NLP, and AI venues—including GQE (NeurIPS 2018), Q2B (ICLR 2020), BetaE (NeurIPS 2020), Q2P (Findings of NAACL 2022), and FuzzQE (AAAI 2022)—and follows the standard evaluation protocol of this literature: filtered MRR over 14 EFO query patterns. We further scale GQE, Q2B, and BetaE to million-entity graphs, including ogbl-wikikg2 and ATLAS-Wiki-4M (Table 3); Appendix A/Table 5 further shows that the execution-based alternative incurs an O(∣E∣⋅B⋅d⋅L)O(|E|\cdot B\cdot d\cdot L) memory cost, projected at approximately 343 GB in the evaluated setting. NGDB-Zoo directly targets this stateful ML training loop. We therefore believe that reducing this scalability bottleneck—validated across six benchmarks and five representational paradigms—is of direct interest to the NeurIPS community.

W2: Analysis of Dynamic Updates and retraining.

A2: We thank the reviewer for highlighting this important deployment limitation. We agree that the current implementation primarily targets static or periodically refreshed KG snapshots and does not support graph mutation during an active run.

For description edits to existing entities, however, the decoupled semantic design avoids a full-table refresh. Since HsemH_{\mathrm{sem}} is entity-indexed (Eq. 7), only the changed entities ΔE\Delta E need to be re-encoded and their corresponding rows replaced, while PTE inference remains outside the training loop. We verified this incremental pathway on an RTX A6000 using Qwen3-Embedding-0.6B and a 4M × 1024 FP16 semantic table:

Number of updated entities PTE encoding Row update Total
100 0.29 s 0.010 s 0.30 s
1K 3.29 s 0.008 s 3.30 s
10K 31.0 s 0.023 s 31.1 s

Using the 10K-run sustained rate of approximately 323–324 entities/s, refreshing the full 4M-entity table would take an estimated 3.4 hours. In contrast, refreshing 1K descriptions takes only 3.30 s, approximately 1/3,700 of the estimated full-refresh time, while row replacement is negligible. Thus, description-refresh cost depends on the number of changed entities rather than requiring a full-table encoding pass.

New entities and edges additionally require extending the structural embeddings and optimizer state and rebuilding or updating the graph indices. These operations are not currently supported during an active run. Nevertheless, because training queries are synthesized online (Appendix H), training can resume after the relevant states and indices are updated without re-materializing a query–answer dataset. Safe active-run mutation would further require index synchronization and semantic-buffer versioning and remains future work. We will clarify these implementation boundaries in the revision.

W3: Throughput–memory trade-off against baselines.

A3: We thank the reviewer for highlighting this important trade-off. We agree that SMORE uses substantially less GPU memory; however, under controlled settings, NGDB-Zoo also provides materially higher throughput.

Throughput. With identical backbones, 400-dimensional embeddings, negative sampling, and optimizer-step budgets, NGDB-Zoo achieves 4,477 vs. 2,808 q/s on FB15k/BetaE (1.6×) and 4,750 vs. 1,633 q/s on FB15k-237/BetaE (2.9×). Averaged over the model–dataset settings supported by both systems, NGDB-Zoo achieves 5,086 vs. 2,802 q/s, or a 1.8× improvement. All methods use the same fixed training budget of optimizer steps for each corresponding setting; the complete budget and variance results are reported in our response to Reviewer U9Us (Q1/A1).

Memory. We agree that the memory gap is substantial: NGDB-Zoo uses 8.12 GB on average versus 1.08 GB for SMORE, and 12.95 vs. 1.16 GB on FB15k/BetaE. We will explicitly describe this result as a memory-for-throughput trade-off. SMORE achieves approximately 4× higher throughput per GB on average, whereas NGDB-Zoo prioritizes absolute training throughput through larger cross-query operator batches and autograd-aware intermediate retention.

This trade-off remains feasible in our evaluated large-scale setting: the structure-only Table 3 configurations use 7.5–15 GB per GPU on 8×A6000 for graphs containing 400K–4M entities (the staged-semantic configuration uses 15.4 GB/GPU; see our response to Rev. U9Us). It also uses less memory than SQE in several complex settings, e.g., 7.12 vs. 45.04 GB on NELL995/GQE. Eager reference counting further reduces peak memory by 8.6% (10.46 to 9.56 GB; Appendix M, Table 11). We will revise the paper to report both absolute throughput and memory efficiency and to characterize the result transparently as a controllable memory-for-throughput trade-off rather than a uniformly superior operating point.

Authors · CommentOpenReview ↗

Dear Reviewer X4PC,

We sincerely appreciate your recognition of neural graph databases as an important topic for question answering, the value of our autograd-safe operator-level training runtime and decoupled structural–semantic integration, and our efficiency evaluation on million-entity datasets such as ogbl-wikikg2 and ATLAS-Wiki-4M. We really hope that our rebuttal and additional evidence have addressed all your questions and concerns regarding the contribution scope, venue fit, dynamic updates, and the throughput–memory trade-off.

We would greatly appreciate it if you could take a moment to review our response and let us know whether it has adequately resolved your concerns. If anything remains unclear, we would be grateful for your feedback and would be more than happy to provide further clarification.

Thank you very much for your time and consideration.

Best regards, Authors

Reviewer zCaAOpenReview ↗
Rating
4/6
Confidence
4/5
Quality
3/4
Clarity
3/4
Significance
3/4
Originality
2/4
Contribution type
general
Ethical concerns
NO or VERY MINOR ethics concerns only
Read review
Summary

The paper proposes NGDB-Zoo, a unified framework that addresses these bottlenecks through synergistic operator-level training and semantic enhancement. NGDB-Zoo adopts operator-level batching​ to decouple logical operators from query topologies, transforming the training loop into dynamically scheduled dataflow execution. Combined with asynchronous pipelining, this approach significantly improves hardware utilization. Furthermore, the framework introduces a decoupled semantic integration mechanism. By separating the precomputation of high-dimensional text embeddings from the training process and utilizing lightweight projection layers to fuse structural and semantic features, it eliminates the real-time inference overhead associated with pre-trained embeddings during training.

Strengths and weaknesses

Strengths

  1. The proposed NGDB-Zoo features a mature design, integrating established compiler optimization techniques including operator-level DAG execution, reference-counted memory management, cardinality-aware grouping optimization for variable-length inputs (Intersection/Union), and asynchronous CPU-GPU pipelining. It is also accompanied by a fully open-source implementation.
  2. The paper validates performance not only across multiple benchmark datasets and representative backbone models (including BetaE, Q2B, GQE, etc.) but also conducts extensive ablation studies. Experimental results demonstrate substantial, non-trivial performance improvements over existing baselines.
  3. The appendix provides a detailed comparative analysis against closely related methods such as ATOM, clearly delineating NGDB-Zoo's positioning relative to prior work.

Weaknesses

  1. The comparative evaluation primarily focuses on relatively dated frameworks (pre-2023), such as KGReasoning and SMORE. However, recent years have witnessed the emergence of numerous graph learning frameworks based on compiler optimizations (e.g., Apache TVM or MLIR), which similarly target operator fusion and code generation optimizations. Would it be possible for the authors to include a comparison with such compiler-based frameworks, discussing differences in performance, implementation logic, and design emphasis?
  2. While the paper mentions multi-GPU training, it lacks specifics regarding the underlying parallelism strategy (e.g., data parallelism, model parallelism, or pipeline parallelism) and the rationale behind achieving near-linear performance scaling. For training on graphs with tens of millions of entities, communication overhead and load balancing are critical concerns. Can the reported performance gains be sustained when scaling to configurations with a significantly larger number of GPUs?
  3. Although the paper emphasizes throughput improvements, Tables 3 and 4 indicate that NGDB-Zoo’s peak GPU memory consumption is substantially higher than that of baselines like SMORE. In scenarios involving larger problem scales or memory-constrained hardware, this “memory-for-speed” trade-off may become a new bottleneck. The discussion on this critical trade-off is somewhat insufficient.
  4. The current semantic enhancement relies on frozen​ pre-trained embeddings, meaning the model cannot dynamically refine semantic representations based on the evolving graph structure during training. While Appendix B briefly mentions exploring end-to-end joint optimization as future work, this remains the most challenging aspect of semantic augmentation. Furthermore, even with CPU offloading, storing and accessing semantic embeddings for extremely large-scale graphs presents a formidable systems challenge.
  5. (Minor) The font sizes in the figures are excessively small, particularly in Fig. 4, rendering the text illegible. I kindly request that the authors adjust the font sizes to improve readability.
Questions
  1. Please response to Weaknesses 1-4.
  2. Could the authors conduct additional experiments evaluating performance under adversarial conditions, specifically focusing on the impact of dynamically shifting query distributions and severely skewed query workloads?

If the authors address my concerns, I may raise my score accordingly.

Limitations

yes

Final justification

The authors added some important experiments during the rebuttal period, which made the conclusions of the paper more complete, and I believe their work provides insightful contributions to the community. Therefore, my personal stance on this paper is Borderline accept, as it has addressed some of my concerns from the rebuttal. Meanwhile, I still have some remaining concerns, such as the efficiency compared with newer graph compilers, and whether there will be new efficiency bottlenecks when scaling to larger GPU clusters.

Formatting concerns

no

2 comments
Authors · RebuttalOpenReview ↗
Rebuttal

We thank Reviewer zCaA for the constructive review and for recognizing our "mature design," "fully open-source implementation," and "extensive ablation studies" showing "substantial, non-trivial performance improvements over existing baselines."

W1: Relation to TVM/MLIR-based frameworks.

A1: We thank the reviewer for suggesting this important comparison.

System Optimization scope Phase Primary focus
TVM / MLIR-style compilers Captured ML program and tensor operators General ML workloads Graph transformation, operator fusion, lowering, and code generation
KGCompiler[1] Operators within a captured CLQA query graph Reasoning Intra-query horizontal/vertical fusion via TorchInductor
NGDB-Zoo Ready operators pooled across online-generated query DAGs Training Cross-query batching, dynamic scheduling, autograd-safe reclamation, and online sampling

Compiler fusion optimizes compatible tensor operations within a captured program or query graph, whereas NGDB-Zoo dynamically batches ready operators across online-generated query DAGs. KGCompiler [1], for example, applies TorchInductor and FOL-specific intra-query fusion, reporting 1.04×–8.26× speedups, but does not address stateful training requirements such as autograd preservation and loss alignment. The approaches are complementary: compiler-generated kernels could serve as NGDB-Zoo’s backend, while NGDB-Zoo manages cross-query aggregation and training state. We will add this comparison and discuss KGCompiler as the compiler-level systems.

[1] KGCompiler: Deep Learning Compilation Optimization for Knowledge Graph Complex Logical Query Answering. arXiv:2503.02172, 2025.

W2: Multi-GPU strategy and scalability.

A2: NGDB-Zoo uses data parallelism with a fixed per-GPU batch, following SMORE's protocol: each worker samples its own 512 queries per step. Dense model parameters are replicated and synchronized once per optimizer step through gradient all-reduce, rather than after individual operators. Sparse entity embeddings may be CPU-resident and are updated using the asynchronous optimization path.The measured aggregate throughput is:

Dataset / Model 1 GPU 2 GPUs 4 GPUs 8 GPUs Efficiency at 8 GPUs
wikikg2 / GQE 5.05K 7.64K 12.19K 23.92K 59%
wikikg2 / Q2B 3.42K 6.25K 11.05K 20.75K 76%
wikikg2 / BetaE 3.09K 5.73K 10.50K 19.65K 79%
ATLAS-4M / GQE 4.60K 6.95K 11.44K 22.00K 60%
ATLAS-4M / Q2B 3.04K 5.82K 10.05K 18.47K 76%
ATLAS-4M / BetaE 2.77K 5.22K 9.57K 17.89K 81%

Efficiency is defined as TN/(NT1)T_N/(N T_1). From 2 to 8 GPUs, throughput increases by 3.13–3.43× for a 4× increase in resources, corresponding to 78%–86% incremental scaling efficiency. We will replace “almost linearly” with these measured, model-dependent results.

NGDB-Zoo's runtime is not architecturally restricted to eight GPUs: its data-parallel runtime and asynchronous pipeline naturally support additional workers, each running an independent online-sampling stream. Separately, Table 2 demonstrates storage scalability to 86M entities for single-hop ComplEx training, while the table above characterizes multi-GPU scaling for complex-query training on graphs with up to 4M entities.

W3: Memory-for-throughput trade-off.

A3: We thank the reviewer for highlighting this important trade-off. We agree that the gap to SMORE is substantial: NGDB-Zoo uses 8.12 GB per GPU on average versus 1.08 GB for SMORE, and 12.95 versus 1.16 GB on FB15k/BetaE. We will therefore retract the term “modest” and explicitly characterize the result as a memory-for-throughput trade-off.

Under the controlled settings supported by both systems, NGDB-Zoo achieves 5,086 versus 2,802 q/s on average, a 1.8× improvement in absolute throughput. SMORE nevertheless achieves approximately 4× higher throughput per GB, whereas NGDB-Zoo uses larger cross-query operator batches and retains autograd intermediates to prioritize absolute training throughput.

The trade-off remains feasible on our evaluated large-scale hardware: the structure-only Table 3 configurations use 7.5–15 GB per GPU on 8×A6000 for graphs with 400K–4M entities (the staged-semantic configuration uses 15.4 GB/GPU; see our response to Rev. U9Us). The comparison is also baseline-dependent; for example, on NELL995/GQE, NGDB-Zoo uses 7.12 GB versus SQE's 45.04 GB while achieving 6,329 versus 2,959 q/s. Separately, the controlled mechanism diagnostic in Appendix M/Table 11 shows that eager reference counting reduces peak memory by 8.6%, from 10.46 to 9.56 GB. We will revise the paper to report both absolute throughput and memory efficiency.

W4: Frozen semantic representations and extreme-scale access.

A4: We agree that the frozen encoder does not co-adapt its parameters with the evolving graph structure. Our current operating point is frozen semantic anchors with trainable structural embeddings and a trainable fusion projection. Thus, adaptation occurs in the structural and fusion spaces, but not within the text encoder itself. We will clarify this distinction and avoid implying end-to-end semantic co-optimization.

Description changes do not require a full semantic-table refresh. Because HsemH_{\mathrm{sem}} is entity-indexed, only the changed rows need to be re-encoded and replaced. On an RTX A6000 with Qwen3-Embedding-0.6B and a 4M × 1024 FP16 table, refreshing 1K descriptions takes 3.29 s plus 0.008 s for row replacement, compared with an estimated 3.4 hours for a full-table refresh. Active-run synchronization and semantic-buffer versioning remain future work.

We also quantified the storage-access path at larger scales:

Configuration Table size Staged bandwidth Est. demand Est. headroom
4M × 768 6.1 GB 2.59 GB/s 0.98 GB/s 2.6×
4M × 2048 16.4 GB 4.45 GB/s 2.62 GB/s 1.7×
16M × 1024 32.8 GB 3.49 GB/s 1.31 GB/s 2.7×

The measured contiguous pinned-H2D ceiling is approximately 19.5 GB/s. The complete staging path sustains 2.59–4.45 GB/s and is limited primarily by random host-row gathering rather than PCIe saturation. At the production query rate measured in Table 3 (2,456 queries/s/GPU on ogbl-wikikg2/BetaE) and the measured staging footprint of ≈260 unique rows per query, the configurations shown above retain 1.7–2.7× bandwidth headroom; across the full probe grid reported in our response to Reviewer Tper, the range is 1.7–3.2×. Separately, a 16M × 2048 FP16 table occupies 65.5 GB and remains executable through staging despite exceeding the A6000's 48 GB VRAM, although this point was not included in the hardened saturation grid.

A lightweight adapter or end-to-end encoder fine-tuning could provide stronger semantic co-adaptation, but quantifying its accuracy and systems cost remains future work.

W5 (Minor): Figure font sizes too small, especially Fig. 4.

A5: Thanks for your suggestion. We will redraw Fig. 4 and enlarge fonts across all figures in the revision.

Q2: Additional experiments under adversarial conditions—dynamically shifting query distributions and severely skewed query workloads.

A6: Thank you for suggesting these stress tests. We distinguish learning robustness from runtime behavior. Appendix H.4 (Fig. 9) already evaluates a non-stationary learning workload in which query difficulty changes every 15,000 steps; adaptive sampling improves MRR by 21.5% on average over static sampling. We additionally evaluated frequency skew, abrupt structural switching, and a negation-heavy workload on FB15k-237/BetaE using one A6000.

Severely skewed workloads. We sampled ten representative EFO templates from Zipf distributions with α∈{0,0.5,1.0,1.5,2.0}\alpha \in \{0, 0.5, 1.0, 1.5, 2.0\}. The two most frequent templates account for 20.0%, 51.2%, and approximately 80.7% of the stream at α=0\alpha=0, 11, and 22, respectively.

Zipf α\alpha 0 0.5 1.0 1.5 2.0
Sampling-side throughput (q/s) 6,046 3,667 5,956 3,610 5,687

Sampling throughput ranges from 3,610 to 6,046 q/s; the minimum is 40.3% below the uniform-workload result. No template received zero samples in any non-overlapping 1,000-step window. The non-monotonic trend reflects differences in template-specific sampling costs. This experiment isolates online query generation and is not an end-to-end training-throughput comparison.

Abrupt distribution switching. We switched the training stream from projection/intersection-heavy to union/negation-heavy templates. Across two seeds, the average maximum throughput dip was 3.7%. Throughput returned to its pre-switch range within the first 500-step measurement window, with no persistent degradation observable at this resolution.

Negation-heavy stress test. In a controlled memory microbenchmark, a 100% negation-heavy stream (2in/3in/inp/pin/pni) used 1.562 GB peak memory, compared with 1.571 GB under uniform sampling, with no OOM. We therefore observed no workload-induced memory increase in this diagnostic. This result concerns the isolated memory microbenchmark and does not replace the cross-system memory comparison in A3.

These diagnostics extend Appendix H.4 from changes in query difficulty to the evaluated frequency and structural shifts. We will report the exact workload construction and limit our conclusions to the evaluated model, dataset, hardware, and measurement scope; these results are not intended to establish robustness to arbitrary adversarial workloads.

Authors · CommentOpenReview ↗

Dear Reviewer zCaA,

We sincerely appreciate your recognition of NGDB-Zoo’s mature system design, fully open-source implementation, extensive evaluation and ablation studies, and substantial performance improvements over existing baselines.

As the discussion period is nearing its end, we would greatly appreciate it if you could review our response and let us know whether it has adequately addressed all your questions and concerns. If anything remains unclear or insufficiently addressed, we would be grateful to hear your feedback and would be more than happy to provide further clarification or evidence.

Thank you very much for your time, careful consideration, and valuable guidance.

Best regards,
Authors

Reviewer S5deOpenReview ↗
Rating
5/6
Confidence
2/5
Quality
3/4
Clarity
3/4
Significance
3/4
Originality
3/4
Contribution type
general
Ethical concerns
NO or VERY MINOR ethics concerns only
Read review
Summary

This paper introduces NGDB-Zoo, a framework for training Neural Graph Databases (NGDBs) that resolves the inefficiencies of rigid query-level batching and structure-only embeddings. The system introduces a training runtime that shifts batching to the operator level by decomposing complex queries into a Directed Acyclic Graph (DAG) of typed operators. It uses a dynamic scheduler with a Max-Fillness policy to pool identical operators across queries and employs eager reference counting to reclaim memory during the backward pass. Additionally, it proposes a decoupled semantic integration strategy using a frozen pre-trained text embedding to add semantic priors without causing I/O stalls or memory overflows. Tested on six datasets, it demonstrates a 1.8-6.8x average throughput improvement over baselines.

Strengths and weaknesses

Strengths:

  1. Adapting operator-level batching into a stateful training loop with autograd-aware memory management is a competent engineering achievement.
  2. Grouping variable-cardinality operators into equivalence classes to enable vectorized execution effectively reduces GPU memory fragmentation.
  3. The framework successfully handles million-entity graphs and demonstrates near-linear multi-GPU throughput scalability.

Weaknesses:

  1. As noted in the paper, operator-level batching was already introduced by the ATOM framework. The primary novelty here is adapting this mechanism for a stateful training loop, making it an incremental systems extension.
  2. The performance gains attributed to the semantic subspace rely on pre-trained text embeddings (Qwen3, BGE). Because standard benchmarks heavily represented in the pre-training data of these models, the accuracy gains are highly likely due to data contamination.
Questions
  1. How did you control for test-set leakage when integrating the frozen pre-trained text embeddings on public datasets? Can you evaluate the fusion layer using a text encoder trained on a strictly disjoint corpus?
Limitations

Yes

Final justification

The authors have addressed my concerns regarding novelty and test-set leakage, with detailed explanations and additional experiments.

Formatting concerns

N/A

4 comments
Authors · RebuttalOpenReview ↗
Rebuttal

We thank Reviewer S5de for the careful assessment and for recognizing NGDB-Zoo as "a competent engineering achievement" that "successfully handles million-entity graphs." We address your two concerns below.

W1: Novelty Claim.

A1: We respectfully clarify the scope of the contribution, as we believe the "incremental" characterization overlooks problems that simply do not exist in ATOM's setting. ATOM performs stateless serving: a query is decomposed, executed for inference, and discarded (Appendix A). NGDB-Zoo targets the stateful training loop of query embedding models, which introduces three training-specific requirements with no counterpart in ATOM:

  1. Autograd-aware memory management. Intermediate tensors cannot be freed after forward use because the backward pass depends on them. Our eager reference counting (Sec. 4.3) releases the scheduler-owned reference after all dependent forward consumers have been dispatched, while autograd retains the state required for backward computation — a correctness problem that stateless serving never faces.
  2. Active workload generation. Unlike passively served queries, training requires online query synthesis, answer lookup, and negative sampling to be overlapped with GPU execution (Appendix H).
  3. Global objective synchronization. Shattered cross-query outputs must be re-aligned with the candidate entity matrix each step to compute the contrastive training objective.

These are not re-packagings of ATOM's mechanism; Appendix M (Table 11) attributes quantified effects to each design: operator pooling reduces CUDA kernel launches by 32.5% and step time by 2.08x; the asynchronous pipeline removes CPU sampling from the GPU critical path by 17.3x; reference-count release lowers peak memory by 8.6% (10.46 to 9.56 GB). Appendix N further verifies that operator-level batching preserves exact training semantics (max |logit diff| < 10^-6 under identical seeds in FP32) — a correctness guarantee irrelevant to stateless serving but essential here. Finally, Contribution 2 (decoupled semantic integration, Sec. 4.4) has no analogue in ATOM or in any serving-time system. We hope this clarifies that the contribution is a new training runtime for a problem class ATOM does not address. Please also see our response to Rev. U9Us (Originality).

W2/Q1: Semantic gains and potential pre-training contamination.

A2: We thank the reviewer for raising this important concern. We distinguish direct test-set leakage from possible corpus-level overlap.

No direct benchmark leakage in our pipeline. The frozen encoder receives only the textual description associated with each entity. The benchmark query–answer labels, split assignments, validation/test queries, held-out edges, and answer sets are never supplied to the encoder. The semantic table is precomputed independently of these splits, and the fusion layer is optimized only using the training graph and training queries. Thus, our integration procedure does not directly expose test supervision to either the encoder or the fusion layer.

Corpus-level overlap cannot be ruled out. We agree that Qwen3-Embedding and BGE may have encountered public entity descriptions or related facts during pre-training, because their complete pre-training corpora cannot be fully audited. This issue is not unique to our framework: representative text-enhanced KG methods—including KEPLER[1], SimKGC[2], and CSProm-KG[3] also evaluate pretrained textual representations on public KG entity descriptions under standard graph/query splits, rather than retraining an encoder on a strictly isolated corpus. This precedent does not rule out contamination; it clarifies that the standard protection is against direct query-, label-, and split-level leakage, while corpus-level overlap remains a limitation that should be disclosed.

We conducted two complementary diagnostics: an entity–text alignment control for CQA, and a BGE-only zero-shot link-prediction diagnostic without KG training or structural–semantic alignment.

Diagnostic 1 — entity–text alignment control (CQA). All values below are filtered CQA MRR (%). The shuffled variant uses the same BGE table, fusion architecture, training budget, and hyperparameters (Appendix F), but randomly permutes the entity-to-text correspondence:

Dataset Backbone Structure only + BGE (aligned) + BGE (shuffled)
FB15k-237 Q2B 20.19 25.72 15.34
FB15k-237 GQE 16.98 22.13 11.59
NELL995 BetaE 24.90 26.41 12.23

Diagnostic 2 — BGE-only zero-shot link prediction. We separately test whether frozen BGE embeddings can directly recover KG links without KG training or structural–semantic alignment. Both sides of the scoring function are zero-shot compositions of frozen text embeddings: the head entity and the relation are encoded from their text (entity description; relation name/description) with the same frozen BGE encoder, composed as eh∘ere_h \circ e_r with a fixed, untrained composition operator ∘\circ, and scored against each candidate tail embedding ete_t by cosine similarity, cos⁡(eh∘er, et)\cos(e_h \circ e_r,\ e_t). No parameters are trained on KG triples. These are filtered zero-shot link-prediction MRR values (%) and are not directly comparable to the CQA MRR values above:

Dataset Encoder KG training/alignment Zero-shot LP MRR (%)
FB15k-237 BGE-Base-En-v1.5 None 0.52
NELL995 BGE-Base-En-v1.5 None 0.88

The gain disappears — and drops below the structure-only baseline — when descriptions are assigned to the wrong entities, and frozen BGE embeddings alone are near zero under the zero-shot LP protocol. Together, these diagnostics show that the gains depend on correct entity–text alignment and on combining frozen textual features with KG-trained structural/fusion components; BGE embeddings alone do not solve zero-shot link prediction under this protocol.

A strictly disjoint-corpus encoder would provide a useful additional control, but training and validating such an encoder exceeds the rebuttal window and is beyond the scope of our primary systems contribution. It would also introduce a domain-mismatch confound: weaker performance could reflect either decontamination or the encoder's lack of coverage of general-domain entities, which will undermine the interpretability of the experiment. We therefore do not overclaim this result and leave strictly decontaminated encoder evaluation to future work. Our revised claim will be limited to showing that NGDB-Zoo can efficiently integrate frozen textual priors and that entity-aligned textual features improve the evaluated CQA models under the stated encoders.

[1] KEPLER: A Unified Model for Knowledge Embedding and Pre-trained Language Representation. TACL 2021

[2] SimKGC: Simple Contrastive Knowledge Graph Completion with Pre-trained Language Models. ACL 2022

[3] Dipping PLMs Sauce: Bridging Structure and Text for Effective Knowledge Graph Completion via Conditional Soft Prompting. Findings of ACL 2023

Authors · CommentOpenReview ↗

Dear Reviewer S5de,

We sincerely appreciate your recognition of our autograd-safe operator-level training runtime as a “competent engineering achievement,” as well as your positive comments on variable-cardinality operator grouping, million-entity scalability, and multi-GPU performance.

We hope that our rebuttal and additional diagnostics have adequately addressed your concerns regarding the distinction from ATOM and the potential for pre-training data contamination. In particular, we have clarified the training-specific challenges absent from stateless serving and provided entity–text alignment and zero-shot link-prediction controls to better characterize the source and scope of the semantic gains.

We would be very grateful if you could let us know whether any questions or concerns remain. We would be more than happy to provide further clarification or address any additional feedback.

Thank you very much for your time, recognition, and thoughtful consideration.

Best regards, Authors

Reviewer S5de · CommentOpenReview ↗

I thank the authors for their detailed rebuttal, which has addressed my concerns regarding novelty and test-set leakage. I have raised my score accordingly. Please ensure that these results and clarifications are included in the final version of the paper.

Authors · CommentOpenReview ↗

Dear Reviewer S5de,

Thank you very much for taking the time to review our rebuttal.

We sincerely appreciate your positive feedback and are grateful that our response has addressed your concerns regarding novelty and potential test-set leakage. We will include the additional results and clarifications into the final version of the paper.

Thank you again for your thoughtful review and valuable guidance.

Best regards, Authors

Reviewer TperOpenReview ↗
Rating
5/6
Confidence
3/5
Quality
3/4
Clarity
3/4
Significance
3/4
Originality
3/4
Contribution type
general
Ethical concerns
NO or VERY MINOR ethics concerns only
Read review
Summary

This paper introduces NGDB-Zoo, a training framework designed for neural graph databases (NGDBs) to perform complex logical reasoning over large-scale, incomplete knowledge graphs. The work successfully addresses a fundamental tension between training efficiency and representational expressivity, which typically compromise performance by forcing mini-batches to strictly share isomorphic logical structures at the structural level. To break this limitation, NGDB-Zoo implements a highly efficient training runtime that makes operator-level execution practical, enabling high-throughput training even when the query workload is structurally highly diverse. The framework achieves this by decomposing complex queries into a QueryDAG for optimized operator-level scheduling, while utilizing a decoupled integration strategy that fuses frozen, pre-trained text embedding with trainable structural embeddings.

Strengths and weaknesses

Strength: This is a very practical and high-impact work that significantly benefits the community by introducing several dedicated system designs to maximize training efficiency, such as operator-level batching, dynamic scheduling, efficient tensor indexing, and proactive memory management.

  • Each component is thoughtfully engineered to address the cascading bottlenecks of the pipeline; for instance, while operator-level batching extends a query's lifecycle and naturally increases memory pressure, this work introduces an eager reference counting mechanism to mitigate this overhead and boost resource reclamation efficiency.
  • The framework provides a great solution for the efficient integration of semantic entity representations, avoiding the typically prohibitive overheads of joint training with pre-trained text encoders that usually turn high-throughput graph reasoning into severe compute-bound or I/O-bound bottlenecks.
  • These architectural innovations are validated by extensive and strong empirical results, where NGDB-Zoo achieves substantial throughput gains, including a massive 7x speedup over the SQE baseline. The work demonstrates scalability by evaluating across three large-scale benchmarks such as ogbl-wikikg2 and ATLAS-Wiki-4M, proving its capability to scale on real-world graphs containing millions of entities.

Weakness: This paper exhibits no major weakness, and the authors have acknowledged most limitations in the paper. A few minor points:

  • Lack of support for dynamic updates: The decoupled semantic encoding relies on offline pre-computation, unloading the text encoder during training. While efficient for static graphs, this hinders real-world dynamic NGDB scenarios that require entity insertions or description edits. Without the encoder in the loop, any text modification requires re-running the heavy offline batch process to update the embedding table.
  • Pipeline bottlenecks under heterogeneous query chains: the operator-level data-flow scheduling introduces strict inter-operator data dependencies in multi-hop queries. When processing a highly heterogeneous workload of both very long and short query chains, these dependencies can create logical pipeline bottlenecks. Downstream operators are forced to stall in the scheduling queue until their precursor tensors are materialized via the ReleaseRef policy, which may cause stream fragmentation.
Questions

For real-world large-scale graphs where the semantic table significantly exceeds VRAM and must reside in CPU memory, do we know approximately at what entity count or feature dimensionality does the asynchronous pinned-memory staging path hit a hard PCIe bandwidth bottleneck?

Limitations

yes

Final justification

The authors have addressed my concerns regarding the scalability of the proposed framework and its applicability to heterogeneous query chains in the rebuttal. My minor concern regarding the lack of support for dynamic updates remains unresolved. Overall, my personal stance on this paper is accept.

Formatting concerns

No

2 comments
Authors · RebuttalOpenReview ↗
Rebuttal

We sincerely thank Reviewer Tper for the encouraging assessment "a very practical and high-impact work" with "no major weakness" and for highlighting the 7x speedup over SQE and the demonstrated scalability on ogbl-wikikg2 and ATLAS-Wiki-4M. We address the question and two minor points below.

Q1: At what entity count or feature dimensionality does the asynchronous pinned-memory staging path hit a hard PCIe bandwidth bottleneck?

A1: We thank the reviewer for this important scalability question. Within the tested range, we do not observe a hard PCIe bandwidth bottleneck. Instead, the effective staging path is limited primarily by random host-row gathering and retains an estimated 1.7–3.2× bandwidth headroom at the production query rate.

More precisely, staging demand is determined by (unique rows fetched per query) × (feature dimension) × (bytes per value) × (query rate), rather than directly by the total entity count. The entity count primarily determines the host-table footprint and may indirectly affect access locality.

We hardened our synthetic probe by pre-generating row indices and separately measuring (i) contiguous pinned-memory H2D transfer, (ii) random host-row gathering, and (iii) the complete gather-plus-H2D staging path. The results below were measured on an RTX A6000. Estimated demand is calculated per GPU from the measured Table 3 query rate (2,456 queries/s/GPU on ogbl-wikikg2/BetaE) and the measured staging footprint of ≈260 unique embedding-table rows per query (positive answer + negative samples + anchor entities, from host-side gather logs). Since the semantic-augmented path runs slower than the structure-only rate used here, this estimate is conservative. We sweep 1–4 CUDA streams and report the best sustained staged bandwidth.

Entities Dim. Table size H2D ceiling Host gather Best staged Est. demand Est. headroom
4M 768 6.1 GB 19.5 GB/s 2.71 GB/s 2.59 GB/s 0.98 GB/s 2.6×
4M 1024 8.2 GB 19.4 GB/s 3.79 GB/s 3.23 GB/s 1.31 GB/s 2.5×
4M 2048 16.4 GB 19.5 GB/s 6.38 GB/s 4.45 GB/s 2.62 GB/s 1.7×
16M 768 24.6 GB 19.6 GB/s 3.63 GB/s 3.16 GB/s 0.98 GB/s 3.2×
16M 1024 32.8 GB 19.6 GB/s 4.11 GB/s 3.49 GB/s 1.31 GB/s 2.7×

The complete staging path sustains 2.59–4.45 GB/s, only 13%–23% of the measured 19.4–19.6 GB/s pinned-H2D ceiling. Its performance instead tracks the substantially lower random host-gather bandwidth. Thus, in the tested range, the host-gather path becomes limiting before PCIe approaches saturation.

Increasing the table from 4M to 16M entities does not reduce staged bandwidth at matched dimensions: it changes from 2.59 to 3.16 GB/s at 768 dimensions and from 3.23 to 3.49 GB/s at 1024 dimensions. This supports our diagnosis that the degradation in our earlier probe resulted from including synthetic index generation in the timed region, rather than from the larger table itself.

At the production query rate, all tested configurations retain an estimated 1.7–3.2× headroom; 4M × 2048 is the closest tested point to the effective staging limit. Separately, our capacity probe confirms that a 16M × 2048 FP16 table (65.5 GB), which exceeds the A6000's 48 GB VRAM, remains executable through pinned staging, although this configuration was not included in the hardened saturation grid above.

Therefore, we cannot assign an exact PCIe saturation threshold beyond the tested range. Our measurements show that there is no hard PCIe bottleneck up to 16M entities at 1024 dimensions or up to 2048 dimensions at 4M entities; at higher staging demand, the current implementation is expected to encounter the host-gather limit before saturating PCIe. We will add this quantitative characterization and its scope to Appendix B.

W1: Lack of support for dynamic updates — the decoupled semantic encoding relies on offline pre-computation, so any text modification requires re-running the heavy offline batch process.

A2: We thank the reviewer for highlighting this important deployment limitation. We agree that the current implementation primarily targets static or periodically refreshed KG snapshots and does not support graph mutation during an active run. However, editing existing entity descriptions does not require re-encoding the full semantic table. Since HsemH_{\mathrm{sem}} is entity-indexed (Eq. 7, Sec. 4.4), only the rows corresponding to the changed entities ΔE\Delta E need to be re-encoded and replaced, while PTE inference remains outside the training loop.

We verified this incremental pathway on an RTX A6000 using Qwen3-Embedding-0.6B and a 4M × 1024 FP16 semantic table:

Number of updated entities PTE encoding Row update Total
100 0.29 s 0.010 s 0.30 s
1K 3.29 s 0.008 s 3.30 s
10K 31.0 s 0.023 s 31.1 s

At the 10K-run sustained encoding rate of approximately 323–324 entities/s, a full refresh of the 4M-entity table would take an estimated 3.4 hours. In comparison, refreshing 1K descriptions takes only 3.3 seconds—approximately 1/3,700 of the estimated full-refresh time—while row replacement is negligible. These results demonstrate that the description-refresh cost is determined by ∣ΔE∣|\Delta E|, without requiring a full O(∣E∣)O(|E|) encoding pass.

New entities and structural updates additionally require extending the structural embeddings and optimizer state and rebuilding or updating the graph indices. Although these operations are not currently supported during an active run, online query synthesis avoids re-materializing a query dataset after the relevant states and indices are updated. Safe active-run updates would further require synchronization or semantic-buffer versioning and remain future work. We will clarify these implementation boundaries in the revision.

W2: Pipeline bottlenecks under heterogeneous query chains — downstream operators stall until precursor tensors are materialized via the ReleaseRef policy, possibly causing stream fragmentation.

A3: We appreciate the reviewer for raising this important question about heterogeneous query chains. We first clarify the scope of the ReleaseRef policy (Eq. 5, Sec. 4.3): it governs memory reclamation timing, not execution dispatch — it reclaims an intermediate tensor only after all dependent operators have been dispatched, and never gates dispatch itself. The inter-operator dependency the reviewer describes is intrinsic to multi-hop reasoning in any execution model; the design question is whether a stalled long chain idles the hardware. NGDB-Zoo addresses exactly this with three mechanisms:

  1. Cross-query operator pooling + Max-Fillness scheduling (Sec. 4.1). While a 3-hop chain waits on its precursor, the ready set is replenished by operators from other queries; the scheduler dispatches the type with the highest fillness ratio (Eq. 3), so stalls in one query are absorbed by ready work from short chains. Appendix K (Table 9) shows Max-Fillness consistently outperforms FIFO and Random across three model/dataset settings (+3.1% to +7.7% throughput), with identical loss trajectories.
  2. Multi-stream execution (Sec. 4.3, Appendix F). Disjoint operator types run on independent CUDA streams, overlapping compute- and memory-bound kernels so no single dependency chain can fragment a stream.
  3. Evaluation under heterogeneous workloads. All main experiments train on a uniform mixture of the full 14 EFO templates — 1p/2p/3p chains of different lengths interleaved with intersection/union/negation. Under this heterogeneous workload, NGDB-Zoo sustains 5,086 q/s on average (Table 4), and operator-level batching beats query-level batching by up to 2.19x (Appendix J, Table 8). These results suggest that cross-query pooling effectively absorbs a substantial portion of dependency-induced waiting.
Authors · CommentOpenReview ↗

Dear Reviewer Tper,

Thank you again for your highly encouraging assessment and for recognizing NGDB-Zoo as a “very practical and high-impact work” with “no major weakness.” We sincerely appreciate your positive comments on our operator-level batching, dynamic scheduling, proactive memory management, efficient semantic integration, substantial throughput improvements, and scalability to million-entity graphs. Your thoughtful questions and suggestions have also helped us further strengthen the paper and clarify its practical limitations.

We sincerely hope that our rebuttal and additional experiments have fully addressed your question and concerns. If any issue remains unclear or if you have any additional comments, we would be very grateful to hear them and would be more than happy to provide further clarification.

Thank you very much for your time, recognition, and thoughtful consideration.

Best regards, Authors

Reviewer U9UsOpenReview ↗
Rating
2/6
Confidence
4/5
Quality
3/4
Clarity
2/4
Significance
2/4
Originality
2/4
Contribution type
general
Ethical concerns
NO or VERY MINOR ethics concerns only
Read review
Summary

The submission proposes NGDB-Zoo, a training framework for dense query-embedding models for complex logical query answering (CQA) over knowledge graphs (instantiating GQE, Q2P, Q2B, BetaE, FuzzQE). Instead of batching only queries with isomorphic topology, it decomposes each query into a DAG of typed logical operators, pools ready operators of the same type across heterogeneous queries, dispatches them with a greedy "Max-Fillness" policy (Eq. 3), buckets variable-arity intersection/union by input cardinality, reclaims intermediate tensors by reference counting, and overlaps online query sampling and host–device transfer with GPU execution on multiple CUDA streams. On FB15k/FB15k-237/NELL995 it reports 1.8×–6.8× average throughput over KGReasoning, SMORE, and SQE at comparable or slightly better MRR (Table 4), single-hop epoch times below SMORE/PBG/Marius on 86M-entity Freebase (Table 2), and standalone multi-hop results on FB400k, ogbl-wikikg2, and a newly subsampled ATLAS-Wiki-Triple-4M (Table 3).

A second component fuses frozen, precomputed text embeddings (Qwen3-Embedding-0.6B, BGE-Base) with trainable structural embeddings through a lightweight projection (Eq. 8), kept GPU-resident or staged from pinned CPU memory; this yields +3.18 MRR points on average (Table 13) and a reported 4×~9× throughput gain relative to running the encoder inside the training loop. Appendices provide a gradient-equivalence argument with an empirical FP32 check (max logit deviation < 1e-6), ablations of batching granularity and dispatch policy, operator microbenchmarks, mechanism-level profiling, and a memory-scaling profile of GNN-QE.

Strengths and weaknesses

Strengths

The paper targets a genuine, well-motivated bottleneck (Quality, Significance): topology-homogeneous batching demonstrably fragments GPU kernels for mixed CQA workloads, and dense query-embedding models remain the only paradigm training at million-entity scale (the Appendix A profiling of GNN-QE, extrapolating roughly 343 GB per projection at wikikg2 scale, is a useful datum). The engineering is competent and unusually well instrumented, which is a real strength for a systems paper: Appendix J isolates batching granularity, Appendix K isolates dispatch policy under fixed seeds with identical loss trajectories, Appendix L gives per-operator latencies, and Appendix M ties each mechanism to its target metric (32.5% fewer kernel launches; CPU sampling off the critical path, from 224.7 to 13.0 ms). Appendix N states the right correctness invariant (batched execution of a per-row operator with shared parameters is a permutation of the same computation graph) and spot-checks it empirically (max logit deviation below 1e-6).

Breadth is reasonable: five model families, six datasets including negation queries, and anonymous code are provided, which helps reproducibility and adoption (Significance). The exposition is mostly readable, with helpful conceptual figures (Figs. 2 and 3) that make operator-level pooling and the dispatch policy easy to grasp (Clarity). Faster CQA training infrastructure, if fairly demonstrated, would be welcomed by this subcommunity.

Weaknesses

The evidence behind the headline claims is weak in specific ways (Quality). The 6.8x endpoint is against KGReasoning, a pedagogical reference implementation; against the strongest system (SMORE) the average gain is 1.8x (Table 4: 5,086 vs. 2,802 q/s) while consuming roughly 8x more GPU memory (8.12 vs. 1.08 GB average; 12.95 vs. 1.16 GB on FB15k/BetaE), a trade-off the conclusion calls "a modest memory increase." The paper's own ablations attribute only 1.16x to 2.19x to operator-level batching itself (Table 8) and +3.1% to +7.7% to Max-Fillness over random dispatch (Table 9), so most of the end-to-end gain comes from pipelining/vectorization engineering rather than the named contributions.

The scalability thesis lacks comparative evidence (Quality, Significance). Table 3 (FB400k, ogbl-wikikg2, ATLAS-Wiki-4M) reports NGDB-Zoo alone with GPU count unstated (the numbers appear to match the 8-GPU configuration of Fig. 7, whose unlabeled bars indicate roughly 4x to 5x scaling at 8 GPUs, not the claimed "almost linear"), and the only large-graph head-to-head (Table 2, 86M-entity Freebase) is single-hop ComplEx with baseline numbers transplanted from prior papers run on different hardware, at 17-22% margins. Relatedly, a runtime argued to be gradient-equivalent, run under an "identical online sampler" (Sec. 5.3), nevertheless beats all baselines' MRR on most shared configurations (average 26.90 vs. 25.72); the most plausible explanation is unequal effective training budgets, but steps/epochs are never specified, and the checklist's claim of three-run means is contradicted by the absence of any variance anywhere.

The semantic component is oversold (Quality). The 4x to 9x speedup (5x to 7x in Fig. 8's caption; the numbers disagree) is measured against re-running a frozen encoder every step, a configuration no practitioner would use since precompute-and-cache is standard in the KEPLER/LambdaKG line; semantic results are confined to 15K-63K-entity graphs despite the million-entity motivation; no inductive split is evaluated despite the claim in Contribution 2; and GQE/FB15k regresses (30.39 to 30.17).

On Originality, the main ideas are inherited: operator-level batching across heterogeneous queries was introduced by ATOM (SIGMOD-2024, for serving, correct? and it is acknowledged in Table 1/App. A); cross-structure operator batching during training already exists in GNN-QE; asynchronous sampling with CPU-GPU pipelining and multi-GPU scaling is SMORE's design. The residual novelty, keeping autograd state alive under dynamic cross-query scheduling, is real but is an implementation obligation discharged with standard reference counting; there is no scheduling theory or optimality analysis, and the frozen-text fusion (Eq. 8) is a routine concat-project design within established practice.

On Clarity, several defects remain: Fig. 4 is illegible at print size, Sec. 3.1 contains a garbled sentence ("combcombinhtomic formulas"), Fig. 5 cites the wrong equation for VecExec, Appendix J's relation counts contradict Table 6, and the NeurIPS checklist template instructions were left undeleted.

Questions
  1. MRR parity and budgets. For Table 4, were all frameworks trained for the same optimizer steps or the same wall-clock? Given Appendix N's equivalence and the shared sampler, what exactly produces the +1.2 average MRR gain? Per-cell seeds and standard deviations (the checklist asserts three runs) would raise my score; evidence that MRR gains stem from unequal budgets would lower it.
  2. Large-scale head-to-head. Run SMORE multi-hop (GQE/Q2B/BetaE) on FB400k and ogbl-wikikg2 with the same query sets and hardware, reporting throughput, memory, and MRR alongside Table 3, and state the GPU count for every throughput number (reconciling Table 3 with Fig. 7). A convincing win against SMORE at scale would materially raise my score.
  3. Semantic module fairness. Compare against a cached-embedding baseline (precompute + lookup inside KGReasoning/SMORE) rather than in-loop encoding; report semantic results on at least one million-entity graph and on an inductive (unseen-entity) split, both of which motivate Contribution 2. Positive results would raise my score; retaining only the in-loop-encoder baseline would lower it.
  4. Multi-GPU claim. Provide the numeric throughputs behind Fig. 7 and scaling efficiency at 2/4/8 GPUs; justify or retract "almost linearly." Together with Q2, this determines whether the scalability thesis holds; verified near-linear scaling with stated GPU counts would raise my score.
Limitations

yes

Formatting concerns

n/a

2 comments
Authors · RebuttalOpenReview ↗
Rebuttal

We thank Reviewer U9Us for the exceptionally careful and constructive reading and for recognizing the system as “competent and unusually well instrumented.” We address each concern below.

Q1: MRR parity, training budgets, and MRR gains.

A1: Thank you for raising this important question. We apologize for the omission. The following results clarify the fairness of the comparison and provide a plausible interpretation of the observed MRR difference.

(i) Budgets were equal. All Table 4 cells follow a fixed-step protocol: 800K-1M optimizer steps, set per model-dataset configuration and identical across KGR, SMORE, SQE, and NGDB-Zoo for any given cell. Table 4 reports the corresponding means over three runs with distinct random seeds {0, 42, 123}.

Dataset Model Steps KGR std SMORE std SQE std NGDB-Zoo std
FB15k BetaE 1M 0.22 0.45 0.20 0.22
FB15k Q2B 800K 0.16 0.32 0.35 0.17
FB15k GQE 800K 0.11 0.30 0.47 0.64
FB15k-237 BetaE 1M 0.14 0.26 0.45 0.13
FB15k-237 Q2B 800K 0.27 0.25 0.27 0.31
FB15k-237 GQE 800K 0.13 0.20 0.28 0.35
NELL995 BetaE 1M 0.29 0.40 0.26 0.70
NELL995 Q2B 800K 0.17 0.11 0.38 0.24
NELL995 GQE 800K 0.21 0.18 0.30 0.36

(ii) Interpretation of the MRR difference. The equal-step audit rules out unequal training budgets. Because operator dispatch preserves the same computation for a fixed batch (App. N), the remaining systematic difference is batch composition: query-level baselines take each optimizer step on a single query structure, whereas operator-level training mixes structures within an update. This changes the stochastic optimization trajectory and is a plausible explanation, but we do not claim a causal conclusion without a direct batch-composition ablation. We will clarify this distinction in the revision.

Q2: Large-scale SMORE head-to-head comparison.

A2: We verified that all Table 3 throughput values are aggregate measurements on 8×A6000 GPUs, while memory is peak allocation per GPU. We reran SMORE using the same query sets, model hyperparameters, optimizer-step budget, hardware, and fixed per-GPU batch of 512 queries; both systems therefore use an effective global batch of 4,096 on eight GPUs.

Dataset Model SMORE TPut (1K q/s, agg.) Ours TPut (1K q/s, agg.) SMORE Mem/GPU (GB) Ours Mem/GPU (GB)
ogbl-wikikg2 GQE 15.59 23.92 1.2 8.0
ogbl-wikikg2 Q2B 13.61 20.75 1.1 11.0
ogbl-wikikg2 BetaE 10.72 19.65 1.4 14.0
FB400k GQE 12.30 24.68 1.2 7.5
FB400k Q2B 11.88 21.55 1.1 11.0
FB400k BetaE 10.12 19.97 1.3 14.0

These controlled results show higher absolute throughput for NGDB-Zoo, while confirming SMORE's substantially lower GPU-memory footprint.

Q3: Semantic fairness—cached baseline, large-scale evaluation, unseen entities, regression, and numerical discrepancy.

A3: (1) Cached-semantic baseline. We agree that precompute-and-cache is standard and will no longer foreground comparisons against in-loop encoder inference. We implemented the same precompute-and-lookup design with an Eq.-8-style fusion projection in SMORE. The projection alone adds <2.2%<2.2\% step time; end-to-end overhead is dominated by semantic-row gathering and wider fused features.

FB15k-237/BetaE TPut (q/s) Mem (GB) MRR (%)
SMORE, structure-only 1,633 1.14 19.67
SMORE + cached Qwen3 fusion 1,080 2.10 -
NGDB-Zoo, structure-only 4,750 9.81 21.11
NGDB-Zoo + cached Qwen3 fusion 1,581 9.95 26.03

Both cached-semantic variants use the same frozen Qwen3 table, feature dimension, fusion architecture, query stream, and optimizer-step budget. Under the like-for-like cached comparison, NGDB-Zoo achieves 1,581 versus 1,080 q/s (1.46×), while semantic augmentation improves MRR for both systems. Table 13 reports the corresponding BGE result (24.81 MRR, 1,503 q/s, and 10.01 GB for NGDB-Zoo).

(2) Numerical correction. The discrepancy is a caption error. Per-cell speedups are 4.0×–9.7× for Qwen3 (average-throughput ratio 5.7×) and 4.2×–9.4× for BGE (5.4×); we will unify the caption and text.

(3) Million-entity semantic evaluation.

On ATLAS-4M/BetaE using 8×A6000, Qwen3 augmentation improves filtered MRR from 9.01% to 11.32%, while aggregate throughput decreases from 17.89K to 6.50K q/s and peak memory increases from 15.0 to 15.4 GB/GPU.

(4) Unseen-entity-involving query diagnostic. Inspired by Galkin et al. [1], we randomly hold out 10% of FB15k entities, remove all of their incident training triples, and evaluate test queries whose instantiated query–answer subgraphs involve at least one held-out entity. Held-out structural embeddings are randomly initialized and frozen, while semantic embeddings are computed from descriptions using frozen BGE. This differs from Galkin et al.'s expanded-inference-graph protocol and is therefore presented as a scoped diagnostic rather than a general inductive CQA benchmark.

FB15k/GQE + BGE, unseen-entity-involving diagnostic MRR (%)
Structure-only 3.8
Semantic-augmented 18.9

[1] Inductive Logical Query Answering in Knowledge Graphs. NeurIPS 2022.

(5) Regression. GQE/FB15k changes from 30.39 to 30.17 (−0.22-0.22), below this cell's run-to-run standard deviation of 0.64. Eight of nine BGE configurations improve, with an average gain of 3.18 percentage points.

Q4: Numbers behind Fig. 7 and the multi-GPU claim.

A4: Following SMORE, all measurements use a fixed per-GPU batch of 512 queries; the effective global batch therefore grows from 512 to 4,096 across 1–8 GPUs. Throughput is aggregated across GPUs, and efficiency is EN=TN/(NT1)E_N=T_N/(NT_1).

Dataset / Model 1 GPU 2 GPUs 4 GPUs 8 GPUs Efficiency at 2/4/8 GPUs
wikikg2 / GQE 5.05K 7.64K 12.19K 23.92K 76% / 60% / 59%
wikikg2 / Q2B 3.42K 6.25K 11.05K 20.75K 91% / 81% / 76%
wikikg2 / BetaE 3.09K 5.73K 10.50K 19.65K 93% / 85% / 79%
ATLAS-4M / GQE 4.60K 6.95K 11.44K 22.00K 76% / 62% / 60%
ATLAS-4M / Q2B 3.04K 5.82K 10.05K 18.47K 96% / 83% / 76%
ATLAS-4M / BetaE 2.77K 5.22K 9.57K 17.89K 94% / 86% / 81%

From 2 to 8 GPUs, aggregate throughput increases by 3.13×–3.43× for a 4× resource increase, corresponding to 78%–86% incremental efficiency. We will replace “almost linearly” with these measured, model-dependent results. The remaining sub-linearity likely reflects gradient-collective communication, shared CPU-memory contention, and embedding-staging overhead. These measurements characterize parallel throughput scaling under a fixed per-worker workload, not fixed-global-batch strong scaling.

W1: Headline claims, mechanism attribution, and memory usage.

A5: The ablations are controlled diagnostics rather than an additive decomposition. Operator-level batching provides 1.16×–2.19× speedup in the five-template setting; Max-Fillness adds 3.1%–7.7% over Random; and operator pooling reduces kernel launches by 32.5% and step time by 2.08×. The full end-to-end gain results from their combination with vectorization and asynchronous pipelining, and we will avoid attributing it to any single mechanism.

We will also retract “modest” and explicitly report the memory-for-throughput trade-off. Across shared small-scale settings, NGDB-Zoo averages 5,086 versus 2,802 q/s (1.8×) but uses 8.12 versus 1.08 GB/GPU. SMORE therefore provides approximately 4× higher throughput per GB, whereas NGDB-Zoo prioritizes absolute throughput. The headline will use 1.8× average throughput over SMORE, with 6.8× over KGReasoning identified only as the upper endpoint of the baseline-dependent range.

Originality: ATOM/GNN-QE, SMORE, reference counting, and scheduling theory.

A6: ATOM addresses stateless serving, whereas training additionally requires autograd-safe reclamation, online query/negative generation, and cross-query loss alignment. GNN-QE supports operator execution but incurs full-graph message-passing memory that we project at approximately 343 GB on wikikg2. We acknowledge that SMORE introduced asynchronous sampling/pipelining and that reference counting is standard; our contribution is integrating these mechanisms with dynamic operator-level training while preserving autograd semantics. Max-Fillness is an empirically validated heuristic, not an optimality result.

Clarity: Fig. 4, Sec. 3.1, Fig. 5, relation counts, and checklist text.

A7: We apologize for these oversights. We will enlarge Fig. 4; correct the garbled Sec. 3.1 sentence; change Fig. 5's VecExec reference from Eq. 9 to Eq. 6; clarify that Appendix J's 474/400 counts include inverse relations, whereas Table 6 reports the original 237/200; and remove the residual checklist instructions.

We hope these results and clarifications address the reviewer's concerns.

Authors · CommentOpenReview ↗

Dear Reviewer U9Us,

Your detailed feedback has been extremely valuable in helping us identify important gaps and substantially strengthen the paper. We have made every effort to address each of your concerns, including conducting additional controlled experiments and providing further clarifications on training fairness, large-scale comparisons, semantic baselines, multi-GPU scaling, memory trade-offs, and originality.

As the discussion period is nearing its end, we would greatly appreciate it if you could take a moment to review our rebuttal and let us know whether it has adequately addressed your questions and concerns. If any concerns remain or if you have any additional comments, please feel free to let us know. We would be more than happy to provide further clarification and address any outstanding issues promptly.

Thank you very much for your time and consideration. We would be more than happy to address any additional concerns.

Best regards, Authors

From OpenReview, CC BY 4.0. Authors as signed there; shown unedited.

Missing a submission?

Loading the discussion…