Git Product home page Git Product logo

Comments (4)

sharkovsky avatar sharkovsky commented on September 26, 2024

Issue with SecAgg: it fails at the validation of the encryption factors. It seems that the validation list should be length 1, but it is length 3 :(

from fedbiomed.

srcansiz avatar srcansiz commented on September 26, 2024

Hi @sharkovsky,
Is it working while running normal training without analytics? Maybe it is broken with some changes that have been added recently?

Anyway, validation part should be removed because of security concerns. We couldn't find time work on that but we can have a look at it together, either fix the issue or remove it while we can :)

from fedbiomed.

sharkovsky avatar sharkovsky commented on September 26, 2024

The issue with SecAgg is finally solved!
Here is a list of things that went wrong:

  1. clipping_range and target_range values needed to be set properly. In particular, clipping_range needs to be as high as the largest number to be encrypted, and target_range needs to be in the order of 10^3 times clipping_range in order to obtain an acceptable resolution.
  2. The SecAgg contexts for node and researcher were somehow in an invalid state for me. This led to researcher and nodes silently using a different biprime value. The solution was to do a thorough fedbiomed_environment clean and reconfigure everything
  3. Finally, a value of round=0 is not valid for the encryption and aggregation functions. It appears that it needs to be at least 1.

from fedbiomed.

sharkovsky avatar sharkovsky commented on September 26, 2024

Following sprint review discussion:

  • rearranged a bit the tasks in this issue to try to loosely reflect order of implementation/priority
  • introduced refactor of experiment and training plan
  • removed experiment breakpoint because no longer relevant

from fedbiomed.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.