Neuronlp: Transformer-Based Cognitive Pattern Discovery From Natural Language

Mubashshera Mirza
Department of Computer Science and Engineering, Indian Institute of Technology Patna (IIT Patna), Patna, India.

Dr. Mohammed Salman Baig
Maulana Mukhtar Ahmad Nadvi Technical Campus (MMANTC), India

Parv Agarwal
Department of Computer Science and Engineering, Indian Institute of Technology Patna (IIT Patna), Patna, India.

Enaakshi Bhati
Department of Cloud Computing, Indian Institute of Technology Patna (IIT Patna), Patna, India.

Adeitia Kalyann Boniface
Department of Computer Science and Engineering, Indian Institute of Technology Patna (IIT Patna), Patna, India.

Manhar Mukul
Department of Computer Science and Engineering, Indian Institute of Technology Patna (IIT Patna), Patna, India.

Souvik Saha
Department of Artificial Intelligence and Data Science Engineering, Indian Institute of Technology Patna (IIT Patna), Patna, India.

Abstract

Natural language is a rich computational medium in which concepts, relationships, events, intentions, temporal dependencies, causal associations, comparisons, uncertainty, and affective cues are expressed through diverse linguistic structures. These patterns are particularly prominent in scientific literature, where researchers communicate complex observations, hypotheses, methodological relationships, and domain-specific knowledge through highly structured textual narratives. Although recent advances in transformer-based language models have significantly improved the ability of computational systems to represent and classify natural language, most existing text-mining approaches remain primarily task-oriented, emphasizing document-level prediction while providing comparatively limited insight into the latent linguistic and semantic structures that characterize the underlying corpus. This work introduces NeuroNLP, a transformer-based computational framework for the systematic discovery, representation, classification, and interpretation of cognitive-linguistic patterns in large-scale natural-language data. NeuroNLP integrates complementary levels of textual analysis within a unified experimental pipeline. At the conventional machine-learning level, the framework establishes comparative baselines using TF-IDF representations with Multinomial Naive Bayes, Linear Support Vector Machine, and Random Forest classifiers. These models provide interpretable reference points for evaluating the contribution of contextual representation learning. At the deep representation level, SciBERT is fine-tuned for academic-field classification, enabling the framework to exploit contextualized representations learned from scientific literature. The resulting document representations are subsequently analyzed beyond their predictive utility through embedding-space exploration and clustering, allowing recurrent latent semantic groups to be identified without restricting the analysis to predefined document labels. To strengthen interpretability, NeuroNLP incorporates a complementary linguistic-pattern analysis that systematically examines textual indicators associated with causality, temporality, comparison, uncertainty, intention, and affective expression. These linguistic dimensions provide an additional layer of evidence for characterizing how different research domains construct relationships, describe processes, express confidence, formulate objectives, and communicate contextual information. Furthermore, transformer attention entropy is investigated as a model-level computational signal describing the distribution and concentration of attention across textual representations. Importantly, this measure is not interpreted as a direct measurement of human cognition; rather, it is treated as an internal model signal that can be examined alongside observable linguistic and semantic patterns.

Keywords: Natural Language Processing ,Transformer ,SciBERT, Cognitive Pattern Discovery ,BERT, Semantic Representation ,Attention Entropy ,Text Classification, Explainable AI ,Academic Abstracts, Computational Cognition