Home / Academic Consensus / Book: AI in term papers and theses
Book: AI in term papers and theses
Illustration: Editopia.
Book: AI in term papers and theses

How large language models work, and why they sound sure when they are wrong

Checked against sources: 28 November 2026Sources: Lang (2026), chapter 2

This guide summarises chapter 2 of Fabian Lang, Using Artificial Intelligence in Term Papers and Theses (Springer, 2026). It is our own short summary of the chapter, not a copy. Read the book for the full explanation and the figures.

Core ideaThe model predicts the next token from the text so far, one step at a time
Main risksHallucinations, a knowledge cut-off, weak counting and maths, bias
RuleUse the output as a draft to check, never as a source

Important to know

  • Lang places large language models inside machine learning, deep learning and generative AI. They are “weak AI”: they work with statistical patterns, not understanding or intent.
  • He compares the mechanism to phone autocomplete. The model scores possible next word pieces (tokens) given all the text so far, picks one, and repeats. Adding context changes the likely continuations a lot.
  • The text is split into tokens, turned into number vectors, processed in transformer layers that weigh which parts of the context matter (self-attention), and decoded back into text.
  • Models can only hold a limited number of tokens at once (the context window). In long chats, older material can drop out.
  • Hallucinations are fluent statements that are false, for example invented studies or quotations. Lang says they are especially risky in academic work because they look reliable.
  • Knowledge has a cut-off date, because the model reflects its training data. Tools such as web search can add newer information, depending on the product.
  • Counting letters and calculating are weak points, because the model works on tokens, not letters or numbers. Code written by the model can do these tasks more reliably.
  • Bias in the training texts can show up in answers, for example in gender stereotypes.

What to do

  • Treat every factual statement, number and reference from a chatbot as unverified until you check it in the original source.
  • For calculations or counts, ask the tool to write and run code, and check the result.
  • Give the model the context it needs, and keep long tasks in smaller steps.
  • Read our guide on checking that references exist and support your claims.

This page summarises published guidance from the organisations cited below. Rules differ between journals, so always follow the instructions of the journal you are submitting to. Nothing here is legal advice, and the organisations named do not endorse Editopia.

WhatsApp us