Elamur Research

Speechworthy Instruction-tuned Language Models

Paper · 2024 · Hyundong Justin Cho, Nicolaas Paul Jedema, Leonardo F. R. Ribeiro et al.

Summary

A voice assistant can give an accurate answer that is difficult to take in by ear. A reader can skim a list, return to a definition, or pause over a dense sentence. A listener receives the answer in sequence and has to make sense of each part as the next one arrives. Hyundong Cho and colleagues ask how an instruction-tuned language model should compose an answer when someone will hear it. In a survey using answers to everyday requests, ratings for relevance, helpfulness, and correctness were similar across written and spoken delivery. The audio versions scored lower for appropriateness of length and amount of information, and for ease of understanding. Excess detail and excessive length accounted for most of the unfavorable judgments on their respective criteria.

The authors try two ways to make answers more suitable for speech. They write an instruction that asks for conversational language, a compact answer, and wording that can be spoken naturally. They also test whether examples of suitable exchanges help the system put those directions into practice. For the second approach, they collect SpeechPref, a dataset of 20K response pairs. Each pair answers the same user request, and annotators choose between the answers after listening to them. The resulting preferences let the authors fine-tune systems to favor responses that listeners select, including cases where a general instruction to be brief gives little guidance.

In head-to-head listening tests, prompting and preference learning improved replies from Falcon 7B Instruct and OLMo 7B Instruct over their minimally prompted versions. Combining example-based prompting with direct preference optimization also beat example-based prompting alone in a direct comparison for both systems. The abstract reports that the combined approach produced a preferred or tied answer in 76.2% of comparisons with the base systems on average. The introduction gives 75.3% for an average win-or-tie result, so the paper presents two figures for its headline aggregate. Prompting also helped GPT-4, whose prompted responses were preferred or tied in 88.3% of comparisons with its unadapted responses in the result highlighted by the authors.

The changes differed with the starting point. OLMo’s combined adaptation cut its average answer from 211.10 words to 95.88 on the automatic evaluation. Falcon’s corresponding adaptation increased its average from 44.71 to 50.82 words and improved its readability score. Listeners sometimes favored the fuller answer because it supplied useful context or delivered advice immediately. The experiments concern the composition of a single reply. They show how listening judgments can guide that composition, while leaving open how to deliver information across a conversation and how changes in the voice itself affect the experience.

Deep dive: Speechworthy Instruction-tuned Language Models

Speechworthy Instruction-tuned Language Models tests how prompts and listener preferences can make voice assistant replies easier to follow. · about 35 minutes to read

The problem and its context

An answer designed for the ear

Written answers offer a kind of navigation that spoken answers lack. A heading signals a change of topic before the reader examines the details. Bullets expose the shape of an explanation at a glance. Parentheses identify an aside and show where it ends. When an assistant speaks, any such structure has to be conveyed through the words, through delivery, or through both. The listener encounters the details in the order the assistant presents them. An answer can therefore be well organized on a screen and still place substantial demands on someone hearing it.

Cho and colleagues treat answer composition as one part of a dialogue system. The research they review had used language technology at multiple points in the interaction. Speech recognition turns a user’s utterance into a form the assistant can process, as in State-of-the-Art Speech Recognition with Sequence-to-Sequence Models and Fairseq S2T. Dialogue research also addressed how to generate and select replies. Speech synthesis addressed how to render words as natural-sounding audio. The question here is what words the assistant should send to that final stage.

That distinction narrows the source of difficulty under study. A synthesizer can pronounce a sentence clearly while the sentence still asks a listener to hold several ideas in mind. It can speak every item in a written list while leaving the relationship among the items obscure. A response may also postpone the information the user wanted until after a long preamble. Those difficulties arise in the formulation and order of the content. They can occur even when the words in the request are correctly recognized and the voice is intelligible.

The paper describes two neighboring lines of work. One investigates how systems cope with errors introduced by automatic speech recognition. Another builds assistants that can handle speech and text as input or output. The authors discuss SpeechGPT as an example of a system trained with both forms of data that can operate without separate recognition and synthesis systems. Native speech support addresses how information travels through an assistant. Cho and colleagues ask what makes the content of its reply worth delivering that way. That question also applies to an assistant assembled from separate recognition, generation, and synthesis components.

The closest precedent on the recipient’s experience concerns spoken explanations in open-domain question answering. The paper describes earlier evidence that users preferred shorter explanations in that setting. An instruction-following assistant encounters a wider variety of requests. A factual query may need a direct answer and a little context. Advice may need a practical starting point. A brainstorming request may call for distinct suggestions in a form that is easy to follow aloud. The amount of material that makes a reply useful depends partly on the task the user assigns.

Where ordinary instruction tuning gets its preferences

Instruction tuning gives a pretrained system practice responding to requests. The paper situates that practice alongside work such as Finetuned Language Models Are Zero-Shot Learners and Multitask Prompted Training Enables Zero-Shot Task Generalization. The idea relevant here is that an assistant can follow an instruction about how to respond, even if the request itself belongs to a different task. A rule about keeping an answer easy to hear can accompany a question about animals or a request for advice.

The authors distinguish instruction following from learning which of several plausible answers people prefer. In preference learning, raters compare outputs, and those judgments become training data. Earlier assistant work cited by the paper collected such judgments from people who read the answers. Those judgments are informative about written replies, where detail can be revisited and formatting can aid navigation. The choice of presentation is part of the task the rater performs. A person evaluating by ear has different means of finding the main point and keeping track of detail. Training language models to follow instructions with human feedback and Llama 2 provide precedents for the use of human judgments in assistant training.

This motivates the paper’s two interventions. An assistant that already follows instructions might respond well to directions about writing for the ear. An assistant further trained on listening judgments might learn when a rule applies and how to weigh it against considerations such as completeness. For example, an instruction to keep things brief can influence many answers in the same direction. Choosing whether a particular extra sentence earns its place calls for evidence about which replies listeners favor in context.

There were also different ways to learn from comparative judgments. The paper describes reinforcement learning with a learned reward as an established approach, with an earlier application in summarization. A reward scorer predicts how desirable a response is, and the generator is trained to obtain higher scores. The authors note the difficulty of keeping that scorer reliable as the generator changes and starts producing different kinds of outputs. Direct Preference Optimization offers a more direct route from the paired choices to a training objective. The study uses both approaches to ask whether preferences collected through listening provide a useful learning signal.

What radio can tell a voice assistant

Radio provides a set of practical starting points because it has long dealt with language that reaches its audience in sequence. The paper draws on guidance to put an identifiable subject early, give each sentence a manageable idea, and favor familiar words. It also notes cautions about unusual word order, dense strings of names and numbers, and phrases that are awkward to say. Podcasting, multimedia journalism, and research on listenability offer related guidance.

The suggestions concern several distinct parts of a reply. Choosing familiar vocabulary can reduce the effort required to understand an individual phrase. Giving the sentence a familiar structure can make its main action easier to identify. Choosing which facts to include can reduce the amount of information the listener has to retain. A system can follow one of these practices while overlooking another. A long reply written in simple words can still ask too much of the listener, and a compact reply can still be hard to follow if it compresses several unfamiliar terms into a sentence.

A voice assistant also differs from the settings that produced this advice. It is responding to a particular person’s request, and it can offer to continue after giving part of an answer. Radio guidance helps identify ways to formulate a sentence. It gives less direct guidance about how much of a larger task to handle first or which follow-up question will help a particular user. The authors therefore begin by asking whether people judge the same answer differently when they hear it. That comparison grounds the adaptations in the needs of the assistant task as well as in advice from broadcasting.

The method, step by step

Compare reading and listening

The authors start with Dolly-15K, a set of human-written instructions with reference answers. They filter the requests before generating replies. Retained items include factual questions, requests for ideas, and requests for advice that make sense on their own. Examples concern why camels can go without water, ways to manage a difficult working relationship, and how to start running. Requests built around an external passage, such as extracting figures from a supplied document, fall outside this selection. The authors also remove requests for code and long output that would be unlikely to fit their account of a voice interaction.

Filtering changes the task the study measures. A listener evaluating an answer to a self-contained request can judge it after hearing the request and its reply. A request to summarize a supplied article would introduce the question of how the user accessed that article or made it available to the assistant. By restricting prompts to those that stand by themselves, the authors can use a common presentation procedure across listening examples. The procedure gives them a range of intentions while keeping the interaction to a single request.

For the survey they randomly sample 80 prompts from the filtered collection. GPT-4, specifically gpt-4-0613, writes the answers, and Amazon Polly’s generative text-to-speech engine converts them to audio. The speech version presents the interaction without the displayed script. The written version presents the material for reading. The same survey criteria apply to both. The paper reports 3 annotators for each spoken response and 240 annotations in total for that part of the task.

The authors ask about helpfulness, relevance, correctness, the amount of information, response length, and ease of comprehension. The first group concerns qualities an assistant is expected to have across forms of delivery. The remaining criteria help locate difficulties specific to how much a person hears and how easily they can process it. In particular, a reply can be on topic and correct while the amount of material it presents is poorly suited to listening.

Each criterion is rated on a scale from 0 to 2. At the high end, the amount of information and the length are suitable. The scale assigns the same lower score to opposite problems when both represent a comparable departure from what the rater wants. A response can be too short or too long, and it can give too little or too much information. The authors retain those directional choices when examining which kinds of dissatisfaction dominate. The score therefore summarizes adequacy, and the underlying answers say which direction an improvement might take.

Each annotator completes a written task and a listening task, with their order randomized. In the audio task, the questions for the annotator become available after playback of the interaction. Having raters do both forms of task is intended to calibrate their judgments across modalities. The design also keeps the audio rating focused on an experience of listening, where scanning an answer for important material would change the task.

Turn guidance into a prompt

The first adaptation is a system prompt, the instruction that accompanies the user’s request and tells the assistant how to respond. The base system already receives a brief direction to act as a voice assistant. The detailed prompt supplies a more explicit account of the role. It asks for everyday language, familiar sentence structures, and a conversational delivery. It encourages the assistant to give essential information in a compact form and to avoid forms such as parenthetical asides or bullet formatting that depend heavily on visual presentation.

For a procedure that takes several steps, the directions ask the assistant to give the first 3-5 and then offer to continue. This changes where the assistant stops, in addition to changing how it phrases what it says. The first turn still has to contain a useful portion of the answer. The suggested follow-up gives the user a way to ask for the next portion. The paper evaluates the turn in which the assistant makes that offer, and the listener’s judgment can reflect how appropriate the offer sounds for the request.

The prompt also discourages jargon, hyphenated modifiers, excessive alliteration, and phrases that are awkward to pronounce. A broad instruction to make the answer easy to synthesize and understand gives the assistant a general purpose for those individual directions. Some cases can be covered by named rules, while the purpose still applies when a difficult form falls outside the named list. The prompt combines guidance from broadcasting, observations from the survey, and refinements made while inspecting replies.

