Federated learning is a decentralized learning architecture that consumes a lot of network transmission resources.A new adaptive clustering scheme is proposed to reduce communication costs in federated learning.The scheme dynamically adjusts the number of clusters to find the most ideal grouping results.Experimental results show a reduction of communication and transmission costs by almost 50% without affecting model accuracy.