I am not savvy enough about how it's being done to know how to stop it.
If it's all coming from a few IP addresses, one would think rate limiting might help.
Requiring new accounts to perform a certain amount of PoW to post to a relay might help.
Requiring all new accounts to put up some sats to post to a relay might help.
But many of the possible solutions also add hurdles for legitimate new users.