The authors refine the wording iteratively on 20 randomly sampled input prompts. They then evaluate the detailed prompt by itself and a version with examples. The prompt-only condition relies on the system’s ability to apply the directions to a new request. The example condition uses in-context learning, in which the system sees examples in its input alongside the new request. Providing examples in this way leaves the trained parameters in place for the prompting-only experiment.

To prepare examples, the authors sample user requests from Dolly-15K categories and generate replies under their detailed directions. They edit the replies where needed to make the phrasing simpler or more conversational and remove material that would be difficult to speak. The examples show several ways a reply can satisfy the instructions. One about smartphones puts distinct capabilities into a sentence that can be spoken as a whole. A question about the history of Greek gets an immediate answer followed by an offer of more detail. An example concerning what to ask a doula contains enough information to help the user prepare. Taken together, the examples show that the length and structure of a suitable response can vary with what the user asks.

Generate alternatives worth comparing

The second adaptation begins with the same kind of filtered user request but needs two responses at a time. If every candidate were produced under the same instruction with similar decoding settings, many comparisons would cover a narrow range of possible answers. The authors deliberately vary the instructions, the systems generating the answers, and the settings used during generation. The goal is to create comparisons in which differences in scope, wording, layout, and style give listeners meaningful alternatives.

The simplest generation prompt identifies the assistant as a voice assistant. The Medium prompt emphasizes concise, conversational language and asks the assistant to avoid material that is hard to vocalize. The Easy prompt emphasizes simple vocabulary and syntax and sets a target below a 5th grade reading level. The Detailed prompt gives the fuller speech-oriented directions used in the prompting experiment. Each instruction can lead to some useful replies, and an individual reply can depart from the direction it was intended to follow. The annotator judges the actual response that results.

Falcon Instruct 7B, GPT-3.5, and GPT-4 supply generated candidates. The authors also vary the decoding temperature across 0.7, 1.0, and 1.3. Temperature controls how readily generation selects alternatives to the most probable continuation. Changing it gives the collection another way to vary how a request is answered. The reference answer written for Dolly-15K is available as another candidate. Its inclusion lets the study compare generated responses with answers originally collected through a written interface.

The authors report 37 response configurations in all and 666 possible pairings of configurations. They cycle through pairings while using filtered Dolly-15K requests to collect 20K response pairs for SpeechPref. Each comparison is between answers to the same request. Configurations determine which candidates enter the comparison. The listener’s choice supplies the preference, so an answer produced under a more detailed speech instruction can still lose to one produced under a simpler instruction or to a reference answer.

From a user request to speech preference tuning

The steps in order.

From a user request to speech preference tuningStep 1: Select a self-contained user request1. Select a self-contained user requestStep 2: Produce two replies from different response configurations2. Produce two replies from different response configurationsStep 3: Convert the request and replies to audio3. Convert the request and replies to audioStep 4: Play the replies in randomized order4. Play the replies in randomized orderStep 5: Record the listener’s preference and explanation5. Record the listener’s preference and explanationStep 6: Fine-tune the assistant on the collected preferences6. Fine-tune the assistant on the collected preferences

Collect judgments by ear

In the preference task, the annotator hears the user request and both answers. Playback of the pair must finish before the annotator can submit a choice. The procedure gives both answers exposure, including the end of a reply that takes longer to reach its main point. The order of the two answers is randomized to reduce the chance that the configuration systematically benefits from being heard first or last.

The choice records direction and strength. A listener can prefer an answer significantly, prefer it by a lesser degree, or report a difference small enough to count as a tie in evaluation. The scale makes room for pairs in which the answers are similarly suitable and for pairs in which the listener hears a clear advantage. The study also collects a short explanation. Those explanations help the authors check the work and later identify recurring reasons for a preference, such as natural phrasing, useful follow-up questions, sufficient detail, or clear organization.

The task is framed as an interaction with a voice assistant. The researchers mostly allow raters to exercise their own judgment of suitability. When some found the task too open, the researchers supplied optional criteria to help them make the decision. This gives speech suitability a practical meaning in the study. A label records which answer a trained annotator preferred to hear in the scenario, with both content and wording available to influence that choice.

The paper reports 71 unique annotators from countries where English is the primary language. Before working on a larger batch, an annotator completes 10 judgments that the authors have also made. The qualification checks whether the explanations support the choices and whether Cohen’s kappa exceeds 0.6. Kappa assesses agreement while accounting for the agreement expected by chance. Annotators who need more practice receive feedback and complete another batch of 10. During larger batches, the authors check a sample for every 100 completed annotations.

The paper makes the SpeechPref data, implementation code, and trained variants available. The comparison records matter separately from the trained variants because the same listening decisions can support more than one training method. In this study, one method learns a scorer from the comparisons and uses it to guide generation. The other learns from the comparisons directly.

Learn from the chosen and rejected answers

For proximal policy optimization, or PPO, fine-tuning proceeds in stages. The authors first build a reward scorer that accepts a user request together with a proposed reply and returns a single number for its suitability. They initialize it from the architecture and weights of the assistant they intend to adapt and add a projection layer that produces the score. Falcon and OLMo have separate reward scorers for PPO. The paper explains that the matching architectures support parameter sharing between the policy and value components during training, which helps with memory use.

Training the scorer uses pairs. It scores the chosen response and the rejected response with the request held fixed. The pairwise ranking loss described in the paper has the following form, with the sigmoid applied to the score difference. The displayed parentheses in the paper appear to put that difference partly outside the sigmoid.

