The officers were treated for minor injuries after they were called to a group of young people gathering outside the station on Friday night.
British Transport Police (BTP) said the officers approached the group and asked them to leave just before 10.30pm.
Several members of the group then attacked the officers.
Five people were arrested in connection with the incident.
The transport police are now appealing for anyone with information to come forward.
Police Scotland said: “Officers are keen to hear from anyone who may have witnessed the incident.
“Three officers received medical treatment, but thankfully only sustained relatively minor injuries.”
“Any witnesses or anyone with information can contact BTP by texting 61016 or calling 0800 40 50 40 quoting reference 581 of 12/03/21.
“Alternatively, you can call Crimestoppers anonymously on 0800 555 111.”