Skip to content

In development. Expect rough edges and changes. The source code is not public yet.

Jane Street Tech Blog 12 min read Article hardMaster

Can you reverse engineer our neural network?

A Jane Street ML puzzle shipped a fully specified, hand-built PyTorch network with integer weights that outputs 0 for almost every input, and the writeup follows one solver's path to cracking it. The last two layers implement a 16-byte equality check using ReLU(v-x-1) - 2ReLU(v-x) + ReLU(v-x+1). The thousands of layers before them turned out to compute MD5, spotted from 32 repeating blocks of 48 layers. Along the way the solver tried integer linear programming, graph reductions that shrank 2M nodes to 75K, bound propagation and a SAT solver, all defeated by the hash's irreversibility. He also found an unintended length-encoding bug for inputs over 32 characters, but the actual answer came from brute-forcing the target hash with a large English word list once the function was identified.

Assumes: neural network layers and ReLUPyTorch basicshash functionsSAT/ILP solvers

Related posts

  • NPHardEval Leaderboard: Unveiling the Reasoning Abilities of Large Language Models through Complexity Classes and Dynamic Updates

    Hugging Face mediumAdept

    NPHardEval is a dynamic LLM reasoning benchmark of 900 automatically generated algorithmic questions: 9 problems (3 P, 3 NP-complete, 3 NP-hard), each at 10 difficulty levels. Its questions are refreshed monthly to prevent overfitting and avoid numerical computation so that logical reasoning is measured on its own. Models are scored by Weighted Accuracy, which weights higher difficulty levels linearly more, and by Failure Rate, the share of responses that cannot be parsed. Closed models led, with GPT-4 Turbo best overall. Claude 2 did best on NP-complete questions, and open models such as Yi-34b, Qwen-14b, Phi-2 and Mistral-7b beat closed ones on some tasks. Instructions for reproducing the zero-shot and few-shot runs are included.

  • The Open Evaluation Standard: Benchmarking NVIDIA Nemotron 3 Nano with NeMo Evaluator

    Hugging Face mediumAdept

    NVIDIA published the complete NeMo Evaluator recipe behind the Nemotron 3 Nano 30B A3B model card, covering YAML configs, prompts, runtime settings and structured logs, so anyone can rerun and audit the reported benchmark scores. NeMo Evaluator is an orchestration layer over existing harnesses such as NeMo Skills and LM Evaluation Harness, and it decouples evaluation from the inference backend. The walkthrough installs the launcher, points it at the build.nvidia.com endpoint or a local server, and runs the full suite or individual tasks (MMLU-Pro 78.3, AIME 2025 89.1, GPQA 73.0, and others) with a single CLI command. Small run-to-run score variance is expected, and the goal is methodological consistency rather than identical outputs.

  • Results from the ASIC puzzle

    Jane Street Tech Blog hardMaster

    Jane Street's puzzle chip, shipped as a bare GDS layout, turns out to be a hardware checker for an 11x11 Star Battle ("Two Not Touch") puzzle. It uses per-row, per-column and per-region 2-bit counters, a region ROM, a delay line for adjacency, and an LFSR-obfuscated output ROM, all built on SKY130 with LibreLane. Solvers extracted netlists with LVS in KLayout or Magic, or with custom tools, then simulated, traced logic back from the success signal, probed with impulse inputs, or used SAT solvers. One lesson stands out: a model that reproduces a sample waveform can still be wrong, so cross-checking independent implementations and building inputs that should fail is what catches the bugs.

  • Simple considerations for simple people building fancy neural networks

    Hugging Face mediumAdept

    Building and debugging neural networks goes best with a disciplined workflow: inspect the data before modeling, establish simple baselines such as logistic regression on word2vec or fastText embeddings, and verify the implementation by overfitting a small batch (e.g. 16 examples) to near-zero loss with regularization off. Common silent bugs include wrong tensor indexing, forgetting model.eval() or zero_grad(), passing probabilities instead of logits to the loss, symmetric initialization, unused parameters, and bad tokenization. Plotting losses, parameters and gradients and printing model outputs during training helps catch problems. For hyperparameters, a random search over a manually defined grid is a strong baseline, and understanding each component beats blind tuning.

  • GPT-5.5-Cyber built a zlib fuzzing lab in a day

    Trail of Bits mediumAdept

    GPT-5.5-Cyber, driven through Codex's /goal command, independently chose dynamic testing over static review of heavily audited zlib and built a full fuzzing campaign in a day. It produced ASan/UBSan builds, seed corpora derived from existing edge-case tests, C/C++ harnesses across a dozen entrypoints (inflate, inflateBack, gzFile, MiniZip, puff, blast and more) and compile-time variant builds such as INFLATE_STRICT and BUILDFIXED. Its most productive harness reached valid gz* states that only arise under OS backpressure, and it yielded several findings now in coordinated disclosure. Strict validity rules for what counts as a reportable finding were key: the model logged an unreachable inflateBack null-callback crash and moved on. The recommendation is for defenders to run bespoke fuzzing first, because the expertise barrier to doing it has largely disappeared.

The quest for software engineering knowledge.

Look:
Layout: