Papers › The Natural Language Decathlon: Multitask Learning as Question Answering

The Natural Language Decathlon: Multitask Learning as Question Answering

20 Jun 2018ICLR 2019 5arXiv:1806.08730archive 2025-07-28

Bryan McCann, Nitish Shirish Keskar, Caiming Xiong, Richard Socher

Deep learning has improved performance on many natural language processing (NLP) tasks individually. However, general NLP models cannot emerge within a paradigm that focuses on the particularities of a single metric, dataset, and task. We introduce the Natural Language Decathlon (decaNLP), a challenge that spans ten tasks: question answering, machine translation, summarization, natural language inference, sentiment analysis, semantic role labeling, zero-shot relation extraction, goal-oriented dialogue, semantic parsing, and commonsense pronoun resolution. We cast all tasks as question answering over a context. Furthermore, we present a new Multitask Question Answering Network (MQAN) jointly learns all tasks in decaNLP without any task-specific modules or parameters in the multitask setting. MQAN shows improvements in transfer learning for machine translation and named entity recognition, domain adaptation for sentiment analysis and natural language inference, and zero-shot capabilities for text classification. We demonstrate that the MQAN's multi-pointer-generator decoder is key to this success and performance further improves with an anti-curriculum training strategy. Though designed for decaNLP, MQAN also achieves state of the art results on the WikiSQL semantic parsing task in the single-task setting. We also release code for procuring and processing data, training and evaluating models, and reproducing all experiments for decaNLP.

PaperPDFConference PDFCodeCode Syntology ran

In Syntology Open this paper in Syntology's Atlas, the map of the papers in Syntology's graph and their citations.

For agents, Syntology's MCP tool lists every function and class Syntology harvested from this paper and whether it ran (how to connect): get_harvested_code_for_paper(arxiv_id="1806.08730")

Code

Syntology Ran 1 of 13 code samples harvested from 2 repositories linked to this paper; 12 have no recorded run. Of those that ran: 1 ran with no contract checked.

By repository: official repository: 9 samples from 1 repository, 0 ran; community (archive-listed): 4 samples from 1 repository, 1 ran. The run record, sample by sample. “Ran” means executed on a synthesized input, not that the code is correct or reproduces the paper.

salesforce/decaNLP officialmentioned in papermentioned on GitHubpytorchBSD-3-Clause report
cheng-Ye/daguan-competition-master mentioned on GitHubpytorch report
eric-erki/decaNLP mentioned on GitHubpytorchBSD-3-Clause report
shishir-roy/decaNLP-with-BERT mentioned on GitHubpytorchBSD-3-Clause report
sigtyp/ST2024 mentioned on GitHub report
stanford-oval/genienlp mentioned on GitHubpytorch report

Repository list and official/mentioned flags are the archive's, frozen 2025-07-28. Reachability, where shown, is from one Syntology probe window (2026-09-16 to 2026-09-18); repositories not probed show nothing. GitHub stars are not tracked.

Code Syntology ran Syntology

13 samples harvested; 1 ran; 0 honoured the contract we drafted; 12 have no recorded run. Read from Syntology's graph 2026-09-24; that is when this build read the record, not when the samples ran.

1ran
12unverified

Licence: 4 of the 13 samples are pointer only, meaning Syntology does not serve that copy's text. This page shows no code text for any sample; each one links to its file in the repository.

Harvested from 2 repositories linked to this paper, official or community; each sample names its own and says which. “Ran” means the sample executed on a synthesized input. It does not mean the output is correct, and nothing here reproduces the paper's results. “Honoured” and “violated” refer to a contract Syntology drafted from the code itself; “our draft was wrong” and “fixture could not drive it” are failures of Syntology's instrument, not of the code.

Each sample ends with its code_sha256, Syntology's identity for that exact code. An agent fetches the stored sample with Syntology's MCP tool get_code(code_sha256="…") (how to connect); click an identity to copy that call.

Repository labels, per sample. official repository: The archive marks this repository official for the paper. named in the paper: The archive records that the paper mentions this repository; it is not marked official. community (archive-listed): In the archive's code links for this paper, not marked official and not recorded as mentioned in the paper. found in paper text by Syntology: Syntology found this repository in the paper's own text; whether it is the authors' implementation is not asserted. community: Not in the archive's code links for this paper; a community repository Syntology harvested. Samples from a repository marked official are listed first. Licence labels name the repository's licence as recorded at harvest. “Pointer only” means Syntology does not serve that copy's text, for one of four reasons: no licence file was found; the licence was not identified; the licence is recorded as permissive but that copy's record is not marked cleared; or the licence is outside the permissive list Syntology serves text under (MIT, Apache-2.0, BSD and similar). Some licences outside that list permit redistribution, such as WTFPL, and GPL-3.0 under its conditions; they are simply not on the list. Hover a licence label for the reason. File links open the file on GitHub at the default branch, which may have changed since the harvest.

all_reverse salesforce/decaNLP/validate.py official repository unverified BSD-3-Clause (permissive) · 1d88554176b7eac1 · report
correct_format salesforce/decaNLP/convert_to_logical_forms.py official repository unverified BSD-3-Clause (permissive) · b35cd8b933ae1b45 · report
count_params salesforce/decaNLP/util.py official repository unverified BSD-3-Clause (permissive) · d7b2b4bb89a82c89 · report
get_clip salesforce/decaNLP/validate.py official repository unverified BSD-3-Clause (permissive) · 8ee61593cb444310 · report
get_context_question salesforce/decaNLP/util.py official repository unverified BSD-3-Clause (permissive) · 3544f48b886804d2 · report
pad_to_match salesforce/decaNLP/models/common.py official repository unverified BSD-3-Clause (permissive) · 2e17682f4f73dc67 · report
positional_encodings_like salesforce/decaNLP/models/common.py official repository unverified BSD-3-Clause (permissive) · a38860d700f83b59 · report
score salesforce/decaNLP/metrics.py official repository unverified BSD-3-Clause (permissive) · e81a8138a9405edf · report
set_seed salesforce/decaNLP/util.py official repository unverified BSD-3-Clause (permissive) · d871f8c96e99be20 · report
matmul eric-erki/decaNLP/models/common.py community (archive-listed) ran fingerprinted BSD-3-Clause recorded; this copy not marked cleared · pointer only · a211fd7add3a8e3e · report
get_trainable_params eric-erki/decaNLP/util.py community (archive-listed) unverified BSD-3-Clause recorded; this copy not marked cleared · pointer only · 9289fb8937bd5a0c · report
pad_to_match eric-erki/decaNLP/models/common.py community (archive-listed) unverified BSD-3-Clause recorded; this copy not marked cleared · pointer only · b828330541293092 · report
positional_encodings_like eric-erki/decaNLP/models/common.py community (archive-listed) unverified BSD-3-Clause recorded; this copy not marked cleared · pointer only · 27fe94dcf3228e77 · report

Tasks

DecoderDomain AdaptationMachine TranslationNamed Entity RecognitionNamed Entity Recognition (NER)Natural Language InferenceQuestion AnsweringRelation ExtractionSemantic ParsingSemantic Role LabelingSentiment AnalysisText ClassificationTransfer LearningTranslation

Datasets

Introduced by this paper, per the archive.

decaNLP

Results from the paper archive 2025-07-28

No leaderboard rows for this paper in the archive.

Report a problem or propose a change · a person checks every report against the paper or source before anything changes; decisions are listed on /corrections