Lᵣₐₙₖᵢₙɡ = −log(σ(rθ(x, y_c) − rθ(x, y_r)))

Lᵣₐₙₖᵢₙɡ is the loss for the pair. The equals sign gives its definition. The outer minus sign negates the natural logarithm, written log, and σ denotes the sigmoid, which maps a real-valued difference to the interval between zero and one. The function rθ scores a reply in the context of a request, and θ denotes the scorer’s learned parameters. Its arguments are x, the user request, and a reply. The subscript c in y_c identifies the answer chosen by the annotator, and the subscript r in y_r identifies the rejected answer. The subtraction inside the sigmoid compares their scores in that order. Parentheses group the operations, and each comma separates the two inputs to the scoring function.

The reason for taking the difference is that the annotator’s label specifies an ordering within a pair. It says which reply is preferred for that request. A larger score for the chosen reply increases the input to the sigmoid and decreases the loss. Reversing the ordering produces a larger penalty. Once trained, the scorer can also assess a newly generated answer to a request. PPO uses those scores as feedback for updating the generator, called the policy because it governs which output the assistant produces in response to its input.

Direct preference optimization, or DPO, uses the paired choices without the intervening stage of optimizing a generator against a separately trained reward scorer. In the paper’s description, the update acts on how strongly the generator favors the chosen text relative to the rejected text. Both are candidate replies to the same request, so the training example contains both the kind of reply to encourage and an alternative against which to compare it. The paper presents DPO as the simpler procedure to train and select checkpoints for in this study.

Prompting can be used as part of this training. In the combined setup, the authors put the detailed directions or the directions with examples into the fixed system instruction used during preference fine-tuning. The assistant thus encounters the speech guidance while learning from the labels. The DPO-ICL variant combines DPO with example-based prompting in this way. The ICL-only variant receives the examples without the additional preference training. This distinction matters when comparing the two, since both use the same kind of guidance at generation time and differ in whether the generator has learned from SpeechPref.

The train and test prompts come from a 9:1 split of filtered Dolly-15K, which has no pre-defined split for the study. Prompts from the training portion are used for sampling the responses that enter preference annotation and for the PPO generation step. SpeechPref supplies the comparisons for reward training and DPO. The authors use LLaMA-Factory to fine-tune Falcon and OLMo and report using 8 A100 GPUs for reward training and preference fine-tuning. The held-out requests used for human evaluation are kept out of preference learning and the example set.

Experiments and results

What changed when people listened

In the initial survey, the written and spoken answers received very similar ratings for relevance, helpfulness, and correctness on the 0 to 2 scale. The mean relevance score was 1.98 in text and 2.00 in audio. Helpfulness was 1.95 in both. Correctness was 1.97 in text and 1.99 in audio. The paper reports no statistically significant change on those criteria in this survey. The pattern puts the focus on specific features of the listening experience. Raters broadly recognized the answers as relevant and correct in spite of finding some of them poorly suited to hearing.

The mean score for appropriateness of the amount of information was 1.72 in text and 1.59 in audio. Ease of comprehension went from 1.84 in text to 1.77 in audio. The paper marks both drops as statistically significant at p < 0.05 in paired tests. The length result, from 1.70 in text to 1.44 in audio, was significant at p < 0.01. These are scores for how fitting the length or quantity was, so their interpretation depends on the underlying ratings about which direction the problem took.

Mean length-appropriateness score on the filtered Dolly-15K survey

The same answers received better length ratings when people read them.

Mean length-appropriateness score on the filtered Dolly-15K surveySpoken presentation: 1.44Spoken presentation1.44Written presentation (this paper): 1.70Written presentation (this paper)1.70
The numbers
System or settinglength-appropriateness score
Spoken presentation1.44
Written presentation (this paper)1.70

Among the unfavorable judgments on information volume, 87.5% pointed to excess information. Among unfavorable judgments on length, 90% pointed to verbosity. These figures describe the direction of complaints within their respective criteria. The authors use them to justify a prompt that encourages a compact reply with the essential information still present. The survey supports that target for the answers tested, and it leaves room for a different balance when a request demands detail or the base assistant already gives sparse answers.

The reported agreement figures also show that judgments varied by criterion. The authors use Krippendorff’s alpha, a statistic describing how consistently annotators apply a rating scale. In the text and audio conditions respectively, alpha was 0.988 and 0.983 for relevance, while it was 0.600 and 0.556 for length. For understandability it was 0.727 and 0.765. The results show greater consensus about topical fit than about how much to say. A clear shift in average length ratings can coexist with disagreement over the length an individual answer should have.

How the listening comparisons work

The main experiments use Falcon 7B Instruct and OLMo 7B Instruct as the starting systems. The authors chose them as strong instruction-tuned releases available under the Apache 2.0 license at the time. The base condition for each uses its existing instruction tuning and the brief voice-assistant role instruction. The prompt condition adds the detailed speech directions. ICL adds demonstrations to those directions. A DPO label indicates preference fine-tuning, and DPO-ICL indicates that the fine-tuning and example-based guidance are used together. The original Dolly-15K replies also provide a written-origin reference in the study. The central comparisons are against each assistant’s own base condition and between selected adaptations.

