I’ve been working on L-Wave, a neural decompilation research project at Unclouded Labs. The aim is to recover executable computation from trained neural networks and work out how much of the learned structure we can explain.
I’ve just published the first model bundles: a recovered implementation of OpenAI’s CLIP ViT-B/32 and a trained heat model, with source, benchmarks and the unresolved parts written up. Quite pleased to have something other people can actually download and inspect.
The CLIP application covers both encoders, image preprocessing, tokenization and image–text scoring. It runs without PyTorch at inference, using recovered code with oneMKL on CPU and native kernels plus cuBLAS on CUDA.
On a Ryzen 9 5900X and RTX 3080, the recorded warm medians were:
| Images × texts | PyTorch CPU | L-Wave CPU | PyTorch CUDA | L-Wave CUDA |
|---|
| 1 × 2 | 89.81 ms | 51.20 ms | 8.16 ms | 4.34 ms |
| 2 × 1 | 94.93 ms | 73.04 ms | 9.17 ms | 5.81 ms |
| 3 × 4 | 159.40 ms | 102.27 ms | 11.68 ms | 7.95 ms |
That’s 1.30–1.75× faster on CPU and 1.47–1.88× on CUDA for this panel. These are eight warm rounds per shape, using synthetic inputs and FP32 with TF32 disabled. Images were already decoded; preprocessing, transfers, computation and synchronization are included. The full benchmark record has the numerical limits, startup measurements and raw results.
There is still a fairly substantial pile of coefficients involved. The benchmarked runtime retains all 151,277,313 learned positions in a roughly 605 MB operand image. We have already recovered some mathematical operators in the wider research. Those findings haven’t yet been folded into the released builds as verified replacements for the corresponding learned computation, so the broader mathematical decompilation is still unfinished.
The heat work recovered a trained program from a stripped x86-64 executable using a frozen decoder. The public download is a portable adaptation using system tanh, with its own replay results kept separate from the original exact-lift experiment. The repo also covers the other model investigations, including failed replacements and remaining runtime dependencies.
Source, research status and evidence
Model downloads on Hugging Face
I’d be interested in technical criticism, particularly around the recovery claims and numerical contracts.
It’s been an intense couple of days, so I’m taking a short breather. More to come.