Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 3 additions & 1 deletion CONTRIBUTORS.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -6,4 +6,6 @@ signees:
- github_username: "danielm322"
date_signed: "2026-02-24"
- github_username: "dm274516"
date_signed: "2026-02-24"
date_signed: "2026-02-24"
- github_username: "FabioArnez"
date_signed: "2026-02-26"
25 changes: 11 additions & 14 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@
### Prerequisites

- Python 3.9 or higher
- CUDA-capable GPU (recommended for computer vision tasks)
- CUDA-capable GPU (recommended for computer vision tasks and LLMs)

### Using pip

Expand Down Expand Up @@ -131,7 +131,7 @@ inference_module = LaRExInference(
prediction, confidence_score = inference_module.get_score(test_image, layer_hook=hooked_layer)
```

### LLM Uncertainty Estimation (White-box methods)
### LLM Uncertainty Estimation (White-box methods) for Hallucination Detection

```python
from transformers import AutoModelForCausalLM, AutoTokenizer, GenerationConfig
Expand Down Expand Up @@ -481,20 +481,11 @@ print(f"Uncertainty Scores: {scores}")
- **GPU**: Required for efficient inference on object detection and segmentation
- **Memory**: Varies by model size (8GB+ GPU memory recommended)

---

## References

### Publications

- [Latent representation entropy density for distribution shift detection](https://hal.science/hal-04674980v1/file/417_latent_representation_entropy_.pdf)


---

## Contributing

Contributions are welcome! Please feel free to submit issues or pull requests.
Contributions are welcome! Please feel free to submit issues or pull requests by following the [Contribution Guidelines](CONTRIBUTING.md).

## License

Expand All @@ -507,6 +498,12 @@ See [LICENSE.txt](LICENSE.txt) for details.

---

## Acknowledgments
## References

### Publications

- [Latent representation entropy density for distribution shift detection](https://hal.science/hal-04674980v1/file/417_latent_representation_entropy_.pdf)


This work was developed as part of the Confiance.ai program, focusing on trustworthy AI systems with emphasis on uncertainty estimation and out-of-distribution detection.
- [The Map of Misbelief: Tracing Intrinsic and Extrinsic Hallucinations Through Attention Patterns](https://ojs.aaai.org/index.php/AAAI-SS/article/view/36884)
---