Each human comparison uses 60 answer pairs generated for a fixed random subset of held-out prompts. The same request underlies both replies, and annotators hear the pair under the listening procedure used to collect SpeechPref. A judgment of negligible superiority is counted as a tie. Stronger directional judgments are counted as wins for the chosen system and losses for its counterpart. The paper reports both the direction of preference and, in some headline summaries, the share of comparisons that were either wins or ties. A win-or-tie percentage measures how frequently the adapted answer avoided losing. The win and loss rates are needed to see the balance between answers actually favored.

For both Falcon and OLMo, the detailed prompt, example-based prompting, DPO alone, and DPO combined with examples all win more frequently than they lose against the respective base condition. The authors report advantages ranging from 13.5% to 56.7% across those base comparisons. For OLMo, DPO-ICL records a higher win rate against the base than ICL does. For Falcon, ICL records the higher win rate in those separate comparisons against the base. The ordering against a shared opponent gives a useful view of the individual comparisons, but it can differ from what people choose when they hear the two adapted answers together.

The authors therefore put ICL and DPO-ICL directly against each other. DPO-ICL is preferred more frequently for both systems. For Falcon, the paper gives the advantage in this direct comparison as 10%. For OLMo it reports a larger advantage. The direct result supports the paper’s claim that preference training can add value when an assistant already receives detailed directions and examples. The evidence comes from listeners comparing the two outputs for the same held-out request.

The paper reports two headline win-or-tie averages for the combined approach. Its abstract gives 76.2% for comparisons with the base systems on average. The introduction gives 75.3% in its account of the combined results. The paper supplies no reconciliation of those figures. The individual comparisons establish the direction of improvement over the base conditions and the advantage of the combined setup over ICL in a direct listening comparison.

Measure what changed in the replies

Listener preference is the primary outcome. The authors also calculate text-based measures to see how adaptation changes the material that users hear. They count words by splitting on whitespace. They use Flesch Reading Ease, or FRE, as a proxy for listenability, drawing on the relation that earlier research reported between reading ease and listening ease. FRE reflects features including sentence length and syllables in words. A higher score indicates easier reading according to that measure.

For sentence structure, the authors use a parser to obtain dependency depth. A dependency analysis represents which words grammatically depend on other words. Depth tracks how many levels those relations extend through in the parsed sentence. The measure captures a structural property of the text and gives the authors one way to test whether preferred replies tend to have shallower structures. The study also counts characters it classifies as nonvocalizable, such as brackets and markup symbols. This is a count derived from the text sent to synthesis. Whether a particular character causes audible trouble can depend on the wording and on how the synthesizer interprets it.

The last automatic measure comes from a learned evaluator. The authors train a SpeechPref reward scorer using GPT-J 6B for automatic evaluation. This scorer was separate from the scorers used to optimize the PPO assistants. It therefore supplies a measure based on the same type of listening labels without directly evaluating PPO outputs using the scorer they were trained to satisfy. Its scores express predicted speech suitability as learned from the comparisons, on the scorer’s own scale.

OLMo starts from substantially longer replies than Falcon. On the automatic evaluation of the held-out Dolly-15K requests, base OLMo averages 211.10 words. The detailed prompt lowers the count to 141.42 and prompting with examples to 109.49. DPO alone yields 174.82 words. The combined variant has the lowest mean word count of the OLMo settings, at 95.88. That pattern shows both that prompting can substantially alter how much OLMo says and that the variant with the strongest direct preference comparisons can retain the compactness encouraged by the prompt.

Mean OLMo response length on held-out filtered Dolly-15K requests

OLMo gives its shortest replies when it combines preference learning with examples.

Mean OLMo response length on held-out filtered Dolly-15K requestsOLMo base: 211.10OLMo base211.10OLMo with detailed prompt: 141.42OLMo with detailed prompt141.42OLMo with examples: 109.49OLMo with examples109.49OLMo DPO: 174.82OLMo DPO174.82OLMo DPO with examples (this paper): 95.88OLMo DPO with examples (this paper)95.88
The numbers
System or settingwords per response
OLMo base211.10
OLMo with detailed prompt141.42
OLMo with examples109.49
OLMo DPO174.82
OLMo DPO with examples (this paper)95.88

Other OLMo metrics show which changes accompanied the shorter replies. Its mean nonvocalizable-character count is 9.19 in the base condition and 2.9 under DPO-ICL. The learned reward score moves from -0.38 to 0.58. Flesch Reading Ease moves from 51.05 to 51.58, a much less pronounced shift in that measure. Mean dependency depth is 6.64 in the base condition and 7.23 in DPO-ICL. The combined response can be shorter overall and contain fewer visual artifacts while still using structures that the parser represents as deeper.

Falcon starts at 44.71 words per response and reaches 50.82 under DPO-ICL. Its mean Flesch Reading Ease rises from 49.74 to 69.52. Its learned reward score is 0.41 for the base and 1.42 for the combined variant. Its mean dependency depth goes from 6.71 to 6.52. The mean character count under the paper’s nonvocalizable classification goes from 0.5 for the base to 0.82 under the combined setup. The strong direct listening result for DPO-ICL thus occurs alongside improvement on some proxies and movement in the opposite direction on others.

Mean Falcon Flesch Reading Ease on held-out filtered Dolly-15K requests

Every adaptation raises Falcon’s reading-ease score, and the combined approach scores highest.

Mean Falcon Flesch Reading Ease on held-out filtered Dolly-15K requestsFalcon base: 49.74Falcon base49.74Falcon with detailed prompt: 68.89Falcon with detailed prompt68.89Falcon with examples: 61.50Falcon with examples61.50Falcon DPO: 65.37Falcon DPO65.37Falcon DPO with examples (this paper): 69.52Falcon DPO with examples (this paper)69.52
The numbers
System or settingFlesch Reading Ease
Falcon base49.74
Falcon with detailed prompt68.89
Falcon with examples61.50
Falcon DPO65.37
Falcon DPO with examples (this paper)69.52

