Elamur Research

Task-Optimized Adapters for an End-to-End Task-Oriented Dialogue System

Paper · 2023 · Namo Bang, Jeehyun Lee and Myoung-Wan Koo

Summary

A task-oriented dialogue system has to carry a user’s requirements from one turn to the next. It must recognize what the user is asking for, keep track of the constraints that still apply, and give an answer that advances the task. When those jobs are learned through the same set of adjustable parameters, an error in the final reply can be difficult to trace and a change intended to improve one job can affect the others. Bang and colleagues propose TOATOD, a way to give each job its own trainable components while keeping a common dialogue-pretrained network fixed. The work addresses a practical question for dialogue systems.

TOATOD assigns separate adapters to intent classification, dialogue state tracking, and response generation. An adapter is a trainable addition inside the network that transforms an internal representation through a narrow intermediate layer. The dialogue tasks share the original T5 weights, while each task can change its own adapters through fine-tuning. During end-to-end response evaluation, the tracker’s predicted state determines a database result that the generator uses to answer the user. The authors first train with labeled examples, then give the tracking and generation adapters additional training with rewards. The tracker is rewarded for getting the whole state right. The generator is rewarded for matching reference wording and for supplying the information the user requested by the end of the dialogue.

The strongest result is on the MultiWOZ 2.2 test set. TOATOD base reaches 63.79 Joint Goal Accuracy, the highest reported in the paper’s comparison, with 36M trainable parameters for the tracking task. On the MultiWOZ 2.1 test set, its Joint Goal Accuracy is 54.97, below several published results. For end-to-end responses on MultiWOZ 2.1, TOATOD base records 97.00 Inform and 87.40 Success, ahead of the listed baselines on those measures, while scoring 17.12 BLEU and 109.32 on the Combined Score. In the paper’s before-and-after comparisons, reward training raises task-completion scores while lowering BLEU. Intent classification, trained with supervision alone, yields a mix of competitive and weaker results across the benchmarks.

The architecture also lets the authors put a tracker trained on MultiWOZ 2.2 together with the response adapter trained on MultiWOZ 2.1. That experiment illustrates what separate adaptation makes possible in a working system, even though a change to the tracker can still affect the generator through its inputs. The benchmark gains establish that modest task-specific parameter sets can support strong tracking and useful responses with this pretrained starting point. The unusually strong tracking result on MultiWOZ 2.2 remains partly unexplained, and the paper identifies the role of corrected state annotations as a question for further study.

Deep dive: Task-Optimized Adapters for an End-to-End Task-Oriented Dialogue System

TOATOD trains separate adapters for dialogue tasks on a frozen network and uses benchmark rewards to improve state tracking and task completion. · about 35 minutes to read

The problem and its context

What a dialogue system has to remember

A reply can be well written and still fail to help the user. In a task-oriented conversation, the system needs to act on requirements that may have been introduced several turns earlier. The most recent utterance can modify a request without repeating it in full. To give a relevant reply, the system must identify what the new utterance means in context, update its record of what the user wants, and use that record to decide what information belongs in the answer. The paper motivates this work with applications such as customer service and healthcare information retrieval.

The paper distinguishes the work of understanding the user, tracking the dialogue state, selecting an action, and generating the reply. Natural language understanding, abbreviated NLU, covers interpretation of the user’s input. In TOATOD’s experiments, its concrete task is intent classification, which means assigning an utterance to a category that represents the user's purpose. The term is broader than the particular label prediction evaluated in the paper. The related concept is natural language understanding.

Dialogue state tracking, or DST, maintains a structured representation of the requirements that are active at the current turn. A slot is a field in that representation, and its value records what the conversation has established for that field. The state gives the system a way to carry forward information that may be absent from the latest utterance. It also gives the rest of the system a concrete object to use. If a requirement disappears from the predicted state, a lookup made from that state can return an unsuitable result even when the response generator describes that result accurately.

The paper includes policy learning in its account of conventional pipelines. A policy concerns how the system chooses what to do next, given what it knows about the conversation. Natural language generation, or NLG, turns the available information into a response a user can read. TOATOD’s task-specific components are for understanding, tracking, and generation. The reported response experiment asks whether the resulting system can produce an appropriate reply after predicting the state and consulting the database.

These jobs expose different kinds of error. Intent classification can fail at the level of a single utterance. A tracker can get the new requirement right and lose another one that still applies. A response can offer a suitable entity and leave out information needed to complete the request. Each error belongs at a different point in the conversation, and each suggests a different way of measuring performance. The architecture and the training objectives both follow from that distinction.

From separate components to a shared network

Earlier pipeline systems usually treated the stages as separate components. A developer could optimize each component for its own task, inspect its intermediate output, and revise it when that output was wrong. The structured state is especially convenient for that kind of inspection because it exposes the requirements used downstream. The price of separate optimization, as the authors describe it, is the difficulty of getting the components to serve a common objective. A signal at the end of the dialogue can show that the task failed while giving little guidance about which component should change.

The stages also depend on one another at execution time. If the interpreter passes an incorrect reading to the tracker, later stages can inherit the error. A generator that receives a bad database result has limited evidence about why that result is unsuitable. Training the stages one at a time can leave those dependencies poorly matched, and the authors point to earlier work on how errors accumulate along the pipeline.

End-to-end approaches offered a way to train a shared network for the overall task using dialogue data. The paper describes a common route in which a pretrained network is adapted to task-oriented conversations. Pretraining gives the system a starting point before the task-specific training, and the dialogue examples then teach the kinds of outputs it needs to produce. Pretraining.

SimpleTOD is the paper’s example of using a causal generation objective in a GPT-based system. The system learns to predict the next part of a sequence, so dialogue-specific outputs can be handled by a shared generation procedure. The paper treats this as a way of exploiting knowledge acquired before training for the benchmark. It also discusses systems that pretrain directly on large dialogue collections. SPACE-3 is the example it gives of a unified network learning contextual information from such data.

