Add typed channel quotas to distributed PPR sampler#701
Closed
mkolodner-sc wants to merge 14 commits into
Closed
Conversation
mkolodner-sc
requested review from
kmontemayor2-sc,
nshah-sc,
svij-sc,
xgao4-sc,
yliu2-sc and
zfan3-sc
as code owners
July 10, 2026 19:54
mkolodner-sc
marked this pull request as draft
July 10, 2026 19:56
mkolodner-sc
force-pushed
the
mkolodner/typed-channel-ppr-sampler
branch
4 times, most recently
from
July 13, 2026 18:21
997f5ac to
d29e983
Compare
mkolodner-sc
force-pushed
the
mkolodner/ppr-residual-topup
branch
from
July 13, 2026 18:35
98d95fa to
a33f080
Compare
mkolodner-sc
force-pushed
the
mkolodner/typed-channel-ppr-sampler
branch
4 times, most recently
from
July 13, 2026 19:55
c5b84b4 to
f880381
Compare
Collaborator
Author
|
/unit_test |
Contributor
GiGL Automation@ 19:58:07UTC : 🔄 @ 20:00:03UTC : ✅ Workflow completed successfully. |
Contributor
GiGL Automation@ 19:58:07UTC : 🔄 @ 20:02:41UTC : ❌ Workflow failed. |
Contributor
GiGL Automation@ 19:58:09UTC : 🔄 @ 20:06:48UTC : ✅ Workflow completed successfully. |
mkolodner-sc
force-pushed
the
mkolodner/typed-channel-ppr-sampler
branch
3 times, most recently
from
July 14, 2026 22:20
bd2880f to
d3ef1af
Compare
mkolodner-sc
force-pushed
the
mkolodner/typed-channel-ppr-sampler
branch
from
July 14, 2026 23:16
b8cebc3 to
ef2bcf6
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Adds typed-channel support to the distributed PPR sampler.
Previously, our PPR-based graph construction effectively collapsed heterogeneous graphs into a homogeneous-style PPR view. That gave us useful seed-to-neighbor relevance scores, but it also lost important information about how a node was reached: which edge types contributed to the PPR signal, and whether different relation paths should be treated differently.
This change keeps the benefits of PPR sampling while preserving edge-type structure through configurable traversal channels.
Motivation
For heterogeneous graphs, edge types often carry important semantic meaning. Collapsing all relations into one PPR traversal can blur together very different paths, even when those paths should provide distinct modeling signals.
Typed-channel PPR lets us preserve that information by running PPR over configured edge-type channels and emitting channel-aware edge attributes. This gives downstream models access to both:
So instead of only knowing “this neighbor is relevant,” the model can also learn which typed relation channels made it relevant.
What Changed
Added
typed_channel_quotastoPPRSamplerOptions.("user", "to", "item").Added typed-channel validation and normalization in
DistPPRNeighborSampler.Added per-channel PPR execution.
PPRForwardPushstate per typed channel.Added typed PPR merge logic.
[best_score, channel_scores..., channel_presence_bits...].Wired
typed_channel_quotasthrough sampler construction.Tests
Added unit coverage for: