TrustLoRA: Low-Rank Adaptation for Failure Detection under Out-of-distribution Data

Fei Zhu, Zhaoxiang Zhang
4/20/2025
cs.LG

No confident code implementation found for this paper.

Abstract

Reliable prediction is an essential requirement for deep neural models that are deployed in open environments, where both covariate and semantic out-of-distribution (OOD) data arise naturally. In practice, to make safe decisions, a reliable model should accept correctly recognized inputs while rejecting both those misclassified covariate-shifted and semantic-shifted examples. Besides, considering the potential existing trade-off between rejecting different failure cases, more convenient, controllable, and flexible failure detection approaches are needed. To meet the above requirements, we propose a simple failure detection framework to unify and facilitate classification with rejection under both covariate and semantic shifts. Our key insight is that by separating and consolidating failure-specific reliability knowledge with low-rank adapters and then integrating them, we can enhance the failure detection ability effectively and flexibly. Extensive experiments demonstrate the superiority of our framework.

View on arXivView PDF

Code Implementations

No confident code match yet

We couldn't find an author-owned or strongly-evidenced community implementation for this paper. Any repos shown below are weak matches — verify before relying on them.

No code implementations found yet.

Know of an implementation? Let us know in the comments below!

Similar Papers

Cite this paper

@article{zhu2025trustlora,
  title  = {TrustLoRA: Low-Rank Adaptation for Failure Detection under Out-of-distribution Data},
  author = {Fei Zhu and Zhaoxiang Zhang},
  year   = {2025},
  eprint = {2504.14545},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2504.14545v1}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2504.14545.svg)](https://codeofpaper.com/paper/2504.14545)

Discussion