
Senior Software Engineer(Rust) @UNCX_token| Bullish on Privacy Preserving Technologies , TEE | ZK | FHE
Joined March 2011
- Tweets1.4K
- Following2.1K
- Followers241
- Likes7.6K
aaraN retweeted
Hello, new followers! I’m not sure what brought you, but welcome!
I’m Nick. I worked on cryptography for @Apple, I founded @Cloudflare Research, I’m on the IAB.org, I co-chair the CFRG, I run a counter-AI AI startup in stealth, and much more.
AMA if you’re new.
aaraN retweeted
Introducing STITCH++: library fuzzing for the agentic era
Use agents to fuzz any library in any* language.
Write code blocks that describe function input/outputs and fuzzable parameters. The fuzzer explores millions of combinations to cover more code and find new bugs 🧵
Agents can compact their own context dynamically!
Auto-compaction is completely backwards, but letting agents manage their own memory by manipulating strings is not great either.
So I went to work and here's what happened on the first try yesterday: an agent that compacts noisy logs mid-tasks (−37% tokens), discards them before fixing the bug and pulls the compacted logs back for the full report.
I will open source the (experimental) harness soon, and I have a series of 6 accompanying blog posts coming. Hopefully that will inspire some!
aaraN retweeted
I have been working with databases for over a decade now, and I would say 99% of the queries I have seen were repetitive and predictable. Most of my career went into optimising databases around exactly those queries (for some weird reason).
Then AI agents showed up, and almost every assumption I had stopped holding (I even gave a talk on the same). An agent typically can:
- Execute hundreds of queries in a single run.
- Create intermediate state along the way.
- Revisit information from previous runs.
- Operate across systems without a human in the loop.
That is a very different kind of user. Databases were built around storing and retrieving data, and that is now only one part of the problem.
We also have to think about how data and state persist, how they are versioned, how different systems access them, and whether they can be safely reused. I am still working through these questions myself, and they have already changed how I think about database design and schemas.
I was reading a report by @anagh_prasad and @s_v7t recently, and it made me realise how much AI agents are reshaping software architecture and infrastructure. Every new generation of agents will keep adding to this.
I think we should be talking about this more often. Have attached the report in case you want to read it.
Hope this helps.
aaraN retweeted
oMLX 0.8.4 is out!
Inkling 2 Mini got much faster and gets LoopCD decoding, and DeepSeek V4.1 decodes faster with several requests at once.
github.com/jundot/omlx/relea…
Faster @thinkymachines Inkling 2 Mini (oQ4e, Lightning MTP on, M5 Ultra)
- Prefill: 3,668 -> 5,664 tok/s at 16K (+54%), and up to +124% at 128K
- Decode (Greedy): 129.0 -> 208.6 tok/s at 4K (+62%), and 57.4 -> 126.5 tok/s at 128K (+121%)
- Decode (Sampling): 113.1 -> 160.2 tok/s (+42%), and 56.2 -> 112.1 tok/s at 128K (+100%)
- Lightning MTP now runs for concurrent requests too. 8 requests decode 225.3 -> 380.2 tok/s in total (+69%), and 2 requests get +161%.
LoopCD for Inkling 2 Mini
- A new decoding option from "Decoding Looped Transformers Better for (Almost) Free" by @onloglogn and co-authors. It compares the last loop pass with the first one when picking each token, with no training and no extra model.
- ARC-Challenge: 69.62% -> 71.93%, HumanEval: 152 -> 155 of 164
- Turn it on in Model Settings > Experimental Features. It's off by default and costs 9-13% decode speed.
Faster DeepSeek V4.1 (oQ2.5h, Lightning MTP on, M5 Ultra)
- 4 requests decode 113.5 -> 140.3 tok/s in total (+24%), and 2 and 8 requests get +10% and +12%.
- On tensor-parallel clusters, a short request during a 64K prefill gets its first token in 7.4 s instead of 59.3 s.
Also in 0.8.4
- Inkling 2 experts can stay on SSD. On a 24 GB Mac memory goes 17.0 -> 10.2 GB, and a 14.8K prompt that ran out of memory now runs.
- Hy4 Flash decodes 43.5 -> 56.0 tok/s with Lightning MTP on a cached 17K prompt (+29%).
- Splash now serves Inkling 2 Mini, with image input.
70 PRs merged since 0.8.3. Thanks to the 43 contributors in this release, and a warm welcome to the 19 first-time contributors!
I've always said oMLX should let a friend who bought a MacBook only yesterday enjoy local AI today. Watching the open source community's work bring it closer every day makes me really happy!
aaraN retweeted
My median predictions for RSI in 2027 🧵
(Informed by a few simple models and by reading @testingham, @TomDavidsonX, @basil, @ramez, @dwarkesh_sp, @KelseyTuoc, @TheZvi, @peterwildeford, @ChrisTonetti, @deanwball, @tobyordoxford, @tylercowen, @slatestarcodex, and many others)
aaraN retweeted
We just open-sourced a speculative decoder that speeds up sparse models like DeepSeek-V4.1-Flash, GLM-5.3-Flash, and our own Hy4 flash.
At 64K context, DFly2 boosts DeepSeek-V4.1-Flash serving throughput by up to 81%. On Hy4 flash agentic tasks, it runs up to 4.2x faster, beating same-recipe DSpark by ~30% and accepting 10.4% more draft tokens than open-source DSpark.
Under the hood, each draft layer reads directly from the target model's KV cache and top-k token selection, with no prefill required. That adds zero extra KV memory and keeps drafting cost flat at any context length.
Try it on your own sparse models or grab the Hy4 flash weights below 👇
Code: github.com/Tencent/AngelSpec
Weights: huggingface.co/AngelSlim
Paper: arxiv.org/abs/2611.34776
aaraN retweeted
Looped language models can adapt computation for predicting a token by adjusting the number of loops. This property has been used for self-speculative decoding, taking shallow loops as fast drafters and deep loops as verifiers.
In this paper, we ask: Can a single loop predict several future tokens in parallel?
🚀 Introducing Floodgates, we draft a block of tokens with a single loop, verify it in one decoding step.
Across seven models and five benchmarks, Floodgates is the fastest lossless decoding method in most cases, attaining up to 7.5× acceleration.
In collaboration with @SeanMcleish, @sehoonkim418, @jw9730, @ABosselut.
1/🧵
aaraN retweeted
Had a lot of fun with Guy, Anna and Nico on the podcast, talking about FlashProve, enjoy!
🎙️This week, @AnnaRRose and @nico_mnbl chat w @GiacomoFenzi & @gwberg95 about FlashProve, a ZK proof system built for provable inference, built w @AnthropicAI
We also get an update on Proximity Prize, better .codes breakthroughs and more!
zeroknowledge.fm/podcast/418…
aaraN retweeted
Today we're releasing initial results on scaling x86 binary verification: proofs using @leanprover that machine code for 71 operations across 10 RustCrypto crates matches the relevant standards.
This is our first step in securing all software with AI-powered formal verification.
aaraN retweeted
MIT 6.5940, TinyML and Efficient AI Computing
deep neural nets demand tons of compute, so MIT has a course teaching you how to minimize the amount needed both in the cloud and on tiny devices, an essential skill right now
link: hanlab.mit.edu/courses/2026-…
Really cool result; congrats to the authors. Here's what you'll read on CT it does do, but doesn't actually do:
1) Enable trustless bridging of Bitcoin
2) Enable trustless shielded transactions on Bitcoin
3) Make Bitcoin quantum-resistant
4) Unlock a broad range of exciting new applications
The first practical solution to witness encryption for general NP:
eprint.iacr.org/2026/2971
At 100 bits security: ciphertext size: <8 GB, encryption and decryption time: seconds. Formally lean verified from standard security assumptions (bi-linear generic group and random oracle model under Module-SIS.)
This work is built on recent feasibility results by Hair and Sahai and improves their ciphertext size and encryption time by 10 orders of magnitude and decryption time by 6 orders.
Our motivation is non-interactive proof verification on Bitcoin without the need for challengers and operators, but witness encryption is a fundamental problem and we hope this work will open up many other use cases.
aaraN retweeted
Looped LMs add depth, not parameters. But every loop adds KV cache and per-loop latency.
We combine speculation along tokens and depth with KV sharing: up to 7.64× speedup over standard AR decoding, with lower KV memory.
Introducing 2DSD 🧵
aaraN retweeted
Thanks @thinkymachines for releasing the variable-loop version of Inkling 2 Mini!
2DSD makes looping free! At 3-loop inference, it decodes 1.57× faster than no looping.
2DSD generalizes across the number of loops too. A single drafter trained at 3 loops transfers to 4 and 5 loops without retraining.
Some of you thought that Inkling 2 Small was too big at 594B parameters. We heard you: Inkling 2 Mini is a looped transformer with just 26B parameters, small enough to run on your laptop, powerful enough for agentic work with a score of 20.1 on AA Index.
thinkingmachines.ai/news/ink…
UC Berkeley's SqueezeAILab has released a tiny 1.01 GiB speculative drafter for Inkling 2 Mini, and it's actually faster than the official drafter.
It's called 2DSD, a 541.9M-parameter model that uses just 5 layers while reusing Inkling 2 Mini's existing embeddings and LM head. It predicts blocks of 8 tokens, with the main model verifying the output without any loss of accuracy.
On a single H100 NVL, it reached an average of 313.6 tokens/sec across 7 benchmarks, compared to 257.2 tok/s with the official drafter and 92.5 tok/s without speculative decoding.
That's around 3.37x faster than the normal baseline and 22% faster than the official drafter. It even peaked at 368.1 tok/s on HumanEval+.
Pretty interesting how a helper model of just 1 GB can make such a big difference to local model inference. 🔥
2DSD on Hugging Face
aaraN retweeted
How should we set the rank for LoRA?
Our new post derives a theory for *exactly* computing the minimum LoRA rank necessary for any SFT dataset.
And it works. In practice, we can predict rank across settings with error rates below 5%:
aaraN retweeted
Turns out @thinkymachines's impressive Inkling-2-Mini has even stronger potential hiding right inside its loops. With LoopCD, we boost it across reasoning, knowledge, and agentic coding, with zero extra training.
LoopCD arxiv.org/abs/2610.02185 is a decoding method built natively for looped transformers. Here's how it works:
Inkling 2 Mini loops 3x per token, refining a weaker Pass 1 prediction into a stronger Pass 3 and discarding the rest. Instead of throwing Pass 1 away, LoopCD contrasts Pass 3 (the strong prediction) against Pass 1 (the weak prediction) at decoding time, naturally amplifying what looping just improved.
Most interesting result: TML's launch post noted that extra loops leave closed-book factuality (AA-Omniscience) flat. LoopCD still jumps it from -9.0 → -3.4 (non-hallucination: 66.5% → 71.8%).
aaraN retweeted
why are inference companies betting on compilers?
companies like @togethercompute, luminal are investing heavily in their own compilers.
the bet is that optimizing kernels doesn't scale with the growing diversity of models, workloads, and hardware. instead, we need to narrow the search space.
compilers make it possible to automate optimization across the forward pass, continually searching for performance gains as workloads change.
how long will compilers remain a competitive advantage? or eventually just be another part of the inference stack.































