Monday, October 5, 2026
Science
No Result
View All Result
  • Login
  • HOME
  • SCIENCE NEWS
  • CONTACT US
  • HOME
  • SCIENCE NEWS
  • CONTACT US
No Result
View All Result
Scienmag
No Result
View All Result
Home Science News Technology and Engineering

AI-Powered Database Unlocks Millions of Local Laws Across America

October 5, 2026
in Technology and Engineering
Blake Davidson
By Blake Davidson Scienmag Editorial Profile - Data Science
Reading Time: 5 mins read
0
AI-Powered Database Unlocks Millions of Local Laws Across America

AI-Powered Database Unlocks Millions of Local Laws Across America

65
SHARES
587
VIEWS
Share on FacebookShare on Twitter
ADVERTISEMENT

America is, in many ways, governed not from Washington but from thousands of city halls, county courthouses and municipal offices scattered across the map. Noise ordinances, building codes, leash requirements, zoning rules, licensing regimes and countless other regulations shape daily life in every community, yet the sheer volume of these local laws has long made them nearly invisible to systematic study. Now a team at the University of California, Berkeley has built something that did not previously exist anywhere: a free, open-access database containing millions of unique local ordinances drawn from all 50 states, assembled with the help of artificial intelligence and designed to make the rules that govern everyday American life searchable, comparable and understandable at unprecedented scale.

The project, led by Diag Davenport, an assistant professor of technology policy, governance and society at Berkeley who holds appointments in the Goldman School of Public Policy and the School of Information, has been described by its creator as a fundamentally new instrument for civic knowledge. “We’ve built a new kind of telescope — one pointed at governance itself,” Davenport said. “It could be a fundamental shift in the way people interact with the rules that govern their daily lives.” While online repositories have cataloged state and federal statutes for years, no comparable resource has ever existed specifically for local laws, from Alameda, California, to Zephyrhills, Florida. The database, published online in June, opens the door for others to generate custom databases and local chatbots capable of quickly comparing laws on topics ranging from home construction to dog leash requirements.

The origins of the project trace back roughly six years, when Davenport was studying computer algorithms, systemic bias and the criminal legal system. At some point, he wondered whether he could invert that research focus and instead study bias embedded in the actual text of the law itself. To do that rigorously, he needed to examine local laws across the country and use statistics to measure how they differed between places with high levels of historic discrimination and places without it. That ambition collided immediately with a practical obstacle: no database of all local laws existed, and the more he looked, the more he realized the material was scattered across a mishmash of proprietary company databases and convoluted local government websites.

The scale of the fragmentation alone was daunting. The United States contains more than 3,000 counties and another 6,000 or so local jurisdictions, each with the power to make its own laws and each storing those laws in its own way. “Of course, nothing’s ever as simple as you want it to be,” Davenport said. “Once you realize how fragmented it all is, it’s easy to understand why no one’s done the work.” The idea simmered for years, but it took on new life about a year ago, when recent technological advances finally allowed the team to stack one AI tool on top of another to do the heavy lifting that had previously been impossible.

The first stage was collection. Davenport and his colleague Denis Peskoff, a postdoctoral scholar at Berkeley, needed to gather municipal and county laws from thousands of government and third-party websites. They consulted with lawyers as they developed the collection process and deliberately designed it to meet the technical requirements imposed by the sites hosting the documents. They also worked with Joe Barrow, an AI researcher specializing in documents and datasets, and Christopher Vu, a Berkeley undergraduate studying computer and data science. That effort produced an archive of nearly 10,000 often unwieldy documents — roughly 7 million pages in total, many stored as blurry, poorly structured or otherwise inaccessible PDFs.

Turning that archive into usable data was the larger technical challenge, and it is where the project’s AI pipeline proved decisive. The team deployed a vision-language optical character recognition model called LightOnOCR to extract both text and structure from the documents. Processing millions of pages required a massive amount of computing power, but the result was a relatively standardized body of machine-readable text that is far easier, faster and less costly to search, analyze and feed into modern AI systems than the original PDFs ever were. From there, the researchers used models from OpenAI to tag and organize samples of the laws, distilling that labeling work into categories that could then be applied across the full corpus, transforming a chaotic pile of scanned documents into a structured, analyzable dataset.

