Skip to content

simonwisdom/public-comment-generator

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

85 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Public Comment PDF Generator

homepage generated_pdf

Overview

Public Comment PDF Generator (try using Document Number 2023-28232)

This application was developed during the Apart Research AI x Governance hackathon to demonstrate vulnerabilities in the public comment system on legislative documents from federalregister.gov. It shows how easily one can generate authentic-looking public comments that could complicate the policymaking process by requiring verification.

Our 3rd place submission is here.

Purpose

The project exposes how AI can manipulate democratic processes, particularly through the automation of public comments, highlighting the need for protective measures in democratic systems.

On some proposed rules in the Federal Register, there are a small number of 'high quality' comments from industry. Typically, these comments include a multipage PDF attachment with an official letterhead. Carpenter et al. (2022) found that such comments are more likely to be considered by policymakers and to influence the text of the final bill.

With that in mind, we set out to build a proof of concept that uses LLMs to reduce the effort required to make such 'high quality' PDF submissions.

Hackathon Context

Created in a weekend for the Apart Research AI x Governance hackathon, this project explores the intersection of AI and public governance. More about the hackathon can be found here.

Features

side-by-side-demo-small.mp4
  • Document Retrieval and Summarization: Fetches and summarizes Federal Register documents using the Claude API with the Haiku model.
  • Logo Acquisition: Uses the Clearbit API to retrieve official company logos.
  • Dynamic PDF Generation: Creates structured PDFs that include user inputs, document summaries, and logos.

Technology Stack

  • Frontend: React.js
  • APIs:
    • Claude API with Haiku Model: For summarizing documents and generating content.
    • Clearbit API: For obtaining company logos.
  • Hosting: Vercel

Rationale for Demonstrating Risks to Democracy

This project illustrates the potential for AI to disrupt democratic processes and emphasizes the urgent need for developing strategies to counteract these risks. The simulation aims to inform policymakers and stakeholders, guiding the development of AI governance frameworks to maintain societal stability.