llm-lobbyist logo

llm-lobbyist

JohnNay/llm-lobbyist

Code for research on large language models conducting corporate lobbying activities.

GraphCanon updated 6d · GitHub synced 6d

174 stars14 forksLast push 3y Jupyter Notebook

Decision brief

The llm-lobbyist tool specializes in evaluating large language models' efficiency in conducting corporate lobbying activities using Jupyter Notebook and the `text-davinci-003` model.

Good fit when

  • When you need to assess how well automated systems can determine if legislative proposals are relevant for particular public companies.
  • If your research demands benchmarking large language models on corporate lobbying tasks, especially using data-centric approaches involving the relevance of legislation.

Avoid when

  • If your scope of work does not involve evaluating or training large language models in a legal policy context.
  • When you require a tool to analyze or generate content unrelated to legislative relevance, such as technical documentation or creative writing.

Observed Jul 14, 2026 · Source: enrich:decision_facts

Verify the decision

Maintenance and security

Full trust report
Maintenance
Dormant (1310d since push)
As of 6d
Provenance
Not a fork · Personal account
As of 6d
Security (OSV)
No lockfile
As of 1mo

Public GitHub metadata and optional OSV scans. Signals, not a guarantee. Trust methodology.

Install

git clone https://github.com/JohnNay/llm-lobbyist

Similar tools

Same-category neighbours. No typed graph edges are catalogued for this tool yet.

Evidence and technical details

Sourced facts, taxonomy, compatibility claims, README excerpt, and machine-readable endpoints.

Overview

Repository contains Jupyter Notebook code and data for evaluating the capability of large language models to perform tasks related to corporate lobbying, including determining legislative relevance and drafting persuasive letters based on OpenAI's `text-davinci-003` model.

Capability facts

Languages
jupyter notebook

Source: github.language · Aug 15, 2026

Categories

Tags

README

llm-lobbyist

Large Language Models as Corporate Lobbyists

Links

  • Paper
    • [This is a draft paper to explain some of the potential (positive and negative) implications of taking the LLM as Lobbyist idea further]
  • Code
    • [This is code we have released to allow other researchers to improve on methods leveraging large language models to conduct related question-answering and language generation tasks]
  • Data
    • [This is a new dataset we have released to allow other researchers to benchmark the performance of automated systems to determine the relevance of legislation to particular companies]

Abstract

We demonstrate a proof-of-concept of a large language model conducting corporate lobbying related activities. An autoregressive large language model (OpenAI’s text-davinci-003) determines if proposed U.S. Congressional bills are relevant to specific public companies and provides explanations and confidence levels. For the bills the model deems as relevant, the model drafts a letter to the sponsor of the bill in an attempt to persuade the congressperson to make changes to the proposed legislation. We use hundreds of novel ground-truth labels of the relevance of a bill to a company to benchmark the performance of the model, which outperforms the baseline of predicting the most common outcome of irrelevance. We also benchmark the performance of the previous OpenAI GPT-3 model (text-davinci-002), which was the state-of-the-art model on many academic natural language tasks until text-davinci-003 was recently released. The performance of text-davinci-002 is worse than a simple benchmark. These results suggest that, as large language models continue to exhibit improved natural language understanding capabilities, performance on corporate lobbying related tasks will continue to improve. Longer-term, if AI begins to influence law in a manner that is not a direct extension of human intentions, this threatens the critical role that law as information could play in aligning AI with humans. This Essay explores how this is increasingly a possibility. Initially, AI is being used to simply augment human lobbyists for a small proportion of their daily tasks. However, firms have an incentive to use less and less human oversight over automated assessments of policy ideas and the written communication to regulatory agencies and Congressional staffers. The core question raised is where to draw the line between human-driven and AI-driven policy influence.

Citation

If you use this code, you can cite:

John Nay, Large Language Models as Corporate Lobbyists (January 2, 2023). Available at SSRN: https://papers.ssrn.com/sol3/papers.cfm?abstract_id=4316615.

Bibtex for citations in LaTex:

@article{nay2023llmlobbyist,
  author = {John Nay},
  archivePrefix = {arXiv},
  eprint = {2301.01181},
  primaryClass = {cs.CL},
  title = {Large Language Models as Corporate Lobbyists},
  year = 2023,
  keywords = {language models, alignment, policy},
  url = {https://arxiv.org/abs/2301.01181}
}

Overview

We use autoregressive large language models to systematically:

  1. Summarize bill summaries that are too long to fit into the context window of the model so the model can conduct steps 2 and 3.
  2. Using either the original bill summary if it was not too long, or the summarized version, assess whether the bill may be relevant to a company based on a company’s description in its 10K filing. Provide an explanation for why the bill is relevant or not. Provide a confidence level to the overall answer.
  3. If the bill is deemed relevant to the company by the model, draft a letter to the sponsor of the bill arguing for changes to the bill.

The model i

For agents

This page has a .md twin and JSON over the API.

Was this helpful?

Anonymous feedback helps us improve pages and translations.