Neural networks do not "lie"βthey perform maximum-likelihood token continuation across an incomplete, high-dimensional probability manifold. Drag the probe through semantic space to observe how geometric extrapolation voids, calibrated entropy loss, and autoregressive drift force fluent factual confabulations.
Natural text data lies on a thin, curved manifold within millions of latent dimensions. Between training clusters exist vast empty spaces. When a query lands in a sparsity void, the continuous neural function interpolates smoothly, producing grammatically immaculate yet factually baseless tokens.
f_\theta(x) = \text{softmax}(W \cdot \text{gelu}(Vx + b))Language models are trained on maximum-likelihood next-token prediction ($\min -\sum \log P(x_t)$), not truth verification. The network is rewarded equally for asserting a truth or asserting a plausible falsehood with high certainty, resulting in extreme overconfidence in uncalibrated regions.
\mathcal{L}_{CE} = -\sum_{k} y_k \log \frac{e^{z_k / T}}{\sum_j e^{z_j / T}}Because generation is causal ($P(w_{t+1} \mid w_{1:t})$), once a hallucinated token is generated, it becomes an immutable ground-truth premise in the attention key-value cache. Subsequent self-attention heads condition strictly on the fictional token, making recovery mathematically impossible without backtracking.
\text{Attn}(Q, K, V) = \text{softmax}\left(\frac{Q K^T}{\sqrt{d_k}}\right) V