- The DENDRAL project began at Stanford in 1965, led by geneticist Joshua Lederberg and computer scientist Edward Feigenbaum [1][2][7].
- It worked out the likely structure of a molecule from mass spectrometry data, by listing possible structures and pruning away the ones that did not fit [1][3][5].
- The program improved mainly by learning more chemistry from experts such as Carl Djerassi, a lesson the team summed up as "knowledge is power" [2][5][7].
- Around 1967 and 1968 the team rewrote that knowledge as separate rules, a design that later became the standard for expert systems [1][2].
Joshua Lederberg was not a computer scientist. He was a geneticist who had won the Nobel Prize in 1958, at the age of 33, for discovering how bacteria pass genes to one another [4][9]. In 1959 he moved to Stanford to build its new Department of Genetics [1][9]. Soon he was thinking about space as well. In 1960 NASA asked him to set up an instrumentation laboratory at Stanford, and his team began designing ways to test for life on Mars [1][9]. One of the most promising tools for that job was the mass spectrometer, an instrument that can tell what a tiny sample is made of [1][5].
Lederberg also wanted to learn computers properly. In the summer of 1962 he took a beginners' programming course on the campus machine [1]. He later remembered that a run of punched cards usually took about 12 hours to come back, and that if you got to the computer room around midnight, "you might get another pass by 2 A.M." [1]
At a Saturday meeting on computer models of thought organised by Karl Pribram, Lederberg met Edward Feigenbaum [1][5][6]. The two remember the timing differently: Lederberg dates the meeting to 6 April 1963 [1], while Feigenbaum, in a 2007 interview, recalled being invited to these Saturday seminars in the middle of 1964 [6]. Feigenbaum had studied under Herbert Simon at Carnegie Tech and was looking for real problems in science to which he could bring his work on problem solving by machine [1][7]. Lederberg told him he was groping for ways to represent chemical structures in a computer [1]. The two stayed in touch.
Feigenbaum joined Stanford on 1 January 1965 [1][6]. Years later, in a 1984 email to Lederberg, he insisted the meeting had not been chance: "We didn't just "bump into each other" as in "lucky accident"" [1]. He wanted to build models of how scientists form ideas from data, and he needed a concrete task to study [1][2]. As he remembered it in 2007, Lederberg's reply was simple: "Yeah, I have just the one for you, and we're working on it in our lab." [5] Lederberg already had a method that could list possible molecules. Feigenbaum later described it as the "legal move generator", like the part of a chess program that lists every move allowed [5]. By spring 1965, in Lederberg's words, "our project is concretely launched" [1].
A mass spectrometer turns the molecules in a sample into charged particles and sorts them by mass [1][3]. Inside the machine, molecules also break into fragments. The pattern of fragment masses, called the spectrum, is often like a fingerprint for one particular structure [1][3]. The chemist's puzzle is to work backwards from that fingerprint to the shape of the molecule.
It is harder than it sounds. Lederberg gave a simple example. Ethanol, the alcohol in drinks, and methyl ether contain exactly the same atoms, but the atoms are joined in a different order, so the weight alone cannot tell them apart. That is "a medically significant matter!", he noted [1]. Real molecules are much bigger, and the number of ways to join their atoms grows very fast.
DENDRAL's answer was "generate and test". Lederberg's method, set out in 1964 in reports to NASA called DENDRAL-64, could list every possible structure for a chemical formula, each one only once [1][5]. He described the program as "a generator of trees of candidate structures", which is what its name hints at [1]. Those trees can be huge. Lederberg wrote that the candidates "can easily number in the billions or more, in practical cases" [1], and for some molecules containing nitrogen the team counted more than 14 million possible structures [3].
So the program had to prune: cut off impossible or unlikely branches as early as it could [1][3][5]. The examples are almost common sense. If the sample has no nitrogen, do not build molecules with nitrogen and remove them afterwards, Lederberg wrote [1]. If two oxygen atoms end up joined together, you get a peroxide, which is unstable, so throw away the whole branch, Feigenbaum explained [5]. For the candidates that survived, a part called the predictor worked out what spectrum each would produce, so it could be compared with the real one [3][5].
Turning these ideas into working code took patience. Georgia Sutherland, one of the project's first team members, converted DENDRAL-64 into a program in the LISP language [1][5]. Lederberg recorded that she did it while "interleaving its production with that of a baby: an early prototype of telecommuting" [1]. Her first report appeared in February 1967, and at last the team had a working program to experiment with [1]. The computers of the day were a constant limit: the campus IBM 7090 had too little memory for their LISP programs, so they moved to shared, time-sharing machines [1][5].
Two more people shaped what came next. Bruce Buchanan, a philosopher of science from Michigan State who was writing a thesis on the logic of scientific discovery, had worked with Feigenbaum one summer and joined the project soon after it began [2][5][6]. And Carl Djerassi, who had come to Stanford's chemistry department in 1959, was one of the leading mass spectrometry experts of the time [1][2][10]. He was already famous: in 1951 he and his colleagues made norethindrone, a key ingredient of the birth control pill [10][11].
Feigenbaum told the story of how they won Djerassi over in two interviews in 2007 [5][6]. The team showed him the program doing a poor job on molecules it knew little about. In one telling Djerassi said, "That is really stupid"; in the other, "That's terrible." [5][6] The team had their answer ready. In Feigenbaum's words: "Carl, what is it you know about mass spectrometry that we don't?" [5] It worked. Djerassi got hooked and laid out a plan that took the program, family by family, through new kinds of molecules, while he and his team supplied the know-how [5][6].
Then came the result that the project is best remembered for. Each time the team added more chemistry, the answers got better. As Feigenbaum and Buchanan later wrote, more powerful problem solving methods were "useful but not crucial to our success; more knowledge was crucial" [2]. Feigenbaum put it as "in the knowledge lies the power", knowingly borrowing words from Francis Bacon [5], and the slogan "knowledge is power" stuck [2][7]. The sources differ a little on when it was first written down: Feigenbaum points to a 1968 paper for a workshop in Edinburgh, while Lederberg points to the team's 1971 paper [1][2][5].
Lederberg recalled pressing Feigenbaum about DENDRAL's limits as a general intelligence. He gave Feigenbaum's reply in his own paraphrase: "Knowledge, not tricks or metaphysical insight, is what makes the program effective -- and that itself is an insight of general import." [1] Hence Lederberg's famous line: "we were trying to invent AI, and in the process discovered an expert system" [1].
All that new knowledge brought a practical problem. By 1967 it was written straight into LISP code, and it was becoming too complex to manage [2]. So the team rewrote it as separate "if this, then that" rules, and by early 1968 the whole knowledge base had been moved over [2][8]. Lederberg credits Buchanan with recoding it into "a table of explicit rules separated from the internal operations of the system", so experts could add, check and correct knowledge more easily [1]. He called it "a paradigm shift later to become the standard for expert systems" [1], and indeed most later expert systems used rules [2]. It was still slow work. At every weekly meeting "a dozen new ideas would come up", Lederberg wrote, but each would take weeks to build and test [1].
How good was it? By the team's own 1971 paper, DENDRAL had already solved "hundreds of structure-determination problems". For some families of molecules it was an expert, "even when compared with the best human performance", while for most of chemistry it performed "as a novice, or worse" [3]. The Computer History Museum today describes it as identifying molecular structures "in some cases more accurately than experts" [8]. Through the 1970s and early 1980s, academic and industrial chemists across the United States could use it remotely through SUMEX, a shared computer for AI research in medicine and biology, connected over the ARPANET [1][2][6].
The team also tried the next step: a program that learns the rules by itself. Meta-DENDRAL studied the spectra of molecules whose structures were already known and proposed new rules of mass spectrometry [1][2][5]. In 1976 the team published new rules it had found for a family of chemicals called androstanes in the Journal of the American Chemical Society [1][2][5]. Feigenbaum and Buchanan wrote that, as far as they knew, it was "the first paper in the literature of science that reports the discovery of new scientific knowledge (albeit of a routine kind) by a computer program" [2].
The ideas travelled. Soon after, Buchanan and Ted Shortliffe started MYCIN, a rule based program that advised doctors on choosing antibiotics [1][2]. The Computer History Museum calls DENDRAL the world's first expert system, while the US National Library of Medicine more cautiously calls it "one of the first" [4][7][8]. Feigenbaum and Buchanan simply called it the "grandfather of expert systems" [2]. Feigenbaum, often called "the father of expert systems", received the 1994 ACM Turing Award, shared with Raj Reddy of Carnegie Mellon University [5][6][7][12].
DENDRAL's lesson fits today's AI tools very well. A program becomes truly useful when it draws on what our most experienced people know. The chemistry may be far from our daily work, but the habits that made DENDRAL work are easy to borrow.
- Ask what the tool will know. Before choosing an AI tool, it helps to ask which of our policies, documents and examples it will draw on. The method matters, but the knowledge matters more.
- Show an early draft and ask the Djerassi question. A rough first version, shown to our most experienced staff with the question "what do you know that it doesn't?", is a friendly way to draw out know-how.
- Keep knowledge separate and easy to edit. Rules, policies and examples kept outside the program can be checked and updated by the people who own them.
- Plan for the work. Lederberg wrote that drawing knowledge out of experts is "unbelievably arduous" and that "90% of the effort must go into debugging and validation" [1]. Setting aside time for checking is part of the job, not a sign of failure.
Lederberg saw a knowledge based system as more than a machine. He called it "a remarkable social device, the ultimate form of publication" [1], a way of sharing hard-won know-how with everyone who needs it. When we write down what our experienced people know, clearly and in a form others can use, we are doing the same thing: keeping that knowledge alive for the next person, and the next generation.
- ACM, Joshua Lederberg, How DENDRAL Was Conceived and Born (1987), MIT-hosted copy
- Artificial Intelligence 59, Edward A. Feigenbaum and Bruce G. Buchanan, DENDRAL and Meta-DENDRAL: roots of knowledge systems and expert system applications (1993), Stanford Libraries copy
- E. A. Feigenbaum, B. G. Buchanan and J. Lederberg, On Generality and Problem Solving: A Case Study Using the DENDRAL Program, Machine Intelligence 6 (1971), Stanford Libraries copy
- US National Library of Medicine, Joshua Lederberg press release (2 March 1999)
- Computer History Museum, Oral History of Edward Feigenbaum, interviewed by Nils Nilsson (June 2007)
- ACM / Computer History Museum, Edward Feigenbaum, 1994 ACM Turing Award Recipient, interviewed by Don Knuth (April and May 2007)
- Computer History Museum, Edward Feigenbaum, 2012 Fellow
- Computer History Museum, Timeline of Computer History, 1965: DENDRAL artificial intelligence program
- Stanford Medicine News, Geneticist, Nobel laureate Joshua Lederberg dies at 82 (5 February 2008)
- The Stanford Daily, Carl Djerassi, "father" of birth control pill, dies (1 February 2015)
- PBS NewsHour, Carl Djerassi, a creator of the birth control pill, dies at 91 (1 February 2015)
- Carnegie Mellon University News, Reddy inducted into IEEE Intelligent Systems' AI Hall of Fame (30 August 2011)