The reference answers from Dolly-15K average 69.07 words on the automatic evaluation, with a Flesch Reading Ease score of 58.64 and a learned reward score of 0.49. These values place the original written answers among the adapted and unadapted outputs in different ways depending on the measure. Word count alone would place them between base Falcon and base OLMo. The separate results for each assistant are more informative than treating the reference length as a target. They show how strongly length depends on the assistant and the response strategy.

Prompting a stronger assistant

The authors also test gpt-4-turbo using the detailed prompt and the version that includes examples. This is a separate experiment from the initial text-and-audio survey, which generated answers with gpt-4-0613. The GPT-4 experiments ask what the same input instructions can achieve when the researchers are working with a system they access through prompting. Both adapted configurations are preferred significantly more frequently than the unadapted GPT-4 condition in the listening comparisons. The paper highlights a prompted result in which replies are preferred or tied in 88.3% of comparisons with the unadapted system.

Base GPT-4 averages 182.41 words on the automatic evaluation. With the detailed prompt it averages 37.07, and with examples it averages 39.57. The Flesch Reading Ease scores for those settings are 52.54, 75.1, and 71.02 respectively. The mean counts for characters categorized as nonvocalizable are 35.06 for the base, 0.45 for the detailed prompt, and 0.34 for the version with examples. The three learned reward scores are 0.01, 1.85, and 1.98. As with OLMo, average length and counted visual artifacts fall sharply. The setting with the highest reading-ease score differs from the setting with the highest learned reward score.

Prompted GPT-4 also wins its direct listening comparisons against the best Falcon and OLMo variants tested against it. The paper identifies Falcon DPO-ICL as the closest competitor, trailing in win rate by 10% in the comparison reported in the GPT-4 discussion. An additional analysis identifies a narrower strength for Falcon. GPT-4-ICL includes lists or material classified as nonvocalizable in 13.6% of responses in the authors’ format check, while Falcon DPO-ICL does so in 1.2%. This last comparison is a share of replies containing those features. The character counts in the automatic evaluation measure the mean amount of a particular set of characters per reply. Each gives a different view of formatting behavior.

The GPT-4 comparisons put the two aims of the paper in view. Speech guidance can substantially change what a capable assistant says. Its overall appeal to listeners can also depend on how well it interprets and answers the request. A system can comply consistently with a format instruction and still lose when another reply gives the listener more relevant information. The authors investigate those conditions through training comparisons and individual examples.

What the ablations show

What the prompt and the preference labels each contribute

The paper’s available variants support several controlled comparisons. For a given base assistant, the minimal prompt and detailed prompt differ in the guidance provided at generation time. The ICL condition adds demonstrations to that guidance. DPO alone adds preference fine-tuning. DPO-ICL uses the preference labels with the guidance and examples present. The listening tests show that both changing the input and updating the assistant from listening-based choices can help. The individual switches also affect observable features of the replies in different ways.

The detailed prompt has an immediate effect on OLMo’s length, and demonstrations bring it down further. DPO alone also shortens OLMo replies, with a smaller change in the mean word count than either prompt condition. This suggests that optimizing for the choices in SpeechPref changes more than the decision of when to stop. Falcon makes that interpretation especially plausible. The combined approach wins in direct comparison with ICL and gives longer replies on average than base Falcon, while reading ease improves. Shortening a verbose answer and improving the phrasing of an already short one are both ways an assistant can become easier to listen to.

The direct comparison between ICL and DPO-ICL is the clearest test of extra value from learning preferences when examples are already available. DPO-ICL wins for both assistants, although the separate Falcon comparisons against the base would put ICL first by win rate. In a direct test, the listener judges the tradeoff between the adapted styles in the context of the same request. Against a shared base reply, the two adaptations can each succeed for different reasons. The paper’s claim about additive benefits rests on the observed advantage of the combination in these direct tests. It does not quantify a fixed contribution from each intervention that can be carried across assistants or requests.

What happens during DPO training

The authors examine Falcon’s DPO training trajectory to investigate how prompting might help the combined approach. The prompted variants reach lower evaluation loss sooner and achieve higher evaluation accuracy sooner during training. They also develop larger margins in favor of the chosen answers over rejected answers. Here the margin concerns the training comparison between alternatives, while the later listening test concerns replies generated by the trained assistants.

The authors interpret the trajectory as evidence that the detailed instructions and examples provide a useful starting point. A system told from the beginning to care about listening may already assign different probabilities to candidate answers that differ in speech suitability. The paired judgments can then refine its preference among responses under that instruction. One pair might favor a fuller explanation because it completes the user’s task. Another might favor a more direct explanation because the longer response spends time on background the user can do without. Combining the instruction and the labels gives the training process examples of how a general aim plays out in particular cases.

The trajectory is an illustration from Falcon, and the training measures concern the ability to distinguish chosen and rejected examples. The listening comparisons address the next question of whether the updated generator produces a more desirable reply on a new request. The paper has evidence at both points. It does not isolate which phrase in the system prompt, or which demonstration, is responsible for a given part of the improvement.

How the two preference methods compare

The head-to-head comparison of preference algorithms uses their best tested example-prompted configurations, DPO-ICL and PPO-ICL. It contains 60 pairwise comparisons for each of the Falcon and OLMo setups. DPO edges PPO by a small margin for OLMo. The results are exactly tied for Falcon. The paper focuses its main reporting on DPO, whose practical handling was simpler in these experiments.

