Finished ·

Two ways to advance science: mapping and search

Cross-posted to Substack.

Is “computer science” actually a science? We publish in scientific-style journals and conferences, but the actual day-to-day activity looks a lot more like engineering. We’re always attempting to build a contraption that does something. (In databases it’s an efficient database; in machine learning, it’s an algorithm that gives you the bold column in the benchmarks table.) True sciences like chemistry or physics aren’t trying to build stuff, they’re trying to figure out the laws of Nature. What are we doing?

The answer I came to believe is that computer science investigates the design space of possible algorithms. The questions of interest are: what properties do different algorithms have; what laws determine how these properties relate; how can we carve up the algorithm-space to figure out these properties. Viewed this way, computer science is a science like any other: Nature is the mathematical set of algorithms, and the laws we attempt to discover are how these algorithms behave when implemented. I call this ‘mapping’.

Many activities are best thought of as mapping. In machine learning in particular, good papers often have an ‘ablations’ section where they remove parts of their proposed algorithm and observe how important these parts were to the algorithm’s performance.[1] The purest form of mapping in AI are model evaluations, as well as things like building theories that explain model performance, and mechanistic interpretability. The best papers of this kind are those which examine existing algorithms in a new way, thus giving us a new way to measure algorithms for things we care about. Examples are these two papers investigating LLM’s ability to reason, and the ‘feature absorption’ paper in sparse autoencoders.

Another important part of ML is search. We use the map to find algorithms with properties we care about, such as usefulness. We also focus mapmaking efforts to places which will tell us how useful algorithms are. Most machine learning papers fall into this category.

Examples of ‘search’ in other sciences

Chemistry studies the properties of substances. But a large chunk of chemistry papers are about how to synthesize things. Grad students spent years trying various combinations of reagents to improve the yield of reactions or decrease the number of steps. This is very important for the field, because you can only measure properties of substances if you have them, and being able to make substances more cheaply and easily lets us map more.

Neuroscience: it is extremely difficult to measure neuronal activity in live animals (including humans). Part of the field is about improving instruments for that.

Physics: measuring small things is also difficult. Lots of effort has gone into making instruments, e.g. the multi-billion-euro Large Hadron Collider. There are entire conferences dedicated to instrumentation, such as ICORS on Raman Spectroscopy (whose inventor won the Nobel Prize in physics in 1930).

Biology: synthetic biology is all about developing useful things with biology, mostly for producing useful chemical substances or new therapies. Crispr-CAS9 is a useful instrument and received a Nobel prize.

Mathematics: the mapping-search dichotomy is very similar to “theory builders” and “problem solvers”, the two cultures identified by W. T. Gowers. ‘searching’ here is developing techniques with the explicit aim of solving a particular problem, or just solving problems outright.


  1. For example, this paper. You can count on Chelsea Finn’s papers to have an explicit ablations section, which is great. ↩︎