TL;DR
Large Language Models (LLMs) have acquired a surprisingly nuanced sensitivity to discourse particles like just and only, which subtly shape conversational flow without altering basic facts. This sensitivity is significantly boosted by instruction tuning and is localized within specific model components, where representations for different particles partially overlap based on their semantic "sense."
What Problem Does This Paper Address?
In linguistics, discourse particles are words that reflect speaker attitudes and manage conversational context (e.g., saying "He's just late" vs. "He's late"). They are often "truth-conditionally neutral"—removing them doesn't change the facts of the statement—but they drastically change the pragmatics, or how the conversation is expected to proceed.
While LLMs are frequently evaluated on grammar, logic, and factual accuracy, their grasp of these subtle pragmatic cues has been largely ignored. Furthermore, many particles are polyfunctional; just can mean "recently," "simply," or act as an exclusive like only. This paper investigates whether LLMs are sensitive to these nuances, how that sensitivity affects their generations, and where this knowledge is stored in their neural architecture.
Methods
The authors employed a three-pronged approach combining behavioral experiments with mechanistic interpretability:
- Preference Scoring (Experiment 1): The authors compared the log-probabilities assigned by models to original dialogues versus "counterfactual" versions where a target particle (just, only, or a control not) was removed. They also collected human Likert-scale preferences for comparison.
- Generation Analysis (Experiment 2): To see if particles change a model's "expectations," they sampled follow-up responses from models given contexts with and without the particles. They then measured the "own-context advantage"—whether a response generated in a "particle-present" context was more probable in that context than in one where the particle was missing.
- Function Localization (Experiment 3): Using activation patching (a causal mediation technique), the authors localized the specific layers and components (Attention, MLP, Residual Stream) in Llama 3 8B Instruct that are most sensitive to these particles. They specifically tested for "sense-specific transfer" to see if the model uses the same internal machinery for the exclusive sense of just as it does for only.
Datasets
- DailyDialog: A dataset of natural multi-turn dialogues used as the source for stimuli.
- Gold Dataset: A manually curated subset of 180 examples (60 each for just, only, and not) chosen for their high pragmatic sensitivity. The just examples were further split into "exclusive" and "non-exclusive" senses.
- Human Annotations: Preference ratings from 9 participants to establish a human baseline for particle sensitivity.
Key Insights and Ideas
- Instruction Tuning is the Catalyst: While base models show some awareness of discourse particles, instruction tuning (SFT/RLHF) drastically increases this sensitivity. This suggests that learning to be a "conversational assistant" requires picking up on these subtle pragmatic markers.
- Shaping the "Continuation Space": The presence of a particle like just changes what the model expects to happen next. For example, just can signal that a topic is closed or that a speaker is being polite, and the model's subsequent generations reflect these shifts in tone and direction.
- Asymmetric Semantic Overlap: Mechanistic analysis revealed a fascinating "aha" moment: units sensitive to only transfer their function to the exclusive sense of just, but the reverse is not true. This suggests that LLMs represent these particles lexically, but their internal "senses" are bundled in a way that allows for partial, one-way functional sharing.
Key Results
- Human-Model Alignment: Models generally align with human preferences, showing a stronger preference for the presence of just over only.
- Quantitative Sensitivity: In Experiment 1, instruction-tuned models showed significantly higher removal deltas (0.050–0.189) compared to base models (0.044–0.060), as seen in the comparison of Spearman correlations with human ratings.
- Generation Advantage: Models consistently showed an "own-context advantage," meaning their generated follow-ups were pragmatically tailored to the specific version of the prompt they received.
- Localization: Sensitivity was found to be concentrated in the residual stream and attention heads, particularly in the middle-to-late layers of the model, while MLP layers played a smaller role.
Limitations and Future Work
- Scope: The study is limited to English and a small set of particles. The authors note that more work is needed on other languages and a wider variety of exclusives.
- Model Size: Experiments were conducted on models in the 8B-9B parameter range; larger or smaller models might exhibit different behaviors.
- Granularity: The mechanistic analysis focused on entire layers/components; future work could drill down to individual attention heads or neurons to find even finer-grained pragmatic circuits.
- Context Length: The study used relatively short dialogue exchanges; how these particles affect long-range discourse remains an open question.
Summary updated