Randomization is a powerful tool that endows algorithms with remarkable properties. For instance, randomized algorithms excel in adversarial settings, often surpassing the worst-case performance of deterministic algorithms with large margins. Furthermore, their success probability can be amplified by simple strategies such as repetition and majority voting. In this paper, we enhance deep neural networks, in particular transformer models, with randomization. We demonstrate for the first time that randomized algorithms can be instilled in transformers through learning, in a purely data- and objective-driven manner. First, we analyze known adversarial objectives for which randomized algorithms offer a distinct advantage over deterministic ones. We then show that common optimization techniques, such as gradient descent or evolutionary strategies, can effectively learn transformer parameters that make use of the randomness provided to the model. To illustrate the broad applicability of randomization in empowering neural networks, we study three conceptual tasks: associative recall, graph coloring, and agents that explore grid worlds. In addition to demonstrating increased robustness against oblivious adversaries through learned randomization, our experiments reveal remarkable performance improvements due to the inherently random nature of the neural networks' computation and predictions.
VORTEX: Challenging CNNs at Texture Recognition by using Vision Transformers with Orderless and Randomized Token Encodings
São Carlos Institute of Physics, University of São Paulo(圣保罗大学圣卡洛斯物理研究所);KTH Royal Institute of Technology(瑞典皇家理工学院);São Paulo State University(圣保罗州立大学)
An optimal scheduled learning rate for a randomized Kaczmarz algorithm
Oregon State University(俄勒冈州立大学);Princeton University(普林斯顿大学)
我们研究了学习率如何影响求解$A x \approx b + \varepsilon$的松弛随机Kaczmarz算法的性能,其中$A x =b$是一个一致的线性系,$\varepsilon$具有独立的平均零随机条目。我们推导出一个学习率时间表,优化的预期误差,在某些情况下是尖锐的约束,在相反的指数收敛的标准随机Kaczmarz算法,我们的优化的约束涉及的倒数的兰伯特- $W$函数的指数。
International Computer Science Institute(国际计算机科学研究所);University of California Berkeley(加州大学伯克利分校);Xerox Research Centre India(施乐印度研究中心);Purdue University(普渡大学)
A Privacy Preserving Randomized Gossip Algorithm via Controlled Noise Insertion
King Abdullah University of Science and Technology(阿卜杜拉国王科技大学);Google(谷歌公司);University of Edinburgh(爱丁堡大学);Moscow Institute of Physics and Technology(莫斯科物理技术学院);Université Grenoble Alpes(格勒诺布尔阿尔卑斯大学)