Search Blogs

Sunday, November 29, 2026

Elemental Abundance

I don't think enough about one of the most basic constraint when it comes to materials we use in technology, what elements/ores are actually readily available in large enough quantities on this planet. Futhermore, how hard they are to extract from whatever ore or mineral they sit in. A figure I saw years ago and came across again is William F. Sheehan's periodic table. It's a cartogram where the size of each element's box roughly reflects its abundance at Earth's surface.

The Elements According to Relative Abundance (Sheehan 1976)
Figure 1. The Elements According to Relative Abundance (Sheehan 1976)

Sheehan's point with this diagram (or at least I think so!) was that a chemist and materials engineer would keep running into the same few elements. From my experience materials and process engineers also spend a lot of time thinking about what it costs to get those elements into a form we can use.

So the activity here is to work through how much the availability of ore/minerals we can process has constrained which materials "won", and I think it has mattered more than I would have given it credit for. Its particularly apt in the digital Intelligence Age where compute based on silicon is crucial.

Crustal composition

The numbers people usually quote for "what is in the crust" come from geochemical compilations1. For the table below I used Rudnick and Gao's estimates for the upper continental crust [1]. Figure 2 shows the crust is a thin shell on top of the mantle, with oceanic crust thinner than continental crust, and essentially all of the bulk ores we mine sit in that thin shell (or in sediments and seawater at its surface), not in the deep interior.

USGS cutaway of Earth's interior
Figure 2. USGS cutaway of Earth's interior

So here is how some of the most abundant elements compare by mass in the crust.

Element Abundance (wt%) Example form or use
O ~47.5 Silicates and other oxides
Si ~31 Silica, sand, quartz
Al ~8.2 Bauxite
Fe ~3.9 Hematite, magnetite
Ca ~2.6 Limestone, cement
Na, K ~2.4, ~2.3 Evaporites, fertilizers
Mg ~1.5 Magnesite, seawater
Ti ~0.4 Rutile, ilmenite

Oxygen is at the top and mostly bound up in rocks as oxides.

Abundance is not the same as easy processing

What matters for technology is the combination of abundance, ore concentration, and processing cost. Vaclav Smil has written a book [2] on how material extraction and energy use are tied together in modern civilization, and that framing is useful here because the elements we use cheaply at scale tend to occur in forms we've figured out how to process. Iron is the classic example. It occurs in large, relatively concentrated ore bodies and can be smelted using carbon, first from charcoal and later from coke. Probably a big part of why iron became so widely used, from the Iron Age through the Industrial Revolution when the Bessemer process made it possible to turn iron into steel at a much larger scale.

From the table, Aluminum is more abundant than iron in the crust, and for a long time it was a luxury metal.Mainly because getting it out of its ores was so difficult. The industrial route is to refine bauxite into alumina, then reduce the alumina by electrolysis in the Hall-Héroult process. Making aluminum cheaply at scale took that process and access to large quantities of electricity. Abundant ore only gets you so far when the reduction chemistry is brutal.

Calcium in limestone is another straightforward case. You quarry the limestone, fire it with other minerals to make clinker. Then you grind that with a little gypsum to make Portland cement ... this is the basic ingredient of the concrete. Sodium, potassium, and magnesium show up again and again in chemical production, agriculture, and alloys, helped by the fact that they can be recovered from sources like salt deposits and brines.

The main thing I take from this is that usable abundance depends on ore quality and processing path, not just the number in a geochemistry table.

Silicon, germanium, and the solid-state era

If you have taken solid-state physics or electronic materials, you know the band structure story ... where metals, semiconductors, and insulators differ in how their electrons fill the available bands. The first working transistor demonstrated at Bell Labs in 1947 used germanium. Germanium has favorable electron mobility and was an early choice for solid-state devices. However, Germanium is also rare in the crust.

In the upper continental crust it comes in at about 1.4 parts per million by mass, while silicon makes up about 31% [1]. Once engineers figured out that you could grow a stable layer of silicon dioxide on silicon easier then Ge and this is key to making reliable devices at scale as the oxide can be used to protect devices during fabrication and as the gate insulator in a MOSFET. This along with semiconductor doping became the foundation of the silicon revolution.

Carbon-Steel

Talk to you family member and they might think of "iron" as being hard and strong but pure iron is relatively soft. Add a small amount of carbon and you make steel. If you further adjust the chemistry and the heat treatment we can even get much higher strength. The issue is that Carbon is relatively scarce in the crust (maybe its concentrated but on average not). Fortunately organics and geological processes have been making solid-state and concentratedcarbon for a long time, so charcoal and coke from biomass and coal have long been available for steelmaking. So the pattern repeats. We start with an abundant base, control the chemistry with small additions, and process it at scale.

