Metas AI tool Llama almost entirely memorized Harry Potter book, study finds

0
1KB

Meta’s Llama has memorized huge portions of Harry Potter

Llama has a memorization problem, but don't call it a smoking gun.

 By 

Cecily Mauran

 on 

Share on Facebook Share on Twitter Share on Flipboard

copy of harry potter book held up by white gloved hands

Apparently, the first Harry Potter book is one of Llama's favorite books. Credit: ANGELA WEISS / AFP / Getty Images

Meta's Llama model has memorized Harry Potter and the Sorcerer's Stone so well that it can reproduce verbatim excerpts from 42 percent of the book, according to a new study.

Researchers from Stanford, Cornell, and West Virginia University analyzed dozens of books from the now-infamous Books3 dataset, a collection of pirated books used to train Meta's Llama models. Books3 is also at the center of a copyright infringement lawsuit against Meta, Kadrey v. Meta Platforms, Inc. The study's authors say their findings could have major implications for AI companies facing similar lawsuits.

According to the research paper, the Llama 3.1 model "memorizes some books, like Harry Potter and 1984, almost entirely." Specifically, the study found that Llama 3.1 has memorized 42 percent of the first Harry Potter book so well that it can reproduce verbatim excerpts at least 50 percent of the time. Overall, Llama 3.1 could reproduce excerpts from 91 percent of the book, though not as consistently.

"The extent of verbatim memorization of books from the Books3 dataset is more significant than previously described," said the paper. But the researchers also discovered that "memorization varies widely from model to model and from book to book within each model, as well as varying in different parts of individual books." For example, the study estimated that Llama 3.1 only memorized 0.13 percent of Sandman Slim by Richard Kadrey, one of the lead plaintiffs in the class action copyright suit against Meta.

So, while some of the paper's findings seem damning, don't call it a smoking gun for plaintiffs in AI copyright infringement cases.

Mashable Light Speed

"These results give everyone in the AI copyright debate something to latch on to," wrote journalist Timothy B. Lee in his Understanding AI newsletter. "Divergent results like these could cast doubt on whether it makes sense to lump J.K. Rowling, Richard Kadrey, and thousands of other authors together in a single mass lawsuit. And that could work in Meta’s favor, since most authors lack the resources to file individual lawsuits."

Why is Llama able to reproduce some books more than others? "I suspect that the difference is because Harry Potter is a much more famous book. It's widely quoted and I'm sure that substantial excerpts from it on third-party websites found their way into the training data on the web," said James Grimmelmann, a professor of digital and information law at Cornell University, who was cited in the paper.

What this also shows, Grimmelmann said, is that "AI companies can make choices that increase or reduce memorization. It's not an inevitable feature of AI; they have control over it."

Meta and other AI companies have argued that using copyrighted works to train their models is protected under fair use, a complex legal doctrine. However, the extent of memorization could complicate those arguments.

“Yes, I do think that the likelihood that LLMs are memorizing more than previously thought changes the copyright analysis,” Robert Brauneis, a professor with the George Washington University Law School, said in an email to Mashable. He concluded that the study’s findings could ultimately weaken Meta’s fair use argument.

We asked Meta for comment on the study's findings, and we'll update this article if we receive a response.


Disclosure: Ziff Davis, Mashable’s parent company, in April filed a lawsuit against OpenAI, alleging it infringed Ziff Davis copyrights in training and operating its AI systems.

Mashable Image

Cecily is a tech reporter at Mashable who covers AI, Apple, and emerging tech trends. Before getting her master's degree at Columbia Journalism School, she spent several years working with startups and social impact businesses for Unreasonable Group and B Lab. Before that, she co-founded a startup consulting business for emerging entrepreneurial hubs in South America, Europe, and Asia. You can find her on X at @cecily_mauran.


These newsletters may contain advertising, deals, or affiliate links. By clicking Subscribe, you confirm you are 16+ and agree to our Terms of Use and Privacy Policy.

Suche
Kategorien
Mehr lesen
Music
The 11 Best Progressive Black Metal Albums of All Time
The 11 Best Progressive Black Metal Albums of All TimeThe End / Prosthetic Records / Season of...
Von Test Blogger4 2025-09-01 13:00:12 0 266
Science
Double-Slit Experiment Performed With Single Atoms Shows Einstein Was Wrong
Double-Slit Experiment Performed With Single Atoms Shows Einstein Was WrongResearchers at MIT...
Von test Blogger3 2025-07-31 17:00:09 0 545
Technology
Score an M2 MacBook Air for $100 off with this Best Buy deal
Best MacBook deal: As of July 9, get an M2 MacBook Air for $699 at Best Buy...
Von Test Blogger7 2025-07-09 21:00:14 0 931
Technology
YouTuber will fold Samsung Galaxy Z Fold 7 200,000 times. Will it hold up?
YouTuber live-folds Samsung Galaxy Z Fold 7 200,000 times. Will it hold up?...
Von Test Blogger7 2025-08-04 15:00:18 0 510
Spiele
New soulslike Wuchang Fallen Feathers soars on Steam, but user reviews are awful
New soulslike Wuchang Fallen Feathers soars on Steam, but user reviews are awful As an Amazon...
Von Test Blogger6 2025-07-24 10:00:12 0 728