Unofficial Hacker News client - receive Push Notifications on replies.

I built an LLM where Gemini 4 wrote the initial weights as code (opens external site)

491 points by umjunsik132 15 hours ago | weights-as-code.pages.dev | 164 comments on HN | Vote on HN (opens Hacker News)

View full thread · View on Hacker News

Comment thread (5)

  1. 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.
    Replies (2)
    1. Not analogous in this context, as the LLM Gemini built is a small one compared to Gemini 4 itself.
      Replies (2)
      1. You can’t really compare it as this is a completely different architecture. Remember the 97% of the store bytes of the model is initially in that sparse table, then about 3% of the bytes are in form of the 103 million parameters is trained with gradient decent. It’s probable that this model could be improved if that corpus could be improved about, because human corpus contain many falsehoods.
      2. what's the smallest LLM that can improve itself into a more complex LLM?
    2. No it's not.

      A Gödel Machine is very specific kind of self-improving machine (which is essentially impractical and primarily a thought-experiment) [1]. But more to the point, this is not even a self-improving machine. It's problem in "weight space" that writes another program in "weight space". Cool but no guarantee it is self-improving. If a program writing in python writes another program written in Python to solve a particular problem, that's not (by default usually) recurrent self-improvement.

      Edit: Also, neural networks that rewrite some of their parameters have existed since the 90s and Jurgen Schihuber (of course) showed these "fast-slow" networks were equivalent to linearalized transformers in the 2010s.

      [1] https://en.wikipedia.org/wiki/G%C3%B6del_machine