So what does that imply?

We still name epochs after materials (stone, bronze, iron, silicon) because those are the systems that were available and processable at the time. It seems clear to me that if silicon were as scarce as gold, we would have not gotten the computing industry to scale the way it did, and if iron reduction had remained impractical at large scale, the industrial infrastructure of the last two centuries would look very different. Human ingenuity obviously matters, and we are very resourceful ... which is part of what makes us so intelligent. But we ultimately operate on a menu set by geology and process economics.

That's what I take from Sheehan's big boxes in Figure 1. An element can be ubiquitous enough to build at scale, and we take things further by adding a little bit of another less abundant element that can still do much of the work of giving it the properties we need.

Footnotes


  1. Seems like the exact numbers depend on whether you use upper crust, bulk continental crust, or whole-Earth estimates. I (i.e. agents) just converted the major-oxide values in Rudnick and Gao's Table 3 to elemental mass fractions, with oxygen estimated by summing the oxygen in those oxides. Rudnick and Gao report germanium directly in ppm. ↩

References

[1] Rudnick, R. L., & Gao, S. (2003). Composition of the Continental Crust. In Treatise on Geochemistry (Vol. 3, pp. 1--64). Elsevier. https://doi.org/10.1016/B0-08-043751-6/03016-4
[2] Smil, V. (2023). Materials and Dematerialization: Making the Modern World (2nd ed.). Wiley.

Reuse and Attribution

Sunday, October 11, 2026

The Everything Bagel Phase

I was thinking about how universal these foundation MLIPs are, or more specifically, what universality actually means. Some use "foundation" or "pre-trained," which is probably more accurate, i.e. a training recipe of broad data and then deploy, whereas universal would be a potential energy surface (PES) that still behaves for any chemistry regardless if it was captured in the training data. The word fight is mostly vocabulary. Still, the blunt question is, what does "universal" get you once the chemistry no longer resembles anything in the training set, where out-of-distribution means that local neighborhood was not an environment the fit saw.

So here is the stunt I came up with: take one cell and every element from hydrogen to francium, $1 \leq Z \leq 87$, put them in a periodic box at equal atomic fractions, attach a foundation MLIP with coverage, and ask how sampling different configurations via swapping sites and relaxing the cell samples the PES.

This is not some insane equiatomic high-entropy alloy ... although it is an insane chemistry ... but it mixes metals, nonmetals, halogens, noble gases, lanthanides, and radioactive species that barely exist long enough to sit in a box. The chance anyone synthesizes anything close is next to nil. For fun let me call this fictitious initial state the Everything Bagel Phase. Phase is loose here, it names the starting configuration, not a claim that 87 elements form a stable homogeneous thermodynamic phase.

The digital experiment

Equal mole fractions, $x_i=1/87$, so $N=87m$ with $m$ copies of each element. The probe3 below uses $m=1$ ($N=87$), which may introduce finite-size noise effects. A serious run wants tens or hundreds of atoms per species but not trying to spend more than few minutes on this with my compute.

I kept the composition closed ... and of course we can't capture nuclear decay since we have classical nuclei on a learned PES, no explicit electrons or plasma chemistry. Also we are working with periodic boundaries. The search below is a labeling on this PES, so it is not a claim that the cell found the thermodynamic ground state of an 87-component mixture.

The oracles here are just whichever few MLIP ASE calculators will take the whole cell. The calculator has to take every $Z$ from 1 through 87, and the thing to note on the Matbench Discovery diatomics page is that Po, At, Rn, Fr, and Ra are already off the scored curves so the metric stays compatible with Materials Project compositions, the same cut MACE-MPA-0 [1] and M3GNet [2] follow when their element tables skip $Z=84$ through $88$, which puts those models out on this cell. I stayed on the three that accept the full cell, mattersim_v1_5m, orb_v3 (orb-v3-conservative-inf-mpa), and orb_v3_direct_inf (orb-v3-direct-inf-mpa) [3], with orb-models 0.5.4. Both ORB models one-hot atomic number out to 117, and their reference-energy tables are filled through Ra, with Po, At, Rn, and Fr in the table and a filler near $-4.9$ eV from Ac onward. Open MatterSim v1.0.0-5M [4] is one of the three, its embedding runs to $Z=94$ and its paper describes support for the first 89 elements, and the H through Fr cell has a finite energy on all three. The swap and cell-relax loops are in the footnotes.3

