What If I Leave Off the Question Mark?

I took the same 10,566 reading questions my model had just answered, made the letters lower case, and removed the final question marks. Every passage stayed the same. So did every answer. The model's word-overlap score fell from 72.52 to 63.50. Someone typing a quick question into the demo could lose nine points before changing a single word.

There was a second problem with my examples. Every SQuAD question I had shown the reader came with an answer somewhere in the passage. Imagine a paragraph that mentions a country and describes its weather. Ask for its capital and the model still has a well-practiced move available to it. It can pick a few words from the paragraph.

Giving the reader examples of missing answers

I went back to the same pretrained model, M2, and made a new set of 272,392 examples. SQuAD 2.0 contributed about 41,000 questions with a missing answer. For these the target was the word unanswerable. Natural Questions contributed search-style queries, and HotpotQA added questions about material spread across paragraphs. For the SQuAD and HotpotQA examples I also flipped two coins, one to lower-case the question and one to drop the question mark. The new run changed the wording, sources and quantity of examples together.

Reader and decoding rule Original questions, F1 Lower case, no question mark, F1 Missing answers declined Answerable questions declined
Original SQuAD reader 72.52 63.50 0% 0%
New reader, take its first choice 61.93 61.63 64.9% 18.9%
New reader, require 0.9 to decline 71.09 70.16 33% 2.5%

With the new examples, changing the typography cost only 0.30 points under ordinary decoding. The two scores had also met at a surprisingly low level. Looking at the answers explained why. The reader was declining almost one in five questions that people had answered straight from the passage.

How sure should it be before it declines?

The tokenizer splits unanswerable into pieces. I checked the probability of its first piece before allowing the model to use it. At or below the threshold, I blocked that piece and let the reader continue with its next choice. Moving the threshold from 0.5 to 0.9 cut false refusals from 12.6% to 2.5%. It also cut the fraction of genuinely unanswerable questions declined from 58% to 33%. I picked 0.9 for the demo from this sweep, so those figures describe the data I used to make the choice.

At that setting the reader gained 6.66 F1 on casually typed questions and 1.86 on the six outside sources over my original reader. On the original, neatly written questions it gave up 1.43. Trying it by hand exposed a further limit. It could often decline a question about a missing detail of something the passage mentioned, like the capital in the weather example. Asking about something entirely absent could still elicit a confident answer. A good way to try the demo is to keep one paragraph on screen and ask it both kinds of question. Browser reader · Training data recipe