Unofficial Hacker News companion — get notified on comment replies, and more.

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

528 points by umjunsik132 1 day ago | weights-as-code.pages.dev | 183 comments on HN | Vote on HN (opens Hacker News) |

View full thread · View on Hacker News

Comment thread (2)

  1. Could you maybe try applying an update function that dampens changes to large weights while amplifying small ones, like the logistic function with k=0.5?

    There may also be a way to “smear” the weights out over multiple layers (basically apply both forward and back propagation) in a training run where the goal is to hold the output the same (minimize changes to the cost as opposed to minimizing the cost itself)

    Replies (1)
    1. > Could you maybe try applying an update function that dampens changes to large weights while amplifying small ones, like the logistic function with k=0.5?

      That kind of sounds like what we should already be doing. What are the odds that each neuron is equally sensitive, w.r.t. the loss?