Manuscript Offprint

arXiv:2608.21218

Enhancing LLMs in Predictive Political QA with Semi-Structured Data

Yinan Liu, Zihan Zhou, Zichun Jin, Xinyu Wang, Bin Wang, Xiaochun Yang

Abstract

Predictive political question answering (QA), such as predicting how a political actor will vote, goes beyond factual lookup. External political resources offer rich historical evidence, but rarely contain the answer itself. Existing LLM augmentation methods, including actor-profile-based simulation and knowledge graph evidence injection, improve political reasoning but largely treat external resources as knowledge-based evidence, leaving prediction-relevant signals under-modeled. We identify two complementary signals for predictive political QA: actor stances that capture issue-specific preferences, and high-order structure signals that capture indirect dependencies among political actors. We propose PSL, a dual-view framework that converts semi-structured political records into inference-oriented evidence for LLMs. PSL extracts stance signals from question-relevant actor records in a semantic view, and learns structure-aware actor representations from an actor interaction graph in a vector view. Across three real-world datasets and multiple LLMs, PSL consistently outperforms baselines, with ablations confirming the complementary gains of stance and structure signals.

1 Introduction

Political question answering (QA) serves diverse information needs about political actors, policies, and events. Large language models (LLMs) provide a powerful foundation for political QA, but their knowledge is often incomplete and unreliable in specialized, long-tail settings Sahoo et al. (2024). Augmenting LLMs with external political resources is therefore a natural direction Cuconasu et al. (2024). The political domain contains abundant external data, including social background information, electoral records, and legislative voting records, much of which is semi-structured or structured. However, many political QA tasks are not simple factual queries but predictive questions, such as predicting how a political actor will vote or respond to a future event Yang et al. (2020); Galla and Burke (2018). For these questions, external resources provide valuable records but rarely contain the answer directly, because the relevant behavior has not yet occurred and existing records serve only as indirect facts. Therefore, predictive political QA cannot be solved by direct factual retrieval alone.

To the best of our knowledge, the closest recent studies are PAA Li et al. (2025) and PEG Mou et al. (2024), which enhance LLMs’ political reasoning with external resources. PAA uses actor-profile-based simulation, organizing actors’ backgrounds and past behavior into textual profiles and prompting LLMs to simulate their decisions through role-playing. PEG uses knowledge-graph-based evidence injection, converting external resources into a knowledge graph (KG) and retrieving relevant structured evidence to augment LLMs. Both show the value of external resources for political reasoning, but still largely treat them as knowledge-based evidence (e.g. Political Behavior Profiles in Fig. 1). Moreover, profile-based methods struggle to capture implicit group-level influence among political actors Sowden et al. (2018), whereas KG-based methods often lose fine-grained context when extracting raw resources into triples Wang and Han (2025). What remains missing is an evidence representation suited to predictive political reasoning, beyond treating external resources merely as knowledge-based evidence.

In this work, we identify two complementary signals encoded in political data. i) Actor stance signals, i.e., their subjective attitudes toward specific issues, which reflect their values, ideology, or partisan interests Burnham (2025). Although implicit in complex contexts, these signals possess greater reasoning potential compared to factual knowledge. ii) High-order structure signals, i.e., the indirect dependencies within political actor interaction networks, which aim to characterize group influence. Political actors are connected not only by direct ties but also through higher-order relational patterns. For example, an actor’s stance may influence others through intermediary organizations or decision-makers, forming an indirect network of policy influence. Such network-embedded dependencies are difficult to express in natural language, often leading to verbose descriptions and noise. Semi-structured data formats provide a suitable basis for modeling these two signals, as they preserve contextual detail while retaining the interactions among political actors encoded in the structure.

In this work, we propose PSL, a dual-view framework that uses semi-structured political data to enhance LLMs for predictive political QA. PSL extracts and integrates two complementary types of signals: i) actor stance signals from a semantic view and ii) high-order structure signals from a vector view. Specifically, PSL constructs an actor profile in JSON format for each political actor from abundant records, and links actors via shared records to build an interaction graph. In the semantic view, PSL retrieves question-relevant records from profiles and infers extensible stance signals to capture an actor’s preference on a specific issue. In the vector view, PSL propagates information over the interaction graph to obtain actor representations that encode high-order neighborhood signals. PSL then co-embeds the actor representation with the question-focus embedding, producing mutually refined vectors, and equips the LLM with structure-aware reasoning through lightweight fine-tuning. Finally, PSL integrates stances from the semantic view with collaborative representations from the vector view and injects them into the LLM, providing stronger inferential evidence for predictive political QA.

This work makes three contributions. First, we identify two complementary signals in semi-structured political records: actor stances and high-order structure signals. The former capture actors’ preferences on specific issues, whereas the latter characterize group influence revealed by shared political behavior. Second, we propose PSL, a dual-view framework for these two signals: a semantic view extracts actor-stance signals, and a vector view models high-order structure signals, jointly enhancing LLMs’ predictive reasoning. Third, we conduct comprehensive experiments on three real-world datasets across different LLMs. The results demonstrate that PSL significantly outperforms all the baseline methods. Ablations verify the complementary benefits of semantic stance evidence and vectorized structure signals.

Figure

Figure 1: Overview of our framework PSL.

References (28)

  • scaling open-source language models with longtermism
  • Harvard Dataverse
  • JMLR 25 (70), pp. 1–53
  • American Political Science Review 98 (2), pp. 355–370
  • redefining retrieval for RAG systems
  • knowledge graph augmented political perspective detection in news media (opens arXiv in a new tab)
  • political actor representation learning with social context and expert knowledge
  • The Llama 3 Herd of Models
  • can large language models understand graph structured data ? an empirical evaluation and benchmarking (opens arXiv in a new tab)
  • simplifying and powering graph convolution network for recommendation
  • low-rank adaptation of large language models
  • efficient and effective passage search via contextualized late interaction over BERT. In SIGIR, pp. 39–48
  • denoising sequence-to-sequence pre-training for natural language generation, translation, and comprehension
  • ̈uttler, M. Lewis, W. Yih, T. Rockt
  • simulating legislative system for roll call votes prediction with large language models
  • A tool for surfing the answer net
  • empowering large language models as political experts with knowledge graphs
  • sentence embeddings using siamese bert-networks
  • bm25 and beyond
  • The Adaptive Web, pp. 291–324
  • retrieval-augmented black-box language models
  • Consciousness and Cognition 65, pp. 359–367
  • deep and responsible reasoning of large language model on knowledge graph
  • guiding retrieval with beam search over proposition paths
  • instructing retrieval-augmented generation via self-synthesized rationales
  • knowledge graph prompting sparks graph of thoughts in large language models
  • unified efficient fine-tuning of 100+ language models
  • a dual-user diagnostic assistance system by synergizing experts with llms and knowledge graphs