mlsanityData to 7 Oct 2026

LinGO: A Linguistic Graph Optimization Framework with LLMs for Interpreting Intents of Online Uncivil Discourse

arXiv 2602.04693 ↗First posted 4 Feb 2026cs.CL cs.CYcited by 0

Not on the map. Why?

Abstract (arXiv)

Detecting uncivil language is crucial for maintaining safe, inclusive, and democratic online spaces. Yet existing classifiers often misinterpret posts containing uncivil cues but expressing civil intents, leading to inflated estimates of harmful incivility online. We introduce LinGO, a linguistic graph optimization framework for large language models (LLMs) that leverages linguistic structures and optimization techniques to classify multi-class intents of incivility that use various direct and indirect expressions. LinGO decomposes language into multi-step linguistic components, identifies targeted steps that cause the most errors, and iteratively optimizes prompt and/or example components for targeted steps. We evaluate it using a dataset collected during the 2022 Brazilian presidential election, encompassing four forms of political incivility: Impoliteness (IMP), Hate Speech and Stereotyping (HSST), Physical Harm and Violent Political Rhetoric (PHAVPR), and Threats to Democratic Institutions and Values (THREAT). Each instance is annotated with six types of civil/uncivil intent. We benchmark LinGO using three cost-efficient LLMs: GPT-5-mini, Gemini 2.5 Flash-Lite, and Claude 3 Haiku, and four optimization techniques: TextGrad, AdalFlow, DSPy, and Retrieval-Augmented Generation (RAG). The results show that, across all models, LinGO consistently improves accuracy and weighted F1 compared with zero-shot, chain-of-thought, direct optimization, and fine-tuning baselines. RAG is the strongest optimization technique and, when paired with Gemini model, achieves the best overall performance. These findings demonstrate that incorporating multi-step linguistic components into LLM instructions and optimize targeted components can help the models explain complex semantic meanings, which can be extended to other complex semantic explanation tasks in the future.

Key facts. No citing papers in the map yet (data through 7 Oct 2026). Builds on 22 of its 45 references that are in the map. First posted on arXiv 4 Feb 2026.

Builds on

22 of 45 references.

References · 22

  1. 2017Attention Is All You Needcited by 59,932
  2. 2020Language Models are Few-Shot Learnerscited by 32,199
  3. 2021LoRA: Low-Rank Adaptation of Large Language Modelscited by 14,084
  4. 2020Retrieval-Augmented Generation for Knowledge-Intensive NLP Taskscited by 9,160
  5. 2013Efficient Estimation of Word Representations in Vector Spacecited by 4,346
  6. 2021Pre-train, Prompt, and Predict: A Systematic Survey of Prompting Methods in Natural Language Processingcited by 2,222
  7. 2023DSPy: Compiling Declarative Language Model Calls into Self-Improving Pipelinescited by 803
  8. 2017Automated Hate Speech Detection and the Problem of Offensive Languagecited by 724
  9. 2023Automatic Prompt Optimization with "Gradient Descent" and Beam Searchcited by 628
  10. 2024A Systematic Survey of Prompt Engineering in Large Language Models: Techniques and Applicationscited by 428
  11. 2024TextGrad: Automatic "Differentiation" via Textcited by 250
  12. 2020HateCheck: Functional Tests for Hate Speech Detection Modelscited by 215
10 more
  1. 2019A BERT-Based Transfer Learning Approach for Hate Speech Detection in Online Social Mediacited by 95
  2. 2018Challenges for Toxic Comment Classification: An In-Depth Error Analysiscited by 55
  3. 2025A Survey of Automatic Prompt Engineering: An Optimization Perspectivecited by 41
  4. 2024NLP Systems That Can't Tell Use from Mention Censor Counterspeech, but Teaching the Distinction Helpscited by 19
  5. 2025LLM-AutoDiff: Auto-Differentiate Any LLM Workflowcited by 19
  6. 2018Detecting Hate Speech and Offensive Language on Twitter using Machine Learning: An N-gram and TFIDF based Approachcited by 10
  7. 2019A Machine Learning Approach to Comment Toxicity Classificationcited by 8
  8. 2025Efficient Hate Speech Detection: Evaluating 38 Models from Traditional Methods to Transformerscited by 3
  9. 2024Collaborative Human-AI Risk Annotation: Co-Annotating Online Incivility with CHAIRAcited by 2
  10. 2025Quantifying the Spread of Online Incivility in Brazilian Politicscited by 1

Built on by

Not cited yet.

Similar, not cited

Close in wording, no citation either way

  1. 2025Language, Culture, and Ideology: Personalizing Offensiveness Detection in Political Tweets with Reasoning LLMs
  2. 2026A Multi-Dimensional Audit of Politically Aligned Large Language Models
  3. 2026LLMs Can Infer Political Alignment from Online Conversations
  4. 2025Confident, Calibrated, or Complicit: Safety Alignment and Ideological Bias in LLM Hate Speech Detection
  5. 2026Unmasking Propaganda: A Comparative Analysis of Masked and Causal Language Models
  6. 2025Generative Exaggeration in LLM Social Agents: Consistency, Bias, and Toxicity
  7. 2025X-Troll: eXplainable Detection of State-Sponsored Information Operations Agents
  8. 2025Are LLMs Enough for Hyperpartisan, Fake, Polarized and Harmful Content Detection? Evaluating In-Context Learning vs. Fine-Tuning