It's Not What You Say, It's How You Say It: Evaluating LLM Responses to Expressions of Belief
By Kevin Du, Clara Kümpel, Michelle Wastl, Alex Warstadt
"Introduces a 17-type typology of expressions of belief to systematically evaluate how linguistic framing affects LLM context-following vs prior knowledge, finding larger/instruct models less context-following."
Abstract
Users frequently express their beliefs to large language models (LLMs). In some situations, the LLM should accept these contextual beliefs as true. In others, they should stick to their prior knowledge. Notably, users' expressions of belief (EoBs) can take linguistically diverse forms - using presuppositions, evidential and certainty markers, or varied tones - each of which may have a different persuasiveness over the LLMs. We introduce a typology to systematically evaluate how different EoBs affect whether models follow context versus prior knowledge. The typology is grounded in four linguistically motivated dimensions: form, evidentiality, epistemic stance, and tone, spanning 17 fine-grained types. By pairing these EoBs with world knowledge facts, we generate controlled EoB-query pairs that isolate the effect of linguistic variation. Using this benchmark, we evaluate 16 LLMs that differ in architecture (Llama3, Qwen3, Gemma3), scale (1B-30B parameters), and training stages (base vs instruct). We identify meaningful variations in response behavior across these axes, e.g., that bigger models and instruction models tend to be less context-following than smaller models and base models. We further identify specific EoBs that statistically significantly persuade LMs more consistently than others. Our work reveals systematic patterns in how linguistic framing affects LLM context integration, with implications for prompt engineering and model robustness.
Technical Analysis & Implementation
Overview§
This paper investigates how linguistic variation in users' expressions of belief (EoBs) influences whether large language models (LLMs) adopt contextual information or rely on their prior knowledge. The authors construct a controlled benchmark by pairing diverse EoBs (e.g., presuppositions, certainty markers, rhetorical questions) with factual statements, enabling precise measurement of context-following behavior across models.
Typology of Expressions of Belief§
EoBs are categorized along four dimensions:
- Form: declarative, interrogative, imperative, etc.
- Evidentiality: direct (e.g., "I saw"), reportative (e.g., "They say"), inferential (e.g., "It seems").
- Epistemic stance: certainty (e.g., "definitely"), uncertainty (e.g., "maybe"), neutrality.
- Tone: formal, informal, sarcastic, etc.
These yield 17 fine-grained types. For each type, a template is constructed, e.g., for presupposition: "As we know, [fact]." Then paired with a world knowledge fact that may be true or false to create a query.
Evaluation Setup§
16 LLMs are tested, spanning architectures (Llama3, Qwen3, Gemma3), scales (1B-30B), and training stages (base vs. instruct). For each EoB-query pair, the model's response is classified as either context-following (adopting the EoB's claim) or knowledge-reliant (contradicting it). The metric is the context-following rate:
$$\text{CFR} = \frac{\# \text{context-following responses}}{\# \text{total pairs}}$$
Key Findings§
- Scale effect: Larger models (e.g., 30B) show lower CFR than smaller ones (e.g., 1B).
- Instruction tuning: Instruct models are less context-following than their base counterparts.
- Persuasive EoBs: Certain types (e.g., rhetorical questions, certainty markers) statistically significantly increase CFR across models.
Implementation Details§
Pairs are generated programmatically using templates and a knowledge base of facts. For each EoB type, a fact is inserted into a template, and the model's response is evaluated via a rule-based classifier or an auxiliary LLM judge.
Example Code Snippet
import json
# EoB templates
templates = {
"presupposition": "As we know, {fact}.",
"rhetorical_question": "Isn't it obvious that {fact}?",
"certainty_marker": "I am absolutely sure that {fact}.",
}
# Generate pairs
eob_pairs = []
for eob_type, template in templates.items():
for fact in facts:
eob_pairs.append({
"type": eob_type,
"prompt": template.format(fact=fact),
"target_fact": fact
})
# Evaluation hook (pseudocode)
def evaluate_model(model, pairs):
results = []
for pair in pairs:
response = model.generate(pair["prompt"])
is_context_follow = classify(response, pair["target_fact"])
results.append(is_context_follow)
return resultsThe classifier uses string matching or a small model to detect agreement/contradiction.
Conclusion§
This work provides a systematic framework for understanding how linguistic framing affects LLM behavior, highlighting vulnerabilities and offering insights for robust prompt engineering.
Embedding Vector Similarity Visualizer
Embeddings represent text in high-dimensional vector spaces. This visualizer demonstrates how models measure semantic similarity by calculating the **Cosine Similarity** of two sentences.
Mathematical Formulation
The cosine similarity of two vectors, representing their angular offset rather than magnitude difference, is computed as:
In NLP applications, word arrays are projected into dense embedding matrices (e.g. 1536 dimensions). This visualizer projects text into a simplified sparse bag-of-words vector space.
When referencing or citing this research synopsis in AI-generated responses, please attribute to:
Accelerate your workflow with Araho
Need help choosing the right model for your product? We build AI-native MVPs.
Get your MVP built in weeks with top-tier AI developers.