For nearly two decades, the Pew Research Center has maintained the gold standard for tracking how governments and societies around the world restrict the free exercise of religion. Spanning 198 countries and territories, this massive undertaking relies on a rigorous, manual methodology that has remained largely unchanged since 2007. However, as generative artificial intelligence (AI) has moved from a novelty to a ubiquitous research tool, the Center recently sought to determine if these new technologies could streamline their exhaustive coding process.
The conclusion of a year-long investigation into AI-assisted research is as sobering as it is instructive: While AI shows promise in summarization, it currently fails to meet the high standards of accuracy, reliability, and longitudinal consistency required for high-stakes social science research.
The Problem: The High Cost of Precision
Every year, a specialized team of five trained coders embarks on a four-month odyssey through thousands of pages of source documents. These include national constitutions, U.S. government reports, United Nations findings, and documentation from NGOs like Human Rights Watch. The objective is to answer over 30 granular questions from the project’s codebook—such as whether a country’s constitution guarantees religious freedom, whether government harassment of minority faiths is increasing, or if non-state actors like mobs are actively targeting religious groups.
The process is purposefully binary: Two coders review each "case" (a specific event or policy) independently. They must then reconcile any disagreements to ensure the data is airtight. These findings are ultimately synthesized into the Government Restrictions Index (GRI) and the Social Hostilities Index (SHI).
The bottleneck is the "combing" phase—the time-intensive effort of scouring documents to find relevant data points. The Center hypothesized that if AI could handle the search and retrieval, human coders could focus solely on the analytical judgment.
Chronology of the Experiments
To test this, the research team conducted two distinct workflow experiments using commercially available, "source-grounded" AI tools—technologies designed to answer questions based only on provided text and cite their sources.
Phase I: NotebookLM (December 2024 – February 2025)
Researchers deployed Google’s NotebookLM to process the 2021 dataset, which had already been finalized by human coders. The goal was to see if the AI could replicate the findings for five countries with varying levels of religious restriction (Germany, Iceland, Jamaica, Nigeria, and Singapore). They further tested the tool on specific incident counts for volatile regions like China, Saudi Arabia, and India.
Phase II: Nexis+ AI (July 2025 – August 2025)
The second phase shifted to Nexis+ AI, using a subset of questions from 2020 and 2022 data. This experiment focused on more complex thematic issues, such as COVID-19-related religious restrictions. By using eight diverse countries—including Egypt, South Korea, and Nigeria—the team aimed to see if the AI could handle more nuanced, news-based queries that required parsing current events alongside static legal documents.
Supporting Data: Where AI Fell Short
The experiments yielded data that suggests AI is currently ill-equipped for the specific demands of longitudinal research. The failures were categorized into three primary areas:
1. The Completeness Gap
While the AI tools did not "hallucinate" or invent false information—a common concern with LLMs—they suffered from significant omissions. In a test case involving religious detentions in Nigeria, the AI identified four illustrative incidents. However, human coders, using the exact same source material, had previously identified 119 documented cases. The AI’s failure to aggregate totals across multiple documents rendered it unreliable for statistical reporting.
2. The Verification Trap
The researchers discovered a paradoxical outcome regarding time management. Because the AI frequently missed key details or relied heavily on superficial "executive summaries" of government reports, human coders were forced to perform a meticulous verification process. In the case of Singapore, it took a human roughly 4.5 hours to code the data manually. When using AI, the time required to verify the AI’s output ballooned to 10.5 hours. Instead of saving time, the technology created a "verification tax" that made the work more cumbersome.
3. Reliability and Consistency
For a longitudinal study—where researchers track changes from year to year—consistency is paramount. The team found that the AI tools were highly sensitive to minute changes in prompt phrasing. Furthermore, identical queries run on different days often yielded different results. This variability is a fatal flaw for a study that relies on precise, year-over-year comparative data.
Official Responses and Methodology
The team at Pew Research Center has been transparent about the limitations of their findings. The research team, led by staff including Vivian Jacobs and Aisha Nayla, noted that the AI’s tendency to cite "circular" sources was a significant hurdle. For instance, because Pew’s own research is widely cited in news media, the AI often surfaced Pew’s own previous reports as "new" evidence, sometimes failing to filter out these self-referential sources even when explicitly instructed to do so.
Furthermore, the database limitations of tools like Nexis+ AI, which relies heavily on English-language reporting, introduced a Western-centric bias. The tools often missed critical local-language reports that are essential for a truly global, representative index.
Implications for Future Research
The failure of these tools to replace human coders does not mean the end of AI in social science. Instead, it marks a pivot toward more specialized, narrow applications.
Shifting Roles
Pew researchers concluded that while AI is currently incapable of replacing the coder, it is highly effective as a "research assistant." The team identified two primary, future-facing applications:
- Contextual Summarization: AI can provide excellent, high-level summaries of a country’s religious landscape, which can serve as a "briefing" for human coders before they begin their deep-dive work.
- The "Second Coder" Model: The Center is exploring whether AI could serve as a "second coder" to flag potential issues or to provide a baseline that a human must then agree with or correct. This would effectively replace the second human in the current "two-coder" verification system.
The Human-in-the-Loop Imperative
The broader implication of this experiment is the reaffirmation of the "human-in-the-loop" necessity. In fields where data integrity is the bedrock of policy, public understanding, and international advocacy, there is no shortcut for the cognitive nuance of a trained professional.
The complexity of human social behavior—and the often-opaque nature of government restrictions—requires more than just pattern recognition. It requires the ability to interpret intent, understand historical context, and distinguish between a genuine policy shift and a mere change in news cycle focus.
Conclusion
As AI tools evolve, the Pew Research Center intends to continue its rigorous testing, potentially revisiting these technologies as they become more sophisticated. However, the message from the 2024-2025 experiments is clear: at least for the current generation of generative AI, the machine is an apprentice, not an architect. The pursuit of objective truth regarding human rights requires a depth of engagement that, for now, remains exclusively human.
For those who rely on the Center’s data to advocate for religious freedom globally, this news serves as a reminder of the immense effort involved in maintaining transparency. The "black box" of AI is currently too opaque for the high-stakes, transparent, and reproducible research that Pew Research Center has championed for nearly two decades. The project continues, but it will do so, for the foreseeable future, the old-fashioned way: one document, one case, and one human decision at a time.