The drawback for Bang and colleagues is that full adaptation makes the same large set of parameters available for several jobs. A developer trying to fix a particular part of the system has fewer obvious places to intervene when the jobs use jointly optimized weights. Updating the full network for another downstream use also means training a large parameter set again. These are issues of trainable capacity and control. A system can expose a recognizable intermediate state and still leave the source of a particular failure hard to isolate among its weights.

PPTOD sits particularly close to the authors’ proposal. It uses a unified pretrained network and task-specific prompts to call different dialogue functions. In the paper’s account, the design gives the tasks a plug-and-play organization and helps with error accumulation. The underlying parameters are still shared. TOATOD takes the dialogue-pretrained weights from PPTOD and puts the task distinction into separately trained adapters. This makes the starting point and the proposed change easy to distinguish. PPTOD supplies the pretrained weights, and TOATOD determines where subsequent task-specific learning is allowed to occur.

What adapters and sequence rewards bring to the problem

Adapters were already used to make transfer learning more parameter-efficient. The paper draws on parameter-efficient transfer learning, where a pretrained network can learn a downstream task through small inserted components. Most of its weights can remain fixed. The authors also point to work such as Simple, Scalable Adaptation for Neural Machine Translation in discussing the use of distinct parameters for different kinds of adaptation.

TOATOD applies that principle to tasks inside a dialogue system. The distinction matters because the tracking and generation tasks are related during a conversation, yet the criteria for learning them are different. Tracking should produce a complete and accurate record of the user’s requirements. Generation should make use of that record and express a helpful response. The authors want to retain a common representation learned from dialogue while leaving room for each task to change its behavior under a different objective.

The training objective raises a separate problem. Supervised generation usually teaches the system to predict the next token using the correct preceding tokens as context. A token is a unit in the sequence the system processes or generates. During inference, the system conditions on tokens it has produced itself. An early error can therefore create a continuation that differs from the contexts encountered during supervised training. The paper discusses this training and inference mismatch as exposure bias. Tokenization.

There is also a difference in what the losses measure. Predicting the reference tokens is valuable, but a dialogue can be judged by properties that only become clear after a whole state or a sequence of replies has been produced. A slot value is correct only when it can be interpreted as the right value, and a dialogue succeeds only when the required information has been delivered. The paper places this problem in the line of work on sequence-level training and reinforcement learning for dialogue generation. Its extension is to apply a benchmark-based reward to state tracking as well as to response generation.

The method, step by step

Choose which parameters learn

TOATOD starts from T5 small or T5 base, initialized with the dialogue-pretrained weights supplied by PPTOD. T5 gives the system a common text-to-text architecture, and the PPTOD weights give it a starting point already shaped by dialogue data. The first design choice is to freeze those weights. During task training they still take part in every computation that uses them, but updates are confined to the trainable components assigned to the current task. T5.

A task receives its own adapter set. The understanding adapter learns from examples paired with intent labels. The tracking adapter learns to produce a state. The generation adapter learns to produce the system’s response. The sets follow the same architectural design, and each has its own learned weights. Selecting an adapter therefore chooses which task-specific transformations the common network will use. The authors describe this as a design without prompt tuning. Task selection is implemented through the adapter path and the data supplied to it.

The useful distinction is between learning and execution. The authors can train a tracking adapter with a target state without updating the generation adapter. When the system runs the response task end to end, however, the generator receives a database result obtained from the tracker’s prediction. Training one component separately gives the developer control over where a weight update lands. It still matters whether that update produces outputs the next component can use.

The paper evaluates intent classification in separate experiments. Its diagram of the response path traces tracking inference, the database lookup, and generation. The intent results establish how an understanding adapter performs on labeled utterances. A reader can follow the response architecture without assuming that the predicted label from one of those experiments is an extra input to the MultiWOZ generator.

How TOATOD trains and uses its task adapters

The steps in order.

How TOATOD trains and uses its task adaptersStep 1: Initialize the shared network with dialogue-pretrained weights1. Initialize the shared network with dialogue-pretrained weightsStep 2: Freeze shared weights and attach separate task adapters2. Freeze shared weights and attach separate task adaptersStep 3: Train each adapter with its own labeled examples3. Train each adapter with its own labeled examplesStep 4: Refine tracking and generation with benchmark rewards4. Refine tracking and generation with benchmark rewardsStep 5: Predict the dialogue state with the tracking adapter5. Predict the dialogue state with the tracking adapterStep 6: Look up database results using the predicted state6. Look up database results using the predicted stateStep 7: Generate the reply with the response adapter7. Generate the reply with the response adapter

What happens inside an adapter

The inserted component works on the internal representation already produced by a transformer block. The architecture places it after the feed-forward layer that follows multi-head attention. At this point there is a vector of features for each input position. The adapter first maps those features into a narrower space, applies a nonlinear transformation, and then maps the result back to the original width. The change can then be added to the representation that entered the adapter.

Returning to the original width serves a practical purpose. The surrounding frozen network still expects features of that width. The output of the narrower transformation can influence those features without changing the interface to the rest of the network. The addition is a residual connection. It preserves a direct path for the original activations and for gradients flowing back through the computation. The authors relate this choice to earlier work on residual learning.

The paper writes the adapter transformation as follows. The matrix products are shown in row-vector order to make their dimensions explicit.

Aᵢⱼ = LN(ReLU(Hⱼ W↓) W↑ + Hⱼ)

Aᵢⱼ is the output of adapter j for task i. The index i identifies the understanding, tracking, or generation task, and j identifies the adapter’s position in the network. Hⱼ is the representation from the corresponding feed-forward layer, including that layer’s residual connection. It has shape n by d, where n is the input length in positions and d is the hidden width. W↓ is the down-projection matrix with shape d by h, and W↑ is the up-projection matrix with shape h by d. The bottleneck width h is a setting chosen before training. Juxtaposition denotes matrix multiplication. ReLU is the rectified linear activation applied after down-projection. The plus sign adds the input representation to the up-projected result, and LN applies layer normalization to the sum. The projection matrices in this expression belong to the adapter at the selected task and position.

Layer normalization applies after the original representation has been combined with the adapter’s output. A projection to a smaller width and back can learn a task-specific correction, while the residual path lets the incoming features remain directly involved in what the next part of the network receives. Freezing the original weights therefore fixes the shared parameters, even though the activations passing through the network can differ with the adapter selected.

The background section gives a count for the parameters in the generic pair of projections with biases.

2md + d + m

Here d is the incoming and outgoing feature width, and m is the narrower width in the background description. The coefficient 2 accounts for the down-projection and the up-projection, each of which connects the same pair of widths. The terms d and m count the biases at the respective output widths of the two projections. The letter h in TOATOD’s adapter equation plays the role that m plays in this generic count. The expression describes the projection pair and its biases at one layer. The paper reports the trainable parameter inventory for each complete task separately.

The main configuration uses a bottleneck of 1/2 the T5 hidden width. For T5 small the paper gives a hidden width of 512 and uses 256 for this bottleneck. The fraction is an architectural setting. It describes the width of the intermediate features, while the separate parameter table describes the amounts of trainable and frozen weights in each system. A later experiment changes the bottleneck width while holding the other settings fixed to find out how much the tracker gives up when this internal space is narrowed further.

Teach the task from labeled examples

For tracking and generation, the first training stage uses supervised learning. The reference state or reply supplies the tokens the system should produce. The loss asks the system to put probability on the correct next token given the dialogue context and the reference sequence so far. By the end of this stage the adapter has learned the form of its outputs as well as associations between the input dialogue and the target. For the tracker, the target is the annotated state. For the generator, it is the annotated system response.

The authors follow UBAR’s preprocessing for response text. They delexicalize slot values, which means representing the concrete value with a slot placeholder in the response text. This gives the response a recurring pattern even when the value named in an individual dialogue changes. In the end-to-end system, the database lookup remains important because the lookup provides information about the actual entity or constraints the reply needs to address. Delexicalization concerns the representation of the response during the procedure described in the paper.

For the supervised parts of tracking and generation training, the paper uses Adafactor for 15 epochs, a batch size of 16, and a learning rate of 1e-4. An epoch is a pass through the training examples, the batch size identifies how many examples are grouped for an update, and the learning rate controls the scale of optimization steps. The paper reports a subsequent sweep over 1e-5, 1e-6, and 1e-7. These settings describe adaptation of the task-specific weights from the pretrained starting point.

Intent classification follows the supervised route throughout. The input is a user utterance and the target is its labeled intent, so the reported evaluation can compare a predicted label directly with its reference label. The authors use a batch size of 64. For Banking77 and CLINC150, the learning rates are 0.001 for the small configuration and 0.15 for the base configuration. On HWU64, the respective rates are 0.01 and 0.1. The paper describes the intent experiments as single runs. The further training stage with benchmark rewards applies to tracking and generation.

Reward a sequence the system produces

The supervised objective can encourage all the pieces of a good state or response. It assigns loss locally as tokens are predicted. The benchmark, by comparison, can ask whether a complete prediction works. The authors add a metric-aware stage after supervised learning so that outputs the system produces can receive credit according to those broader criteria. They use REINFORCE to incorporate a score computed on a discrete output into the update for the trainable weights.

The paper’s mixed objective combines the token loss with a policy loss.

J(θ) = α × Jₚₒₗᵢ꜀ᵧ(θ) + (1 − α) × CE(y, ŷ)

J is the total loss minimized in the additional training stage. θ denotes the trainable parameters for the adapter being optimized. Jₚₒₗᵢ꜀ᵧ is the policy loss. CE is categorical cross-entropy, the token-level term that compares y, the target token probabilities, with ŷ, the predicted token probabilities. The scalar α can range from 0 to 1. Multiplication by α gives the policy loss its weight, and multiplication by the complementary weight 1 − α gives cross-entropy its share. At α equal to 1, the policy term supplies the whole objective for this stage. The adapter has already been trained with cross-entropy in the preceding supervised stage.

The policy loss uses the probability the system assigns to a generated sequence and a reward obtained by scoring it.

Jₚₒₗᵢ꜀ᵧ(θ) = −log P(ŷ) × Reward(y, ŷ)

Jₚₒₗᵢ꜀ᵧ again denotes the policy loss and θ the trainable parameters. P is the system’s probability for the generated sequence in the given dialogue context, and log is the logarithm. In this equation ŷ is the generated token sequence and y is its reference. Reward is the task-specific scoring function. The minus sign makes a high probability for a rewarded sequence compatible with minimizing the loss, and the multiplication scales the contribution of the sequence by its reward. The paper describes ŷ in this calculation as the highest-probability sequence. The notation thus uses ŷ for token probabilities in the cross-entropy term and for a produced sequence in the reward term.

The scoring function can evaluate a discrete outcome without supplying its own derivative. The update uses the differentiable probability assigned to the output. For tracking, the scored outcome is the state. For generation, the score can depend on the response wording and on what the system delivered over the dialogue. This is how the authors connect an optimization based on token probabilities to metrics defined over larger units.

Give tracking and generation different rewards

For tracking, the authors use exact agreement with the annotated dialogue state. A turn receives credit under Joint Goal Accuracy only when the predicted state agrees across the slots being evaluated. Predicting most of the values correctly can still leave the system with a bad query. The measure gives the tracker a reason to preserve all of the requirements that belong in the state.

Reward_DST = JGA(y, ŷ) + 1

Reward_DST is the reward for the dialogue state tracking adapter. JGA is Joint Goal Accuracy, evaluated by comparing the reference state y with the generated state ŷ. The plus sign adds the constant 1 to the score. Consequently a prediction receives the constant contribution even when the JGA term supplies no credit, and exact agreement adds the metric’s contribution. The paper reports an utterance-level batch size of 32 and a learning rate of 1e-5 for this training stage. Training runs for 10 epochs.

The response adapter has to satisfy a second concern. Its reply should read like an appropriate system response while giving the information needed to fulfill the request. The authors use BLEU as a measure of overlap with the reference wording and Success as the measure of whether the required information was delivered. BLEU credits matches between groups of consecutive tokens, or n-grams. Success can require checking the dialogue as a whole because a single utterance may supply only part of what the user asked for.

Reward_NLG = (1 − β) × E[BLEU(yᵤ, ŷᵤ)] + β × Success(y, ŷ) + 1

Reward_NLG is the reward for the response generation adapter. β is the scalar weight on Success, and 1 − β is the complementary weight on BLEU. E denotes the averaging operation over utterance-level BLEU scores. BLEU compares yᵤ, the reference token sequence for utterance u, with ŷᵤ, the sequence generated for that utterance. The subscript u marks the utterance-level quantities. Success is the session-level scoring function, with y representing the reference session and ŷ the predicted session. The multiplication signs apply the respective weights, and the plus signs join the weighted terms and the constant 1.

The unit of the batch follows from the reward. The authors need a session to score Success, so generation uses session-level batches of 4, a learning rate of 1e-6, and 3 epochs for the reward stage. The separate settings for tracking and generation are part of the reported procedure. An utterance-level batch makes sense when the exact state at a turn is what earns the reward. A session-level batch preserves the information needed to determine whether the requested details have been delivered over the conversation.

The two weights control different choices. α sets how much of the update comes from the benchmark-oriented policy term relative to supervised cross-entropy. β sets the balance inside the generation reward itself. A setting can therefore put substantial weight on Success inside the reward while retaining a direct incentive to reproduce reference tokens through cross-entropy. The paper’s generation experiments vary both choices because changes in the evaluation metrics can pull in different directions.

Connect the tracker to the response

At end-to-end inference, the tracker produces a state from the dialogue and the system queries the database using that state. The database result enters the generation path. This tests whether the reply can be produced from information the system acquired through its own tracking, a condition that allows a missed or incorrectly recorded constraint to affect the final response.

The two MultiWOZ versions also let the authors exercise the separation between the task adapters. They train tracking adapters on the corresponding versions, while the response adapter is trained on MultiWOZ 2.1. For MultiWOZ 2.2 response evaluation they replace the tracker with the one trained on MultiWOZ 2.2 and retain the response adapter. The authors explain the choice by pointing to the limited change in response annotations and their interest in using the noisier training data for the response task. Thus the MultiWOZ 2.2 response result comes from a system assembled across dataset versions.

The training setup uses 4 GPUs for supervised tracking and generation, and 8 A100 (80G) GPUs are fully used during reinforcement learning. Intent training uses 1 RTX A5000 (24GB) GPU. The paper records 42 as its training seed in the implementation details. It also identifies TOATOD as the released implementation and names the benchmark data and preprocessing used in the experiments.

Experiments and results

Which data test which parts of the system

MultiWOZ is the source of the state-tracking and end-to-end generation experiments. The authors describe it as a multi-domain collection of conversations with several turns. A Wizard-of-Oz collection setup supplies conversations in which participants enact the user and system roles. The reported sizes are 8438 training dialogues, 1000 development dialogues, and 1000 test dialogues. Those counts are for conversations, the units that contain the turns whose states and responses are assessed. MultiWOZ.

The distinction between the releases is particularly important for tracking. MultiWOZ 2.2 revises problems in the annotations and in the ontology, the inventory that organizes domains and slots. It also adds span annotations to help standardize the locations of values in the dialogue text. Because Joint Goal Accuracy requires agreement on a whole state, an annotation correction can change whether a prediction counts as correct even if only one slot is involved. MultiWOZ 2.2.

The intent datasets pose a different problem. Banking77 contains 13,083 labeled utterances and covers 77 banking intents. The difficulty described in the paper is that the labels correspond to closely related service requests, so the system has to pick out distinctions within a narrow subject area. The authors use turn accuracy, which credits an utterance when its predicted intent matches the label. The dataset is introduced in the work on intent detection with dual sentence encoders.

CLINC150 contains 23,700 utterances covering 150 intent classes across 10 domains. HWU64 has 25,716 examples with 64 intents across 21 domains. The paper treats both as intent classification tasks and reports results after full training. The three benchmarks therefore let the reader compare how the adapter performs on different inventories of user goals. These experiments measure label prediction from utterances. The MultiWOZ experiments separately measure the state tracking and response steps that make up the end-to-end reply path.

The comparisons are drawn from published systems and benchmark leaderboards. For tracking, the paper includes dialogue-specific approaches, unified pretrained networks, and systems built on T5. For generation, it uses reported results from systems already evaluated in an end-to-end setting. For intent classification, it uses prior benchmark entries. This gives TOATOD comparisons across several design families, with experimental conditions that can vary among the original reports.

State tracking is strongest on MultiWOZ 2.2

Joint Goal Accuracy is measured on the test set. Each evaluated turn is a decision about the entire state. A missed slot, an incorrect value, or a state that otherwise fails to match its reference costs the turn under this metric. The paper also reports Slot F1 in its controlled comparisons, which provides a finer-grained view of how well individual slots are recovered when an entire state fails exact matching.

