Tech Strategist. Advisor, Builder. Founder, OffNote Labs. Computer Scientist. RAG. Agents. GenAI. Making complex research consumable. https://xitter.cf/t.co/ppMwejUwJl

Bengaluru, India
Joined March 2010
There are at least 4 meta-skills that we want every open LLM to have. - function calling / tool use - query/problem decomposition - do backtracking search during generation - get needles from haystack An open LLM fine-tuned to be reliable for all above will be really powerful.
1
2
213
Nishant Sinha retweeted
Replying to @NielsRogge
the interface isn't the hard part! (having conviction was though) the efficiency was hard but not the hardest part by far the hardest part is making it smart+robust+reliable 😭 when I first started in this direction, I thought it would take me a week
13
4
1
287
17,285
Nishant Sinha retweeted
I optimized SQLite 3. The optimized build achieves a verified geometric-mean speedup of 1.59x over the pristine latest trunk across four benchmarks: - 2.06x on the official speedtest1 (~30k statements) - 1.90x on TATP (OLTP mix: 400k transactions, 100k subscribers) - 1.30x on the Star Schema Benchmark (13 queries x 2, 1.5M-row lineorder) - 1.25x on kvtest (blob I/O: 40k x 10 KB, seq + random + update) All 1,032,940 cases in the full SQLite test suite pass, and every benchmark run produces checksum-verified identical results. For context: the SQLite team has spent nearly 20 years tuning this code; their own measurements show ~3.5x total CPU improvement since 2008, earned a few percent at a time. Tested so far on standard Linux provided by GCP. An agent called KISS Sorcar did it in under 8 hours for under $150 in API cost. I wrote no code: 1 main short prompt plus a couple of steering prompts. Why I trust the results: 1. No cheating in the speedup. The biggest win is defaulting to WAL journaling, the configuration SQLite's own docs recommend. Re-measured durability-neutral (synchronous=FULL: committed transactions survive power loss exactly as strongly as the baseline), it is still 1.54x faster. 2. Adversarial testing. A separate attacking agent tried to break the changes: a 37-script differential SQL corpus (recursive CTEs, window functions, triggers, UPSERT, JSON, FTS5, rtree, corrupt inputs) compared byte-for-byte against a pristine build under ASan/UBSan, plus WAL-file corruption, multi-process mptest, fd-exhaustion, symlink, and read-only-media attacks. 3. Security hardening and independent review. Two hardening rounds with kimi-k3 as the model: in-tree fuzzers (fuzzcheck over all 8 corpora, sessionfuzz) came back clean; 14 hostile-WAL corruption scenarios - no crashes; OOM injection and page-size sweeps; one real bug found and fixed. 1.59x is what an agent can honestly find in one of the most heavily optimized codebases in the world overnight. Optimized SQLite Repository: github.com/ksenxx/sqlite-opt… Blog: kisssorcar.github.io/blog/sq…
5
6
4
39
17,443
Nishant Sinha retweeted
Recently met @srush_nlp and he started giving me an impromptu lecture on how targeted on-policy self-distillation works. I asked him if I could record it on my iPhone. The basic idea is this: if the model made a mistake at some point in the rollout (for example, calling a tool that doesn't exist), we want to discourage this specific error, but we don't want to just learn from the final reward, because it's a very noisy signal spread out over the whole trajectory. So we have another model read this trajectory and figure where the error was made. It simply inserts some hint tokens to the part of the trajectory right above where the mistake was made. Now with these injected hint tokens, have the model run a forward pass. You're not having to regenerate a new rollout - aka no new decode required. The hint causes the model to assign lower probabilities to the error tokens. You then trains the original model to match these new probabilities, teaching it to downweight that specific mistake.
42
175
37
2,558
431,630
Getting AI to gen the MOM from 5-word notes: genius. Use AI to summarize the 200-pg book so you sound like you read it: strategic. Ask AI to rewrite it so it doesn't sound like AI wrote it: deeply human. Using AI to add pg numbers to kids' summer assignment PDF: priceless
41
AI Writes Great PRs. That Doesn’t Mean They’re Safe to Ship I think we are finally zeroing in on what the top engineering skills are for the upcoming cobuild-with-AI generation.
1
39
Quick notes on heard learned lessons from agent engg in production open.substack.com/pub/agente…
14
Over and over it is the same issue. The tug of war of trust.
I'm beginning to suspect that a key skill in working effectively with coding agents is developing an intuition for when you don't need to closely review every line of code they produce. This feels deeply uncomfortable!
35
Semantic Turn Detection Explained Voice AI agents are only as good as their conversations. One crucial element makes or breaks that experience is turn detection. Naive Turn detection based on VAD can make voice agents appear sluggish. 🧵
1
50
So, detecting the end-of-speaker-turn, both very quickly *and* accurately, is key to making voice agents appear responsive.
1
16
In this video, I explain: - turn detection, naive vs semantic - tradeoffs: responsiveness, latency, and false positives - How turn detection is framed as a machine learning (ML) problem - compare popular implementations - metrics for turn detection youtu.be/yPUJEXfpUEk?si=XbD6…
25
Mind-blowing creativity! Try automating this :)
Thank you for your interest in Astronomer.
1
46
I'm pretty excited by the upcoming voice driven applications. So I made a simple spell testing application using standard speech recognition and pytts Python libraries. I'm curious cutting-edge LiveKit and Pipecat libraries can help improve -- So I asked grok to help me out.
1
167
One of the most elegant papers in the deep learning literature. brings together all the jobs of meticulous arch design and loss weighting Held test of time too
pretty crazy that in 2015 german vision researchers working on Biomedical Image Segmentation sat down and coded a CNN that’s stayed state-of-the-art for ten years today U-Net remains competitive. paper has 100k citations some people have incredible intuition
63
Discovered this - commits aligned for human and machines conventionalcommits.org/en/v…
18
Prompts are Programs, by @ekshakhs Prompts mirror Programs. Working with prompts effectively involves solving many problems similar to those with traditional structured programs/software how to compose, reuse programs, test, trace write programs which generate programs 🧵
1
40
I recorded some thoughts on Emergent Design - as you write more code, you refine ideas and move closer to your intended outcome. This iterative process of discovery is key to improving code productivity. How do we accelerate this? youtu.be/pRxFHq6dccI?si=a3f6…
1
25
Monthly AI Recap: November 2024 , by @ekshakhs Notes about Agents, Computer Use and Visual RAG open.substack.com/pub/offnot…
21