arXiv(opens in a new tab)cs.LGMar 2011Cited by 1 paper on PaperVantage

Manuscript Offprint

arXiv:1103.0398

Natural Language Processing (almost) from Scratch

Ronan Collobert, Jason Weston, Leon Bottou, Michael Karlen, Koray Kavukcuoglu, Pavel Kuksa

Ronan Collobert

NEC Labs America, Princeton NJ.

Jason Weston

Google, New York, NY.

Léon Bottou

Michael Karlen

Koray Kavukcuoglu †^{\dagger}

Pavel Kuksa ‡^{\ddagger}

NEC Labs America, Princeton NJ.

RONAN@COLLOBERT.COM

JWESTON@GOOGLE.COM

LEON@BOTTOU.ORG

MICHAEL.KARLEN@GMAIL.COM

KORAY@CS.NYU.EDU

PKUKSA@CS.RUTGERS.EDU

Abstract

We propose a unified neural network architecture and learning algorithm that can be applied to various natural language processing tasks including: part-of-speech tagging, chunking, named entity recognition, and semantic role labeling. This versatility is achieved by trying to avoid task-specific engineering and therefore disregarding a lot of prior knowledge. Instead of exploiting man-made input features carefully optimized for each task, our system learns internal representations on the basis of vast amounts of mostly unlabeled training data. This work is then used as a basis for building a freely available tagging system with good performance and minimal computational requirements.

Keywords: Natural Language Processing, Neural Networks

1. Introduction

Will a computer program ever be able to convert a piece of English text into a data structure that unambiguously and completely describes the meaning of the natural language text? Among numerous problems, no consensus has emerged about the form of such a data structure. Until such fundamental Artificial Intelligence problems are resolved, computer scientists must settle for reduced objectives: extracting simpler representations describing restricted aspects of the textual information.

These simpler representations are often motivated by specific applications, for instance, bag-of-words variants for information retrieval. These representations can also be motivated by our belief that they capture something more general about natural language. They can describe syntactic information (e.g. part-of-speech tagging, chunking, and parsing) or semantic information (e.g. word-sense disambiguation, semantic role labeling, named entity extraction, and anaphora resolution). Text corpora have been manually annotated with such data structures in order to compare the performance of various systems. The availability of standard benchmarks has stimulated research in Natural Language Processing (NLP) and

†. Koray Kavukcuoglu is also with New York University, New York, NY.

‡. Pavel Kuksa is also with Rutgers University, New Brunswick, NJ.

©2009 Ronan Collobert, Jason Weston, Léon Bottou, Michael Karlen, Koray Kavukcuoglu and Pavel Kuksa.

effective systems have been designed for all these tasks. Such systems are often viewed as software components for constructing real-world NLP solutions.

The overwhelming majority of these state-of-the-art systems address a benchmark task by applying linear statistical models to ad-hoc features. In other words, the researchers themselves discover intermediate representations by engineering task-specific features. These features are often derived from the output of preexisting systems, leading to complex runtime dependencies. This approach is effective because researchers leverage a large body of linguistic knowledge. On the other hand, there is a great temptation to optimize the performance of a system for a specific benchmark. Although such performance improvements can be very useful in practice, they teach us little about the means to progress toward the broader goals of natural language understanding and the elusive goals of Artificial Intelligence.

In this contribution, we try to excel on multiple benchmarks while avoiding task-specific engineering. Instead we use a single learning system able to discover adequate internal representations. In fact we view the benchmarks as indirect measurements of the relevance of the internal representations discovered by the learning procedure, and we posit that these intermediate representations are more general than any of the benchmarks. Our desire to avoid task-specific engineered features led us to ignore a large body of linguistic knowledge. Instead we reach good performance levels in most of the tasks by transferring intermediate representations discovered on large unlabeled datasets. We call this approach “almost from scratch” to emphasize the reduced (but still important) reliance on a priori NLP knowledge.

