AI subs do not use active sonar.
The most likely cause of AI subs moving at high speed and cavitating is a flawed doctrine that causes all platforms on a side to intercept and unknown contact to ID it, regardless of whether or not the platform was at comms depth. There is a risk of this occurring in any scenario that has a sub with allied air or surface platforms that may detect unknown platforms and have some distance to go before they track them down.
__________________
|