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

KeypartX: Graph-based Perception (Text) Representation

Peng Yang · DOI

Abstract

The availability of big data has opened up big opportunities for individuals, businesses and academics to view big into what is happening in their world. Previous works of text representation mostly focused on informativeness from massive words' frequency or cooccurrence. However, big data is a double-edged sword which is big in volume but unstructured in format. The unstructured edge requires specific techniques to transform 'big' into meaningful instead of informative alone. This study presents KeypartX, a graph-based approach to represent perception (text in general) by key parts of speech. Different from bag-of-words/vector-based machine learning, this technique is human-like learning that could extract meanings from linguistic (semantic, syntactic and pragmatic) information. Moreover, KeypartX is big-data capable but not hungry, which is even applicable to the minimum unit of text: sentence.

Introduction

In the current era of big data, the challenge has shifted from data acquisition to data interpretation. Traditional Natural Language Processing (NLP) techniques, such as Bag-of-Words (BoW) or Vector Space Models (VSM), are primarily "informativeness-oriented." While these models excel at statistical counting, they often fail to capture the semantic relationships and nuanced "perceptions" that humans naturally extract from text. KeypartX addresses this by proposing a graph-based representation that mimics human-like learning, transforming unstructured text into structured "perceptual units."

The KeypartX Architecture

The KeypartX framework operates through a multi-stage pipeline designed to extract and link key linguistic components.

1. The NLP Pipeline

The process begins with rigorous text preprocessing to ensure data quality. This includes spelling correction for informal text, detection of compound nouns (e.g., "beach resort"), and coreference resolution to ground pronouns in their original subjects. A critical step is the identification of negative compounds (e.g., "not expensive") to preserve sentiment accuracy. Finally, the system performs Adjective-Verb-Noun (AVN) matching, linking descriptors and actions to their respective subjects based on syntactic patterns.

Figure 1: The KeypartX system architecture, illustrating the flow from raw text corpus through the NLP pipeline to the final perception representation.

2. Perceptual Network Construction

KeypartX represents text as a directed graph where nodes are restricted to Adjectives, Verbs, and Nouns. Edges represent semantic relations, typically with Adjectives and Verbs pointing toward Nouns. To manage the complexity of large datasets, the system employs k-core and k-weight filtering to remove noise. The Leicht and Newman community detection algorithm is then applied to group related nodes into "perceptual units," which represent coherent themes or sentiments within the text.

Case Study: TripAdvisor Reviews

The methodology was validated using a dataset of 118 TripAdvisor reviews regarding travel in Thailand. This unstructured "big data" source provided a proof-of-concept for extracting specific consumer perceptions.

The initial network, containing nearly 700 nodes and over 4,500 edges, was condensed into a manageable map of 145 nodes and 198 edges. This reduction highlights the system's ability to distill "meaning" from "information."

Figure 6: Visualization of the perceptual network (a) before and (b) after community detection, showing the emergence of distinct, labeled perceptual units like 'Room' and 'Restaurant'.

The analysis identified 16 distinct communities. For instance, the "Room" unit successfully linked the noun "room" with descriptors like "clean," "big," and "cheap." Similarly, the "Restaurant" unit connected the noun to the verb "recommend" and adjectives like "friendly." These results were manually verified to accurately reflect the core sentiments of the original reviews.

Conclusion and Future Work

KeypartX demonstrates that graph-based representations focused on key parts of speech can effectively map human perception in unstructured text. Unlike data-hungry deep learning models, KeypartX is efficient enough to work on small units like single sentences while remaining scalable to large corpora. Future research will aim to incorporate the intensity of perceptions (e.g., adverbs like "very") to further refine the granularity of the sentiment analysis.

Summary updated

BibTeX
@misc{yang2022keypartx,
  author = {Peng Yang},
  title = {{KeypartX: Graph-based Perception (Text) Representation}},
  year = {2022},
  eprint = {2209.11844},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2209.11844},
}
Figure