✨ Add opt-in GNN features to the RL predictor - #800
Draft
flowerthrower wants to merge 5 commits into
Draft
flowerthrower wants to merge 5 commits into
flowerthrower wants to merge 5 commits into
Conversation
flowerthrower
force-pushed
the
v3/670-intermediate-rewards
branch
from
August 27, 2026 14:46
720a29b to
a25d10f
Compare
flowerthrower
force-pushed
the
v3/669-gnn-rl
branch
2 times, most recently
from
August 27, 2026 15:02
913bc47 to
c0a77ad
Compare
flowerthrower
force-pushed
the
v3/670-intermediate-rewards
branch
from
August 27, 2026 15:02
a25d10f to
21e573a
Compare
flowerthrower
force-pushed
the
v3/669-gnn-rl
branch
from
August 27, 2026 15:07
c0a77ad to
fe6c743
Compare
Codecov Report❌ Patch coverage is
📢 Thoughts on this report? Let us know! |
12 tasks
flowerthrower
force-pushed
the
v3/670-intermediate-rewards
branch
from
August 28, 2026 07:33
1fbe20f to
3905e40
Compare
flowerthrower
force-pushed
the
v3/669-gnn-rl
branch
from
August 28, 2026 07:33
fe6c743 to
0ab2a8f
Compare
flowerthrower
force-pushed
the
v3/670-intermediate-rewards
branch
from
August 28, 2026 07:52
3905e40 to
462ea5c
Compare
flowerthrower
force-pushed
the
v3/669-gnn-rl
branch
2 times, most recently
from
August 28, 2026 08:13
5fc94fd to
bf56ee3
Compare
flowerthrower
force-pushed
the
v3/670-intermediate-rewards
branch
2 times, most recently
from
August 28, 2026 08:30
894d842 to
04224ef
Compare
flowerthrower
force-pushed
the
v3/669-gnn-rl
branch
from
August 28, 2026 08:30
bf56ee3 to
00d854f
Compare
flowerthrower
force-pushed
the
v3/670-intermediate-rewards
branch
from
August 28, 2026 09:57
04224ef to
071e46c
Compare
flowerthrower
force-pushed
the
v3/669-gnn-rl
branch
2 times, most recently
from
August 28, 2026 10:05
317553b to
c8fc8df
Compare
flowerthrower
force-pushed
the
v3/670-intermediate-rewards
branch
2 times, most recently
from
August 28, 2026 10:18
27372b1 to
8c2a30f
Compare
flowerthrower
force-pushed
the
v3/669-gnn-rl
branch
from
August 28, 2026 10:18
c8fc8df to
8957a4a
Compare
Co-authored-by: Antonio Tudisco <anto.tu98@hotmail.it> Signed-off-by: flowerthrower <flowerthrower@users.noreply.github.com> Assisted-by: GPT 5.6 via Codex
Signed-off-by: flowerthrower <flowerthrower@users.noreply.github.com> Assisted-by: GPT 5.6 via Codex
Signed-off-by: flowerthrower <flowerthrower@users.noreply.github.com> Assisted-by: GPT 5.6 via Codex
Signed-off-by: flowerthrower <flowerthrower@users.noreply.github.com> Assisted-by: GPT 5.6 via Codex
flowerthrower
force-pushed
the
v3/669-gnn-rl
branch
from
August 28, 2026 10:33
8957a4a to
b068428
Compare
flowerthrower
force-pushed
the
v3/670-intermediate-rewards
branch
from
August 28, 2026 10:33
8c2a30f to
623b4ab
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.
🤖 AI text below 🤖
Description
Adds opt-in GNN circuit embeddings to the RL predictor while leaving
PredictorEnvand the default flatMaskablePPOpath unchanged.The implementation preserves the prototype's ordered 52-dimensional node features, ordered 36-dimensional global features, GraphSAGE/attention/shared-trunk topology, separate encoder and policy learning rates, and tuned paper configuration. Seeding follows #797's opt-in contract instead of injecting an implicit seed.
Exact variable-sized PyG graph sidecars pass through a focused rollout buffer and narrow
collect_rolloutsspecialization. Masking, callbacks, numeric rollout state, GAE, PPO training, logging, and.zipserialization remain in SB3; graphs are not padded or truncated.Torch Geometric remains optional through
mqt.predictor[gnn], requiringtorch-geometric>=2.7.0on Python below 3.14 andtorch-geometric>=2.8.0on Python 3.14 or newer. This PR also raises the minimumsb3_contribversion from 2.0.0 to 2.3.0. The prototype checkpoint is not migrated because its action-output schema differs from this stack.This is position 9 and the top of the stack. It depends on #799. No GNN-specific automated tests are included; external documentation and a dedicated test suite are deferred as requested.
Fixes #669
Checklist
If PR contains AI-assisted content:
🤖 *AI text below* 🤖(titles are exempt).