MCP
BG

Behrooz Ghorbani

26 papers in the library · Same-name authors told apart using DBLP

Papers

26
Beam Model Technical Report
Reflection TeamAdam Abdulhamid…Behrooz Ghorbani
Beam is a sparse Mixture-of-Experts model with 501.3B total and 23.4B active parameters, built for coding, reasoning, and agentic workloads; it delivers frontier-level reasoning while requiring 3–4x less inference compute than many models of its class. Pretrained on 23.8T curated tokens, it reaches a 1M-token context window through a novel two-stage midtraining phase anchored in verifiable correctness data. Post-training used a fully asynchronous RL campaign on 10.5K GB300 GPUs, yielding over 100M rollouts in four weeks, with capabilities still improving as RL compute increased. Hardware-model co-design, FP8/NVFP4 quantization, and a 1.93B-parameter speculative decoding drafter (DFlash 2) maximize serving throughput, and Beam refuses or pivots on 88.9% of harmful requests while complying with 81.5% of harmless ones.
arXivarXiv · · November 19, 2026
0
OpenAI o1 System Card
OpenAIAaron Jaech…Behrooz Ghorbani
The OpenAI o1 models are trained with large-scale reinforcement learning to reason via chain of thought before answering. This enables deliberative alignment, where the model reasons about safety policies in context when responding to potentially unsafe prompts, achieving state-of-the-art performance on benchmarks for illicit advice, stereotyped responses, and jailbreaks. The report outlines safety evaluations, external red teaming, and Preparedness Framework evaluations for o1 and o1-mini.
arXivarXiv · · December 21, 2024
0
3k+
GPT-4o System Card
OpenAIAaron Hurst…Behrooz Ghorbani
GPT-4o is an autoregressive omni model trained end-to-end across text, vision, and audio, processing all inputs and outputs with the same neural network. It responds to audio in as little as 232 milliseconds (average 320 ms), matching human conversational pace. It matches GPT-4 Turbo on English text and code while improving on non-English languages, and excels at vision and audio understanding. This System Card details its capabilities, safety evaluations, and alignment measures, including third-party assessments of dangerous capabilities.
arXivarXiv · · October 25, 2024
1
8k+
Order Matters in the Presence of Dataset Imbalance for Multilingual Learning
Dami ChoiDerrick XinHamid DadkhahiJustin GilmerAnkush GargOrhan FiratChih-Kuan YehAndrew M. DaiBehrooz Ghorbani
This paper empirically studies how task order in multi-task learning affects performance under data imbalance. The authors propose a simple two-stage method: pre-train on high-resource tasks, then fine-tune on a mixture of high- and low-resource tasks. Applied to neural machine translation and multilingual language modeling, this approach consistently improves the performance trade-off of standard static weighting across various data regimes.
arXivarXiv · · December 11, 2023
0
13
Epsilon Sampling Rocks: Investigating Sampling Strategies for Minimum Bayes Risk Decoding for Machine Translation
Markus FreitagBehrooz GhorbaniPatrick Fernandes
This paper shows that for Minimum Bayes Risk (MBR) decoding in machine translation, the choice of sampling strategy for generating candidate lists critically affects performance. The authors evaluate ancestral, nucleus, and top-k sampling, then propose epsilon-sampling, which prunes tokens with probability below a threshold $\epsilon$ to ensure fair probability mass across samples. Human evaluations across four language pairs demonstrate that MBR with epsilon-sampling significantly outperforms both beam search and MBR with other sampling methods.
ACL AnthologyACL Anthology · December 2023
0
Adaptive Gradient Methods at the Edge of Stability
Jeremy CohenBehrooz GhorbaniShankar KrishnanNaman AgarwalSourabh MedapatiMichal BaduraDaniel SuoZachary NadoGeorge E. DahlJustin Gilmer
This paper empirically shows that, in full-batch and sufficiently large batch training, adaptive gradient methods like Adam equilibrate the maximum eigenvalue of the preconditioned Hessian at a stability threshold; for Adam with step size $\eta$ and $\beta_1 = 0.9$, this threshold is $38/\eta$. At this "Adaptive Edge of Stability" (AEoS), the methods keep advancing into high-curvature regions by adapting the preconditioner, unlike non-adaptive methods which are blocked. This finding provides a foundation for future understanding.
OpenReviewOpenReview · · October 7, 2023
0
Epsilon Sampling Rocks: Investigating Sampling Strategies for Minimum Bayes Risk Decoding for Machine Translation
Markus FreitagBehrooz GhorbaniPatrick Fernandes
This paper investigates how candidate sampling affects Minimum Bayes Risk (MBR) decoding for machine translation. The authors evaluate ancestral, nucleus, and top-k sampling, identify their limitations, and test the recently proposed epsilon-sampling, which removes tokens with probability below epsilon to ensure fair probability mass per token. Through extensive human evaluation across four language pairs, they show that MBR decoding with epsilon-sampling significantly outperforms both beam search decoding and MBR decoding with all other tested sampling methods.
OpenReviewOpenReview · · June 13, 2023
0
Epsilon Sampling Rocks: Investigating Sampling Strategies for Minimum Bayes Risk Decoding for Machine Translation
Markus FreitagBehrooz GhorbaniPatrick Fernandes
Minimum Bayes Risk (MBR) decoding for machine translation relies on the sampling strategy used to generate its candidate list. This work shows that epsilon-sampling, which removes tokens with probability below a threshold ε to ensure a fair probability mass among retained tokens, outperforms ancestral, nucleus, and top-k sampling when used with MBR decoding. Across four language pairs, human evaluations confirm that MBR with epsilon-sampling significantly surpasses both beam search and MBR with other tested sampling methods.
arXivarXiv · · May 17, 2023
0
61
Binarized Neural Machine Translation
Yichi ZhangAnkush GargYuan CaoLukasz LewBehrooz GhorbaniZhiru ZhangOrhan Firat
The paper proposes Binarized Neural Machine Translation (BMT), the first binarization technique for Transformers applied to machine translation. It addresses inflated dot-product variance in one-bit weights and activations by adding LayerNorms and residual connections. On WMT, a one-bit weight-only Transformer matches float quality while being 16x smaller; one-bit activations cause quality drops mitigated by these architectural changes. Scaling-law studies on production-scale data show one-bit weight Transformers generalize well in- and out-of-domain. Implementation in JAX/Flax will be open-sourced.
OpenReviewOpenReview · · May 10, 2023
0
Order Matters in the Presence of Dataset Imbalance for Multilingual Learning
Dami ChoiDerrick XinHamid DadkhahiJustin GilmerAnkush GargOrhan FiratChih-Kuan YehAndrew M. DaiBehrooz Ghorbani
This paper studies multi-task learning optimization under dataset imbalance and shows that task order matters. It proposes pre-training on high-resource tasks, then fine-tuning on a mixture of high- and low-resource tasks. This simple method consistently outperforms the trade-off profile of static weighting across applicable data regimes. Improvements are demonstrated empirically in neural machine translation and multilingual language modeling.
OpenReviewOpenReview · · May 9, 2023
0
Scaling Laws for Multilingual Neural Machine Translation
Patrick FernandesBehrooz GhorbaniXavier GarciaMarkus FreitagOrhan Firat
This paper presents a large-scale empirical study of scaling properties in multilingual neural machine translation. The central finding is that changing the weight of each language pair in the training mixture only affects the multiplicative factor of the scaling law, while the scaling exponent remains constant across all mixtures. By formulating a joint scaling law, the authors compute the effective parameters per language pair, observing that language similarity has little impact, but translation direction matters significantly: translating from multiple languages into English yields more effective parameters per task than the reverse. These results enable performance prediction at any scale and language weighting.
arXivarXiv · · February 19, 2023
0
58
Binarized Neural Machine Translation
Yichi ZhangAnkush GargYuan CaoŁukasz LewBehrooz GhorbaniZhiru ZhangOrhan Firat
Binarized Neural Machine Translation (BMT) is the first method to apply one-bit weights and activations to Transformers for machine translation. It addresses inflated dot-product variance from binarization by adding LayerNorms and residual connections. On WMT, a one-bit weight-only Transformer matches float model quality with 16x smaller size, while one-bit activations cause quality drops that the architectural changes mitigate. Scaling laws on production datasets show that one-bit weight Transformers generalize well in-domain and out-of-domain.
arXivarXiv · · February 9, 2023
0
25
Scaling Laws for Multilingual Neural Machine Translation
Patrick FernandesBehrooz GhorbaniXavier GarciaMarkus FreitagOrhan Firat
This paper presents a large-scale empirical study of scaling properties in multilingual neural machine translation. It finds that language-pair weights affect only the multiplicative factor of the scaling law, leaving the exponent unchanged. A novel joint scaling law estimates effective parameters per language pair, showing little influence from language similarity but a significant role for direction: translating into English yields more effective parameters per task than the reverse. The authors use these findings to predict performance for arbitrary weightings and scales, reducing language-balancing effort, across domains and metrics such as ChrF and BLEURT.
OpenReviewOpenReview · · January 26, 2023
0
Do Current Multi-Task Optimization Methods in Deep Learning Even Help?
Derrick XinBehrooz GhorbaniAnkush GargOrhan FiratJustin Gilmer
This paper empirically evaluates multi-task optimization (MTO) methods for deep learning across language and vision tasks. Despite their added complexity, MTO methods do not outperform simply optimizing a weighted average of task losses. The authors identify alternative strategies that consistently improve performance and common training pitfalls causing suboptimal results, and discuss challenges in reliable evaluation of MTO algorithms.
arXivarXiv · · September 23, 2022
0
132
Adaptive Gradient Methods at the Edge of Stability
Jeremy M. CohenBehrooz GhorbaniShankar KrishnanNaman AgarwalSourabh MedapatiMichal BaduraDaniel SuoDavid CardozeZachary NadoGeorge E. DahlJustin Gilmer
Adaptive gradient methods (e.g., Adam) operate at the "Adaptive Edge of Stability" (AEoS) during full-batch training: the maximum eigenvalue of the preconditioned Hessian equilibrates at a stability threshold of $38/\eta$ for Adam with step size $\eta$ and $\beta_1=0.9$. Unlike non-adaptive methods at the Edge of Stability (EoS), which are blocked from entering high-curvature regions, adaptive methods at the AEoS can advance into such regions by adapting the preconditioner to compensate. This behavior also appears in minibatch training, especially with large batches.
arXivarXiv · · July 29, 2022
0
132
Data Scaling Laws in NMT: The Effect of Noise and Architecture
Yamini BansalBehrooz GhorbaniAnkush GargBiao ZhangMaxim KrikunColin CherryBehnam NeyshaburOrhan Firat
This paper studies data scaling laws in Neural Machine Translation, showing that encoder-decoder transformer test loss follows a power law in training samples with a dependence on model size. Varying architecture (transformer-LSTM hybrid, decoder-only) and noise (filtering, iid synthetic noise) minimally impacts scaling exponents, suggesting that adding more data can compensate for worse architectures or data quality. However, using back-translated data significantly degrades the scaling exponent.
arXivarXiv · · February 4, 2022
0
77
Examining Scaling and Transfer of Language Model Architectures for Machine Translation
Biao ZhangBehrooz GhorbaniAnkur BapnaYong ChengXavier GarciaJonathan ShenOrhan Firat
This study compares language models (LMs) and encoder-decoder models (EncDec) for machine translation under systematic variations of scale and data conditions. The central finding is that LMs using full-visible masking for the source sequence, rather than causal masking, perform on par with EncDec on supervised bilingual and multilingual tasks and significantly improve zero-shot translation by reducing off-target translations. Architectural differences among LMs affect performance at small scales but the gap narrows as parameters increase. Causal masking and language-modeling objectives on the source are shown to degrade translation quality.
arXivarXiv · · February 1, 2022
0
42
A Loss Curvature Perspective on Training Instability in Deep Learning
Justin GilmerBehrooz GhorbaniAnkush GargSneha KuduguntaBehnam NeyshaburDavid CardozeGeorge DahlZachary NadoOrhan Firat
This paper studies the evolution of the loss Hessian during training across classification tasks, examining how initialization, architecture, gradient clipping, and learning rate warmup affect curvature. The central finding is that successful choices let the early trajectory avoid or escape high-curvature regions and reach flatter areas that tolerate larger learning rates. The authors argue that disparate stability strategies ultimately address the same underlying failure: poor conditioning. They further show that learning rate warmup alone can improve stability as much as several normalization and initialization methods.
arXivarXiv · · October 8, 2021
0
128
Scaling Laws for Neural Machine Translation
Behrooz GhorbaniOrhan FiratMarkus FreitagAnkur BapnaMaxim KrikunXavier GarciaCiprian ChelbaColin Cherry
This paper empirically studies scaling laws for encoder-decoder Transformers in neural machine translation. It proposes a formula that predicts cross-entropy loss as a bivariate function of encoder and decoder size, showing that total parameters alone is insufficient. Different power-law exponents are observed for scaling each component, leading to recommendations for optimal capacity allocation. The scaling behavior is also affected by composition bias in the data, defined as deviation from natural text. Finally, the relationship between loss and generation quality (BLEU) depends on test set provenance.
arXivarXiv · · September 16, 2021
0
167
When Do Neural Networks Outperform Kernel Methods?
Behrooz GhorbaniSong MeiTheodor MisiakiewiczAndrea Montanari
Neural networks (NNs) can outperform kernel (RKHS) methods when the target function depends on a latent low-dimensional structure within high-dimensional covariates. This paper precisely characterizes the trade-off: RKHS methods suffer from the curse of dimensionality under nearly isotropic covariates, but this curse becomes milder when covariates share the same low-dimensional structure as the target. The authors propose a spiked covariates model that unifies both behaviors and hypothesize such latent structure exists in image classification, supported by numerical experiments where perturbations degrade kernel methods more than NNs.
arXivarXiv · · June 24, 2020
0
313
Limitations of Lazy Training of Two-layers Neural Networks
Behrooz GhorbaniSong MeiTheodor MisiakiewiczAndrea Montanari
For two-layer neural networks with quadratic activation, the lazy training regimes (random features and neural tangent kernel) can achieve arbitrarily worse prediction risk than the fully trained network when the number of neurons is smaller than the input dimension. This is shown under a supervised learning setting where the target function is quadratic and features are Gaussian, or where features come from a mixture of two Gaussians with binary labels. In contrast, when the number of neurons exceeds the dimension, both neural tangent and fully trained networks attain zero risk.
arXivarXiv · · June 21, 2019
0
Linearized two-layers neural networks in high dimension
Behrooz GhorbaniSong MeiTheodor MisiakiewiczAndrea Montanari
This paper studies two linearized two-layer neural network models—random features (RF) and neural tangent kernel (NT)—for learning a function on the $d$-dimensional sphere. In the approximation-limited regime ($n=\infty$, large $d,N$), it proves that when $d^{\ell+\delta}\le N\le d^{\ell+1-\delta}$, RF fits a degree-$\ell$ polynomial and NT fits a degree-$(\ell+1)$ polynomial. In the sample-size-limited regime ($N=\infty$, large $d,n$), with $d^{\ell+\delta}\le n\le d^{\ell+1-\delta}$, kernel methods fit at most a degree-$\ell$ polynomial, a bound achieved by kernel ridge regression.
arXivarXiv · · April 27, 2019
0
368
An Investigation into Neural Net Optimization via Hessian Eigenvalue Density
Behrooz GhorbaniShankar KrishnanYing Xiao
This paper presents a tool to study the evolution of the entire Hessian eigenvalue density during neural network optimization. Analyzing the spectra reveals that in non-batch-normalized networks, large isolated eigenvalues rapidly appear, and the gradient concentrates in those eigenspaces. These effects are almost absent in batch-normalized networks. The authors characterize how these structural features affect optimization speed through theory and experiments, and adapt numerical linear algebra techniques for scalable Hessian spectrum estimation at ImageNet scale.
arXivarXiv · · January 29, 2019
0
608
Optimal Covariance Estimation for Condition Number Loss in the Spiked Model
David L. DonohoBehrooz Ghorbani
Under the spiked covariance model, we derive the asymptotically optimal orthogonally-equivariant estimator for the condition number loss $\kappa(\Sigma^{-1/2} \hat{\Sigma} \Sigma^{-1/2})$ when $p/n \to \gamma > 0$. The optimal nonlinear shrinkage depends on $\gamma$ and, when $\gamma > 0.618\ldots$, only on $\gamma$. For large $\gamma$, even large eigenvalues are shrunk by $1/(1+\gamma)$, and some statistically significant components are suppressed entirely. A simple generalized soft thresholding achieves small worst-case relative regret.
arXivarXiv · · October 17, 2018
0
10
An Instability in Variational Inference for Topic Models
Behrooz GhorbaniHamid JavadiAndrea Montanari
This paper identifies an instability in the mean-field variational inference commonly used for topic models. For certain parameter regimes, the algorithm outputs a non-trivial topic decomposition even though the data contain no information about the true decomposition. Consequently, the estimated posterior mean is significantly wrong and credible intervals fail to achieve nominal coverage. The authors note that more accurate mean-field approximations can remedy this instability.
arXivarXiv · · February 2, 2018
0
56
Sparse regression with highly correlated predictors
Behrooz GhorbaniOzgur Yilmaz
The clustering removal algorithm (CRA) is introduced for sparse linear regression when $X$ has highly correlated, clustered columns and $p\gg n$. CRA removes the cluster structure from $X$ without changing the sparse parameter $\beta$, and the resulting decorrelated matrix is shown to satisfy the restricted isometry property (RIP) with high probability under certain assumptions. Empirical comparisons with other sparse recovery methods are provided.
arXivarXiv · · April 4, 2015
0
1
Frequent collaborators
Orhan Firat (11)
Ankush Garg (8)
Patrick Fernandes (6)
Justin Gilmer (6)
Markus Freitag (6)
Xavier Garcia (4)
Andrea Montanari (4)
Biao Zhang (3)
Derrick Xin (3)
Shankar Krishnan (3)
Zachary Nado (3)
Song Mei (3)