多义性Dropout:面向专业化LLM的保形OOD检测
Polysemantic Dropout: Conformal OOD Detection for Specialized LLMs
AI总结:
针对专业化LLM易受域外输入影响的问题,提出基于多义性dropout容忍度的ICAD推理时OOD检测方法,在医疗LLM上实现2%-37%的AUROC提升。
摘要:
我们提出了一种面向专业化大语言模型(LLM)的推理时域外(OOD)检测新算法。尽管通过微调在域内任务上实现了最先进的性能,但专业化LLM在面对OOD输入时仍易产生错误或不可靠的输出,这在关键应用中构成了风险。我们的方法利用归纳保形异常检测(ICAD)框架,采用基于模型dropout容忍度的新非一致性度量。受近期关于LLM多义性和冗余性发现的启发,我们假设域内输入比OOD输入表现出更高的dropout容忍度。我们通过有效的集成方法聚合多层dropout容忍度,在改进检测的同时维持ICAD的理论误报界限。在医疗专业化LLM上的实验表明,该方法优于基线方法,将OOD数据点视为正例、域内测试数据点视为负例时,AUROC提升了2%至37%。
英文摘要:
We propose a novel inference-time out-of-domain (OOD) detection algorithm for specialized large language models (LLMs). Despite achieving state-of-the-art performance on in-domain tasks through fine-tuning, specialized LLMs remain vulnerable to incorrect or unreliable outputs when presented with OOD inputs, posing risks in critical applications. Our method leverages the Inductive Conformal Anomaly Detection (ICAD) framework, using a new non-conformity measure based on the model's dropout tolerance. Motivated by recent findings on polysemanticity and redundancy in LLMs, we hypothesize that in-domain inputs exhibit higher dropout tolerance than OOD inputs. We aggregate dropout tolerance across multiple layers via a valid ensemble approach, improving detection while maintaining theoretical false alarm bounds from ICAD. Experiments with medical-specialized LLMs show that our approach detects OOD inputs better than baseline methods, with AUROC improvements of $2\%$ to $37\%$ when treating OOD datapoints as positives and in-domain test datapoints as negatives.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。