You could take a page out of quadratic voting and scale costs nonlinearly. Then spamming would be disproportionately costly. This raises some interesting problems like, why not simply create multiple accounts, which have a different tradeoff calculus.