CipherOpBench-Sok

MarkWang1196

A survey, benchmark library and matrix visualizer for running transformer models on encrypted data, showing operator by operator how homomorphic encryption handles each step and what it costs.

JavaScriptCreated

What is MarkWang1196/CipherOpBench-Sok?

This repository accompanies a systematisation of knowledge paper on operator-centric analysis and a unified benchmark of matrix multiplication in homomorphic encryption. Its visualiser shows how a matrix entry moves through a ciphertext, and how much that layout costs on a GPU. The README links a local site where you can replay the THOR method on a 4 by 4 plaintext matrix and a 4 by 2 encrypted matrix, step by step.

The visualiser covers seven methods, which are THOR, MOAI, BLB, Cachemir, Euston, STIP and NEXUS. For each one the trace shows the selected method's layout and an illustrative pipeline, so methods can be compared on the same example. The site is started with a short Python command from the repository root.

It suits cryptography and systems researchers comparing layouts for encrypted matrix operations, and students who want a visual way into homomorphic encryption.