samuelgong / flashe Goto Github PK
View Code? Open in Web Editor NEW[arXiv'21] Additively Symmetric Homomorphic Encryption for Cross-Silo Federated Learning
License: Apache License 2.0
[arXiv'21] Additively Symmetric Homomorphic Encryption for Cross-Silo Federated Learning
License: Apache License 2.0
您好,作者!
请问下面这个function的目的是什么?
在下面这个文件中的line 24-26,meaning of the variables
请问如果要将您的这个方案应用至deep Learning中,在每个epoch完成后,需要重新设置这两个吗?
flashe.set_iter_index(epoch)
flashe.idx = 0
劳烦,作者回答上述的3个issue。
如果我有表达不清楚的地方,请您指出,谢谢您!
您好,作者!
很抱歉又一次打扰到您.
在您的代码中:https://github.com/SamuelGong/FLASHE/blob/master/encrypt_test/final_big_table.ipynb 请问element_bits,int_bits,additional_bits分别代表什么? 对这些位数的设置有要求吗?
以及在https://github.com/SamuelGong/FLASHE/blob/master/federatedml/secureprotol/jzf_quantize.py 中 关于 batch_size = int_bits // element_bits 这个又是怎么去理解呢?
期待您的回复!
您好,由于FATE太过庞大,我想在单台计算机上复现您的论文的隐私保护方案。但是在您的final_big_table.ipynb给出的示例代码中的“Addition”步骤计算的是ciphertext_list = [ciphertext] * num_clients,即num_client个ciphertext求和,这里的ciphertext是相同的,而没有给出不同的ciphertext进行求和的接口。请问能否给出不同的明文在同态加密后计算的接口呢,即一个像ckks.sum()那样通用的接口。
如果可能的话麻烦添加以下内容的演示:
存在两个等长的不同向量A,B,A, B中的元素为[-1, 1]之间的小数
您好,关于https://github.com/SamuelGong/FLASHE/blob/master/encrypt_test/final_big_table.ipynb 中的代码有一些问题请教。
对梯度quantize时会返回一个值"
a_q, alphas = quantize([[a]], element_bits)
求和之后unquantize时还需要把alphas作为参数传入,
a_u = unquantize(a_d, alphas, element_bits, num_clients)
这个alphas的作用是什么?
打扰到您了,请问加密算法是否采用的是AES算法呢?如果是用的AES,可是AES算法应该不是同态的吧。
不好意思,打扰到您了,请问本地怎么运行demo?
我看了readme,在simulation中,什么也没有,是没有上传文件吗
作者,您好!
在https://github.com/SamuelGong/FLASHE/blob/master/encrypt_test/final_big_table.ipynb中出现了
NameError: name 'pickle' is not defined
我翻阅您的文件,并没有定义这个对象,请问这个变量是什么?
期待您的回复!
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.