Harsh Raj
· 6 previous affiliations
- Scale AISince 2026
- Machine Learning Researcher · Since 2026
- Current
- Northeastern UniversitySince 2025
- MS student · 2025–2026
- Graduate Research Assistant · 2025–2026
- Bespoke Labs2026
- Research Engineer · 2026
- Vijil2024
- Applied Scientist · 2024
- Yield Protocol2023
- Research Engineer · 2023
- Delhi Technological University2019–2023
- Bachelor of Technology - BTech · 2019–2023
Research Overview
Harsh Raj focuses on language model evaluation, the semantic consistency of generative systems, and the development of robust pretraining corpora. His early work established frameworks for measuring and improving the reliability of large language models under varying prompts. More recently, he investigates the safety alignment of these models against adversarial feedback and the curation of permissively licensed, large-scale datasets for model training.
Research Trajectory
Beginning in 2022, Raj's research addressed a fundamental vulnerability in large pretrained language models: their sensitivity to prompt phrasing. He identified that models often produce contradictory outputs when presented with semantically identical prompts, complicating their safe deployment in real-world applications. To quantify this instability, he developed methodologies in Measuring Reliability of Large Language Models through Semantic Consistency. This work moved beyond superficial lexical matching to evaluate whether models maintain consistent intent and factual accuracy across different phrasings.
This focus on reliability expanded in 2023 with Semantic Consistency for Assuring Reliability of Large Language Models. Here, Raj introduced a robust evaluation framework and a novel prompting strategy known as Ask-to-Choose (A2C). This strategy significantly improved both the accuracy and reliability of model outputs by structuring how the model processes and selects responses. This work contributes directly to the research direction of Evaluating Models via Semantic Consistency and Logical Entailment and intersects with the broader area of Semantic Entropy for Language Model Uncertainty Estimation.
Parallel to his work on consistency, Raj collaborated on theoretical foundations for model robustness. In On Transfer of Adversarial Robustness from Pretraining to Downstream Tasks, he and his co-authors introduced the Adversarial Sensitivity (AS) score. This metric proved that the robustness of a downstream linear predictor is mathematically constrained by the stability of its underlying representation, allowing researchers to predict robustness transfer prior to training a new model.
In 2024, Raj advanced his consistency research by proposing a multistep alignment strategy in Improving Consistency in Large Language Models through Chain of Guidance. The Chain of Guidance (CoG) technique provides a mechanism to control and guide language models at inference time, maximizing semantic consistency for tasks such as closed-book question answering.
During this same period, his research also pivoted toward the vulnerabilities of model alignment and safety guardrails. He participated in an analysis of reinforcement learning from human feedback (RLHF) in Defending against Reverse Preference Attacks is Difficult. This research demonstrated how safety guards can be compromised when models learn from unsafe feedback—specifically when harmful samples are systematically preferred over safe ones in the training pipeline. This study highlights critical challenges in the area of The Fragility of Safety Alignment During Fine-Tuning and the research direction of Poisoning Attacks on Large Language Model Preference Alignment.
Most recently, serving as a Co-Founder of Ontocord AI, Raj has focused on the foundational data used to train language models. In 2026, he and his collaborators released MixtureVitae: Open Web-Scale Pretraining Dataset With High Quality Instruction and Reasoning Data Built from Permissive-First Text Sources. This project introduced a 422-billion-token pretraining dataset designed to minimize legal risks by prioritizing public-domain and permissively licensed data. By front-loading high-quality instruction and reasoning data, the work demonstrated that models could achieve competitive performance without relying on legally ambiguous web scrapes.
Current Directions
The most recent papers and projects in the evidence indicate a dual focus on the foundational data of large language models and their safety alignment. A primary direction involves resolving the legal and qualitative challenges of model training through the curation of web-scale, permissively licensed pretraining corpora. This includes optimizing the ratio of high-quality instruction and reasoning data to maintain competitive performance without relying on restricted sources.
Alongside data curation, recent work investigates the vulnerabilities of safety-aligned models post-deployment. This includes analyzing how reinforcement learning systems process human feedback and understanding the mechanics of adversarial or poisoned preference data that seek to degrade model safety. Additionally, his broader technical focus encompasses software engineering for machine learning, specifically the development of infrastructure and sandbox environments for the massive parallelization of agent execution, which supports the rigorous training and evaluation of AI agents.
Profile updated
Loading new papers…
Other researchers whose papers cluster into the same research directions — a proxy for overlapping technical interests and shared intellectual neighborhoods.
See something wrong? Report a mistake