Skip to content

Exponential implementation in SMPC #2537

@LaRiffle

Description

@LaRiffle

Suggestion to implement exp in SMPC

The interest of this is to allow computation of functions which derive of exponentials like sigmoid.

Let's say you share the tensor x in x0 and x1. You want to compute exp(x).
But exp(x) = exp(x0 + x1) = exp(x0) * exp(x1).
So you can compute locally exp(x0) and exp(x1), and additively share these values, perform an encrypted mul and then you obtain shares of exp(x0) * exp(x1) = exp(x).

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type: New Feature ➕Introduction of a completely new addition to the codebase

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions