Conversation and its Structure
Jurafsky & Martin, Speech and Language Processing, 3rd ed. draft, ch. 26
29 cards
Introduction
- Why study the structure of human conversation for NLP?Conversation is an intricate joint activity with structure, whether between people or between people and language models; the concepts are useful tools for analyzing human–LLM conversations too.
- Jurafsky & Martin, Speech and Language Processing, 3rd ed. draft, ch. 26, Introduction, p. 591
26.1 Properties of human conversation
- What is a turn in dialogue?A single contribution from one speaker, as in a game: I take a turn, then you. A turn can be one word (“OK.”), a sentence, or several sentences.
- Jurafsky & Martin, Speech and Language Processing, 3rd ed. draft, ch. 26, §26.1, p. 592
- Why does turn structure matter for spoken dialogue systems?A system must know when to stop talking (the user may interrupt, perhaps with a correction) and when to start: people begin turns almost immediately after the other finishes, because they predict when the other is about to finish.
- Jurafsky & Martin, Speech and Language Processing, 3rd ed. draft, ch. 26, §26.1, p. 592
- What is endpointing, and why is it hard?Detecting whether the user is done speaking so the system can respond; it is hard because of noise and because people often pause mid-turn.
- Jurafsky & Martin, Speech and Language Processing, 3rd ed. draft, ch. 26, §26.1, p. 592
- What is the key insight behind speech acts?Each utterance in a dialogue is an action performed by the speaker (Wittgenstein, worked out by Austin 1962).
- Jurafsky & Martin, Speech and Language Processing, 3rd ed. draft, ch. 26, §26.1, p. 592
- What are the four major classes of speech acts (Bach and Harnish 1979)?
class what it does constatives commit the speaker to something being the case (answering, claiming, denying) directives get the addressee to do something (asking, ordering, inviting) commissives commit the speaker to a future action (promising, planning, betting) acknowledgments express attitude toward the hearer about a social action (apologizing, greeting, thanking) - Jurafsky & Martin, Speech and Language Processing, 3rd ed. draft, ch. 26, §26.1, p. 592
- Classify the speech acts: “Turn up the music”; “What day in May did you want to travel?”; “I need to travel in May”; “Thanks!”Directive; directive (a question politely commands an answer); constative (stating a constraint); acknowledgment.
- Jurafsky & Martin, Speech and Language Processing, 3rd ed. draft, ch. 26, §26.1, p. 592
- What are common ground and grounding?Common ground: what the participants both agree on (Stalnaker). Grounding: acknowledging that the hearer has understood the speaker (Clark), or signaling problems in understanding so mutual understanding can be reached.
- Jurafsky & Martin, Speech and Language Processing, 3rd ed. draft, ch. 26, §26.1, pp. 592–593
- What non-linguistic example illustrates grounding?An elevator button lights up when pressed, acknowledging that the elevator has been called (Norman 1988).
- Jurafsky & Martin, Speech and Language Processing, 3rd ed. draft, ch. 26, §26.1, p. 593
- What are the two phases of a contribution (Clark and Schaefer 1989)?Presentation: the speaker presents an utterance, performing a speech act. Acceptance: the hearer grounds it, showing whether understanding was achieved.
- Jurafsky & Martin, Speech and Language Processing, 3rd ed. draft, ch. 26, §26.1, p. 593
- What methods can a hearer use to ground an utterance, from weakest to strongest?
- Jurafsky & Martin, Speech and Language Processing, 3rd ed. draft, ch. 26, §26.1, p. 593
- Find three kinds of grounding in a travel agent dialogue.Explicit acknowledgment (“OK”, “Right”); demonstration by repeating (“what day in May…”); next contribution starting with “And”, implying the answer was understood and this question is in addition.
- Jurafsky & Martin, Speech and Language Processing, 3rd ed. draft, ch. 26, §26.1, p. 593
- What is a continuer (backchannel)?A short optional utterance like uh-huh that acknowledges the other’s utterance and doesn’t itself require acknowledgment.
- Jurafsky & Martin, Speech and Language Processing, 3rd ed. draft, ch. 26, §26.1, p. 593
- What are adjacency pairs?Paired dialogue acts from conversation analysis, a first pair part setting up an expectation for a second: QUESTION → ANSWER, PROPOSAL → ACCEPTANCE/REJECTION, COMPLIMENT (“Nice jacket!”) → DOWNPLAYER (“Oh, this old thing?”).
- Jurafsky & Martin, Speech and Language Processing, 3rd ed. draft, ch. 26, §26.1, pp. 593–594
- What is a side sequence (subdialogue)? Give an example.Material separating the two parts of an adjacency pair. A correction subdialogue: while the agent seeks a May 15 return flight, the client asks “what day of the week is the 15th?” and then decides to stay until Sunday, changing the plan.
- Jurafsky & Martin, Speech and Language Processing, 3rd ed. draft, ch. 26, §26.1, p. 594
- What is a clarification subdialogue?A side sequence between a REQUEST and its RESPONSE, common after ASR errors: “What do you have going to UNKNOWN on the 5th?” — “Going where on the 5th?” — “Hong Kong.” — “OK, here are some flights…”
- Jurafsky & Martin, Speech and Language Processing, 3rd ed. draft, ch. 26, §26.1, p. 594
- What is a presequence?A preliminary exchange before a request, e.g. “Can you make train reservations?” — “Yes I can.” — “Great, I’d like to reserve a seat on the 4pm train.”
- Jurafsky & Martin, Speech and Language Processing, 3rd ed. draft, ch. 26, §26.1, p. 594
- What is conversational initiative? Contrast system-, user- and mixed initiative.Control of the conversation. An interviewer has initiative over the interviewee. Mixed initiative, where control shifts back and forth, is the human norm. Primitive systems use system initiative (the user must answer the system’s question) or user initiative (a search engine passively answers queries). LLM systems come closer to mixed initiative but still don’t switch naturally.
- Jurafsky & Martin, Speech and Language Processing, 3rd ed. draft, ch. 26, §26.1, p. 594
- What does “I need to be there for a meeting from the 12th to the 15th” in answer to “What day in May did you want to travel?” illustrate?Conversational implicature: the client doesn’t literally answer, but the agent infers travel dates (likely arriving on the 11th).
- Jurafsky & Martin, Speech and Language Processing, 3rd ed. draft, ch. 26, §26.1, p. 595
- What is conversational implicature?Grice’s term for a class of licensed inferences: the speaker communicates more than the words say, and the hearer infers it using maxims, general heuristics that guide interpretation.
- Jurafsky & Martin, Speech and Language Processing, 3rd ed. draft, ch. 26, §26.1, p. 595
- What is Grice’s maxim of relevance, and how does it license inference?Speakers try to be relevant, not utter random speech acts. Hearing about a meeting, the agent asks why it was mentioned: the meeting is probably the reason for the trip, so the flight should arrive before it.
- Jurafsky & Martin, Speech and Language Processing, 3rd ed. draft, ch. 26, §26.1, p. 595
26.2 Dialog acts and corpora
- What is a dialogue act?A tag representing the interactive function of an utterance, combining speech acts and grounding; tagsets depend on the participants and on whether the dialogue is task-based.
- Jurafsky & Martin, Speech and Language Processing, 3rd ed. draft, ch. 26, §26.2, p. 595
- Give example dialogue acts from a meeting-scheduling tagset (Verbmobil).
SUGGEST from thirteenth through seventeenth June ACCEPT Saturday sounds fine REJECT No Friday I’m booked all day CLARIFY do you mean Tuesday the 23rd? DELIBERATE Let me check my calendar here GIVE REASON Because I have meetings all afternoon - Jurafsky & Martin, Speech and Language Processing, 3rd ed. draft, ch. 26, §26.2, pp. 595–596
- How do dialogue acts in a restaurant system (HIS) carry content?Each act has slot–value arguments: “I’d like an Italian somewhere near the museum” =
inform(food=Italian, near=museum); “Is it reasonably priced?” =confirm(pricerange=moderate); “What is the phone number?” =request(phone).- Jurafsky & Martin, Speech and Language Processing, 3rd ed. draft, ch. 26, §26.2, pp. 596–597
- In the HIS tagset, what is the difference between CONFIRM, CONFREQ, NEGATE and DENY?CONFIRM explicitly confirms values; CONFREQ (system only) implicitly confirms some values while requesting another; NEGATE (user only) negates and gives the corrected value; DENY (user only) just denies that a = x.
- Jurafsky & Martin, Speech and Language Processing, 3rd ed. draft, ch. 26, §26.2, p. 596
- What two kinds of functions does DAMSL tag for each utterance?Forward-looking functions (speech-act functions like STATEMENT, INFO-REQUEST, ACTION-DIRECTIVE, OFFER, COMMIT) and backward-looking functions relating to the interlocutor’s previous utterance (agreement, answering, grounding).
- Jurafsky & Martin, Speech and Language Processing, 3rd ed. draft, ch. 26, §26.2, p. 596
- Give DAMSL’s forward-looking functions.STATEMENT; INFO-REQUEST; CHECK (confirming information); influence on addressee (Bach’s directives): OPEN-OPTION (weak suggestion), ACTION-DIRECTIVE (actual command); influence on speaker (commissives): OFFER, COMMIT; conventional: OPENING, CLOSING, THANKING.
- Jurafsky & Martin, Speech and Language Processing, 3rd ed. draft, ch. 26, §26.2, p. 597
- Give DAMSL’s backward-looking functions.Agreement (ACCEPT, ACCEPT-PART, MAYBE, REJECT-PART, REJECT, HOLD, often via subdialogue); ANSWER; understanding: SIGNAL-NON-UNDERSTANDING, SIGNAL-UNDERSTANDING via ACK (continuer or assessment), REPEAT-REPHRASE, or COMPLETION.
- Jurafsky & Martin, Speech and Language Processing, 3rd ed. draft, ch. 26, §26.2, p. 597
- Give DAMSL labels for: A: “And, what day in May did you want to travel?” C: “OK uh I need to be there for a meeting that’s from the 12th to the 15th.” A: “And you’re flying into what city?” C: “Seattle.”
The “And” at the start of each question grounds the previous answer (ack).A [info-req, ack] C [assert, answer] A [info-req, ack] C [assert, answer] - Jurafsky & Martin, Speech and Language Processing, 3rd ed. draft, ch. 26, §26.2, p. 598
Source
- Daniel Jurafsky and James H. Martin. Speech and Language Processing. 3rd edition (draft). https://web.stanford.edu/~jurafsky/slp3/