刷到一个抖音博主说,小孩子一直踢他的后背,在高铁上。然后那个博主就跟乘务员说,怀疑这个小孩子是被拐的。然后他的家长一直对他的行为不闻不问,怀疑是人贩子。然后那个家长就脸都白了,之后的几个小时,那个小孩都没闹过了 人还是要在自己的利益受到受损的时候,才会做一些行为。我公司有一个同事,每次都大声的咳嗽,咳到人都毛骨悚然那种。那咳声像一种枪一样,bang 一声,把人吓蒙了。他一分钟可以咳一次,一天咳几百次。我想从中找到类似的一个方法,去令他不要咳嗽。不知道有没有好的想法,大家有没有 idea
We study online learning for minimizing maximum tardiness (\OMMT) in single-machine scheduling. In each round, the learner selects a permutation of \(n\) fixed jobs, representing a schedule. The environment then reveals a processing time and a due date for each job, and the learner incurs a vector-valued loss whose components correspond to the tardiness of the individual jobs. The goal of the learner is to minimize \(\alpha\)-regret, the difference between the learner's maximum cumulative tardiness and \(\alpha\) times that of the best fixed permutation in hindsight, for as small \(\alpha\) as possible. We investigate OMMT under both stochastic and adversarial environments. In the stochastic setting, we prove that the expected \(1\)-regret of the Follow-the-Leader (FTL) algorithm is \( O\!\left(\frac{n\log n}{\Delta^2}\right) \), together with a corresponding high-probability bound, where \(\Delta\) is a distribution-dependent gap parameter. At round \(t \in \{1,\dots,T\}\), FTL runs in \(O(tn^2)\) time and \(O(tn)\) space. In the adversarial setting, we prove that, for any \(0<\log_2 n/16\), the \(\alpha\)-regret is \(\Omega(T)\) whenever \(\alpha<\log_2 n/16-c\). We then reduce OMMT to a surrogate online learning problem and apply Follow-the-Perturbed-Leader (FTPL), obtaining an expected \(\alpha\)-regret bound of \(O(n^2\sqrt{T})\) for \(\alpha=O(\log n)\). Thus, the logarithmic dependence of \(\alpha\) on \(n\) is tight up to constant factors. Each FTPL update admits a mixed-integer programming formulation whose size is polynomial in \(n\) and \(t\).
提示词增强(PE)将简洁的用户提示词细化为详细描述,在保留用户意图的同时提升生成图像的构图美感。常见做法是从密集描述(dense captions)中推导出简短、贴近用户风格的提示词来构建监督微调(SFT)数据对,其隐含假设是:能够改善图像生成的描述也能提供有效监督。然而,本文揭示了一个反直觉的发现:在生成收益显著的描述数据对上训练的 PE 模型,与在收益微小的数据对上训练的模型表现相当。我们认为,密集描述可能带来冗余监督,因为它要求 PE 模型复现与用户意图关联较弱的图像特定细节。受此差异启发,我们提出了 Prune to Expand(P2E),这是一种简单的纯文本方法,通过在每个样本的删除上限内选择性地移除冗余句子来精炼密集描述监督,同时保留明确的用户需求和有信息量的视觉结构。在相同训练配置下开展的大量实验表明,在多样的图像类别和视觉生成器上,P2E 相比传统的密集描述 SFT 提升了与人类偏好的一致性和视觉质量。