On the MultiWOZ 2.2 test set, TOATOD base obtains 63.79 Joint Goal Accuracy and TOATOD small obtains 61.92. The paper reports both above the comparison systems on this release. D3ST XXL reaches 58.7, while SPACE-3 reaches 57.50. At the other end of the selected comparison, TRADE reaches 45.4. An important part of the claim is the pairing of those accuracy results with the amount of training needed for adaptation. The base adapter has 36M trainable parameters per task, and the small adapter has 7.9M.

State tracking systems on MultiWOZ 2.2 test Joint Goal Accuracy

The base and small TOATOD configurations lead the selected published comparisons.

State tracking systems on MultiWOZ 2.2 test Joint Goal AccuracyTRADE: 45.4TRADE45.4DS-DST: 51.7DS-DST51.7SPACE-3: 57.50SPACE-357.50D3ST XXL: 58.7D3ST XXL58.7TOATOD small: 61.92TOATOD small61.92TOATOD base (this paper): 63.79TOATOD base (this paper)63.79
The numbers
System or settingJoint Goal Accuracy %
TRADE45.4
DS-DST51.7
SPACE-357.50
D3ST XXL58.7
TOATOD small61.92
TOATOD base (this paper)63.79

The MultiWOZ 2.1 results put that finding in perspective. TOATOD base records 54.97 Joint Goal Accuracy on the test set, and the main results table gives TOATOD small 53.02. DS-DST records 51.2. Several other systems are ahead of TOATOD base on this release. For example, SimpleTOD reaches 56.45, SPACE-3 reaches 57.50, and TripPy+SaCLog reaches 60.61. The picture on MultiWOZ 2.1 is competitive use of a smaller trainable parameter set, with the lead on the revised benchmark confined to the MultiWOZ 2.2 comparison.

The table includes several meanings of “size” that matter when comparing systems. The main comparison labels the TOATOD tracker by the amount being trained for the task. The architecture table also records the underlying T5 weights that remain in use. Those frozen weights are 220M for T5 base and 60M for T5 small. The corresponding trainable amounts per task are 36M (14%) and 7.9M (12%), as presented by the authors. Thus the paper’s parameter-efficiency result concerns how many weights must change when adapting. The system still uses the backbone to produce its predictions.

The comparison baselines include TRADE, which the paper lists alongside stronger later trackers, and systems based on BERT or a dialogue-pretrained unified network. It also includes several sizes of D3ST. D3ST XXL has 11B trainable parameters in the tracking table, which gives a sense of how different the adaptation budgets can be among reported results. Backbone choice, training history, and task setup vary too, so the table supports a comparison of reported operating points.

There is a small internal discrepancy worth preserving when reading the numbers. The main tracking table gives the small configuration 53.02 on MultiWOZ 2.1. The appendix comparison of supervised and reward-trained small adapters gives the reinforced configuration 53.01. Each figure belongs to its own table. The base configuration’s exact-match results are consistent between the headline tracking table and the main training comparison.

Response quality depends on the metric

Response evaluation requires the system to predict the state and generate an answer based on it. The authors report Inform, Success, BLEU, and a Combined Score. Inform asks whether the system offers an appropriate entity. Success asks whether it gives all of the requested information. BLEU measures wording overlap with the reference, which the paper uses as an automatic indicator of response quality. The metrics give different credit to an answer that names a valid option, an answer that supplies the needed details, and an answer that uses similar wording to the reference.

The Combined Score aggregates those measurements as follows.

Combined = BLEU + 0.5 × (Inform + Success)

Combined is the aggregate reported for end-to-end response generation. BLEU is the reference-overlap score, Inform is the appropriate-entity rate, and Success is the rate of supplying all requested information, each on the reported evaluation scale. The inner plus sign adds Inform and Success, the multiplier 0.5 weights that sum, and the outer plus sign adds BLEU. This score is used for evaluation. The training reward for the generation adapter uses utterance-level BLEU and session-level Success with the tunable weight β.

On MultiWOZ 2.1, TOATOD base scores 97.00 Inform and 87.40 Success, the highest entries in the paper’s table for those measures. Its BLEU is 17.12 and its Combined Score is 109.32. GALAXY scores 95.30 Inform, 86.20 Success, 20.01 BLEU, and 110.76 Combined on the same benchmark. This comparison shows how TOATOD can lead in providing the appropriate entities and information while another system leads in the aggregate. The BLEU contribution preserves the effect of the stronger reference overlap in the aggregate score.

TOATOD small on MultiWOZ 2.1 reaches 92.10 Inform, 80.40 Success, 18.29 BLEU, and 104.54 Combined in the main response table. PPTOD reaches 87.09 Inform, 79.08 Success, 19.17 BLEU, and 102.26 Combined. The comparison gives a connection to the pretraining choice, because TOATOD begins with PPTOD’s pretrained weights. The entries also reflect different adaptation and training procedures, which means the leaderboard alone cannot measure the contribution of each architectural change.

End-to-end generation on MultiWOZ 2.1 test Combined Score

TOATOD base is close to the leading aggregate result and scores above the selected alternatives.

End-to-end generation on MultiWOZ 2.1 test Combined ScorePPTOD: 102.26PPTOD102.26TOATOD small: 104.54TOATOD small104.54MTTOD: 106.22MTTOD106.22TOATOD base (this paper): 109.32TOATOD base (this paper)109.32GALAXY: 110.76GALAXY110.76
The numbers
System or settingCombined Score
PPTOD102.26
TOATOD small104.54
MTTOD106.22
TOATOD base (this paper)109.32
GALAXY110.76

On MultiWOZ 2.2, the base configuration using the replacement tracker reaches 90.00 Inform, 79.80 Success, 17.04 BLEU, and 101.94 Combined. The small configuration reaches 85.80 Inform, 74.00 Success, 18.00 BLEU, and 97.90 Combined. Mars reaches 88.9 Inform, 78.0 Success, 19.9 BLEU, and 103.4 Combined on that release. The same distinction between completion and wording overlap appears here. The base TOATOD system leads those listed Inform and Success results, while Mars has the higher Combined Score.