The resulting database contains millions of unique ordinances covering every state in the union, and it enables something that was previously extremely difficult: searching across local laws at national scale to identify patterns in how communities regulate everything from housing and public space to business activity and everyday conduct. “I think it was actually impossible to do this work until six or 12 months ago,” Davenport said. “As far as I’m aware, we’ve done this at a larger scale than anyone else.” The project’s scientific credibility received a significant boost last week, when a paper describing the work was accepted to the Conference on Neural Information Processing Systems, one of the premier venues in machine learning and AI, where the team will present its findings in December.

The practical implications extend well beyond academia. Developers, for instance, have long faced soaring project costs driven partly by the difficulty of deciphering dense, inconsistent local regulations. Computer scientists and other technically minded users can now train chatbots on specific slices of the repository — one could, for example, be trained on Bay Area building codes and quickly report the different requirements for building an apartment complex in Berkeley compared with neighboring El Cerrito. That could allow developers to build more accurate cost estimates into project plans, or help a homeowner navigate the rulebook for constructing a backyard accessory dwelling unit. Davenport emphasized that any forthcoming tools built on the data must be free and publicly accessible, a condition he considers critical to the project’s mission.

Journalists, researchers and policymakers stand to benefit as well, gaining streamlined access to compare laws and saving countless hours that would otherwise be spent wrestling with hard-to-navigate documents. Users can compare regional differences in regulation, study how difficult laws are to understand in different areas, and even probe regional differences in enforcement. Some members of the public have already created searchable interfaces based on the team’s published work, an early sign of the ecosystem the researchers hope will grow around the dataset. In effect, the database converts the country’s fragmented legal patchwork into a natural laboratory for policy analysis.

“Effectively, what we have are thousands of experiments about how to regulate housing, sidewalks and helmets,” Davenport said. “The real promise here is making local government legible. Once people can actually see and compare the rules that shape everyday life, we can ask much better questions about which ones work, who they work for and what we might want to do differently.” For a nation whose daily governance has always been local, diffuse and largely opaque, the arrival of a single, searchable corpus of millions of ordinances may mark the moment when the rules that shape ordinary life finally come into focus.

Subject of Research: An AI-built open-access corpus of United States local ordinances for policy and legal research

Article Title: To decipher local laws, researchers used AI to build a database of millions of them

Article References: To decipher local laws, researchers used AI to build a database of millions of them. (n.d.). Original publication

Image Credits: AI Generated

DOI: Not provided

Keywords: local laws, ordinances, artificial intelligence, machine learning, optical character recognition, open-access database, public policy, UC Berkeley, governance, natural language processing, municipal law, NeurIPS

Cite Scienmag News

Blake Davidson. (October 5, 2026). AI-Powered Database Unlocks Millions of Local Laws Across America. Scienmag. https://scienmag.com/ai-powered-database-unlocks-millions-of-local-laws-across-america/

Blake Davidson. "AI-Powered Database Unlocks Millions of Local Laws Across America." Scienmag, 5 October 2026, https://scienmag.com/ai-powered-database-unlocks-millions-of-local-laws-across-america/. Accessed 5 October 2026.

Blake Davidson. "AI-Powered Database Unlocks Millions of Local Laws Across America." Scienmag. October 5, 2026. https://scienmag.com/ai-powered-database-unlocks-millions-of-local-laws-across-america/

Tags: AI-driven local law understandingAI-powered municipal regulation analysisArtificial Intelligenceartificial intelligence in legal researchcity and county law comparison platformcivic knowledge and policy toolscommunity governance transparency toolsdigital governance data collectiongovernancelocal government legal datalocal lawslocal laws databaseMachine learningmunicipal lawmunicipal noise and zoning regulationsnatural language processingNeurIPSopen-access databaseopen-access ordinance repositoryoptical character recognitionordinancespublic access to local legal codesPublic PolicyUC Berkeley
Share26Tweet16
Previous Post