Random packing at some guessed "average density" mostly tests overlapping cores. There is no meaningful average density for H, Xe, W, Hg, F, and Fr together I can think of. A less pathological path is a radius-aware pack at low density, then a soft-repulsive cleanup, then the MLIP. Figure 1 is one instance of H through Fr ($N=87$) in a cubic cell of side $13.18$ Å ($V=2290.6$ Å$^3$), density from a covalent-radius volume proxy at packing fraction $0.64$ ($\rho \approx 6.64$ g/cm$^3$), and the soft-overlap push got the shortest pair to about $1.44$ Å.

One atom of each element H through Fr in a soft-overlap-relaxed periodic cell. Left, colored by atomic number $Z$. Right, the same cell colored by chemical class.
Figure 1. One atom of each element H through Fr in a soft-overlap-relaxed periodic cell. Left, colored by atomic number $Z$. Right, the same cell colored by chemical class.

Local minima searching

Starting with a trial, which is one proposal of two random atom pairs swapping labels, then FIRE relaxes the cell and the positions together on a FrechetCellFilter at $P=0$, and the state updates only when $E/N$ drops. The shortest pair permitted is at least $1.0$ Å, and the volume is constrained to stay between $0.45$ and $2.2$ times the initial volume.

There are sixty trials on one seed for each of mattersim_v1_5m, orb_v3 (conservative, unlimited neighbors), and orb_v3_direct_inf (direct forces, same cutoff), so one hundred twenty pair swaps were proposed per model, of which MatterSim kept fourteen, ORB v3 conservative kept thirteen, and ORB v3 direct kept fifteen. Rather than compare absolute $E/N$ across models, in Figure 2 the drop from each model's own start against accepted trials is shown. MatterSim finishes $0.20$ eV/atom down, its largest single drop being Mg with S and Re with Ni ($-0.042$), ORB v3 conservative finishes $0.19$ eV/atom down, its largest single drop being Pb with Y and Dy with W ($-0.043$), and ORB v3 direct finishes $0.16$ eV/atom down, its largest single drop being Mo with As and Sn with Ni ($-0.031$), with a short further relax of those three landing at $-4.949$, $-5.191$, and $-5.137$ eV/atom.

The first trial is the same on all three, Ti with At and Eu with Ni, kept by MatterSim and by the direct model, and the conservative model leaves the state unchanged. Density barely changes, and those values and shortest/largest first-neighbor distances are shown in the table below ... just as point of reference, stainless steel is about $8$ g/cm$^3$.

Packed MatterSim ORB cons. ORB direct
Density (g/cm$^3$) 6.64 6.66 6.68 6.60
Shortest pair (Å) 1.77 1.75 1.79 1.72
Largest first-neighbor pair (Å) 3.33 3.40 3.43 3.47

Because every element appears once, a partial radial distribution function (RDF) by element is a single distance, so the structure info is shown in Figure 3, each entry is how many atoms of one class have the other class as their closest neighbor.2 MatterSim piles metals next to metals ($11$ to $16$), ORB conservative sits in between, and ORB direct does not follow that metal-metal rise, while lanthanide-halogen contacts fall from $5$ on the packed cell toward $1$ under ORB direct. Alkali-halogen stays rare, and metal-halogen is zero for every model. With one atom per element these counts are small, so this is a packing-and-disagreement check, and not so much a motif one.

The final structure in Figure 4 is the MatterSim cell after those sixty trials, $-4.949$ eV/atom at $\rho \approx 6.66$ g/cm$^3$. Sixty trials are a local sample of the labeling, not a ground state.1

Sixty trials on the packed $N=87$ cell, plotted as accepted trials only. Each trial swaps two random pairs and FIRE-relaxes cell and positions. The curves are the energy drop from each model's own start for MatterSim, ORB v3 conservative, and ORB v3 direct. Leader labels mark the first kept trial and each model's largest single drop.
Figure 2. Sixty trials on the packed $N=87$ cell, plotted as accepted trials only. Each trial swaps two random pairs and FIRE-relaxes cell and positions. The curves are the energy drop from each model's own start for MatterSim, ORB v3 conservative, and ORB v3 direct. Leader labels mark the first kept trial and each model's largest single drop.

Nearest-neighbor class pairing after sixty trials. Each panel is a count matrix, row is the center atom's class, column is its closest neighbor's class, for the packed start and each model's incumbent. Class abbreviations marked on the axes are defined in the footnotes.
Figure 3. Nearest-neighbor class pairing after sixty trials. Each panel is a count matrix, row is the center atom's class, column is its closest neighbor's class, for the packed start and each model's incumbent. Class abbreviations marked on the axes are defined in the footnotes.

