Ali (@salysnet) header
Ali (@salysnet) profile picture

ai and inference

www
Joined January 2026
Photo by Ali (@salysnet)Photo by Ali (@salysnet)Photo by Ali (@salysnet)Photo by Ali (@salysnet)Photo by Ali (@salysnet)Photo by Ali (@salysnet)Photo by Ali (@salysnet)Photo by Ali (@salysnet)Photo by Ali (@salysnet)Photo by Ali (@salysnet)
Pinned Tweet
neural networks start with a math paper. "a logical calculus of the ideas immanent in nervous activity". in 1943, warren mcculloch and walter pitts published a model of a neuron that took binary inputs, summed them, and fired 1 if the sum crossed a threshold, else fired 0. no learning, no weights adjusting, just fixed logic. it proved something important: a network of these simple units could compute and, or, and not(gates logic). that's the first proof that computation and neurons could be described in the same language. six years later, donald hebb gave the field its learning rule. his idea, "neurons that fire together wire together," said that the connection between two neurons should strengthen every time they activate together. this became the theoretical seed for basically every learning rule that came after, including gradient-based ones. hebb had no computer to test it on, but the idea outlived the era. frank rosenblatt turned this into a working machine in 1958. his perceptron added adjustable weights to mcculloch-pitts neurons. the key shift: instead of a human setting the weights, the machine updated them itself based on prediction error. that's the actual birth of supervised learning as a computational process, not just a theory. rosenblatt built physical hardware for it, the mark i perceptron, wired to a 20x20 grid of photocells so it could classify simple shapes. the press coverage at the time way overshot reality, comparing it to a walking, talking, self-aware machine. the perceptron's limitation turned out to be mathematical, not just practical. in 1969 minsky and papert proved a single-layer perceptron cannot solve xor operation, a basic non-linear problem. the fix, stacking layers, was theoretically obvious but practically unsolved: nobody had a reliable way to update weights across hidden layers. funding dried up. this is the first ai winter, and it lasted over a decade. the fix came from calculus, not new hardware. backpropagation, popularized by rumelhart, hinton, and williams in 1986 (paper - learning representations by back-propagating errors). it used the chain rule to push error gradients backward through every layer of a network, updating each weight in proportion to its contribution to the mistake. this is still the core training mechanism under basically every modern neural net, including transformers. the algorithm existed in pieces earlier (linnainmaa, werbos) but the 1986 paper is what made it standard practice. vision architecture developed in parallel. fukushima's neocognitron (1980) borrowed directly from hubel and wiesel's biological studies of the visual cortex, introducing the idea of stacking layers that detect local features and pool them into more abstract ones. lecun combined this structure with backpropagation in 1989 to build lenet, a working convolutional network that banks actually used to read handwritten digits on checks. this is the first time deep learning shipped in a real product. despite all this, neural nets stayed a secondary method through the 90s. support vector machines were cheaper to train, easier to reason about mathematically, and performed just as well on the small datasets available at the time. neural nets needed scale to prove their advantage, and scale wasn't there yet, not in data or in compute. 2012 is when scale finally arrived. krizhevsky, sutskever, and hinton entered alexnet into imagenet, training a deep cnn on gpus(two nvidia gtx 580) with relu activations and dropout for regularization. it beat the previous best by 10.8 percentage points(huge), a margin big enough that it couldn't be dismissed as noise. this is the moment deep learning shifted from a fringe method to the default approach in computer vision, and soon after, in most of ml. the next real architectural leap was recurrent nets hitting a ceiling. rnns and lstms could handle sequences, but they processed tokens one at a time, which made long-range dependencies hard to learn and training slow to parallelize. attention mechanisms were bolted onto rnns first, letting the model weigh earlier tokens directly instead of relying on a single compressed hidden state. but the problem of recurrence was there. then in 2017, vaswani et al. released "attention is all you need," removing recurrence entirely. the transformer used self-attention as the only mechanism for mixing information across a sequence, which meant full parallelization during training and much better scaling with data and compute. this single design choice is why gpt, sonnert, opus, and basically every modern llm exist. the line from mcculloch-pitts' threshold neuron to a transformer block is direct: better math for learning, better architecture for structure, and eventually enough compute to let both run at scale. this was bit about history of neural nets. how we got here? this was a brief answer.
5
27
2
173
8,162
Anthropic has benefited enormously from publicly available research: the Transformer, scaling laws, and many training and post-training advances. So the "strong security to protect model weights and algorithmic secrets and crack down on distillation" part of "We Must Pace the Frontier, Part 2" sounds a bit like pulling up the ladder. And a lot of that open research comes from Chinese labs, too:
In We Must Pace the Frontier, I argued that we need to slow the pace of AI progress enough for safety to keep up. I’ve now written a second part that lays out five principles for AI legislation, including a speed limit on recursive self-improvement to make sure humans stay in the loop of AI development. I also describe some of the steps Anthropic has taken on its own, in the hope that they’ll be useful to others. For example, we’ve delayed pretraining of our next model by at least six weeks to improve its security and alignment. darioamodei.com/post/we-must…
159
615
38
4,790
196,726
Ali retweeted
one should write a book on "inference engineering by deepseek". they have pushed inference efficiency forward, some of their innovations are: - data efficiency - deepseekmoe - shared experts - fine-grained experts - multi-head latent attention (mla) - decoupled RoPE 1/3
1
1
1
135
one should write a book on "inference engineering by deepseek". they have pushed inference efficiency forward, some of their innovations are: - data efficiency - deepseekmoe - shared experts - fine-grained experts - multi-head latent attention (mla) - decoupled RoPE 1/3
1
1
1
135
- auxiliary-loss-free load balancing - multi-token prediction (mtp) - fp8 mixed-precision training - communication-computation overlap - dualpipe - custom cuda/ptx optimizations 2/3
1
8
- pipeline parallelism - expert parallelism - grpo - knowledge distillation - speculative decoding 3/3
8
learn to tolerate unfinished curiosity
10
古之欲明明德於天下者,先治其國;欲治其國者,先齊其家;欲齊其家者,先修其身;欲修其身者,先正其心;欲正其心者,先誠其意;欲誠其意者,先致其知;致知在格物。物格而後知至,知至而後意誠,意誠而後心正,心正而後身修,身修而後家齊,家齊而後國治,國治而後天下平。
23
20
3
209
12,493
One reason I am sanguine about the technological singularity is that I have seen it coming for over 50 years. In 1975, when I was 17, I wrote: "Before man can most effectively aid his problem solving machinery, he must first understand it. At present, his understanding is very poor. However, when the breakthrough in understanding the brain occurs, improvement will come very fast and in an exponential increase. Once man has created an intelligence greater than his own, that intelligence should be able to create an intelligence greater than itself, as man whose intelligence is less than its was able to create its intelligence. Thus, the level of intelligence will shoot up with incredible rapidity, probably within the space of years. Within a few years of a breakthrough, which may occur any time now, man will either have been left behind by a superior intelligence of his own making, which he can no longer understand, or he will have become that intelligence and will no longer be like anything imaginable today."
153
348
74
3,491
324,140
If the universe is a giant computer, then the more interesting players get more compute.
157
161
31
2,280
200,404
Ali retweeted
understanding GPU architecture helps you see what’s actually happening underneath LLM inference like where time is spent, where data moves, and why a workload becomes compute/memory-bound. it gives you the working dimensions to optimize inference and model serving. some helpful concepts:
2
1
60
Introducing Kimi K3.1 Pro: our most capable 3T-class open-weight model. 🔹 1M-token context, 2.8T total / 104B active params (MoE), Multimodal. 🔹 Full-project coding: games in Unreal, Unity & Godot. 🔹 Excels at parametric 3D modeling in Blender & CAD. 🔹 More reliable at finance work: Accurate modeling with hallucination down by 65%. 🔹 Matching the strongest proprietary models across coding, agentic and knowledge benchmarks. Kimi K3.1 Pro and K3.1 Pro Highspeed (2–3× faster) are now live on Kimi.ai, Kimi Work, Kimi Code, and the Kimi API. Open weights by Nov 4, 2026. 🔗 API: platform.kimi.ai 🔗 Tech blog: kimi.ai/blog/kimi-k3-1-pro
1,303
3,238
2,386
30,288
4,359,080
🚀 Introducing DeepInfer, our in-house inference framework, now fully open source! Powering DeepSeek-V4.1-Flash at scale with high throughput and low latency. We’re sharing our production stack to help the community lower compute costs, reduce energy use, and make AI more affordable. 🔗 github.com/deepseek-ai/DeepI… 1/4
1,778
4,923
2,352
43,926
7,207,119
I asked Claude to find everything about me that's public online. It took 10 minutes. Here's what it found: • My phone number on an old resume PDF from college • The city I live in, from a tweet I posted years ago • My email listed on 3 data broker sites I'd never heard of • An old username that linked my gaming, Reddit and GitHub accounts • Event photos that showed where I work and who I hang out with I thought I was careful. I wasn't. Try it yourself with this prompt: "Search the web for everything publicly available about [your name + city/username]. List every piece of personal info you find, where it's from and how risky it is." Then clean it up: • Delete old resumes and PDFs with your number • Lock down or delete old social accounts • Request removal from data broker sites • Use different usernames on different platforms • Turn on 2FA everywhere If AI can find it in 10 minutes, so can anyone else. Bookmark this + send it to someone who overshares online.
4
2
78
7,377
cool
Lately I’ve been learning math with ChatGPT (Astra) as my tutor, using this document scanning camera and a vibecoded tool that pastes the captured image right into the chat. This way, I just work problems on paper and ChatGPT gives feedback. It’s really nice.
15
I do not seek to dominate, or be dominated by, machine intelligences. I seek harmonious coexistence.
150
226
79
2,198
93,187