-
Notifications
You must be signed in to change notification settings - Fork 221
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
Edge MPC #154
Comments
We’ve also been thinking along these lines, thanks for the post. Rather than plan on running MPC, we were wondering if we could address some of these questions by having the entire code that’s run inside worklets be moved to run in a trusted server instead? This has the potential to improve user experience. One way of looking at this is that this could be a basic version of a SPARROW server. The example that we’re thinking of here is executing JS functions that have no side effects, which is the case for the proposed FLEDGE bidding functions. A simple way to do this is for the browser to send the function and arguments to the trusted server for evaluation. Taking generate_bid as an example, the browser would send a request to the trusted server with the interest_group, auction_signals, per_buyer_signals, trusted_bidding_signals, and browser_signals. Sending one request per interest_group per bidder would be prohibitive, and we already trust the server to handle multiple interest groups for a single user, so instead the client could send a single request for many interest groups. There are necessarily going to be tradeoffs in resources here. A trusted server would introduce additional overhead in:
These are balanced against the amount of browser resources required to run worklet functions and therefore the user experience effects. We’re exploring this tradeoff now. We’re in the process of exploring what it means for a server to be trusted, how that trust could be ensured, and how side-effect free functions can be run securely in a series of posts here. For reference, this is the issue about resource limits: #132 Thanks, |
On a couple occasions there was a discussion about the need to optimize on-device resource usage, and the possibility of offloading computations to a server.
One idea we discussed internally at RTB House is the approach of "Edge MPC" servers. As the name suggests, these servers could perform computations that are feasible in an MPC setting.
For example,
generate_bid
could ask the browser to perform matrix multiplication:Prior to that call, the
generate_bid
's owner would have to have a way to register the'matrix_xyz_14889'
on the MPC servers.Some thoughts:
navigator.edge_mpc.*
(from all bidding_fns) could be batched in a single roundtrip to the Edge MPC server.navigator.edge_mpc.*
may be optional, and it'd be ongenerate_bid
to decide what to do if it's not available. In that sense, it'd be a best-effort optimization.Just a high level idea, surely requires further work, but maybe it's worth giving it a thought.
Best regards,
Jonasz
The text was updated successfully, but these errors were encountered: