ABAB Pedia

Erfan Miahi

Erfan Miahi (Persian: عرفان میاهی) is an AI research scientist at Pluralis Research based in Toronto, CanadaCanadaCanada is a federal state in North America, a parliamentary democracy and constitutional monarchy made up of 10 provinces and 3 territories; it is the second-largest country in the world by area, and its capital is Ottawa. The Dominion of Canada came into being on July 1, 1867, under the British North America Act passed by the British Parliament, and since the patriation of the Constitution on April 17, 1982, amending the Constitution no longer requires the British Parliament. The 2021 census (May 11, 2021) counted a population of 36,991,981.Open the full entry. He studied computer engineering at the University of Guilan in IranIranIran is an Islamic republic bordered by the Caspian Sea to the north and the Persian Gulf and Gulf of Oman to the south, made up of 31 provinces with Tehran as its capital. A referendum on March 30–31, 1979, abolished the monarchy and established the Islamic Republic, and the present constitution was adopted in December 1979 and revised in 1989. The Statistical Centre’s selected results of the 2016 National Population and Housing Census give a population of 79,926,270.Open the full entry and earned a master’s in computing science at the University of Alberta. He worked at DeepR Analytics and Covenant AI, helped train the Covenant-72B language model and coauthored PULSE, a method for reducing data transfers during distributed training.

Contents53 sections
Key facts

Computer engineering in Rasht

Erfan Miahi began his undergraduate studies in computer engineering at the University of Guilan in Rasht, Iran. The university’s computer science association gave his name in Persian as عرفان میاهی. He speaks Persian as his first language and also works in English.⁠[1][2][3]

From front-end intern to software developer

Miahi started as a front-end intern at Nilasoft in Rasht and moved into a full-time software development role. He built web interfaces in TypeScript and Angular and connected them to server-side services. He stayed until November 2017.⁠[1][4]

Discovering artificial intelligence

Miahi earned an honorable mention in the International Collegiate Programming Contest. He recalled discovering artificial intelligence late that year and taking part in research projects, reading books and implementing algorithms. He was particularly curious about what people meant by intelligence.⁠[1][5]

Mentoring students

Miahi began mentoring students outside work. He went on to mentor more than ten, speaking with them every two to four weeks about their outlook on life and how they approached problems, as well as AI research, engineering and entrepreneurship. He described his role as giving students a second opinion on their reasoning. One student from the University of Guilan went on to pursue a doctorate at Michigan State University.⁠[1][6]

World Robot Challenge

Deep learning summer school

Brain and cognition summer school

He attended the Brain and Cognition Summer School at Iran’s National Brain Mapping Laboratory.⁠[4]

Deep Learning Specialization

He completed the Deep Learning Specialization from DeepLearning.AI on Coursera.⁠[4]

Machine learning through Stanford Online

He completed Stanford Online’s machine learning course on Coursera.⁠[4]

Data science in Python

A course on blockchain

Data visualization

He completed the University of Michigan’s course on plotting, charting and representing data in Python.⁠[4]

Graduating first in his class

Miahi earned a Bachelor of Science in computer engineering from the University of Guilan, ranking first in his class. He received the university’s Abrishamchian Award for graduating with the highest distinction and recognition as a top researcher in the computer engineering group. His personal gallery includes footage of his graduation in Rasht.⁠[1][2][7]

A preprint on image assessment

As first author, Miahi submitted a preprint with Seyed Abolghasem Mirroshandel and Alexis Nasr on selecting neural network architectures for the automated assessment of human sperm images. They revised it on September 17, 2020. Miahi lists the journal article in Expert Systems with Applications under 2022 in his bibliography.⁠[8][9]

English language examination

Miahi scored 7.5 on the academic IELTS examination.⁠[3]

The Guilan computer science association announces an interview

In announcing an interview with Miahi about AI, the University of Guilan’s computer science association said he had secured full funding for a master’s in computing science at the University of Alberta. His research then included transfer learning, evolutionary optimization and medical imaging. He planned to turn to reinforcement learning.⁠[2]

Reinforcement learning specialization

He completed the Reinforcement Learning Specialization offered by the University of Alberta and the Alberta Machine Intelligence Institute.⁠[4]

A paper on large optimization problems

Miahi, Mojtaba Shakeri, Abhishek Gupta and Yew-Soon Ong submitted a preprint on carrying experience from one optimization task over to larger problems. They revised the paper on May 12, 2022. Miahi lists the journal article in IEEE Transactions on Cybernetics under 2022 in his bibliography.⁠[10][9]

Medical image classification