The difference in handling is illustrated by how the authors select checkpoints, the saved versions of an assistant at different points in fine-tuning. In DPO, the checkpoint with the lowest evaluation loss tended to correspond closely to the one with the best evaluation accuracy. For PPO, the authors could find checkpoints with attractive loss or reward scores whose outputs were degraded or repeatedly defaulted to a particular style. They inspected generated examples and examined divergence from the reference assistant in addition to the reward. Divergence describes how far the adapted generator’s predictions have moved from the reference generator’s predictions. This made selection a partly manual process even when the numeric scores were available.

The study compares the trained variants the authors were able to select under their experimental budget. It therefore shows that the two algorithms can achieve closely comparable listener outcomes on SpeechPref and that the practical work of training them can differ. The paper reports exploring learning rates, batch size, DPO’s preference-strength setting, and generation settings for PPO. Other settings could change the relative outcomes, and the direct comparison was restricted to the best configuration of each method. The results provide evidence for the viability of both uses of SpeechPref.

Why some short answers lose

The qualitative analysis examines cases where Falcon DPO-ICL and Falcon-ICL each win. In examples favoring DPO-ICL, the authors identify more conversational wording in 28% of the preferred cases and better follow-up questions in 37%. Greater succinctness appears in 26%. In cases favoring Falcon-ICL, greater comprehensiveness appears in 19%, and greater succinctness in 16%. The categories are drawn from evaluator explanations and features the authors observe, and they can overlap. Their percentages refer to the preferred cases for the respective system in that analysis.

The same desirable feature can therefore help different systems on different requests. In a question about why someone might like whisky, the authors illustrate a preference for a direct, short answer over a reply that spends much of its running time describing how whisky is made and discussing its reputation. In the example about the work of a lawyer, the ICL-only version is preferred and is also the more succinct one. It gives the core responsibilities in fewer words than the combined version. A condition’s average duration provides little information about which particular answer will take the clearer route to its point.

The example about learning to sail illustrates a different tradeoff. One reply offers an age range and stops. The fuller reply discusses supervision, appropriate equipment, and why the decision depends on the child. Those details address practical considerations behind the user’s question. In the authors’ qualitative analysis, the fuller reply illustrates a win for comprehensiveness. In examples of this kind, listeners appear to care about the usefulness of the added material as well as its quantity.

Follow-up questions play several roles in these comparisons. After an assistant provides a direct answer, an invitation to hear more can give the user control over the amount of detail. A question that asks about the user’s situation can also help identify which advice to offer next. A follow-up after an answer that supplies little substance has a different effect. The listener may have to repeat or confirm the request before receiving anything usable. The study shows examples of all these behaviors in the first turn and of listeners taking them into account.

Why some fuller GPT-4 answers win

In the comparison against GPT-4-ICL, the authors associate GPT-4’s preferred cases with greater comprehensiveness in 52%, more knowledge or relevance in 44%, and supplying an answer in 32%. The categories overlap and describe reasons observed in the cases analyzed. Falcon’s wins reveal other desirable properties. Among Falcon’s preferred cases, the authors identify more natural presentation in 33% and avoidance of lists in 29%. These observations help explain how one assistant can win more overall while another performs better in particular aspects of spoken delivery.

The examples distinguish understanding the request from choosing how much detail it warrants. In a riddle about the shapes of the digits 0 and 8, Falcon responds as if the prompt called for a greeting. GPT-4 recognizes the joke and explains its visual premise. For a factual question about which country colonized Goa, Falcon supplies Portugal by itself. Listeners prefer a GPT-4 reply that adds related context. The first case turns on identifying what the user is asking for, and the second on how to turn a correct short answer into a helpful spoken response.

An example about avoiding credit card debt reveals how an offer to continue can be misplaced. Falcon offers to give tips, while GPT-4 gives several practical suggestions immediately. The latter uses a numbered format of the sort the authors try to discourage, yet it wins in their example because it delivers the advice. Conversely, in an example about spending time in Seattle, Falcon gives suggestions in connected speech, while GPT-4 presents a visually ordered itinerary. That comparison illustrates a case where Falcon’s avoidance of a list helps its presentation. Considering the examples together puts the format issue in its proper context. A listener can judge both the effort of taking in the reply and whether that effort yields the requested information.

The learned reward scores and the human judgments generally move in the same direction, especially for the broad contrast between base and adapted assistants. The authors observe that reward scores sometimes give DPO variants a larger advantage over prompting alone than listeners do. Readability and dependency depth likewise capture different properties and can move independently. These findings make the automatic measures useful for diagnosing changes in the answers. Relative preference between two assistants remains a question the paper answers with a listening comparison.

Limitations

Limits identified by the authors

The authors restrict the study to the content and wording of a reply. Acoustic delivery, including timbre, pitch, and speed, is a separate subject they leave open. A different rendering could change which words stand out, how clearly a transition is signaled, or how rushed an answer feels. The results come from using synthesized speech to let people hear the replies, with adaptation applied to the material spoken. They do not measure how jointly changing that material and the voice would affect preference.

The interaction ends after a single request and its answer. Some of the detailed directions anticipate a later turn by encouraging the assistant to stop after giving an initial portion and offer to continue. Raters can judge whether that offer sounds useful. The experiment leaves open whether users take it up, how helpful the continuation is, or how much repetition occurs when the task is spread across turns. The authors identify the amount of information delivered per turn and the design of follow-up questions as topics for a fuller conversational study.

