The method is described in full in the American Journal of Human Genetics.
However, very briefly, the method first assesses patterns of local LD by calculating a matrix of local pairwise squared-correlations between SNPs. Row i of this matrix will indicate to what extent the signal of SNP i is replicated by its neighbouring SNPs, and the sum of these values will reflect the total amount that the signal of SNP i is replicated. Based on this matrix, LDAK determines SNP weightings so that the sum of the values in Row i times the SNP weightings equals (approximately) one. Then, using these weightings, LDAK calculates an adjusted kinship matrix where the (relative) contribution of each SNP is determined by its weight. Without these weightings, genetic variation tagged by many SNPs will have an exaggerated effect when calculating genetic similarities; with these weightings, each independent genetic signal should contribute approximately equally.