本文研究了6种激活预言机置信度估计方法,发现bootstrap模式频率在校准上优于其他方法(ECE 5.7% vs 25.5%),而log-prob基线可作为快速分诊信号。
摘要:
激活预言机旨在使其他模型的激活对人类可读,并且与白盒可解释性技术相比取得了有希望的结果。然而,此类激活预言机自然语言输出的不确定性量化(UQ)迄今研究不足。本文研究了6种不同的激活预言机置信度估计方法,并评估其置信度分数的校准程度。我们在每个预言机6000个样本(变化动词和上下文提示)上的实验表明,bootstrap模式频率是测试中校准最好的方法(在Qwen3-8B上ECE 5.7% vs 答案词对数概率的25.5%;在Qwen3.6-27B上10.3% vs 13.1%),并且log-prob基线可以以极低的成本作为快速分诊信号。代码和修补后的训练器可在https://github.com/federicotorrielli/probabilistic_activation_oracles获取。
英文摘要:
An activation oracle is a language model trained to convert the activations of another model into natural language. However, it is so far unclear to what extent these verbalizations are calibrated. Crucially, the oracle's verbalization come without any measure of confidence. Here, we compare five methods for estimating the confidence of an activation oracle. Our experiments cover four oracles from two model families (Qwen and Gemma, from 8B to 27B parameters), tested on the secret word task, whereby the oracle is supposed to recover a secret word, that has been fine-tuned into a model but does not appear in the model outputs. Our results with $6{,}000$ samples per method/oracle combination show that the best calibration depends on the availability of a hypothesis space or a calibration set: When an assumed auditor can list the possible answers in advance, the oracle should score each candidate answer directly. Scoring the candidates gives a higher accuracy on every oracle and a confidence that separates correct from incorrect answers better than any other method. When the oracle has to write its answer as free text, the agreement over twenty sampled answers gives the best calibrated confidence, which needs only five labeled secret words to be tuned. When a calibration set is available, a rescaled probability of the answer is as good as re-sampling, at the cost of one generation instead of twenty. Asking the oracle to write a number for its confidence, on the other side, gives no useful signal on any oracle. Code and the patched trainer are available at https://github.com/federicotorrielli/probabilistic_activation_oracles.
Activation-Informed Merging of Large Language Models
Massachusetts Institute of Technology(麻省理工学院);Stony Brook University(石溪大学);MIT-IBM Watson AI Lab & Red Hat AI Innovation(MIT-IBM Watson AI实验室及Red Hat AI创新)
Faithful Activation Verbalization: Reducing Hallucinations in LLM Representation Interpretation
New Jersey Institute of Technology(新泽西理工学院);Shanghai AI Laboratory(上海人工智能实验室);Xi’an JiaoTong University(西安交通大学);Chinese Univerity of Hongkong, Shenzhen(香港中文大学(深圳))
Frustratingly Easy Task-aware Pruning for Large Language Models
Zhongguancun Institute of Artificial Intelligence(中关村人工智能研究院);University of Science and Technology of China(中国科学技术大学);Xi’an Jiaotong University(西安交通大学)