AI Wiki中文/EN

LLM limitations: missing information, shifting tasks and measured failures

语言模型能力边界

Derive a finite information ceiling and separate it from historical language-model results.

On this pageIntuitionMathematics & methodImplementationLimitationsExercisesResearch connections

The missing bit

A fictional machine must output 1 when two hidden bits a and b differ, and 0 when they match. It sees a but not b. Under an equally likely set of all bit combinations, it can do no better than guessing. Give it a thousand copies of a and the missing bit is still missing. Give it b once and the task becomes exact.

This is an information limitation, distinct from a particular model failing to use information it actually received. To investigate an LLM failure, separate available information, accessible context, learned computation, decoding, tools and the grading procedure. The appropriate repair could be better evidence, different training, a larger usable context, a tool, or a corrected test. “The model is weak” is not a diagnosis.

The GPT-3 paper reports limitations of its studied model, including repetition, coherence problems and contradictions, and discusses limits of its contamination analysis. Those are historical findings about specified systems, not a theorem that every later language model has the same failure rate. GPT-3, v4 section 5

Relevant evidence changes a finite information ceiling; irrelevant evidence does not.
Relevant evidence changes a finite information ceiling; irrelevant evidence does not.

What any predictor can infer from an observation

Our original finite model has eight equally likely worlds. Each contains three bits; c is irrelevant to the target. The observation O is a chosen subset of the fields.

Ω={0,1}3,Y=a⊕b,P(ω)=1/8.\Omega=\{0,1\}^3,\qquad Y=a\oplus b,\qquad P(\omega)=1/8.

Group worlds with identical observations. A predictor receiving only O must choose the same answer distribution for worlds in the same group. For zero-one accuracy, the best deterministic choice is the more probable label; randomization cannot beat that maximum. Hence:

A∗(O)=∑omax⁡yP(O=o,Y=y).A^*(O)=\sum_o\max_y P(O=o,Y=y).

When only a is visible, each group contains equal mass for Y=0 and Y=1, so the upper bound is 0.5. Observing c as well subdivides the groups without changing that balance. Observing both a and b resolves Y exactly, giving bound 1. Conditional entropy expresses the remaining answer uncertainty in bits:

H(Y∣O)=−∑oP(o)∑yP(y∣o)log⁡2P(y∣o).H(Y\mid O)=-\sum_o P(o)\sum_y P(y\mid o)\log_2P(y\mid o).

It is one bit for observing a alone, and zero for observing a,b. This follows by direct enumeration of the authored worlds, not from experiments on language models.

Distribution shift adds another limitation: a rule can exploit a regularity that later changes. In a training population where b=0 with probability 0.9 independently of a and c, predicting a has accuracy 0.9. If b becomes balanced, the same rule has accuracy 0.5; if b is always 1, it is always wrong:

Y^=a⟹P(Y^=Y)=P(b=0).\widehat Y=a\quad\Longrightarrow\quad P(\widehat Y=Y)=P(b=0).

The original score did not identify a general solution to XOR. It identified a good decision under a particular observation and distribution.

A finite ceiling and a movable context window

Use Python 3.12 and NumPy 1.26.4. The program enumerates all worlds, calculates the best attainable accuracy for each observation and evaluates a learned majority rule under three priors. Inputs are field names, not natural-language tokens. There is no neural network, random sampling or estimated model performance.

"""Exact information limits in eight authored worlds, distinct from measured LM limitations."""
import itertools,json,math
import numpy as np

WORLDS=tuple(dict(zip(('a','b','c'),bits)) for bits in itertools.product([0,1],repeat=3))


def prior(prob_b_zero=.5):
    if isinstance(prob_b_zero,bool) or not math.isfinite(prob_b_zero) or not 0<=prob_b_zero<=1:raise ValueError('probability in[0,1] required')
    return np.array([(prob_b_zero if w['b']==0 else 1-prob_b_zero)/4 for w in WORLDS])


