Multitask Learning
Paper · 1997 · Rich Caruana
Summary
When a learner has trouble predicting an outcome, another question about the same example may supply information that the original answer leaves out. A road image comes with a steering direction, but the direction gives little guidance about where to look for lane markings. A record of a patient’s survival gives only a coarse indication of how ill the patient was. Rich Caruana’s Multitask Learning asks whether a learner can make better predictions by practicing related tasks together. In the paper’s simplest arrangement, a neural network predicts several targets from the same inputs. Each target has its own output, and all the outputs draw on the same internal features. Errors on an extra task can help shape features that the main task then uses.
The paper compares this arrangement with separate training on simulated road following, images of doors captured by a robot, and pneumonia records gathered for an earlier study. On the road simulator’s test set, the steering output has a root-mean-square error of .058 under joint training, compared with .069 for the best separately trained steering network. In the door images, joint training improves both the estimated position of the doorknob and the distinction between single and double doors. In the pneumonia study, the goal is to rank patients by risk from measurements normally available before admission. Lab results normally obtained later serve as additional targets during training. The group at the lowest estimated risk has a lower observed fraction of deaths with joint training at every fraction of the population studied. The differences reach statistical significance at population fractions of 0.3, 0.4, and 0.5.
The paper investigates where these gains come from. When the extra targets are shuffled across training cases, the improvements mostly disappear. That result points to the information the correctly paired targets carry about each case. A separate study with artificial functions finds that outputs use the hidden units more similarly when those functions have relevant structure in common, although training supplies no labels for task similarity. The paper also shows how the same principle can help a case-based predictor learn which patient attributes should matter when it looks for similar records. It sketches a version for decision trees in which several tasks help judge a proposed split. Across these methods, the shared choice can take different forms, and the value of sharing depends on the tasks and on which predictions the learner is meant to improve.
Deep dive: Multitask Learning
Multitask Learning explains how training on related tasks can improve predictions, with experiments in road following, vision, and pneumonia risk. · about 77 minutes to read
The problem and its context
What an answer leaves out
A steering target says which way a vehicle should turn for a given input. It does not say which details in the input justify the turn. A learner sees the image and the desired response, and must find the connection across examples. It might discover that a stripe marks the middle of a road. It might instead settle on a combination of broader brightness patterns that typically leads to the right response. If both explanations work on the examples used in training, the steering targets alone give the learner little reason to favor the explanation that will hold up on unfamiliar roads.
The trouble grows when the input contains many possible cues. The paper imagines learning to recognize objects from a large image whose pixels have no explanatory labels. Edges, regions, surfaces, shadows, and other parts of the scene may all matter. The learner must discover which patterns to represent and how to combine them. A labeled example can tell it whether it got an object’s identity right while leaving unresolved most of the choices involved in getting there. More labeled images could help settle those choices. Caruana considers a different source of evidence that might already exist for the images at hand. If some of their other properties are known, a learner could practice recognizing those properties as well.
This is a problem of generalization, the ability to make good predictions on cases outside the training set. In machine learning, the evidence in a finite collection of examples typically supports several possible prediction rules. A learner’s inductive bias is the set of preferences that leads it toward some of those rules. The network’s architecture gives it some preferences before it sees any examples. Training to predict related properties can give it others, tied to the domain the examples come from. A network shaped by both steering and lane-marking targets has a reason to retain information about lane markings, even where matching the steering targets alone would give it little incentive to do so.
Calling those targets a bias makes sense from the perspective of the task that needs help. A road-edge label directly supervises the road-edge output. Its effect on steering is indirect. It helps determine which internal features the steering output can draw on and how well the network learns them. The steering instructions supplied with the training cases can stay exactly the same. The extra evidence changes which solutions look attractive to the learner.
There is a distinction here between adding observations and learning more from the observations already in hand. New photographs could show the road under conditions missing from the existing photographs. Extra labels for the existing photographs describe properties that the steering angle alone does a poor job of revealing. They can be valuable even with the same images in both training conditions. They cannot supply every kind of evidence a new picture would bring. The paper’s comparisons ask whether the richer description of each case improves how the learner interprets similar inputs in the future.
The paper treats that question as one about predictive accuracy. In principle, transferring knowledge might also speed up training or make the learned rules easier to understand. Those benefits call for different measurements. A network might require more work per training pass and still learn a more accurate predictor. A hidden feature might improve steering without corresponding neatly to a road feature a human can name. Caruana’s primary test is what happens to error on new cases.
Why learning separately seemed natural
Caruana describes a convention of breaking a hard problem into manageable pieces, learning the pieces independently, and joining them afterwards. That convention has an obvious appeal. Separate learners can be chosen and tuned for separate outputs, and the errors of one need have no effect on how another is trained. Related outputs can even be recombined into a working system. The paper points to work on assembling independently trained components as an example of that general approach.
What is lost when the pieces are trained independently is the chance for them to influence what the others learn. Imagine that a system needs both the location of an object and a classification of its type. Separate prediction networks can receive the same image. Each may discover useful evidence about the object’s outline. Once the outline is represented inside one network, the other has no access to that work. Putting both predictions in one network makes reuse possible while leaving each prediction free to depend on a different combination of features.
The paper uses single-task learning, or STL, for the independent arrangement, and multitask learning, or MTL, for the joint arrangement. In the main examples, the teaching signals are aligned to a case. A scan line serves as the input for the steering task and for descriptions of the road visible on that line. A patient’s basic measurements serve as the input for a risk estimate and for predictions of additional measurements taken from that patient. The learner receives correct values for the different targets during training. The question is what they help it discover about the inputs.
A network with several outputs can still be doing one task. A classifier may assign a different output to each possible class, with all the outputs together encoding a single answer. Conversely, the extra training targets in Caruana’s experiments can be measurements or properties that have uses of their own. They are useful to the study even if their predictions will never be requested from the finished network. The architecture makes the difference visible in simple examples, but the research question is about which sources of supervision are brought to bear on a prediction.
It also matters when the tasks can exchange information. In the parallel arrangement, a feature being learned for one output is available while other outputs are still learning. If another task finds the feature useful, its own errors can help refine the feature. In a sequential arrangement, what has already been learned can guide the next task. The new task has no comparable opportunity to influence the original learning unless the earlier task is revisited. The paper sees an advantage for parallel training when there is a useful exchange in both directions and the tasks are available together.
Earlier attempts to share what a learner knows
Neural networks with outputs for related properties were already in use. In the paper’s account, NETtalk is an early example. A speech synthesizer needed information about both pronunciation and stress, and the network learned to produce both kinds of instructions from text. The designers treated those outputs as parts of the same job. From Caruana’s perspective, the arrangement is also an instance of several tasks drawing on common hidden features. The case illustrates how a system can practice joint learning without the contribution of transfer being the original subject of the experiment.
The comparison of NETtalk with the decision-tree learner ID3 made that contribution an explicit question. As Caruana describes the comparison, the researchers found that sharing hidden units helped the neural network, while attributing the larger difference between the learning methods to other factors. Caruana also uses the speech and stress outputs to point out a difficulty with joint training. An output can begin to fit its training examples too closely before another output attains its best performance. A shared training run therefore need not have a single ideal stopping point.
Earlier work also transferred what a neural network had learned from one task to another in sequence. The early studies covered by the paper established that previously learned structure could guide subsequent learning, with an emphasis on how quickly the next task was learned. The paper then describes Explanation-Based Neural Nets as a sequential method that did improve generalization. In a case-based example, earlier tasks were grouped by similarity. The weights defining which attributes mattered for cases from the closest group could then be used for a new task when training data for that task was scarce. In both examples the learner turns to structure available from earlier work. Caruana’s central experiments ask what can be learned while the training signals for all the tasks are active.
Another approach in the paper learns individual predictors separately and then combines their predictions. Caruana discusses Curds & Whey in this connection. Its ability to use a relationship among outputs comes at the stage of assembling the answers. Joint training can use a relationship even when the predicted value of an extra task is of little direct use in computing the answer to the main one. For example, two outputs might need to recover the same hidden properties of the inputs while combining those properties very differently. Their predictions can have little correlation even though both benefit from discovering the same internal features.
The paper also describes earlier work on supplying hints. Some researchers added outputs to make the learner find particular internal features, such as features identified by a rule. Others used extra error terms to encourage the main prediction to satisfy properties such as symmetry or monotonicity. A monotonicity hint, for instance, concerns the direction in which a prediction should move when a particular input changes. An auxiliary road-marking target resembles the first kind of hint because it gives the network an explicit reason to notice a feature that may help with steering. In other applications, including the laboratory measurements in the pneumonia study, the link to the main task may be harder to express as a rule. The targets still supply a way to teach the learner about the domain.
Caruana’s account of the field includes approaches that inferred structure from families of functions or let several learning tasks influence each other with less explicit supervision. One such approach interleaved the learning of functions so the learner could infer what the functions in the family had in common. Another let tasks supply teaching signals to one another in an unsupervised setting. For the paper’s back-propagation experiments, the distinction is that each output has a known target, while the pattern of relationships between outputs is left for the network to discover.
What counts as related evidence
A natural way to identify related tasks is to ask whether they describe the same thing. A patient’s lab results and health outcome concern the condition of that patient. A doorknob and the edges of its door belong to the same image. That is a starting point. The paper’s account of transfer depends more specifically on whether learning one task helps establish a choice useful to another. The tasks may need a common input feature, a similar way to rank examples by proximity, or a useful division of the training cases. Sharing the subject matter is a reason to look for such a relationship.
The paper’s road and medical examples also show why prediction targets deserve a wider definition than the final answer a system must return. A simulator can report properties of a scene it generated. A human can mark visible features when annotating photographs. A later measurement can tell a learner something about an earlier state even if the measurement takes too long to obtain before a decision. In each case the value becomes a target, so the design can exploit it while respecting what will be available as an input when the learner is used.
Some additional tasks arise from the way the original problem is formulated. The end result may be recorded in coarse categories, whereas another observation gives a finer view of a related quantity. Or the same outcome may be represented in different ways, each giving the learner a clearer signal about a different part of the problem. The pneumonia experiments use both clinical measurements and alternative ways of training on survival. Those are distinct ways of enriching supervision. In the former, the extra targets add observations about the patient. In the latter, they change how the learner is asked to make use of the recorded outcome.
This perspective also changes what a prepared dataset can reveal. A collection organized around a single prediction frequently contains the inputs that can be used and the answer that should be learned. Earlier measurements, expensive annotations, or information obtained later may have already been removed because they fit neither column. Caruana suggests that the apparent rarity of multitask problems partly reflects that preparation. The paper therefore looks for useful extra targets in the process that produced the data as well as in the final prediction problem.
The method, step by step
From a training case to shared features
Start by identifying the prediction that matters and the information that will be available when it must be made. In the road example, the prediction is a steering direction and the input is a line of pixel intensities. A training case gives that line, the correct direction, and descriptions of other road properties. Those descriptions are assigned to additional outputs. Using them as outputs ensures that the network has to learn something about them from the pixel values.
Next, give the outputs a shared intermediate stage. The paper’s basic network has a fully connected hidden layer. A hidden unit combines the inputs into an internal value that the finished predictor can use. Calling the layer hidden means its individual values are neither given with the input nor specified as desired answers. Each output receives information from the whole layer and has its own connections to it. An output can rely heavily on a hidden feature, draw on it weakly, or effectively ignore it.
The single-task procedure instead gives the prediction its own hidden layer. Training on steering changes only that steering network. Even if a separate road-edge network learns a useful feature, the steering network has no connection to it. In the multitask procedure those outputs are part of the same network. A road-edge output that becomes accurate early in training may help develop a feature the steering output can use later. There is also room for a hidden unit to specialize in a property that only one of the outputs needs.
Back-propagation is the procedure that works out how the network’s weights contributed to the prediction errors. Each task’s output produces an error signal based on its own training target. On the way back through the network, the contributions from the outputs are added where their paths reach the shared layer. Thus the parts of the network that compute common features are adjusted in response to several tasks. The adjustments to the connections leading into a particular output reflect the error on that output.
Joint training in the shared-hidden-layer network
The steps in order.
The direct path from each output’s error to the hidden units matters. The steering output does not have to wait for a discrete decision about whether the stripe output is right. It can draw directly on an internal feature that captures part of the relevant visual evidence. Similarly, in the pneumonia network, the risk output need not act on estimated lab values. The common layer can retain features that help to predict those values and that are independently useful for ranking patients.
The paper calls this procedure parallel training because the tasks influence the representation during a shared learning process. It also discusses early stopping, in which training is monitored on cases set aside for deciding when to stop. Continued improvement on the training cases can coincide with worsening performance on those other cases. That difference is evidence that learning has begun to fit details that fail to generalize. In shared training, the best stopping point for the main output may occur while the extra outputs are still improving or after some of them have begun to deteriorate.
When several outputs are needed, the paper proposes saving the network at each task’s best point. The copies may come from the same training run, but each is selected by how well its own target prediction does. When just one output is needed, the method can tolerate poor performance on some auxiliary predictions if their training helped with that output. The intended use of an auxiliary target is a decision about training, distinct from the decision about which answers to use afterwards.
How task errors can support one another
The shared layer gives the tasks a place to interact. The paper describes several reasons that the interaction can help. The first concerns noisy targets. Suppose two tasks depend on the same underlying feature and their measured targets have independent sources of noise. One task’s label can give a misleading impression about the feature in a particular example. The other task may still carry a useful signal about it. Combining evidence across those tasks can support a more reliable estimate of the feature. Caruana calls this statistical data amplification because more supervision is extracted from the same cases.
A related effect concerns attribute selection. An attribute is one of the properties presented to the learner as an input. Many such properties may be available, and a small set of examples can make irrelevant inputs appear useful. If several noisy targets depend on the same hidden feature, their combined signals can help identify which inputs really contribute to it. The benefit is expressed in the weights used to compute the feature. The network has a better basis for deciding which inputs to emphasize because more than one output tests whether the resulting feature is useful.
Other tasks help because they make a feature easier to find. The paper calls this eavesdropping. A feature may be closely connected to one target and only indirectly connected to another. If the only task is the one with the indirect connection, its errors may give too weak a signal for the learner to discover the feature. The task with the more direct connection can lead the hidden layer to represent it. Once that feature is present, the harder task can begin to use it, and its own error can then contribute to refining it.
A useful special case occurs when a training target specifies the feature almost directly. In the steering example, a secondary requirement to find a road stripe encourages the network to examine narrow patterns that steering alone might leave unused. The steering output can then use whatever useful information about those patterns the hidden layer has learned. The method leaves it free to combine that information with other cues. There is no need to specify how much weight a stripe should carry in every road configuration.
Caruana also describes a bias in the search for an effective representation. Different random starting weights can lead training toward different sets of internal features, each giving low error on the training task. A representation that suits several tasks can be attractive because multiple outputs steer the hidden layer towards it. The effect depends on which solutions each task favors. A task with a strong preference for one representation may make a different representation harder to reach for an output with a weaker preference. The auxiliary gradient provides direction, which can be helpful or unhelpful depending on where the network needs to go.
The mechanisms address different questions about the same update. Data amplification asks how much information the targets together carry about a feature. Attribute selection asks whether that evidence helps identify the right parts of the input. Eavesdropping asks whether another task makes the feature accessible early enough to be used. Representation bias asks how task preferences interact when training has several plausible destinations. The paper illustrates these mechanisms with constructed situations. The successful applications can be consistent with several of them at once.
The timing of training helps determine which of these interactions can take place. If the main task reaches its best point while the auxiliary tasks are still learning basic features, it has little opportunity to use those features. If auxiliary tasks train very quickly and start to overfit, their gradients can change a representation that the slower main task still needs. The paper describes adjusting the learning rate by output, where the learning rate determines the size of an update made in response to an error. The proposed procedure begins with a run that exposes differences in learning speed and then reduces the rates for tasks that made progress fastest. Caruana also describes an adaptive procedure under investigation that uses a prior run to estimate how far tasks progress before they overtrain.
Choosing targets when inputs are scarce or costly
The case for using additional outputs is clearest when a property is available for training and unavailable at the point of prediction. For an admitted pneumonia patient, the eventual record can contain tests taken after the initial assessment. The training inputs can be limited to what is normally known beforehand. A measured lab result still has a place in the training record, as the desired answer to an extra question about the patient. By learning to estimate it, the network may develop a more informative representation of the basic observations.
Matters of cost and effort can lead to the same design. In the door experiment, a person inspected images and marked features for training. The person’s locations for the jambs, edges, or the doorknob can be used to supervise learning from the camera data, with no corresponding annotations fed to the network as inputs at prediction time. The paper points out a practical advantage of gathering such targets together. Once a person is already inspecting an image for the main label, supplying related measurements can be less burdensome than arranging a separate pass through the images.
The same idea extends to a sequence of observations. A moving robot acquires sensory readings along its path. The eventual readings at different distances can be supplied as targets for predictions from an earlier position. The input is the sensory state and the intended action. Outputs at different distances ask the learner to use that information with different amounts of look-ahead. The nearest prediction may depend strongly on the present scene, while longer predictions may need regularities that are difficult to infer from nearby readings alone. Training the horizons together gives those regularities a chance to influence more than one output.
The paper also considers two different kinds of labels for related aspects of a patient’s condition. Survival provides an outcome in very coarse form. Length of stay is a measurement with more variation among patients, so it might help a learner recover distinctions that a survival category leaves unresolved. The possibility rests on a relationship between illness severity and the duration of hospitalization. Caruana points out that the relationship can be complicated. A very sick patient who dies quickly may have a short stay. The purpose of treating length of stay as a possible target is to give the learner additional evidence, while leaving it to represent the relationship from the cases.
An alternative representation of the same target can also serve as an auxiliary task. Suppose one output learns a ranking while another is trained to distinguish the recorded outcomes using squared errors. The two outputs use the same factual outcome but give the hidden layer different feedback. In a region of the data where nearly every outcome is favorable, the direct outcome signal can be relatively consistent even if the learner has difficulty establishing a stable ordering within that region. This is the motivation for an additional outcome output in the pneumonia study. The ranking output remains the one used for assessment.
Earlier learning is another possible source of targets. If a predictor for a related task already exists, it can produce answers for the inputs now being used to train a new task. Joint training can treat those answers as synthetic targets. The paper distinguishes this procedure from reusing the old task’s original examples, which may no longer be accessible. It also observes that the new sample may cover only a small part of what the earlier predictor knows. Sampling extra cases for the earlier task can better convey its behavior when the predictor is complex. The procedure inherits the accuracy and shortcomings of the predictions supplied as targets.
Testing whether the network discovers task relationships
For its study of task relatedness, the paper needs functions whose similarities can be specified independently of the network. Caruana constructs a family called the Peaks Functions. Each function tests one variable and returns the value of one of two other variables. The general form is as follows.
IF (?1 > 1/2), THEN ?2, ELSE ?3
Here ?1 is the variable tested against 1/2. The symbol > means strictly greater than. ?2 supplies the return value when the condition holds, and ?3 supplies it otherwise. The three placeholders take different members of the set named A, B, C, D, E, and F. Each variable ranges over [0,1], where the brackets include both endpoints.
Two functions can share a variable in the same role or in different roles. One function can test A, return B when the condition holds, and return C otherwise. Another might keep A in the test and B in the first return branch, replacing C with D. A different function could test B and return A in one of its branches. Both comparisons involve shared variables, but the shared variables have the same jobs only in the first comparison. This construction lets the paper ask whether merely counting common variables explains how closely the outputs use the hidden layer.
The variables reach the network through encodings. The learner sees 60 input values, with ten devoted to each variable. It must recover useful information from those encodings while learning what each conditional output does. The paper trains one network with 120 outputs, one for every function, and 64 hidden units. Each function has an ordinary supervision signal for its own correct value. The network is given no signal saying which functions should share features.
The analysis examines the sensitivity of each output to the hidden units. Sensitivity describes how responsive an output is to changes at a hidden unit. The resulting profile for one output can be compared with the profile for another. The paper uses rank correlation, which compares the ordering of values in two profiles, and chooses a non-parametric test because the distributions of the sensitivities are uncertain. The measured quantity is therefore how similarly two outputs rank the units by their influence. The researcher compares that quantity with relationships defined from the variables and their roles.
This procedure measures shared use of the representation through the outputs’ behavior. It does not require assigning a verbal meaning to every unit. A pair of functions that depend on the same condition may turn out to emphasize many of the same hidden units even when a human cannot easily describe what each unit computes. Conversely, a dissimilar pattern of sensitivity can reveal that the network has allocated different parts of the layer to outputs whose functional requirements differ.
Testing a feature as an input or a target
The paper constructs another example to separate two ways of using an extra measurement. A learner must predict a function of A and B from their binary encodings. The intended function depends on the sum of their underlying values.
F1(A,B) = SIGMOID(A+B)
F1 names the main target function. A and B are underlying real values and + denotes their sum. The parentheses after F1 list its arguments, and the parentheses after SIGMOID enclose the quantity transformed by that function. The equals sign defines the target value.
SIGMOID(x) = 1/(1 + e^(−x))
SIGMOID names the transformation and x denotes its input. The numerator is the constant 1, and / denotes division by the expression in parentheses. In the denominator, another 1 is added to the exponential with base e, the base of the natural logarithm. The caret denotes exponentiation and −x is the negative of the argument. This transformation turns the sum into the continuous target used for prediction.
The extra value supplied to some networks is calculated from the difference of the same two underlying variables.
F2(A,B) = SIGMOID(A−B)
F2 names the auxiliary function, and A and B refer to the same underlying inputs as in the main target. The minus sign calls for subtracting B from A. The result becomes the argument of SIGMOID, and the equals sign defines the value of F2.
The values of A and B are drawn uniformly from [-5,5], the interval that includes both endpoints. Each reaches the network as a 10-bit binary code. In the ordinary network, there are 20 inputs and 16 hidden units, and the main target is a single unencoded real value. One comparison adds the unencoded value of the auxiliary function as a further input, bringing that network to 21 inputs. Another keeps the original 20 encoded inputs and asks the shared hidden layer to support 2 outputs, one for each function.
The interest of the design is that the extra value has little correlation with the main answer in the generated training sets. Knowing it directly may give the predictor little help in estimating the main target. Yet learning to predict the auxiliary function gives the hidden layer a reason to recover information about A and B. The extra function is related to the main one through the work needed to learn it. The paper measures performance only on the main output, giving the comparisons a common criterion across the different ways of presenting the extra value.
Ranking cases and measuring risk
The pneumonia task concerns people already diagnosed with the illness. The paper’s performance measure depends on how well a learner orders those patients by estimated risk. Consider a prespecified fraction of cases to be identified as least at risk. The risk scores can be sorted, and a cutoff can select that fraction. The error rate for the selection is the fraction of deaths among the cases selected. The paper calls the fraction of the population included in the group FOP. Error at a chosen FOP depends on which cases are below the cutoff.
The paper illustrates the distinction with a population of 10,000 patients. A selection of 20% would include 2,000 patients. The example supposes that 30 patients in this selected group die, giving the following error rate.
30/2000 = 0.015
30 is the number of deaths in the selected group, and 2000 is the number of patients in that group. The slash divides the death count by the selected group size. 0.015 is the resulting fraction of deaths at FOP 0.20 in the example. The numbers illustrate the metric. The reported performance of the pneumonia experiments comes from the patient records used in those experiments.
A good ranking can place the same patients below the cutoff regardless of the particular scale of its scores. Caruana uses Rankprop, a back-propagation method that trains on repeatedly re-estimated ranks with sum-of-squares error. A squared error penalizes the squared distance between a prediction and its target, so larger deviations carry more weight. In Rankprop, the targets for that error are ranks. The paper contrasts this with training a back-propagation output directly on mortality, encoded as 0=lives,1=dies, where 0 represents survival and 1 represents death.
The procedure is used for both single-task and multitask risk prediction. In the latter, the risk output supplies the ranking error while the lab predictions supply additional training errors to the common hidden layer. The cutoff for a chosen FOP is applied to the ranking from the risk output. This consistent evaluation makes it possible to compare the benefit of auxiliary supervision while using Rankprop on both sides.
Sharing which cases count as neighbors
A shared hidden layer fits a neural network. In the paper’s case-based methods, the comparable choice is how to measure distance between examples. A learner stores training cases and uses their recorded outcomes when predicting for a new one. Which cases it treats as nearby depends on the importance assigned to each input attribute. Two patients can be close under one set of weights and far apart under another.
The paper uses the following weighted distance. The attribute count is written as N in the expression.
Distance(case) = √(∑ᵢ₌₁ᴺ weightᵢ × (Δattributeᵢ)²)
Distance(case) denotes the distance between the new case and the candidate training case being considered. N is the number of attributes. The summation runs over the index i from 1 through N. Δattributeᵢ is the difference in the values of the indexed attribute between those cases. The superscript ² squares that difference. weightᵢ gives that attribute its influence, and × multiplies the weight by the squared difference. √ takes the square root of the summed terms.
In k-nearest neighbor, the k closest training cases are selected and have equal weight in the paper’s description of the prediction kernel. Here a kernel is the rule that gives a case influence based on its distance. Cases beyond the selected neighbors have zero influence in this version. Kernel regression, which the paper also calls locally weighted averaging or LCWA, uses a kernel that gives more weight to closer cases and reduces that weight smoothly as distance increases. Both methods depend on whether the distance measure makes cases with relevant similarities count as near each other.
Caruana searches for attribute weights with gradient descent, using leave-one-out cross-validation to judge their performance. In leave-one-out evaluation, a training case is temporarily omitted when estimating its answer from the other cases. Its known target can then be used to judge the prediction. The search uses the resulting performance information to decide how to adjust the weights. Evaluating many candidate weights in this way ties the definition of a useful neighbor to the learner’s ability to predict held-out cases from the training collection.
For joint learning, the paper uses the performance of the main task and weighted contributions from the auxiliary tasks to assess a candidate setting of the attribute weights. Here M is used for the paper’s count of extra tasks.
Evaluation metric = Performance(main task) + ∑ᵢ₌₁ᴹ λᵢ × Performance(extra task i)
Evaluation metric is the quantity used to compare candidate attribute weights. Performance(main task) is the main task’s measured contribution. The summation runs over the auxiliary task index i from 1 through M. Performance(extra task i) denotes the corresponding task’s measured contribution. λᵢ sets how much that contribution counts, and × denotes multiplication. The plus sign adds the combined auxiliary contribution to that of the main task.
A setting of λᵢ = 0 removes that task’s influence from the search. A weight near 1 gives its performance a coefficient comparable to that of the main task, and a substantially larger weight puts more emphasis on the auxiliary task. The weights λᵢ govern the importance of tasks. They serve a different purpose from the attribute weights inside the distance formula, which govern the importance of patient measurements. The former shape the search for the latter. At prediction time the learned distance can help find comparable patients using the observed inputs.
Sharing decisions about tree splits
In a decision tree, the learner repeatedly divides cases according to an input attribute. A split might ask whether an attribute falls above a candidate threshold. The branches carry the cases that give different answers. A leaf, where a route through the tree ends, can give class predictions or probabilities. The paper describes the usual decision-tree arrangement as having predictions for one task at each leaf.
When building a conventional tree from the top down, a split can be selected by measuring its information gain. This measures how much the split separates classes by comparing the cases at the current node with the groups after division. If it produces branches in which the classes are less mixed, it gives the learner a more useful distinction for that prediction. The same split can be judged separately for several tasks whose answers are recorded for the cases.
The proposed multitask procedure evaluates each possible split for each task, combines the resulting gains, then chooses the split with the strongest aggregate value. Task weights let the main task retain substantial influence on this choice. The paper points out that early splits matter especially because deeper nodes contain fewer examples, giving the learner less evidence for repairing a poor division made near the top. A split that serves related predictions can be attractive, while a heavily weighted main task can keep the tree attentive to distinctions it needs.
The tree sketch and the case-based procedure make the shared choice easy to locate. A tree chooses a division of the cases, and the case-based methods choose a geometry for comparing them. A neural network chooses features through its hidden weights. Each choice can be judged in light of more than one task during training. The final prediction still has its own criterion for success.
Experiments and results
Steering from a simulated road image
The paper’s central road-following experiment uses 1D-ALVINN, a modification of a road simulator. The simulator can generate scenes with different road configurations and camera settings. For this experiment, it supplies a single 32-pixel horizontal scan line. The paper contrasts that input with the earlier 30x32-pixel image. Using the short line made repeated training more practical. It also removed information about road curvature, while retaining variation in the markings, edges, and intensities that appear across the line.
The main target is a steering direction. The simulator also supplies the information needed to label the number of lanes, the positions of the road’s edges and center, and the location of the centerline when present on the relevant roads. Further targets describe the intensity of the road surface, the region beside the road, and the centerline. These are properties of the generated scene. The simulator can provide their target values without a person having to estimate the geometry or brightness by inspecting the input line.
There are 16 hidden units in the joint network, which takes 32 inputs and produces 9 outputs. The individual networks each have 32 inputs and one output. The single-task comparison explores hidden layers of 2, 4, 8, and 16 units. The paper reports results from ten runs and uses early stopping. The 16-unit hidden layer in the joint network is used without a comparable search for an optimal multitask size. Both training conditions use the same cases. A single-task network receives the target for its own output, while the joint network is trained with the available targets for all the outputs.
The metric in the paper’s road table is root-mean-square error on the test set, abbreviated RMSE. It takes the square root of the average squared prediction error, so smaller values mean the estimates are closer to the targets in the units of the output. The steering series lets the reader see both the effect of separate network size and the performance of the joint network.
Steering on the 1D-ALVINN test set by training setting, measured in RMSE
Joint training gives the smallest steering error across the network settings compared.
The numbers
| System or setting | RMSE |
|---|---|
| Single task, 2 hidden units | .093 |
| Single task, 4 hidden units | .069 |
| Single task, 8 hidden units | .087 |
| Single task, 16 hidden units | .072 |
| Multitask, 16 hidden units (this paper) | .058 |
The best separate setting in the steering comparison uses 4 hidden units. The paper reports a change of -15.9% from the best single-task result and -27.7% from the mean single-task result, with a minus sign indicating lower error. Both differences are marked significant at 0.05 or better. The comparison with the best separate result is more demanding because the single-task learner has several sizes from which to choose. The comparison with the mean describes the effect relative to the whole group of separate settings.
The test-set comparisons cover the other outputs as well. The table marks improvements over the best single-task setting for lane count, left edge, right edge, road center, and road greylevel at 0.05 or better, alongside the improvement for steering. Road greylevel measures the predicted intensity of the road surface. For that output the reported change relative to the best separate result is -29.6%. The left-edge and right-edge changes in the same comparison are -10.1% and -8.9%. Line center shows a change of -0.7%. Edge greylevel has a change of 2.7% relative to the best separate result, and line greylevel has a change of 0.0%. The different outcomes make clear why the steering comparison is evaluated on its own terms. The success of the shared network on steering does not require equal gains on every feature it was asked to predict.
A note in the paper reports similar findings from an experiment with 2 hidden layers. That comparison explores 2, 4, 8, 16, or 32 units per layer for the separately trained networks, with 32 per layer in the joint network. The numerical steering comparison above applies to the single-hidden-layer setup. Its significance is that auxiliary labels drawn from the same synthetic scenes improve the main prediction even when the separate learner can choose among several sizes.
Locating a doorknob and recognizing door type
1D-DOORS uses color photographs captured by a robot in a hallway. The distance and viewing angle could vary as the robot moved, and the images were collected under varying illumination. The experiment reduces each image to a horizontal stripe in each of the green and blue channels. Each stripe is 30 pixels wide after Gaussian smoothing of the original 150 pixel-wide image. The height of the stripe is chosen to pass through the doorknob. The localization task concerns its horizontal position on that input.
The training targets include the position of the doorknob and whether the door is single or double. Other targets describe the center and width of the doorway and the positions and widths of its jambs, as well as the positions of the door edges. Such measurements had to be acquired from the images. A person marked the corresponding features with mouse clicks in the training and test images. The same inspection process that provided the principal labels also made it feasible to acquire the additional targets.
The results table evaluates separately trained networks with 6, 24, and 96 hidden units, and a jointly trained network with 120 hidden units. The paper reports ten trials and compares the two main tasks using test-set RMSE. For doorknob location, the errors for the separate settings are .085, .082, and .081 in ascending order of hidden-layer size. The joint result is .062. For door type, the corresponding separate errors are .129, .086, and .096, and the joint error is .059. The separately trained network that does best for location is therefore a different size from the one that does best for type.
The paper records changes of -23.5% for location and -31.4% for type when comparing joint training with the best separate result for each task. Both comparisons are marked significant at 0.05 or better. Door type is categorical, but the table evaluates the prediction using root-mean-square error. The reported .059 on that output is therefore an error on the output’s numerical targets, rather than a percentage of doors classified incorrectly.
The experiment carries the same-input comparison out of the road simulator. The photographs come from a physical setting, so the targets depend on what the camera captured and what a person marked. The task was still constructed for the multitask study. Its advantage for the comparison is that the visual measurements could be collected systematically. The paper compares the principal predictions and leaves the performance of the additional door targets outside the results table.
Identifying a low-risk group among pneumonia patients
The Medis Pneumonia Database contains 14,199 cases from 78 hospitals in 1989. All the patients in the database were diagnosed with pneumonia and hospitalized. There are records of 65 measurements for most patients. The paper distinguishes 30 basic measurements, such as age and pulse, from 35 lab results typically obtained after admission. The records also give the duration of hospitalization and whether the patient survived. The paper reports 1,542 deaths, representing 10.9% of the patients in the database.
The prediction question is whether the observations usually available before admission can support a useful ordering by risk. The lab measurements can give further information about a patient’s condition, but their typical timing makes them unsuitable as inputs for this question. Caruana uses them as extra outputs in the multitask condition. The database was gathered independently of that training design, so the study tests the method on data whose collection was not arranged to demonstrate it.
The single-task Rankprop network has 32 hidden units and a risk-ranking output. The multitask Rankprop network has 64 hidden units and uses the additional lab targets. Preliminary experiments suggested that 32 hidden units was close to the best size for single-task training. The paper reports that preliminary results also suggested further improvement in the joint method with layers as large as 512 hidden units. The main numerical comparison uses the 64-unit joint network and gives mean results from ten runs.
The paper first makes a distinction between the value of Rankprop and the added value of auxiliary targets. On this dataset it reports that Rankprop improves on back-propagation with squared error on the direct mortality target by 10% – 40%, depending on the FOP used for comparison. The multitask comparison uses Rankprop in both conditions, so it asks whether lab targets help when the main output is already trained for ranking.
Rankprop on the Medis Pneumonia Database at FOP 0.3, measured by fraction of deaths
The group selected by multitask Rankprop has a lower fraction of deaths.
The numbers
| System or setting | fraction of deaths |
|---|---|
| Single-task Rankprop | .0210 |
| Multitask Rankprop (this paper) | .0197 |
At FOP 0.1, the selected group’s fraction of deaths is .0083 with single-task Rankprop and .0074 with multitask Rankprop. At FOP 0.2 the corresponding values are .0144 and .0127. At FOP 0.4 they are .0289 and .0269, and at FOP 0.5 they are .0386 and .0364. The jointly trained ranking has lower mean error at all the tested FOPs. The differences at 0.3, 0.4, and 0.5 are statistically significant in this comparison, while those at 0.1 and 0.2 are not. The reported changes are -6.2% at FOP 0.3, -6.9% at FOP 0.4, and -5.7% at FOP 0.5.
These measurements evaluate the composition of groups chosen by a ranking. At a fixed FOP the two methods select groups of the same prescribed size. A lower observed death fraction means the chosen group contains fewer deaths relative to its size. This gives the experiment a way to judge whether extra supervision improves selection even if the output scores themselves are on different scales. It also lets performance be examined separately for narrower or broader low-risk groups.
The paper compares the joint network with feature nets as another way of benefiting from unavailable observations. In the alternative arrangement, separate networks learn to predict the future measurements. Their predictions, or the hidden features developed to support those predictions, are then used as further inputs. Caruana reports that this approach yielded smaller benefits in the pneumonia study, without supplying a matching numerical table for it. The comparison concerns the way the extra measurements influence learning. With multitask Rankprop, the representation is shaped by both the risk errors and the errors on the lab predictions during training.
Changing the training signal for the same risk ranking
Another pneumonia experiment adds a squared-error output trained on the direct survival outcome to the multitask Rankprop network. This is an additional prediction alongside the ranking task and the lab tasks. At evaluation, the paper uses the Rankprop output, just as in the earlier comparison. Thus the outcome targets give the shared layer a different teaching signal while the risk ranking is still the prediction being judged.
At FOP 0.1, the error rate with multitask Rankprop is .0074 before the direct outcome output is added and .0066 afterward. At FOP 0.2 it moves from .0127 to .0116. At FOP 0.3 it moves from .0197 to .0188. The paper marks all those declines as significant. At FOP 0.4 the value goes from .0269 to .0272, and at FOP 0.5 it goes from .0364 to .0371. The table gives the changes at the latter two FOPs as +1.1% and +1.9%, without marking them significant.
The results distinguish the portion of the ranking where the auxiliary prediction helped from the broader selections where it did not. This is possible because the paper reports the death fraction at several inclusion thresholds. A result from just the narrowest portion of the ranking would miss the tradeoff. The experiment also shows that extra tasks can change how the network learns from outcomes already in the dataset, as well as how it learns from additional measurements.
Predicting later camera and sonar readings
In the robot prediction experiment, the learner predicts what the robot will sense after moving through the environment. The targets are later camera and sonar readings. The current readings and the intended action supply the information used to make the predictions. The robot’s movement supplies a stream of observations, and the paper matches observations by traveled distance using dead reckoning. The spacing is therefore defined by distance along the path, even when the same distances would take different amounts of time to travel.
The joint network has output groups for the sensory readings expected after 1, 2, 4, and 8 meters. Separate networks each learn to predict one distance. For every distance the table reports sum-of-squares error averaged across the sensory predictions. The single-task and multitask values are .074 and .076 at 1 meter, .098 and .094 at 2 meters, .145 and .131 at 4 meters, and .183 and .165 at 8 meters.
The paper reports significant improvements at the 4- and 8-meter prediction distances, with error changes of -9.7% and -10.9%. The increase in error at 1 meter is not statistically significant. The errors increase with distance under both training arrangements, and the larger gains appear at the harder, longer distances. Caruana suggests that the nearer predictions and the farther predictions can expose different regularities in the same sequence. Training at several scales gives each prediction access to features that another scale may provide a stronger reason to learn. The experiment measures the performance of that combined arrangement, without measuring the contribution of each scale as an auxiliary task in isolation.
Comparing ways to use the same extra value
In the constructed example with the sum and difference of A and B, each setting is evaluated on the main function, F1. For each trial the paper generates fresh training, stopping, and test sets. The training set contains 50 patterns. The stopping and test sets contain 1000 cases each. The procedure uses back-propagation with early stopping and compares the settings with the same cases in the corresponding splits. The mean RMSE in the paper’s table summarizes 50 trials for each setting.
Test RMSE on the constructed F1 task by use of the auxiliary function
Predicting the auxiliary value yields lower main-task error than supplying it as an input.
The numbers
| System or setting | RMSE |
|---|---|
| Separate training with the encoded inputs | 0.0648 |
| Separate training with the auxiliary value as an input | 0.0647 |
| Joint training with the auxiliary value as a target (this paper) | 0.0631 |
Supplying the extra value as an input produces no statistically significant improvement over the ordinary network. The table marks the multitask improvement significant and reports 0.013 in its significance column. The paper also reports that the absolute values of the relevant training-set correlations are typically less than 0.01. The experiment was built so that an easy way to exploit a correlation between predictions would offer little help. The extra target helps when the hidden layer has to recover information useful to computing both functions from the encoded inputs.
The amount of improvement on the main function is modest, and the comparison is deliberately constructed. Its purpose is to demonstrate that the ease of using a property as a predictor and the usefulness of learning to predict that property are different questions. Here the main and auxiliary outputs make different uses of A and B, but both reward a representation that extracts information about those variables.
Learning patient similarity from additional targets
The pneumonia experiment with locally weighted averaging returns to the same general problem of identifying patients at low risk. It asks whether the lab targets can help find better attribute weights for determining which patients are similar. With the auxiliary weights set to zero, only the risk task judges those attribute weights. With the auxiliary weights positive, the search also favors distances that make nearby patients informative about the lab targets.
The paper varies a common auxiliary coefficient and examines what happens to the ranking error at FOP 0.3. In that comparison, λ = 0 is single-task learning. The setting λ = 1.0 gives the main task and each individual auxiliary task the same coefficient. The figure also describes λ = 2 as a setting with greater emphasis on the auxiliary tasks. The error is lowest in the region where both the main and the extra tasks have substantial influence. Caruana reports similar patterns at other FOPs. The comparison gives empirical meaning to the weighting procedure. Turning on auxiliary supervision helps here, and its strength relative to the main signal matters.
For training sets containing 1000 cases, the paper describes an improvement of 5–10% in risk prediction error for multitask locally weighted averaging over its single-task counterpart across the comparison of FOPs. A separate figure varies the training-set size and shows standard errors for the estimates. Joint training has a lower error at every size shown. The paper describes the performance at the smaller sizes as comparable to that of single-task learning with 25% to 75% more data. The figure caption describes the result over 100–800 training patterns as single-task learning needing about 50% more data to match the multitask learner.
This comparison extends the paper’s experimental case beyond back-propagation. The learner benefits from additional targets by changing which records count as informative neighbors. The auxiliary measurements are useful in choosing the distance, while the prediction for a new patient is made using the inputs available for that patient. It is the same division between training evidence and prediction inputs that the pneumonia network exploits, implemented through a different learning decision.
A preliminary result for meeting predictions
The paper discusses the Calendar Apprentice System as an example in which several related questions arise in ordinary use. The system predicts the location, time of day, day of the week, and duration of a meeting. Each prediction can use information about the same meeting, so a division of the cases useful to one may also serve another. The system described in the paper learns those tasks separately. Caruana reports preliminary results suggesting that multitask decision trees can improve performance when trained on these meeting predictions together.
The calendar result is presented in qualitative terms. The more detailed evidence beyond neural networks comes from the pneumonia comparison with locally weighted averaging, where Caruana varies both the contribution of the laboratory targets and the size of the training set. Together, the examples give a concrete interpretation to the idea of sharing outside a hidden layer. A tree can share a useful split, and a case-based learner can share a useful notion of proximity. Their results depend on whether the added tasks help choose those structures for the prediction being evaluated.
What the ablations show
Shuffling the auxiliary targets
The most direct test of Caruana’s explanation keeps the extra outputs and takes away the information their targets carry about individual cases. In the original training set, a case joins an input, a main target, and auxiliary targets that describe the same example. In the shuffled version, the input still belongs with its main target, but the auxiliary targets are randomly reassigned among cases. A lab value that described one patient can now be attached to another patient’s basic measurements. Its value still comes from the same collection of observations. Its connection to the patient being ranked is disrupted.
This intervention matters because adding outputs changes a network in several ways at once. Each additional output sends an error back into the common hidden layer. Those extra contributions could behave like noise from the main task’s perspective. The paper considers the possibility that such noise might improve generalization. It also considers a change in the effective learning rate. With more outputs sending errors into the shared layer, the weights that connect inputs to hidden units can receive larger updates relative to the weights nearer the outputs. A further possibility is that sharing the layer limits the room each task has to fit peculiarities of its training cases. Any of these effects could matter even if the extra targets taught the learner little about the main problem.
The shuffled arrangement retains several conditions that make these explanations plausible. Training still has to deal with additional outputs. The auxiliary target values retain their distributions, so the experiment has not simply replaced realistic values with labels of a different scale or kind. The network still has the architecture through which auxiliary errors reach shared weights. What it loses is the regular association between an individual case and the additional observations that describe it. If the presence of the extra outputs were sufficient for the original improvements, much of the benefit could survive that change.
Caruana reports the same qualitative result for the simulated roads, the door photographs, and the pneumonia records. After the targets are shuffled, performance is comparable to separate training. The paper gives this as a qualitative result, so it establishes the direction of the change without reporting how far every output moves. Its force comes from the variety of settings in which the pattern appears. A feature generated by a simulator, a feature marked on an image, and a measurement recorded for a patient are acquired in different ways. In each setting, the additional supervision helps when the values are attached to the cases they describe.
The intervention supports a claim about case-specific information. It leaves open which part of that information does the useful work. A correctly paired auxiliary target might help the learner identify a relevant input, develop a feature that the main task eventually uses, or favor a representation that accommodates both outputs. Shuffling can remove the conditions for all those effects at once. It changes the difficulty and evolution of auxiliary learning as well. The resulting gradients need not resemble the gradients from correctly paired targets. The test therefore addresses what the observed gain depends on more directly than it addresses how that gain is produced.
The appropriate comparison is also narrower than a general judgment about noisy supervision. Caruana allows that unrelated targets can sometimes act as a regularizer, meaning that they influence how freely the learner adapts its representation to the main training examples. If an unrelated output helps in another setting, that would be compatible with the outcome of the shuffle test. The result here is that such effects did not sustain the improvements seen with the correctly matched targets. The distinction is important for defining task relatedness, since an improvement on its own can have more than one explanation.
Giving separate networks different amounts of capacity
The capacity explanation deserves a separate comparison because shuffling leaves tasks competing for use of the hidden layer. In separate training, the main task has its entire hidden layer available. In joint training, other errors can influence its features and some units can become specialized for other predictions. If the main task was prone to fitting accidental patterns, this competition could make its prediction more stable even without useful sharing. The availability of a fixed number of units, and the freedom the main task has to use them, become distinct issues.
Caruana gives the single-task baseline a range of hidden-layer sizes in the comparisons where such a search is practical. The independently trained predictor can then benefit from a smaller or larger hidden layer according to the task. This matters because the appropriate size can differ across outputs within the same problem. A network that is good at recovering the position of a doorknob need not have the same width as one that distinguishes door types. Comparing the shared network with a single arbitrarily chosen width would make it hard to know whether a change in error was due to joint supervision or to a poorly chosen separate baseline.
The paper also reports experiments in which the shared network was larger than all the separate networks taken together. Joint training still improved performance in those experiments. That observation weakens an explanation based simply on a shortage of hidden units. A shared layer can help while having enough room for considerable specialization. It can also direct the learner towards particular uses of that room. The number of units tells the reader how much structure the architecture can accommodate in a broad sense, while the gradients from the tasks help determine which structures the network actually develops.
The size comparisons and the shuffle test answer different questions. The former asks whether a reduction in available capacity is needed to get a gain. The latter asks whether the improvement persists once the auxiliary supervision loses its meaningful alignment with the inputs. Together they support the paper’s conclusion that the information in the targets is doing substantive work. They also leave room for capacity to affect the size or direction of the result. An adequately wide layer can have space for features useful to several outputs and for features with a more limited role. A narrow layer can force different tasks to compete for room even when they have little structure worth sharing.
The paper relies on more than one kind of evidence here. The domain comparisons give sizes and predictive errors for particular networks. The larger-network experiments are reported as an additional finding, without a numerical series showing how the gain varies with width. The strongest inference is that a simple reduction in capacity cannot account for the phenomenon across the paper’s tests. The best capacity for a particular task set, and the extent to which each task uses it, remain questions about that setting.
Following the search when tasks prefer different solutions
The paper’s experiments on representation bias give a more specific view of what shared errors can do. Caruana constructs tasks with alternative solutions that a network can reach from different starting weights. These solutions are described as local minima, regions where small changes in the weights do not lead training toward lower error. The experiment gives the first task possible destinations A and B, and the second task possible destinations A and C. A is a region in which both tasks can work well. B and C are alternatives available to the individual tasks.
In the first experiment, the tasks have balanced preferences when trained separately. The first is as likely to reach A as B, and the second is as likely to reach A as C. With joint training they typically reach the common solution. This pattern makes sense if progress toward A on either task makes the same region more accessible to the other. A move in the hidden weights can make both outputs easier to learn, and their errors can reinforce that move. The result would be less revealing if there were too few hidden units to represent separate solutions. The paper specifies that the networks have enough capacity for those solutions, so arriving at the common one is a tendency of the search.
In the next experiment the first task strongly favors B. Under separate training it always reaches B, and the second task still has no preference between A and C. Joint training leaves the first task at B. The second typically reaches C. Though A remains a region where both could perform well, the first task’s actual course of learning takes the shared weights away from it. The second can reach an alternative compatible with that course. The results show that a task may influence another by making a potentially useful representation difficult to reach as well as by making one easy to find.
This second comparison is especially helpful in reading the claim that joint training discovers common structure. The analyst can identify a solution that is shared in principle. Whether learning finds it depends on the paths the task errors make likely. The mere existence of a shared solution gives no guarantee that the combined search will arrive there. The experiments do not compare random task pairs sampled from a real domain. They deliberately vary the attraction of selected solutions to make the effect observable. The evidence concerns a mechanism that can occur under joint training and a condition that changes its behavior.
The constructed cases also distinguish a preference for a representation from a change in the learner’s set of possible answers. Both networks have room for solutions that fit the individual tasks. The difference is which of those solutions training is likely to produce. In a finite run, this can be consequential even if a human can describe several representations that would give similarly low error. A representation helpful to several tasks may be available yet difficult to learn. An auxiliary error can alter that difficulty from the beginning, before any output is good enough to be useful by itself.
There is no reported real-domain counterpart in which the paper locates minima for the steering or risk task and observes the learner moving between them. Caruana’s argument instead joins evidence at different levels. The application comparisons show changes in prediction error. The shuffled controls show that the changes depend on meaningful targets. The constructed searches demonstrate one way those targets can change which solution emerges. Treating these as separate pieces of evidence preserves what each experiment establishes.
Checking who uses the shared features
The Peaks Functions analysis turns the question of task relationships into something the experimenter can check independently. Because the targets are constructed from known variables, the analyst can tell which functions share variables and whether they put them to the same use. The network receives ordinary target values for each function. The information about which functions have structure in common is used to interpret the trained network afterwards. Any correspondence between the prescribed structure and the use of the hidden layer has to emerge through learning from the targets.
The comparisons illustrate why a simple count of shared variables can be misleading. P001 uses A to choose between B and C. P024 uses B as the test and returns A or F, so the pair shares variables while giving them different jobs. P014 also shares variables with P001, but A is again the test and C again supplies the result in the other branch. These pairs let the analyst compare common variables that impose quite different requirements on the hidden representation. In the first comparison, having recovered a useful value for a variable can help both tasks, but its functional role changes. In the second, the network has opportunities to reuse information in much the same way.
The analysis concerns how the outputs depend on the hidden units. Caruana examines the response of each output to each hidden unit, making 15,360 sensitivity analyses for the trained network’s 120 outputs and 64 hidden units. The rank correlation between sensitivity profiles measures whether a pair of outputs tends to assign similar importance to the units. The ranks are useful because the distribution of the sensitivity values is uncertain. Similarity is therefore expressed through the pattern across a layer. It does not depend on finding a perfectly separated hidden unit for each variable or conditional branch.
The paper groups the pairwise comparisons according to how many variables the functions have in common. A further grouping requires them to use the same variable in the conditional test. That requirement changes the meaning of otherwise similar comparisons. Sharing one variable can mean that both outputs need the same decision about which branch to use. It can also mean that a value used in a test by one task is needed as a returned value by the other. Those functions share an input dependency in both cases, while the useful internal calculations can differ.
The general trend is toward more similar use of the hidden layer as overlap increases. Pairs whose conditional tests use the same variable show more similar sensitivities than comparisons that count common variables without regard to their role. That pattern fits the idea that the test provides a useful shared calculation. Several outputs can use the same information about which side of the threshold the tested value lies on, even when their answers after the test are different. Overlap in a return branch alone can instead call for the same value in circumstances determined by different tests.
Pairs with no variables in common have a small negative correlation of sensitivities. Caruana takes this as evidence that those outputs tend to emphasize different units. The result is expressed as a tendency across profiles. A shared feature can still contribute to an output in a way that the ranking comparison does not isolate, and a single hidden unit can respond to more than one property of the input. What the experiment detects is the arrangement of relative influence across units, with structure defined in advance by the design of the functions.
That arrangement gives the paper a limited and meaningful sense in which the network discovers task relatedness. No output is trained to predict a similarity score for a pair of functions. The analyst supplies the grouping and measures its correspondence with how the trained outputs use the layer. The observed correspondence is stronger when the grouping accounts for a particular operation the tasks share. This is evidence of specialization and reuse inside one jointly trained network. An additional error comparison would be needed to turn those correlations into an estimate of how much an individual task gained from any particular partner.
Changing where the extra supervision acts
The sum-and-difference experiment isolates a different choice. An additional value can be supplied to a predictor as an already available quantity. It can also be used to make the predictor learn another function of its inputs. In the first arrangement, the extra value is useful primarily to the extent that the learner can exploit it as evidence about the answer. In the second arrangement, the errors it produces can shape how the learner recovers the input quantities that both predictions need. The experiment evaluates those alternatives against the same main target.
Caruana makes the difference visible by choosing a main answer based on a sum and an auxiliary value based on a difference. Learning the two functions calls for access to the same underlying quantities, even though the difference is a poor direct guide to the sum in this setting. The ordinary predictor has to recover enough information from the codes to give the main answer. With auxiliary supervision, the hidden layer also has to support the difference. A representation that loses information required to subtract the underlying values can receive corrective feedback even if the current estimate of their sum gives a small error.
The direct-input comparison is informative because the auxiliary value is supplied without encoding. Its limited benefit cannot be attributed to making that new input hard to decode in the same way as the original values. The extra-output condition uses the original inputs and gains a training requirement. The gap between the results is small, and the paper’s statistical comparison supports it in this constructed setting. Its significance for the argument is that an observed value and a learnable target can reveal different aspects of the same data. A weak association with the main answer does not settle whether the value would provide useful auxiliary supervision.
A related distinction appears in the comparison with feature nets on pneumonia. In that arrangement, separate training can turn the lab measurements into predicted inputs or produce hidden features subsequently used as inputs. This makes information learned through the lab targets accessible to the risk predictor. Joint training gives the risk task an additional role. Its errors reach the same representation while that representation is being shaped by lab prediction. The paper reports that feature nets gave smaller benefits on this problem. Without numerical results for that comparison, it does not quantify the advantage of simultaneous adaptation or establish when it would recur.
Together these comparisons give a reason to pay attention to the point at which an extra signal enters the learner. Passing an auxiliary prediction into a main predictor creates a path through its output value. Passing hidden features creates a path through an existing summary of the inputs. Jointly adjusting the shared layer allows the main error and the auxiliary error to act on how that summary develops. The options can exploit the same observations while giving markedly different freedom to adapt representations to the main prediction.
Testing a change in emphasis
The additional survival output in the pneumonia network shows how sharply the effect of a new task can depend on the outcome used to evaluate it. The underlying recorded event is the same one that informs the ranking. The additional output uses a direct squared-error target for that event, so it gives a different signal about how the basic measurements should be represented. In a part of the data where survival is common, the direct output can find a regularity even when the ranking objective has little evidence for a stable ordering among low-risk cases.
The effect is visible in the composition of the selected groups. The error goes down for the narrower low-risk selections and up slightly for the broader ones. These are nested selections made from a ranking. Worsening at a broader threshold concerns which patients have entered the selected group by that point. It should not be read as a separate experiment performed only on patients already known to be high risk. The pattern is evidence that the extra objective changes how well the ranking serves different operating points. Its benefits can be real at one threshold even if the same ranking is less effective at another.
The robot experiment gives a related comparison across prediction distances. At short range, the separate learner already has an advantage in the sense that the current sensory state is close to the one it is trying to anticipate. The longer predictions have higher errors, and they benefit more from joint training in the comparisons reported. This pattern is compatible with the paper’s proposal that an easier task can help establish features a harder one can use. Because the horizons are trained together as a group, the result cannot identify which horizon supplies the helpful evidence. It also leaves open how the shorter task would behave with a different combination of longer ones.
The study of locally weighted averaging changes emphasis directly through the auxiliary coefficient. With zero weight, only the ranking performance determines which attribute weights the search favors. Bringing the additional measurements into the objective improves the ranking over a region of coefficient settings. Increasing their influence also changes the purpose of the learned distance. A distance that is very effective for predicting lab measurements can give considerable importance to differences that matter less when selecting a low-risk group. The best tested region balances the information supplied by lab prediction with the need to choose neighbors useful for risk prediction.
The size-of-training-set analysis makes a different comparison within the same case-based approach. There the baseline is allowed more cases, while the joint learner gains more supervision from its cases. The performance curves provide an empirical correspondence between those advantages at some of the sizes studied. Extra cases and extra targets are different sources of information. The correspondence suggests that the lab measurements improve the selection of attribute weights when the main outcome by itself gives limited guidance. It cannot be converted into a general exchange rate between additional labels and additional patients.
These comparisons supply direct evidence about different interventions. Shuffling changes the matching between labels and cases. Varying size changes the room available for a learner to construct features. The Peaks Functions relate a known property of the targets to observed feature use. The additional survival output and the auxiliary coefficient change the pressure applied to a shared choice. The application results become easier to interpret when each intervention is read against the particular explanation it tests.
Limitations
The authors’ limits on predicting transfer
Caruana identifies task relatedness as an unresolved problem. The paper can construct pairs whose links are easy to describe. Independent measurements can carry information about the same underlying feature. Different outputs can require the same conditional test. Descriptions of the same patient can share information about that patient’s condition. These are examples of plausible relationships, with different consequences for what a learner can share. The paper offers no general procedure that takes an unfamiliar pair of tasks and tells the reader whether their joint training will lower the error on either one.
A shared dependency is only part of the question. Two tasks can draw on some of the same information and still have different preferred representations. A feature that helps both may be easy to find for one and too weakly indicated by the other. An auxiliary task may tend to reach its best point too late for the main output to benefit. Conversely, targets can affect a shared representation through noise even where they have no meaningful relationship to the main answer. Caruana allows this last possibility while interpreting the shuffle results more specifically. Observing a beneficial interaction cannot by itself give a complete definition of a related task.
The paper also treats harm from transfer as a practical outcome. The extra survival objective gives the risk study a concrete example where the effects point in different directions at different FOPs. The proposed advantage for hard tasks in the robot experiment is explicitly a conjecture. The paper’s explanation is that harder tasks may have more room to improve while easier ones may be vulnerable to changes in a representation that already works well for them. The comparison offers an example consistent with that reasoning, with limited evidence about whether it extends to other task sets.
There is a further limit on how the paper’s account of a common representation is applied. Shared learning can be useful even when several predictions are ultimately served by different trained networks. Caruana points out that the output needing the best performance can be given priority, allowing auxiliary performance to degrade. For a different required output the preferred architecture, task mix, or point in training can differ. Some applications may benefit from several joint training runs with different priorities. The claim about better learning for an output is distinct from a claim about how many predictors will be needed in use.
The paper suggests that useful extra measurements are more common than conventional single-task datasets make them appear. Its examples explain how a preparation process can remove them. A measurement taken too late for a prediction, a laborious annotation, or a differently recorded version of the answer may have no obvious place in a dataset prepared for a single output. The conjecture concerns what would be found if investigators worked closer to the original data. The paper supplies examples supporting this possibility. The evidence does not establish how often any of those opportunities would yield a measurable improvement.
The authors’ limits on architecture and training
The main neural experiments rely on a simple arrangement in which outputs have access to one shared hidden layer. Caruana sees advantages in that simplicity and describes occasions when a more differentiated architecture works better. A main task can have a small private set of units alongside a larger set open to other tasks. That gives it somewhere to represent requirements that the auxiliary outputs have little reason to support. Giving each task extensive private capacity can weaken the exchange of useful information, because the networks can make progress without developing shared features.
The paper gives no principled rule for selecting that balance. A good choice depends on how much structure the tasks can use together and how much they need to represent independently. The size of the shared layer alone does not determine where that balance lies. Regularization can alter it as well. The paper discusses weight decay, which discourages large weights and can reduce how freely parameters are used. This may encourage sharing, but a strong pressure toward sharing can be a poor fit when common structure accounts for only a small part of what each task needs to learn.
The speed of learning varies by task. A rapidly learned auxiliary task may already be adapting to incidental details when a slower main output is still learning general features. Because the auxiliary output’s errors reach the shared layer, changes associated with its overtraining can affect the slower output. If the main output peaks very early, delaying useful auxiliary features can have the opposite effect. Caruana therefore regards the relative learning rates as substantive choices in how tasks are brought together, with consequences even when all the task labels are relevant.
Selecting a separate snapshot for each output gives some flexibility. It permits different dates of peak performance within the same run. It cannot make a useful auxiliary feature appear earlier in that run or keep later changes from affecting all the outputs that rely on the feature. The paper describes adjusting learning rates over successive runs to bring the best points closer together. It also describes an adaptive variant under investigation that still depends on an earlier run to estimate the course of learning. These are practical responses to a known difficulty. They do not supply a general schedule guaranteed to realize the available transfer.
For case-based prediction and decision trees, the paper makes priority an explicit part of the scoring criterion. Yet a useful auxiliary coefficient still has to be found. The locally weighted averaging comparison demonstrates the effect of varying a common coefficient in a particular application. The paper also allows separate coefficients, which can give some measurements little influence while giving others substantial weight. Finding them adds work to the learning procedure. The broad idea of sharing transfers across algorithms, while the choices that govern successful sharing change with the representation.
The paper’s primary objective is predictive accuracy. Its observations about computational cost are conditional. A jointly trained neural network can require more work on each pass and sometimes need fewer passes. If several tasks are required anyway, the shared arrangement can save computation relative to learning them in separate networks. If the other tasks serve principally as training aids for one output, their supervision is additional work. For the case-based and tree methods, evaluating the extra tasks can be a small part of a pass while searching for their weights still costs time. The experimental error figures do not establish a general efficiency advantage.
The authors’ limits on theory
The theories of parallel transfer discussed in the paper capture reasons that learning related tasks could improve generalization. Caruana is explicit about the gap between those theories and the practical question of choosing tasks. A worst-case bound can be compatible with improvement and with deterioration on different problems. The paper notes that constructing extra tasks that hurt performance is possible without contradicting the bounds it discusses. Their allowance for the adverse cases makes them too loose to provide the practical guarantee a reader might want.
Some assumptions complicate the comparison further. The paper describes theory that treats the hidden layer’s size as fixed as more tasks are added. Caruana’s experience is that good performance frequently requires an increase in shared capacity as the task count grows. One of the theoretical treatments also assumes independent training examples for different tasks. Many of the experiments here draw several targets from the same case. The benefits of paired lab measurements or several markings on one image are being observed under that shared-case design. A theory with independent training samples addresses a different arrangement of evidence.
The process of finding a solution is another obstacle. A guarantee about a class of representations has limited reach when the learning procedure may enter different parts of the weight space from different starting points. The experiments with competing minima supply a small-scale example. Both tasks can have a good shared solution available, while a strong preference on one task steers training away from it. Early stopping adds a time-dependent decision. The usefulness of an output depends partly on when training is examined, and the paper finds that a poorly chosen stopping point can reverse the apparent value of joint learning.
Caruana’s own mechanistic explanations are deliberately more local. Independent target noise can make the evidence for a common feature stronger. An auxiliary task can expose a feature a main task has trouble learning from its own errors. Several tasks can favor a common region of the search. These mechanisms require conditions about what the tasks use or how they are learned. The paper gives reasons to consider them and demonstrations that some can be created in controlled settings. It does not give a way to estimate their individual contributions from a measured change in test error.
A recurring difficulty is the difference between a valid explanation and a reliable forecast. It is possible to explain after training why a certain pair of tasks might have benefited from a common feature. Predicting the result in advance requires knowing how useful the feature will be, how readily the tasks can learn it, and what else their gradients will be doing at the same time. The paper leaves those relationships open. This is why its empirical comparisons carry the burden of establishing a benefit for the applications it studies.
Limits visible in the visual experiments
The visual experiments offer comparatively direct evidence because both training conditions begin with the same scan lines or image stripes. They also simplify the perceptual problems. In 1D-ALVINN, the simulator produces a horizontal input and removes the information that the larger image would have supplied about road curvature. The resulting labels describe a world whose geometry and intensities the simulator already knows. Its convenience allows more training replications and supplies accurate auxiliary answers for the generated cases. The result measures steering error under those conditions.
A reader can infer that the experiment does not establish how much the same tasks would help in full images. Restoring curvature changes the information available to the learner and the relationships it must discover. More varied scenes could make some auxiliary tasks helpful for additional reasons, or leave the simple network with a much harder set of predictions to learn. The observed simulator advantage has a firm interpretation within the reduced setting. Its size in a more complete driving problem is an empirical question outside the comparison.
The door experiment removes the reliance on synthetic images. It retains substantial simplification through its choice of input stripe. The documented input passes through the doorknob’s height, and the localization result concerns the horizontal position within that stripe. The vertical position is thus part of how the experiment prepares the input. A general door-image system would have to obtain or work around that information. The error in the paper gives evidence about localization under aligned inputs, without measuring performance when the learner also has to establish the alignment.
The door photographs include changes in distance, camera angle, and illumination, which makes them meaningful data for the comparison. They were still collected as part of constructing a test of the method. The auxiliary targets are measurements that a human can make for those images. This shows that annotations based on physical scenes can be useful. It gives limited evidence about how much manual work would be needed in another recognition application or how systematically the labeled features would appear in more varied images.
The paper compares the two principal door predictions and gives no corresponding set of comparisons for the other outputs. A reader can therefore judge the auxiliary bundle by what it does for position and type. It is harder to know whether all the labels contribute, whether several could be dropped with little effect, or whether one useful class of features accounts for much of the result. The main road table gives performance for more targets, but an auxiliary target’s improvement on its own output still does not measure its contribution to steering. Those are separate effects of including it in the same training run.
The two visual settings also have different relationships to data acquisition. The road labels are generated from variables used to produce an image, and the door labels are interpretations or measurements made after the camera records one. Better prediction under both conditions broadens the evidence for using additional supervision. It does not erase the different sources of accuracy and error in the labels. In particular, the paper’s comparison holds the images fixed as inputs, leaving questions about availability and consistency of labels in other collections beyond the experiment.
Limits visible in the pneumonia study
The pneumonia records supply a valuable case in which the data were collected independently of the proposed learning method. This independence concerns why the records exist. The patient group still has a defining restriction. Everyone had a pneumonia diagnosis and was admitted to a hospital. The outcomes therefore describe a group that received care in that setting. The intended decision concerns patients at an earlier stage, when admission is under consideration. Evidence that a ranking identifies lower-risk people among admissions does not establish what would happen if patients selected by that ranking received outpatient care.
The use of lab results as targets respects the intended timing of the inputs. At evaluation, the risk prediction can be made from the basic observations. That design does not make the source population representative of everyone on whom such an assessment might eventually be used. In particular, the relationship between the early observations, lab measurements, and recorded outcomes is learned from admitted patients. How it would hold in a population including patients evaluated and sent home is outside the reported comparison.
The FOP measure deliberately values ordering. If two scoring rules give exactly the same ranking, they select the same patients at any given fraction even if the scores differ substantially. An improvement in the selected group’s death fraction therefore supports better ordering at the corresponding cutoff. It has no direct interpretation as evidence that a given score accurately states an individual probability of death. The paper’s interest in an operational low-risk group is compatible with leaving that question open.
The reported group outcomes also do not establish the effect of changing a patient’s treatment. The comparison assesses which recorded outcomes fall in each learner’s low-risk group. It supplies no observations of a different treatment choice for the same patients. A useful ranking in these records could inform a separate assessment of a decision process, but the results in the paper address the quality of retrospective selection. This distinction follows from the sampling and the metric, even though the clinical motivation for the task is to make an earlier decision.
There are several ways to read uncertainty in the numerical results. Mean errors from repeated runs show how the methods compare under the reported training and evaluation procedure. The statistically significant comparisons mark evidence of a difference in that procedure. They cannot establish that the advantage would replicate independently in every hospital represented in the database. A count of contributing hospitals describes where the records came from, while an assessment of generalization across institutions would require a comparison organized around that question. The reported results do not provide such a comparison.
The database has the listed measurements for most patients. The account of the main experiment does not give a detailed treatment of how all missing measurements were handled or a complete inventory of auxiliary supervision by case. It also does not isolate the importance of individual lab targets. This limits what can be concluded about reproducing the benefit with a particular collection of tests. The experiment establishes that the training procedure can exploit the lab information available in this database. A claim that any particular test accounts for a given improvement would need different evidence.
Limits visible in the mechanisms and extensions
The Peaks Functions provide a distinctive kind of evidence precisely because their functional structure is known. In an ordinary application, the full prediction functions are the things the learner is trying to discover. A researcher may suspect that several tasks use the same feature without being able to enumerate and group their dependencies in advance. The constructed family makes that enumeration possible. The closer correspondence for tasks with matching tests is informative for the chosen functions and encodings. The analysis cannot supply a general scale for comparing tasks across unfamiliar domains.
Sensitivity is also a particular observation about representation use. It tells the analyst how much an output responds to a hidden unit according to the analysis used, and rank correlation reveals similarities in those response patterns. It leaves open how the units jointly realize a function and whether that realization is the only one that could yield the same prediction. Related outputs might share a feature represented across many units, and different internal arrangements can still support the same calculation. The paper’s evidence supports organized sharing without giving a unique interpretation of the network’s internal structure.
The designed input-versus-output example has a similarly clear scope. The function of a sum and the function of a difference were picked to create a useful contrast between shared inputs and a weak direct association of answers. The favorable result for the auxiliary output establishes that such a contrast can matter under the chosen training procedure. It gives no basis for assuming that measured quantities with weak associations will generally help as extra targets. Some may be largely unpredictable from the permitted inputs. Others may require features that the main task has little use for. The example demonstrates a possibility whose conditions have to be assessed elsewhere.
The paper’s discussion of learning from earlier predictors makes this dependency especially clear. Synthetic targets can convey information learned on an older task after its original data are unavailable. The value of the transfer depends on the quality of that predictor and the inputs at which it is sampled. Using the new cases may expose the behavior useful for the new task. It can also give too narrow a view of a complex earlier predictor. Caruana states these difficulties as limits on the proposed procedure. The core experiments give no general measure of how faithfully synthetic supervision can preserve prior learning.
Evidence across algorithm families varies in depth. The locally weighted averaging experiments give a quantitative example of learning a shared distance, including how the benefit changes with the emphasis on the auxiliary tasks and with the case count. K-nearest neighbor is developed through the common distance-weighting approach. The risk results reported for that family concern locally weighted averaging. A reader can understand how the procedure applies to nearest neighbors without treating the reported measurements as a comparison of both prediction kernels.
The decision-tree proposal gives a concrete account of how multiple tasks can judge a split, and the calendar example gives a preliminary indication that this can help. The evidence is correspondingly less detailed. A useful early division might serve several meeting attributes, or separate tasks might need different distinctions to be made near the top of the tree. The paper describes why task weighting matters for this choice. The qualitative result leaves unanswered how much the gains vary across the meeting outputs, which tree shapes produce them, and how the approach compares when each separate tree is extensively tuned.
Much of the evidence is strongest at the level of a task set. The reported improvements frequently compare learning one main target with learning that target alongside an entire group of others. Shuffling removes the informative alignment of the group. Varying a common auxiliary coefficient adjusts the group’s influence. These comparisons distinguish useful additional supervision from the corresponding baselines. They do not estimate the marginal value of each target or all the interactions among targets. The breadth of the application examples and the precision of the controlled examples answer complementary questions, at different levels of detail.
What came after
Sharing representations in language and vision
Later work that cites Caruana takes up several distinct uses of shared learning. Some papers take multiple tasks as a reason to develop common representations. Others bring tasks into a common format, or study how much of an existing learner to adapt for each use. These choices address questions already visible in Caruana’s setup. Which parts of learning can be shared? Which differences should be preserved? What needs to be available when the finished system is used? The later titles identify the directions of that work. Its findings require the evidence from the individual studies.
In Multi-Task Deep Neural Networks for Natural Language Understanding, joint learning is used for neural networks in natural language understanding. The connection to Caruana is the use of several prediction tasks to shape the processing that takes place before any individual answer is produced. This moves the question of useful common features into language understanding. The domain differs from scan-line images and patient records. The transferable idea is that supervision from one prediction can help determine which properties of an input become available to others.
Representation Learning Using Multi-Task Deep Neural Networks makes that intermediate stage the subject of the work. The applications named in its title are semantic classification and information retrieval. The former concerns assigning categories according to meaning. The latter concerns finding relevant information in a collection. The tasks have different intended answers, which makes the pair a natural setting for the question Caruana raises about reuse. Training for different kinds of answers can still put related demands on how meaning is represented. Information retrieval and search
Pedestrian detection aided by deep learning semantic tasks uses semantic tasks to assist a designated visual prediction. The setup named by the work is especially close to the distinction between main and auxiliary outputs. Pedestrian detection is the prediction being aided, while the other tasks give the learner more ways to respond to meaningful properties of a scene during training. Caruana’s road example used separately supervised visual properties to give a steering network a reason to notice cues it might otherwise overlook. In both cases the point of extra supervision is measured through its value for the intended prediction.
Semi-supervised Multitask Learning for Sequence Labeling brings joint objectives to the problem of assigning labels along a sequence. Its semisupervised setting brings supervision from labeled and unlabeled data into the same learning problem. This gives the question of where extra training signals come from a different emphasis. Caruana’s principal applications rely on extra answers available for the cases being studied, such as observations from a simulator or measurements taken later. Sequence labeling in a semisupervised setting asks how additional learning can support the labels of interest when the desired annotations themselves are available for only part of the data.
An Overview of Multi-Task Learning in Deep Neural Networks treats the use of multiple tasks in deep networks as a subject of review. Its relationship to Caruana’s paper is explanatory. It takes up a class of learning arrangements whose shared choices extend beyond the particular hidden layer used in the early demonstrations. Caruana already draws a distinction between the principle of letting tasks influence common structure and a particular mechanism for doing so. A review organized around deep networks can consider that principle across a wider family of neural designs.
Giving different tasks a common interface
The Natural Language Decathlon frames multitask learning as question answering. In Caruana’s examples, a single set of inputs can lead to a collection of outputs with different meanings. The Decathlon takes a complementary route by expressing varied tasks as questions to be answered. The form in which the learner is asked to respond becomes a point of commonality. The underlying tasks can still call for different information. Bringing them into a shared form changes how their examples can be presented within one learning setup.
Exploring the Limits of Transfer Learning with a Unified Text-to-Text Transformer studies transfer through a common text-to-text format and a Transformer. The format expresses both what is given and what should be produced in text. Its relation to Caruana lies in bringing different objectives within one adaptable learning system. Caruana showed how tasks whose answers are scalar measurements or decisions could draw on the same internal features through distinct outputs. A text-to-text formulation makes the expression of tasks more uniform while preserving the different demands they place on learning.
UNIFIEDQA focuses on question answering across format boundaries in a single system. The commonality here is narrower than repackaging a variety of language tasks as questions. The work keeps question answering as the general purpose and crosses differences in how the questions and answers are organized. It gives a concrete setting for distinguishing a task’s content from its presentation. Several formats can impose distinct demands while leaving useful common work to be done.
Multitask Prompted Training Enables Zero-Shot Task Generalization uses prompts to present multiple tasks during training and studies generalization to tasks without their own training examples in that setting. Caruana’s core comparisons hold the identity of the main task fixed and ask whether its performance on new cases improves with related supervision. The later work puts novelty at the level of the task. The prompt gives a way to express what response is required, and training across tasks gives the learner experience with varied requirements. This extends the question of what can transfer from common structure when the required prediction changes.
The distinction between these uses matters. Common formatting makes it possible to present diverse tasks through one interface. Joint training governs how experience on those tasks can influence an internal representation. Holding a task out for evaluation changes the meaning of generalization again. The citation relationship connects these studies with Caruana’s idea of using learning on several tasks as a resource. Their titles describe different decisions about where to seek commonality and what kind of transfer to measure.
Choosing how much structure to share
Learning multiple visual domains with residual adapters makes the relation between common processing and adaptation explicit. The work uses residual adapters to learn across visual domains. An adapter gives a place for a learned adjustment to an existing computation. Caruana considers a similar design question in the discussion of common and private hidden features. A learner handling different domains may have useful visual structure available to share, while each domain can require adjustments of its own. The later work approaches that balance through adapters.
Parameter-Efficient Transfer Learning for NLP makes the number of parameters involved in transfer part of the objective. Its concern is adapting learned structure for natural language processing while keeping the additional parameter requirement small. Caruana asks how learning on related tasks can improve predictive accuracy through shared capacity. Parameter-efficient transfer puts a further question on the same broad design problem. A useful common representation can have practical value when it reduces how much of the learner has to be specialized for a new purpose.
AdapterFusion explores composing task adaptations for transfer while preserving the components being combined. That design emphasizes a different stage of interaction. Caruana’s central network allows the tasks’ errors to shape the same weights while learning is under way. A composition approach gives distinct learned adaptations a role in a later combination. The relationship to multitask learning lies in using structure obtained from more than one task. The manner in which that structure remains distinct is part of the later work’s contribution.
PathNet studies paths through a network through the combination of evolution and gradient descent named in its title. Paths give the architecture a way to express which parts of the network participate in learning. This bears on Caruana’s finding that a fully connected common layer can still come to be used differently by different tasks. In the Peaks Functions, specialization is observed after training through the outputs’ sensitivities. A path-based formulation makes the choice of participating components a more explicit part of the learning design.
Carrying learning across stages
Progress & Compress takes up continual learning through a framework organized around progress and compression. Continual learning concerns acquiring further skills as learning proceeds. Caruana considers the related problem of tasks becoming available in sequence. His proposal can use the predictions of an earlier learner as auxiliary targets while learning a new task, preserving access to earlier knowledge through an active training signal. The later framework’s title puts the emphasis on organizing continued learning and consolidation as the sequence grows.
Expert Gate also concerns tasks encountered over a learning lifetime. Its organizing idea is a network of experts with a gate, a mechanism for choosing which expert to use. Caruana’s basic architecture lets each output choose its own use of a common layer through learned connections. An expert arrangement locates choice at the level of specialized predictors. The two approaches illuminate different ways of respecting differences among tasks while retaining access to what has already been learned.
Massively Multilingual Neural Machine Translation in the Wild studies machine translation across many languages. It gives the general issue of learning across related tasks a setting where the range of tasks is itself a central feature of the problem. Caruana’s experiments make the value of shared learning depend on which common structure the tasks can use and how strongly their objectives shape it. Multilingual translation raises that question among translation directions whose relationship to one another can vary. The cited work’s stated scope is the investigation of such translation at scale.
The later works carry forward different parts of the original argument. An auxiliary semantic target can give a visual learner better evidence for its main prediction. A common question or text format can make diverse tasks amenable to the same learning process. Adapters, paths, and experts make different choices about where specialized knowledge resides. The links to Caruana are clearest where each design specifies what is allowed to carry across tasks and what prediction is used to judge the benefit. In the original experiments, the decisive evidence is a change in the error on that prediction when the information available during learning changes.
Cite
Cite as Rich Caruana. 1997. Multitask Learning. Machine Learning.
@inproceedings{caruana1997multitask,
title = {{Multitask Learning}},
author = {Rich Caruana},
booktitle = {Machine Learning},
year = {1997},
doi = {10.1023/a:1007379606734},
url = {https://doi.org/10.1023/a:1007379606734}
}This page in Markdown https://md.research.elamur.ai/free/en/papers/caruana-1997-multitask-learning/