Title: Limitations of Tokenizers for Building a Neuro-Symbolic Lexicon [Limitations of Tokenizers for Building a Neuro-Symbolic Lexicon]
Not AvailableTokenization is a critical preprocessing step in natural language processing (NLP), as it determines the units of text that will be analyzed. Conventional tokenization strategies, such as whitespace-based or frequency-based methods, often fail to preserve linguistically meaningful units, including multi-word expressions, phrasal verbs, and morphologically complex tokens. Such failures result in downstream processing errors and hinder parsing performance. This paper examines contemporary tokenization approaches and their limitations in light of foundational concepts in morphology that are relevant for natural language parsing. We then proceed to describe the required features for the cognitive modeling of a human language lexicon and introduce a linguistically aware encoding pipeline. Finally, a preliminary assessment of this system will be presented and major points of the proposed system will be summarized in the conclusions.  more » « less
Award ID(s):
2219712
PAR ID:
10675036
Author(s) / Creator(s):
 ;  ;  
Publisher / Repository:
SCITEPRESS - Science and Technology Publications
Date Published:
ISBN:
978-989-758-737-5
Page Range / eLocation ID:
1458 to 1464
Subject(s) / Keyword(s):
Tokenization Computational Linguistics Natural Language Processing Symbolic Computation Minimalist Syntax Lexicon Parser
Sponsoring Org:
National Science Foundation
More Like this
  1. The integration of neural and symbolic computational approaches presents significant opportunities for advancing natural language processing systems that can model human-like language competence. This paper presents the Hybrid-Architecture Symbolic Parser and Neural Lexicon (HASPNeL) system, a neuro-symbolic system that integrates transformer-based neural networks for statistical pattern recognition with a symbolic parser grounded in the Strong Minimalist Thesis (SMT). The system demonstrates the feasibility of combining transformer- based neural networks with symbolic parsing methods to achieve ambiguity resolution and grammaticality judgments. Through evaluation of a manually annotated synthetic corpus and homograph datasets, we show that the integrated approach achieves 98.41% accuracy on holdout data and 92% on homograph, while satisfying the constraints imposed by the Strong Minimalist Thesis. This work contributes insights into the challenges of circular dependencies in preprocessing pipelines, frequency- based biases in neural models, and the architectural considerations required for building cognitively plausible computational models of human language processing. 
    more » « less
  2. Tokenization, also referred to as lexing or scanning, is the computational task of partitioning an input text into a sequence of substrings called tokens. Tokenization is one of the first stages of program compilation, it is used in natural language processing, and it is also useful for processing unstructured text or semi-structured data such as JSON, CSV, and XML. A tokenizer is typically specified as a list of regular expressions, which is called a tokenization grammar. Each regular expression describes a class of tokens (e.g., integer, floating-point number, variable identifier, string literal). The semantics of tokenization employs the longest match policy to disambiguate among the possible choices. This policy says that we should prefer a longer token over a shorter one. It is also known as the maximal munch policy. Tokenization is an important computational task when processing semi-structured data, as it often precedes parsing, querying, or data transformations. Due to the abundance of large-scale semi-structured data, which can be too large to load in memory, it is desirable to perform tokenization in a streaming fashion with a small memory footprint. First, we observe that some tokenization grammars are inherently more difficult to deal with than others, and we provide a static analysis algorithm for recognizing them. We continue to propose the StreamTok algorithm, which relies on this analysis to enable efficient tokenization. StreamTok is asymptotically better than the standard algorithm of flex. Our experimental results show that our implementation of StreamTok outperforms state-of-the-art tools for tokenization. 
    more » « less
  3. What are the units of text that we want to model? From bytes to multi-word expressions, text can be analyzed and generated at many granularities. Until recently, most natural language processing (NLP) models operated over words, treating those as discrete and atomic tokens, but starting with byte-pair encoding (BPE), subword-based approaches have become dominant in many areas, enabling small vocabularies while still allowing for fast inference. Is the end of the road character-level model or byte-level processing? In this survey, we connect several lines of work from the pre-neural and neural era, by showing how hybrid approaches of words and characters as well as subword-based approaches based on learned segmentation have been proposed and evaluated. We conclude that there is and likely will never be a silver bullet singular solution for all applications and that thinking seriously about tokenization remains important for many applications. 
    more » « less
  4. null (Ed.)
    A natural language processing (NLP) application requires sophisticated lexical resources to support its processing goals. Different solutions, such as dictionary lookup and MetaMap, have been proposed in the healthcare informatics literature to identify disease terms with more than one word (multi-gram disease named entities). Although a lot of work has been done in the identification of protein- and gene-named entities in the biomedical field, not much research has been done on the recognition and resolution of terminologies in the clinical trial subject eligibility analysis. In this study, we develop a specialized lexicon for improving NLP and text mining analysis in the breast cancer domain, and evaluate it by comparing it with the Systematized Nomenclature of Medicine Clinical Terms (SNOMED CT). We use a hybrid methodology, which combines the knowledge of domain experts, terms from multiple online dictionaries, and the mining of text from sample clinical trials. Use of our methodology introduces 4243 unique lexicon items, which increase bigram entity match by 38.6% and trigram entity match by 41%. Our lexicon, which adds a significant number of new terms, is very useful for matching patients to clinical trials automatically based on eligibility matching. Beyond clinical trial matching, the specialized lexicon developed in this study could serve as a foundation for future healthcare text mining applications. 
    more » « less
  5. Artificial Intelligence (AI) systems for mental healthcare (MHCare) have been ever-growing after realizing the importance of early interventions for patients with chronic mental health (MH) conditions. Social media (SocMedia) emerged as the go-to platform for supporting patients seeking MHCare. The creation of peer-support groups without social stigma has resulted in patients transitioning from clinical settings to SocMedia supported interactions for quick help. Researchers started exploring SocMedia content in search of cues that showcase correlation or causation between different MH conditions to design better interventional strategies. User-level Classification-based AI systems were designed to leverage diverse SocMedia data from various MH conditions, to predict MH conditions. Subsequently, researchers created classification schemes to measure the severity of each MH condition. Such ad-hoc schemes, engineered features, and models not only require a large amount of data but fail to allow clinically acceptable and explainable reasoning over the outcomes. To improve Neural-AI for MHCare, infusion of clinical symbolic knowledge that clinicans use in decision making is required. An impactful use case of Neural-AI systems in MH is conversational systems. These systems require coordination between classification and generation to facilitate humanistic conversation in conversational agents (CA). Current CAs with deep language models lack factual correctness, medical relevance, and safety in their generations, which intertwine with unexplainable statistical classification techniques. This lecture-style tutorial will demonstrate our investigations into Neuro-symbolic methods of infusing clinical knowledge to improve the outcomes of Neural-AI systems to improve interventions for MHCare:(a) We will discuss the use of diverse clinical knowledge in creating specialized datasets to train Neural-AI systems effectively. (b) Patients with cardiovascular disease express MH symptoms differently based on gender differences. We will show that knowledge-infused Neural-AI systems can identify gender-specific MH symptoms in such patients. (c) We will describe strategies for infusing clinical process knowledge as heuristics and constraints to improve language models in generating relevant questions and responses. 
    more » « less