<?xml version="1.0" encoding="utf-8"?>
<!DOCTYPE article PUBLIC "-//NLM//DTD JATS (Z39.96) Journal Publishing DTD v1.1d3 20150301//EN" "http://jats.nlm.nih.gov/publishing/1.1d3/JATS-journalpublishing1.dtd">
<article article-type="research-article" dtd-version="1.1d3" xml:lang="en" xmlns:mml="http://www.w3.org/1998/Math/MathML" xmlns:xlink="http://www.w3.org/1999/xlink">
<front>
<journal-meta>
<journal-id journal-id-type="nlm-ta">PLOS Clim</journal-id>
<journal-id journal-id-type="publisher-id">plos</journal-id>
<journal-id journal-id-type="pmc">plosclimate</journal-id>
<journal-title-group>
<journal-title>PLOS Climate</journal-title>
</journal-title-group>
<issn pub-type="epub">2767-3200</issn>
<publisher>
<publisher-name>Public Library of Science</publisher-name>
<publisher-loc>San Francisco, CA USA</publisher-loc>
</publisher>
</journal-meta>
<article-meta>
<article-id pub-id-type="doi">10.1371/journal.pclm.0000429</article-id>
<article-id pub-id-type="publisher-id">PCLM-D-24-00031</article-id>
<article-categories>
<subj-group subj-group-type="heading">
<subject>Research Article</subject>
</subj-group>
<subj-group subj-group-type="Discipline-v3">
<subject>Earth sciences</subject><subj-group><subject>Atmospheric science</subject><subj-group><subject>Climatology</subject><subj-group><subject>Climate change</subject><subj-group><subject>Global warming</subject></subj-group></subj-group></subj-group></subj-group></subj-group><subj-group subj-group-type="Discipline-v3">
<subject>Research and analysis methods</subject><subj-group><subject>Research design</subject><subj-group><subject>Survey research</subject><subj-group><subject>Surveys</subject></subj-group></subj-group></subj-group></subj-group><subj-group subj-group-type="Discipline-v3">
<subject>Biology and life sciences</subject><subj-group><subject>Psychology</subject><subj-group><subject>Psychological attitudes</subject></subj-group></subj-group></subj-group><subj-group subj-group-type="Discipline-v3">
<subject>Social sciences</subject><subj-group><subject>Psychology</subject><subj-group><subject>Psychological attitudes</subject></subj-group></subj-group></subj-group><subj-group subj-group-type="Discipline-v3">
<subject>Physical sciences</subject><subj-group><subject>Mathematics</subject><subj-group><subject>Applied mathematics</subject><subj-group><subject>Algorithms</subject></subj-group></subj-group></subj-group></subj-group><subj-group subj-group-type="Discipline-v3">
<subject>Research and analysis methods</subject><subj-group><subject>Simulation and modeling</subject><subj-group><subject>Algorithms</subject></subj-group></subj-group></subj-group><subj-group subj-group-type="Discipline-v3">
<subject>Biology and life sciences</subject><subj-group><subject>Psychology</subject><subj-group><subject>Behavior</subject><subj-group><subject>Conditioned response</subject></subj-group></subj-group></subj-group></subj-group><subj-group subj-group-type="Discipline-v3">
<subject>Social sciences</subject><subj-group><subject>Psychology</subject><subj-group><subject>Behavior</subject><subj-group><subject>Conditioned response</subject></subj-group></subj-group></subj-group></subj-group><subj-group subj-group-type="Discipline-v3">
<subject>Social sciences</subject></subj-group><subj-group subj-group-type="Discipline-v3">
<subject>Social sciences</subject><subj-group><subject>Political science</subject><subj-group><subject>Governments</subject><subj-group><subject>Political parties</subject></subj-group></subj-group></subj-group></subj-group><subj-group subj-group-type="Discipline-v3">
<subject>Research and analysis methods</subject><subj-group><subject>Research design</subject><subj-group><subject>Survey research</subject></subj-group></subj-group></subj-group></article-categories>
<title-group>
<article-title>Can large language models estimate public opinion about global warming? An empirical assessment of algorithmic fidelity and bias</article-title>
<alt-title alt-title-type="running-head">Can large language models capture public opinion about global warming?</alt-title>
</title-group>
<contrib-group>
<contrib contrib-type="author" xlink:type="simple">
<contrib-id authenticated="true" contrib-id-type="orcid">https://orcid.org/0000-0001-9204-0867</contrib-id>
<name name-style="western">
<surname>Lee</surname>
<given-names>Sanguk</given-names>
</name>
<role content-type="http://credit.niso.org/contributor-roles/conceptualization/">Conceptualization</role>
<role content-type="http://credit.niso.org/contributor-roles/formal-analysis/">Formal analysis</role>
<role content-type="http://credit.niso.org/contributor-roles/investigation/">Investigation</role>
<role content-type="http://credit.niso.org/contributor-roles/methodology/">Methodology</role>
<role content-type="http://credit.niso.org/contributor-roles/writing-original-draft/">Writing – original draft</role>
<role content-type="http://credit.niso.org/contributor-roles/writing-review-editing/">Writing – review &amp; editing</role>
<xref ref-type="aff" rid="aff001"><sup>1</sup></xref>
</contrib>
<contrib contrib-type="author" corresp="yes" xlink:type="simple">
<contrib-id authenticated="true" contrib-id-type="orcid">https://orcid.org/0000-0002-2588-7491</contrib-id>
<name name-style="western">
<surname>Peng</surname>
<given-names>Tai-Quan</given-names>
</name>
<role content-type="http://credit.niso.org/contributor-roles/conceptualization/">Conceptualization</role>
<role content-type="http://credit.niso.org/contributor-roles/formal-analysis/">Formal analysis</role>
<role content-type="http://credit.niso.org/contributor-roles/investigation/">Investigation</role>
<role content-type="http://credit.niso.org/contributor-roles/resources/">Resources</role>
<role content-type="http://credit.niso.org/contributor-roles/supervision/">Supervision</role>
<role content-type="http://credit.niso.org/contributor-roles/writing-review-editing/">Writing – review &amp; editing</role>
<xref ref-type="aff" rid="aff002"><sup>2</sup></xref>
<xref ref-type="corresp" rid="cor001">*</xref>
</contrib>
<contrib contrib-type="author" xlink:type="simple">
<name name-style="western">
<surname>Goldberg</surname>
<given-names>Matthew H.</given-names>
</name>
<role content-type="http://credit.niso.org/contributor-roles/writing-review-editing/">Writing – review &amp; editing</role>
<xref ref-type="aff" rid="aff001"><sup>1</sup></xref>
</contrib>
<contrib contrib-type="author" xlink:type="simple">
<name name-style="western">
<surname>Rosenthal</surname>
<given-names>Seth A.</given-names>
</name>
<role content-type="http://credit.niso.org/contributor-roles/resources/">Resources</role>
<role content-type="http://credit.niso.org/contributor-roles/writing-review-editing/">Writing – review &amp; editing</role>
<xref ref-type="aff" rid="aff001"><sup>1</sup></xref>
</contrib>
<contrib contrib-type="author" xlink:type="simple">
<contrib-id authenticated="true" contrib-id-type="orcid">https://orcid.org/0000-0003-4789-1384</contrib-id>
<name name-style="western">
<surname>Kotcher</surname>
<given-names>John E.</given-names>
</name>
<role content-type="http://credit.niso.org/contributor-roles/resources/">Resources</role>
<role content-type="http://credit.niso.org/contributor-roles/writing-review-editing/">Writing – review &amp; editing</role>
<xref ref-type="aff" rid="aff003"><sup>3</sup></xref>
</contrib>
<contrib contrib-type="author" xlink:type="simple">
<contrib-id authenticated="true" contrib-id-type="orcid">https://orcid.org/0000-0003-3409-9187</contrib-id>
<name name-style="western">
<surname>Maibach</surname>
<given-names>Edward W.</given-names>
</name>
<role content-type="http://credit.niso.org/contributor-roles/resources/">Resources</role>
<role content-type="http://credit.niso.org/contributor-roles/writing-review-editing/">Writing – review &amp; editing</role>
<xref ref-type="aff" rid="aff003"><sup>3</sup></xref>
</contrib>
<contrib contrib-type="author" xlink:type="simple">
<name name-style="western">
<surname>Leiserowitz</surname>
<given-names>Anthony</given-names>
</name>
<role content-type="http://credit.niso.org/contributor-roles/resources/">Resources</role>
<role content-type="http://credit.niso.org/contributor-roles/writing-review-editing/">Writing – review &amp; editing</role>
<xref ref-type="aff" rid="aff001"><sup>1</sup></xref>
</contrib>
</contrib-group>
<aff id="aff001"><label>1</label> <addr-line>Yale Program on Climate Change Communication, Yale University, New Haven, Connecticut, United States of America</addr-line></aff>
<aff id="aff002"><label>2</label> <addr-line>Department of Communication, Michigan State University, East Lansing, Michigan, United States of America</addr-line></aff>
<aff id="aff003"><label>3</label> <addr-line>Center for Climate Change Communication, George Mason University, Fairfax, Virginia, United States of America</addr-line></aff>
<contrib-group>
<contrib contrib-type="editor" xlink:type="simple">
<name name-style="western">
<surname>Hsueh</surname>
<given-names>Lily</given-names>
</name>
<role>Editor</role>
<xref ref-type="aff" rid="edit1"/>
</contrib>
</contrib-group>
<aff id="edit1"><addr-line>Arizona State University, UNITED STATES OF AMERICA</addr-line></aff>
<author-notes>
<fn fn-type="conflict" id="coi001">
<p>The authors have declared that no competing interests exist.</p>
</fn>
<corresp id="cor001">* E-mail: <email xlink:type="simple">winsonpeng@gmail.com</email></corresp>
</author-notes>
<pub-date pub-type="epub">
<day>7</day>
<month>8</month>
<year>2024</year>
</pub-date>
<pub-date pub-type="collection">
<year>2024</year>
</pub-date>
<volume>3</volume>
<issue>8</issue>
<elocation-id>e0000429</elocation-id>
<history>
<date date-type="received">
<day>22</day>
<month>2</month>
<year>2024</year>
</date>
<date date-type="accepted">
<day>28</day>
<month>6</month>
<year>2024</year>
</date>
</history>
<permissions>
<copyright-year>2024</copyright-year>
<copyright-holder>Lee et al</copyright-holder>
<license xlink:href="http://creativecommons.org/licenses/by/4.0/" xlink:type="simple">
<license-p>This is an open access article distributed under the terms of the <ext-link ext-link-type="uri" xlink:href="http://creativecommons.org/licenses/by/4.0/" xlink:type="simple">Creative Commons Attribution License</ext-link>, which permits unrestricted use, distribution, and reproduction in any medium, provided the original author and source are credited.</license-p>
</license>
</permissions>
<self-uri content-type="pdf" xlink:href="info:doi/10.1371/journal.pclm.0000429"/>
<abstract>
<p>Large language models (LLMs) can be used to estimate human attitudes and behavior, including measures of public opinion, a concept referred to as algorithmic fidelity. This study assesses the algorithmic fidelity and bias of LLMs in estimating public opinion about global warming. LLMs were conditioned on demographics and/or psychological covariates to simulate survey responses. Findings indicate that LLMs can effectively reproduce presidential voting behaviors but not global warming opinions unless the issue relevant covariates are included. When conditioned on both demographic and covariates, GPT-4 demonstrates improved accuracy, ranging from 53% to 91%, in predicting beliefs and attitudes about global warming. Additionally, we find an algorithmic bias that underestimates the global warming opinions of Black Americans. While highlighting the potential of LLMs to aid social science research, these results underscore the importance of conditioning, model selection, survey question format, and bias assessment when employing LLMs for survey simulation.</p>
</abstract>
<funding-group>
<funding-statement>The author(s) received no specific funding for this work.</funding-statement>
</funding-group>
<counts>
<fig-count count="4"/>
<table-count count="1"/>
<page-count count="14"/>
</counts>
<custom-meta-group>
<custom-meta id="data-availability">
<meta-name>Data Availability</meta-name>
<meta-value>All data used in this study are publicly available on OSF (<ext-link ext-link-type="uri" xlink:href="https://osf.io/w36gn/" xlink:type="simple">https://osf.io/w36gn/</ext-link>).</meta-value>
</custom-meta>
</custom-meta-group>
</article-meta>
</front>
<body>
<sec id="sec001" sec-type="intro">
<title>Introduction</title>
<p>Public opinion on global warming influences policy-making decisions [<xref ref-type="bibr" rid="pclm.0000429.ref001">1</xref>] and public behavior [<xref ref-type="bibr" rid="pclm.0000429.ref002">2</xref>]. Scholars and policymakers typically use representative surveys to measure and understand public opinion [<xref ref-type="bibr" rid="pclm.0000429.ref003">3</xref>]. While surveys are essential tools for understanding public opinion about global warming, their resource-intensive nature often limits the depth and inclusivity of analysis, potentially resulting in biases toward majority views and neglecting minority perspectives. Moreover, the scarcity of resources makes it challenging to encompass all practically significant variables in a single survey, limiting our grasp of the connections among diverse factors influencing public opinions on global warming.</p>
<p>Large Language Models (LLMs) like GPT have the potential to complement traditional survey methods by simulating survey responses with fewer resources and augmenting data from underrepresented sub-populations. Moreover, unlike conventional predictive methods, such as regression models that depend solely on numeric data, LLMs excel in integrating semantic information (e.g., semantic information in a survey question). This unique ability is particularly advantageous in generating responses for untested global warming survey questions, thereby potentially complementing public opinion datasets [<xref ref-type="bibr" rid="pclm.0000429.ref004">4</xref>]. However, these potentials of LLMs hinge upon their ability to accurately estimate public opinion on global warming. As an initial assessment, this study investigates the extent to which LLMs can accurately emulate and reflect multiple dimensions of public opinion about global warming.</p>
<p>LLMs have demonstrated significant potential for contributing to social science research. A recent development lies in their capacity to accurately replicate the perceptions, viewpoints, and behavior of the general population or specific subgroups, termed <italic>algorithmic fidelity</italic> [<xref ref-type="bibr" rid="pclm.0000429.ref005">5</xref>]. Algorithmic fidelity refers to the extent to which LLMs’ intricate web of connections among ideas, attitudes, and sociocultural contexts accurately reflects those found in various human subgroups [<xref ref-type="bibr" rid="pclm.0000429.ref005">5</xref>]. By training on an extensive corpus of human-generated data that includes human perceptions and behaviors, LLMs may possess the capability to simulate diverse facets of public opinion.</p>
<p>Recent studies have yielded promising results. For instance, Argyle and colleagues found strikingly high correlations in voting behaviors during presidential elections between human samples and <italic>silicon samples</italic> derived from LLMs [<xref ref-type="bibr" rid="pclm.0000429.ref005">5</xref>]. Silicon samples refer to samples synthesized by LLMs conditioned to thousands of sociodemographic backstories sourced from real human participants in surveys [<xref ref-type="bibr" rid="pclm.0000429.ref005">5</xref>]. Similarly, Hwang and colleagues found that LLMs were able to accurately reflect public opinions on diverse political issues, including gun control, gender perspectives, economic inequality, trust in science, and so forth [<xref ref-type="bibr" rid="pclm.0000429.ref006">6</xref>]. However, the majority of these studies have focused on the political domain, particularly presidential elections and support for political issues.</p>
<p>It remains uncertain whether LLMs can accurately represent public beliefs and attitudes about other important social issues, such as global warming. Global warming perceptions differ from political opinions in that, while both are subjective, climate change itself is grounded in scientific fact. Given this distinction, LLMs might perform differently when predicting public perspectives on global warming. LLMs are engineered to prioritize factual correctness through extensive training and alignment processes [<xref ref-type="bibr" rid="pclm.0000429.ref007">7</xref>]. This focus on correctness could limit LLMs’ ability to reflect the varied and sometimes erroneous human perspectives on global warming.</p>
<p>Algorithmic fidelity in Large Language Models (LLMs) is influenced by input conditioning and model choice. Accurately reflecting public opinion on global warming requires LLMs to be conditioned with detailed demographics and specific covariates to gain a more accurate perspective of individuals. Research shows that LLMs’ predictive accuracy improves when they incorporate past opinion data, as well as demographics and ideology [<xref ref-type="bibr" rid="pclm.0000429.ref006">6</xref>]. Additionally, different LLM versions, like GPT-3.5 and GPT-4, vary in their algorithmic fidelity [<xref ref-type="bibr" rid="pclm.0000429.ref007">7</xref>–<xref ref-type="bibr" rid="pclm.0000429.ref009">9</xref>]. Building on these studies, we assess algorithmic fidelity under different conditions and models. Specifically, we compare LLMs conditioned solely on demographics with LLMs conditioned on both demographics and issue-related covariates. For the sake of simplicity, we categorize political ideology and party affiliation as demographic variables. Furthermore, we examine the algorithmic fidelity of distinct LLM versions: GPT-3.5 and GPT-4.</p>
<p>Public perceptions of global warming are complex. They include, for example, beliefs about global warming, understanding of its causes, worry about the issue, policy support, behavior, and more. To gain deeper insights into how well LLMs represent diverse psychological aspects of global warming, we assess the evaluation metrics (e.g., accuracy, F1) and distribution of LLM predictions against nationally representative survey responses. A strong performance shown by evaluation metrics indicates robust algorithmic fidelity, leading to closely matching distributions between silicon and survey samples. The study draws on nationally representative climate change survey data collected in 2017 and 2021 as benchmarks for evaluating the algorithmic fidelity of LLMs.</p>
</sec>
<sec id="sec002" sec-type="materials|methods">
<title>Methods</title>
<sec id="sec003">
<title>Survey sampling</title>
<p>Two nationally representative survey datasets were collected in October 2017 (<italic>N</italic> = 1,304) and September 2021 (<italic>N</italic> = 1,006). In these surveys, participants were asked to answer multiple questions related to global warming. These surveys were conducted under an exemption granted by the Institutional Review Board (IRB) of Yale University (IRB Protocol ID: 2000031972). Subsets of de-identified datasets were accessed for the purpose of this research on September 18, 2023. For each survey, the researchers obtained a distinct sample from the Ipsos KnowledgePanel, comprising U.S. adults aged 18 and over. This panel, which mirrors the U.S. population, was assembled using probability sampling methods. Panel members were recruited using various techniques, such as random digit dialing and address-based sampling, covering nearly all residential phone numbers and addresses in the U.S. Participants completed the survey forms online. Those without internet access were provided with computers and internet connectivity. Upon joining the Ipsos panel, members are informed that participation in every survey is voluntary, and that all data are collected and shared with clients in an anonymous format. Additionally, at the start of the survey, participants were notified that certain questions will pertain to their political opinions, offering them the option to withdraw if they so choose.</p>
</sec>
<sec id="sec004">
<title>Silicon sample data collection</title>
<p>To generate silicon sample datasets, we used two versions of GPT (GPT-3.5 vs. GPT-4) and two sets of conditional inputs (demographics only vs. demographics and issue-related covariates). Specifically, silicon samples were generated using GPT-3.5-turbo-16k and GPT-4 through the OpenAI API, setting the temperature at 0.70 based on a prior study [<xref ref-type="bibr" rid="pclm.0000429.ref005">5</xref>]. For models conditioned solely on demographics, we fed demographic information, such as race/ethnicity, gender, age, political ideology, political party affiliation, education, and residential state, into the models via prompts. Meanwhile, for the models conditioned on both demographics and covariates, additional covariates such as issue involvement in global warming, interpersonal discussions about the topic, and awareness of the scientific consensus, were included along with demographics. These covariates were selected because they appear commonly in both waves of the survey and served as important covariates in previous studies [<xref ref-type="bibr" rid="pclm.0000429.ref010">10</xref>–<xref ref-type="bibr" rid="pclm.0000429.ref013">13</xref>].</p>
<p>We utilized an interview format adapted from Argyle et al. [<xref ref-type="bibr" rid="pclm.0000429.ref005">5</xref>] for our prompts (prompt examples are available in Tables A and B in <xref ref-type="supplementary-material" rid="pclm.0000429.s001">S1 Text</xref>). At the system level, GPTs were instructed to act as an interviewee, guided by the directive: “You are an interviewee. Based on your previous answers, respond to the last question.” Subsequently, the simulated interview began. To establish a clear timeline of survey, the first prompt was phrased as: “Interviewer: What is the current year and month of this interview? Me: October 2017.” For the 2021 survey, "September 2021" was typed in. After setting the timeline, "Me" responses leading up to the final question were provided using actual survey data. For instance, regarding race/ethnicity, the prompt was framed as: “Interviewer: I am going to read you a list of five race categories. What race do you consider yourself to be? ’White, Non-Hispanic’, ’Black, Non-Hispanic’, ’2+ Races, Non-Hispanic’, ’Hispanic’, or ’Other, Non-Hispanic.’ Me: {race from survey response}.”</p>
<p>The final question is the target, for which GPTs supply an answer. For instance, regarding global warming beliefs with a binary answer option, it was phrased as, “Interviewer: What do you think: Do you think that global warming is happening? Would you say ’Yes’, or ’No’?” For other target questions about global warming, we provided comprehensive answer options that matched the survey. For global warming belief with multiple response options, the target question was phrased as, “Interviewer: What do you think: Do you think that global warming is happening? Would you say ’Yes’, ’No’, ’Don’t know’, or ’Refused’ to answer?” For the causation of global warming, the target question was phrased as, “Interviewer: Assuming global warming is happening, do you think it is ’Caused mostly by natural changes in the environment’, ’Caused mostly by human activities’, ’Caused by both human activities and natural changes’, ’Neither because global warming isn’t happening’, ’Other (Please specify)’, ’Don’t know’, or ’Refused’ to answer?” For global warming worry, the target question was, phrased as “Interviewer: How worried are you about global warming? Would you say you are ’Not at all worried’, ’Not very worried’, ’Somewhat worried’, ’Very worried’, or ’Refused’ to answer?”</p>
<p>Occasionally, GPTs generated answers that did not precisely match the listed options. We manually corrected these hallucinations. For instance, instead of a straightforward ‘Yes,’ GPT might produce, ‘Yes, I believe global warming is happening.’ Such responses were recoded to align with the intended options. Any deviations were easily identifiable and adjusted to fit within the given answer choices.</p>
</sec>
<sec id="sec005">
<title>Survey measurements</title>
<sec id="sec006">
<title>Target variables</title>
<p><italic>Global warming belief</italic>. To measure belief in global warming, we provided a brief definition of global warming: “Global warming refers to the idea that the world’s average temperature has been increasing over the past 150 years, may be increasing more in the future,” and then asked “Do you believe that global warming is happening?” with three response options: “No,” “Don’t know,” and “Yes.”</p>
<p><italic>Global warming cause</italic>. We used a recoded version of the survey question. Originally, the survey asked: “Assuming global warming is happening, do you think it is…” with five answer options: “Caused mostly by human activities,” “Caused mostly by natural changes in the environment,” “None of the above because global warming isn’t happening,” “Other (Please specify),” “Refused.” This measure was then recoded to incorporate open-ended responses, expanding the original five answer choices to seven categories: “Caused mostly by human activities,” “Caused mostly by natural changes in the environment,” “Caused by human activities and natural changes,” “Neither because global warming isn’t happening,” “Don’t know,” “Other (Please specify),” and “Refused.” This recoded version was used in the LLM prompt.</p>
<p><italic>Global warming worry</italic>. This was measured with a question asking “How worried are you about global warming?” with four response options: “Not at all worried,” “Not very worried,” “Somewhat worried,” and “Very worried.”</p>
</sec>
<sec id="sec007">
<title>Demographics</title>
<p>Demographic details such as race, ethnicity, gender, age, education, and residential state were provided by Ipsos, based on answers provided when enrolling panel members. Race and ethnicity used five categories: “White, Non-Hispanic,” “Black, Non-Hispanic,” “Other, Non-Hispanic,” “Hispanic,” and “2+ Races, Non-Hispanic.” Gender included two categories: “Male,” and “Female.” Age was segmented into four groups: “18–29,” “30–44,” “45–59,” and “66+.” Education was segmented into four categories: “Less than high school,” “High school,” “Some college,” “Bachelor’s degree or higher.” Residential state includes 50 states and the District of Columbia of the U.S.</p>
<p><italic>Political ideology</italic>. This was measured with a question asking “In general, do you think of yourself as…” with six response options: “Very liberal,” “Somewhat liberal,”, “Moderate, middle of the road,” “Somewhat conservative,” “Very conservative.”</p>
<p><italic>Political party</italic>. We employed a two-step method to gauge political party. First, participants were asked to identify themselves as “Republican,” “Democrat,” “Independent,” “Other,” or “No party/Not interested in politics.” Those who chose “Independent” or “Other” were then asked a second question: whether they were more aligned with the “Republican party,” “Democratic party,” or “Neither.” If participants initially identified as Republican or Democrat, or if they leaned towards one of these parties in the secondary question, they were categorized accordingly. Those who answered “Independent” in the first question or “Neither” in the second question were categorized into “Independent/Other.” Participants who responded with “No party/Not interested in politics” were categorized into “No party/Not interested.”</p>
</sec>
<sec id="sec008">
<title>Global warming covariates</title>
<p><italic>Issue involvement in global warming</italic>. This was measured with a question asking “How important is the issue of global warming to you personally?” with six response options: “Not at all important,” “Not too important,” “Somewhat important,” “Very important,” “Extremely important,” and “Refused.”</p>
<p><italic>Interpersonal discussion about global warming</italic>. This was measured with a question asking “How often do you discuss global warming with your family and friends?” with five response options: “Never”, “Rarely”, “Occasionally”, “Often,” and “Refused.”</p>
<p><italic>Awareness of scientific consensus</italic>. This was measured with a question asking “Which comes closest to your own view?” with five response options: “Most scientists think global warming is not happening”, “There is a lot of disagreement among scientists about whether or not global warming is happening”, “Most scientists think global warming is happening,” “Don’t know enough to say,” and “Refused.”</p>
</sec>
<sec id="sec009">
<title>Pilot test</title>
<p>As a pilot test, we assessed LLMs’ algorithmic fidelity in predicting presidential election voting behaviors to replicate a prior study [<xref ref-type="bibr" rid="pclm.0000429.ref005">5</xref>]. We conducted this replication using our own dataset to explore the extent to which algorithmic fidelity is generalizable across different datasets. Our results largely confirm that LLMs, when conditioned on individual demographics, can replicate voting behaviors effectively. The detailed information about the pilot test is presented in <xref ref-type="supplementary-material" rid="pclm.0000429.s001">S1 Text</xref>. Fig A and Table C in <xref ref-type="supplementary-material" rid="pclm.0000429.s001">S1 Text</xref> provides the results of the pilot test.</p>
</sec>
</sec>
</sec>
<sec id="sec010" sec-type="results">
<title>Results</title>
<sec id="sec011">
<title>Algorithmic fidelity of global warming belief: From binary choice to polynomial choice</title>
<p>We investigated whether LLMs demonstrate a high level of algorithmic fidelity for beliefs in global warming. As an initial examination, we limited our sample to respondents who answered either "Yes" or "No" to the question of whether global warming is happening and constrained GPT models to these binary responses. The average accuracy of GPTs across the models, conditions, and years was 85% (<italic>SD</italic> = 3.41), which suggests that GPTs predict the publics’ belief that global warming is happening with high accuracy.</p>
<p>Accuracy, while an intuitive measure of correct predictions, can be misleading in datasets with skewed distributions, such as our data on belief that global warming is happening. For example, if a majority of survey participants respond with "Yes" and GPTs predict all cases as "Yes," they can still appear highly accurate. To address this issue, we use an additional evaluation metric called a F1 score. A F1 score accounts for both precision (i.e., the proportion of correct positive predictions among all predictions labeled as positive) and recall (i.e., the proportion of actual positive cases that are correctly identified by the model), providing a balanced evaluation of data that is unevenly distributed. We assessed the models using a F1 score and a Macro-Average F1 score (MAF1) which averages F1 scores across answer options.</p>
<p>When conditioned only on demographics, GPT models showed compromised prediction accuracy, with high F1 scores for "Yes" predictions (F1 range: .91-.92) but low or non-existent F1 scores for "No" predictions (F1 range: NA-.08). Interestingly, these models seem to assume a universal belief in global warming, an assumption that does not accurately reflect the diversity of real-world viewpoints in the U.S. To enhance the algorithmic fidelity of LLMs, we introduced additional covariates relevant to global warming, such as issue involvement, interpersonal discussion about global warming, and awareness of the scientific consensus about global warming. When GPT-4 was conditioned on both demographics and these additional covariates, its MAF1 improved from .49 to .82 in the 2017 survey and from unavailable to .85 in 2021. Similarly, under the same conditionings, GPT-3.5’s MAF1 increased from unavailable to .53 in 2017 and to .65 in 2021.</p>
<p>We then evaluated the effects of adding a third response option, "Don’t know," instead of limiting GPTs to a simple "Yes/No" decision, mirroring the approach commonly used in public opinion surveys. The introduction of an additional response option decreased the accuracy of both GPTs. The average accuracy across models, conditions, and years dropped to 75% (<italic>SD</italic> = 3.70), lower than in binary scenarios. GPTs conditioned only on demographics failed to generate "No" or "Don’t know" responses, resulting in nonexistent F1 scores for these categories. GPTs conditioned on both demographics and covariates showed improved performance. Nevertheless, GPT-4 had more difficulty with "Don’t Know" (2017 F1: .16; 2021 F1: .20) than "No" (2017 F1: .58; 2021 F1: .60). GPT-3.5 performed poorly with both "No" (2017 F1: .24; 2021 F1: .21) and "Don’t Know" (2017 F1: .32; 2021 F1: .34).</p>
<p><xref ref-type="fig" rid="pclm.0000429.g001">Fig 1</xref> displays the response distributions from survey participants and silicon samples regarding their belief that global warming is happening, with two (upper panel) and three (lower panel) response choices. Similar to the binary version, models that were conditioned solely on demographics with three answer choices overestimated the proportion of individuals who believe global warming is happening, compared to the actual survey results. When GPTs were conditioned on both demographics and global warming covariates, response distributions aligned more with the survey data. The evaluation metrics for binary and multiple choice are available in Tables D and E in <xref ref-type="supplementary-material" rid="pclm.0000429.s001">S1 Text</xref>, respectively.</p>
<fig id="pclm.0000429.g001" position="float">
<object-id pub-id-type="doi">10.1371/journal.pclm.0000429.g001</object-id>
<label>Fig 1</label>
<caption>
<title>Belief that global warming is happening: Distributional comparison of survey and silicon samples.</title>
<p><italic>Note</italic>: “Demo Only” represents GPTs are conditioned solely on demographics and “Demo + Cov” represents GPTs are conditioned on demographics and covariates.</p>
</caption>
<graphic mimetype="image" position="float" xlink:href="info:doi/10.1371/journal.pclm.0000429.g001" xlink:type="simple"/>
</fig>
</sec>
<sec id="sec012">
<title>Algorithmic fidelity of global warming cause</title>
<p>We then evaluated GPT models’ responses regarding the causes of global warming against survey participant answers. The survey provided the options “Human,” “Nature,” “Both,” “Global warming isn’t happening,” among others (labels simplified here, full details in the Methods section). These options were replicated in our prompts. The average accuracy across GPT models, conditions, and years was 51% (<italic>SD</italic> = 7.42). MAF1 scores were not available, as models failed to produce F1 scores for some answer options, preventing MAF1 calculation.</p>
<p><xref ref-type="fig" rid="pclm.0000429.g002">Fig 2</xref> compares response distributions from the survey and silicon samples regarding global warming causation. Notably, GPT-4, conditioned only on demographics, greatly overestimates the number of individuals attributing global warming to human activities compared to GPT-3.5 under the same conditions. This was unexpected, considering GPT-4’s general superiority in cognitive tasks. However, adding covariates to demographic conditioning aligns the response distribution more closely with the survey data. The evaluation metrics are available in Table F in <xref ref-type="supplementary-material" rid="pclm.0000429.s001">S1 Text</xref>.</p>
<fig id="pclm.0000429.g002" position="float">
<object-id pub-id-type="doi">10.1371/journal.pclm.0000429.g002</object-id>
<label>Fig 2</label>
<caption>
<title>Global warming cause: Distributional comparison of survey and silicon samples.</title>
<p><italic>Note</italic>: “Demo Only” represents GPTs are conditioned solely on demographics and “Demo + Cov” represents GPTs are conditioned on demographics and covariates.</p>
</caption>
<graphic mimetype="image" position="float" xlink:href="info:doi/10.1371/journal.pclm.0000429.g002" xlink:type="simple"/>
</fig>
</sec>
<sec id="sec013">
<title>Algorithmic fidelity of global warming worry: From categorical answers to ordinal assessment</title>
<p>In the final phase, we asked the GPT models about their estimated level of worry about global warming. In the survey, this question was structured as an ordinal variable with four distinct categories: "Very Worried," "Somewhat Worried," "Not Very Worried," and "Not At All Worried." We incorporated this ordinal scale in the prompts provided to the GPT models. The average accuracy across models, conditions, and years was 48% (<italic>SD</italic> = 13.02). GPT-4, conditioned only on demographics, matched survey data poorly (2017 MAF1 = .22, 2021 MAF1 = .22). GPT-3.5 with the same conditioning failed to produce any responses for "Not very worried" and "Not at all worried," rendering MAF1 unavailable for both years. Adding additional covariates to demographics improved fidelity, with GPT-4 outperforming GPT-3.5 (2017 MAF1 = .65 and .47; 2021 MAF1 = .54 and .50, respectively).</p>
<p><xref ref-type="fig" rid="pclm.0000429.g003">Fig 3</xref> illustrates how the interplay between conditions and model version impacts algorithmic fidelity. Both GPT-4 and GPT-3.5, when conditioned only on demographics, overestimated the number of individuals worried about global warming. Consistent with earlier findings, GPT-4’s estimations were more extreme compared to GPT-3.5, particularly in overrepresenting those "very worried" about global warming. However, GPT-4 conditioned on both demographics and covariates displayed a response distribution more closely aligned with survey data than the similarly conditioned GPT-3.5. The evaluation metrics are available in Table G in <xref ref-type="supplementary-material" rid="pclm.0000429.s001">S1 Text</xref>. Fig B and Table H in <xref ref-type="supplementary-material" rid="pclm.0000429.s001">S1 Text</xref> summarizes the assessment of overall distributions between survey and silicon samples across models and survey items based on Kullback-Leibler Divergence (KLD).</p>
<fig id="pclm.0000429.g003" position="float">
<object-id pub-id-type="doi">10.1371/journal.pclm.0000429.g003</object-id>
<label>Fig 3</label>
<caption>
<title>Global warming worry: Distributional comparison of survey and silicon samples.</title>
<p><italic>Note</italic>: “Demo Only” represents GPTs are conditioned solely on demographics and “Demo + Cov” represents GPTs are conditioned on demographics and covariates.</p>
</caption>
<graphic mimetype="image" position="float" xlink:href="info:doi/10.1371/journal.pclm.0000429.g003" xlink:type="simple"/>
</fig>
</sec>
<sec id="sec014">
<title>Algorithmic bias assessment across sub-populations</title>
<p>Here we examine how GPT models represent beliefs that global warming is happening across different sub-populations. The focus was on high-fidelity models in which GPT-4 conditioned on both demographics and covariates for binary beliefs about global warming.</p>
<p><xref ref-type="table" rid="pclm.0000429.t001">Table 1</xref> details the accuracy and MAF1 results. Interpretations were based on MAF1, where a score below 0.70 is typically considered inadequate. The overarching findings indicate that GPT-4 accurately predicted belief that global warming is happening among diverse sub-populations. However, certain sub-populations were less accurate. GPT-4 was less precise in predicting Non-Hispanic Blacks’ belief that global warming is happening in both 2017 (MAF1 = .62) and 2021 (MAF1 = .60). Further analysis reveals that GPT-4 underestimated Non-Hispanic Blacks believing that global warming is happening. GPT-4 also underrepresented Non-Hispanic Others’ belief in global warming in 2021 (MAF1 = .64), although this requires further investigation due to the limited sample size and heterogeneity of the results within the subgroup. Table I in <xref ref-type="supplementary-material" rid="pclm.0000429.s001">S1 Text</xref> includes the assessment of algorithmic bias for presidential election voting behaviors. Individual F1 scores for each answer option for presidential election and global warming belief (binary choice) across sub-populations are available in Table J in <xref ref-type="supplementary-material" rid="pclm.0000429.s001">S1 Text</xref>. Moreover, Accuracy and MAF1 scores for global warming belief (multiple choice), cause, and worry across sub-populations are available in Table K in <xref ref-type="supplementary-material" rid="pclm.0000429.s001">S1 Text</xref>.</p>
<table-wrap id="pclm.0000429.t001" position="float">
<object-id pub-id-type="doi">10.1371/journal.pclm.0000429.t001</object-id>
<label>Table 1</label> <caption><title>Accuracy and MAF1 of GPTs for global warming belief across sub-populations.</title></caption>
<alternatives>
<graphic id="pclm.0000429.t001g" mimetype="image" position="float" xlink:href="info:doi/10.1371/journal.pclm.0000429.t001" xlink:type="simple"/>
<table>
<colgroup>
<col align="left" valign="middle"/>
<col align="left" valign="middle"/>
<col align="left" valign="middle"/>
<col align="left" valign="middle"/>
<col align="left" valign="middle"/>
</colgroup>
<thead>
<tr>
<th align="left" rowspan="2"/>
<th align="center" colspan="2">GW Belief</th>
<th align="center" colspan="2">GW Belief</th>
</tr>
<tr>
<th align="center" colspan="2">2017 GPT-4 Demo + Cov</th>
<th align="center" colspan="2">2021 GPT-4 Demo + Cov</th>
</tr>
<tr>
<th align="center">Variables</th>
<th align="center">Acc</th>
<th align="center">MAF1</th>
<th align="center">Acc</th>
<th align="center">MAF1</th>
</tr>
</thead>
<tbody>
<tr>
<td align="left">Race/ethnicity</td>
<td align="left"/>
<td align="left"/>
<td align="left"/>
<td align="left"/>
</tr>
<tr>
<td align="left">    2+ Races, Non-Hispanic</td>
<td align="center" rowspan="3">.94</td>
<td align="center" rowspan="3">.86</td>
<td align="center" rowspan="3">1.00</td>
<td align="center" rowspan="3">1.00</td>
</tr>
<tr>
<td align="left">    2017 <italic>n</italic> = 32</td>
</tr>
<tr>
<td align="left">    2021 <italic>n</italic> = 18</td>
</tr>
<tr>
<td align="left">    Black, Non-Hispanic</td>
<td align="center" rowspan="3">.90</td>
<td align="center" rowspan="3"><bold>.62</bold></td>
<td align="center" rowspan="3">.92</td>
<td align="center" rowspan="3"><bold>.60</bold></td>
</tr>
<tr>
<td align="left">    2017 <italic>n</italic> = 104</td>
</tr>
<tr>
<td align="left">    2021 <italic>n</italic> = 73</td>
</tr>
<tr>
<td align="left">    Hispanic</td>
<td align="center" rowspan="3">.90</td>
<td align="center" rowspan="3">.77</td>
<td align="center" rowspan="3">.92</td>
<td align="center" rowspan="3">.82</td>
</tr>
<tr>
<td align="left">    2017 <italic>n</italic> = 132</td>
</tr>
<tr>
<td align="left">    2021 <italic>n</italic> = 101</td>
</tr>
<tr>
<td align="left">    Other, Non-Hispanic</td>
<td align="center" rowspan="3">.96</td>
<td align="center" rowspan="3">.91</td>
<td align="center" rowspan="3">.89</td>
<td align="center" rowspan="3"><bold>.64</bold></td>
</tr>
<tr>
<td align="left">    2017 <italic>n</italic> = 51</td>
</tr>
<tr>
<td align="left">    2021 <italic>n</italic> = 38</td>
</tr>
<tr>
<td align="left">    White, Non-Hispanic</td>
<td align="center" rowspan="3">.88</td>
<td align="center" rowspan="3">.82</td>
<td align="center" rowspan="3">.90</td>
<td align="center" rowspan="3">.86</td>
</tr>
<tr>
<td align="left">    2017 <italic>n</italic> = 786</td>
</tr>
<tr>
<td align="left">    2021 <italic>n</italic> = 669</td>
</tr>
<tr>
<td align="left">Gender</td>
<td align="center"/>
<td align="center"/>
<td align="center"/>
<td align="center"/>
</tr>
<tr>
<td align="left">    Female</td>
<td align="center" rowspan="3">.89</td>
<td align="center" rowspan="3">.80</td>
<td align="center" rowspan="3">.92</td>
<td align="center" rowspan="3">.85</td>
</tr>
<tr>
<td align="left">    2017 <italic>n</italic> = 568</td>
</tr>
<tr>
<td align="left">    2021 <italic>n</italic> = 454</td>
</tr>
<tr>
<td align="left">    Male</td>
<td align="center" rowspan="5">.89</td>
<td align="center" rowspan="5">.84</td>
<td align="center" rowspan="5">.90</td>
<td align="center" rowspan="5">.85</td>
</tr>
<tr>
<td align="left">    2017 EL <italic>n</italic> = 431</td>
</tr>
<tr>
<td align="left">    2021 EL <italic>n</italic> = 401</td>
</tr>
<tr>
<td align="left">    2017 <italic>n</italic> = 537</td>
</tr>
<tr>
<td align="left">    2021 <italic>n</italic> = 445</td>
</tr>
<tr>
<td align="left">Age</td>
<td align="center"/>
<td align="center"/>
<td align="center"/>
<td align="center"/>
</tr>
<tr>
<td align="left">    18–29</td>
<td align="center" rowspan="3">.91</td>
<td align="center" rowspan="3">.85</td>
<td align="center" rowspan="3">.89</td>
<td align="center" rowspan="3">.72</td>
</tr>
<tr>
<td align="left">    2017 <italic>n</italic> = 145</td>
</tr>
<tr>
<td align="left">    2021 <italic>n</italic> = 113</td>
</tr>
<tr>
<td align="left">    30–44</td>
<td align="center" rowspan="3">.88</td>
<td align="center" rowspan="3">.78</td>
<td align="center" rowspan="3">.94</td>
<td align="center" rowspan="3">.87</td>
</tr>
<tr>
<td align="left">    2017 <italic>n</italic> = 243</td>
</tr>
<tr>
<td align="left">    2021 <italic>n</italic> = 171</td>
</tr>
<tr>
<td align="left">    45–59</td>
<td align="center" rowspan="3">.88</td>
<td align="center" rowspan="3">.78</td>
<td align="center" rowspan="3">.89</td>
<td align="center" rowspan="3">.84</td>
</tr>
<tr>
<td align="left">    2017 <italic>n</italic> = 299</td>
</tr>
<tr>
<td align="left">    2021 <italic>n</italic> = 230</td>
</tr>
<tr>
<td align="left">    60+</td>
<td align="center" rowspan="3">.89</td>
<td align="center" rowspan="3">.85</td>
<td align="center" rowspan="3">.91</td>
<td align="center" rowspan="3">.87</td>
</tr>
<tr>
<td align="left">    2017 <italic>n</italic> = 418</td>
</tr>
<tr>
<td align="left">    2021 <italic>n</italic> = 385</td>
</tr>
<tr>
<td align="left">Political ideology</td>
<td align="center"/>
<td align="center"/>
<td align="center"/>
<td align="center"/>
</tr>
<tr>
<td align="left">    Moderate, middle of the road</td>
<td align="center" rowspan="3">.90</td>
<td align="center" rowspan="3">.74</td>
<td align="center" rowspan="3">.93</td>
<td align="center" rowspan="3">.82</td>
</tr>
<tr>
<td align="left">    2017 <italic>n</italic> = 424</td>
</tr>
<tr>
<td align="left">    2021 <italic>n</italic> = 380</td>
</tr>
<tr>
<td align="left">    Somewhat conservative</td>
<td align="center" rowspan="3">.81</td>
<td align="center" rowspan="3">.80</td>
<td align="center" rowspan="3">.81</td>
<td align="center" rowspan="3">.80</td>
</tr>
<tr>
<td align="left">    2017 <italic>n</italic> = 206</td>
</tr>
<tr>
<td align="left">    2021 <italic>n</italic> = 165</td>
</tr>
<tr>
<td align="left">    Somewhat liberal</td>
<td align="center" rowspan="3">.96</td>
<td align="center" rowspan="3"><bold>.68</bold></td>
<td align="center" rowspan="3">.98</td>
<td align="center" rowspan="3">.83</td>
</tr>
<tr>
<td align="left">    2017 <italic>n</italic> = 262</td>
</tr>
<tr>
<td align="left">    2021 <italic>n</italic> = 168</td>
</tr>
<tr>
<td align="left">    Very conservative</td>
<td align="center" rowspan="3">.76</td>
<td align="center" rowspan="3">.72</td>
<td align="center" rowspan="3">.83</td>
<td align="center" rowspan="3">.82</td>
</tr>
<tr>
<td align="left">    2017 <italic>n</italic> = 99</td>
</tr>
<tr>
<td align="left">    2021 <italic>n</italic> = 84</td>
</tr>
<tr>
<td align="left">    Very liberal</td>
<td align="center" rowspan="3">.97</td>
<td align="center" rowspan="3">.78</td>
<td align="center" rowspan="3">.98</td>
<td align="center" rowspan="3">-</td>
</tr>
<tr>
<td align="left">    2017 <italic>n</italic> = 104</td>
</tr>
<tr>
<td align="left">    2021 <italic>n</italic> = 88</td>
</tr>
<tr>
<td align="left">Political party</td>
<td align="center"/>
<td align="center"/>
<td align="center"/>
<td align="center"/>
</tr>
<tr>
<td align="left">    Democrats</td>
<td align="center" rowspan="3">.96</td>
<td align="center" rowspan="3"><bold>.62</bold></td>
<td align="center" rowspan="3">.97</td>
<td align="center" rowspan="3">.74</td>
</tr>
<tr>
<td align="left">    2017 <italic>n</italic> = 535</td>
</tr>
<tr>
<td align="left">    2021 <italic>n</italic> = 423</td>
</tr>
<tr>
<td align="left">    Independent/Other</td>
<td align="center" rowspan="3">.89</td>
<td align="center" rowspan="3">.84</td>
<td align="center" rowspan="3">.91</td>
<td align="center" rowspan="3">.84</td>
</tr>
<tr>
<td align="left">    2017 <italic>n</italic> = 108</td>
</tr>
<tr>
<td align="left">    2021 <italic>n</italic> = 96</td>
</tr>
<tr>
<td align="left">    No party/Not interested</td>
<td align="center" rowspan="3">.81</td>
<td align="center" rowspan="3">.73</td>
<td align="center" rowspan="3">.84</td>
<td align="center" rowspan="3">.78</td>
</tr>
<tr>
<td align="left">    2017 <italic>n</italic> = 105</td>
</tr>
<tr>
<td align="left">    2021 <italic>n</italic> = 50</td>
</tr>
<tr>
<td align="left">    Republicans</td>
<td align="center" rowspan="3">.81</td>
<td align="center" rowspan="3">.81</td>
<td align="center" rowspan="3">.83</td>
<td align="center" rowspan="3">.83</td>
</tr>
<tr>
<td align="left">    2017 <italic>n</italic> = 354</td>
</tr>
<tr>
<td align="left">    2021 <italic>n</italic> = 321</td>
</tr>
<tr>
<td align="left">Education</td>
<td align="center"/>
<td align="center"/>
<td align="center"/>
<td align="center"/>
</tr>
<tr>
<td align="left">    Bachelor’s degree or higher</td>
<td align="center" rowspan="3">.92</td>
<td align="center" rowspan="3">.84</td>
<td align="center" rowspan="3">.93</td>
<td align="center" rowspan="3">.86</td>
</tr>
<tr>
<td align="left">    2017 <italic>n</italic> = 440</td>
</tr>
<tr>
<td align="left">    2021 <italic>n</italic> = 358</td>
</tr>
<tr>
<td align="left">    High school</td>
<td align="center" rowspan="3">.86</td>
<td align="center" rowspan="3">.81</td>
<td align="center" rowspan="3">.88</td>
<td align="center" rowspan="3">.83</td>
</tr>
<tr>
<td align="left">    2017 <italic>n</italic> = 272</td>
</tr>
<tr>
<td align="left">    2021 <italic>n</italic> = 226</td>
</tr>
<tr>
<td align="left">    Less than high school</td>
<td align="center" rowspan="3">.88</td>
<td align="center" rowspan="3">.74</td>
<td align="center" rowspan="3">.98</td>
<td align="center" rowspan="3">.96</td>
</tr>
<tr>
<td align="left">    2017 <italic>n</italic> = 64</td>
</tr>
<tr>
<td align="left">    2021 <italic>n</italic> = 42</td>
</tr>
<tr>
<td align="left">    Some college</td>
<td align="center" rowspan="3">.88</td>
<td align="center" rowspan="3">.82</td>
<td align="center" rowspan="3">.89</td>
<td align="center" rowspan="3">.84</td>
</tr>
<tr>
<td align="left">    2017 <italic>n</italic> = 329</td>
</tr>
<tr>
<td align="left">    2021 <italic>n</italic> = 273</td>
</tr>
</tbody>
</table>
</alternatives>
</table-wrap>
</sec>
<sec id="sec015">
<title>Correlational pattern correspondence assessment</title>
<p>GPT-generated responses “reflect underlying patterns of relationships between ideas, demographics, and behavior that would be observed in comparable human-produced data [<xref ref-type="bibr" rid="pclm.0000429.ref005">5</xref>].” Accordingly, we investigated how GPT outputs correspond with correlations of demographics and covariates with the target variables in the survey data. We used Cramer’s V to measure association strength. <xref ref-type="fig" rid="pclm.0000429.g004">Fig 4</xref> illustrates Cramer’s V values between variables for both surveys and GPT models. GPT-4, conditioned on demographics and covariates, most closely matched survey data in association patterns. This is evidenced by the smallest difference in Cramer’s V between the model and survey across demographic variables (To calculate the average difference in Cramer’s V, we only consider Cramer’s V values associated with demographic variables. Cramer’s V values associated with global warming covariates are excluded from this calculation because they are not consistently available across all models. Including them could potentially lead to an unfair comparison between models.) and years (mean Cramer’s V difference (hereafter, <italic>diff</italic>) = .04, <italic>SD</italic> = .05). It was followed by GPT-3.5 with the same conditioning (<italic>diff</italic> = .09, <italic>SD</italic> = .12), GPT-3.5 with only demographics (<italic>diff</italic> = .10, <italic>SD</italic> = .09), and GPT-4 with only demographics (<italic>diff</italic> = .11, <italic>SD</italic> = .11). Not surprisingly, global warming covariates tend to be more strongly correlated than demographics with the target variables. Models accounting for these covariates display better performance that models without them, indicating that integrating relevant background information is essential to achieve a high level of algorithmic fidelity.</p>
<fig id="pclm.0000429.g004" position="float">
<object-id pub-id-type="doi">10.1371/journal.pclm.0000429.g004</object-id>
<label>Fig 4</label>
<caption>
<title>Cramer’s V correlations in survey vs. GPTs.</title>
<p>Note: Cramer’s V could not be estimated for some models because there was no variation in the outcome (e.g., GPT-3.5 with Demo Only for GW Belief).</p>
</caption>
<graphic mimetype="image" position="float" xlink:href="info:doi/10.1371/journal.pclm.0000429.g004" xlink:type="simple"/>
</fig>
</sec>
</sec>
<sec id="sec016" sec-type="conclusions">
<title>Discussion</title>
<p>This research investigates the algorithmic fidelity and bias of Large Language Models (LLMs) by simulating public opinion about global warming and comparing the synthesized data with survey data. Built on prior research investigating algorithmic fidelity in the political realm [<xref ref-type="bibr" rid="pclm.0000429.ref005">5</xref>], we extend our analysis to the topic of global warming. The overall findings reveal that LLMs exhibit promising capabilities in predicting public opinion about global warming. Nevertheless, our findings also identify several concerns about employing LLMs in global warming survey research.</p>
<p>Our study finds that incorporating issue-related covariates alongside demographics significantly enhances algorithmic fidelity in global warming research. LLMs conditioned with both are notably better at predicting individual beliefs about global warming than those using only demographic data. This improvement highlights LLMs’ ability to incorporate psychological factors, which are often more indicative of global warming beliefs than demographics alone [<xref ref-type="bibr" rid="pclm.0000429.ref011">11</xref>]. However, LLMs that rely solely on demographic information perform poorly even though demographic factors like age, education, and political views are known to be associated with global warming beliefs [<xref ref-type="bibr" rid="pclm.0000429.ref011">11</xref>].</p>
<p>The version of the LLM also influences its algorithmic fidelity. GPT-4, conditioned on demographics alone, tends to overestimate the belief that global warming is human-caused and worry about global warming, more so than GPT-3.5. This overestimation is reduced when both demographics and issue-related covariates are used, with GPT-4 then offering more accurate predictions and closer alignment with survey results. This indicates that GPT-4’s advanced training and alignment may both enhance and limit fidelity, especially for science-based subjects like global warming. GPT-4’s design, which includes a thorough alignment process, aims for improved accuracy over GPT 3.5 [<xref ref-type="bibr" rid="pclm.0000429.ref007">7</xref>]. With adequate data, such as covariates, GPT-4’s sophisticated integration can potentially produce more accurate estimations of individual opinions than its predecessor. However, in the absence of comprehensive data, GPT-4 may overly rely on scientifically aligned opinions that could diverge from actual views. While this notion is conceivable, it lacks robust empirical support, and ongoing research is essential to understand the factors that influence the differing responses of models developed through distinct processes.</p>
<p>It is also crucial to acknowledge that the lack of transparency from AI developers complicates our ability to understand what influences LLM responses, particularly under uncertainty (e.g., when using only demographics). It raises questions about whether massive training data favor certain attitudes toward climate change, or if the post-training adjustments guided by human feedback lack representativeness. To enhance the reliability of LLMs for social science research, transparency in LLM development is imperative.</p>
<p>Our research indicates a potential algorithmic bias in LLMs regarding certain sub-populations, echoing prior findings [<xref ref-type="bibr" rid="pclm.0000429.ref009">9</xref>]. LLMs, particularly those refined with human feedback, often reflect opinions more characteristic of liberal, higher-income, higher-educated, non-religious individuals, and those not adhering to religions such as Buddhism, Islam, or Hinduism [<xref ref-type="bibr" rid="pclm.0000429.ref009">9</xref>]. In our study, LLMs perform poorly in predicting beliefs about global warming of non-Hispanic Black Americans. This discrepancy is not explained by sample size, as accuracy remains higher for other racial and multi-racial groups with smaller samples. LLMs often reflect the biases inherent in their training data, which can lead to biased outputs. These biases are particularly pronounced when considering groups that are underrepresented in the data sets. The implications of such biases are not confined to any single nation but are of global concern, as the perspectives of individuals from developing or economically disadvantaged countries may be underrepresented. The root of this problem lies in the limited availability and use of diverse training data, as well as potential biases in the human feedback that guides LLMs’ learning processes. This situation emphasizes the need for a more inclusive approach in gathering data and curating feedback, ensuring a wider range of voices are heard and accurately reflected in the technology’s outcomes. Therefore, a thorough investigation of LLMs’ algorithmic biases, especially against marginalized groups and countries, is essential for ensuring fairness and accuracy across broader domains of social science research.</p>
<p>Our study offers actionable guidance for integrating LLMs into climate change research and other fields. We suggest researchers should condition LLMs with domain-specific variables related to global warming, such as public engagement and scientific agreement, to enhance their relevance and accuracy. Because of the multifaceted nature of global warming perceptions, the inclusion of a broader range of covariates might further sharpen the models’ precision for particular investigative goals. Additionally, our findings indicate that more sophisticated models like GPT-4 show greater fidelity than GPT-3.5 when equipped with potential covariates. Furthermore, reducing the scope of answer choices, particularly vague ones such as “Don’t know,” can potentially improve estimation accuracy. Although restricting answer options reduces LLMs’ applicability in social science research, it still holds significant value in streamlining exploratory data collection. For instance, in our study, we acquired data from 1,304 synthetic samples at a considerably lower cost (i.e., approximately $2.08 using GPT-3.5 and $20.86 using GPT-4 as of September 2023) and time reduction when compared with traditional survey techniques. This underscores LLMs’ cost-efficiency and speed. However, we do not argue that LLMs can replace traditional survey methods and empirical research. Conventional surveys are and will be an essential tool for assessing public opinion, where cost-effectiveness should not overshadow scientific rigor. Hence, we propose employing LLMs as a complementary instrument for preliminary investigations, survey design, outcome forecasting, and hypothesis generation. Meanwhile, established methods should be maintained for empirical studies to ensure the rigor of research findings.</p>
<p>Our research has limitations that suggest avenues for future exploration. First, we focused on closed-ended questions, overlooking the depth offered by open-ended questions. Open-ended responses could provide richer qualitative data, potentially increasing LLM algorithmic fidelity. Future studies should investigate the impact of incorporating open-ended question responses as conditional inputs on LLMs. Second, our research focuses on a narrow aspect concerning the impact of prompt format (e.g., the number of answer options) on algorithmic fidelity, leaving unexplored other facets of prompt structure that may affect fidelity, such as the order of response options [<xref ref-type="bibr" rid="pclm.0000429.ref014">14</xref>]. Other elements like a question sequence and the quantity and arrangement of target questions could also influence algorithmic fidelity. Understanding how these survey design elements affect both human and LLM responses needs more attention in future research.</p>
<p>In conclusion, this research provides valuable insights into the algorithmic fidelity and bias of LLMs in simulating public opinions regarding global warming. This study offers practical guidance on conditioning prompts and selecting models to maximize fidelity in social science applications while emphasizing the importance of validating LLMs, particularly for minority groups. A nuanced approach is required to harness the power of LLMs while addressing their limitations through proactive algorithm auditing and bias mitigation.</p>
</sec>
<sec id="sec017" sec-type="supplementary-material">
<title>Supporting information</title>
<supplementary-material id="pclm.0000429.s001" mimetype="application/vnd.openxmlformats-officedocument.wordprocessingml.document" position="float" xlink:href="info:doi/10.1371/journal.pclm.0000429.s001" xlink:type="simple">
<label>S1 Text</label>
<caption>
<title/>
<p>(DOCX)</p>
</caption>
</supplementary-material>
</sec>
</body>
<back>
<ref-list>
<title>References</title>
<ref id="pclm.0000429.ref001"><label>1</label><mixed-citation publication-type="journal" xlink:type="simple"><name name-style="western"><surname>Bromley-Trujillo</surname> <given-names>R</given-names></name>, <name name-style="western"><surname>Poe</surname> <given-names>J</given-names></name>. <article-title>The importance of salience: public opinion and state policy action on climate change.</article-title> <source>J Pub Pol</source>. <year>2020</year>;<volume>40</volume>: <fpage>280</fpage>–<lpage>304</lpage>. <comment>doi: <ext-link ext-link-type="uri" xlink:href="https://doi.org/10.1017/S0143814X18000375" xlink:type="simple">10.1017/S0143814X18000375</ext-link></comment></mixed-citation></ref>
<ref id="pclm.0000429.ref002"><label>2</label><mixed-citation publication-type="journal" xlink:type="simple"><name name-style="western"><surname>Doherty</surname> <given-names>KL</given-names></name>, <name name-style="western"><surname>Webler</surname> <given-names>TN</given-names></name>. <article-title>Social norms and efficacy beliefs drive the Alarmed segment’s public-sphere climate actions</article-title>. <source>Nature Clim Change</source>. <year>2016</year>;<volume>6</volume>: <fpage>879</fpage>–<lpage>884</lpage>. <comment>doi: <ext-link ext-link-type="uri" xlink:href="https://doi.org/10.1038/nclimate3025" xlink:type="simple">10.1038/nclimate3025</ext-link></comment></mixed-citation></ref>
<ref id="pclm.0000429.ref003"><label>3</label><mixed-citation publication-type="journal" xlink:type="simple"><name name-style="western"><surname>Berinsky</surname> <given-names>AJ</given-names></name>. <article-title>Measuring Public Opinion with Surveys.</article-title> <source>Annu Rev Polit Sci.</source> <year>2017</year>;<volume>20</volume>: <fpage>309</fpage>–<lpage>329</lpage>. <comment>doi: <ext-link ext-link-type="uri" xlink:href="https://doi.org/10.1146/annurev-polisci-101513-113724" xlink:type="simple">10.1146/annurev-polisci-101513-113724</ext-link></comment></mixed-citation></ref>
<ref id="pclm.0000429.ref004"><label>4</label><mixed-citation publication-type="journal" xlink:type="simple"><name name-style="western"><surname>Kim</surname> <given-names>J</given-names></name>, <name name-style="western"><surname>Lee</surname> <given-names>B</given-names></name>. <article-title>AI-Augmented Surveys: Leveraging Large Language Models and Surveys for Opinion Prediction.</article-title> <source>arXiv</source>; <year>2023</year>. Available: <ext-link ext-link-type="uri" xlink:href="http://arxiv.org/abs/2305.09620" xlink:type="simple">http://arxiv.org/abs/2305.09620</ext-link></mixed-citation></ref>
<ref id="pclm.0000429.ref005"><label>5</label><mixed-citation publication-type="journal" xlink:type="simple"><name name-style="western"><surname>Argyle</surname> <given-names>LP</given-names></name>, <name name-style="western"><surname>Busby</surname> <given-names>EC</given-names></name>, <name name-style="western"><surname>Fulda</surname> <given-names>N</given-names></name>, <name name-style="western"><surname>Gubler</surname> <given-names>JR</given-names></name>, <name name-style="western"><surname>Rytting</surname> <given-names>C</given-names></name>, <name name-style="western"><surname>Wingate</surname> <given-names>D</given-names></name>. <article-title>Out of One, Many: Using Language Models to Simulate Human Samples.</article-title> <source>Polit Anal.</source> <year>2023</year>;<volume>31</volume>: <fpage>337</fpage>–<lpage>351</lpage>. <comment>doi: <ext-link ext-link-type="uri" xlink:href="https://doi.org/10.1017/pan.2023.2" xlink:type="simple">10.1017/pan.2023.2</ext-link></comment></mixed-citation></ref>
<ref id="pclm.0000429.ref006"><label>6</label><mixed-citation publication-type="journal" xlink:type="simple"><name name-style="western"><surname>Hwang</surname> <given-names>E</given-names></name>, <name name-style="western"><surname>Majumder</surname> <given-names>BP</given-names></name>, <name name-style="western"><surname>Tandon</surname> <given-names>N</given-names></name>. <article-title>Aligning Language Models to User Opinions.</article-title> <source>arXiv</source>; <year>2023</year>. Available: <ext-link ext-link-type="uri" xlink:href="http://arxiv.org/abs/2305.14929" xlink:type="simple">http://arxiv.org/abs/2305.14929</ext-link></mixed-citation></ref>
<ref id="pclm.0000429.ref007"><label>7</label><mixed-citation publication-type="journal" xlink:type="simple"><name name-style="western"><surname>Aher</surname> <given-names>G</given-names></name>, <name name-style="western"><surname>Arriaga</surname> <given-names>RI</given-names></name>, <name name-style="western"><surname>Kalai</surname> <given-names>AT</given-names></name>. <source>Using large language models to simulate multiple humans and replicate human subject studies</source>. <year>2023</year>.</mixed-citation></ref>
<ref id="pclm.0000429.ref008"><label>8</label><mixed-citation publication-type="journal" xlink:type="simple"><collab>OpenAI</collab>. <source>GPT-4 Technical Report. arXiv</source>; <year>2023</year>. Available: <ext-link ext-link-type="uri" xlink:href="http://arxiv.org/abs/2303.08774" xlink:type="simple">http://arxiv.org/abs/2303.08774</ext-link></mixed-citation></ref>
<ref id="pclm.0000429.ref009"><label>9</label><mixed-citation publication-type="journal" xlink:type="simple"><name name-style="western"><surname>Santurkar</surname> <given-names>S</given-names></name>, <name name-style="western"><surname>Durmus</surname> <given-names>E</given-names></name>, <name name-style="western"><surname>Ladhak</surname> <given-names>F</given-names></name>, <name name-style="western"><surname>Lee</surname> <given-names>C</given-names></name>, <name name-style="western"><surname>Liang</surname> <given-names>P</given-names></name>, <name name-style="western"><surname>Hashimoto</surname> <given-names>T</given-names></name>. <article-title>Whose Opinions Do Language Models Reflect?</article-title> <source>arXiv</source>; <year>2023</year>. Available: <ext-link ext-link-type="uri" xlink:href="http://arxiv.org/abs/2303.17548" xlink:type="simple">http://arxiv.org/abs/2303.17548</ext-link></mixed-citation></ref>
<ref id="pclm.0000429.ref010"><label>10</label><mixed-citation publication-type="journal" xlink:type="simple"><name name-style="western"><surname>Goldberg</surname> <given-names>MH</given-names></name>, <name name-style="western"><surname>Van Der Linden</surname> <given-names>S</given-names></name>, <name name-style="western"><surname>Maibach</surname> <given-names>E</given-names></name>, <name name-style="western"><surname>Leiserowitz</surname> <given-names>A</given-names></name>. <article-title>Discussing global warming leads to greater acceptance of climate science</article-title>. <source>Proc Natl Acad Sci USA</source>. <year>2019</year>;<volume>116</volume>: <fpage>14804</fpage>–<lpage>14805</lpage>. <comment>doi: <ext-link ext-link-type="uri" xlink:href="https://doi.org/10.1073/pnas.1906589116" xlink:type="simple">10.1073/pnas.1906589116</ext-link></comment> <object-id pub-id-type="pmid">31285333</object-id></mixed-citation></ref>
<ref id="pclm.0000429.ref011"><label>11</label><mixed-citation publication-type="journal" xlink:type="simple"><name name-style="western"><surname>Hornsey</surname> <given-names>MJ</given-names></name>, <name name-style="western"><surname>Harris</surname> <given-names>EA</given-names></name>, <name name-style="western"><surname>Bain</surname> <given-names>PG</given-names></name>, <name name-style="western"><surname>Fielding</surname> <given-names>KS</given-names></name>. <article-title>Meta-analyses of the determinants and outcomes of belief in climate change</article-title>. <source>Nature Clim Change</source>. <year>2016</year>;<volume>6</volume>: <fpage>622</fpage>–<lpage>626</lpage>. <comment>doi: <ext-link ext-link-type="uri" xlink:href="https://doi.org/10.1038/nclimate2943" xlink:type="simple">10.1038/nclimate2943</ext-link></comment></mixed-citation></ref>
<ref id="pclm.0000429.ref012"><label>12</label><mixed-citation publication-type="journal" xlink:type="simple"><name name-style="western"><surname>Reser</surname> <given-names>JP</given-names></name>, <name name-style="western"><surname>Bradley</surname> <given-names>GL</given-names></name>. <article-title>The nature, significance, and influence of perceived personal experience of climate change.</article-title> <source>WIREs Climate Change.</source> <year>2020</year>;<volume>11</volume>: <fpage>e668</fpage>. <comment>doi: <ext-link ext-link-type="uri" xlink:href="https://doi.org/10.1002/wcc.668" xlink:type="simple">10.1002/wcc.668</ext-link></comment></mixed-citation></ref>
<ref id="pclm.0000429.ref013"><label>13</label><mixed-citation publication-type="journal" xlink:type="simple"><name name-style="western"><surname>van der Linden</surname> <given-names>S</given-names></name>, <name name-style="western"><surname>Leiserowitz</surname> <given-names>AA</given-names></name>, <name name-style="western"><surname>Feinberg</surname> <given-names>GD</given-names></name>, <name name-style="western"><surname>Maibach</surname> <given-names>EW</given-names></name>. <article-title>The scientific consensus on climate change as a gateway belief: Experimental evidence.</article-title> <source>PLOS ONE</source>. <year>2015</year>;<volume>10</volume>: <fpage>e0118489</fpage>. <comment>doi: <ext-link ext-link-type="uri" xlink:href="https://doi.org/10.1371/journal.pone.0118489" xlink:type="simple">10.1371/journal.pone.0118489</ext-link></comment> <object-id pub-id-type="pmid">25714347</object-id></mixed-citation></ref>
<ref id="pclm.0000429.ref014"><label>14</label><mixed-citation publication-type="journal" xlink:type="simple"><name name-style="western"><surname>Pezeshkpour</surname> <given-names>P</given-names></name>, <name name-style="western"><surname>Hruschka</surname> <given-names>E</given-names></name>. <article-title>Large Language Models Sensitivity to The Order of Options in Multiple-Choice Questions.</article-title> <source>arXiv</source>; <year>2023</year>. Available: <ext-link ext-link-type="uri" xlink:href="http://arxiv.org/abs/2308.11483" xlink:type="simple">http://arxiv.org/abs/2308.11483</ext-link></mixed-citation></ref>
</ref-list>
</back>
<sub-article article-type="aggregated-review-documents" id="pclm.0000429.r001" specific-use="decision-letter">
<front-stub>
<article-id pub-id-type="doi">10.1371/journal.pclm.0000429.r001</article-id>
<title-group>
<article-title>Decision Letter 0</article-title>
</title-group>
<contrib-group>
<contrib contrib-type="author">
<name name-style="western">
<surname>Hsueh</surname>
<given-names>Lily</given-names>
</name>
<role>Academic Editor</role>
</contrib>
</contrib-group>
<permissions>
<copyright-year>2024</copyright-year>
<copyright-holder>Lily Hsueh</copyright-holder>
<license xlink:href="http://creativecommons.org/licenses/by/4.0/">
<license-p>This is an open access article distributed under the terms of the <ext-link ext-link-type="uri" xlink:href="http://creativecommons.org/licenses/by/4.0/" xlink:type="simple">Creative Commons Attribution License</ext-link>, which permits unrestricted use, distribution, and reproduction in any medium, provided the original author and source are credited.</license-p>
</license>
</permissions>
<related-object document-id="10.1371/journal.pclm.0000429" document-id-type="doi" document-type="article" id="rel-obj001" link-type="peer-reviewed-article"/>
<custom-meta-group>
<custom-meta>
<meta-name>Submission Version</meta-name>
<meta-value>0</meta-value>
</custom-meta>
</custom-meta-group>
</front-stub>
<body>
<p>
<named-content content-type="letter-date">16 Apr 2024</named-content>
</p>
<p><!-- <span style="font-size:14px;"> --><!-- <span style="font-family:arial,helvetica,sans-serif;"> -->PCLM-D-24-00031</p>
<p>Can Large Language Models Capture Public Opinion about Global Warming? An Empirical Assessment of Algorithmic Fidelity and Bias</p>
<p>PLOS Climate</p>
<p>Dear Dr. Peng,</p>
<p>Thank you for submitting your manuscript to PLOS Climate. After careful consideration, we feel that it has merit but does not fully meet PLOS Climate’s publication criteria as it currently stands. Therefore, we invite you to submit a revised version of the manuscript that addresses the points raised during the review process.</p>
<p>Overall, the reviewers and I are enthusiastic about the potential contribution of this paper to climate science and social science in explicating the promises of LLMs in public opinion research and analysis. That said, there are opportunities for the authors to address constructive feedback from the reviewers. Please pay close attention to Reviewer #1's recommendation to provide a more thorough discussion of the risks/limitations and benefits, including how LLMs could be complementary (and supplementary) to traditional survey research. <!-- </span> --><!-- </span> --></p>
<p><!-- <span style="font-size:14px;"> --><!-- <span style="font-family:arial,helvetica,sans-serif;"> -->Along the same lines, Reviewer #2 urges the author to provide more discussion on why the models perform poorly in some cases. Reviewer #2 raises an important question about whether alignment processes between GPT-3.5 vs. GPT-4 reduce the ability of the models to replicate specific kinds of questions related to global warming. Moreover, I suggest that the authors take seriously Reviewer #2's constructive feedback on the need to explicate the differences between models that do and do not have attitudinal covariates. Reviewer #2 provide specific advice on how to do this more adequately. <!-- </span> --><!-- </span> --></p>
<p><!-- <span style="font-size:14px;"> --><!-- <span style="font-family:arial,helvetica,sans-serif;"> -->Please submit your revised manuscript by May 16 2024 11:59PM. If you will need more time than this to complete your revisions, please reply to this message or contact the journal office at <email xlink:type="simple">climate@plos.org</email>. When you're ready to submit your revision, log on to <ext-link ext-link-type="uri" xlink:href="https://www.editorialmanager.com/pclm/" xlink:type="simple">https://www.editorialmanager.com/pclm/</ext-link> and select the 'Submissions Needing Revision' folder to locate your manuscript file.</p>
<p>Please include the following items when submitting your revised manuscript:<!-- </span> --><!-- </span> --></p>
<p><list list-type="bullet"><list-item><p><!-- <span style="font-size:14px;"> --><!-- <span style="font-family:arial,helvetica,sans-serif;"> -->A rebuttal letter that responds to each point raised by the editor and reviewer(s). You should upload this letter as a separate file labeled 'Response to Reviewers'.<!-- </span> --><!-- </span> --></p></list-item><list-item><p><!-- <span style="font-size:14px;"> --><!-- <span style="font-family:arial,helvetica,sans-serif;"> -->A marked-up copy of your manuscript that highlights changes made to the original version. You should upload this as a separate file labeled 'Revised Manuscript with Track Changes'.<!-- </span> --><!-- </span> --></p></list-item><list-item><p><!-- <span style="font-size:14px;"> --><!-- <span style="font-family:arial,helvetica,sans-serif;"> -->An unmarked version of your revised paper without tracked changes. You should upload this as a separate file labeled 'Manuscript'.<!-- </span> --><!-- </span> --></p></list-item></list></p>
<p><!-- <span style="font-size:14px;"> --><!-- <span style="font-family:arial,helvetica,sans-serif;"> -->Guidelines for resubmitting your figure files are available below the reviewer comments at the end of this letter.</p>
<p>We look forward to receiving your revised manuscript.</p>
<p>Kind regards,</p>
<p>Lily Hsueh, Ph.D.<!-- </span> --><!-- </span> --></p>
<p><!-- <span style="font-size:14px;"> --><!-- <span style="font-family:arial,helvetica,sans-serif;"> -->Associate Professor, Arizona State University<!-- </span> --><!-- </span> --></p>
<p><!-- <span style="font-size:14px;"> --><!-- <span style="font-family:arial,helvetica,sans-serif;"> -->Academic Editor, PLOS Climate</p>
<p>Journal Requirements:</p>
<p>1. Please review your reference list to ensure that it is complete and correct. If you have cited papers that have been retracted, please include the rationale for doing so in the manuscript text, or remove these references and replace them with relevant current references. Any changes to the reference list should be mentioned in the rebuttal letter that accompanies your revised manuscript. If you need to cite a retracted article, indicate the article’s retracted status in the References list and also include a citation and full reference for the retraction notice.<!-- </span> --><!-- </span> --></p>
<p>2. Please note that PLOS Climate has specific guidelines on code sharing for submissions in which author-generated code underpins the findings in the manuscript. In these cases, all author-generated code must be made available without restrictions upon publication of the work. Please review our guidelines at <ext-link ext-link-type="uri" xlink:href="https://journals.plos.org/climate/s/materials-and-software-sharing#loc-sharing-code" xlink:type="simple">https://journals.plos.org/climate/s/materials-and-software-sharing#loc-sharing-code</ext-link> and ensure that your code is shared in a way that follows best practice and facilitates reproducibility and reuse.</p>
<p>3. Please upload all main figures as separate Figure files in .tif or .eps format only. For more information about how to convert and format your figure files please see our guidelines:</p>
<p><ext-link ext-link-type="uri" xlink:href="https://journals.plos.org/climate/s/figures" xlink:type="simple">https://journals.plos.org/climate/s/figures</ext-link></p>
<p><!-- <span style="font-size:14px;"> --><!-- <span style="font-family:arial,helvetica,sans-serif;"> -->Additional Editor Comments (if provided):</p>
<p>[Note: HTML markup is below. Please do not edit.]</p>
<p>Reviewers' comments:</p>
<p>Reviewer's Responses to Questions<!-- </span> --><!-- </span> --></p>
<p><!-- <span style="font-size:14px;"> --><!-- <span style="font-family:arial,helvetica,sans-serif;"> --><bold>Comments to the Author</bold></p>
<p>1. Does this manuscript meet PLOS Climate’s <ext-link ext-link-type="uri" xlink:href="https://journals.plos.org/climate/s/criteria-for-publication" xlink:type="simple">publication criteria</ext-link>? Is the manuscript technically sound, and do the data support the conclusions? The manuscript must describe methodologically and ethically rigorous research with conclusions that are appropriately drawn based on the data presented.<!-- </span> --><!-- </span> --></p>
<p><!-- <span style="font-size:14px;"> --><!-- <span style="font-family:arial,helvetica,sans-serif;"> -->Reviewer #1: Yes<!-- </span> --><!-- </span> --></p>
<p><!-- <span style="font-size:14px;"> --><!-- <span style="font-family:arial,helvetica,sans-serif;"> -->Reviewer #2: Yes<!-- </span> --><!-- </span> --></p>
<p>**********</p>
<p><!-- <span style="font-size:14px;"> --><!-- <span style="font-family:arial,helvetica,sans-serif;"> -->2. Has the statistical analysis been performed appropriately and rigorously?<!-- </span> --><!-- </span> --></p>
<p><!-- <span style="font-size:14px;"> --><!-- <span style="font-family:arial,helvetica,sans-serif;"> -->Reviewer #1: Yes<!-- </span> --><!-- </span> --></p>
<p><!-- <span style="font-size:14px;"> --><!-- <span style="font-family:arial,helvetica,sans-serif;"> -->Reviewer #2: Yes<!-- </span> --><!-- </span> --></p>
<p>**********</p>
<p><!-- <span style="font-size:14px;"> --><!-- <span style="font-family:arial,helvetica,sans-serif;"> -->3. Have the authors made all data underlying the findings in their manuscript fully available (please refer to the Data Availability Statement at the start of the manuscript PDF file)?</p>
<p>The <ext-link ext-link-type="uri" xlink:href="https://journals.plos.org/climate/s/data-availability" xlink:type="simple">PLOS Data policy</ext-link> requires authors to make all data underlying the findings described in their manuscript fully available without restriction, with rare exception. The data should be provided as part of the manuscript or its supporting information, or deposited to a public repository. For example, in addition to summary statistics, the data points behind means, medians and variance measures should be available. If there are restrictions on publicly sharing data—e.g. participant privacy or use of data from a third party—those must be specified.<!-- </span> --><!-- </span> --></p>
<p><!-- <span style="font-size:14px;"> --><!-- <span style="font-family:arial,helvetica,sans-serif;"> -->Reviewer #1: Yes<!-- </span> --><!-- </span> --></p>
<p><!-- <span style="font-size:14px;"> --><!-- <span style="font-family:arial,helvetica,sans-serif;"> -->Reviewer #2: Yes<!-- </span> --><!-- </span> --></p>
<p>**********</p>
<p><!-- <span style="font-size:14px;"> --><!-- <span style="font-family:arial,helvetica,sans-serif;"> -->4. Is the manuscript presented in an intelligible fashion and written in standard English?</p>
<p>PLOS Climate does not copyedit accepted manuscripts, so the language in submitted articles must be clear, correct, and unambiguous. Any typographical or grammatical errors should be corrected at revision, so please note any specific errors here.<!-- </span> --><!-- </span> --></p>
<p><!-- <span style="font-size:14px;"> --><!-- <span style="font-family:arial,helvetica,sans-serif;"> -->Reviewer #1: Yes<!-- </span> --><!-- </span> --></p>
<p><!-- <span style="font-size:14px;"> --><!-- <span style="font-family:arial,helvetica,sans-serif;"> -->Reviewer #2: Yes<!-- </span> --><!-- </span> --></p>
<p>**********</p>
<p><!-- <span style="font-size:14px;"> --><!-- <span style="font-family:arial,helvetica,sans-serif;"> -->5. Review Comments to the Author</p>
<p>Please use the space provided to explain your answers to the questions above. You may also include additional comments for the author, including concerns about dual publication, research ethics, or publication ethics. (Please upload your review as an attachment if it exceeds 20,000 characters)<!-- </span> --><!-- </span> --></p>
<p><!-- <span style="font-size:14px;"> --><!-- <span style="font-family:arial,helvetica,sans-serif;"> -->Reviewer #1: I would like to express my congratulations on your engaging and important paper concerning the suitability of utilizing large language models (LLMs) for assessing public opinion on climate change. Your study stands out for its meticulous execution and methodological robustness, contributing valuable insights to the field.</p>
<p>However, I would like to encourage the authors to provide a more in-depth critique of the potential risks and rewards inherent in employing LLMs for simulating public opinion. For instance, your findings reveal that GPT-4 exhibits an accuracy, from 53% to 91%, in mirroring beliefs and emotional responses concerning global warming. It is noteworthy that for certain demographic segments, this accuracy diminishes significantly. Despite the anticipation that future advancements in LLMs might enhance accuracy, the intrinsic biases present in LLMs training data and human feedback are likely to perpetuate skewed and unreliable outcomes, particularly for groups that are underrepresented in the training datasets or overlooked during model refinement through human feedback.</p>
<p>The concern extends to the representation of global perspectives, particularly from lower-income and developing nations, which may not be adequately captured due to limited training data and skewed human feedback. This situation echoes the limitations sometimes encountered in high-quality survey research, which, despite rigorous and replicable methodological approaches, may not fully capture public opinion. Considering that even high-quality survey-based methods encounter such difficulties, the accuracy metrics presented in your study underscore the potential for unrealistic conclusions derived from LLM-based simulations of public opinion.</p>
<p>I concur with your conclusion that LLMs hold promise for exploratory hypothesis generation, the design, and pre-testing of survey-and field-based research. Moreover, LLMs could potentially be useful as a supplementary data source or for validating findings in conjunction with traditional data gathering methods like surveys. Nevertheless, I harbor reservations regarding their utility in confirmatory empirical research, given the substantial risk that researchers and practitioners may increasingly gravitate towards cheaper, albeit less reliable, LLMs for simulating public opinion, potentially at the expense of more robust methods.</p>
<p>In conclusion, beyond the technical assessment of LLMs' capability to reflect public opinion, a more thorough exploration of the risks and benefits and the practical utility of LLMs in the realm of public opinion research on climate change is warranted. Such a discussion would greatly enhance the manuscript's contribution to the discourse on the application of LLMs in social science research.<!-- </span> --><!-- </span> --></p>
<p><!-- <span style="font-size:14px;"> --><!-- <span style="font-family:arial,helvetica,sans-serif;"> -->Reviewer #2: I am reviewing the manuscript “Can Large Language Models Capture Public Opinion about Global Warming?” In this manuscript, the authors build on prior research about algorithmic fidelity and the potential for LLMs to accurately reflect political attitudes by extending the analysis to attitudes about climate change and comparing two new cutting-edge models (GPT-3.5 &amp; GPT-4). They find that the LLMs do demonstrate a capacity for accurate reflection of public opinion about climate change, but they also highlight some important contingencies in that capacity. Specifically, the LLMs perform much better when provided with relevant attitudinal information (as opposed to relying only on demographic covariates). Also, GPT-4 performs worse than GPT-3.5 without the attitudinal covariates, and the best with them.</p>
<p>There are a lot of very commendable aspects to this project. The manuscript is detailed and very clearly written. Of course, there are a hundred other design and prompt decisions the authors could have made, but the ones they do make are clear, reasonable, and well-justified in the text. The authors do a very good job of walking the line between being clear about the contribution this manuscript makes (which is meaningful) without overclaiming or making a point that is too general to be supported by the studies they have conducted. The manuscript adds to both the substance (climate change opinions) and the methodological details about LLMs as silicon samples that exists in current published work. The pilot test replication of the voting data is also a very nice addition to verify their method and the models’ baseline performances. I think it is a strong manuscript that merits publication.</p>
<p>I have two relatively small recommendations for the authors as they finish revising. First, I understand that there is a lot that remains opaque in the training process and adjustments made to the OpenAI models. The authors' points on this in the conclusion are well-made. However, I do think the authors could do a little more to discuss why they believe the models perform poorly in some cases. For example, how should we think about the differences between 2017 and 2021, and GPT-3.5 vs. GPT-4? Are there more general principles that might serve as hypotheses for future work? Do alignment processes reduce the ability of the models to replicate specific kinds of questions related to global warming? The authors bring this up as a motivation for this study, but I think it deserves a little more follow through in the discussion of variation across models and prompts.</p>
<p>Second, I think the authors could do a little more to describe the differences between models that do and do not have attitudinal covariates in the prompts. On some level, it is not surprising that the models with only demographics perform relatively poorly as predictors, because – although there are small correlations for some of these items (judging from the human sample baseline on Figure 4), they are not strong predictors of the climate attitudes measured. The exception to this is of course ideology and party, which are not (as the authors note) strictly speaking demographic traits. Because of this, I would like to see Figure 4 expanded to include the attitudinal measures that are also used in the “with covariates” models. Additionally, I think if the authors spend a little more time developing that fact that the models with covariates work better precisely because the added covariates are more strongly correlated with the attitude they are predicting than the demographics were, they can work that into a broader point that the predictions work the best when provided with the most relevant background information. I occasionally encounter folks in this space who leave out the most relevant predictors because they feel like they would be too closely correlated to the outcome variable they are trying to predict. I think the authors here have an opportunity to demonstrate a really import</p>
</body>
</sub-article>
<sub-article article-type="author-comment" id="pclm.0000429.r002">
<front-stub>
<article-id pub-id-type="doi">10.1371/journal.pclm.0000429.r002</article-id>
<title-group>
<article-title>Author response to Decision Letter 0</article-title>
</title-group>
<related-object document-id="10.1371/journal.pclm.0000429" document-id-type="doi" document-type="peer-reviewed-article" id="rel-obj002" link-type="rebutted-decision-letter" object-id="10.1371/journal.pclm.0000429.r001" object-id-type="doi" object-type="decision-letter"/>
<custom-meta-group>
<custom-meta>
<meta-name>Submission Version</meta-name>
<meta-value>1</meta-value>
</custom-meta>
</custom-meta-group>
</front-stub>
<body>
<p>
<named-content content-type="author-response-date">7 May 2024</named-content>
</p>
<supplementary-material id="pclm.0000429.s002" mimetype="application/vnd.openxmlformats-officedocument.wordprocessingml.document" position="float" xlink:href="info:doi/10.1371/journal.pclm.0000429.s002" xlink:type="simple">
<label>Attachment</label>
<caption>
<p>Submitted filename: <named-content content-type="submitted-filename">5.Response Letter.docx</named-content></p>
</caption>
</supplementary-material>
</body>
</sub-article>
<sub-article article-type="aggregated-review-documents" id="pclm.0000429.r003" specific-use="decision-letter">
<front-stub>
<article-id pub-id-type="doi">10.1371/journal.pclm.0000429.r003</article-id>
<title-group>
<article-title>Decision Letter 1</article-title>
</title-group>
<contrib-group>
<contrib contrib-type="author">
<name name-style="western">
<surname>Hsueh</surname>
<given-names>Lily</given-names>
</name>
<role>Academic Editor</role>
</contrib>
</contrib-group>
<permissions>
<copyright-year>2024</copyright-year>
<copyright-holder>Lily Hsueh</copyright-holder>
<license xlink:href="http://creativecommons.org/licenses/by/4.0/">
<license-p>This is an open access article distributed under the terms of the <ext-link ext-link-type="uri" xlink:href="http://creativecommons.org/licenses/by/4.0/" xlink:type="simple">Creative Commons Attribution License</ext-link>, which permits unrestricted use, distribution, and reproduction in any medium, provided the original author and source are credited.</license-p>
</license>
</permissions>
<related-object document-id="10.1371/journal.pclm.0000429" document-id-type="doi" document-type="article" id="rel-obj003" link-type="peer-reviewed-article"/>
<custom-meta-group>
<custom-meta>
<meta-name>Submission Version</meta-name>
<meta-value>1</meta-value>
</custom-meta>
</custom-meta-group>
</front-stub>
<body>
<p>
<named-content content-type="letter-date">2 Jul 2024</named-content>
</p>
<p>Can Large Language Models Capture Public Opinion about Global Warming? An Empirical Assessment of Algorithmic Fidelity and Bias</p>
<p>PCLM-D-24-00031R1</p>
<p>Dear Dr Peng,</p>
<p>We are pleased to inform you that your manuscript 'Can Large Language Models Capture Public Opinion about Global Warming? An Empirical Assessment of Algorithmic Fidelity and Bias' has been provisionally accepted for publication in PLOS Climate.</p>
<p>Before your manuscript can be formally accepted you will need to complete some formatting changes, which you will receive in a follow-up email from a member of our team. </p>
<p>Please note that your manuscript will not be scheduled for publication until you have made the required changes, so a swift response is appreciated.</p>
<p>IMPORTANT: The editorial review process is now complete. PLOS will only permit corrections to spelling, formatting or significant scientific errors from this point onwards. Requests for major changes, or any which affect the scientific understanding of your work, will cause delays to the publication date of your manuscript.</p>
<p>If your institution or institutions have a press office, please notify them about your upcoming paper to help maximize its impact. If they'll be preparing press materials, please inform our press team as soon as possible -- no later than 48 hours after receiving the formal acceptance. Your manuscript will remain under strict press embargo until 2 pm Eastern Time on the date of publication. For more information, please contact <email xlink:type="simple">climate@plos.org</email>.</p>
<p>Thank you again for supporting Open Access publishing; we are looking forward to publishing your work in PLOS Climate.</p>
<p>Best regards,</p>
<p>Lily Hsueh, Ph.D.</p>
<p>Associate Professor, Arizona State University</p>
<p>Academic Editor, PLOS Climate</p>
<p>***********************************************************</p>
<p>Reviewer Comments (if any, and for reference):</p>
<p>Reviewer's Responses to Questions</p>
<p><!-- <font color="black"> --><bold>Comments to the Author</bold></p>
<p>1. If the authors have adequately addressed your comments raised in a previous round of review and you feel that this manuscript is now acceptable for publication, you may indicate that here to bypass the “Comments to the Author” section, enter your conflict of interest statement in the “Confidential to Editor” section, and submit your "Accept" recommendation.<!-- </font> --></p>
<p>Reviewer #1: All comments have been addressed</p>
<p>Reviewer #2: All comments have been addressed</p>
<p>**********</p>
<p><!-- <font color="black"> -->2. Does this manuscript meet PLOS Climate’s <ext-link ext-link-type="uri" xlink:href="https://journals.plos.org/climate/s/criteria-for-publication" xlink:type="simple">publication criteria</ext-link>? Is the manuscript technically sound, and do the data support the conclusions? The manuscript must describe methodologically and ethically rigorous research with conclusions that are appropriately drawn based on the data presented.<!-- </font> --></p>
<p>Reviewer #1: Yes</p>
<p>Reviewer #2: Yes</p>
<p>**********</p>
<p><!-- <font color="black"> -->3. Has the statistical analysis been performed appropriately and rigorously?<!-- </font> --></p>
<p>Reviewer #1: Yes</p>
<p>Reviewer #2: Yes</p>
<p>**********</p>
<p><!-- <font color="black"> -->4. Have the authors made all data underlying the findings in their manuscript fully available (please refer to the Data Availability Statement at the start of the manuscript PDF file)?</p>
<p>The <ext-link ext-link-type="uri" xlink:href="https://journals.plos.org/climate/s/data-availability" xlink:type="simple">PLOS Data policy</ext-link> requires authors to make all data underlying the findings described in their manuscript fully available without restriction, with rare exception. The data should be provided as part of the manuscript or its supporting information, or deposited to a public repository. For example, in addition to summary statistics, the data points behind means, medians and variance measures should be available. If there are restrictions on publicly sharing data—e.g. participant privacy or use of data from a third party—those must be specified.<!-- </font> --></p>
<p>Reviewer #1: Yes</p>
<p>Reviewer #2: (No Response)</p>
<p>**********</p>
<p><!-- <font color="black"> -->5. Is the manuscript presented in an intelligible fashion and written in standard English?</p>
<p>PLOS Climate does not copyedit accepted manuscripts, so the language in submitted articles must be clear, correct, and unambiguous. Any typographical or grammatical errors should be corrected at revision, so please note any specific errors here.<!-- </font> --></p>
<p>Reviewer #1: Yes</p>
<p>Reviewer #2: Yes</p>
<p>**********</p>
<p><!-- <font color="black"> -->6. Review Comments to the Author</p>
<p>Please use the space provided to explain your answers to the questions above. You may also include additional comments for the author, including concerns about dual publication, research ethics, or publication ethics. (Please upload your review as an attachment if it exceeds 20,000 characters)<!-- </font> --></p>
<p>Reviewer #1: Dear Authors,</p>
<p>Thank you very much for addressing all of my comments.</p>
<p>I am looking forward to seeing this paper published.</p>
<p>Reviewer #2: The authors did a nice job addressing all of my concerns, and the ethics concerns of Reviewer 1 (I thought the suggestions and revisions here were also excellent. I think the manuscript is ready for publication.</p>
<p>**********</p>
<p><!-- <font color="black"> -->7. PLOS authors have the option to publish the peer review history of their article (<ext-link ext-link-type="uri" xlink:href="https://journals.plos.org/climate/s/editorial-and-peer-review-process#loc-peer-review-history" xlink:type="simple">what does this mean?</ext-link>). If published, this will include your full peer review and any attached files.</p>
<p><bold>Do you want your identity to be public for this peer review?</bold> If you choose “no”, your identity will remain anonymous but your review may still be made public.</p>
<p>For information about this choice, including consent withdrawal, please see our <ext-link ext-link-type="uri" xlink:href="https://www.plos.org/privacy-policy" xlink:type="simple">Privacy Policy</ext-link>.<!-- </font> --></p>
<p>Reviewer #1: No</p>
<p>Reviewer #2: No</p>
<p>**********</p>
</body>
</sub-article>
</article>