I think society as a whole has a pretty irrational perspective on paedophiles, because it's an emotional issue where people can't bring themselves to defer to cold, hard logic. It's pretty much the one area where I feel more forward-thinking than most of my liberal friends.
Firstly paedophiles should be differentiated from child molesters as the two are conflated by most people. The former hasn't necessarily committed a crime and may very well appreciate that they have a mental disorder and make every attempt to avoid acting on their compulsions (check out the Kevin Bacon film The Woodsman for a very nuanced take on the subject).
I think the conversation needs to be less of "we need to kill/sterilise/forever imprison these people" and more towards the mental health issue, but unfortunately it's easier to just dehumanise them and throw away any prospect of help or rehabilitation. Ironically the stigma just makes people less likely to seek help and therefore create a higher risk of them offending without any sort of support structure. It makes me feel sorry for these people.
I once raised this viewpoint during a night out when someone said "we should just castrate and burn the lot of them" and pretty much sucked the air out of the room.
I hope that in future decades there are more avenues open to these people, but it will be an extremely slow process and probably not something I'll see in my lifetime.