Behzad Shayegh

Machine learning researcher and engineer with 7 years of experience across academia and industry, focused on the evaluation and reliability of AI systems: defining correct behaviour, measuring it, diagnosing failures, and turning evaluation into a signal for hill-climbing quality. At Google, uncovered an adequacy-over-fluency bias in translation metrics and their meta-evaluation, and built specialized MetricX variants to measure each side separately. At RBC Borealis, showed that LLMs barely respond to the stated certainty of retrieved information and reduced that error by 25% on average across eight models without retraining; and developed automatic style-guide generation and evaluation to control the style of LLM outputs. First-author publications at NeurIPS, ICLR, ACL (area chair award), AAAI, and WMT.

Behzad Shayegh

Experience

RBC Borealis

2 years and 4 months

Agentic AI Research Group

Research Engineer

Since Jan. 2026
Details
  • Designing and developing collaborative writing capabilities and evaluation for LLMs, composing long-form text by actively eliciting user preferences and domain knowledge efficiently.
  • Designed and developed style-guide evaluation and generation, controlling the style of LLM outputs across models and agents by automatically writing style guides as skills.
  • Designed and developed deep market research and signal intelligence systems, providing critical strategic insights continuously utilized by RBC’s C-suite and senior management teams.
  • Recognized with two internal awards for cross-team enablement and knowledge sharing, including representing RBC at external quantum hackathons and driving GenAI education initiatives.

Research Intern

Sep. 2025 – Jan. 2026
Details
  • Formalized and evaluated LLMs’ context-certainty obedience, exposing systematic limits (NeurIPS’26).
  • Improved context-certainty obedience by 25% across eight diverse models (Gemma, Qwen, Llama; 1–72B) by an interaction strategy comprising prior reminders, certainty recalibration, and context simplification.

Research Intern (Mitacs)

Sep. 2023 – Aug. 2024
Details
  • Proposed ensemble distillation against over-smoothing in multi-teacher distillation (ICLR’24).
  • Co-developed an ensemble-based bi-level beam search for zero-shot machine translation (AAAI’25).

Google

3 months

Machine Translation Research Group

Research Intern

Apr. 2025 – Jun. 2025
Details
  • Uncovered and reduced adequacy-over-fluency bias of MT metrics and meta-evaluation (WMT’25).
  • Developed AdequacyX and FluencyX as specialized MetricX variants for adequacy and fluency evaluation, achieving  80% soft pairwise accuracy on their respective objectives.

Divar (classified ads platform with 140M annual ads)

6 months

Used-Car Marketplace Team

Data Scientist

Feb. 2022 – Jul. 2022
Details
  • Curated a high-quality 1M-sample training dataset for car-price estimation using Spark: Detected outliers and interpolated missing entries.
  • Designed an evaluation metric for car-price interval prediction that incorporates interval length as a proxy for uncertainty, and normalizes it by the real-world standard deviation of comparable data.
  • Reduced car-price estimation uncertainty by 40%: Replaced the legacy over-complicated model with an ensemble of quantile regressions using Scikit-learn.
  • Improved car-price estimation MAPE by 4%: Identified and leveraged previously unrecognized and unaccounted categorical features using Gaussian Mixture Models and goodness-of-fit tests.

Ashianeh-Sepehr-Kherad

2 years and 1 month

Real Estate Machine Learning Group

Research Assistant

Jun. 2019 – Jun. 2021
Details
  • 81% accuracy in geolocating addresses from informal text under data scarcity: Developed a hierarchical kernel-based Bayesian model (B.Sc. thesis).
  • 82x speed-up and +4% accuracy for address geolocation: Developed an unsupervised statistical preprocessing model, reducing token variety from 85K to 11K.
  • Built a 700K-sample dataset for address geolocation: Weighted data to match the population distribution.
  • Engineered 400+ features for real-estate price estimation: Developed a feature-extraction pipeline using OpenStreetMap, PostgreSQL, QGIS, Python, and C++; Curated a 1M-sample training dataset accordingly.

Publications47h-index 4

Selected Publicationsshow 2 itemshide 2 items
NeurIPS2026

Can LLMs take retrieved information with a grain of salt?

Behzad Shayegh, Mohamed Osama Ahmed, Fred Tung, Leo Feng

In Advances in Neural Information Processing Systems

ACL2024

Tree-averaging algorithms for ensemble-based unsupervised discontinuous constituency parsing

Behzad Shayegh, Yuqiao Wen, Lili Mou

In Proceedings of the Annual Meeting of the Association for Computational Linguistics aclanthology.org 8

Oral (top 2.5% of submissions)

Won ACL area chair’s award, recognizing the best paper in its track.

Abstract

We address unsupervised discontinuous constituency parsing, where we observe a high variance in the performance of the only previous model in the literature. We propose to build an ensemble of different runs of the existing discontinuous parser by averaging the predicted trees, to stabilize and boost performance. To begin with, we provide comprehensive computational complexity analysis (in terms of P and NP-complete) for tree averaging under different setups of binarity and continuity. We then develop an efficient exact algorithm to tackle the task, which runs in a reasonable time for all samples in our experiments. Results on three datasets show our method outperforms all baselines in all metrics; we also provide in-depth analyses of our approach.

Abstract as published on aclanthology.org

More Publicationsshow 5 itemshide 5 items
WMT2026

Mind which bird you favour: Parameterizing adequacy–fluency balance in meta-evaluation of machine translation

Behzad Shayegh, Niloofar Kazemi

In Proceedings of the Conference on Machine Translation aclanthology.org

Independent research

Abstract

There is a tradeoff in machine translation meta-evaluation between prioritizing alignment with adequacy versus fluency. The balance depends on the combination of translation systems in the meta-evaluation dataset. This system set is a small, filtered sample whose characteristics change heavily across years and language pairs; it does not represent the true system distribution. Consequently, the adequacy-fluency balance is often unrepresentative and subject to change. For sensitive domains, controlling this balance is critical. We expose this balance as a tunable choice. To achieve a target balance, we reweight existing systems while minimizing distortion from uniform weighting, ensuring the evaluated systems remain real and representative. We provide an exact optimization algorithm with theoretical guarantees and pruning mechanisms to compute these weights. To validate meta-evaluation internal consistency, we design a scorer-augmentation framework that establishes a known relative identity for the scorers. Results demonstrate that our reweighting method effectively controls the adequacy-fluency balance and preserves the internal consistency, outperforming prior approaches. Finally, we analyze the performance of popular scorers across a sweep of this parameter.

Abstract as published on aclanthology.org

WMT2025

Feeding two birds or favoring one? Adequacy–fluency tradeoffs in evaluation and meta-evaluation of machine translation

Behzad Shayegh, Jan-Thorsten Peter, David Vilar, Tobias Domhan, Juraj Juraska, Markus Freitag, Lili Mou

In Proceedings of the Conference on Machine Translation aclanthology.org 6

Abstract

We investigate the tradeoff between adequacy and fluency in machine translation. We show the severity of this tradeoff at the evaluation level and analyze where popular metrics fall within it. Essentially, current metrics generally lean toward adequacy, meaning that their scores correlate more strongly with the adequacy of translations than with fluency. More importantly, we find that this tradeoff also persists at the meta-evaluation level, and that the standard WMT meta-evaluation favors adequacy-oriented metrics over fluency-oriented ones. We show that this bias is partially attributed to the composition of the systems included in the meta-evaluation datasets. To control this bias, we propose a method that synthesizes translation systems in meta-evaluation. Our findings highlight the importance of understanding this tradeoff in meta-evaluation and its impact on metric rankings.

Abstract as published on aclanthology.org

AAAI2025

EBBS: An ensemble with bi-level beam search for zero-shot machine translation

Yuqiao Wen, Behzad Shayegh, Chenyang Huang, Yanshuai Cao, Lili Mou

In Proceedings of the AAAI Conference on Artificial Intelligence ojs.aaai.org 13

Also presented at NGSM@ICML’24 and SPIGM@ICML’24 workshops.

Abstract

The ability of zero-shot translation emerges when we train a multilingual model with certain translation directions; the model can then directly translate in unseen directions. Alternatively, zero-shot translation can be accomplished by pivoting through a third language (e.g., English). In our work, we observe that both direct and pivot translations are noisy and achieve less satisfactory performance. We propose EBBS, an ensemble method with a novel bi-level beam search algorithm, where each ensemble component explores its own prediction step by step at the lower level but all components are synchronized by a "soft voting" mechanism at the upper level. Results on two popular multilingual translation datasets show that EBBS consistently outperforms direct and pivot translations, as well as existing ensemble techniques. Further, we can distill the ensemble's knowledge back to the multilingual model to improve inference efficiency; profoundly, our EBBS-distilled model can even outperform EBBS as it learns from the ensemble knowledge.

Abstract as published on ojs.aaai.org

AAAI2025

Error diversity matters: An error-resistant ensemble method for unsupervised dependency parsing

Behzad Shayegh, Hobie H.-B. Li, Xiaodan Zhu, Jackie C.K. Cheung, Lili Mou

In Proceedings of the AAAI Conference on Artificial Intelligence ojs.aaai.org 4

Abstract

We address unsupervised dependency parsing by building an ensemble of diverse existing models through post hoc aggregation of their output dependency parse structures. We observe that these ensembles often suffer from low robustness against weak ensemble components due to error accumulation. To tackle this problem, we propose an efficient ensemble-selection approach that considers error diversity and avoids error accumulation. Results demonstrate that our approach outperforms each individual model as well as previous ensemble techniques. Additionally, our experiments show that the proposed ensemble-selection method significantly enhances the performance and robustness of our ensemble, surpassing previously proposed strategies, which have not accounted for error diversity.

Abstract as published on ojs.aaai.org

ICLR2024

Ensemble distillation for unsupervised constituency parsing

