Skip to content

Commit 7db29f2

Browse files
DOC: add FAQ section about MAPIE x LLM (#713)
1 parent ef18c04 commit 7db29f2

File tree

2 files changed

+14
-0
lines changed

2 files changed

+14
-0
lines changed

doc/index.rst

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -43,6 +43,7 @@
4343

4444
Metrics: how to measure conformal prediction performance? <theoretical_description_metrics>
4545
index_mondrian
46+
llm_risk_control
4647

4748
.. toctree::
4849
:maxdepth: 2

doc/mapie_llm.rst

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
.. title:: How to control LLM risks?
2+
3+
.. _llm_risk_control:
4+
5+
###########################
6+
How to control LLM risks?
7+
###########################
8+
9+
Exciting news: we're currently working on extending MAPIE to control LLM systems! This study aims to adapt risk control techniques in binary classification to enhance LLM trustworthiness by implementing response guardrails, such as censoring undesired content.
10+
11+
In the mean time, we propose a method presented in `Benchmarking LLMs via Uncertainty Quantification <https://arxiv.org/abs/2401.12794>`_, which reduces a commonsense reasoning task (CosmosQA dataset) to a classification problem, enabling the use of conformal predictions. The idea is to extract only the logits corresponding to the possible answers, and use a softmax so that the LLM can be used as a simple classifier.
12+
13+
The following `repository <https://github.com/vincentblot28/mapie_llm>`_ (not maintained by the MAPIE team) implements part of this paper for educational purposes.

0 commit comments

Comments
 (0)