The paper is organized as follows. Section 2 describes the benchmark tasks of interest. Section 3 describes the unified model and reports benchmark results obtained with supervised training. Section 4 leverages large unlabeled datasets ( ∼\sim 852 million words) to train the model on a language modeling task. Performance improvements are then demonstrated by transferring the unsupervised internal representations into the supervised benchmark models. Section 5 investigates multitask supervised training. Section 6 then evaluates how much further improvement can be achieved by incorporating standard NLP task-specific engineering into our systems. Drifting away from our initial goals gives us the opportunity to construct an all-purpose tagger that is simultaneously accurate, practical, and fast. We then conclude with a short discussion section.

References (66)

  • A framework for learning predictive structures from multiple tasks and unlabeled data
  • The BellKor solution to the Netflix Prize
  • A neural probabilistic language model
  • Greedy layer-wise training of deep networks
  • Curriculum learning
  • A framework for the cooperation of learning algorithms
  • Global training of document processing systems using graph transformer networks
  • Class-based n-gram models of natural language
  • An estimate of an upper bound for the entropy of english
  • Learning to rank with nonsmooth cost functions
  • Semi-Supervised Learning
  • Ranking the best instances
  • Learning to order things
  • Semantic role labelling with tree conditional random fields
  • A convergent gambling estimate of the entropy of english
  • Named entity recognition through classifier combination
  • Automatic labeling of semantic roles
  • The necessity of parsing for predicate argument recognition
  • SVMTool: A general POS tagger generator based on support vector machines
  • A joint model for semantic role labeling
  • Dependency networks for inference, collaborative filtering, and data visualization
  • Comparing and combining finite-state and context-free parsers
  • Distributional representations for handling sparsity in supervised sequence-labeling
  • Natural language grammar induction using a constituent-context model
  • Simple semi-supervised dependency parsing
  • Generalized inference with multiple semantic role labeling systems (shared task paper)
  • Chunking with support vector machines
  • Use of support vector learning for chunk identification
  • Conditional random fields: Probabilistic models for segmenting and labeling sequence data
  • Gradient based learning applied to document recognition
  • Rcv1: A new benchmark collection for text categorization research
  • Structure compilation: trading structure for features
  • Phrase clustering for discriminative learning
  • Early results for named entity recognition with conditional random fields, feature induction and web-enhanced lexicons
  • Effective self-training for parsing
  • Flexible text segmentation with structured multilabel classification
  • A novel use of statistical parsing to extract information from text
  • Name tagging with word clusters and discriminative training
  • Three new graphical models for statistical language modelling
  • Robust Parsing of the Proposition Bank
  • A discriminative language model with pseudo-negative samples
  • The proposition bank: An annotated corpus of semantic roles
  • Learning sets of filters using back-propagation
  • Shallow semantic parsing using support vector machines
  • Semantic role chunking combining complementary syntactic views
  • The necessity of syntactic parsing for semantic role labeling
  • Design challenges and misconceptions in named entity recognition
  • Using Corpus Statistics on Entities to Improve Semi-supervised Relation Extraction from the Web
  • Learning internal representations by back-propagating errors
  • Connectionist language modeling for large vocabulary continuous speech recognition
  • Shallow parsing with conditional random fields
  • Voting between multiple data representations for text chunking
  • Guided learning for bidirectional sequence classification
  • Contrastive estimation: Training log-linear models on unlabeled data
  • Symbolic-neural systems and the use of hints for developing complex systems
  • Morency, D. Okanohara, and J. Tsujii
  • Joint parsing and semantic role labeling
  • Composition of conditional random fields for transfer learning
  • Dynamic Conditional Random Fields: Factorized Probabilistic Models for Labeling and Segmenting Sequence Data
  • Semi-supervised sequential labeling and segmentation using gigaword scale unlabeled data
  • The entropy of english using ppm-based models
  • Feature-rich part-of-speech tagging with a cyclic dependency network
  • Word representations: A simple and general method for semi-supervised learning
  • Transductive learning for statistical machine translation
  • Phoneme recognition using time-delay neural networks
  • Deep learning via semi-supervised embedding