GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — GitHub - CSLiJT/Generative-CD

BranchesTags
Open more actions menu

Latest commit

 

History

6 Commits
6 Commits

Folders and files

NameName
Last commit message
Last commit date
GIRT
GIRT
 
 
GNCDM
GNCDM
 
 
data
data
 
 
figures
figures
 
 
.gitignore
.gitignore
 
 
README.md
README.md
 
 

Repository files navigation

Generative Cognitive Diagnosis

A codebase for generative (instant) cognitive diagnosis.
Explore the paper »

About The Project

Generative cognitive diagnosis is a new paradigm in the cognitive diagnosis (CD) task. Unlike traditional cognitive diagnosis models (CDMs) that model learners and test items by trainable parameters, generative CDMs model learners and test items via generative diagnostic functions (GDFs). Analogically, generative CDMs are "encoder-decoder" models while traditional CDMs are "decoder-only" models.

The encoder-decoder design of generative CDMs brings two significant advantages:

  • Instant diagnosis without training for new learners. When new learners comes, their cognitive state estimation could be instantly obtained by directly inputting their response scores to the GDF and running the generation process, without retraining the whole model.
  • Reliability of diagnostic outputs. The latent trait estimation of GDF is highly controllable because one can conveniently apply parameter mediation to the GDF. This leads to a comprehensive understanding of the explainability and causality between response data and cognitive states generated by GDF.

Getting Started

Installation

For G-IRT:

conda create -n girt python=3.10
conda activate girt
pip install -r ./GIRT/requirements.txt

For G-NCDM:

conda create -n gncdm python=3.10
conda activate gncdm
pip install -r ./GNCDM/requirements.txt

Usage

Training

G-IRT

All training scripts are included in GIRT/scripts/train*. Remember to change file paths to your local path.

G-NCDM

Training and fitting are integrated together. The scripts are included in GNCDM/scripts/gncdm*.

Evaluation

G-IRT

All evaluation scripts are included in GIRT/scripts/eval*. Remember to change file paths to your local path.

G-NCDM

Training and fitting are integrated together. The scripts are included in GNCDM/scripts/gncdm*.

Instant Diagnosis

We saved checkpoints of generative CDMs for quick start of instant diagnosis on the ASSIST and Math1 dataset.

G-IRT

Please refer to GIRT/scripts/diagnose*.

G-NCDM

Please refer to G-NCDM/scripts/gncdm_*_diagnose.sh

Citation

Please feel free to use our code and cite the paper!

@misc{li2025generativecognitivediagnosis,
      title={Generative Cognitive Diagnosis}, 
      author={Jiatong Li and Qi Liu and Mengxiao Zhu},
      year={2025},
      eprint={2507.09831},
      archivePrefix={arXiv},
      primaryClass={cs.LG},
      url={https://arxiv.org/abs/2507.09831}, 
}

About

No description, website, or topics provided.

Resources

Readme
Activity

Stars

5 stars

Watchers

0 watching

Forks

2 forks
Report repository

Releases

Packages

Contributors

Languages

You are visitor 01402775 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.