ArticleslgStudy

computer science

Dr.Fill

Dr.Fill is a computer science topic covered in the lgStudy science library. This page brings together a partial reference excerpt, illustrations, worked examples, real-world applications and a short study plan, so you can understand Dr.Fill rather than just read about it. In short: Dr.Fill is a computer program that solves American-style crossword puzzles. It was developed by Matt Ginsberg, who described it in the Journal of Artificial Intelligence Research.

Key takeaways

  • Dr.Fill belongs to computer science; place it in that map before memorising details.
  • Learn the definition first, then one example that makes the definition concrete.
  • Connect Dr.Fill to a quantity you can measure, compute or draw — that is where exam questions come from.
  • Reproduce the core statement of Dr.Fill from memory before moving on to harder problems.

Reference excerpt

Dr.Fill is a computer program that solves American-style crossword puzzles. It was developed by Matt Ginsberg, who described it in the Journal of Artificial Intelligence Research. Ginsberg claims in that article that Dr.Fill is among the top fifty crossword solvers in the world.

History Dr.Fill participated in the 2012 American Crossword Puzzle Tournament, finishing 141st of approximately 650 entrants with a total score of just over 10,000 points. It received coverage in the popular press, including The Economist, the San Francisco Chronicle, Gizmodo, and the front page of the March 17, 2012 New York Times. Dr.Fill continued to place higher in subsequent tournaments, scoring 10,550 in 2013 (92nd place) and 10,790 in 2014 (tied for 67th). Recordings of its solving sessions from both tournaments, including a talk by Ginsberg on its 2014 performance, are on YouTube. Its results kept improving after 2014, reaching 10,920 (55th, 2015), 11,205 (41st, 2016) and 11,795 (11th, 2017), before dropping to 10,740 (78th) in 2018 and returning to "form" with 11,795 (14th) in 2019. The 2020 ACPT was cancelled due to COVID-19, so Dr.Fill competed as a non-competitor in the Boswords tournament instead, outscoring the humans 11,218 to 10,994 despite making one mistake to their zero. The 2021 ACPT was held virtually, again due to COVID-19. Joined by the Berkeley NLP Group as the hybrid Berkeley Crossword Solver, Dr.Fill won the main event with 12,825 points, ahead of the highest-scoring human, Erik Agard, on 12,810. The championship playoff was won by Tyler Hinman (12,760 points), who solved the puzzle perfectly in three minutes to Dr.Fill's 49 seconds. After winning the tournament, Ginsberg announced on August 8, 2021, that both he and Dr.Fill would be retiring from crosswords.

Algorithm As described by Ginsberg, Dr.Fill works by converting a crossword to a weighted constraint satisfaction problem and then attempting to maximize the probability that the fill is correct. Probabilities for individual words or phrases are computed with statistical techniques based on features such as prior appearances of the clue and the number of Google hits for the fill. In this respect Dr.Fill tackles a problem similar to the one solved by the Jeopardy!-playing program Watson. It runs on a laptop rather than a supercomputer, and Ginsberg remarks that Watson is far more effective at this part of the task. Instead of computational horsepower, Dr.Fill relies on the constraints provided by crossing words to refine its answers. A variety of artificial intelligence techniques are applied to find the most likely fill, including a small amount of lookahead, limited discrepancy search, and postprocessing. Ginsberg chose postprocessing over branch and bound because the two techniques are mutually incompatible and postprocessing proved more effective in this domain. Following Dr.Fill's retirement, later research explored solving crossword clues directly with large language models instead of an explicit constraint-satisfaction search, reporting competitive results without a dedicated grid-search algorithm.

References

External links Berkeley Crossword Solver on GitHub Dr.Fill source code (except training data) on GitHub

Worked examples

Example 1 — a first encounter with Dr.Fill

Start with the simplest possible case. Write down what Dr.Fill claims or describes in one sentence, then invent the smallest concrete situation in which that sentence is true. In computer science, the smallest case is usually a single object, a single equation or a single measurement. Check that every symbol or term in your sentence has a meaning in that case.

Example 2 — changing one variable

Take the situation from Example 1 and change exactly one quantity: double it, halve it, or set it to zero. Predict what should happen to Dr.Fill before you calculate. Comparing your prediction with the result is the fastest way to find out whether you understand the idea or only the words.

Example 3 — an exam-style question

Typical questions about Dr.Fill ask you to (a) state it precisely, (b) apply it to given data, and (c) explain a limitation. Practise writing all three answers in under five minutes; the third part is what separates a full-mark answer from an average one.

Applications of Dr.Fill

In research
Dr.Fill appears in computer science research whenever the underlying quantities have to be modelled precisely. Papers usually cite it as a starting assumption and then explore where it breaks down.
In technology and industry
Engineering practice reuses Dr.Fill in design rules, simulations and safety margins. Knowing the idea lets you read a specification sheet and understand why the numbers look the way they do.
In the classroom
Dr.Fill is common in secondary-school and first-year university syllabi. It links to neighbouring topics Applied machine learning, Crossword software, so understanding it makes those chapters shorter.
In everyday life
Look for Dr.Fill outside the textbook — in sport, cooking, traffic, electronics or the sky above you. An example you found yourself is remembered far longer than one you were given.
Ask Teacher Smith questions about this articleOpens your AI tutor with a question about “Dr.Fill” →

How to study Dr.Fill in 20 minutes

  1. Read the reference excerpt below once, without taking notes.
  2. Close the page and write down what Dr.Fill means in your own words.
  3. Compare your version with the excerpt and mark what you missed.
  4. Work through the three examples above with pen and paper.
  5. Explain Dr.Fill out loud to somebody else — or to Teacher Smith in the lgStudy chat.

Frequently asked questions

What is Dr.Fill in simple terms?

Dr.Fill is a computer program that solves American-style crossword puzzles. It was developed by Matt Ginsberg, who described it in the Journal of Artificial Intelligence Research.

Why does Dr.Fill matter?

Because it connects several computer science ideas at once: it gives you a definition you can apply, a quantity you can calculate, and a way to check whether a result is plausible.

How should I study Dr.Fill?

Read the excerpt, restate it from memory, then work through the examples and applications listed on this page. The five-step study plan above takes about twenty minutes.

What does this page cover?

It gives you a compact reference excerpt plus original lgStudy explanations, examples, applications and study material on Dr.Fill.

Tags

  • Applied machine learning
  • Crossword software

Keep exploring