How do you translate

"intellectual masturbation"

I got to translate that meaning, but really I'm not sure it is feasible. I mean in English (and french for that matter), it is not rude to say that. Usually funny.

Thx

Mord

PS: Plz no reply like "учить русский язык"