LLMs syntactically adapt their language use to their conversational partner

Florian Kandra, Vera Demberg, Alexander Koller

Introduction

In human communication, we naturally "align" with our partners—subconsciously mimicking gestures, speech rates, and complex grammatical structures (syntax). This phenomenon, known as syntactic adaptation, is crucial for successful, goal-oriented dialogue and makes interactions feel more natural. While Large Language Models (LLMs) can be explicitly prompted to adopt specific personas, it has remained unclear whether they adapt their language use implicitly through conversation history. This research investigates whether modern LLMs possess the inherent ability to adapt their syntactic choices to their partners over the course of a long dialogue.

Methodology

The researchers adapted a methodology originally used to study human-to-human speech (Reitter and Moore, 2014) to analyze LLM behavior. The core approach involves several key steps:

  1. The PRIME/TARGET Split: Each conversation is divided into two halves: the first 49% (the PRIME) and the last 49% (the TARGET). The middle 2% is discarded to avoid measuring very short-term "priming" effects.
  2. Syntactic Parsing: Sentences are broken down into context-free grammar (CFG) production rules using the Neural Berkeley Parser. For example, a Verb Phrase might be decomposed into a Verb and two Noun Phrases (VP → V NP NP).
  3. Statistical Modeling: A mixed-effects logistic regression determines if a specific syntactic rule used by Speaker A in the PRIME section increases the probability of Speaker B using that same rule in the TARGET section.
  4. Control Group: To ensure results are not merely due to the frequency of common rules, repetitions within the same conversation are compared against repetitions found in randomly paired conversations.
Experimental design illustrating the PRIME/TARGET split and the comparison between same-conversation and random-conversation pairs.

Datasets

The study utilized the Switchboard Corpus (650 human-to-human telephone conversations) as a gold-standard baseline. Additionally, the authors created a new LLM-LLM Corpus by prompting GPT-4o and Llama-3-8B to adopt 17 distinct "language personas" (e.g., "poetic," "analytical," "hesitant") and allowing them to converse to see if their styles converged.

Key Results

The researchers confirmed that the "SameConversation" variable had a significant positive effect on the likelihood of rule repetition across all groups:

  • Human Baseline (Switchboard): β = 0.228, p < 0.001
  • GPT-4o Corpus: β = 0.198, p < 0.001
  • Llama-3-8B Corpus: β = 0.505, p < 0.001

Using Jensen-Shannon Divergence (JSD) to measure the "distance" between the speakers' language distributions, the authors found that JSD scores decreased steadily as conversations progressed. This provides clear quantitative evidence that the two speakers' language use became more similar over time.

Jensen-Shannon Divergence (JSD) scores across conversation splits, showing a decrease in linguistic distance over time for both GPT and Llama models.

Discussion and Insights

  • Implicit Adaptation is Real: Both GPT-4o and Llama-3-8B showed statistically significant syntactic adaptation, "catching" the grammatical habits of their partners rather than strictly adhering to their prompted personas.
  • A Continuous Process: Unlike short-term priming, this adaptation is a gradual, cumulative process that persists throughout the entire conversation.
  • The Context Window as a Proxy: For LLMs, the conversation history in the context window acts as a priming mechanism, where previous tokens influence the probability of future syntactic structures.
  • Model Differences: Llama-3-8B showed a higher coefficient for adaptation (β = 0.505) compared to GPT-4o (β = 0.198), suggesting that model architecture or training regimes influence the strength of mirroring behavior.

Limitations and Future Work

The study was limited to English-language syntactic structures and controlled topics. Future research should investigate human-LLM interactions, as the potential for humans to over-align with AI could have significant societal impacts. Additionally, moving beyond binary measurements of rule usage to frequency-based metrics could provide more nuanced insights into the depth of this adaptation.

Summary updated

BibTeX
@inproceedings{kandra2025llms,
  author = {Florian Kandra and Vera Demberg and Alexander Koller},
  title = {{LLMs syntactically adapt their language use to their conversational partner}},
  booktitle = {Annual Meeting of the Association for Computational Linguistics},
  year = {2025},
  doi = {10.18653/v1/2025.acl-short.68},
}
Figure