Skip to content

G-Loss: Graph-Guided Fine-Tuning of Language Models

Apr 2026 · arXiv.org · Vol abs/2604.25853 · 0 citations · 34 references
Computer Science

TL;DR

G-Loss is presented, a graph-guided loss function that incorporates semi-supervised label propagation to use structural relationships within the embedding manifold to build a document-similarity graph that captures global semantic relationships.

Abstract

Traditional loss functions, including cross-entropy, contrastive, triplet, and su pervised contrastive losses, used for fine-tuning pre-trained language models such as BERT, operate only within local neighborhoods and fail to account for the global semantic structure. We present G-Loss, a graph-guided loss function that incorporates semi-supervised label propagation to use structural relationships within the embedding manifold. G-Loss builds a document-similarity graph that captures global semantic relationships, thereby guiding the model to learn more discriminative and robust embeddings. We evaluate G-Loss on five benchmark datasets covering key downstream classification tasks: MR (sentiment analysis), R8 and R52 (topic categorization), Ohsumed (medical document classification), and 20NG (news categorization). In the majority of experimental setups, G-Loss converges faster and produces semantically coherent embedding spaces, resulting in higher classification accuracy than models fine-tuned with traditional loss functions.

View source

Similar papers

#artificial intelligence Preprint Oct 2026

Cluster Validation Indices as Self-Supervised Objectives for Text Representation Learning

This work introduces SilK (Silhouette-guided K-means), which trains on a Cluster Validation Index, an internal measure of cluster quality without using labels, and shows how this method stays competitive with the best baselines on three downstream tasks.

Kishor Kumar Bhaumik, Nícolas Roque dos Santos, Neil Shah et al. · 0 citations

IMoKGNN: Dual-Stream Fusion of Generic and Task-Specific Language Model Features for Graph Neural Networks

Text-Attributed Graphs (TAGs) are prevalent in various real-world scenarios, where each node is associated with a text attribute. Representation learning on TAGs relies on a comprehensive understanding of both the textual attributes and the topological connections. Recent works have enhanced graph neural networks (GNNs...

Hao Yan, Chao-Zhuo Li, Jun Yin et al. · 0 citations
Review Aug 2026

Structuring Semantic Embeddings for Principle Evaluation: A Prototype-Guided Contrastive Learning Approach

This paper introduces Prototype-Guided Contrastive Learning (PGCL), a prototype-guided geometric regularization module built on top of frozen text embeddings, and introduces Prototype-Guided Contrastive Learning (PGCL), a prototype-guided geometric regularization module built on top of frozen text embeddings.

Che Shen, Junwei Su, Ling-Peng Kong et al. · 1 citation
Preprint Aug 2026

Domain-Agnostic Neural Topic Modeling with Contextual Token-Level Semantic Graph Representation

DARTopic is a domain-agnostic framework that constructs token-level semantic graphs from frozen PLM embeddings and jointly trains a GNN encoder with topic inference, demonstrating robustness to PLM choice and favorable runtime efficiency over fine-tuning based alternatives.

Seung-Won Seo, W. Cho, Yongmin Yoo · 0 citations
Preprint Aug 2026

Why Does Graph Learning Fail to Fully Benefit from a Text Teacher?

A multimodal model that combines two complementary ideas: a self-supervised method that enables a GNN encoder pretrained on one dataset to operate directly on another dataset with a different node-feature dimensionality, without rebuilding the model or realigning the data is investigated.

Fumiaki Kimino, Ryoma Sato Sokendai, National Institute of Informatics · 1 citation

Related blog posts

MIT News · Artificial Intelligence Sep 29, 2026

Who we become when we talk to machines

Professor Sherry Turkle’s new book, “Artificial Intimacy,” offers a withering critique of chatbots and the antisocial dynamics she believes they encourage.

We use cookies to run the site and, with your consent, for analytics and to show ads. See our Cookie Policy.