Add typed-channel PPR sampler#709
Open
mkolodner-sc wants to merge 1 commit into
Open
Conversation
mkolodner-sc
requested review from
kmontemayor2-sc,
nshah-sc,
svij-sc,
xgao4-sc,
yliu2-sc and
zfan3-sc
as code owners
July 15, 2026 18:55
mkolodner-sc
force-pushed
the
mkolodner-sc/typed-channel-ppr-sampler
branch
from
July 15, 2026 20:02
9724f59 to
81812c7
Compare
mkolodner-sc
force-pushed
the
mkolodner-sc/pr701-ppr-event-loop
branch
from
July 15, 2026 20:02
fc410ab to
2b85456
Compare
mkolodner-sc
force-pushed
the
mkolodner-sc/typed-channel-ppr-sampler
branch
from
July 15, 2026 21:24
81812c7 to
41a65fd
Compare
mkolodner-sc
force-pushed
the
mkolodner-sc/pr701-ppr-event-loop
branch
from
July 15, 2026 21:24
2b85456 to
ecb394c
Compare
mkolodner-sc
force-pushed
the
mkolodner-sc/typed-channel-ppr-sampler
branch
from
July 15, 2026 21:40
41a65fd to
b826832
Compare
mkolodner-sc
force-pushed
the
mkolodner-sc/pr701-ppr-event-loop
branch
2 times, most recently
from
July 15, 2026 22:49
0047b2f to
016517b
Compare
mkolodner-sc
force-pushed
the
mkolodner-sc/typed-channel-ppr-sampler
branch
2 times, most recently
from
July 15, 2026 23:01
f6fc7a8 to
65d131c
Compare
mkolodner-sc
force-pushed
the
mkolodner-sc/pr701-ppr-event-loop
branch
from
July 15, 2026 23:01
016517b to
60a0cea
Compare
mkolodner-sc
force-pushed
the
mkolodner-sc/typed-channel-ppr-sampler
branch
from
July 15, 2026 23:04
65d131c to
44307b8
Compare
mkolodner-sc
force-pushed
the
mkolodner-sc/pr701-ppr-event-loop
branch
2 times, most recently
from
July 16, 2026 18:46
ff2d3ea to
d0f9cea
Compare
mkolodner-sc
force-pushed
the
mkolodner-sc/typed-channel-ppr-sampler
branch
2 times, most recently
from
July 16, 2026 19:15
4d70c04 to
a3751bd
Compare
mkolodner-sc
force-pushed
the
mkolodner-sc/pr701-ppr-event-loop
branch
2 times, most recently
from
July 16, 2026 19:21
33c8dde to
1b0ea2a
Compare
mkolodner-sc
force-pushed
the
mkolodner-sc/typed-channel-ppr-sampler
branch
from
July 16, 2026 19:21
a3751bd to
6fbb8c9
Compare
mkolodner-sc
force-pushed
the
mkolodner-sc/typed-channel-ppr-sampler
branch
from
July 16, 2026 20:01
6fbb8c9 to
ce171bb
Compare
mkolodner-sc
force-pushed
the
mkolodner-sc/pr701-ppr-event-loop
branch
from
July 16, 2026 20:01
1b0ea2a to
ed7387c
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.
This is the typed-PPR enablement PR in the split stack. It builds on the cleanup and event-loop/GIL changes from #707 and #708, then adds the typed-channel-specific configuration, execution, C++ merge/extraction path, and tests.
Motivation
For heterogeneous graphs, edge types often carry meaningful relation information. A single collapsed PPR traversal can tell us that a neighbor is relevant, but it loses which typed relation paths contributed to that relevance.
Typed-channel PPR preserves that structure by running PPR over configured edge-type traversal channels and emitting channel-aware edge attributes. Downstream models can then consume:
What Changed
Adds
typed_channel_quotastoPPRSamplerOptions.("user", "views", "item").Adds typed-channel validation and traversal-map construction.
max_ppr_nodesso sparse channels can still help fill the final sequence.Adds per-channel PPR execution.
PPRForwardPushstate per typed channel.Adds typed PPR C++ extraction.
[best_score, channel_scores..., channel_presence_bits...].Wires
typed_channel_quotasthrough sampler construction.Tests
Added focused coverage for: