hiw3c 日报精选
Hacker News Top 网页快照

Who wrote the Book of Mormon? Testing with pre-1830 language models

HN ⭐ 9 · 4 评论

来源:Hacker News Top · lifehug.com

正文为英文,可一键机器翻译(仅首次需要等待)

Who wrote the Book of Mormon? I asked the text, and here's what it said.

I asked a computer two things. Did this book copy from other books? And whose writing does it sound like? It copied almost nothing. It sounds most like the revelations Joseph Smith dictated in the same months, and not like his everyday letters and journals. But the computer can't tell whether that's because one man wrote both, or because both are written in the same kind of religious voice. So this doesn't settle who wrote it, for a believer or for a skeptic.

Borrowing: apart from the King James Bible, the book copies almost nothing. Only 0.16% of its text matches earlier books. The books most often named as sources, like The Late War and View of the Hebrews , don't stand out from other books of their kind. It doesn't follow any earlier book's outline either: the test that catches Josephus retelling Genesis in his own words finds no book whose story it follows.

Authorship: the closest writing is Joseph Smith's revelations, the short texts he dictated in God's voice, among the eight candidates and across the whole library. His ordinary writing, his letters and journals, doesn't stand out the same way. And writers who died long before 1829 also rank near the top, so the tools are matching a style of religious writing, not just a person.

In 2016 a friend and I wrote a little Java program that counted the words in the 1830 Book of Mormon and compared them with Joseph Smith's journals. It was a weekend thing. It answered nothing, and the repo sat for ten years.

This year I picked it back up, with better tools and one rule: everything is replicable. Every test, every number and every model is public, and anyone can run it again. I'm not a scientist. That is what I can offer in place of credentials.

One thing up front. I'm not arguing about whether the book is inspired. A computer can't answer that, and I won't pretend it can. What it can do is tell me whether the English text looks like a particular person's writing, whether it borrows from particular books, and how far those tools can be trusted.

The book copies almost nothing. Set the King James Bible aside and 0.16% of it matches earlier books. The books people name as sources don't stand out from other books of their kind.

Of the eight people usually proposed, the closest writing is Joseph Smith's revelations. Six of eight methods rank them first, including all three of my models. His letters and journals don't stand out the same way.

Nobody can tell you the author isn't on that list, and neither can I. No test I could find can reliably say "it's none of these people". I ran the published ones built for that job, including the newest, from 2024, next to my own. Set to confirm 95% of true authors, the best of them still lets in one stranger in three. The bar was one in twenty.

So I checked everybody: 23,872 authors. His revelations come out first in two of the three ways I ran it. In the third, one man is ahead: an English prophet whose own visions were being printed in the same years. The rest of the top is religious testimony, and too many of those writers were already dead: 9 of the top 20 in one version, where chance says 5. On books where I know the answer, this search puts the true author in its top 10 about six times in ten, and about four times in ten for a book unlike the author's other writing.

The closest writing is a voice. As far as I can find, no tool that exists today can tell a person from the voice they are writing in. Mine can't.

3. The earlier studies, re-run

6. Does that rule the others out?

1. The library

The first problem with asking a modern AI about the Book of Mormon is that it has already read the Book of Mormon, and everything written about it since. So I built language models that have read only what was in print before 1830.

How that compares with what's been tried before

Computer studies of this question go back to 1980. Four of them compared the Book of Mormon with a few dozen to a couple of hundred writing samples from a handful of people. One, in 2013, searched about 100,000 old books for shared phrases. As far as I can find, nothing on this question has come close to this size. Switch between the two measures.

This study against every earlier computer study

Code: eval/replicate.py · Results: docs/prior-studies.md , data/catalog

Size isn't the only difference, and it may not be the main one.

One row needs a plain warning. Every method here was allowed to say "none of these", and I measured how well each one does it. None does it well enough to trust, mine included. Section 4 has the numbers.

The eight candidates are the ones people have argued about for two centuries: Joseph Smith, Oliver Cowdery, Sidney Rigdon, Parley Pratt, W. W. Phelps, Solomon Spalding, Ethan Smith and Gilbert Hunt.

The second problem is the Bible. In the 1830 text, the phrase it came to pass that appears 1,290 times. Any method that doesn't deal with that is measuring the King James Version. So King James wording is masked out of every text before any method sees it.

2. Did it borrow?

Wording: only 0.16% of the text matches earlier books.

Rare phrases: The Late War and The First Book of Napoleon share enough to count. So do other books written in Bible style, and 2,044 books in the library meet the same criteria.

View of the Hebrews : not a hit on wording, ideas or storyline. 77 of 500 religious books are closer in ideas.

Storyline: no book tells the same story.

I started here because it's what the CES Letter and most online arguments are about: The Late War , View of the Hebrews , The First Book of Napoleon . I ran four tests, from the crudest to the subtlest.

Copied wording

I looked for passages the Book of Mormon shares, word for word or nearly, with any of 221,000 earlier books. I ran the same search on two other books so the number would mean something.

Share of each book's text found in earlier books

Code: reuse/exact.py · Results: data/reuse/exact/sources , data/reuse/exact/alignments , data/reuse/exact/known_answer.json

The Book of Mormon's 0.16% is 30 books sharing short, loose phrases, the religious talk of the day. "The Lord cannot look upon sin with the least degree of allowance" turns up in Bishop Ravenscroft. Nothing is a lifted page.

Rare shared phrases: The Late War

A 2013 study found that Gilbert Hunt's The Late War (1816), a history of the War of 1812 written in Bible style, shares rare four-word phrases with the Book of Mormon. I reran it by their own rule and got 183 phrases. Then I counted how many other books use each one.

The 183 shared phrases, by how many other books also use them

Out of 221,000 books. Click a row to see its phrases below.

Code: eval/replicate.py , reuse/rare.py · Results: data/benchmark/replication/latewar_shared_phrases.json , data/reuse/bom/rare.json

Six are found nowhere else. Here they are in both books. Click a row in the chart above to see the other groups, and click a phrase to see it in place.

Phrases only these two books share

The criteria for borrowing, and what meets them

These are the criteria used to decide whether a book shares enough rare wording to count as borrowing:

Take every four-word phrase in the Book of Mormon.

Call a phrase rare if no more than 5 texts in the whole library use it.

For each book, count the rare phrases it shares, per 10,000 of its own words. That way a long book can't win just by being long.

A book meets the criteria if its score is in the top 1% of all 204,520 books. That line works out to 1.09.

The Late War scores 3.86 and The First Book of Napoleon 5.45. Both meet the criteria easily, just as the 2013 study said. What that study didn't do is check other books written the same way. There was a whole fashion, from the 1740s on, for writing about current events in mock Bible English: chronicles of kings, of London, of the American Revolution. So I ran those too.

Rare phrases shared with the Book of Mormon, by books written in Bible style

Per 10,000 words. Every book here clears the line of 1.09. Click a coloured bar to see its phrases.

Code: reuse/rare.py · Results: data/reuse/bom/rare.json

Look at the phrases themselves. "Was their chief captain." "Captain over the armies." "And he also begat." "To wife the daughters." These are the stock moves of a story about wars and families told in Bible English. "Ruler over this people" is on the Late War list and the Napoleon list both. Anyone who sits down to write history in that style reaches for them.

So the two named books do meet the criteria. So do the other books of their kind that share enough phrases to count, eight of eight, and one of them, the Book of Jasher , which nobody has proposed as a source, clears them by more. What they share with the Book of Mormon is a genre. This test can't tell a source from a neighbour. In all, 2,044 books in the library meet the same criteria.

Same ideas, different words

You can borrow an idea without sharing a single phrase. So I cut every book in the library into 128-word passages, 163 million of them, and had a model place each one so that passages meaning the same thing land close together. Then, for every passage of the Book of Mormon, I looked for the closest passage in each book. A book that keeps turning up close gets a high score. The book named most often for this kind of borrowing is Ethan Smith's View of the Hebrews . It gets its own close-up at the end of this section.

Code: semantic/search.py · Results: data/semantic/named.json , data/semantic/named_null.json

Same story, new names

You can also borrow a plot without sharing a sentence. So a model read every book in blocks and listed what happens, with the names swapped for roles. Here it is reading Genesis 45:

A ruler cries out for everyone else to leave the room. The ruler reveals himself to his brothers and weeps so loudly that the household hears. ... The father faints, not believing them, until he sees the wagons.

No Joseph, no Pharaoh, and you still know the story. Two books tell the same story if their events line up in the same order, more than shuffling the order would give.

I checked the test first on three old retellings of the Bible. Here is the clearest: Josephus, who retold Genesis through Judges in his own words around the year 94.

What a retold story looks like: Josephus and the Bible

Each line joins an event in Josephus to the event most like it in Genesis–Judges. Blue lines are the 108 that fall in the same order.

Code: semantic/skeleton.py , semantic/closeup.py · Results: data/semantic/skeleton/controls.json , data/semantic/closeup_view_of_the_hebrews.json

Then I ran it on the Book of Mormon against the library. The longest match with any book was 9 events in order, and shuffled order does that well about one time in four. One book did beat the odds: a history of King Philip's War lined up 6 events at about 1 chance in 125. I tested 49 books of that kind, though, and with 49 tries one result like that turns up about a third of the time. So no book shares its plot.

Code: semantic/skeleton.py · Results: data/semantic/skeleton/bom.json , data/semantic/skeleton/top.json

View of the Hebrews , up close

Ethan Smith was a minister in Poultney, Vermont. His 1823 book argued that the American Indians descend from the lost tribes of Israel. The Book of Mormon says something close: its peoples are a branch of Israel brought to America, and their descendants are still here. That overlap is real, and it is why this is the book people name most often as a source.

"Did it borrow from this book" is really three questions. I'll take them one at a time, and say what would have counted as a hit before giving the result.

Code: reuse/rare.py , semantic/search.py , semantic/skeleton.py · Results: data/reuse/bom/rare.json , data/semantic/named_null.json , data/semantic/skeleton/bom.json

The middle row needs unpacking, because "first of 49" sounds like a hit.

Closeness of ideas to the Book of Mormon: the books on Indian origins

The leading 7 of 49 books on the subject. The other 42 score lower.

Code: semantic/search.py · Results: data/semantic/named.json

That is the catch. The Book of Mormon is a religious book, and so is View of the Hebrews . Next to travel writing, any sermon would look close. So the fair comparison is with other religious books of the same length.

The same score, among 500 religious books of the same length

How many of the 500 fall in each band of the score. View of the Hebrews scores 29.6.

Code: semantic/search.py · Results: data/semantic/named_null.json

Now the two books side by side. Nothing here is hand-picked: "where they meet" is the five closest passages and the five closest events, by the same scores as above, and "where they don't" is the five with the weakest match on each side.

The Book of Mormon and View of the Hebrews , side by side

Code: semantic/closeup.py · Results: data/semantic/closeup_view_of_the_hebrews.json

Where they meet, they meet on the Bible. Both books talk about Israel scattered and gathered home, both read Isaiah as speaking to a people far across the water, and both say the people of this continent were cut off for a long time. Where they don't: Ethan Smith spends pages describing old Jerusalem and quoting travellers on Indian customs, and the Book of Mormon has lawyers, secret bands of robbers and a record handed down on plates, with nothing like them in his book.

And the story. The model found 160 events in View of the Hebrews and 1,421 in the Book of Mormon. 93 of his 160 have a look-alike somewhere in the Book of Mormon. Here is where they fall.

Is it the same story? View of the Hebrews and the Book of Mormon

Each line joins an event in View of the Hebrews to the event most like it in the Book of Mormon. Blue lines are the 3 that fall in the same order. Click a line to read the two events.

Code: semantic/closeup.py , semantic/skeleton.py · Results: data/semantic/closeup_view_of_the_hebrews.json , data/semantic/skeleton/bom.json

One thing makes this test less than a fair fight, and I should say it. View of the Hebrews is mostly an argument, not a story. Its longest stretch of narrative is the Roman siege of Jerusalem in its first chapter, which is where many of its events come from. So "3 events in order" partly means there isn't much story in it to copy.

What I can say: by the test that finds Josephus retelling Genesis, these two books do not tell the same story. They share no unusual wording, and the ideas they share are ones that hundreds of religious books of the time also share. What I can't say is where the idea itself came from. It was in the air: Ethan Smith himself quotes a dozen earlier writers who made the same case, so sharing it points to no one book.

3. The earlier studies, re-run

The 2008 study put Sidney Rigdon first or second for 169 chapters. With other genuine Rigdon writing it's 92, and Parley Pratt goes from 42 to 137.

The 2011 study's "none of these" was wrong 80% of the time with 1,000-word samples and 0% with 10,000-word samples.

The narrators can be told apart 74% of the time, against 28% by chance. Real authors are told apart 96% of the time.

Computer studies of this question go back to 1980, and they disagree. Before running anything of my own I rebuilt five of them, each with its own method, and one on the data its authors published. Here they are side by side.

Code: eval/replicate.py · Results: data/benchmark/replication , paper/replication-report.md

Every one reproduces: run their method their way and you get roughly their answer. Two of the answers then turn on a choice nobody tested.

The 2008 study follows whichever texts stand for each man. On their own data, Rigdon is first or second choice for 169 chapters. Their Rigdon sample is mostly a book of his revelations written in 1864, thirty years after the Book of Mormon was printed. Swap in other genuine Rigdon writing, print he signed, and it's 92. Do the same for Parley Pratt and his count goes from 42 to 137. The Book of Mormon didn't change. The samples did. A method that must name someone names whoever's samples sit nearest.

The 2011 study's "none of these" follows the sample length. I gave its method a test where "none" is always the right answer. With 1,000-word samples it was wrong 80% of the time. With 10,000-word samples it was wrong 0% of the time. Same method, same people, different answer.

One author or many?

The first of those studies, in 1980, made a different kind of claim: the book's speakers differ from each other so much that one person couldn't have written them all. That finding reproduces. The 17 speakers do differ.

But "differ" needs a yardstick. I took a classifier that tells real authors apart 96% of the time and asked it to sort the book's passages by narrator: Nephi, Jacob, Mormon, Moroni. It got 74% right, against 28% by chance. So the narrators are different. They are not as different as real people are from each other, and that is not enough to call them separate authors.

There's a catch I can't get around. The narrators' books were dictated at different times, and sorting passages by "dictated early or late" works about as well: 76% against 50% by chance. I can't pull apart who is speaking from when it was dictated.

Code: eval/replicate.py , eval/scribes.py · Results: data/benchmark/scribes.json

That's why the next section exists. Two of these methods come back in it as contestants: the 2011 study's classifier is the one called ENSC, and the word-count method the 2008 study also used is Burrows' Delta. There they take the same exam as my own models, on books where the answer is known.

Code: eval/replicate.py · Results: data/benchmark/replication , docs/prior-studies.md

4. Are my tools any good?

Picking from a list: my models get 91–94% right on authors nobody had looked at. The older methods get 76–78%.

Saying "none of these": every method fails. Set to confirm 95% of true authors, the best still lets in one stranger in three. The bar was one in twenty.

Before any method touched the Book of Mormon, it had to pass an exam on books where I know the author. Every method takes the same exam: mine, and the four older ones people have used: Burrows' Delta and Cosine Delta, which compare how often each writer uses the most common words; General Imposters, which was built to answer "is it this person or nobody here"; and ENSC, the classifier from the 2011 study in section 3.

My method works like this. For each candidate, take a copy of the period model and let it read that person's writing. Then show it a mystery passage. The score is how much better the copy predicts the passage than the untouched model does. Whoever&