Skip to main content
QUICK REVIEW

[Paper Review] jiant: A Software Toolkit for Research on General-Purpose Text Understanding Models

Yada Pruksachatkun, Phil Yeres|arXiv (Cornell University)|Mar 4, 2020
Topic ModelingComputer Science34 references20 citations
TL;DR

jiant is an open-source, configuration-driven toolkit for training and evaluating general-purpose text understanding models on over 50 NLU tasks, including GLUE and SuperGLUE benchmarks. It enables modular, reproducible experiments with state-of-the-art models like BERT and RoBERTa, and reproduces published performance across multiple tasks with high accuracy.

ABSTRACT

We introduce jiant, an open source toolkit for conducting multitask and transfer learning experiments on English NLU tasks. jiant enables modular and configuration-driven experimentation with state-of-the-art models and implements a broad set of tasks for probing, transfer learning, and multitask training experiments. jiant implements over 50 NLU tasks, including all GLUE and SuperGLUE benchmark tasks. We demonstrate that jiant reproduces published performance on a variety of tasks and models, including BERT and RoBERTa. jiant is available at https://jiant.info.

Motivation & Objective

  • To provide a unified, modular, and reproducible platform for training and evaluating general-purpose text understanding models across diverse NLU tasks.
  • To support complex training pipelines such as multi-task learning, transfer learning, and multi-phase training (e.g., intermediate task fine-tuning) via configuration rather than code changes.
  • To enable researchers to easily experiment with state-of-the-art models and benchmark tasks without modifying source code.
  • To serve as the official baseline codebase for the SuperGLUE benchmark, ensuring consistency and reproducibility in NLU research.
  • To foster extensibility by supporting new tasks, models, and training configurations through a modular architecture and active open-source contribution model.

Proposed method

  • jiant uses a configuration-driven interface (HOCON format) to define experiments, specifying tasks, sentence encoders, output heads, and training hyperparameters.
  • It integrates with HuggingFace Transformers and AllenNLP to leverage pre-trained models and training pipelines, abstracting low-level implementation details.
  • The toolkit includes a modular component architecture: Tasks (data, processing, metrics), Sentence Encoders (e.g., BERT, ELMo, BiLSTM), Task-Specific Output Heads (e.g., for NLI or POS), and Trainers (for training loops and checkpointing).
  • Multi-phase training is supported via config-defined pipelines, such as pretraining → intermediate task fine-tuning → target task fine-tuning, as used in STILTs.
  • jiant ensures reproducibility through logging, model checkpointing, and standardized data handling across tasks.
  • It supports both single-task and multitask training, with built-in support for popular benchmarks like GLUE, SuperGLUE, SentEval, and edge-probing.

Experimental results

Research questions

  • RQ1Can jiant reproduce published performance on standard NLU benchmarks like CommonsenseQA and SocialIQA using BERT and RoBERTa?
  • RQ2How effectively can jiant support complex training regimes such as multi-phase transfer learning (e.g., intermediate task fine-tuning followed by target task fine-tuning)?
  • RQ3To what extent does jiant’s modular architecture enable easy extension to new tasks and models without code modification?
  • RQ4How does jiant’s configuration-driven design compare to code-based training pipelines in terms of reproducibility and usability?
  • RQ5Can jiant serve as a reliable, standardized baseline for large-scale NLU benchmarking, such as in the SuperGLUE benchmark?

Key findings

  • jiant reproduces published performance on CommonsenseQA using RoBERTa-large, achieving 72.2% accuracy compared to the reported 72.1%.
  • On SocialIQA with BERT-large, jiant achieves a dev set accuracy of 65.8%, closely matching the reported 66.0%.
  • In transfer learning from MNLI to BoolQ, jiant improves dev set accuracy from 78.1% to 80.3%, approaching the published improvement of 78.1% to 82.2%.
  • jiant successfully supports multi-phase training pipelines, such as the STILTs approach, through configuration rather than code changes.
  • The toolkit maintains high reproducibility through logging, checkpointing, and standardized data processing across all 50+ supported tasks.
  • jiant is actively used in multiple research works for probing, transfer learning, and benchmark construction, confirming its utility and robustness in real-world NLP research.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.