Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update multi-task evaluation logic to avoid information leakage issue in lp and nfeat reconstruct task evaluation. #871

Merged
merged 7 commits into from
Jun 13, 2024

Conversation

classicsong
Copy link
Contributor

Issue #, if available:
#789

Description of changes:
Previously, in the eval() function of GSgnnMultiTaskLearningTrainer, both link prediction and node feature reconstruction tasks use the node embeddings computed with the entire graph. This will cause test edge leakage for link prediction tasks and target node node feature leakage for node feature reconstruction tasks. This PR fixes this issue.

By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

Xiang Song added 2 commits June 10, 2024 23:17
… in lp and nfeat reconstruct task evaluation.

Previously, in the eval() function of GSgnnMultiTaskLearningTrainer, both link prediction and
node feature reconstruction tasks use the node embeddings computed with the entire graph.
This will cause test edge leakage for link prediction tasks and target node node feature leakage
for node feature reconstruction tasks. This PR fixes this issue.
@classicsong classicsong added 0.3 ready able to trigger the CI labels Jun 11, 2024
python/graphstorm/model/multitask_gnn.py Outdated Show resolved Hide resolved
python/graphstorm/run/gsgnn_mt/gsgnn_mt.py Show resolved Hide resolved
python/graphstorm/trainer/mt_trainer.py Outdated Show resolved Hide resolved
python/graphstorm/trainer/mt_trainer.py Outdated Show resolved Hide resolved
python/graphstorm/trainer/mt_trainer.py Outdated Show resolved Hide resolved
tests/unit-tests/test_trainer.py Outdated Show resolved Hide resolved
tests/unit-tests/test_trainer.py Outdated Show resolved Hide resolved
tests/unit-tests/test_trainer.py Outdated Show resolved Hide resolved
tests/unit-tests/test_trainer.py Outdated Show resolved Hide resolved
tests/unit-tests/test_trainer.py Outdated Show resolved Hide resolved
@classicsong classicsong requested a review from zhjwy9343 June 13, 2024 15:49
Copy link
Contributor

@zhjwy9343 zhjwy9343 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@classicsong classicsong merged commit 0af2213 into awslabs:main Jun 13, 2024
6 checks passed
@classicsong classicsong deleted the fix-multi-task-eval branch June 13, 2024 23:59
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
0.3 ready able to trigger the CI
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants