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

SpOT-low unbalanced discussion #6

Open
Sprate opened this issue Sep 14, 2021 · 0 comments
Open

SpOT-low unbalanced discussion #6

Sprate opened this issue Sep 14, 2021 · 0 comments

Comments

@Sprate
Copy link

Sprate commented Sep 14, 2021

Hi, Ni Trieu! I found mistake in your unbalanced setting and the simple ideas might be useful!

In unbalanced setting test, assume sender vs receiver : 2^16 vs 5000. expectedIntersection=300
I change your code above , so the intersection not in sender's first 5000.

image
image

The result seems wrong.

  • Idea 1:

I set the sender degree = mMyInputSize - 1, so the sender build sub product tree and evaluate according to sender's all inputs .And the poly he received from receiver don't change(degree = receiver_size -1). It looks like use a low degree poly to modulus the high-degree sub product tree, and the reminder poly in leaf node is the final result.
Finally, I get the right result, but the cost seems expensive.
image
image
image

  • Idea 2:
    Splite the sender set in multple batch ,each batch match with the size of the receiver.

Maybe I was wrong about that.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant