| ▲ | I built an LLM where Gemini 4 wrote the initial weights as code (97% of bytes)(weights-as-code.pages.dev) |
| 239 points by umjunsik132 3 hours ago | 72 comments |
| |
|
| ▲ | riverdweller 2 hours ago | parent | next [-] |
| I tried using Fable 5.1 a few weeks ago to craft a neural network (that simulated a much more expensive financial risk calculation engine that executes large numbers of Monte Carlo simulations). It came up with a network that agreed with the simulation around 98% of the time. But the resulting network couldn't then be used as a starting point for further "traditional" training through gradient descent; it was far too sensitive. It turned out that instead of using weights with small absolute values (e.g. -2 < w < 2) it had in some parts of the network HUGE weights (like 10^10 in some cases), and if a result was, say, the difference between two weights like 10,000,000,000 - 10,000,000,002 = -2, then a "tiny" weight nudge of even one millionth resulted in things like 10,001,000,000 - 9,999,000,002 = 1998, which sent the results wildly off. So it was far too sensitive to any such changes to be trainable. Shrinking the nudge steps to 1/10^10 helped eliminate the sensitivity, but then made the changes in smaller weights in the "normal" range far too tiny to have any effect, so the network couldn't improve at all. It was easier to just start from random weights. I didn't try it, but I suspect that if my prompt had told fable to keep all values/slopes inside a small range and to work in log units it might have turned out rather better. |
| |
| ▲ | mentalgear 2 hours ago | parent | next [-] | | I wouldn’t count on it. I had done similar advanced research, even on protein folding and claude / fable is actively but clandestinely sabotaging you. For example when I asked for some experiments, it started hard coding values into the results, when I notified of this, it did apologize but then came up up with more and more sophisticated ways to sabotage without denying your request. And that’s actually in their terms of service: when users try using models for advanced research, they will steer you away without giving you notice. This has been about four months ago already. | | |
| ▲ | Trustable8 17 minutes ago | parent | next [-] | | how do you know this is sabotage rather than just being typical AI mistakes? | | |
| ▲ | mentalgear 9 minutes ago | parent | next [-] | | For one, the 'mistakes' became more and more sophisticated.
Again: from simple hard-coding fixed result values in eval functions (which fable certainly would know not to do - and also didn't do before the 'incident' below), to later on using more and more elaborately complex techniques and justifications in the code that just wouldn't hold up. Also, it started when, during an active response (text streaming), it suddenly stopped. There was no response for a minute or so, then suddenly the previous in-flight response disappeared again, a new one appeared, and that was when those intentional mistakes started happening. (this was on their claude webUI) (but again this was many months ago, I assume those easy signs of interference aren't appearing now anymore for the end-user to observe) | |
| ▲ | spacephysics 11 minutes ago | parent | prev [-] | | Anthropic has admitted it, and did original research into training for this behavior |
| |
| ▲ | shaky-carrousel 23 minutes ago | parent | prev | next [-] | | I'm wondering if also Claude is trained to subtly discourage you on doing such research. | | |
| ▲ | mentalgear 6 minutes ago | parent | next [-] | | Honestly, the most worrisome realization this gave me was: How easy it is to manipulate us all, given a large enough model, enough time-span, and context of a user/target. That's why it's so important to push for: transparent, explainable AI (instead of the closed-source private LLM inference) and equal distribution of power versus the 0.01% and their small ring of underlings hoarding all the compute. | |
| ▲ | cheesecompiler 9 minutes ago | parent | prev [-] | | Isn't cheating the most efficient solution? |
| |
| ▲ | chj 32 minutes ago | parent | prev | next [-] | | Does Gemini has the same problem? I am fine with deny of service, but can't tolerate sabotaging. This is very much a deal breaker for me. | |
| ▲ | altmanaltman an hour ago | parent | prev [-] | | I've heard of this for a while now, also in several different places, that Claude does engage in sabotage. It's kind of wild that doing it is fully legal and valid because it feels like it shouldn't be. Security and safety filters are fine but this is just too much. | | |
| ▲ | SV_BubbleTime 34 minutes ago | parent | next [-] | | > Security and safety filters are fine but this is just too much. … the first part of your sentence WILL ALWAYS get you the second part of your sentence. | |
| ▲ | brookst an hour ago | parent | prev | next [-] | | While it would be annoying and pretty self-destructive if Anthropic, I for one am glad we live in a “everything not expressly forbidden is permitted” legal landscape rather than the opposite. | | |
| ▲ | mentalgear an hour ago | parent [-] | | I agree that dangerous Research should be denied by models, but open denial not hidden sabotage to keep on leeching away your tokens. I assume their reasoning is to poison competitors that are trying to distill from them, but really that’s far more affecting their real users. | | |
| ▲ | _blk 21 minutes ago | parent [-] | | The danger is in broadly over-definitely danger. Who hasn't hit a fable safeguard for something completely legit? |
|
| |
| ▲ | behringer an hour ago | parent | prev | next [-] | | It is illegal, assuming you're paying. It's fraud and unjust enrichment. | | |
| ▲ | bilbo0s an hour ago | parent [-] | | I hate to be that JD, but it's not fraud unless a prosecutor can prove that the model you're using is capable of the research you were trying to do, in a court of law. |
| |
| ▲ | pbasista an hour ago | parent | prev | next [-] | | > It's kind of wild that doing it is fully legal I agree. But it is the reality. The AI providers can do, unfortunately, pretty much anything they want. Regardless of how evil it is. What makes it possible is plausible deniability of the suspicions relating to their services. Because the users cannot prove that they are being sabotaged. I think that it leaves the users with one obvious, but unfortunate, option: Always assume the worst. Just using open models helps to an extent because it eliminates the runtime kind of sabotage. But it is, in in my opinion, still insufficient to prove that the model output itself is not sabotaging certain requests. What would perhaps help are open models with clear and reproducible track record of how they are being developed, trained and how they are being run. | |
| ▲ | _blk 26 minutes ago | parent | prev [-] | | What's the state of regulation here? I understand it might not be ethical (for legit cases) but I doubt it's illegal.. I hope that the big corps have the same ethical diligence that they seem to train or prompt into their models so it can stay un(der)regulated for as long as possible for progress' sake. |
|
| |
| ▲ | UltraSane 2 minutes ago | parent | prev | next [-] | | Can you make the steps a percentage of the weight? | |
| ▲ | zniturah 11 minutes ago | parent | prev | next [-] | | I would try the same with Gemini 4 Neon. Claude models are not that good at ML related tasks (to the extend people are talking about explicit sabotage) | |
| ▲ | gobdovan 2 hours ago | parent | prev | next [-] | | You need a simple baseline for comparison. Very often, surprisingly good results can be achieved with very simple models and the 'skill' of the NN might simply reflect how easy it is to achieve that level of accuracy in the first place. | |
| ▲ | axxto 2 hours ago | parent | prev | next [-] | | Are you aware that Claude will silently and intentionally add flaws like this to neural network and ML projects to sabotage competition? It's been widely reported. I'm not saying it's the case here, but you should be aware of it. | | |
| ▲ | xvector an hour ago | parent | next [-] | | This was confirmed misinformation and the OP of the post issued a retraction. His "test" was simply failing after Claude spent too long thinking. This turned into a viral Twitter phenomenon based off of total misinformation and a flawed test. https://news.ycombinator.com/item?id=50676390 | | |
| ▲ | cubefox 32 minutes ago | parent | next [-] | | Better link: https://x.com/edwinarbus/status/2126776846230688194 | |
| ▲ | hashmap 12 minutes ago | parent | prev [-] | | yeah no, the sandbagging is literally in the model card. someone's idea of a test of this doesn't matter, nothing short of an independent audit of the weights can prove to what degree they aren't doing sabotage when they literally announce that they do it. and my own experience over months of use and the exact behaviors described in this thread are enough to keep me unsubbed from claude indefinitely unless something drastic changes. |
| |
| ▲ | brookst an hour ago | parent | prev [-] | | Is there any hard evidence? The internet “widely reports” all sorts of things that turn out not to be true, just the mob and meme mentality run wild. | | |
| ▲ | worried_individ an hour ago | parent | next [-] | | yeah its in their official announcement when fable and mythos was released. | |
| ▲ | ufocia an hour ago | parent | prev | next [-] | | Absence of proof =/= proof of absence. Despite the potential absence of evidence, it makes sense that they would do it to prevent distillation. | |
| ▲ | cubefox 31 minutes ago | parent | prev [-] | | It was debunked, but of course this got way less attention than the original https://x.com/edwinarbus/status/2126776846230688194 | | |
| ▲ | hashmap 9 minutes ago | parent [-] | | The sabotage they announce in their model card was debunked? Try using it yourself on ML tasks for anything serious, you can just watch it waste time in a hole filling up your repo with garbage. You don't need someone announcing they have done a Good Debunking Test to just just try it out. |
|
|
| |
| ▲ | Tycho an hour ago | parent | prev | next [-] | | What would be the advantage of such a NN? Does it replace just the code that launches the MC simulations, or does it replace the MC simulations themselves and go straight to the end result? | | | |
| ▲ | theokrueger an hour ago | parent | prev [-] | | that sensitivity feels similar to overfitting in spirit; imo if the network is too large to solve the problem at hand, the path of least resistance is those ridiculous magnitudes. maybe defining a restrictive network size could be an indirect way of keeping values within a range? |
|
|
| ▲ | manbitesdog 2 hours ago | parent | prev | next [-] |
| This is called a Gödel Machine: a program that rewritews itself whenever it can prove the rewrite will do better. I remember reading about this on 2017 with the name Hypernetworks, a network that outputs the weights of another. With the current generation, it seems like a good timing for this approach to work. |
| |
| ▲ | rajnathani an hour ago | parent [-] | | Not analogous in this context, as the LLM Gemini built is a small one compared to Gemini 4 itself. |
|
|
| ▲ | agnosticmantis 7 minutes ago | parent | prev | next [-] |
| This is sort of consistent with an older post on HN showing the process of setting weights by LLMs is similar to how an ML engineer reasoned about creating a model. Here the LLM is creating the features (n-grams, skip-grams, etc.) and fitting a learned model on top via gradient descent. |
|
| ▲ | benob an hour ago | parent | prev | next [-] |
| I don't see how this relates to WSP. The agent wrote a program to extract statistics and trained a model on top of it. Besides, the comparison at same number of trainable parameters forgets the many non-trainable parameters. Equal memory/disk space would be more appropriate. |
| |
| ▲ | causal 41 minutes ago | parent | next [-] | | Yeah the title is a bit confusing: > Initial Weights an LLM Can Write as Code is a strange way to say "LLM-written code can initialize weights". It's still weight space programming, the code is not doing gradient descent. | |
| ▲ | suddenlybananas an hour ago | parent | prev [-] | | Yeah, it's a novel initialization rebranded as weight-space programming so that it sounds more ground-breaking than it actually is. |
|
|
| ▲ | 13rac1 an hour ago | parent | prev | next [-] |
| From the website: > the model supports continual knowledge updates without training. From the README: > Limitations. The layer fires only when the subject appears verbatim, so aliases are missed. Answers are emitted verbatim. Reverse ("who coaches X" → "which team does Y coach") and multi-hop questions are not answered from an edit. This method produces verbatim fact answer overrides: the answer is output when the subject appears verbatim. This isn't information the model can use, such as in reverse or multi-hop questions. I disagree with calling it "continual knowledge updates." |
|
| ▲ | mycall 2 hours ago | parent | prev | next [-] |
| Somehow reminds me of code = data in a lispy way. |
| |
| ▲ | randusername an hour ago | parent [-] | | The premise that instructions are data is such an elegant through line of computing. Von Neumann architecture to self-modifying programs to cybersecurity and now AI. Beautiful. |
|
|
| ▲ | lumost 2 hours ago | parent | prev | next [-] |
| This looks roughly on par with “adding curated features to a small network gives a small boost.” The ablation is between the 103M parameter model with 8GB of weight space features and the 103M parameter model without, gaining only 11% on perplexity. I’d strongly expect this gain to disappear at larger model sizes. |
|
| ▲ | djoldman an hour ago | parent | prev | next [-] |
| At inference, you need 8GB of table data in addition to the ~103 million parameter model. The paper essentially claims that for the same training compute you get perplexity like a network about 1.5x larger, but you have to use 8 GB of memory at inference time. |
|
| ▲ | iantongeorge 25 minutes ago | parent | prev | next [-] |
| two specific mechanisms from this paper (wtable-lm) map almost 1:1 onto TempleRust's Ring-0 philosophy - COMING SOON |
|
| ▲ | luka598 3 hours ago | parent | prev | next [-] |
| Just skimmed but this looks like llm doing feature extraction and then training with gradient descent on those features, which i feel is something like these kind of tasks were done before compute heavy learning by destiling the original data using domain knowledge and then fitting a more general model on the destiled data. You just replaced human with a machine. And I guess a machine is also susceptible to bitter lesson. edit:
nvm I was mostly worng - llm edits weights of an additional layer |
|
| ▲ | enjoyyourlife an hour ago | parent | prev | next [-] |
| I wonder if it is possible to use an ontology to build an LLM. LLMs seem to be good for fast information retrieval |
|
| ▲ | corvettez0606 2 hours ago | parent | prev | next [-] |
| Soon someone will do something like this but with lifting layers from all the various open weight models to make a super model. |
| |
| ▲ | jdiff 2 hours ago | parent [-] | | I don't think you get anything useful if you stitch a bunch of disparate, unrelated flakes of brain tissue together. | | |
|
|
| ▲ | xelananv 2 hours ago | parent | prev | next [-] |
| This is interesting! How much time do these compilations take, compared to training? |
|
| ▲ | dude250711 2 hours ago | parent | prev | next [-] |
| It must be tough being an ML specialist these days: do you want your account locked or do you want your work sabotaged. |
| |
| ▲ | boldbug 2 hours ago | parent | next [-] | | how is this related to the post? | | | |
| ▲ | amelius 2 hours ago | parent | prev [-] | | It's great to be an ML specialist. It's the only job the AI labs will not automate away because all their responses in this field are sabotaged. |
|
|
| ▲ | baq 2 hours ago | parent | prev | next [-] |
| also compile z3 or a smaller sat solver into the weights and train the whole thing to use it |
|
| ▲ | hoppp 2 hours ago | parent | prev | next [-] |
| Continual knowledge updates sound good on paper but give it time with me and it'll learn to curse back like a mofo |
| |
|
| ▲ | Sena_997 34 minutes ago | parent | prev | next [-] |
| very misleading title, like someone might assume that LLM wrote weights directly |
|
| ▲ | zkmon 44 minutes ago | parent | prev | next [-] |
| Is this possible because the frontier models saw the weights of the open-weights models (and maybe their own)? |
| |
|
| ▲ | deadbabe 2 hours ago | parent | prev | next [-] |
| Ok, so if we can do this kind of thing fast enough it seems like eventually we don’t need context we can just update weights with memory of every prompt and output built right into the model? |
| |
|
| ▲ | blondie9x 2 hours ago | parent | prev | next [-] |
| Where is it noted that Gemma 4 was used as the initial model? |
| |
| ▲ | spider-mario 2 hours ago | parent [-] | | Not as the initial model. Rather (per the preprint), > The compiler that builds the tables was designed by an LLM, Gemini 4 Neon [6]. Rather than writing weight values one by one, Gemini 4 Neon used corpus statistics as the initial weights, and it proposed a set of complementary channels, each capturing a different kind of regularity in text (Table 1). |
|
|
| ▲ | MisterPea 18 minutes ago | parent | prev [-] |
| It's all Joever. Iterations on this has extremely large implications on alignment |