NeurIPS 2026Coming to NeurIPS?Explore papers, orals & directions

Fereshte Khani

Microsoft (United States)
3 previous affiliations
13Machine learning papers tracked by Lacuna
Is this you?

Research Overview

Fereshte Khani focuses on the robustness, fairness, and reliability of machine learning systems, with a particular emphasis on natural language processing and the alignment of large language models (LLMs). Her work investigates the theoretical foundations of group fairness—specifically how noise and distribution shifts impact model performance across different demographics—and develops practical frameworks for collaborative model development and automated prompt engineering. By bridging the gap between rigorous statistical analysis and the deployment of generative AI, Khani addresses the challenges of ensuring that models remain accurate and equitable when faced with real-world data complexities.

Research Trajectory

Khani’s research trajectory began with a focus on high-precision semantic parsing and the formal verification of model outputs. In 2016, her work introduced the "unanimity principle," a method designed to ensure that a system only makes a prediction when all models consistent with the training data agree on the output. This early research established a foundation for building systems that can provide guarantees of correctness or identify their own uncertainty, particularly in mapping natural language utterances to logical forms.

By 2019, Khani’s focus shifted toward the intersection of machine learning and social equity, specifically exploring The Fragility of Algorithmic Fairness Under Distribution Shift. During this period, she conducted theoretical investigations into why models often fail to maintain fairness when moved from controlled training environments to the real world. Her research challenged the common assumption that performance gaps between demographic groups are solely the result of data scarcity for minority populations. Instead, she demonstrated how feature noise and the inherent structure of group distributions can induce loss discrepancies even when data quantity is equalized.

Between 2020 and 2022, Khani expanded this inquiry into the problem of Mitigating Spurious Correlations for Group Robustness. This phase of her work examined how overparameterized models often latch onto "shortcuts"—superficial correlations that do not generalize. She contributed to the development of methods like "In-N-Out," which utilizes auxiliary information for pre-training to improve out-of-distribution robustness, and "MaskTune," a strategy that forces models to explore new features by masking previously discovered ones during fine-tuning. Her research during this time also highlighted a critical trade-off: removing spurious features to improve robustness can sometimes decrease overall accuracy and disproportionately affect certain groups, suggesting that simple feature removal is often insufficient for achieving true fairness.

In the most recent phase of her work (2023–2024), Khani has pivoted toward the challenges of aligning and refining large language models. This research focuses on Error Driven Synthetic Data for Model Remediation, where LLMs are used to identify and fix their own systematic weaknesses. She has introduced frameworks for collaborative model development, allowing multiple users to teach specific rules and concepts to a model without interfering with existing functionality. This work moves away from "brute force" scaling and toward targeted, human-in-the-loop interventions that improve model reliability in niche or complex domains.

Current Directions

Khani’s current research is centered on the collaborative alignment and optimization of generative models. A primary focus is the development of systems that allow for the "teaching" of NLP models through expert disagreement. By using small, localized models to represent specific business rules or concepts, her frameworks identify where a global LLM fails to meet these requirements. This approach facilitates a more modular and scalable way to update models as new requirements or edge cases emerge.

Furthermore, Khani is investigating the automation of the prompt engineering process. Recognizing that manual prompt optimization is a bottleneck for LLM deployment, her recent work as a senior researcher explores "meta-prompting"—using LLMs to analyze their own errors and iteratively refine the instructions they receive. This direction aims to unlock the complex reasoning capabilities of foundation models by providing them with more structured guidance on how to improve their own performance.

Another significant area of current interest is Adapting Generative Priors for Niche Domain Synthesis. Khani is developing methods to generate high-quality, targeted synthetic data for subgroups where the model currently underperforms. This involves estimating the potential benefit and harm of data augmentation for specific categories, ensuring that new data effectively addresses model weaknesses without introducing new biases.

Representative Work

Unanimous Prediction for 100% Precision with Application to Learning Semantic Mappings In this work, Khani addresses the problem of building semantic parsers that can guarantee the correctness of their predictions. The paper introduces the unanimity principle: a system should only output a prediction if every model in the version space (the set of all models consistent with the training data) agrees on that output. Khani develops an efficient method for operationalizing this principle by checking only a subset of models, proving that it is possible to achieve 100% precision even with limited training data, provided the model family is well-specified.

Feature Noise Induces Loss Discrepancy Across Groups This research provides a theoretical analysis of how noise affects group fairness in linear regression. Khani demonstrates that even when different demographic groups have the same amount of data and the same quality of features, the introduction of identical levels of feature noise can lead to significant performance gaps. This work is significant because it shows that fairness is not merely a function of data quantity, but is deeply influenced by how noise interacts with the underlying distribution of each group.

Removing Spurious Features can Hurt Accuracy and Affect Groups Disproportionately Khani investigates the common practice of removing spurious features (such as background elements in images) to improve model robustness. She reveals a counterintuitive phenomenon in overparameterized regimes: removing these features can actually degrade overall accuracy and exacerbate performance gaps between groups. The paper suggests that "Robust Self-Training" (RST) is a more effective alternative, as it allows models to maintain robustness while still benefiting from the predictive power of the full feature set.

Collaborative Alignment of NLP Models Khani introduces "CoAlign," a framework designed for the collaborative teaching of NLP models. The system allows multiple users to define specific concepts or rules, which are then represented by small "local" models. By using an LLM to identify disagreements between these local experts and the primary global model, CoAlign can fix specific bugs and enforce new rules without causing catastrophic forgetting or interference with previously learned behaviors.

Targeted Data Generation: Finding and Fixing Model Weaknesses In this paper, Khani and her colleagues propose Targeted Data Generation (TDG), a framework that uses LLMs to automatically identify and remediate systematic failures in NLP models. TDG identifies subgroups where the model's performance is suboptimal and generates new, synthetic training data specifically for those areas. The framework includes a human-in-the-loop component to estimate the expected benefit of the generated data, ensuring that the augmentation process effectively addresses model weaknesses.

Prompt Engineering a Prompt Engineer As the senior author, Khani explores the potential of meta-prompting to automate the optimization of LLM instructions. The research investigates how to construct a "meta-prompt" that guides an LLM to examine its own errors, hypothesize necessary changes to its instructions, and communicate tasks more clearly. This work demonstrates that with sufficient guidance, LLMs can perform complex reasoning to improve their own performance, reducing the need for manual prompt engineering.

Profile updated

See something wrong? Report a mistake