NeurIPS 2026Coming to NeurIPS?Explore papers, orals & directions

Assessing Data Efficiency in Task-Oriented Semantic Parsing

Shrey Desai, Akshat Shrivastava, Justin Rill, Brian Moran, Safiyyah Saleem, Alexander Zotov, Ahmed AlyarXiv 2021

Abstract

Task-oriented semantic parsing is a critical component of modern virtual assistants, yet its development is often hindered by the high cost of data annotation. This paper introduces a standardized four-stage protocol to quantify and predict "data efficiency"—the relationship between training data volume and model performance. Our evaluation reveals that inductive biases, specifically in span-based non-autoregressive models, significantly enhance data efficiency compared to traditional autoregressive architectures.

Introduction

In task-oriented semantic parsing, user requests (e.g., "Set an alarm for 7 AM") are converted into executable structured formats. The primary bottleneck in scaling these systems to new domains or "skills" is the requirement for extensive labeled data. While researchers frequently cite "data efficiency" as a goal, the field has lacked a consistent metric for measurement. This work addresses this gap by providing a mathematical framework to answer a fundamental engineering question: "How many examples are needed to achieve a target accuracy?"

Methodology: The Four-Stage Protocol

The authors formalize data efficiency through a rigorous four-stage process designed to turn a vague concept into a predictable metric:

  1. Logarithmic Sampling: Training subsets are sampled exponentially (from 0% to 100%) to capture the rapid performance gains typical of low-data regimes and the saturation that occurs as data grows.
  2. Fine-tuning: Models are first "bootstrapped" on high-resource source domains before being fine-tuned on each of the 10 target subsets.
  3. Curve Fitting: A continuous function $h(x) = \frac{a}{x^b} + c$ is fitted to the discrete performance points, creating a "data efficiency curve."
  4. Ad-hoc Querying: The inverse of this function allows practitioners to determine the exact data percentage required for a specific performance threshold (e.g., 80% Exact Match).
Figure 3: The data efficiency protocol fits a continuous curve to discrete performance points, allowing for precise querying of data requirements.

Experimental Setup

The protocol was evaluated using the TOPv2 dataset. Models were pre-trained on various source domains and then evaluated on target domains including Weather and Reminder. The study compared three primary architectures: BART AR (Autoregressive), RoBERTa NAR (Standard Non-Autoregressive), and the RoBERTa Span Pointer.

Results and Analysis

The Advantage of Span-Based Models

The RoBERTa Span Pointer emerged as the most data-efficient model across the board. By pointing to spans in the input text rather than generating new tokens, it avoids the "length bottleneck" inherent in standard non-autoregressive models, which must predict output length before generation—a task that often fails in low-data settings.

On the Weather domain, the RoBERTa Span Pointer achieved a 90% Exact Match (EM) with only 30.67% of the data, outperforming BART AR (32.85%) and standard RoBERTa NAR (36.90%). The efficiency gap was even more pronounced in the Reminder domain; to hit a 70% EM bar, the Span Pointer required only 7.41% of the data, whereas the standard NAR model required nearly double that amount (13.24%).

Figure 5: Data efficiency curve for the RoBERTa Span Pointer on the Reminder domain, showing rapid performance gains with minimal data.

Complexity and Robustness

The research also found that intent complexity—specifically the presence of "Open" slots containing free-form text—is a strong predictor of data requirements. "Open" intents require significantly more data to reach the same performance bar as "Closed" intents. Furthermore, the fitted curves proved to be highly robust across different random seeds, providing a reliable tool for production planning despite individual training run fluctuations.

Conclusion

This work transitions data efficiency from a qualitative observation to a predictable engineering metric. By leveraging span-based architectures and the proposed evaluation protocol, developers can significantly reduce annotation costs while maintaining high performance in new domains. Future work will extend this framework to open-vocabulary settings and explore the computational trade-offs of generating these efficiency curves for larger models.

Summary updated

BibTeX
@misc{desai2021assessing,
  author = {Shrey Desai and Akshat Shrivastava and Justin Rill and Brian Moran and Safiyyah Saleem and Alexander Zotov and Ahmed Aly},
  title = {{Assessing Data Efficiency in Task-Oriented Semantic Parsing}},
  year = {2021},
  eprint = {2107.04736},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2107.04736},
}
Figure