Algorithms and Theory

Google’s mission presents many exciting algorithmic and optimization challenges across different product areas including Search, Ads, Social, and Google Infrastructure. These include optimizing internal systems such as scheduling the machines that power the numerous computations done each day, as well as optimizations that affect core products and users, from online allocation of ads to page-views to automatic management of ad campaigns, and from clustering large-scale graphs to finding best paths in transportation networks. Other than employing new algorithmic ideas to impact millions of users, Google researchers contribute to the state-of-the-art research in these areas by publishing in top conferences and journals.

Recent Publications

Preview abstract Modern transformers have been scaled up in size, data, training-time compute, and more recently test-time compute based on Chain-of-Thought (CoT), but the consequences of trading off these parameters are unknown. We construct explicit tradeoffs between two of these aspects: the number of layers in a transformer and the number of CoT tokens. Our first result is general: with mild assumptions and a single-token prompt, for any integer k, a transformer using soft attention and SwiGLU MLP layers with L layers and n CoT tokens can be converted to a transformer with at most ckL layers and ⌈n/k⌉ CoT tokens, and vice versa, although with an increase to the size of other parameters. We then a multi-token prompt path following task, finding that additional preprocessing from the multi-token prompt changes the depth-CoT relationship in this case. We construct an attention-only network with L layers and 2^(L−2) heads that can traverse 2^(L−1) − 1 edges along a path with a single CoT token, demonstrating at least an exponential relationship between increases in depth and reductions in the number of CoT tokens needed to traverse the entire path. This relationship for the path following task holds empirically as well, as demonstrated by training networks with up to 5 layers, with the tradeoff between depth and the maximum number of edge traversals in a single CoT token exactly matching our theoretical constructions. View details
Preview abstract Let K in R^3 be an arbitrary convex body, that is, a compact convex subset of R^3 with nonempty interior. We prove unconditionally that K can be covered by eight smaller positive homothetic copies of itself: there exist a scalar lambda in (0, 1) and translation vectors v_1, ..., v_8 in R^3 such that K is contained in the union of (lambda K + v_i) for i = 1, ..., 8. This resolves Hadwiger's covering conjecture in three dimensions. The proof works in Boltyanski's equivalent boundary illumination formulation and is completely self-contained. Parallelepipeds are covered directly by eight translates of (2/3)K. For any convex body K that is not a parallelepiped, we place its centrally symmetric halved difference body S = (1/2)(K - K) in John's position (B^3 subseteq S) and show that the spherical average of its support function satisfies 8 int_{S^2} h_S d sigma_tilde < 12, with equality only for orthogonal cubes. Using outer polyhedral approximations together with Cauchy's planar perimeter formula, the full spherical measure of directions not parallel to any boundary segment of K, and lower semicontinuity of curve variation, we find a unit vector w_* in S^2 whose shadow boundary Sigma(K, w_*) on K itself is a continuous closed curve of S-length strictly less than 12. Splitting Sigma(K, w_*) into six contiguous arcs of S-length strictly less than 2 and applying Helly's theorem in R^3 illuminates each arc with one direction, while +-w_* illuminate the remainder of partial K. The proof was discovered using an experimental harness on top of Gemini 4 Carbon and formally verified in Lean 4. View details
Preview abstract We prove that no simple polygon P ⊂ R 2 contains a visibility-shattered set of seven points, establishing that the maximum visibility VC-dimension over all simple polygons is six. Combined with Valtr’s lower bound [Val98], this resolves the visibility VC-dimension problem for simple polygons, improving the upper bound of 23 due to Valtr [Val98] and 14 due to Gilbers and Klein [GK14] to the exact value 6. We also exhibit an explicit 968-vertex simple polygon with rational vertex coordinates that shatters six points in strictly convex position, confirming maxP VC-dim(P) = maxP VC-dimconvex(P) = 6. Our proof combines a general-position perturbation, a structural decomposition of the convex hull of a shattered seven-point set into a contiguous block of certified front vertices and non-certified hull vertices, an extended polygonenclosure calculus, and a sound chirotope reduction whose geometric soundness implications are machine-checked in Lean 4 and independently verified via Z3 real-arithmetic proofs and dual CDCL SAT solvers. View details
Beyond Tsybakov: Model Margin Noise and H-Consistency Bounds
The Nineteenth International Symposium on Artificial Intelligence and Mathematics (ISAIM 2026)
Preview abstract We introduce a new low-noise condition for classification, the *Model Margin Noise (MM noise)* assumption, and derive enhanced $H$-consistency bounds under this condition. MM noise is *weaker* than Tsybakov noise condition: it is implied by Tsybakov noise condition but can hold even when Tsybakov fails, because it depends on the discrepancy between a given hypothesis and the Bayes-classifier rather than on the intrinsic distributional minimal margin (see Figure 1 for an illustration of an explicit example). This hypothesis-dependent assumption yields enhanced $H$-consistency bounds for both binary and multi-class classification. Our results extend the enhanced $H$-consistency bounds of Mao, Mohri, and Zhong (2025a) with the same favorable exponents but under a weaker assumption than the Tsybakov noise condition; they interpolate smoothly between linear and square-root regimes for intermediate noise levels. We also instantiate these bounds for common surrogate loss families and provide illustrative tables. View details
Preview abstract Training large-scale generative models is resource-intensive and relies heavily on heuristic dataset weighting. We address two fundamental questions: Can we train Large Language Models (LLMs) modularly, combining small, domain-specific experts to match monolithic performance, and can we do so robustly for any data mixture, eliminating heuristic tuning? We present a theoretical framework for modular generative modeling where a set of pre-trained experts are combined via a gating mechanism. We define the space of normalized gating functions $\mathcal{G}_{1}$ and formulate the problem as a minimax game to find a single robust gate that minimizes divergence to the worst-case data mixture. We prove the existence of such a robust gate using Kakutani's fixed-point theorem and show that modularity acts as a strong regularizer, with generalization bounds scaling with the lightweight gate's complexity. Furthermore, we prove that this modular approach can theoretically outperform models retrained on aggregate data, with the gap characterized by the Jensen-Shannon Divergence. Finally, we introduce a scalable Stochastic Primal-Dual algorithm and a Structural Distillation method for efficient inference. Empirical results on synthetic and real-world datasets confirm that our modular architecture effectively mitigates gradient conflict and can robustly outperform monolithic baselines. View details
Preview abstract Standard Transformers excel at semantic modeling but struggle with rigid sequential logic and state tracking, fundamentally limited to AC0 complexity without intermediate chain-of- thought. In this work, we introduce Rational Transductors, a dual-stream architecture that augments the Transformer with a linear, matrix-valued recurrence derived from Weighted Finite Automata (WFA). By injecting rational state information into the attention mechanism via a Deep Rational Injection scheme, our framework strictly generalizes the expressive power of Transformers to capture all Regular Languages and NC1-complete problems (such as Parity and Modular Counting) while preserving O(log T) parallel training efficiency. View details
×