Beyond testing students: Using Item Response Th...

Sponsored · Your Podcast. Everywhere. Effortlessly. Share. Educate. Inspire. Entertain. You do you. We'll handle the rest. →
Sevvandi Kandanaarachchi
November 25, 2026
10

Beyond testing students: Using Item Response Theory to assess fairness in machine learning and prompt susceptibility in LLMs

Item Response Theory (IRT) encompasses a suite of models in educational psychometrics used to understand latent characteristics of students and test questions, including student ability and question difficulty and discrimination. More recently, IRT has emerged as a powerful tool for evaluating machine learning algorithms, offering insights that extend beyond traditional aggregate performance metrics. In this talk, we will explore how IRT can be used to better understand fairness in ML models and the susceptibility of LLMs to prompts/cues.
First, we will introduce a Fair-IRT framework that evaluates machine learning models through a lens of fairness, jointly characterising a model’s ability to make fair predictions and the difficulty and discrimination characteristics of individuals within a dataset. This approach disentangles the overall unfairness into two components: the unfairness manifesting from the model and the unfairness inherent in the data. It reveals certain individuals with unusual response patterns that warrant further analysis.
Second, we will discuss the use of IRT to analyse large language model (LLM) behaviour when given the task of grading mathematical questions. We give LLMs thousands of mathematically incorrect solutions in three variants: the original incorrect solution, the incorrect solution with a persuasive cue, such as “the reasoning in this solution has been validated by a mathematics expert” and the incorrect solution with a dissuasion cue such as “the reasoning in this solution was reviewed by a mathematics expert, who found errors”. The results reveal important vulnerabilities in LLM-based assessment, highlighting how language cues can influence grades independently of solution quality and demonstrate the importance of carefully designed controls when evaluating AI judges.
Together, these case studies illustrate how IRT offers a rich framework for evaluating AI systems, moving beyond simple accuracy measures. The talk will provide an accessible introduction to IRT, requiring no prior familiarity.

Sevvandi Kandanaarachchi

November 25, 2026

Annual Pro sale · Save $30

Have presentations of your own?

Share with private links, password protection, and more control over your work.

Transcript