def observable(fields):
    if not isinstance(fields,(tuple,list)) or len(fields)>3 or len(set(fields))!=len(fields) or not set(fields)<={'a','b','c'}:raise ValueError('unique fields from a,b,c required')
    return [tuple(w[f] for f in fields) for w in WORLDS]


def optimal(fields,weights):
    obs=observable(fields);p=np.asarray(weights,dtype=float)
    if p.shape!=(8,) or not np.isfinite(p).all() or np.any(p<0) or not np.isclose(p.sum(),1):raise ValueError('normalized eight-world prior required')
    groups={}
    for w,o,mass in zip(WORLDS,obs,p):
        if o not in groups:groups[o]=np.zeros(2)
        groups[o][w['a']^w['b']]+=mass
    bound=sum(float(v.max()) for v in groups.values());rule={o:int(v.argmax()) for o,v in groups.items()};entropy=0.
    for values in groups.values():
        total=values.sum()
        if total:
            probs=values[values>0]/total;entropy+=float(-total*np.sum(probs*np.log2(probs)))
    return dict(accuracy_bound=bound,conditional_entropy=entropy,groups=len(groups)),rule


def evaluate(rule,fields,weights):
    optimal(fields,weights)
    return float(sum(p*int(rule[o]==(w['a']^w['b'])) for p,w,o in zip(weights,WORLDS,observable(fields))))


def window(fields,size):
    observable(fields)
    if type(size) is not int or not 1<=size<=3:raise ValueError('window size1..3 required')
    return list(fields[-size:])


def demo():
    p=prior();scenarios={'observe_a':['a'],'add_irrelevant_c':['a','c'],'add_relevant_b':['a','b'],'only_b':['b'],'window2_early_a':window(['a','c','b'],2),'window3':window(['a','c','b'],3),'window2_reordered':window(['c','a','b'],2)}
    bounds={k:dict(fields=v,**optimal(v,p)[0]) for k,v in scenarios.items()}
    train=prior(.9);test=prior(.5);adversarial=prior(0);info,rule=optimal(['a'],train)
    transfer=dict(training=evaluate(rule,['a'],train),shifted=evaluate(rule,['a'],test),reversed=evaluate(rule,['a'],adversarial),shifted_best_bound=optimal(['a'],test)[0]['accuracy_bound'])
    query_actions=[dict(action='none',cost=0,accuracy=optimal(['a'],p)[0]['accuracy_bound']),dict(action='ask_c',cost=1,accuracy=optimal(['a','c'],p)[0]['accuracy_bound']),dict(action='ask_b',cost=1,accuracy=optimal(['a','b'],p)[0]['accuracy_bound'])]
    return dict(worlds=[dict(w,answer=w['a']^w['b']) for w in WORLDS],prior=p.tolist(),bounds=bounds,distribution_shift=transfer,query_actions=query_actions,scope='Finite observation-equivalence bound for any predictor; fields are not language-model tokens and queries are perfect authored oracles.')

if __name__=='__main__':print(json.dumps(demo(),indent=2,allow_nan=False))

Observing a, or a together with c, yields bound 0.5. Observing a,b yields 1. A window retaining the last two fields of [a,c,b] loses a and has bound 0.5. Reordering to [c,a,b] keeps both necessary fields and raises it to 1. This is an exact loss of access to a field, not a measurement of an LLM’s effective context length or attention pattern.

The query actions illustrate evidence value. Asking a perfect oracle for c costs one query and leaves accuracy at 0.5. Asking for b costs one and raises it to 1. Real retrieval and tool calls can be wrong, incomplete or expensive; replacing the perfect oracle requires modeling those errors and costs.

For W worlds and F observed fields, grouping takes O(WF) work; the two-label tally takes O(W), and the map uses O(min(W,2^F)) groups. The program fixes W=8 and F at most 3. Enumerating all worlds of a growing problem can be exponential; this implementation is a transparent teaching calculation, not a general-purpose uncertainty engine.

Turn a failure into a testable question

