Manuscript Offprint

arXiv:2609.00057

ValueGraph: Value-Signal Guided Graph Pre-training for Contextualized User Representation

Yitong Han, Wei Gao, Yi Zhao, Prasanta Bhattacharya, Fengzhu Zeng, Mohammad Amanlou

Open access. PaperVantage converted this article to text, so layout and figures may differ from the original.

Abstract

Value signals are aggregated user-level moral representations that capture users' inferred value-related tendencies from their online discourse. User behavior on social media is shaped not only by what users say or whom they interact with, but also by the value signal through which they express attitudes. Existing user representation methods largely miss this value-relevant dimension. We propose VALUEGRAPH, a graph pre-training framework that uses automatically inferred moral-value signals as noisy auxiliary signals for contextualized user representation. From post-reply graphs, VALUEGRAPH learns semantic and structural representations and further aligns users through relative value similarity with contrastive and clustering objectives. Rather than treating inferred values as gold psychological labels, VALUEGRAPH uses them as soft constraints for representation learning. Experiments on stance detection and twitter bot detection show consistent gains over strong text-based, graph-based, and text-only LLM baselines, highlighting value-signal guidance as a useful inductive bias for socially informed user modeling.¹

Introduction

Understanding user behavior is central to social media analytics, recommendation systems, and personalized AI. User embedding models map user content and interactions to dense representations for downstream tasks such as profiling, recommendation, stance detection, and social influence analysis, and must generalize to unseen users and evolving social contexts (Pan and Ding 2019).

Most existing methods learn user representations from text (Benton, Arora, and Dredze 2016; Ding, Bickel, and Pan 2017), visual content (Do et al. 2018), or network structure (Rahimi, Cohn, and Baldwin 2015; Pick et al. 2022), and optimize them with self-supervised or graph-based objectives (Perozzi, Al-Rfou, and Skiena 2014; Sun, Zhu, and Lin 2020; Grover and Leskovec 2016; Donnat et al. 2018). These objectives often assume that users with similar content exposure or graph neighborhoods should have similar embeddings. However, similarity in interaction does not necessarily indicate similarity in the underlying factors that drive user behaviors. Users may engage with the same event because of shared exposure, controversy, or platform dynamics while expressing substantially different motivations and attitudes.

When social contexts shift, such surface-level similarity can become brittle (Zhao et al. 2021; Hafidi et al. 2020; Hassani and Khasahmadi 2020; Sun, Hoffmann, and Tang 2020). For example, news recommendation systems that rely on interaction-based similarity may mistake shared exposure or controversy-driven interactions for shared preferences or values. Users who engage with the same event may hold opposing attitudes, but such spurious behavioral associations can cause the system to repeatedly recommend similar content to these users, reinforcing homogeneous information exposure and potentially amplifying polarization or extremist dynamics (Ribeiro et al. 2020). These limitations suggest that effective user representations should capture not only observable behaviors, such as what users say or where they interact, but also latent factors underlying these behaviors.

To address these challenges, we adopt Moral Foundations Theory (MFT) (Haidt, Joseph et al. 2007) as our theoretical foundation. MFT provides a framework for understanding moral judgments reflected in social discourse and defines interpretable moral dimensions that have been widely studied in computational social science (Graham et al. 2013). Building upon recent advances in text-based moral value prediction, we derive 10-dimensional user-level moral feature vectors by aggregating post-level moral scores output from MoralBERT (Preniqi et al. 2024), and refer to these vectors as value signals. Without explicitly modeling such value signals, conventional embedding models may struggle to distinguish users who exhibit similar interaction patterns but hold different stances and behavioral tendencies. This motivates us to leverage value signals as an auxiliary supervisory cue to learn more robust user representations.

We therefore propose VALUEGRAPH, a contextualized user representation framework that incorporates inferred value signals to regularize graph pre-training. In this work, contextualized refers to representations learned by jointly modeling users' textual content and their interaction context in conversation graphs. Concretely, VALUEGRAPH operates on a post-reply graph and learns user representations in two stages. First, it uses masked graph autoencoding to learn semantic and structural post representations from conversation graphs. Second, it aggregates post embeddings into user embeddings and constructs positive and negative user pairs according to inferred value similarity, which is derived from psychology and computational ethics literature (Preniqi et al. 2024;

¹Code is released at https://github.com/HanYiton/ValueGraph

Nguyen et al. 2024; Guo, Mokhberian, and Lerman 2023). A user-level contrastive loss aligns users with similar inferred value profiles, while a clustering loss encourages coherent and separated regions in the embedding space. These objectives guide the encoder to represent what users engage with alongside the value signals associated with their behavior.

We evaluate VALUEGRAPH on stance detection and Twitter bot detection. Results show consistent gains over graph pre-training methods, Pre-trained Language Model (PLM) encoders, inductive GNNs, and text-only LLM baselines, while ablations confirm that the improvements come from jointly modeling semantic, structural, and value-signal information. Our main contributions are summarized as follows:

  • We propose VALUEGRAPH, a value-signal guided graph pre-training framework that leverages inferred value signals as noisy auxiliary supervision for contextualized user representation learning.
  • We design a hierarchical objective that combines masked graph autoencoding with contrastive learning and clustering to jointly capture semantic, structural, and value information.
  • We provide a mechanism-level analysis of the proposed objectives, characterizing value-signal similarity preservation and cluster compactness/separation in the learned embedding space.
  • Experiments show that VALUEGRAPH achieves the best performance among compared user representation methods on both stance detection and bot detection tasks, validating the effectiveness of incorporating value signals into graph-based user representation learning.