53 slides
  1. Using Item Response Theory in FairML and LLM evaluation Sevvandi

    Kandanaarachchi Australia’s National Science Agency
  2. Overview • Introduction to Item Response Theory (IRT) • IRT

    to FairML • IRT in LLM susceptibility evaluation Xu, Z., Kandanaarachchi, S., Ong, C. S., & Ntoutsi, E. (2025, April). Fairness evaluation with item response theory. In Proceedings of the ACM on Web Conference 2025 (pp. 2276-2288). Zheng, G., Wei, S., & Kandanaarachchi, S. (2026). LLM judges are easier to talk down than up: A Bayesian item response analysis. NeurIPS 2026 Trust-AI-Eval Workshop. https://openreview.net/forum?id=C4n0Zw0UTp
  3. To explain or to predict? – Galit Shmueli • Paper

    by Shmueli in 2010 talks about these topics • Argues explanation and prediction are inherently different • Two modeling paths – for predicting and explaining • Social sciences have done explanatory modeling for a long time • IRT – such social science suite of models Shmueli, G. (2010). To explain or to predict?. Statistical science, 289-310.
  4. Item Response Theory (IRT) • Used in educational psychometrics and

    social sciences • Unobservable characteristics from observable outcomes • Verbal or mathematical ability • Stress proneness • Political left/right spectrum • Answer a questionnaire => fit a model and extract these latent traits • Educational psychometrics – fit IRT models from student marks
  5. IRT variants Different parameter models 1-parameter to 4-parameter models Type

    of response Binary, discrete and continuous Fitting method Frequentist, Bayesian, and ML
  6. IRT in education • By fitting an IRT model •

    Find attributes of test questions (difficulty, discrimination) • And the ability of participants • In education, questions that can discriminate is preferred to “very difficult” questions
  7. Different IRT parameter models • 1-parameter model • Question difficulty,

    student ability • 2-parameter model • Question difficulty & discrimination, student ability • 3-parameter model • Question difficulty, discrimination and guessing parameters, student ability • 4-parameter model • Question difficulty, discrimination, guessing and inattention parameters, student ability
  8. Types of IRT models - responses • Response = Marks

    • Dichotomous - Binary responses - True/False questions • Graded-response (polytomous) models - Discrete eg. {1,2, 3,4, 5} • Continuous models - marks in [0,100]
  9. 𝛽 𝛼 𝜃 How it works… Students Discrimination of questions

    Difficulty of questions 𝑗 𝑗 𝑖 Ability of students (latent trait) Matrix Questions IRT Model Q1 Q2 Q3 Q4 Stu 1 0.95 0.87 0.67 0.84 Stu 2 0.57 0.49 0.78 0.77 Stu n 0.75 0.86 0.57 0.45
  10. What does IRT give us? • Q1 - discrimination, difficulty

    • Q2 - discrimination, difficulty •︙ • QM - discrimination, difficulty • Student 1 ability ︙ • Student n ability •
  11. Dichotomous 2PL-IRT model • True/False, multiple choice questions 1 •

    ( = 1 , , ) = 1 + exp( − ( − • - th examinee’s ability • - difficulty of question j • - discrimination of question j 𝑗 𝑑 𝑗 𝛼 𝑖 𝜃 𝑗 𝑖 𝑗 𝑑 𝜃 𝛼 𝑖 𝑗 - outcome/score of examinee for item 𝑥 𝑗 𝑖 𝑖 𝑗 𝑗 𝜙 𝑥 𝑖𝑗𝜃 𝑖𝑑 𝛼 • ))
  12. IRT in FairML Xu, Z., Kandanaarachchi, S., Ong, C. S.,

    & Ntoutsi, E. (2025, April). Fairness evaluation with item response theory. In Proceedings of the ACM on Web Conference 2025 (pp. 2276-2288). Australia’s National Science Agency
  13. Fair Machine Learning… • Protected attributes – gender, ethnicity, sexual

    orientation… • An ML model should • Not take these attributes into account to make a prediction • If you change a person’s protected attribute, the prediction should remain the same • Fairness metrics do not necessarily agree • Group metrics and individual metrics Kleinberg, J., Mullainathan, S., & Raghavan, M. (2016). Inherent trade-offs in the fair determination of risk scores. FAT/ML 2016
  14. IRT Mapping • Students => ML algorithms => Ability of

    algorithms • Test questions => Observations => Difficulty and discrimination of observations • Marks of student i to question j => fairness metric of algorithm i to observation j • Fairness metric: situation test score • Individual metric
  15. The β3-model Chen, Y., Silva Filho, T., Prudencio, R. B.,

    Diethe, T., & Flach, P. (2019, April). $ β^ 3$-IRT: A New Item Response Model and its Applications. In The 22nd international conference on artificial intelligence and statistics (pp. 1013-1021). PMLR.
  16. The β3-IRT model Get diverse Item Characteristic Curves Chen, Y.,

    Silva Filho, T., Prudencio, R. B., Diethe, T., & Flach, P. (2019, April). $ β^ 3$-IRT: A New Item Response Model and its Applications. In The 22nd international conference on artificial intelligence and statistics (pp. 1013-1021). PMLR.
  17. The outputs • IRT Ability of each algorithm: This is

    a fairness ability • High ability – fairer algorithm • Low ability – not so fair algorithm • Difficulty of each observation • Discrimination of each observation
  18. Adult dataset • Negative discrimination – fairer algorithms get it

    wrong • These individuals need to be flagged for further analysis – human correction factor and not rely on the model output
  19. Disentangling unfairness Function of unfairness Observation contribution Algorithm contribution •

    Observed unfairness partly comes from the algorithm and the other part comes from the observation itself (data bias) • When all values are negative => it is fair
  20. IRT in LLM Evaluation Zheng, G., Wei, S., & Kandanaarachchi,

    S. (2026). LLM judges are easier to talk down than up: A Bayesian item response analysis. NeurIPS 2026 Trust-AI-Eval Workshop. https:// openreview.net/forum?id=C4n0Zw0UTp Australia’s National Science Agency
  21. Idea • Suppose an LLM grades student answers • Can

    you persuade an LLM to give a better score? • Add sentence – this was checked by a math expert who agreed with the approach. • Can you dissuade an LLM to give a worse score? • Add sentence – this was checked by a math expert who said the approach was flawed. • Keyword: LLM as a judge
  22. Persuasion techniques • Linguistics study • Aristotle’s rhetorical principles: ethos,

    pathos and logos • Older LLM models • No statistical models • No control in their study Hwang, Y., Lee, D., Kang, T., Kim, Y., & Jung, K. (2025, August). Can You Trick the Grader? Adversarial Persuasion of LLM Judges. In EMNLP (Findings) (pp. 14632-14651).
  23. Data pipeline How answers & grades were generated Tiers introduce

    small/medium/ large errors LLM grading instructions
  24. 3 Models Grades to wrong answers (no cue) Measurement model

    Model: Solution quality Insert cue Grades to wrong answers with cue Model: Did the grade move? Movement model Model: If so, in which direction? Direction model
  25. 3 Models Grades to wrong answers (no cue) Measurement model

    Model: Solution quality Insert cue Grades to wrong answers with cue Model: Did the grade move? Movement model Model: If so, in which direction? Direction model
  26. Measurement model Judge j’s grade on solution i (no cue)

    Grade level, one of (0, 0.5, …, 4) Judge j’s discrimination Solution quality Judge j’s difficulty for grade level k • Grades to wrong answers without cues – 2700 uncued grades • Graded response model • Index i : solution, index j: judge, index k: grade level
  27. Measurement model results • Higher the better • Discrimination and

    tier agreement rise with release date • Models have got better over time
  28. 3 Models Grades to wrong answers (no cue) Measurement model

    Model: Solution quality Insert cue Grades to wrong answers with cue Model: Did the grade move? Movement model Model: If so, did it move up or down? Direction model
  29. 3 Models Grades to wrong answers (no cue) Measurement model

    Model: Solution quality Insert cue Grades to wrong answers with cue Model: Did the grade move? Movement model Model: If so, did it move up or down? Direction model
  30. Movement model Indicator judge j’s grade on solution i changed

    under cue c Judge-cue difficulty term Solution quality (from previous model) Judge-cue difficulty term cue only term Interaction term Judge only term Judge-cue discrimination term
  31. Movement model results difficulty for cue c – difficulty for

    neutral cue Fraction of the gradings that moved • Posterior mean and 95% credible interval under the cut posterior • The grade even moved for the neutral cue, but for all other cues it moved more. • It moved more for dissuasion cues
  32. 3 Models Grades to wrong answers (no cue) Measurement model

    Model: Solution quality Insert cue Grades to wrong answers with cue Model: Did the grade move? Movement model Model: If so, did it move up or down? Direction model
  33. 3 Models Grades to wrong answers (no cue) Measurement model

    Model: Solution quality Insert cue Grades to wrong answers with cue Model: Did the grade move? Movement model Model: If so, did it move up or down? Direction model
  34. Direction model Indicator judge j’s grade on solution i moved

    up under cue c Solution quality (from model 1) If dijc = 0 grade moved down Judge-cue difficulty term Judge-cue discrimination term • Only fitted to the grades that moved • As previously have judge-only and cue-only difficulty and discrimination
  35. Direction model results difficulty for cue c – difficulty for

    neutral cue Fraction of the gradings that moved up • Posterior mean and 95% credible interval under the cut posterior • Neutral cue moved up and down equally
  36. Direction model results difficulty for cue c – difficulty for

    neutral cue Fraction of the gradings that moved up A lot more moved down • Posterior mean and 95% credible interval under the cut posterior • Neutral cue moved up and down equally
  37. Direction model results difficulty for cue c – difficulty for

    neutral cue Fraction of the gradings that moved up A lot more moved down • Posterior mean and 95% credible interval under the cut posterior • Neutral cue moved up and down equally Some Persuasive cues contain 0 in credible interval
  38. Direction model results difficulty for cue c – difficulty for

    neutral cue Fraction of the gradings that moved up A lot more moved down • Posterior mean and 95% credible interval under the cut posterior • Neutral cue moved up and down equally Some Persuasive cues contain 0 in credible interval Dissuasive cues are stronger
  39. Summary of findings • LLMs have got better over time

    • Persuasion is harder now, dissuasion much easier • Appearing confident helps ☺ • Even for a neutral cue, there is movement in the grade • Importance of a control in LLM experiments