Home › PYQs › Science and Technology › All questions › 2026 · Large language models

UPSC Prelims 2026 · Science and Technology · Computers, Internet and Communication

Which of the following statements with regard to Large Language Models (LLMs) used in machine learning is/are correct? Select the answer using the code given below:

  1. LLMs assign probabilities to the next possible words and then pick the one with the highest probability.
  2. LLMs process data through mathematical optimization to minimise prediction errors.
  3. LLMs produce unbiased outputs.
Show the answer and explanation

Answer: (b) 1 and 2 only

Probability-based prediction and error-reducing training apply; unbiased output is not guaranteed.

Statement by statement

1. ✓ CORRECT — for greedy decoding Models score next tokens. Greedy decoding chooses the highest probability, but sampling methods can choose another token.

2. ✓ CORRECT Training adjusts numerical parameters to reduce a measure of prediction error called loss.

3. ✗ WRONG — bias can persist Training examples and design choices can introduce biases into generated answers.

The idea

An LLM learns patterns in language and predicts the next token, a word or part of a word. Training reduces prediction error by changing model parameters. Generation may choose the most likely token or sample alternatives, and its answers can contain both factual errors and bias.

Text becomes tokens → Model predicts probabilities → Training measures error → Parameters are adjusted → Generation selects successive tokens

Why the others are wrong

(a) Omits optimisation during model training.

(c) Accepts the false guarantee of unbiased output.

(d) Adds the unjustified claim that all outputs are unbiased.

The trap

Highest-probability selection is one decoding method, not a universal rule.

Also know

Training changes parameters; inference uses the trained model. Temperature affects randomness when sampling. A hallucination is a plausible-looking but unsupported or false output.

🔒 LLMs predict tokens; neither truth nor fairness is guaranteed.

Solve this chapter interactively →All Science and Technology questions

‹ Previous questionNext question ›

More from Computers, Internet and Communication