SpecTree identifies small molecules from spectroscopy by playing “twenty questions” with the data. The problem: chemists spend hours interpreting mass spectrometry, FTIR, ¹H NMR and ¹³C NMR spectra to answer one question: what is this compound? Automating it is hard for three reasons. Spectra vary between samples, labs and acquisition settings (impurities, solvent peaks, noise, shifted peaks). No single technique is enough, and complete multimodal datasets for many compounds barely exist. And chemists can’t guess; a wrong identification can cost months of work or cause a lab accident. That rules out a black-box model trained on scarce data whose answer nobody can check. The approach: instead of reading a whole spectrum at once, SpecTree asks simple, noise-tolerant questions a chemist would ask, such as “Is there a strong C=O band at 1650–1800 cm⁻¹?” or “How many ¹³C peaks are at 100–160 ppm?”. I built a candidate library of 105,328 known compounds from PubChemLite and simulated MS, IR, ¹H and ¹³C spectra for each, with noise. Each spectrum becomes answers to a bank of 645 questions. After every answer, SpecTree updates the probability of all 105,328 candidates, using a learned model of how often each answer is wrong. It then picks the next question with the highest information gain, and stops when one structure passes 99.9%. Every decision is visible. On a simulated test reading, SpecTree identifies N-isopropylbenzylamine in 18 questions, out of 105,328 candidates. The same path also tells you which measurements to take: with IR skipped, it still confirms the compound in 15 questions. It runs entirely in the browser, with no server, account or API key. You get a guided caffeine example, a mode for answering questions from your own spectra, an interactive Cytoscape.js map of the model architecture, and a 360° decision tree of 1,524,318 decision states covering every compound’s path.
More from Meta Global AI Developer Hackathon
Cardo turns the world around you into Kurdish flashcards. Kurdish is spoken by tens of millions of people, but it has very few learning tools, and most…

oqed is an LLM-guided superoptimizer for x86-64. You point it at a C or C++ project and it does the rest: - builds the project and runs its workload…

Playtest Agent plays a game from screenshots, looks for bugs, then replays each report and has a judge check it. I make games alone. Solo developers and…

Open-source npm malware detection on Meta's models: a live monitor that flags new malware about a day before the public lists, a Muse agent that investigates…

Video2URDF turns one short phone video of a real articulated object (a laptop lid, a drawer, a desk lamp, a microwave door) into a measured URDF/MJCF a robot…

Glimmer Scope opens up Muse Glimmer 30B so you can see and steer the concepts it thinks with. I trained sparse autoencoders on nine layers of Glimmer's…
