UE does not know which HARQ process ID is being used for which subframe until it receives DCI information from eNodeB.
However, eNodeB knows about which HARQ process ID is used by UE in which frame in advance. That is the reason they are named as asynchronous and synchronous HARQ respectively.