What is a large language model (LLM)?
A large language model (LLM) is a neural network trained on large amounts of text to predict and generate language. It powers chat assistants, AI agents and many text tools.
Also called: LLM, Foundation model
How it works
An LLM learns statistical patterns in text during training. When it gets a prompt, it predicts the most likely next piece of text, one token at a time, and builds a full answer from those predictions. Further training on examples and feedback makes it follow instructions and hold a conversation.
The model does not look facts up by default. It answers from what it learned, which is why tools such as retrieval-augmented generation give it current or private documents to work from.
Uses in fraud and risk work
Risk teams use LLMs to read unstructured data that rules cannot easily handle: support messages, merchant websites, onboarding documents and case notes. A model can summarize an investigation, extract fields from a document or explain in plain words why a case looks suspicious.
LLMs can also score records when given clear questions and evidence. The output should be tested against known outcomes before teams rely on it for decisions.
Risks and limits
The same strengths create new risks for teams that use LLMs and for teams that defend against them.
- Models can state wrong facts with confidence, known as AI hallucination.
- Text inside documents or web pages can steer the model, known as prompt injection.
- Fraudsters use LLMs to write convincing phishing messages and fake profiles at scale.
- Free access to models is itself a target for abuse and resale.
Good practice
Keep a person or a deterministic check in the loop for high-impact decisions, log the inputs and outputs, and measure the model's accuracy on your own data. Treat any text the model reads from outside sources as untrusted.
Related terms
- Multimodal AIMultimodal AI refers to models that can take in or produce more than one type of data, such as text, images, audio and video, and reason across them together.
- AI agentAn AI agent is software that uses a language model to plan and take actions toward a goal, such as browsing sites, calling APIs or filling in forms, with little or no human input at each step.
- AI hallucinationAn AI hallucination is output from an AI model that sounds plausible but is false or not supported by its inputs, such as an invented fact, source or figure.
- Prompt injectionPrompt injection is an attack in which text given to an AI model contains instructions that override what its developer or user intended, so the model leaks data or takes unwanted actions.
- Retrieval-augmented generation (RAG)Retrieval-augmented generation (RAG) is a method where an AI system first finds relevant documents or records, then gives them to a language model to use when it writes its answer.
- AI token fraudAI token fraud is the abuse of an AI service to get model usage, credits or compute without paying for it, for example through farmed free trials, stolen cards or leaked API keys.