Australia, Japan and the US on Sunday committed to closer military cooperation in training their forces as the countries deepened their ties in a bid to counter China's military strength.