The paper uses the older standardized evaluation script for MultiWOZ 2.1 and the newer version for MultiWOZ 2.2. It takes other systems’ generation results from the official leaderboard. These details make the comparisons clearest within each release. The experiment on the revised release has the added condition that the generator was trained on MultiWOZ 2.1. The result demonstrates that the separately trained tracking adapter can be exchanged in this setting and that the retained generator can operate with the new tracker’s database results.

The small system’s MultiWOZ 2.1 response results also differ slightly between the main table and the appendix. The main table gives 80.40 Success, 18.29 BLEU, and 104.54 Combined. The appendix’s reinforced setting gives 80.50 Success, 18.28 BLEU, and 104.58 Combined. Both give 92.10 Inform. The main table is the source for the benchmark comparison, and the appendix values belong to the before-and-after training comparison.

Intent classification gives a mixed picture

On Banking77, TOATOD small achieves 92.40% turn accuracy and TOATOD base achieves 92.17% in the full-training comparison. SPACE 2.0 reaches 94.77% on that benchmark. The competition among related banking requests is therefore still visible even with a dialogue-pretrained starting point. The small and base settings are close to each other, and the larger adapter does not have the higher reported accuracy on this dataset.

On CLINC150, the small system achieves 98.45% and the base system achieves 98.01%. SPACE 2.0 records 97.80% in the same comparison. The small system’s CLINC150 entry is the highest in the table. That result is compatible with the paper’s broader description of a mixed ranking across understanding tasks, since both Banking77 and HWU64 have comparison entries ahead of the TOATOD configurations.

The HWU64 turn accuracy is 90.42% for the small system and 90.79% for the base system. ConvBERT+Pre+Multi reaches 97.11%. HWU64 gives the clearest example in the intent table of a meaningful performance cost relative to its leading comparator. It also reverses the ordering of the small and base configurations seen on the other intent datasets. Across these benchmarks, the supervised experiments show that the frozen backbone can support useful intent classification with separate adapters. They give a dataset-dependent answer about how close those adapters come to the strongest reported systems.

What the ablations show

What changes after reward training

The most direct training comparison puts supervised-only adapters beside adapters that then received the reward-based stage. For TOATOD base on the MultiWOZ 2.1 test set, Joint Goal Accuracy moves from 53.33 to 54.97 and Slot F1 from 91.68 to 92.01. On the MultiWOZ 2.2 test set, Joint Goal Accuracy moves from 62.92 to 63.79 and Slot F1 from 93.72 to 93.96. The exact-match and slot-level measures both increase in these comparisons. Much of the base tracker’s stronger result on the revised dataset is already present after supervised learning, when it reaches 62.92.

The base generation results change in a different pattern. On MultiWOZ 2.1, the supervised system records 88.90 Inform, 81.40 Success, 18.73 BLEU, and 103.88 Combined. After reward training, the figures are 97.00 Inform, 87.40 Success, 17.12 BLEU, and 109.32 Combined. The paper reports the increase in Combined Score as 5.44 points. The improvement comes from the measures of appropriate entities and requested information. The lower BLEU makes visible the change in reference overlap that accompanies the stronger completion results.

The base configuration’s MultiWOZ 2.2 comparison has the same directional pattern. Inform goes from 85.30 to 90.00 and Success from 77.00 to 79.80. BLEU goes from 18.44 to 17.04, and Combined Score goes from 99.59 to 101.94. As in the main response comparison for this release, the generation adapter is drawn from training on MultiWOZ 2.1. These scores show how the evaluated end-to-end system changes across training conditions when the tracker and generator are connected. The table changes the training condition of the tracking and generation tasks together, leaving their separate contributions to the response gains unresolved.

The appendix reports the corresponding experiments for TOATOD small. On MultiWOZ 2.2, its tracking JGA goes from 61.29 to 61.92 and its Slot F1 goes from 93.46 to 93.65. On MultiWOZ 2.1, the appendix gives 52.58 to 53.01 for JGA and 91.31 to 91.61 for Slot F1. These changes show the same direction as the base results. The authors tuned the reinforcement-learning hyper-parameters for TOATOD base, so the comparative extent of the gains between sizes depends on that tuning choice.

For the small system’s MultiWOZ 2.2 response evaluation, the appendix reports a change from 78.80 to 85.80 Inform and from 69.50 to 74.00 Success. BLEU moves from 18.46 to 18.00, and Combined Score moves from 92.61 to 97.90. Its MultiWOZ 2.1 comparison reports 98.17 Combined before and 104.58 after the reward stage. The change again favors completion metrics while BLEU declines, from 18.82 to 18.28 on this release. The recurrence across both configurations and releases makes the metric tradeoff more informative than any single row in the leaderboard.

The supervised comparisons establish what happens when the authors add the whole metric-aware training stage. They preserve the task-specific adapter architecture across the before and after conditions. The intervention includes a further period of optimization as well as a change in the training objective. A continuation with the supervised objective for a matched schedule would be needed to quantify the benefit of the reward term separately from the added training. The mixture-weight experiments address a narrower question about which objective settings work within that further stage.

How much policy loss helps tracking

The tracking sweep varies α for TOATOD base on MultiWOZ 2.1. At 1.0, the system records 54.97 JGA and 92.01 Slot F1. At 0.9, it records 54.96 JGA and 92.02 Slot F1. At 0.7, it records 54.76 JGA and 91.95 Slot F1. The strongest exact-match setting in this sweep assigns all of the second-stage objective to the policy term. The highest Slot F1 in the same sweep comes at 0.9.

