Edge Rewrite
// request.cf · coarse context

A page that knows where it met you.

Only coarse request metadata is shown. This demo does not display or persist visitor IP addresses.

Country
US
Cloudflare location
CMH
Connection
HTTP/2
Language
Not provided

Ray ID: a257ff486f9ead68

Jump to content

Talk:Mixture of experts

Page contents not supported in other languages.
Add topic
From Wikipedia, the free encyclopedia
Latest comment: 1 year ago by Cosmia Nebula in topic Some redacted stuff

Some redacted stuff

[edit]

Pretty useless, but might be interesting...

In Hash MoE, routing is performed deterministically by a hash function, fixed before learning begins. For example, if the model is a 4-layered Transformer, and input is a token for word "eat", and the hash of "eat" is , then the token would be routed to the 1st expert in layer 1, 4th expert in layer 2, etc. Despite its simplicity, it achieves competitive performance as sparsely gated MoE with .

In soft MoE, suppose in each batch, each expert can process queries, then there are queries that can be assigned per batch. Now for each batch of queries , the soft MoE layer computes an array , such that is a probability distribution over queries, and the -th expert's -th query is . However, this does not work with autoregressive modelling, since the weights over one token depends on all other tokens'.

pony in a strange land (talk) 03:35, 2 February 2025 (UTC)Reply