• Home
  • Search
  • Exploring latent spaces: A visual comparison of sentence-BERT and GPT-2 models
  • https://doi.org/10.1587/nolta.16.233Copy DOI Icon

Exploring latent spaces: A visual comparison of sentence-BERT and GPT-2 models

Show More
  • Abstract
  • Literature Map
  • References
  • Similar Papers
Abstract

In recent years, advancements in artificial intelligence, especially in natural language processing (NLP) models, have progressed rapidly. These models demonstrate remarkable results through training on large datasets and extensive architectures. However, the output process is often a black box, and the decision-making process remains unclear. Our research focuses on the internal representations, specifically the latent variables, generated by NLP models. In earlier work, we explored the latent variables and spaces produced by Sentence-BERT using image generation models. This approach aimed to visualize these spaces by converting discrete textual embeddings into images, introducing continuity and revealing novel relationships. This paper presents the development of an image generation model that uses a common decoder for both GPT-2 and Sentence-BERT, aimed at examining how differences in model architecture affect their latent spaces. We also investigate the impact of training dataset differences by comparing models trained in English and Japanese. Our findings indicate that while the models often generate similar outputs, significant differences emerge in sentences containing multiple elements, attributable to the differing focuses and objectives of the models. Our goal is to understand these latent spaces and contribute to the development of explainable AI.

Similar Papers
  • Research Article

Identification of muscle-invasion status in bladder cancer patients using natural language processing and machine learning.

  • Feb 20, 2022
  • Journal of Clinical Oncology
  • Ruixin Yang +6
  • Research Article
  • Citations14

Identification of Patients With Metastatic Prostate Cancer With Natural Language Processing and Machine Learning.

  • Dec 01, 2022
  • JCO Clinical Cancer Informatics
  • Ruixin Yang +6
  • Research Article

Evaluating Guideline-Adherent Antibiotic Use for Skin Infections Using Natural Language Processing: A Pilot Study.

  • Feb 27, 2026
  • Pediatric emergency care
  • James R Rudloff +7
  • Research Article
  • Citations74

Natural language processing with deep learning for medical adverse event detection from free-text medical narratives: A case study of detecting total hip replacement dislocation

  • Nov 24, 2020
  • Computers in Biology and Medicine
  • Alireza Borjali +5
  • Research Article
  • Citations1

Automated classification of disease response in radiology reports using natural language processing.

  • Aug 01, 2023
  • JCO Global Oncology
  • Hai Xiang Ong +6
  • PDF
  • Research Article
  • Citations10

Comparison of NLP machine learning models with human physicians for ASA Physical Status classification

  • Sep 28, 2024
  • NPJ Digital Medicine
  • Soo Bin Yoon +4
  • Research Article
  • Citations30

Identification of patients with carotid stenosis using natural language processing.

  • Feb 26, 2020
  • European Radiology
  • Xiao Wu +3
  • Research Article
  • Citations35

“Note Bloat” impacts deep learning-based NLP models for clinical prediction tasks

  • Jul 22, 2022
  • Journal of Biomedical Informatics
  • Jinghui Liu +3
  • Research Article
  • Citations1

Development and validation of a natural language processing system to assess quality of physician communication in prostate cancer consultations.

  • Aug 21, 2025
  • Prostate cancer and prostatic diseases
  • Renning Zheng +7
  • PDF
  • Research Article
  • Citations70

Can We Automate Scientific Reviewing?

  • Sep 29, 2022
  • Journal of Artificial Intelligence Research
  • Weizhe Yuan +2
  • Research Article
  • Citations12

Using Natural Language Processing (GPT-4) for Computed Tomography Image Analysis of Cerebral Hemorrhages in Radiology: Retrospective Analysis.

  • Sep 26, 2024
  • Journal of medical Internet research
  • Daiwen Zhang +11
  • Research Article

HAMMER: Hardware-Friendly Approximate Computing for Self-Attention With Mean-Redistribution And Linearization

  • Jan 01, 2023
  • IEEE Computer Architecture Letters
  • Seonho Lee +3
  • Research Article

Challenges in using natural language processing to stratify students by narrative assessments in undergraduate medical education.

  • Dec 06, 2025
  • Academic medicine : journal of the Association of American Medical Colleges
  • Laurah Turner +6
  • Book Chapter

Graph of Words Model for Natural Language Processing

  • Nov 07, 2022
  • Sharayu Mirasdar +1
  • Abstract
  • Citations2

1358. Using natural language processing to optimize case ascertainment of acute otitis media in a large, state-wide pediatric practice network

  • Dec 31, 2020
  • Open Forum Infectious Diseases
  • Joshua C Herigon +2
Cactus Communications logo

Copyright 2026 Cactus Communications. All rights reserved.