A deployment investigation can proceed with explicit alternatives. First, use a deterministic lookup or calculator baseline when the task permits it. Then keep cases and budget fixed while adding verified evidence, restoring omitted context, changing the solver or checking the grading rule. Compare paired cases; otherwise improvements can be caused by an easier sample. The intervention must match the suspected failure.

HELM organizes scenarios and metrics and makes gaps in evaluation coverage visible. Accuracy, calibration and robustness address different questions. A model can succeed on the average case while failing a required subgroup, or remain fluent outside its tested conditions. Report the covered population and the missing one instead of using a single capability adjective. HELM

Our information ceiling assumes the declared prior, observation map and absence of other information. A model with extra evidence is solving a different problem. The toy context window drops whole fields; real tokenization, compression and retrieval need their own evaluation. The historical GPT-3 observations likewise cannot settle current model comparisons. Model version, prompts, tools, data provenance, uncertainty and error costs belong in an empirical capability claim.

For an application with costly errors, specify an acceptance threshold and fallback before choosing a model. Limit unsupported answers, route unresolved cases to review, and monitor the task distribution after deployment. These are design responses to measured risks, not a guarantee of infallibility. See reasoning evaluation and context windows.

Information or computation?

  1. Under the uniform prior, can a larger predictor exceed 0.5 accuracy if it still sees only a?

Answer: No. Each observation corresponds to equally likely opposite labels. More computation cannot distinguish worlds with identical available evidence under these assumptions.

  1. Why does adding c leave the upper bound unchanged?

Answer: c is independent of the answer-relevant missing bit. Each new observation group still splits its label mass equally, so its best prediction remains a guess.

  1. A rule trained with P(b=0)=0.9 is 90% accurate. What happens if b is always 1 at evaluation?

Answer: The rule predicts a, but the true answer is its opposite. Accuracy becomes zero; the training regularity has reversed.

  1. Should a failed answer trigger a larger-model purchase immediately?

Answer: First test the cause. Missing authoritative data suggests an evidence intervention; lost relevant context suggests an access intervention; wrong computation with complete evidence suggests a solver intervention. Compare each with a fixed task and budget.

Keep limits attached to their evidence

The GPT-3 source provides historical observations; HELM provides an evaluation framework. The eight-world ceiling is independently derived here. None establishes a universal numerical ceiling for language models, and none justifies replacing a current, task-specific evaluation with a broad claim about what AI can or cannot do.

Make a prediction, then check

Does adding an independent irrelevant fact always improve the best possible prediction?

Choose one answer

Learning objectives

  • Separate information limits, empirical model weaknesses and evidence needed for a deployment decision.
  • Run the original finite experiment and explain its counterexample and scope.

Prerequisites & connections

Explore related knowledge →

References

  1. Language Models are Few-Shot Learners — arXiv v4
    Tom B. Brown; Benjamin Mann; Nick Ryder and coauthors · 2020
  2. Holistic Evaluation of Language Models — v1
    Percy Liang; Rishi Bommasani; Tony Lee and coauthors · 2022

Version1 · Editorial status: Recorded technical checks completed

View technical check record (AI)

Codex · 2026-09-20 · Single AI author. New reading: viewed PDF33, contamination-analysis limitations and opening of section5 historical model limitations. Existing Source object preserved. Viewed PDF5/29/31: scenario/metric coverage, calibration, local invariance and robustness; title/authors also read from page1 text. 4 paired equations and four explained exercises. Eight-world Bayes ceiling independently checked by enumerating decision rules; conditional entropy, field loss, perfect-oracle scope and prior reversal checked.

  • Eight-world Bayes ceiling independently checked by enumerating decision rules; conditional entropy, field loss, perfect-oracle scope and prior reversal checked.
  • Four computed SVG variants per topic;11 numeric/geometry tests and36 responsive cases passed. Twelve selected final captures directly viewed. Full article acceptance recorded separately.

Source locations checked:

Related topics

No matches. Try a synonym or acronym.

0 results shown

Wrap the whole query in double quotes for a phrase match.