In this paper, we investigate the interference alignment schemes for the downlink of a heterogeneous network (HetNet), where the macro base station (BS) can serve arbitrary number of macro users. Furthermore, the number of data streams for macro users and pico users can be different. Firstly, we propose a basic grouping method aided interference alignment (IA) scheme and derive the transmit and receiver beamforming matrices in a closed-form expression. Furthermore, for the case where the number of antennas at pico BS is equal to the number of antennas at each user, we propose an advanced generalized eigenvalue decomposition (GEVD) based grouping method aided IA scheme which can reduce the number of transmit antennas required at the pico BS compared to the basic grouping method aided IA scheme. Moreover, we also derive the maximum total achievable degrees of freedom (DoF) for each scheme. In addition, it can be proved that the maximum total achievable DoF of the GEVD based grouping method aided IA scheme is higher than or equal to that of the basic grouping method aided IA scheme for the same configuration. INDEX TERMS Interference alignment, heterogeneous network, basic grouping method, GEVD.