JPJohn Pavlopoulos

John Pavlopoulos

*This is an algorithmically generated author record based on publicly available information.

John Pavlopoulos has a total of 124 co-authors. Here are the top co-authors by number of shared publications:


Latest Publications

  • Open Access

    Graphic Compensation in Ancient Greek Documentary Hands: A Computational Paleographic Analysis from Handwritten Character Recognition

    by Paraskevi Platanou, Lavinia Ferretti, Isabelle Marthot-Santaniello, Giuseppe De Gregorio, Spyros Barbakos, Maria Konstantinidou, Asimina Paparrigopoulou, John Pavlopoulos

    Historical scripts are structured visual systems whose internal organization has traditionally been explored through qualitative paleographic analysis. However, many of the principles shaping their evolution remain difficult to test empirically across corpora. One such principle, formulated by Jean Irigoin, is the hypothesis of graphic compensation, according to which graphic systems tend to maximize visual distinctiveness between letters that share similar phonetic functions while allowing greater visual proximity in other cases. In this work, we develop a computational approach to explore the visual structure of historical scripts and apply it to the cursive Greek writing of Hellenistic papyri. Building on a previously introduced representation-learning framework for ancient Greek letterforms, we analyze the behavior of a ConvNeXt-V2 character recognizer trained with lacuna-based fragmentation and dynamically learned supervised contrastive loss in order to extract the similarity relations that structure the script. Rather than treating classification errors as poor technical results, we interpret them as paleographically meaningful patterns that reveal the internal organization of the graphic system. The resulting analysis shows that several of the strongest confusions occur between visually similar but phonetically distinct letters, including Alpha–Lambda, Omicron–Theta, Iota–Rho, Epsilon–Sigma, Tau–Upsilon, and Eta–Pi, providing quantitative support for Irigoin's hypothesis and suggesting that the principle of graphic compensation continues to operate even in the less controlled domain of cursive handwriting. This tendency is supported by a global pairwise comparison of same-category and vowel–consonant confusions, by stability checks across alternative training variants, by evaluation on damaged characters, and by a papyrus-level split designed to reduce leakage between train and test material. More broadly, this study proposes a methodological framework for computational paleography, in which model behavior can be used to extract interpretable descriptions of script structure from large collections of cultural heritage material. Finally, we suggest that the learned relationship between phonetic difference and visual confusion may itself serve as paleographic background knowledge and be incorporated into future HTR pipelines, helping recognition systems resolve visual ambiguity when visual evidence and linguistic expectations compete during decoding.

  • Composite Silhouette

    by Aggelos Semoglou, Aristidis Likas, John Pavlopoulos

  • Open Access

    SpaRAGraph: Spatial Reasoning using Retrieval-Augmented Generation

    by Thanasis Georgiadis, John Pavlopoulos, Nikos Mamoulis

    The advent of large language models (LLMs) has enabled powerful applications across several domains such as science, healthcare, finance, and law. However, the spatial inference capabilities of LLMs are limited. Our goal is to facilitate more accurate LLM responses to spatial queries. To this end, we leverage inference-time retrieval augmented generation (RAG) to enrich LLM context using external data. We present SpaRAGraph, a framework that (i) performs spatial-to-RDF data processing to capture spatial relations between nearby entities, (ii) indexes relation-RDFs using a graph to facilitate semantic traversal, and (iii) retrieves the relevant context to a question at inference time, contextualizing it with factual, spatial information enhancing the LLM’s accuracy. Additionally, we present a spatial reasoning benchmark that challenges LLMs on binary, multiclass and multilabel classification tasks on real-world, spatial entities. Overall, SpaRAGraph sets the ground for using spatial knowledge retrieval techniques to improve LLM effectiveness in spatial reasoning tasks.


  • Open Access

    Assigning Confidence: K-partition Ensembles

    by Aggelos Semoglou, John Pavlopoulos

    Clustering is widely used for unsupervised structure discovery, yet it offers limited insight into how reliable each individual assignment is. Diagnostics, such as convergence behavior or objective values, may reflect global quality, but they do not indicate whether particular instances are assigned confidently, especially for initialization-sensitive algorithms like k-means. This assignment-level instability can undermine both accuracy and robustness. Ensemble approaches improve global consistency by aggregating multiple runs, but they typically lack tools for quantifying pointwise confidence in a way that combines cross-run agreement with geometric support from the learned cluster structure. We introduce CAKE (Confidence in Assignments via K-partition Ensembles), a framework that evaluates each point using two complementary statistics computed over a clustering ensemble: assignment stability and consistency of local geometric fit. These are combined into a single, interpretable score in [0,1]. Our theoretical analysis shows that CAKE remains effective under noise and separates stable from unstable points. Experiments on synthetic and real-world datasets indicate that CAKE effectively highlights ambiguous points and stable core members, providing a confidence ranking that can guide filtering or prioritization to improve clustering quality.

  • Open Access

    Mind the gap: from plausible to valid self-explanations in large language models

    by Korbinian Randl, John Pavlopoulos, Aron Henriksson, Tony Lindgren

    This paper investigates the reliability of explanations generated by large language models (LLMs) when prompted to explain their previous output. We evaluate two kinds of such self-explanations (SE)—extractive and counterfactual—using state-of-the-art LLMs (1B to 70B parameters) on three different classification tasks (both objective and subjective). In line with Agarwal et al. (Faithfulness versus plausibility: On the (Un)reliability of explanations from large language models. 2024. https://doi.org/10.48550/arXiv.2402.04614), our findings indicate a gap between perceived and actual model reasoning: while SE largely correlate with human judgment (i.e. are plausible), they do not fully and accurately follow the model’s decision process (i.e. are not faithful). Additionally, we show that counterfactual SE are not even necessarily valid in the sense of actually changing the LLM’s prediction. Our results suggest that extractive SE provide the LLM’s “guess” at an explanation based on training data. Conversely, counterfactual SE can help understand the LLM’s reasoning: We show that the issue of validity can be resolved by sampling counterfactual candidates at high temperature—followed by a validity check—and introducing a formula to estimate the number of tries needed to generate valid explanations. This simple method produces plausible and valid explanations that offer a 16 times faster alternative to SHAP on average in our experiments.


  • Top Cited Papers
    Open Access

    Contextualizing ancient texts with generative neural networks

    by Yannis Assael, Thea Sommerschield, Alison Cooley, Brendan Shillingford, John Pavlopoulos, Priyanka Suresh, Bailey Herms, Justin Grayston, Benjamin Maynard, Nicholas Dietrich, et al.

    Human history is born in writing. Inscriptions are among the earliest written forms, and offer direct insights into the thought, language and history of ancient civilizations. Historians capture these insights by identifying parallels-inscriptions with shared phrasing, function or cultural setting-to enable the contextualization of texts within broader historical frameworks, and perform key tasks such as restoration and geographical or chronological attribution1. However, current digital methods are restricted to literal matches and narrow historical scopes. Here we introduce Aeneas, a generative neural network for contextualizing ancient texts. Aeneas retrieves textual and contextual parallels, leverages visual inputs, handles arbitrary-length text restoration, and advances the state of the art in key tasks. To evaluate its impact, we conduct a large study with historians using outputs from Aeneas as research starting points. The historians find the parallels retrieved by Aeneas to be useful research starting points in 90% of cases, improving their confidence in key tasks by 44%. Restoration and geographical attribution tasks yielded superior results when historians were paired with Aeneas, outperforming both humans and artificial intelligence alone. For dating, Aeneas achieved a 13-year distance from ground-truth ranges. We demonstrate Aeneas' contribution to historical workflows through analysis of key traits in the renowned Roman inscription Res Gestae Divi Augusti, showing how integrating science and humanities can create transformative tools to assist historians and advance our understanding of the past.


  • Open Access

    A systematic survey of natural language processing for the Greek language

    by Juli Bakagianni, Kanella Pouli, Maria Gavriilidou, John Pavlopoulos


  • Open Access

    Evaluation and Facilitation of Online Discussions in the LLM Era: A Survey

    by Katerina Korre, Dimitris Tsirmpas, Nikos Gkoumas, Emma Cabalé, Dionysis Kontarinis, Danai Myrtzani, Theodoros Evgeniou, Ion Androutsopoulos, John Pavlopoulos

    We present a survey of methods for assessing and enhancing the quality of online discussions, focusing on the potential of Large Language Models (LLMs). While online discourses aim, at least in theory, to foster mutual understanding, they often devolve into harmful exchanges, such as hate speech, threatening social cohesion and democratic values. Recent advancements in LLMs enable facilitation agents that not only moderate content, but also actively improve the quality of interactions. Our survey synthesizes ideas from Natural Language Processing (NLP) and Social Sciences to provide (a) a new taxonomy on discussion quality evaluation, (b) an overview of intervention and facilitation strategies, along with a new taxonomy on conversation facilitation datasets, (c) an LLM-oriented roadmap of good practices and future research directions, from technological and societal perspectives.


  • Revisiting Silhouette Aggregation

    by John Pavlopoulos, Georgios Vardakas, Aristidis Likas