Login
You're viewing the functional.cafe public feed.
  • Nov 20, 2026, 9:55 PM

    @drahardja I've thought for a while that it should be possible (if quite expensive) to train an LLM in such a way that the contribution provided to its weights by each training input might be recorded, allowing one to determine during inference which document of the training material most heavily influenced each emitted token

    I don't have the know-how, time, or energy to do this but I wish somebody would, if only for a 'toy' LLM: it might encourage a shift in how we think about their outputs.

    💬 1🔄 0⭐ 0

Replies

  • Nov 20, 2026, 10:03 PM

    @jsbarretto I don’t think that’s practical. The weights in the models encode in a sense a “smeared” approximation of every training input the model has ever received. To record their influences would mean a table that lists every possible input and its influence at every node. The size of that table would be astronomical (billions of entries each for billions of nodes). If each entry takes one byte and there are a billion training inputs for a billion parameters, we’re talking 10^18 bytes, probably more storage than has ever been created in history.

    💬 1🔄 0⭐ 0
  • Nov 20, 2026, 10:05 PM

    @drahardja Oh, for sure. You'd be adding an entire extra dimension of bookkeeping in the general case. But I think it should be possible to draw up a very simple approximation that, say, quantises the contribution of each piece of training material and then comes up with a result for each token based on a weighted sum of that quantised value across the weights for each inference step

    💬 1🔄 0⭐ 0
  • Nov 20, 2026, 10:08 PM

    @drahardja Like, the only thing you need to record is, for each weight (or even just a tiny subset of the weights!) a fairly small vector of numbers that records the contribution to that weight of a particular 'training data bin' and then you have different combinatorial bins for each weight in the model, allowing you to uniquely differentiate them across many weights in a fairly reliable manner

    💬 1🔄 0⭐ 0
  • 💬 1🔄 0⭐ 0
  • Nov 20, 2026, 10:26 PM

    @jsbarretto No I think you’re doing a fine job! The problem is the sheer scale of it. We are talking about tens of billions of weights, each recording billions of sources, even if binned.

    💬 1🔄 0⭐ 0
  • Nov 20, 2026, 10:27 PM

    @drahardja Yeah, but you don't need to do it for all of them. Even just a few tens of thousands of weights randomly chosen before training would be enough to give you a pretty reliable answer as to which resource contributed the most in each feed-forward step

    💬 0🔄 0⭐ 0