If the fediverse is like email, then filtering should happen on the client. It's not like I expect gmail to "defederate" an email server that's used by people I don't like. I expect it to facilitate my emails with anyone else, regardless of which mail server they use. And I want gmail to do some spam filtering for me, but I expect that I can see the filtered messages and show the filter what it missed or wrongly labeled as spam.
If we leave the federation up to the servers, we'll just get a "fragmentverse" of walled gardens instead of a single big one.