首页 > AI前沿 > Black-Box Test-Time Personalization: Optimality and Collaboration

Black-Box Test-Time Personalization: Optimality and Collaboration

arXiv机器学习 2026-12-01 13:00 9 阅读 查看原文
用户要求将一段纯文本新闻正文(实际是学术论文摘要)排版成语义化的HTML片段。 规则: 1. 只输出HTML片段本身,不要Markdown围栏,不要解释。 2. 每个自然段落用`

`包裹,长文用`

`/`

`划分小节。 3. 列表用`
  • `,引用用`
    `,代码用`
    `,重要句子可用``。
    4. 保留原文所有信息,不得增删改内容。
    5. 不要输出``/``/``等文档级标签。
    
    正文内容:
    Personalizing a frozen black-box language model is difficult when no reliable reward model or verifier is available. We study online best-of-$K$ response selection: at each interaction, the model generates a size-$K$ candidate set, among which the system chooses one response to present. By formulating this task as a nonparametric stochastic contextual bandit problem, we propose Black-Box Test-Time Nearest Neighbors, $\mathtt{(BTN)}^2$, an adaptive nearest-neighbor upper confidence bound policy that smartly learns user preferences from sequential feedback. Matching regret upper and lower bounds are established up to logarithmic factors, revealing a phase transition in the candidate-set size~$K$. To accelerate learning across multiple users, we extend this framework to a collaborative bandit setting and characterize user similarity through the distributions of preferred choices, which allows effective information sharing among users with the same preference ordering despite potentially different reward models. Based on this similarity measure, we propose a two-stage procedure that detects latent user clusters and pools feedback for joint decision-making. Theoretical guarantees on cluster recovery and collaborative regret are established. Extensive numerical experiments are also provided, including simulations examining the predicted rates and collaboration effects, and a question-answering benchmark with constructed user preferences showing the superiority of our methods over other state-of-the-art baselines.
    
    分析正文结构:
    这是一段学术摘要,整体是一个长段落。可以将其划分为几个小节,或者就只用一个`

    `包裹,或者加几个`

    `来划分小节。 为了符合“长文用`

    `/`

    `划分小节”的规则,我可以把这篇摘要划分为几个逻辑部分,比如: 1. 研究背景与问题(前两句) 2. 方法提出与理论分析(中间部分) 3. 扩展与实验(后部分) 或者,因为原文就是一整段,如果强行拆分可能会被认为“增删改内容”或者改变段落结构。不过规则说“每个自然段落用`

    `包裹,长文用`

    `/`

    `划分小节”。原文本只有一个自然段落。我可以保持它为一个自然段落,用`

    `包裹,并在其中使用``来强调重要句子,或者如果认为它是“长文”,可以加几个`

    `小标题,但小标题必须不改变原文信息(即小标题文字不能是原文没有的?规则说“保留原文所有信息,不得增删改内容”,加小标题算“增”吗?通常加排版标签不算增删改内容,但加文字算。所以最好不加自己编的小标题文字,或者把原文的句子作为小标题?不,直接用`

    `包裹原文的某些句子作为小节标题,或者就只用`

    `。) 其实,如果原文只有一段,直接用一个`

    `包裹是最安全的,避免“增”内容。但规则提到“长文用

    /

    划分小节”,我可以把原文的几个句子分别用`

    `和`

    `组合,或者直接用`

    `。 为了稳妥,把整段放在一个`

    `里,对关键术语或句子使用``。 原文中的重要部分: - Black-Box Test-Time Nearest Neighbors, $\mathtt{(BTN)}^2$ (可以用``或``,但它是数学公式,用``或者保持原样。规则说代码用`

    `,这里不是代码,是LaTeX公式,所以不用``,用``包裹即可,或者直接输出文本,因为HTML中渲染LaTeX通常需要MathJax,这里直接保留文本即可)。 让我们仔细看看原文: "Personalizing a frozen black-box language model is difficult when no reliable reward model or verifier is available. We study online best-of-$K$ response selection: at each interaction, the model generates a size-$K$ candidate set, among which the system chooses one response to present. By formulating this task as a nonparametric stochastic contextual bandit problem, we propose Black-Box Test-Time Nearest Neighbors, $\mathtt{(BTN)}^2$, an adaptive nearest-neighbor upper confidence bound policy that smartly learns user preferences from sequential feedback. Matching regret upper and lower bounds are established up to logarithmic factors, revealing a phase transition in the candidate-set size~$K$. To accelerate learning across multiple users, we extend this framework to a collaborative bandit setting and characterize user similarity through the distributions of preferred choices, which allows effective information sharing among users with the same preference ordering despite potentially different reward models. Based on this similarity measure, we propose a two-stage procedure that detects latent user clusters and pools feedback for joint decision-making. Theoretical guarantees on cluster recovery and collaborative regret are established. Extensive numerical experiments are also provided, including simulations examining the predicted rates and collaboration effects, and a question-answering benchmark with constructed user preferences showing the superiority of our methods over other state-of-the-art baselines." 如果必须用` 
                      

    `/`

    `划分小节,我可以这样做:

    研究背景与问题

    (这算增内容吗?算。规则说“不得增删改内容”,指的是文本内容,标签不算。但小标题文字算。所以不能自己编小标题。) 那怎么划分小节呢?可以不划分,或者把原文的某些句子用`

    `包裹作为小节标题?不,句子是正文。 其实,如果原文只有一个自然段落,直接输出:

    Personalizing a frozen black-box language model is difficult when no reliable reward model or verifier is available. We study online best-of-$K$ response selection: at each interaction, the model generates a size-$K$ candidate set, among which the system chooses one response to present. By formulating this task as a nonparametric stochastic contextual bandit problem, we propose Black-Box Test-Time Nearest Neighbors, $\mathtt{(BTN)}^2$, an adaptive nearest-neighbor upper confidence bound policy that smartly learns user preferences from sequential feedback. Matching regret upper and lower bounds are established up to logarithmic factors, revealing a phase transition in the candidate-set size~$K$. To accelerate learning across multiple users, we extend this framework to a collaborative bandit setting and characterize user similarity through the distributions of preferred choices, which allows effective information sharing among users with the same preference ordering despite potentially different reward models. Based on this similarity measure, we propose a two-stage procedure that detects latent user clusters and pools feedback for joint decision-making. Theoretical guarantees on cluster recovery and collaborative regret are established. Extensive numerical experiments are also provided, including simulations examining the predicted rates and collaboration effects, and a question-answering benchmark with constructed user preferences showing the superiority of our methods over other state-of-the-art baselines.

    这样完全符合“每个自然段落用`

    `包裹”,没有增加任何文字内容。 不过规则说“长文用`

    `/`

    `划分小节”,如果不用会不会扣分? 如果要把这一段长文划分小节,且不增加文字,可以把原文的逻辑层次用`

    `来强调,但`

    `通常包含标题文本。如果把原文的句子放进`

    `,就会改变语义。 或者,我可以把原文拆分成几个自然段落?原文是一整段,拆分成多段算“改内容”吗?排版时把长段落拆成几个小段落是常见的排版操作,但规则说“每个自然段落用`

    `包裹”,意味着原文的自然段落对应`

    `。原文只有一个自然段落。 为了兼顾“长文用`

    `/`

    `划分小节”,我可以添加HTML注释?不行,注释也算内容。 其实,如果直接输出`

    `也是可以的