Using machine learning to build public policy agenda from social media conversations
This paper proposes a human-augmented machine learning framework that leverages social media data, topic modeling, and natural language generation to efficiently identify public interest issues and construct validated policy agendas, demonstrating promising results in narrative coherence and agenda item relevance through experimental validation on Twitter data.
Original paper licensed under CC BY 4.0 (http://creativecommons.org/licenses/by/4.0/). This is an AI-generated explanation of the paper below. It is not written or endorsed by the authors. For technical accuracy, refer to the original paper. Read full disclaimer
Imagine the government as a giant, busy kitchen trying to cook a meal for the whole country. Before they can start cooking, they need a menu (the public policy agenda) that lists the most important dishes the people actually want to eat.
Traditionally, figuring out this menu was like sending a team of chefs to knock on every single door in the country to ask, "What do you want to eat?" This is slow, expensive, and by the time they get back to the kitchen, the people's hunger might have changed.
This paper proposes a new way to create that menu using Machine Learning (ML) and Social Media (specifically Twitter). Think of it as installing a high-tech "listening device" that scans millions of conversations happening online to instantly figure out what the people are hungry for.
Here is how the authors built their "Smart Menu Machine," broken down into five simple steps:
1. Cleaning the Ingredients (Data Cleaning)
Social media is messy. It's full of typos, emojis, links, and people shouting over each other.
- The Analogy: Imagine trying to cook with a bag of groceries that has dirt, plastic wrappers, and old receipts mixed in with the vegetables.
- What they did: They used a computer program to wash the "vegetables" (the tweets). They removed the dirt (emojis, URLs, hashtags) and threw away the trash (retweets and short, meaningless words) so they only had clean, readable sentences left.
2. Finding the Flavor Profiles (Keyword Extraction & Issue Identification)
Now that the text is clean, the computer needs to figure out what the main "flavors" or topics are.
- The Analogy: Imagine a master chef tasting a huge pot of soup and saying, "I taste carrots, I taste beef, and I taste a hint of spice."
- What they did: They used two different "tasting tools" (called LDA and Top2Vec). These tools looked at the cleaned tweets and grouped them into themes. For example, they found clusters of words like "police," "violence," and "peace" (which they called Topic 11), and others like "water," "roads," and "health" (related to services). This told them what issues people were actually talking about.
3. Writing the Menu Descriptions (Narrative Creation)
The computer knows the topics, but it needs to write them out in a way that sounds like a human policy proposal.
- The Analogy: The computer is like a sous-chef who knows the ingredients but needs to write a fancy description for the menu. "Beef stew" becomes "A hearty, slow-cooked beef stew with root vegetables."
- What they did: They used a smart AI called GPT-2. They fed it the keywords they found (like "brutality" or "education") and asked it to write short paragraphs about them. The AI tried to write sentences that sounded natural and made sense, turning a list of words into a story about the problem.
4. The Taste Test (Text Validation)
Sometimes, AI writes gibberish. The authors needed to make sure the "sous-chef" wasn't just making up nonsense.
- The Analogy: Before serving the menu to the public, the head chef asks a few food critics to taste the descriptions. They ask: "Does this sound like real English? Does the story make sense?"
- What they did: They hired university students (who were good with English) to read the AI-generated paragraphs. They rated them on Readability (does it sound smooth?) and Coherence (does the story stick together?).
- The Result: The students gave it a "Very Good" rating for readability and a "Good" rating for coherence. The AI was mostly writing sensible sentences.
5. Checking Against the Official Recipe Book (Agenda Validation)
Finally, they needed to check if the AI's menu actually matched what real political leaders care about.
- The Analogy: The head chef compares the new menu against the "Official Recipe Book" (the political party manifestos from the 2020/2021 Ugandan elections) to see if they are cooking the same dishes.
- What they did:
- Computer Check: They used a math formula (Cosine Similarity) to measure how close the AI's sentences were to the official party promises. The AI did a great job matching the "Security" and "Democracy" themes but struggled a bit with "Economy" and "Healthcare."
- Human Check: They asked a group of people to vote on whether the AI's menu items were actually important issues for the country. The group agreed ("Good" agreement) that the AI had successfully identified real public concerns.
The Bottom Line
The authors successfully built a semi-automated system that can listen to social media, find the most important topics, write them up as policy issues, and check if they are valid.
What they found:
- It works! The system can turn chaotic Twitter chatter into a structured list of public policy issues.
- It's not perfect yet. Sometimes the AI writes sentences that don't make total sense, and it sometimes misses the mark on complex topics like the economy.
- The Goal: This isn't about replacing human politicians. It's about giving them a faster, cheaper way to hear what the people are saying, especially in places where doing a traditional survey is too hard or expensive.
In short, they built a digital megaphone that helps governments hear the crowd's voice without having to knock on every single door.
Drowning in papers in your field?
Get daily digests of the most novel papers matching your research keywords — with technical summaries, in your language.