MatterSim cell after sixty trials, $E/N\approx -4.949$ eV/atom, $\rho\approx 6.66$ g/cm$^3$. Left, colored by atomic number $Z$. Right, the same cell colored by chemical class.
Figure 4. MatterSim cell after sixty trials, $E/N\approx -4.949$ eV/atom, $\rho\approx 6.66$ g/cm$^3$. Left, colored by atomic number $Z$. Right, the same cell colored by chemical class.

What the swaps say

Of course trying to synthesize the Everything Bagel is a stunt rather than providing utility. My main interest was just to see what foundation MLIPs would do if handed some ridiculous chemical system cell. I also was curious about the agreement between them, although in this case its just really two types and one of a different flavor. The MLIPs did return finite energy, and under the volume constraint the drop from each model's own start seemed reasonable and controlled. While the kept atom pairs are not the same, and after the first trial those three searches are already on different structures, so there is a split in the search/acceptance.

I'm not entirely sure this answered my initial question about how well these would do with something so out of distribution, although truth is my question may have actually not really been well posed because there is nothing to validate against. But it is an interesting exercise about MLIPs and their behavior under extreme conditions.

Footnotes


  1. You can view and download the same final cell as Figure 4, rotatable in MatterViz. ↩

  2. In Figure 3, Ae* is alkaline earth, Ln† is lanthanide, and MG‡ is other main-group (B, Al, Si, P, S, Ga, Ge, As, Se, In, Sn, Sb, Te, Tl, Pb, Bi, Po). ↩

  3. Core ASE loops (calculator attach omitted) code block below. Each swap trial relaxes the cell and the positions together. ↩↩

    ASE Loops
    
              from ase.optimize import FIRE
              from ase.filters import FrechetCellFilter
    
              def relax(atoms, fmax=1.0, steps=40):
                  """FIRE on cell and positions at zero pressure."""
                  filt = FrechetCellFilter(atoms, scalar_pressure=0.0)
                  FIRE(filt, 
                       logfile=None,
                       maxstep=0.04).run(fmax=fmax, steps=steps)
                  return atoms
    
              def swap(numbers, rng, n=2):
                  """Swap n random pairs of species labels."""
                  out = numbers.copy()
                  for _ in range(n):
                      i, j = rng.choice(len(out), 2, replace=False)
                      out[i], out[j] = out[j], out[i]
                  return out
            

References

[1] I. Batatia, P. Benner, Y. Chiang, others, A Foundation Model for Atomistic Materials Chemistry, The Journal of Chemical Physics 163 (2025) 184110. https://doi.org/10.1063/5.0297006.
[2] C. Chen, S.P. Ong, A Universal Graph Deep Learning Interatomic Potential for the Periodic Table, Nature Computational Science 2 (2022) 718–728. https://doi.org/10.1038/s43588-022-00349-3.
[3] B. Rhodes, S. Vandenhaute, V. {\v{S}}imkus, others, {Orb-v3}: Atomistic Simulation at Scale, arXiv Preprint arXiv:2504.06231 (2025). https://doi.org/10.48550/arXiv.2504.06231.
[4] H. Yang, C. Hu, others, {MatterSim}: A Deep Learning Atomistic Model Across Elements, Temperatures and Pressures, arXiv Preprint arXiv:2405.04967 (2024). https://doi.org/10.48550/arXiv.2405.04967.

Reuse and Attribution

Sunday, September 20, 2026

Be goal oriented!

Idea-chasing versus taking goal-driven path and picking up tools/ideas as you go
Figure 1. Idea-chasing versus taking goal-driven path and picking up tools/ideas as you go

I came across this read by John Schulman, the short essay An Opinionated Guide to ML Research, which is old but still lands hard. The distinction that stuck with me is goal-driven versus idea-driven research. Idea-driven is the mode I've always assumed how to do things and is much of how research works, i.e. you read a paper that does X, you get an idea for doing X better, and you chase that idea. Goal-driven is different. You pick a concrete capability you actually want to exist, then you solve whatever subproblems get you closer to it, borrowing methods when they help and inventing when they do not. I had never really framed basic research that way, and after sitting with it I am pretty bullish on the goal-oriented approach.

The real takeaway is that a goal keeps you focused when the resource pool for ideas is loud, and it also gives you a shot at being potentially novel ... at least I think so ... because your questions come from the capability you care about achieving rather than from the same corpus everyone else just fishes through. Schulman's point is not that ideas are worthless, just that taking such a path has the potential that you get scooped or you spend months on a 10% tweak with no larger target of value. The focus of Schulman's essay is on ML research, but it has broad applicability.


Reuse and Attribution