A shopping assistant can generate a fluent reply and still recommend the wrong item if it does not know what products exist, where they are sold, or what they cost. Pragmatics is the real-world, task-specific context that helps make a response appropriate—not merely well formed. section 2.4 section 5.3.1
Pragmatics is one part of language alongside phonetics, syntax, semantics, and morphology. It matters when words alone do not settle what someone means: “I need food” does not necessarily signal immediate physical danger. Embeddings can approximate semantic relationships from word usage, but those relationships do not supply the circumstances behind an utterance. section 2.1.1 section 2.2.5
For an LLM, supply relevant context rather than assuming fluent output means the model knows the situation:
- Put task instructions and relevant facts in the prompt, or retrieve product, store, and price information from a database at inference time. This can improve the response without creating a pragmatic system inside the model. section 2.4
- For changing information such as current events, keep retrieved information up to date or give the model access to tools; a well-written prompt cannot provide facts the model cannot access. section 7.4
- During training, prompt tuning can provide task context while reusing a largely frozen model. It offers an alternative to retraining or full fine-tuning when adapting a model to a new task. section 5.3.1
