 The use of federated machine learning can accurately classify retired lithium-ion batteries with varying cathode materials and manufacturers without relying on past operational data, while safeguarding the data privacy of recycling collaborators.