LLMimic is a role-play-based, interactive, gamified AI literacy tutorial, where users assume the role of an LLM and progress through three key stages of the training pipeline (pretraining, SFT, and RLHF). Human study results show that LLMimic significantly improved participants' AI literacy (p < .001), reduced persuasion success across three realistic scenarios (p < .05), and enhanced truthfulness and social responsibility levels (p < 0.01) in the hotel scenario.
First, clone the repository and set up the environment:
git clone https://github.com/CHATS-lab/LLMimic.git
cd LLMimic
conda env create -f environment.yml
conda activate llmimicFor AI tutor access, create a .env file in the project root with your API key:
OPENAI_API_KEY=your_openai_api_key_hereThen launch the app with:
streamlit run LLMimic_app.pyLLMimic/
├── content/ # Tutorial content and phase definitions
│ └── utils/ # Helper functions
├── data/ # Human study data (anonymized; MakeMePay conversations available upon request)
├── images/ # Diagrams and visual assets
@misc{fan2026trainllmexploringeffects,
title={Train Yourself as an LLM: Exploring Effects of AI Literacy on Persuasion via Role-playing LLM Training},
author={Qihui Fan and Min Ge and Chenyan Jia and Weiyan Shi},
year={2026},
eprint={2604.02637},
archivePrefix={arXiv},
primaryClass={cs.CL},
url={https://arxiv.org/abs/2604.02637},
}MIT
