Work

Levi Neuwirth

I work on technical AI assurance: establishing verifiable claims about what a model actually did, when the operator, the evaluator, or the model itself may not be trusted. That question spans cryptography, systems, evaluations, and mathematics, which is roughly the shape of my background.

I am a MARS V fellow with the Cambridge AI Safety Hub, mentored by James Petrie (Future of Life Institute). I previously studied computer science and mathematics at Brown.

Open to full-time research and research-engineering positions worldwide.

Selected work

Verifiable LLM inference

MARS V fellowship · Cambridge AI Safety Hub · ongoing

An operator who claims to have run a model may not have, and the logs that would settle it are written by the party under suspicion.

VerInf, a Future of Life Institute project led by James Petrie, proves LLM inference in zero knowledge with no trusted setup by bounding the unexplained information in an output stream rather than re-running the computation. I have contributed the dry-run profiler (manifest contract, cost model, execution DAG, partition scorecard) and an RMSNorm cost-model correction. My current work is on proving multi-GPU, which is the ceiling on model scale, context length, and mixture-of-experts breadth.

Ongoing. The profiler and calibration tooling are merged upstream; the multi-GPU figures are projections from a validated cost model rather than measurements at that scale. Technical write-up expected Q4 2026, for review and publication.

Merged pull requests · Upstream repository · MARS

Proof Broker

Independent · OCaml, Lean 4, Rocq · ongoing

Proof Broker separates proof search from trust. Lean and Rocq can dispatch goals through a shared intermediate representation to external SMT solvers, saturation provers, and learned search, while returned evidence is graded, checked, and ultimately reconstructed or replayed as a proof term the home kernel verifies. The search machinery itself never enters the logical trusted base.

The R4 downstream demonstration applies the system to a real VerInf Lean development: 19/19 targeted arithmetic obligations close through broker calls, spanning reconstructed Farkas witnesses, cvc5/Alethe trace replay, certificate-gated tactics, and one explicitly reported oracle-tier case. Integrating the unmodified downstream file also exposed three defects that the broker’s own test suite had missed.

The next work pushes the same boundary into richer theories — beginning with finite-field certificates for VerInf’s uniqueness queries — while strengthening certificate reconstruction, bringing the Rocq bridge to parity, and testing the abstraction against additional independent consumers.

Technical write-up · Downstream demo · Repository · Releases

Frontier-model evaluation and red-teaming

Independent research contracts · ongoing

I design evaluation environments and scoring rubrics for frontier language models, execute models against them, debug agent scaffolds when they fail, and analyze the failures that result. I have led environment design and evaluator calibration; most of it is built in Harbor.

Calibration passes often reveal that a rubric is measuring something other than what the task was designed to measure: a task-design failure, not a grading one. I calibrate before a task is scaled, because redesigning a task is cheap and rescoring a finished run is not.

For a similar methodology on public data, see The Specification Dilemma — pre-registered, matched-pairs, with its instrumentation failures reported in full.

Disclosure. Client identities and specific results are confidential. I can discuss the technical categories of work and my own engineering responsibilities.

Code and results

Order-invariant ICD-10-CM embeddings

Research engineering · manuscript under review

Comorbidity indices compress a patient’s diagnosis history into a single weighted score, discarding both order and interaction. This work learns a permutation-invariant representation over ICD-10-CM diagnosis-code sets and predicts 30-day unplanned readmission and 30-day post-discharge mortality, trained on 113M+ adult hospitalizations from the Nationwide Readmissions Database. On the temporal test split it reaches 0.750 AUROC for readmission against 0.655 for the Charlson index. The calculator is deployed.

Status. Under review at JAMIA; results are unrefereed.

Repository · Calculator

The question

Those four are one problem approached from different sides. Cryptography works from below, certifying properties of a computation without trusting the party that ran it. Evaluations work from above, measuring what a model actually does under conditions you control. Formal methods supply the machinery for checking a claim without trusting its author.

The question underneath all of it: how do you establish trustworthy claims about an AI system when the system, the operator, and the evaluator may each be untrusted?

More work

Systems and performance

  • pmacs — Rust-cored, Lua-scripted editor
  • kyber-simd-profilingSIMD post-quantum cryptography across AVX2, ARM NEON-SVE, and RISC-V V, with hardware counters and RAPL energy
  • LeVCS — federated version control with signed authority chains
  • arcana — Magic: The Gathering rules engine, built as a substrate for reinforcement-learning research
  • Weenix — Unix kernel
  • TCP/IP stack — written from scratch in Go

Mathematics

Research engineering

  • NeuroPose — 3D pose estimation and kinematic analysis, built in Liqi Shu’s laboratory at Brown Neurology
  • NeuroAI — ongoing research engineering

Selected essays

On this website

  • Essays — on the above, and on much else
  • Current — what is actually moving this month
  • Vita — the formal record, and résumé