I was way productive at home, but often times I felt work from home was actually too intense and it was easier to go into work.
But here was always my problem, it is really hard to differentiate between the smart slackers at home and the hard working ones. And more than once, I was burned by really smart people who wanted to use their super powers to slack off.