Half Agony, Half Hope: What One Medical Student Learned About Listening in Psychiatry

Next Post

Nurses Are Critical Infrastructure for Hospitals Facing Extreme Heat, Experts Argue

Related Posts

Quantum-Inspired AI Reads Malware Like a Language to Catch Evolving Threats
Technology and Engineering

Quantum-Inspired AI Reads Malware Like a Language to Catch Evolving Threats

October 5, 2026
Laser Scans Turned Into 3D Models in Under a Minute to Track Cracking Concrete Beams
Technology and Engineering

Laser Scans Turned Into 3D Models in Under a Minute to Track Cracking Concrete Beams

October 5, 2026
A Hundred AI Assistants, But Where Are the Great Scientific Works?
Technology and Engineering

A Hundred AI Assistants, But Where Are the Great Scientific Works?

October 5, 2026
New AI Model Spots Tiny Drones Hiding in Cluttered Skies
Technology and Engineering

New AI Model Spots Tiny Drones Hiding in Cluttered Skies

October 5, 2026
AI Takes on Lymphoma: How Machine Learning Is Rewriting Blood Cancer Diagnosis
Technology and Engineering

AI Takes on Lymphoma: How Machine Learning Is Rewriting Blood Cancer Diagnosis

October 5, 2026
AI Learns to Prove Itself: Verified Deep Learning for Injury Detection
Technology and Engineering

AI Learns to Prove Itself: Verified Deep Learning for Injury Detection

October 5, 2026
Next Post
Nurses Are Critical Infrastructure for Hospitals Facing Extreme Heat, Experts Argue

Nurses Are Critical Infrastructure for Hospitals Facing Extreme Heat, Experts Argue

  • Mothers who receive childcare support from maternal grandparents show more optimized

    Mothers who receive childcare support from maternal grandparents show more parental warmth, finds NTU Singapore study

    27656 shares
    Share 11059 Tweet 6912
  • University of Seville Breaks 120-Year-Old Mystery, Revises a Key Einstein Concept

    1061 shares
    Share 424 Tweet 265
  • Bee body mass, pathogens and local climate influence heat tolerance

    682 shares
    Share 273 Tweet 171
  • Researchers record first-ever images and data of a shark experiencing a boat strike

    546 shares
    Share 218 Tweet 137
  • Groundbreaking Clinical Trial Reveals Lubiprostone Enhances Kidney Function

    531 shares
    Share 212 Tweet 133
Science

Embark on a thrilling journey of discovery with Scienmag.com—your ultimate source for cutting-edge breakthroughs. Immerse yourself in a world where curiosity knows no limits and tomorrow’s possibilities become today’s reality!

RECENT NEWS

  • The Hidden Toxicity in Our Clothes: Why Synthetic Textile Dyes Refuse to Break Down
  • Quantum-Inspired AI Reads Malware Like a Language to Catch Evolving Threats
  • Nurses Are Critical Infrastructure for Hospitals Facing Extreme Heat, Experts Argue
  • AI-Powered Database Unlocks Millions of Local Laws Across America

Categories

  • Agriculture
  • Anthropology
  • Archaeology
  • Athmospheric
  • Biology
  • Biotechnology
  • Blog
  • Bussines
  • Cancer
  • Chemistry
  • Climate
  • Earth Science
  • Editorial Policy
  • Marine
  • Mathematics
  • Medicine
  • Pediatry
  • Policy
  • Psychology & Psychiatry
  • Science Education
  • Social Science
  • Space
  • Technology and Engineering

Subscribe to Blog via Email

Enter your email address to subscribe to this blog and receive notifications of new posts by email.

Join 5,150 other subscribers

© 2025 Scienmag - Science Magazine

Welcome Back!

Login to your account below

Forgotten Password?

Retrieve your password

Please enter your username or email address to reset your password.

Log In
No Result
View All Result
  • HOME
  • SCIENCE NEWS
  • CONTACT US

© 2025 Scienmag - Science Magazine

Discover more from Science

Subscribe now to keep reading and get access to the full archive.

Continue reading