Do you really have to pay attention not to hold your breath while ascending?
I'd have thought you'd feel your lungs expanding and you'd have the reflex to let the air go away. Although on the other hand it's probably not a situation common enough for us to have evolved an inate reaction to it.