Post above is good, I think a lot of people get caught up in doing this;
- defend pass, defend pass, accept they are going to be passed, try to escape.
When they should be doing this;
- defend pass/try to attack, defend pass/try to attack, realise you're going to be passed, immediately start to escape/regain guard.
Same goes for being swept. You should fight against it but as soon as you realise you are definitely getting swept you need to switch your movement to escaping. It's much easier to part escape during the sweep than after they've establish a dominant top position.
So, in a nutshell; start escaping before they secure the position.