Miahi collaborated with Amir Abbasi and Seyed Abolghasem Mirroshandel on the role of transfer learning and multitask learning in detecting sperm abnormalities. Their paper appeared in Computers in Biology and Medicine.⁠[9]

Graduate studies in Edmonton

Miahi joined the Department of Computing Science at the University of Alberta in Edmonton. He worked in Richard SuttonRichard S. SuttonRichard S. Sutton is a Canadian computer scientist and professor at the University of Alberta. He developed temporal-difference learning to explain how agents revise their predictions from the consequences of their actions. He and Andrew G. Barto wrote Reinforcement Learning: An Introduction and shared the 2024 A.M. Turing Award.Open the full entry’s Reinforcement Learning and Artificial Intelligence Laboratory under Martha White and Marlos C. Machado. He took courses in advanced and empirical reinforcement learning, real-time policy learning and representation learning.⁠[1][11][12][3]

Advising companies on machine learning

Miahi served as an assistant AI consultant at the Alberta Machine Intelligence Institute in Edmonton until March 2023. He coached five enterprise teams, helped an energy company design a model to predict pipeline pressure and spent more than 50 hours advising startups in the Scale AIScale AIScale AI, founded in 2016, participated in Y Combinator’s summer batch that year. It supplies training data and model evaluations to AI developers. Meta invested in Scale and expanded its commercial relationship with the company in 2025.Open the full entry Supply Chain West program. His colleague James Bell recalled working with Miahi to refine ideas and prepare client reports and presentations.⁠[1][4][3]

His first formal reviews

A course on generative adversarial networks

He completed a DeepLearning.AI course on building basic generative adversarial networks.⁠[4]

Studying neural network representations with Han Wang

Completing his master’s and thanking Roya

Miahi earned his MSc in computing science with a thesis titled “Feature Generalization in Deep Reinforcement Learning: An Investigation into Representation Properties.” Matthew E. Taylor served on his committee alongside his two supervisors. Miahi dedicated the thesis to Roya in gratitude for guidance through difficult times. He kept a recording of his speech at the university’s convocation.⁠[11][1][12][7]

Looking back on life in the laboratory

Miahi recalled weekly meetings with Machado that helped him break down research questions. Sutton’s classes and weekly discussions taught him to judge which problems merited attention. Adam White helped him design concise experiments. Khurram JavedKhurram JavedKhurram Javed is a reinforcement-learning researcher and a co-founder of Oak Lab. After competing in mathematics and studying software engineering in Pakistan, he worked with Martha White and then Richard S. Sutton at the University of Alberta in Canada. His research concerns how systems with limited computing resources can learn from a continuing stream of experience.Open the full entry guided him early in his studies and challenged his ideas in discussions.⁠[11]

Research on water treatment

Miahi stayed in the laboratory as a research associate through December. He worked on prediction and control systems for a water treatment plant and redesigned software for making predictions from sensor data.⁠[1][4]

Automated trading at DeepR Analytics

Miahi became a founding machine learning research engineer at DeepR Analytics, a proprietary trading firm in Toronto. He worked remotely until October 2024. He implemented and designed reinforcement learning algorithms for more than ten projects and built a system for training automated trading programs. By his estimate, it trained more than a million agents. He also revised simulation and evaluation software to reduce training time and cloud computing costs.⁠[1][12][6]

Cofounding Qelix

Miahi’s Toptal résumé dates his work as technical cofounder of Qelix to 2023–2025. The team trained models for programming, mathematics and writing code for graphics processors. He helped develop vision-language models for analyzing research papers. He also secured places in the Antler and NextAI programs.⁠[4]

First author of ResMax

Miahi was first author of a paper in Transactions on Machine Learning Research introducing ResMax, an alternative way to select actions in reinforcement learning. He wrote it with Revan MacQueen, Alex Ayoub, Abbas Masoumzadeh and Martha White.⁠[9]

Research engineering at Covenant AI

Miahi’s personal CV dates his time as lead research engineer at Covenant AI to August 2023 through May 2026. His Toptal résumé lists 2025 to 2026. Based in Toronto, he led research on post-training large language models and directed development of Grail, an open system for distributed training.⁠[1][4][14]

Publishing research on drinking water treatment

Machine Learning published a paper online by Miahi, Muhammad Kamran Janjua, Haseeb Shah, Martha White, Marlos C. Machado and Adam White. They studied how to update predictions as new data arrived from a drinking water treatment plant. The paper appeared in volume 113 in 2024.⁠[15]

A joint paper in Artificial Intelligence

The paper by Miahi, Han Wang and their colleagues on neural network representations appeared in Artificial Intelligence. At an evening event in Edmonton that year, Miahi and Richard Sutton posed together with raised fists.⁠[9][6][7]

Interviewing with Y Combinator

Winning a hackathon in Toronto

Miahi’s team, CircuitXR, won the Meta Llama hackathon in Toronto, which attracted about 45 teams and 150 participants. Their teaching tool, Draw Your Circuit, used a Llama vision model to interpret sketches. Students could use a Meta Quest 3 headset to interact with a three-dimensional circuit in augmented reality. The prizes included a Unitree robot dog, smart glasses, a television and $25,000 in NebiusNebiusNebius (Nebius Group N.V.) is an artificial intelligence cloud company headquartered in Amsterdam and listed on Nasdaq; it was formerly Yandex N.V., the Dutch parent company of the Yandex group. After divesting all its Russian businesses in 2024, the company, led by founder Arkady Volozh, reinvented itself as an AI infrastructure provider offering GPU clusters, a cloud platform and inference services, and has signed large compute contracts with companies including Microsoft and Meta.Open the full entry computing credits.⁠[3][16][14][4]

Skydiving in Ontario

Miahi practiced moving sideways in freefall with a coach in Ontario. His gallery also records a tandem skydive at sunset north of Edmonton.⁠[6][7]

Evaluating coding models with KX

Miahi and Andrew Morrison introduced q Evaluation Harness, an open-source tool developed with KX to test how well language models wrote programs in q. In their evaluation, the highest-scoring model, GrokGrokGrok is the artificial intelligence chatbot and family of large language models developed by xAI, which became part of SpaceX in 2026 and is branded SpaceXSI. Launched in November 2023, it is available on the X platform, grok.com, mobile apps and an API, and has expanded into image and video generation, voice, coding agents and office integrations.Open the full entry 4, passed 43.4 percent of the q problems on its first attempt.⁠[17][18][14]

Comparing model confidence with accuracy

Miahi, Reza Khanmohammadi and colleagues published a paper at EMNLP on using the stability of a language model’s internal representations under small changes to calibrate confidence in its answers. His CV lists the paper as a nominee for an outstanding paper award.⁠[19][1]

Publishing The Act of Creation

Miahi published “The Act of Creation” in his newsletter Liminal. Reflecting on how he turned scattered ideas into an essay, he explored how people shape their judgment and values through the work they choose and carry out.⁠[20][18]

Reducing data transfers during training

Miahi and Eugene Belilovsky submitted their paper on PULSE for distributed reinforcement learning. They found that many small changes in model weights left their lower-precision values unchanged. In their experiments, sending only the changes cut weight transfers between training and inference systems by a factor of more than 100. They revised the paper on May 19. Miahi lists the paper as accepted at NeurIPS 2026.⁠[21][6]

Testing confidence in reasoning models

Miahi, Khanmohammadi and their coauthors published a study at the Conference of the European Chapter of the Association for Computational Linguistics. They collected 347,496 reasoning traces from six models to test estimates of how reliable multistep answers were.⁠[22]

Helping train Covenant-72B

Miahi, Joel Lidin and their collaborators published a preprint on Covenant-72B. Miahi helped build the 72-billion-parameter model, which the group pretrained on roughly 1.1 trillion tokens using computers linked over the internet. The team revised the preprint the following day.⁠[23][14]

Joining Pluralis Research

Miahi left Covenant AI and joined Pluralis Research as a research scientist working remotely from Toronto. He investigated how computers in different locations could share the work of reinforcement learning after initial language model training. He also worked on inference across wide area networks.⁠[1][6][12]

Testing whether models rely on images

Miahi, Khanmohammadi and their collaborators submitted a preprint on distinguishing answers grounded in an image from guesses based on language patterns alone. The team revised the preprint again on September 19.⁠[24]

Explaining his choice of research

Miahi explained his decision to join Pluralis Research. He wanted more people to share in model development so that no single organization could control a model or decide to withdraw access to it.⁠[25]

An experiment across four countries

In an article for Pluralis Research, Miahi described an experiment with Stoa. Fourteen Macs in four countries, including his own laptop, generated multistep exchanges while a separate machine with a graphics processor trained the model. On PaperSearchQA, which requires searching research papers to answer questions, the first-attempt pass rate rose from 29 to 63 percent.⁠[18][26][14]

Joining Toptal

Miahi joined the professional network Toptal as a Python developer based in Toronto.⁠[4]

A bibliography of his research

Miahi’s bibliography included 11 papers and preprints, three with him as first author. He put his Google Scholar citation count that month at 294.⁠[6][9]

Background: Teaching materials and research software

