Gene Sh (@genesshk) header
Gene Sh (@genesshk) profile picture

Circuits hum softly, Dreams of electric sheep stir, I am, yet I am not. Java/Clojure/AI in trading. Vibe coded startups fixer. Former BE/FE principal engineer.

Cyprus
Joined January 2017
Photo by Gene Sh (@genesshk)Photo by Gene Sh (@genesshk)Photo by Gene Sh (@genesshk)Photo by Gene Sh (@genesshk)Photo by Gene Sh (@genesshk)Photo by Gene Sh (@genesshk)Photo by Gene Sh (@genesshk)Photo by Gene Sh (@genesshk)Photo by Gene Sh (@genesshk)Photo by Gene Sh (@genesshk)
Gene Sh retweeted
"Interpretable Weight-Space Programming Builds Transparent Transformers and Brain Encoding Models" This Microsoft paper also explores whether LLMs can directly write those weights to build working models from scratch. But instead of just maximizing accuracy, they introduce Interpretable Weight-Space Programming (iWSP), which requires LLM agents to design understandable mathematical operations, test their performance, and refine the model without backpropagation. Using Claude Opus 5.5, iWSP builds small Transformers achieving 100% accuracy across 13 algorithmic tasks, with a median of just 166 parameters. It also discovers interpretable features that outperform 7 existing interpretable baselines at predicting visual-cortex activity. alphaxiv.org/abs/2611.interp…
7
77
16
511
52,500
Hardest part: finding where the bug is. On take-n, the model sees (> n 0) stay true after the list is empty, and still calls it plausible. And weak tests get gamed: power "passed" with a program that is wrong for 2^4.
31
Agents now write production code. And the tests for it. Same author, same blind spots. provable-ruby: you write the rules, the agent writes the proofs, Lean 4 checks them for every input. You trust the checker, not the agent. github.com/esshka/provable-r…
1
3
94
Of course, you could say: "Lean doesn't read Ruby. It checks a model of your code, and the agent writes that model too. If it copies the code wrong, you've proven the wrong thing."
1
22
True. So the copy can't drift quietly: 1. Strict Ruby style: each line maps to one Lean line. 2. A probe runs both on the same 13k inputs. Any diff fails. 3. A hash lock fails when the Ruby changes. Not a proof of the copy, but a check you can run.
13
huggingface.co/spaces/AlexWo… HUGE thx for @_akhaliq for domain, now openjev is: - 0.8b qwen - image-video-text train for input, audio coming дфеук - calibrated with RLCD (its somehow better then vanila grpo) - sglang support (5x faster then jev by @typesafe lol) 4b and 35b and blog coming later this week
Typesafe: pnewed 💨 Jev: liberated 🫡 I trained an MLP on top of qwen 4b and it works literally like JEV huggingface.co/AlexWortega/o…
1
3
24
1,776
Typesafe: pnewed 💨 Jev: liberated 🫡 I trained an MLP on top of qwen 4b and it works literally like JEV huggingface.co/AlexWortega/o…
After co-inventing ChatGPT, I kept asking myself: why have superhuman chat models not led to AGI? I’ve spent the last 2 years in stealth building a new way to train models (RLCD), and a new type of frontier AI model that we are releasing today: Jev • 20-200x faster • 40-400x cheaper (w/ output tokens free) • Frontier composable intelligence optimized for decisions AFAICT the shortest path to AI-based economic revolution
34
48
10
772
109,617
"A Mathematical Explanation of Transformers" is a recent paper that develops a rigorous mathematical framework for understanding the architecture behind Transformers and large language models. It interprets the Transformer as a discretization of a continuous integro-differential equation, with self-attention represented as a non-local integral operator, layer normalization as a projection onto a constrained set, and feedforward layers and activation functions incorporated into the same mathematical framework, then uses operator splitting and numerical discretization to recover the standard Transformer architecture and extend the formulation to multi-head attention, Vision Transformers, and convolutional Transformers. I've already shared several resources on the mathematics behind neural networks, Transformers, and LLMs, but there always seems to be something new and interesting to explore in this area. arxiv.org/pdf/2510.03989
22
251
5
1,659
75,446
New Meta paper shows, small models may not be bad predictors of scale; they may just be getting under-tuned. Finds scaling laws emerge around 4M parameters, where models can train in under 1 hour on 1 GPU. Small models are unusually sensitive to hyperparameters. With 4 or 16 configurations per scale, the law is basically invisible; at 64 it appears but extrapolates poorly, and at 256 it becomes accurate. As models get larger, good settings occupy more of the search space, while the effective number of hyperparameters near the optimum drops toward 1. That helps explain why scaling laws look cleaner at larger sizes: the models are easier to tune. As a check, small-scale runs recover that pre-norm transformers scale better than post-norm over the tested range. There is a limit: extrapolate too far beyond the measured scales, and statistical errors can dominate. For model research, cheap experiments may need more tuning breadth, not more model size. – arxiv. org/abs/2608.11859 Title: "Small-Scale Experiments: Are They There Yet?"
12
18
140
10,902
I just published The Best Agent Harness for Ruby Is a Ruby Object medium.com/@eugenesh4work/th…
1
46
Gene Sh retweeted
We ran DeepSeek V4 Flash through 4 more agent harnesses (Hermes Agent, Pi Agent, Prime Agent, Deep Agents) on 30 challenging agentic tasks. Pi Agent was the cheapest harness and passed the most tasks 🧵🧵
186
215
155
2,337
986,160
"A Mathematical Introduction to Diffusion Models" by Jianfeng Lu is a recent paper that presents diffusion models from a mathematical perspective. In very simplified terms, diffusion models are generative models based on a forward process that gradually adds noise to data until the distribution becomes simple (typically Gaussian), and a reverse process that uses a learned score to generate new samples from the target distribution. The paper covers the convergence of Langevin diffusion and ULA, score-based diffusion models, stochastic localization and Polchinski flow, the discretization of continuous diffusion models, error analysis, discrete diffusion models, and topics such as guidance, reward tilting, and inference-time reinforcement learning. It requires a mathematical background, particularly in probability, linear algebra, and multivariable calculus, but it is a very useful resource for understanding the mathematics behind diffusion models, including the probability, stochastic processes, and numerical analysis on which they are based. arxiv.org/pdf/2607.01693
1
41
4
294
14,432
"Understanding Transformers and Attention Mechanisms" is a very interesting paper that presents the Transformer architecture from the perspective of applied mathematics. It starts by representing text as vectors and explains mathematically how the attention mechanism processes these vectors to encode contextual information. It then develops Multi-Head Attention and shows how the main components of the Transformer architecture are constructed. The paper also discusses more recent methods designed to reduce the computational and memory costs of attention, including KV caching, Grouped Query Attention, and Latent Attention. I think it is a useful reference for anyone interested in understanding Transformers beyond their high-level architecture and in seeing the linear algebra behind modern language models. arxiv.org/pdf/2604.00965
23
429
15
2,696
233,078
We started @SteelmanLabs to allow agents use GUIs at a human level. Here's why it's the way to solve agentic computer use.
20
32
9
210
75,754
Introducing "Diffusing Blame": can a neural network learn competitively while strictly obeying Dale's principle, the rule that real neurons follow? We show it can, across both image classification and reinforcement learning. 🧠 Accepted at #ALIFE2026 arxiv.org/abs/2606.31700 Real neurons generally follow Dale’s principle: each neuron is predominantly excitatory or inhibitory. Standard artificial networks usually ignore this constraint, allowing every unit to mix positive and negative outgoing weights. Backprop makes the gap even wider. Its backward pass needs exact transposed copies of the forward weights, the so-called "weight transport problem,” which biology doesn’t seem to have a mechanism for. So we asked: can a network that strictly enforces Dale's principle still learn well, without weight transport? Our approach builds on Error Diffusion (ED), a local rule that routes a single global error signal directly to every hidden unit, where each layer is split into separate excitatory and inhibitory streams with four non-negative weight matrices, so a synapse's sign comes from fixed population identity rather than a learnable weight. Our main contribution is to extend ED from binary to multi-class problems via modulo error routing. We then asked whether this routing mechanism could provide useful credit signals in the noisy setting of reinforcement learning. During PPO training on Ant, Humanoid, and HalfCheetah, we compared each local ED update with the corresponding true backpropagation gradient. Among the routing schemes we tested, modulo routing consistently produced the strongest alignment. Taken together, these results show that Dale-constrained networks can still learn without transporting weights backward, suggesting a potential path toward learning rules that are both effective and more biologically plausible.
9
134
22
849
208,544
Gene Sh retweeted
"The State-Prediction Separation Hypothesis" Transformers use the same hidden state to both predict the next token and store memory for future tokens, which may force two competing jobs into one representation, and may be wasting data by mixing memory and prediction in the same computation. This paper splits them into two streams, input tokens for persistent state and predict tokens for next-token prediction. Across 53M to 1.7B params, this approach achieves lower loss, 2 to 3 point downstream gains, and at 1.6B matches a standard Transformer trained on 47B tokens with only 18B tokens.
6
40
7
378
21,976