Behzad Shayegh, Yanshuai Cao, Xiaodan Zhu, Jackie C.K. Cheung, Lili Mou

In International Conference on Learning Representations proceedings.iclr.cc 16

Abstract

We investigate the unsupervised constituency parsing task, which organizes words and phrases of a sentence into a hierarchical structure without using linguistically annotated data. We observe that existing unsupervised parsers capture different aspects of parsing structures, which can be leveraged to enhance unsupervised parsing performance.To this end, we propose a notion of "tree averaging," based on which we further propose a novel ensemble method for unsupervised parsing.To improve inference efficiency, we further distill the ensemble knowledge into a student model; such an ensemble-then-distill process is an effective approach to mitigate the over-smoothing problem existing in common multi-teacher distilling methods.Experiments show that our method surpasses all previous approaches, consistently demonstrating its effectiveness and robustness across various runs, with different ensemble components, and under domain-shift conditions.

Abstract as published on proceedings.iclr.cc

Education

University of Alberta

M.Sc.

2022 – 2025
  • Major in computer science (GPA 4.0/4.0)
  • Thesis (2025). Ensemble methods for unsupervised syntactic parsing. ualberta.scholaris.ca
    Runner-up for the departmental best MSc thesis award.

University of Tehran

B.Sc.

2017 – 2022
  • Major in computer engineering (GPA 18.2/20) and minor in computer science (GPA 17.2/20)
  • Thesis (2021). Geolocating addresses from informal Persian texts using hierarchical kernel-based Bayesian models. theshayegh.github.io

Teaching and Service

Mentorshipshowhide

Research Mentor for the Let’s Solve it (LSi) Program

Fall 2026

RBC Borealis

  • Guiding three mentees on predicting water advisories for water systems across Canada with machine learning.

Research Mentor

Winter and Spring 2024

NLP Group, University of Alberta

  • Guided senior undergraduate Hobie H.-B. Li through his first research project: error-resistant ensembles for unsupervised dependency parsing, published at AAAI 2025.

Research Mentor for the UR2PhD Program

Fall 2023

Computing Research Association (CRA)

  • Guided two undergraduate mentees at the University of Alberta on zero-shot text chunking for low-resource languages via interlingual annotation transfer, presented at an on-campus showcase.

Co-mentor for Summer of Code

Summer 2019

ACM Student Chapter, University of Tehran

  • Guided five students through hands-on basics of AI and machine learning, from Bayes’ rule and bag-of-words to spam detection and image classification.
Lectures and Course Developmentshowhide

Guest Lecturer for Machine Learning

University of Alberta

  • Max a posteriori estimation February 2025
  • Maximum likelihood estimation September 2024
  • Gradient descent September 2024

Guest Lecturer for Discrete Mathematics

University of Tehran

  • Invariance principle September 2019

Module Architect

University of Tehran

  • How to write proofs in discrete mathematics

Content Developer

Alberta Machine Intelligence Institute (AMII)

  • Explainability and transparency in machine learning

Content Developer

University of Tehran

  • Introduction to discrete mathematics
  • Common mistakes in discrete mathematics
  • Applied probability and statistics in R
  • Basic C++ exercises

Content Developer

Tehran Polytechnic

  • Python tutorial
Teaching Assistantship — 18 offerings, 9 coursesshowhide

Lead TA

University of Tehran

  • Discrete mathematics ×3
  • Probability and statistics

TA

University of Alberta

  • Machine learning ×2
  • Intro to the foundations of computation II ×2

Volunteer TA

University of Tehran

  • Natural language processing ×2
  • Artificial intelligence
  • Discrete mathematics ×2
  • Probability and statistics
  • Data structures and algorithms
  • Intro to computing systems and programming
  • Computer programming ×2
Peer Reviewshowhide
  • Reviewer for the 40th Annual Conference on Neural Information Processing Systems (NeurIPS), 2026.
  • Emergency Reviewer for ACL Rolling Review (ARR), February cycle, 2025.
  • Reviewer for the 13th International Conference on Learning Representations (ICLR), 2025.

Skills

Programming
PythonPyTorchHugging FacevLLMSciPyNumPyPandasC/C++SQLRLaTeX
ML Methods
Decoding algorithmsbeam searchdynamic programmingsynthetic dataexplainabilityunsupervised/self-supervised learningcontrastive learningzero-/few-shot transferknowledge distillationensemble methodsgradient boostingTransformersencoder–decoder modelsRNNs/LSTMsCNNsGNNsGANs
LLMs & NLP
Agentic workflowsMCPLLM evaluation and meta-evaluationRAGproprietary and open-weight LLMsprompt engineeringmachine translationstyle transfer
Statistics
Bayesian inferenceMLEMAPEMMCMCvariational inferenceGaussian processesnonparametric methodshypothesis testingbootstrappermutation testgoodness-of-fitmultiple-comparison correctionuncertainty quantification
Infra & Tools
Linux/BashDockerSlurmCUDAApache SparkPostgreSQL