Amit Poonia (@NoisyChannel) profile picture

Machine Learning Engineer. https://teapawt.net/t.co/3HgYrQLx8o

Berlin, Germany
Joined June 2014
Photo by Amit Poonia (@NoisyChannel)Photo by Amit Poonia (@NoisyChannel)Photo by Amit Poonia (@NoisyChannel)
Seems like NLU being reinvented/rediscovered. In pre-llm era to build a chatbot one usually had to train an intent classifier, entity extractor and possible actions conditioned on them, orchestrated by some state machine code.
one thing that made this click for me — with decision models, you have to define categories and it returns probabilities that the input matches those categories. but so much of the data we interact with is completely new to us. how can you define categories for something you've never read? with clairic, you can extract values directly from the inputs, without any premeditated categories. the pipeline becomes clairic to extract values → clef to make decisions with those values → LLMs to take actions on those decisions. all of these models run on Workers AI.
15
New instance of "worse is better".
I don't read/write code these days, I only instruct an LRM. But it's not because I think LRM code quality is perfect, or even good. And it's not because I think my instructions are always being perfectly acted upon -- I know they aren't. The thing is: LRMs don't just write your code, they unlock new ways to control what you're doing and maintain understanding of your system, which are about as effective as reading code. You can better test your codebase, you can audit specific components, you can spin up visualizations, you can ask the LRM to red team, etc. You can do all of these things at high speed -- you couldn't before. The benefits of reading/writing code can now be achieved in new ways. All in all, the ROI of writing code by hand is no longer looking good, not because LRMs got perfect but because they're so fast at doing things that you can develop new workflows around them, workflows that end up being more productive than the old workflows.
24
Add entity extraction to it and you have a good zero-shot NLU model, which in some case might be a better fit than full blown LLM Agent.
seriously though there really is a market for strong, instruct-tuned, tool-calling, non-reasoning, non-conversational, small-context LLMs. pitty the industry dropped the ball on them. hopefully we'll see a revival
17
Property tests and end to end tests are no brainer regardless agentic coding or not.
I agree with @thorstenball, I think unit tests are dead in the water. The ones the models write are terrible, at best just doubling total LOC. Inverting the testing approach - heavy e2e/black box/golden master, reaching for lower levels only if necessary, works better for me
1
35
Amit Poonia retweeted
At last this is pointed out crisply. If one actor takes all the jobs and services, who is buying stuff from them?!
Replying to @jackclarkSF
Hi Jack, nice work! One thing I've been thinking about for months and didn't see addressed here (curious what you think) is the consumption side. In the model, whatever is produced is assumed to be bought. But if the labor share falls and the gains go to capital, who is spending? The caveats mention demand effects and the conclusion leaves it to redistribution later. Is this not this what decides whether the growth happens at all? It also seems different from previous revolutions, where the new goods eventually showed up in household budgets: cars, appliances, phones. Cognitive output is mostly an input to work, not something households buy for living or leisure. You might point to health care as the sector with unmet demand, but how do people pay for advanced therapeutics if the income that would buy them has just moved to capital? I do not see how you can close the loop without that consumption.
5
4
21
3,886
Amit Poonia retweeted
It's a common agreement among my friends not at OpenAI/Anthropic that people at the labs operate with a religious energy (Ant especially). It manifests very out of touch interactions, which carries into public comms here (e.g the recent quitting). Company cultures create this.
28
39
7
892
54,464
Amit Poonia retweeted
"When you build a thing you cannot merely build that thing in isolation, but must repair the world around it, so that the larger world at that one place becomes more coherent and more whole." -- Christoper Alexander
2
6
39
2,234
I just posted my very first blog! Its about how to get started with Reinforcement Learning. amitpoonia.github.io/posts/i…
1
1
159
So this is an article about the limited value of AI, and the (alleged) use of AI to write it added very limited value while inflicting a reputational cost on the author. This is almost too neat. (If no AI was used in the writing, it simply becomes a different parable.)
News orgs need to use AI detectors, or at least have someone who uses AI preread their articles. Not a bad article! But some sections are obviously AI-written (check w/ Pangram yourself). I like @tylercowen's rule: he links to the raw AI output rather than pretending he wrote it.
1
3
27
5,243
One thing nice about JAX is that the ecosystem around it emphasizes type driven design and patterns you often see in functional programming languages. For e.g. came across today this neat library called plum from beartype which provides Julia style multiple dispatch.
1
36
Here is more about their type based dispatching: beartype.github.io/plum/comp…
21
Amit Poonia retweeted
New blog post that describes the ideas behind our award-winning paper on securing AI agents: martinodersky.substack.com/p…
2
17
2
98
9,163
"Statistical Modeling: Two cultures" is a great read, wish I knew about it when I started. While reading it again when I saw the line "The goal is not interpretability, but accurate information" I thought Claude wrote it, such is the sensitivity to this pattern of LLM writing :)
Replying to @_arohan_
ML and recsys: Machine Learning: The High-Interest Credit Card of Technical Debt static.googleusercontent.com… Neural Word Embedding as Implicit Matrix Factorization papers.nips.cc/paper_files/p… Statistical Modeling:Two cultures projecteuclid.org/journals/s… Pinnersage arxiv.org/abs/2007.03634
35
A bit of tangent on this: recently I was reading about LLM self-distillation using reverse KL, which led to me revisiting variational inference, latent models and plate diagrams! The old methods still remain relevant, often necessary building blocks, and/or as a baseline.
i got a gig to consult some org on some ML problem, and after understanding their domain, the thing that best fits (by far) is some bespoke graphical model solution (say, an LDA-variant) of the form that was very popular a decade ago. but its impossible to recommend that.
47
I have been watching youtube videos on RL from John Schulman & Sergey Levine, mainly on policy gradients, , they are incredible good, while watching some questions come up to your mind and before you know it they get addressed in the lecture in a way that is very satisfactory.
1
22
Also openai's spinningup tutorials is a great resource.
13
Percentage may vary bit this was true during pre-LLM world and still holds true, with prompt/context engineer there is even more data work now, evaluation itself became more complex.
Many people think any given ML project is 99% training. In reality, it’s 50% evaluation, 40% data cleaning, 8% integration, and 2% training. The first two set the noise floor for learning. No ML magic matters; the model cannot lower the noise floor, as that’s the optimal bound of Shannon encoding of your data. Thus, not a single day goes by without me thinking about ontology. Even the old labels have to be constantly reviewed.
1
40