The distinction helps explain the authors’ choice. Joint Goal Accuracy is the target of the tracking reward and the headline measure for that task. Selecting the setting with the highest reported JGA follows that objective. Slot F1 shows how similar the tracking behavior can be under a nearby setting that retains some cross-entropy. With results as close as 54.97 and 54.96 in JGA, the sweep supports the usefulness of a large policy-loss weight under the reported settings. The experiment gives little basis for a general claim about the precise α a different dataset or pretrained network would favor.

There is also an important chronological detail in the sweep. An α of 1.0 removes the cross-entropy contribution during reward training. The tracker already learned from labeled states in the supervised stage. The result therefore describes how to refine a trained tracker. The paper does not compare this procedure with training an adapter from its initial state using the JGA reward alone.

Why the generation objective retains both terms

For generation, the authors sweep combinations of α and β for TOATOD base on MultiWOZ 2.1. The best reported Combined Score is 109.32 at α equal to 0.5 and β equal to 0.7. This setting yields 97.00 Inform, 87.40 Success, and 17.12 BLEU. It keeps a cross-entropy contribution to the update and gives Success the larger weight inside the generation reward. The tracking sweep selects a pure policy term for its refinement stage, while the response sweep favors retaining both learning signals.

Holding β at 0.7 clarifies what the change in α does in these experiments. At α equal to 0.3, BLEU is 18.36 and Success is 85.40. At α equal to 0.5, BLEU is 17.12 and Success is 87.40. At α equal to 0.7, BLEU is 16.52 and Success is 87.10. At α equal to 1.0, BLEU is 16.10 and Success is 86.10. The larger cross-entropy contribution is associated with stronger reference overlap in this comparison. Success peaks at the intermediate setting, which also gives the best aggregate.

Inform supplies another reason to look beyond a single column. At β equal to 0.7, it reaches 97.50 when α is 1.0, while the setting with the best Combined Score records 97.00 Inform. The stronger Inform result does not settle how to choose the objective because Success and BLEU move at the same time. The authors use the Combined Score to choose among these outcomes. That choice favors an operation point with strong delivery of the requested information and enough reference overlap to maintain its lead in the aggregate.

The table also includes pure-policy settings that change β. At α equal to 1.0 and β equal to 0.4, Success is 85.70 and BLEU is 16.01. At α equal to 1.0 and β equal to 0.7, Success is 86.10 and BLEU is 16.10. The intermediate β settings in the table give Success of 85.70 at 0.5 and 85.80 at 0.6. Those rows support the authors’ observation about emphasizing task success. The BLEU entries show that the metrics need not move in opposite directions under every change to the reward. The clearer decline in BLEU occurs in the comparison that increases α with β held fixed.

A broader implication of the sweep concerns how to interpret the word “quality” in response generation. Reference overlap can improve while the response covers less of the requested information. The reverse can happen too. By including the component measures, the paper makes the effect of the training change legible. The final reward setting is a choice about the benchmark behavior the authors want to favor, with the aggregate score reflecting the particular weights used in evaluation.

How narrow can the adapter be?

The bottleneck experiment varies the internal width in the small tracking system and evaluates on the MultiWOZ 2.1 test set. The authors keep the other hyper-parameters fixed, including the learning rate of 1e-4. For the narrowest setting, a width of 64, the trainable parameter count is 6.6M and JGA is 50.43. A width of 128 uses 7.2M trainable parameters and reaches 51.11. A width of 256 uses 7.9M trainable parameters and reaches 51.59. The direction is consistent for exact match across the tested settings.

Small tracking adapter widths on MultiWOZ 2.1 test Joint Goal Accuracy

The widest tested bottleneck gives the strongest exact-match tracking result.

Small tracking adapter widths on MultiWOZ 2.1 test Joint Goal AccuracyWidth 64: 50.43Width 6450.43Width 128: 51.11Width 12851.11Width 256 (this paper): 51.59Width 256 (this paper)51.59
The numbers
System or settingJoint Goal Accuracy %
Width 6450.43
Width 12851.11
Width 256 (this paper)51.59

Slot F1 gives a slightly different ordering at the upper end. It is 90.40 at width 64, 91.07 at width 128, and 91.02 at width 256. The wider setting gives the most turns with entirely correct states, while the middle setting has the highest reported Slot F1. The authors choose the wider configuration, 1/2 of the hidden width of T5 small, on the basis of its exact-match result and its trainable size relative to the frozen network.

This experiment tests a defined architectural choice more directly than the leaderboard comparisons. The tracker uses the same pretrained backbone while the bottleneck changes. The additional width allows a larger intermediate representation for the adapter’s transformation, and the results show how the reported JGA responds in that setup. The experiment covers the small tracker on MultiWOZ 2.1. Its results leave open whether generation, intent classification, or a different backbone would favor the same fraction.

Limitations

Limits the authors identify

The authors start with weights pretrained for dialogue and train their adapters for task-oriented interactions. They caution that performance could be lower in conversation types such as open-ended chat and conversational question answering. The same architectural insertion can be made in a pretrained network in principle. The evidence in the paper comes from tasks with intent labels, annotated states, or goal-based responses. Transfer to a conversation with different outputs and criteria requires a separate evaluation. Question answering.

The result on MultiWOZ 2.2 also deserves a focused explanation. The authors suggest that the small trainable parameter set may keep the tracker from overfitting confusing labels. They explicitly list the reason for the stronger performance on the revised release as a question for future work. The correction of state annotations has a plausible connection to exact-match accuracy, and the reported comparison is compatible with the hypothesis. The experiments do not isolate the effects of label corrections, adapter capacity, and the other differences between the releases.

The authors describe inference as end to end and training as modular. The response evaluation follows a predicted state through the database result to the generated reply. During training, the task-specific adapters are optimized individually. The authors suggest studying multitask end-to-end learning to see whether greater coordination would improve performance. Their design offers a place to intervene when a task goes wrong, while the reported experiments leave the effects of a joint training signal open.

