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

[CHEETAH] Optimize the MulAA communication. #850

Merged
merged 1 commit into from
Sep 18, 2024

Conversation

fionser
Copy link
Contributor

@fionser fionser commented Sep 11, 2024

Previous impl realizes the MulAA via two OLEs for computing two terms x0y1 and x1y0. This will introduce a larger communication overhead.

We switch to another strategy by computing the sum x0y1+x1y0 homomorphically. To further utilize the CPU resources, we split a long vector into two subtasks and to let Rank0 and Rank1 to handle each half.

Pull Request

What problem does this PR solve?

Issue Number: Fixed #

Possible side effects?

  • Performance:

  • Backward compatibility:

Previous impl realizes the MulAA via two OLEs for computing two terms x0*y1 and x1*y0.
This will introduce a larger communication overhead.

We switch to another strategy by computing the sum x0*y1+x1*y0 homomorphically.
To further utilize the CPU resources, we split a long vector into two
subtasks and to let Rank0 and Rank1 to handle each half.
@anakinxc anakinxc merged commit c7a5ba5 into secretflow:main Sep 18, 2024
10 of 13 checks passed
@github-actions github-actions bot locked and limited conversation to collaborators Sep 18, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants