This repository contains code, processed data artifacts, analysis scripts, and study interface materials for the CHI 2026 paper:
Dialogues with AI Reduce Beliefs in Misinformation but Build No Lasting Discernment Skills
Anku Rani, Valdemar Danry, Paul Pu Liang, Andrew Lippman, Pattie Maes
DOI: https://doi.org/10.1145/3772318.3790656
This project investigates whether conversational AI helps people learn to detect misinformation, or mainly improves in-the-moment performance while assistance is available.
Across a month-long longitudinal study, participants completed repeated sessions with three tasks:
- Before AI: independent authenticity judgments
- With AI: judgments supported by dialogue with an AI assistant
- After AI: independent judgments on new items right after AI assistance (when the AI was removed).
The paper reports a central pattern: strong immediate gains during AI-assisted interaction, but no durable improvement in independent discernment and a decline in post-assistance unassisted performance over time.
.
├── analysis/
│ ├── preprocess.ipynb
│ ├── conversation_analysis.ipynb
│ ├── plot_llm_as_judge.ipynb
│ ├── classifiers_llm/
│ │ ├── llm_as_a_judge.py
│ │ └── classifier_prompts.py
│ ├── nlp/
│ └── stats/
│ ├── analysis.R
│ ├── analysis_persuasive.R
│ └── final_persuasive_outputs_R/
├── data/
│ ├── process_data.py
│ ├── raw/
│ └── processed/
├── study_interface/
│ ├── README.md
│ ├── Dialogues with AI app/user-interface/
│ └── Phase wise Data/
├── requirements.txt
└── LICENSE
data/raw/: raw study exports and source tabular filesdata/processed/: processed analysis-ready datasets and derived outputsanalysis/stats/: R scripts for primary inferential analyses and robustness outputsanalysis/classifiers_llm/: LLM-as-a-judge pipeline for conversation strategy labelinganalysis/*.ipynb: notebook-based preprocessing, exploration, and plottingstudy_interface/: participant-facing web app and phase-wise media/data assets
From the repository root:
python3 -m venv .venv
source .venv/bin/activate
pip install -r requirements.txtrequirements.txt includes core dependencies used in this repository (OpenAI SDK, dotenv, pandas/numpy, Jupyter, matplotlib/seaborn).
The R scripts install missing CRAN packages automatically on first run.
Rscript analysis/stats/analysis_persuasive.RPrimary output directory:
analysis/stats/final_persuasive_outputs_R/
This script produces:
- participant fixed-effects linear probability model results with HC2 robust errors
- planned within-week contrasts (
with-before,after-before) - trend and week-difference tests for before-only and after-only outcomes
- truth-split robustness summaries
- Wilson interval summaries and a figure-ready PDF
Rscript analysis/stats/analysis.ROutput directory:
analysis/stats/output/
This script estimates condition-by-week-by-phase effects and exports adjusted means, contrasts, difference-in-differences, and growth tests.
- Create a root
.envfile with your OpenAI key:
OPENAI_API_KEY=your_key_here- Run the classifier:
python analysis/classifiers_llm/llm_as_a_judge.py \
--data data/processed/conversations \
--classifiers all \
--output data/processed/llm_as_judge_resultsThe classifier reconstructs conversations from phase CSV files and labels strategy categories defined in analysis/classifiers_llm/classifier_prompts.py.
python data/process_data.pyThis utility merges and harmonizes phase-level files and writes a merged CSV under data/processed/.
Use Jupyter to run exploratory and plotting notebooks:
jupyter notebookKey notebooks are in:
analysis/preprocess.ipynbanalysis/conversation_analysis.ipynbanalysis/plot_llm_as_judge.ipynb
The participant interface is under:
study_interface/Dialogues with AI app/user-interface/
Run locally:
cd "study_interface/Dialogues with AI app/user-interface"
npm install
npm startBuild/test:
npm run build
npm testAdditional details are documented in study_interface/README.md.
- This repository is intended for research transparency and replication.
- Use the data in accordance with institutional, legal, and ethical requirements.
If you use this repository, please cite the paper:
@inproceedings{rani2026dialogues,
title = {Dialogues with AI Reduce Beliefs in Misinformation but Build No Lasting Discernment Skills},
author = {Rani, Anku and Danry, Valdemar and Liang, Paul Pu and Lippman, Andrew and Maes, Pattie},
booktitle = {Proceedings of the 2026 CHI Conference on Human Factors in Computing Systems (CHI '26)},
year = {2026},
articleno = {792},
pages = {1--26},
doi = {10.1145/3772318.3790656},
url = {https://doi.org/10.1145/3772318.3790656}
}See LICENSE for repository licensing details.