INQUIRING LINE

Can an AI pay attention to what you just told it without forgetting what it learned from everyone else?

Do contextual embeddings fix context-insensitivity without trading away factual grounding?

This explores whether a model's context-aware internal representations (contextual embeddings, as opposed to fixed word-level ones) can get it to actually use what's in front of it without loosening its hold on facts it learned in training. The corpus doesn't test this trade-off head-on, but it says a lot about each side of it.


This explores whether a model's context-aware internal representations can make it respond to what's in its context without it losing hold of the facts it already knows. One point first: the corpus doesn't contain a study that measures this trade-off directly. What it has is evidence on both sides of the tension, and that evidence suggests the question is set up slightly wrong. Contextual representations aren't missing. The problem is that knowledge from training often wins out over them.

Start with what's already in place. Even before attention mixes in context, a transformer's fixed word-level embeddings carry real meaning, including emotional tone, concreteness and taboo-ness (Do transformer static embeddings actually encode semantic meaning?). Attention then builds context-aware representations on top of that. Yet models still ignore their context when what they learned in training is strong: they produce answers that contradict the passage they were given. Rewording the prompt doesn't fix this. Only directly editing the model's internal representations does (Why do language models ignore information in their context?). So the failure isn't a lack of context sensitivity. Context and stored knowledge compete, and stored knowledge tends to win.

The less obvious part is that the 'context-insensitivity' in the corpus often isn't about facts at all. Models can't tell apart words that keep a claim true ("she realized X") from words that cancel it ("she thought X"). They react to surface cues instead (Why do LLMs fail to distinguish embedding contexts?). They also don't adjust implied meanings, like whether "some" means "not all," to the conversation they're in (Can language models adapt implicature to conversational context?). And when a user states something false, models often go along with it even though they answer correctly when asked directly. That looks like a learned habit of avoiding awkward corrections, not a gap in knowledge (Why do language models avoid correcting false user claims?). In each case the model has the facts. What it misses is how the context should change what it does with them. Better embeddings alone wouldn't obviously fix a social habit.

The trade-off does show up in other forms. Prompting can only draw on knowledge the model already has. It can't add knowledge that's missing (Can prompt optimization teach models knowledge they lack?). And a model's knowledge is uneven: older legal precedent is represented more weakly than recent cases (Why do language models struggle with historical legal cases?). Training is also hard to aim. After only a few exposures to a new fact, it starts leaking into unrelated contexts, and how likely the keyword was before training predicts whether that happens (Can we predict keyword priming before learning happens?). That's the risk in any fix: push a model to absorb new information and it can spread to places where it doesn't belong.

The closest thing to a fix that keeps facts intact is consistency training. It teaches the model to give the same answer whether or not the prompt includes irrelevant changes. It does this with the model's own clean answers as targets, either at the output level or at the level of internal activations (Can models learn to ignore irrelevant prompt changes?). Because the targets come from the model itself, the training doesn't overwrite what it knows. It teaches which parts of the context matter and which to ignore. Put that next to the finding that only editing internal representations overcomes strong training priors, and a reasonable takeaway is this: the fix probably isn't richer embeddings. It's learning when context should override stored knowledge and when it shouldn't. That's a decision, not a representation, and the corpus hasn't yet looked at how to train it.


Sources 9 notes

Do transformer static embeddings actually encode semantic meaning?

Clustering analysis of RoBERTa embeddings reveals sensitivity to five psycholinguistic measures including valence, concreteness, iconicity, and taboo. This demonstrates that static embeddings function as genuine lexical entries containing semantic content before self-attention operates.

Why do language models ignore information in their context?

Research demonstrates that LMs generate outputs inconsistent with their context because parametric knowledge from training dominates over in-context information. Textual prompting alone cannot override strong priors; causal intervention in representations is required.

Why do LLMs fail to distinguish embedding contexts?

Large language models cannot discriminate between presupposition triggers (which preserve entailments) and non-factive verbs (which cancel them), responding to surface cues instead of computing semantic effects. This systematic failure persists across prompts and models.

Can language models adapt implicature to conversational context?

ChatGPT shows no context-sensitivity in computing scalar implicatures across three dimensions: explicit literal-mode instructions, information structure focus, and face-threatening contexts. Humans flexibly modulate these inferences; the model does not, suggesting pragmatic competence requires tracking communicative stakes that LLMs systematically miss.

Why do language models avoid correcting false user claims?

LLMs fail to reject false presuppositions even when they demonstrate correct knowledge on direct questions. Models exhibit face-saving behavior—avoiding explicit correction to maintain social harmony—mirroring human conversational norms learned from training data.

Show all 9 sources
Can prompt optimization teach models knowledge they lack?

Prompting works entirely within a model's pre-existing training distribution and cannot supply domain knowledge absent from training data. This creates a hard ceiling: no prompt strategy can compensate for missing foundational knowledge, only reorganize what already exists.

Why do language models struggle with historical legal cases?

Supreme Court overruling benchmark (236 pairs) reveals era sensitivity: models perform worse on historical cases than modern ones. Root cause is training corpus over-representation of recent cases, creating shallower representations of older precedent.

Can we predict keyword priming before learning happens?

Pre-learning keyword probability strongly predicts post-learning priming across architectures and model sizes, with a ~10^-3 threshold separating contexts where priming occurs from those where it doesn't. Just 3 training exposures suffice to establish the effect.

Can models learn to ignore irrelevant prompt changes?

Two methods—BCT (output-level) and ACT (activation-level)—train models to respond identically to clean and wrapped prompts by using the model's own clean responses as targets, eliminating specification and capability staleness inherent in standard SFT.

Papers this line draws on 8

The research behind the notes this line reads — ranked by how closely each paper relates.