References (70)

  • Exploiting Personal Characteristics of Debaters for Predicting Persuasiveness
  • MoralStrength: Exploiting a moral lexicon and embedding similarity for moral foundations prediction
  • Learning Multiview Embeddings of Twitter Users
  • Deep Clustering for Unsupervised Learning of Visual Features
  • F.; Leike, J.; Brown, T.; Martic, M.; Legg, S.; and Amodei, D. 2017
  • Multi-View Unsupervised User Feature Embedding for Social Media-based Substance Use Prediction
  • H.; Nguyen, D. M.; Tsiligianni, E.; Cornelis, B.; and Deligiannis, N. 2018
  • Learning Structural Node Embeddings via Diffusion Wavelets
  • Exploring the Role of Prior Beliefs for Argument Persuasion
  • TwiBot-22: towards graph-based twitter bot detection
  • BotRGCN: Twitter Bot Detection with Relational Graph Convolutional Networks
  • SimCSE: Simple Contrastive Learning of Sentence Embeddings
  • SemEval-2019 Task 7: RumourEval, Determining Rumour Veracity and Support for Rumours
  • Chapter Two - Moral Foundations Theory: The Pragmatic Validity of Moral Pluralism
  • Liberals and Conservatives Rely on Different Sets of Moral Foundations
  • node2vec: Scalable Feature Learning for Networks
  • A data fusion framework for multi-domain morality learning
  • GraphCL: Contrastive Self-Supervised Learning of Graph Representations
  • The moral mind: How five sets of innate intuitions guide the development of many
  • The innate mind, 3: 367–391
  • Contrastive multi-view representation learning on graphs
  • Culture's Consequences: Comparing Values, Behaviors, Institutions and Organizations Across Nations
  • GraphMAE2: A Decoding-Enhanced Masked Self-Supervised Graph Learner
  • Strategies for Pre-training Graph Neural Networks
  • GPT-GNN: Generative Pre-Training of Graph Neural Networks
  • Classification of moral foundations in microblog political discourse
  • Semi-Supervised Classification with Graph Convolutional Networks
  • BIC: Twitter Bot Detection with Text-Graph Interaction and Semantic Consistency (opens arXiv in a new tab)
  • Self-supervised learning with kernel dependence maximization
  • Detect Rumors in Microblog Posts for Low-Resource Domains via Adversarial Contrastive Learning
  • Acquiring background knowledge to improve moral value prediction
  • RoBERTa: A Robustly Optimized BERT Pretraining Approach
  • Learning to Pre-train Graph Neural Networks
  • Detecting rumors from microblogs with recurrent neural networks
  • Moral framing and ideological bias of news
  • Moralization in social networks and the emergence of violence during protests
  • Q.; Vu, T.; and Tuan Nguyen, A. 2020
  • D.; Chen, Z.; Carroll, N. G.; Tran, A.; Klein, C.; and Xie, L. 2024
  • A Challenge Dataset and Effective Models for Conversational Stance Detection
  • Training language models to follow instructions with human feedback
  • Social Media-based User Embedding: A Literature Review
  • DeepWalk: online learning of social representations
  • K.; Kozhukhov, V.; Vilenchik, D.; and Tsur, O. 2022
  • MoralBERT: A Fine-Tuned Language Model for Capturing Moral Values in Social Discussions
  • GCC: Graph Contrastive Coding for Graph Neural Network Pre-Training
  • Exploring the limits of transfer learning with a unified text-to-text transformer
  • Twitter User Geolocation Using a Unified Text and Network Prediction Model
  • Characterizing and detecting hateful users on twitter
  • H.; Ottoni, R.; West, R.; Almeida, V. A. F.; and Meira, W. 2020
  • H.; Ciecieuch, J.; Vecchione, M.; Davidov, E.; Fischer, R.; Beierlein, C.; Ramos, A.; Verkasalo, M.; Lönqvist, J.-E.; Demirutku, K.; et al
  • InfoGraph: Unsupervised and Semi-supervised Graph-Level Representation Learning via Mutual Information Maximization
  • Multi-Stage Self-Supervised Learning for Graph Convolutional Networks
  • LINE: Large-scale Information Network Embedding
  • The moral foundations reddit corpus (opens arXiv in a new tab)
  • Graph attention networks
  • Smarter, Better, Faster, Longer: A Modern Bidirectional Encoder for Fast, Memory Efficient, and Long Context Fine-tuning and Inference
  • Graph contrastive learning with augmentations
  • Jointly embedding the local and global relations of heterogeneous graph for rumor detection (opens arXiv in a new tab)
  • Multi-Target Stance Detection with Bi-Directional Recursive Encoding and Classification
  • Graph transformer networks
  • ME2-BERT: Are Events and Emotions what you need for Moral Foundation Prediction? In COLING
  • Early Rumor Detection Using Neural Hawkes Process with a New Benchmark Dataset
  • User profile preserving social network embedding
  • Enhancing Stance Classification on Social Media Using Quantified Moral Foundations
  • ProNE: Fast and Scalable Network Representation Learning
  • User-guided Hierarchical Attention Network for Multi-modal Social Image Popularity Prediction
  • Data Augmentation for Graph Neural Networks
  • Graph Prompt Learning for Stance Detection (opens arXiv in a new tab)
  • Deep Graph Contrastive Representation Learning
  • PHEME: A dataset for fine-grained stance detection (opens arXiv in a new tab)