Automatic fault diagnosis for autonomous underwater vehicles using online topic models