They also propose using explainable artificial intelligence methods to inspect how the adapters work internally. The numbers show that an adapter can learn a task and that separate training can preserve competitive performance. A mechanistic account would be needed to identify which features are changed for a particular task or how those changes produce the observed outputs. Interpretability.

Limits visible in the evaluation

Trainable parameter count measures the amount of the system that is updated. The frozen backbone still participates in the computation, and the hardware description shows that the reward stage uses substantial resources. The paper reports parameter counts, batch sizes, learning rates, epochs, and hardware. It gives no matched measurements of elapsed training time, peak memory, or inference latency against the baselines. The strongest efficiency claim supported by the comparison is therefore about trainable weights. The architecture also makes it possible to store or exchange task-specific weights separately, as illustrated by the tracker replacement.

The pretrained starting point matters for the performance claims. TOATOD uses T5 in its small and base configurations and initializes both with dialogue-pretrained PPTOD weights. The paper calls the approach applicable to other backbones, but its experiments establish results for these configurations. A controlled comparison with different pretraining would be necessary to estimate how much TOATOD depends on this particular initialization. The authors also omit a large configuration because its trainable adapter would exceed the size of T5 base, according to their parameter comparison. The reported experiments leave the effects of scaling beyond base open.

Most of the baseline comparisons use previously reported numbers. They are informative about how the tested systems rank on the benchmark, while differences in backbones, pretraining, and optimization limit causal conclusions about the merit of a single design choice. For response generation, the use of different versions of the standardized evaluator across MultiWOZ releases adds a further reason to read the scores within their respective conditions. TOATOD’s higher JGA on MultiWOZ 2.2 comes from tracking evaluated against that release’s states. The response comparison in that release also involves a tracker swap and an adapter trained on earlier responses.

The debugging argument should likewise be read as an architectural property. Since each task has its own trainable set, a tracking update can leave the generation weights fixed. Downstream responses can nevertheless change when the tracker predicts a different state and causes a different database result. The paper illustrates independent replacement of one component and measures the resulting system’s performance. It reports no study of how quickly a developer finds a bug or how accurately a developer can attribute a fault under competing architectures.

The authors connect frozen weights with avoiding catastrophic forgetting, the loss of abilities learned in pretraining during subsequent training. The parameter values learned in pretraining are preserved by construction. The adapted system applies additional transformations to the representations it uses, and the benchmark experiments do not retest the full range of prior abilities. The claim can be read firmly at the level of unchanged shared weights. Its functional consequences depend on what the task-specific computation does.

The reported results are point estimates. The implementation details specify a seed for training and describe the intent comparison as single-run. No across-run variation or uncertainty interval accompanies the small differences in the α sweep, the bottleneck comparison, or the intent rankings. The selected settings are the best observed under the paper’s choices. The numerical order in a close comparison need not be stable under a rerun. The differences between the main and appendix entries for selected small-system results further favor reading each number in its own experimental context.

Finally, the response evaluation uses automatic scores on existing dialogues. Inform and Success operationalize specific parts of task fulfillment, and BLEU measures overlap with reference wording. The paper offers no direct user evaluation of naturalness, consistency, or usefulness in an active conversation. In particular, Success can improve while BLEU falls, as the authors observe. That is evidence about what the system returns under the benchmark’s evaluation, with any broader judgment about the user experience left to a different study.

What came after

Later papers cite TOATOD in settings that place different demands on task-oriented dialogue. One is MediTOD, which presents an English dialogue dataset for medical history taking with comprehensive annotations. Its task illustrates a connection to the problem TOATOD addresses. A conversation has a defined purpose, and annotations can make intermediate aspects of the exchange available for evaluation. TOATOD addresses how a system can learn distinct dialogue functions with separately adjustable parameters. MediTOD’s documented contribution concerns the data and annotations for a particular kind of goal-directed conversation. The citation gives no basis for attributing TOATOD’s adapters or its metric rewards to the dataset’s construction.

DarwinTOD addresses lifelong self-evolution for task-oriented dialogue systems. Its title identifies a shift from adapting a system for a defined task to studying how it can continue changing over time. TOATOD provides a specific precedent for controlling the scope of a training update. The shared weights stay fixed while the parameters assigned to a particular dialogue function can change. The connection is the question of what should be allowed to change when the needs of a task-oriented system change. The citation establishes that DarwinTOD discusses the earlier work, while the available description leaves the role of TOATOD’s implementation unspecified.

These directions draw attention to different pieces of the original evaluation. A domain-specific dataset raises the question of which parts of a conversation should be annotated so that understanding, tracking, and response quality can each be assessed. Lifelong adaptation raises the question of how changes to one function affect later stages after deployment or further learning. Bang and colleagues establish a narrower result under fixed benchmark conditions. Separate adapters give the authors control over which weights learn each task, and sequence-level rewards can move state accuracy and completion scores within that design. The later citations connect those questions to annotation and continued adaptation without establishing that either later work reproduced the original procedure.

Cite

Cite as Namo Bang, Jeehyun Lee and Myoung-Wan Koo. 2023. Task-Optimized Adapters for an End-to-End Task-Oriented Dialogue System. Findings of the Association for Computational Linguistics: ACL 2023.

The paper itself, not this page. BibTeX from the library's record of the work. DOI 10.18653/v1/2023.findings-acl.464

@inproceedings{bang2023task,
  title = {{Task-Optimized Adapters for an End-to-End Task-Oriented Dialogue System}},
  author = {Namo Bang, Jeehyun Lee and Myoung-Wan Koo},
  booktitle = {Findings of the Association for Computational Linguistics: ACL 2023},
  year = {2023},
  doi = {10.18653/v1/2023.findings-acl.464},
  url = {https://doi.org/10.18653/v1/2023.findings-acl.464}
}

↑ back to top

This page in Markdown https://md.research.elamur.ai/free/en/papers/bang-2023-task-optimized-adapters-end-end/