7 comments

  • magicalhippo 2 hours ago

    I'm having a very dense moment I think, and it's been far to long since the statistics courses.

    They state the output of a neuron j is a log density P_j(y), where y is a latent variable.

    But how does the output from the previous layer, x, come into play?

    I guess I was expecting some kind of conditional probabilities, ie the output is P_j given x or something.

    Again, perhaps trivial. Just struggling to figure out how it works in practice.

  • zakeria 5 hours ago

    uGMM-NN is a novel neural architecture that embeds probabilistic reasoning directly into the computational units of deep networks. Unlike traditional neurons, which apply weighted sums followed by fixed nonlinearities, each uGMM-NN node parameterizes its activations as a univariate Gaussian mixture, with learnable means, variances, and mixing coefficients.

  • ericdoerheit 3 hours ago

    Thank you for your work! I would be interested to see what this means to a CNN architecture. Maybe it wouldn't actually be needed to have the whole architecture based on uGMM-NNs but only the last layers?

    • zakeria 2 hours ago

      Thanks - good question, in theory, the uGMM layer could complement CNNs in different ways - for example, one could imagine (as you mentioned):

      using standard convolutional layers for feature extraction,

      then replacing the final dense layers with uGMM neurons to enable probabilistic inference and uncertainty modeling on top of the learned features.

      My current focus, however, is exploring how uGMMs translate into Transformer architectures, which could open up interesting possibilities for probabilistic reasoning in attention-based models.

  • vessenes 3 hours ago

    Meh. Well, at least, possibly “meh”.

    Upshot: Gaussian sampling along the parameters of nodes rather than a fixed number. This might offer one of the following:

    * Better inference time accuracy on average

    * Faster convergence during training

    It probably costs additional inference and training compute.

    The paper demonstrates worse results on MNIST, and shows the architecture is more than capable of dealing with the Iris test (which I hadn’t heard of; categorizing types of irises, I presume the flower, but maybe the eye?)

    The paper claims to keep the number of parameters and depth the same, but it doesn’t report as to

    * training time/flops (probably more I’d guess?)

    * inference time/flops (almost certainly more)

    Intuitively if you’ve got a mean, variance and mix coefficient, then you have triple the data space per parameter — no word as to whether the networks were normalized as to total data taken by the NN or just the number of “parameters”.

    Upshot - I don’t think this paper demonstrates any sort of benefit here or elucidates the tradeoffs.

    Quick reminder, negative results are good, too. I’d almost rather see the paper framed that way.

    • zakeria 3 hours ago

      Thanks for the comment. Just to clarify, the uGMM-NN isn't simply "Gaussian sampling along the parameters of nodes."

      Each neuron is a univariate Gaussian mixture with learnable mean, variance, and mixture weights. This gives the network the ability to perform probabilistic inference natively inside its architecture, rather than approximating uncertainty after the fact.

      The work isn’t framed as "replacing MLPs." The motivation is to bridge two research traditions:

      - probabilistic graphical models and probabilistic circuits (relatively newer)

      - deep learning architectures

      That's why the Iris dataset (despite being simple) was included - not as a discriminative benchmark, but to show the model could be trained generatively in a way similar to PGMs, something a standard MLP cannot do. Hence, the other benefits of the approach mentioned in the paper.

      • vessenes an hour ago

        Thanks for writing back! I appreciate the plan to integrate the two architectures. On that front, it might be interesting to have a future research section - like what would be uniquely good about this architecture if scaled up?

        On ‘usefulness’ I think I’m still at my original question - it seems like an open theoretical q to say that the combination of a tripled-or-greater training budget, data size budget of the NN, and probably a close to triple or greater inference budget, the costs of the architecture you described, cannot be closely approximated by the “fair equivalent”-ly sized MLP.

        I hear you that the architecture can do more, but can you talk about this fair size question I have? That is, if a PGM of the same size as your original network in terms of weights and depth is as effective, then we’d still have a space savings to just have the two networks (MLP and PGM) side by side.

        Thanks again for publishing!