The choice of assistants available for open-weight fine-tuning was also restricted. The authors report legal constraints that limited their choices to systems with an Apache 2.0 license. Falcon and OLMo exhibit notably different starting behavior, which is informative about two tested cases. The scope of the fine-tuning results remains those systems and the adaptations investigated. GPT-4 extends the evidence on prompting. Its experiment evaluates a different condition from updating it with the SpeechPref pairs.

Financial constraints narrowed the human comparison of preference algorithms to the best tested PPO and DPO variants for each assistant. The authors also identify unexplored training settings and describe the difficulty of choosing a PPO checkpoint. Their observation of a slight DPO lead for OLMo and a tie for Falcon applies to the selected configurations. The paper situates newer preference objectives among related work and leaves their effectiveness on SpeechPref for further study.

Limits of what the setup establishes

The prompt filtering favors tasks that sound plausible in a single voice turn. It excludes text-dependent requests, code, and some tasks that call for long-form output. The findings consequently describe a class of requests where a listener can understand the question from the spoken interaction alone. A full spoken walkthrough or a task in which audio is paired with an on-screen document can impose different demands. Longer answers or visibly structured material may be useful when the way a person accesses the answer changes.

SpeechPref samples replies from a defined set of generator and prompt configurations. This gives the raters variation along dimensions the authors expect to matter, including length, syntax, wording, and formatting. It also constrains which forms of effective spoken language enter the training data. The ability to choose the better of these replies provides evidence about relative preferences within the sampled alternatives. Using those labels to train a generator extends their influence to new inputs. The held-out tests provide evidence for that extension within filtered Dolly-15K.

The annotators are evaluating recorded examples in an assigned voice-assistant scenario. The paper recruits them from countries where English is the primary language and checks consistency with the task’s guidelines. Results on comprehension and preferred length can depend on listener experience, listening conditions, and how much the user already knows. The study’s design supports claims about the judgments it collected. It leaves questions about other languages, listener groups, and settings open. The authors discuss accessibility as a reason to make voice interfaces more capable, while their evaluations measure response preferences and suitability ratings.

The survey and the main listening comparisons establish different things. The survey changes the modality for answers generated by a particular GPT-4 version and uses separate ratings for length, helpfulness, and other criteria. The later comparisons hold the modality fixed and compare different answers, which can vary in accuracy, content, length, and wording all at once. The latter design provides an overall preference outcome. It gives limited leverage for assigning that outcome to a specific feature of a reply. The automatic and qualitative analyses identify plausible contributors, with examples where a desirable change along one dimension accompanies a less desirable change along another.

A count of punctuation-like characters can identify a tendency to include markup, though a synthesizer may read or ignore different marks in different ways. Dependency depth reflects relations assigned by a parser and does not directly measure the effort a listener expends. Flesch Reading Ease estimates textual ease from a restricted set of features. The learned scorer can capture some of the tradeoffs present in SpeechPref, and its preference for DPO variants is stronger than the human comparisons suggest. These measures give a description of the replies from several angles. Human ratings provide the experiment’s direct evidence about which response people would rather hear.

The authors find that the tested adaptations help more frequently than they hurt in the head-to-head comparisons with their base systems. The degree of brevity, amount of context, and suitability of a follow-up remain decisions that can change with the request. The errors in the qualitative examples matter in this respect. Recognizing a joke or answering a request for advice immediately can outweigh advantages in style. Similarly, an answer that reads naturally can still be unsatisfactory if it stops before giving the relevant information. The paper’s results support adapting an assistant’s replies to listening conditions while showing that the quality of the underlying answer remains part of what listeners judge.

What came after

LLaMA-Omni: Seamless Speech Interaction with Large Language Models cites Cho and colleagues and addresses speech interaction with a language assistant. Its stated scope is the interaction as a whole, a broader framing than the composition of individual replies studied here. Cho and colleagues supply evidence about one decision within that broader problem, namely how to phrase and portion an answer that a user will hear. The citation connects the work on listening-based response preferences to later research on speech interaction. It does not on its own establish that LLaMA-Omni reused SpeechPref, adopted the same prompts, or replicated the listening comparisons.

Cite

Cite as Hyundong Justin Cho, Nicolaas Paul Jedema, Leonardo F. R. Ribeiro, Karishma Sharma, Pedro Szekely, Alessandro Moschitti, Ruben Janssen and Jonathan May. 2024. Speechworthy Instruction-tuned Language Models. Proceedings of the 2024 Conference on Empirical Methods in Natural Language Processing.

The paper itself, not this page. BibTeX from the library's record of the work. DOI 10.18653/v1/2024.emnlp-main.595

@inproceedings{cho2024speechworthy,
  title = {{Speechworthy Instruction-tuned Language Models}},
  author = {Hyundong Justin Cho, Nicolaas Paul Jedema, Leonardo F. R. Ribeiro, Karishma Sharma, Pedro Szekely, Alessandro Moschitti, Ruben Janssen and Jonathan May},
  booktitle = {Proceedings of the 2024 Conference on Empirical Methods in Natural Language Processing},
  year = {2024},
  doi = {10.18653/v1/2024.emnlp-main.595},
  url = {https://doi.org/10.18653/v1/2024.emnlp-main.595}
}

↑ back to top

This page in Markdown https://md.research.elamur.ai/free/en/papers/cho-2024-speechworthy-instruction-tuned-language-models/