It should never be necessary to beat a child. Parents who beat their children are ignorant and stupid. Perhaps it is the way that they themselves were raised, but that's no excuse.
I believe every child who was beaten remembers how dreadful it feels, so if your parents are beating you I think you should talk with them. Tell them you will try to do your best if they just talk to you and explain what they think is a problem. Tell them you're sorry if they were beaten as children, but beating you will only make you hate them, and you don't want to hate them.
Then try your best to show them that 'talking' to you is far more effective in changing your behavior than beating you.