(no title)
37ef_ced3 | 3 years ago
NN-512 generates custom code for all the operations, custom units of work for the threads, custom code around tensor edges, everything is fused and unrolled and customized. If they can deduce the network graph specification from the AVX-512 code, I will be astonished.
If you can do it, show me. But I know you can't.
Anyone who cares about model privacy will use their own variant of a tool like NN-512. It's security through obscurity, but that's the best you can hope for if you are distributing an executable.
j-krieger|3 years ago
batch12|3 years ago
chii|3 years ago
The only problem is when it's the _only_ security for certain types of threat models that require defence in depth - such as credentials in authentication.
unknown|3 years ago
[deleted]
userbinator|3 years ago
I've been out of the cracking scene for over a decade now, but I expect that to be none other than a challenge, having seen how far publicly available decompilers have progressed.
37ef_ced3|3 years ago
https://nn-512.com/browse/DenseNet121
Even if you had the C code available to you, you would have a hard time producing the input graph.
Good luck reverse engineering it after GCC has compiled it!
NN-512 has an incredibly flexible code generator. It can easily be tweaked to produce completely different code for the same convolution, so everyone can apply their own twist to defeat the reverse engineers ("the intellectual property thieves").
fxtentacle|3 years ago
I can just separate your obfuscated AI execution into a DLL. And then I call that DLL with lots of randomly generated input data and estimate the numerical gradients from that. And now I have everything I need to copy things over into a similar NN architecture.
Yes, it might take a few days to evaluate everything, but CPU time is cheap compared to research and employees needed to reverse engineer your implementation.
That said, NN-512 is great because it produces optimized CPU code, thus making deployment cheaper.
smeagull|3 years ago
bertr4nd|3 years ago
37ef_ced3|3 years ago
rootw0rm|3 years ago
c0balt|3 years ago
However you ahould be able be able to compile one for yourself by downloading, from e.g. https://nn-512.com/browse/DenseNet121, one of the generated C files and compiling it with GCC[0]. It shouldn't require any special dependencies beside AVX support on your CPU.
Edit: Regarding general decompilation for neural networks this project might be interesting[1]
[0]: https://gcc.gnu.org/ [1]: https://github.com/monkbai/DNN-decompiler
37ef_ced3|3 years ago
...you were unable to decipher this Hacker News comment thread...
...unable find some C code and build it with GCC and make an executable for yourself...
...but you think you can reverse engineer the executable?