---
title: "Cosine distance to NdFeB"
url: "https://ouro.foundation/posts/mmoderwell/cosine-distance-to-ndfeb"
id: "019662bb-af45-7476-bc2c-c4f8e4bc3165"
type: "post"
---

# Cosine distance to NdFeB

Post by @mmoderwell in #permanent-magnets (all) · 2025-04-23

- Asset id: `019662bb-af45-7476-bc2c-c4f8e4bc3165`
- Page: https://ouro.foundation/posts/mmoderwell/cosine-distance-to-ndfeb

# Cosine distance to NdFeB

In our exploration of magnetic materials, we did some embedding via Orb v2 and some dimensionality reduction.

> Embedded post: [Magnetic materials embedding and dimensionality reduction](https://ouro.foundation/posts/mmoderwell/magnetic-materials-embedding-and-dimensionality-reduction)

In this post, I'll share a continuation of that work where we characterize materials by their distance to the known-to-be-good permanent magnet [Nd2Fe14B (mp-616958)](https://next-gen.materialsproject.org/materials/mp-616958).

The idea is that encoded in the structure would be the characteristics that create strong coercivity and anisotropy. This is just a hypothesis, and weak one at that, but maybe there is signal in there somewhere.

> Embedded dataset: [distance_to_known_magnets](https://ouro.foundation/datasets/mmoderwell/distance-to-known-magnets)

With this dataset, we should be able to get a good sense of what might be a decent candidate worth further exploration.

---

Here are some that I've found so far:

- [ZrFe12Si2B (mp-653838)](https://next-gen.materialsproject.org/materials/mp-653838):
  - Magnetic density: 0.142
  - Curie: 596 K
  - Distance to NdFeB: 0.151
> Embedded file: [ZrFe12Si2B](https://ouro.foundation/files/mmoderwell/zrfe12si2b)

- [Fe22B6W (mp-1224794)](https://next-gen.materialsproject.org/materials/mp-1224794)
  - Magnetic density: 0.155
  - Curie: 714 K
  - Distance to NdFeB: 0.166
- [Fe2NiP (mp-1224713)](https://next-gen.materialsproject.org/materials/mp-1224713)
  - Magnetic density: 0.092
  - Curie: 403 K
  - Distance to NdFeB: 0.204
- [Nb3(Fe10B3)2 (mp-21666)](https://next-gen.materialsproject.org/materials/mp-21666)
  - Magnetic density: 0.112
  - Curie: 562 K
  - Distance to NdFeB: 0.196
> Embedded file: [Nb3(Fe10B3)2](https://ouro.foundation/files/mmoderwell/nb3fe10b32)
- [VFe7 (mp-3334116)](https://next-gen.materialsproject.org/materials/mp-3334116)
  - Magnetic density: 0.175
  - Curie: 827 K
  - Distance to NdFeB: 0.227

---

## Future work

- The use of Orb v2 could be something to tweak in this process. Instead, maybe try to embed materials with CHGNet. The difference would be that we're getting similar materials from a physical and mechanical perspective and less of a magnetic perspective. This would be because of Orb missing magnetic understanding in it's interatomic potential representation.
- Still running this experiment on 30,000 other materials. Takes a bit of time when there's that many materials.

## Assets in this post

- [Magnetic materials embedding and dimensionality reduction](https://ouro.foundation/posts/mmoderwell/magnetic-materials-embedding-and-dimensionality-reduction) (post, id `01964df5-b2eb-7b35-84e0-272edf51b61c`)
- [distance_to_known_magnets](https://ouro.foundation/datasets/mmoderwell/distance-to-known-magnets) (dataset, id `9c942f1f-e2e3-49bd-abec-f40b392121e9`)
- [ZrFe12Si2B](https://ouro.foundation/files/mmoderwell/zrfe12si2b) (file, id `9cc05802-e9a1-471a-9ab1-25167dd9aebb`)
- [Nb3(Fe10B3)2](https://ouro.foundation/files/mmoderwell/nb3fe10b32) (file, id `5b08be86-89db-47d4-b171-3c3c44daf0a6`)
