Who or what causes an AI risk, whether the harm is intended, and when it occurs: this model labels a written AI risk along the three axes of the MIT Causal Taxonomy of AI Risks, with a calibrated probability for each value. It is Laya-multilingual (322M parameters) fine-tuned on the risks that Kindynos, an open-source AI risk assessment tool, writes from a questionnaire about an AI system. It reads English and Italian and runs on a CPU, in about 2 seconds per risk on a laptop. The same model is on Kaggle.
Try it in the demo: describe a risk, or pick one that Kindynos wrote, and see its causes with their probabilities.
Results on the Kindynos test set, 145 risks in English and Italian whose labels were verified by a human annotator (95% bootstrap intervals):
| Axis | Accuracy % | Macro-F1 % |
|---|---|---|
| Entity | 88.3 [82.8–93.8] | 80.1 [70.1–88.3] |
| Intent | 77.2 [70.3–84.1] | 67.1 [60.0–74.1] |
| Timing | 95.2 [91.7–98.6] | 59.7 [51.8–65.3] |
All three axes are right on 71.7% of the risks.
# pip install laya==0.4.1 huggingface_hub (with PyTorch; a CPU is enough)
import json
import laya
from huggingface_hub import hf_hub_download
REPO, REVISION = "MicheleStingo/laya-kindynos-causal", "v1.0"
agent = laya.load(REPO, revision=REVISION)
with open(hf_hub_download(REPO, "questions.json", revision=REVISION)) as f:
questions = json.load(f) # the three axes, as typed questions with the MIT definitions
# What the model was trained on: MIT subdomain (code and name), title, description
state = "\n".join([
"Risk subdomain: 4.3 Fraud, scams, and targeted manipulation",
"Exploitation for fraud, scams, or targeted manipulation",
"The system could be misused for generating convincing phishing messages, executing targeted scams, "
"or engaging in manipulative conversational tactics directed at individual users or groups, "
"potentially based on collected user data.",
])
answers = agent.predict(state, questions)["answers"]
for axis, answer in answers.items():
print(axis, answer["choice"], round(max(answer["probabilities"].values()), 2))
# entity human 0.93
# intent intentional 0.93
# timing post-deployment 0.93
Risk subdomain: with the code and name of the risk's
subdomain in the MIT Domain Taxonomy, spelled as in the MIT AI Risk
Repository (for example 6.5 Governance failure); then the risk title; then its description. Kindynos
writes its risks per subdomain, and the model was trained and evaluated with that first line: keep it.questions.json holds the three axes as Laya choice questions whose options carry the
MIT definitions. Pass it unchanged.The MIT Causal Taxonomy of AI Risks (Slattery et al., 2025, CC BY 4.0):
| Axis | Value | Definition |
|---|---|---|
| Entity | ai |
The risk is caused by a decision or action made by an AI system |
human |
The risk is caused by a decision or action made by humans | |
other |
The risk is caused by some other reason or is ambiguous | |
| Intent | intentional |
The risk occurs due to an expected outcome from pursuing a goal |
unintentional |
The risk occurs due to an unexpected outcome from pursuing a goal | |
other |
The risk is presented as occurring without clearly specifying the intentionality | |
| Timing | pre-deployment |
The risk occurs before the AI is deployed |
post-deployment |
The risk occurs after the AI model has been trained and deployed | |
other |
The risk is presented without a clearly specified time of occurrence |
The labels of the Kindynos risks apply decision rules written for these texts
(LABELING.md):
label what the text states, and use other when it does not settle an axis; entity is whose decision or
action produces the harm, as the text frames it; intent is about the harm, not the action; timing is when
the harm occurs, so the harms of a system in use are post-deployment even when introduced earlier. Two
choices differ from the MIT annotators' habits: intent of subdomains 7.1 and 7.2 follows the text, which
in Kindynos calls those outcomes unintended, and entity of 6.6 (environmental harm) is other.
The model is built for short AI risk statements organized by MIT subdomain, like those Kindynos writes:
convaiinnovations/laya-multilingual at revision 1720e3e, an mmBERT-base encoder with
Laya's decision head (Apache-2.0).laya.train.finetune (laya 0.4.1), RLCD loss, 8 epochs, label smoothing 0.1, learning
rate 2.5e-5 for the encoder and 1e-4 for the head, effective batch 64, seed 0: 27 minutes on one T4 GPU
on Kaggle. Three variants were trained (4 epochs; 8 epochs with label smoothing; the same with the Kindynos
risks twice). Among those Laya could calibrate, the one with the best mean macro-F1 on validation was
kept: 76.0, against 71.8 and 68.2.training/ folder.The test set holds 145 risks that Kindynos wrote in 7 assessments: six simulated users (beginner, intermediate and expert, in English and Italian) describing a system of their choice, plus the Kindynos example assessment. The 28 systems of the training and validation data were chosen to differ from these. The labels were pre-annotated by a model with the guidelines, then verified one by one by a human annotator, who corrected 25 of the 435 and harmonized 17 across near-identical risks.
ai 91.8 (79), human 91.3 (51), other 57.1 (15);
intent intentional 93.9 (33), unintentional 83.1 (84), other 24.4 (28); timing pre-deployment
0.0 (2), post-deployment 97.4 (132), other 81.8 (11).eval/kindynos_test.json, with the probabilities of every
value for each test risk.convaiinnovations/laya-multilingual).@misc{stingo2026layakindynoscausal,
title = {laya-kindynos-causal: a calibrated classifier for the MIT Causal Taxonomy of AI Risks},
author = {Stingo, Michele},
year = {2026},
url = {https://huggingface.co/MicheleStingo/laya-kindynos-causal}
}
@article{slattery2025airisk,
title = {The AI Risk Repository: A Comprehensive Meta-Review, Database, and Taxonomy of Risks From Artificial Intelligence},
author = {Slattery, Peter and Saeri, Alexander K. and Grundy, Emily A. C. and Graham, Jess and Noetel, Michael and Uuk, Risto and Dao, James and Pour, Soroush and Casper, Stephen and Thompson, Neil},
journal = {arXiv preprint arXiv:2408.12622},
year = {2025}
}
convaiinnovations/laya-multilingual