Skip to main content
QUICK REVIEW

[Paper Review] TexSmart: A Text Understanding System for Fine-Grained NER and Enhanced Semantic Analysis

Haisong Zhang, Lemao Liu|arXiv (Cornell University)|Dec 31, 2020
Topic ModelingComputer Science33 references19 citations
TL;DR

TexSmart is a comprehensive text understanding system that introduces fine-grained named entity recognition (over 1,000 entity types), semantic expansion, and deep semantic representation, leveraging a spectrum of algorithms—from fast, lightweight models to highly accurate deep learning approaches—enabling flexible deployment across diverse NLP applications with minimal human annotation through unsupervised and weakly-supervised learning.

ABSTRACT

This technique report introduces TexSmart, a text understanding system that supports fine-grained named entity recognition (NER) and enhanced semantic analysis functionalities. Compared to most previous publicly available text understanding systems and tools, TexSmart holds some unique features. First, the NER function of TexSmart supports over 1,000 entity types, while most other public tools typically support several to (at most) dozens of entity types. Second, TexSmart introduces new semantic analysis functions like semantic expansion and deep semantic representation, that are absent in most previous systems. Third, a spectrum of algorithms (from very fast algorithms to those that are relatively slow but more accurate) are implemented for one function in TexSmart, to fulfill the requirements of different academic and industrial applications. The adoption of unsupervised or weakly-supervised algorithms is especially emphasized, with the goal of easily updating our models to include fresh data with less human annotation efforts. The main contents of this report include major functions of TexSmart, algorithms for achieving these functions, how to use the TexSmart toolkit and Web APIs, and evaluation results of some key algorithms.

Motivation & Objective

  • To address the limitations of existing text understanding systems that support only coarse-grained named entity recognition (typically <50 types) by enabling recognition of over 1,000 fine-grained entity types.
  • To enhance semantic understanding beyond standard NLP tasks by introducing novel functionalities such as semantic expansion and deep semantic representation for entities like time and quantity.
  • To support diverse application needs by implementing multiple algorithms per task—ranging from high-speed to high-accuracy—enabling trade-offs between efficiency and performance.
  • To reduce dependency on large-scale human-annotated data by emphasizing unsupervised and weakly-supervised learning techniques for model training and adaptation.
  • To provide a practical, extensible toolkit and API for researchers and developers to integrate advanced NLP capabilities into real-world applications.

Proposed method

  • TexSmart employs a hybrid approach combining supervised learning (e.g., CRF, DNN) and unsupervised/weakly-supervised methods to train fine-grained NER models using large-scale structured, semi-structured, and unstructured data.
  • For semantic expansion, the system generates a list of semantically related entities based on contextual and distributional features, enhancing entity understanding beyond surface-level recognition.
  • Deep semantic representation is applied to time and numerical entities, converting them into machine-processable formats (e.g., absolute timestamps), enabling precise reasoning in downstream applications.
  • A multi-algorithm pipeline is implemented per NLP task (e.g., POS tagging, NER, parsing), including log-linear, CRF, and DNN models, with DNNs enhanced via data augmentation and knowledge distillation for faster inference.
  • Constituency parsing and semantic role labeling (SRL) are implemented using RoBERTa-based models, with training and evaluation following standard benchmarks (e.g., CoNLL 2012 for SRL).
  • Text matching is evaluated using both supervised (ESIM) and unsupervised (Linkage) models, with performance measured in F1 score and sentences per second on multilingual datasets (MRPC, QUORA, LCQMC, AFQMC, BQ_CORPUS, PAWS-zh).

Experimental results

Research questions

  • RQ1Can a text understanding system support over 1,000 fine-grained named entity types, significantly exceeding the typical 3–50 types in existing public tools?
  • RQ2Can semantic expansion and deep semantic representation be effectively integrated into a production NLP system to enrich entity semantics and enable precise temporal and quantitative reasoning?
  • RQ3Can a spectrum of algorithms—ranging from fast, lightweight models to high-accuracy deep learning models—be effectively combined to serve diverse academic and industrial NLP workloads?
  • RQ4To what extent can unsupervised and weakly-supervised learning reduce the need for costly human-annotated data in training robust NLP models?
  • RQ5How do the performance and efficiency of hybrid, multi-algorithm pipelines compare across key NLP tasks like POS tagging, NER, parsing, and text matching in both English and Chinese?

Key findings

  • TexSmart achieves an 80.0% accuracy in semantic expansion on both English and Chinese datasets, demonstrating strong performance in identifying semantically related entities.
  • The hybrid approach for fine-grained NER significantly outperforms the supervised LUA model, indicating the effectiveness of combining multiple learning strategies.
  • Constituency parsing achieves F1 scores of 95.42 (English) and 92.25 (Chinese), with a processing speed of 16.6 and 16.0 sentences per second, respectively.
  • Semantic role labeling yields F1 scores of 86.7 (English) and 82.1 (Chinese), processing approximately 10–11.5 sentences per second.
  • For text matching, the unsupervised Linkage model processes 1,973 sentences per second and achieves an F1 score of 62.30 on PAWS-zh, outperforming ESIM on this dataset despite being unsupervised.
  • The DNN-based models for POS tagging and NER achieve the highest accuracy but are slower than log-linear and CRF models; knowledge distillation and data augmentation improve their inference speed without sacrificing performance.

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.