Miahi shared PyTorch solutions to assignments from the University of California, BerkeleyUniversity of California, BerkeleyThe University of California, Berkeley (UC Berkeley) is a campus of the University of California system; the University of California was founded in 1868 through a merger of two institutions and moved to Berkeley, California, in 1873.Open the full entry’s deep reinforcement learning course on GitHub. He released distributed reinforcement learning frameworks and software for experiments in real environments. He also developed a mixed-precision library for training language models.⁠[14][1][27]

Background: Reading philosophy and psychology

Miahi often returns to Friedrich Nietzsche’s philosophy and Carl Jung’s analytical psychology. His reading list includes Nietzsche’s Thus Spoke Zarathustra, Jung’s Memories, Dreams, Reflections, PlatoPlatoPlato develops simulated work environments for training and evaluating AI agents. It builds working environments around the software, data and workflows of real jobs and publishes benchmarks for assessing model capabilities.Open the full entry’s Five Dialogues and Erich Fromm’s The Art of Being.⁠[6]

Background: Skydiving, parkour and distance running

Miahi put his skydiving tally at 60 jumps. He also practices indoor flying in wind tunnels and enjoys distance running, parkour, cross-country skiing, skateboarding and mountain biking. His gallery includes a backflip in front of the Alberta Legislature in Edmonton.⁠[6][7]

Related Organizations, Websites, and Public Accounts

University of Guilan: Official website: https://guilan.ac.ir/ (opens in a new window).⁠[1]

University of Alberta: Official website: https://www.ualberta.ca/ (opens in a new window).⁠[11]

Alberta Machine Intelligence Institute: Official website: https://www.amii.ca/ (opens in a new window).⁠[1]

Pluralis Research: Official website: https://pluralis.ai/ (opens in a new window).⁠[26]

Sources27 sources

  1. Erfan Miahi | RL Research Scientist (opens in a new window)erfanmiahi.com↑
  2. GuilanCS — بیوگرافی عرفان میاهی (opens in a new window)t.me↑
  3. Erfan Miahi - Pluralis Research | LinkedIn (opens in a new window)ca.linkedin.com↑
  4. Hire Erfan Miahi - Developer in Toronto, ON, Canada | Toptal (opens in a new window)toptal.com↑
  5. Erfan | IUST Projects (opens in a new window)iust-projects.ir↑
  6. Erfan Miahi · Research Scientist, LLM Post-training & RL (opens in a new window)erfanmiahi.com↑
  7. Gallery · Erfan Miahi · Skydiving, wind tunnels, parkour (opens in a new window)erfanmiahi.com↑
  8. Genetic Neural Architecture Search for automatic assessment of human sperm images (opens in a new window)arxiv.org↑
  9. Publications · Erfan Miahi (opens in a new window)erfanmiahi.com↑
  10. Scalable Transfer Evolutionary Optimization: Coping with Big Task Instances (opens in a new window)arxiv.org↑
  11. Feature Generalization in Deep Reinforcement Learning: An Investigation into Representation Properties (opens in a new window)mcmachado.github.io↑
  12. Marlos C. Machado — Research Group (opens in a new window)mcmachado.github.io↑
  13. Investigating the Properties of Neural Network Representations in Reinforcement Learning (opens in a new window)arxiv.org↑
  14. Projects · Erfan Miahi (opens in a new window)erfanmiahi.com↑
  15. GVFs in the real world: making predictions online for water treatment (opens in a new window)doi.org↑
  16. erfanMhi/flypi — Circuit Analysis API (opens in a new window)github.com↑
  17. Introducing q Evaluation Harness (opens in a new window)erfanmiahi.com↑
  18. Writing · Erfan Miahi (opens in a new window)erfanmiahi.com↑
  19. Calibrating LLM Confidence by Probing Perturbed Representation Stability (opens in a new window)aclanthology.org↑
  20. The Act of Creation (opens in a new window)oriea.substack.com↑
  21. Understanding and Exploiting Weight Update Sparsity for Communication-Efficient Distributed RL (opens in a new window)arxiv.org↑
  22. How Reliable are Confidence Estimators for Large Reasoning Models? A Systematic Benchmark on High-Stakes Domains (opens in a new window)aclanthology.org↑
  23. Covenant-72B: Pre-Training a 72B LLM with Trustless Peers Over-the-Internet (opens in a new window)arxiv.org↑
  24. Grounded or Guessing? LVLM Confidence Estimation via Blind-Image Contrastive Ranking (opens in a new window)arxiv.org↑
  25. Erfan Miahi on joining Pluralis Research as a research scientist (opens in a new window)linkedin.com↑
  26. RL Post-Training on Macs (opens in a new window)pluralis.ai↑
  27. erfanMhi (Erfan Miahi) · GitHub (opens in a new window)github.com↑