lattice decoding with sparse features