Nick Kashani Motlagh

I train and evaluate models end to end, studying when they should answer, rely on evidence, or revise.

  • PhD, Ohio State (August 2026)
  • 4 first-author peer-reviewed papers + 2026 RAG preprint
  • Springer Best Paper Award, ISVC 2022

Now: Computer Engineer II at DCS Corp, supporting the Air Force Research Laboratory. I develop synthetic question-answer datasets from domain-specific documents, train QA models, and own the full pipeline from data generation through training and LLM-judge evaluation on Slurm.

Stack: Python · PyTorch · Hugging Face Transformers · LoRA / PEFT · vLLM · FAISS · Slurm · Singularity.

Available now. U.S. citizen; no visa sponsorship needed. Columbus, Ohio; open to relocating.

Open to Research Scientist, Research Engineer, Member of Technical Staff, Applied Scientist, and ML Engineer roles.

  • Peer-reviewed
  • Springer Best Paper Award
  • Public code

When to abstain: deciding when a classifier should say “I don’t know”

A model that must always answer has no way to express uncertainty. My ISVC 2022 paper learns per-class thresholds from held-out data: keep declining the least confident predictions only while the declined set is no better than a coin flip. It requires no hand-set rejection cost or coverage target—only a single significance level.

When should a classifier say “I don’t know”?

95.7% right on the images it answers, up from 86.1% when it must answer all 10,000. It sets aside the 21.3% it is least sure of, and those are right only 50.6% of the time.

answered declined solid: right hatched: wrong

Drag the line, or use the arrow keys, to make the model decline more or less.

The rule set this line on 10,000 held-out training images (δ = .05): answer when confidence is above 0.728.

Answered
78.7%7,868 of 10,000 test images
Accuracy on answered
95.7%7,526 right of 7,868
Accuracy on declined
50.6%1,079 right of 2,132; as often right as wrong would be 50%

How the line is chosen: the significance level δ and the setup
Significance δ

At δ = .05 the rule keeps declining while the declined images are not significantly better than a coin flip; at δ = .95, only while they are significantly worse than one. Higher δ declines fewer images.

Setup. Model: frozen DINOv2 ViT-S/14 with a linear probe, temperature-scaled (T = 1.197). The threshold is learned on 10,000 held-out training images and scored on 10,000 test images: the rule keeps declining the least confident predictions only while the declined set is no better than a coin flip at significance δ. One global threshold for all 100 classes; the paper learns one per class. The accuracy–coverage curve and the images nearest the line are on the ISVC 2022 paper page. The confidence axis is on a log-odds scale in bins 0.25 wide; the last bin also holds the few images above it.

The rule from Learning When to Say “I Don’t Know” (ISVC 2022), re-run in 2026 on 10,000 real test images from CIFAR-100, a 100-class image benchmark. These are the demo’s numbers, not the paper’s.
  • Preprint, not peer-reviewed

When to revise: deciding whether RAG revision helps or hurts

Revising an LLM’s draft with retrieved passages can repair a wrong answer or harm a right one, and average accuracy hides both. Across 25,870 held-out questions (including unseen PopQA), this dissertation capstone grades both branches per question and trains LoRA policies to predict recoverability before paying for revision.

A learned policy closes part of the gap between always revising and an oracle

+1.10–1.33 accuracy points over always revising across 25,870 held-out questions (mean of 3 training seeds), closing 35.9–41.4% of the oracle gap across three retrieval setups.

always return the draft always revise gap closed by the policy rest of the oracle gap
Full Table 1 numbers: repair/harm rates and per-setup breakdown
Panel A. Accuracy and outcome rates (%), 25,870 test questions per setup
Setup Repair Harm Return Revise Policy Oracle Gain vs revise Gap closed
DPR dense retrieval 9.32 3.05 47.38 53.65 54.91 ± 0.18 56.70 +1.26 ± 0.18† 41.4 ± 5.9
BM25 10.58 3.33 47.38 54.63 55.96 ± 0.22 57.96 +1.33 ± 0.22† 40.0 ± 6.5
BM25 reranked with MonoT5 13.42 3.06 47.38 57.75 58.84 ± 0.10 60.81 +1.10 ± 0.10† 35.9 ± 3.3
Panel B. What the policy revises (%), mean over three training seeds
Setup Revises, of all questions Of the repairs Of the harms
DPR dense retrieval 38.8 96.0 46.4
BM25 59.5 94.6 43.0
BM25 reranked with MonoT5 35.5 94.0 38.0
Table 1 of the preprint (§5.1–5.2, not peer-reviewed). Repair and harm are the share of questions that revision turns from wrong to right and from right to wrong. The oracle picks the better branch for every question; its gap over always revising equals the harm rate. Gap closed is the policy’s gain over always revising divided by that gap. Policy cells are the mean ± SD over three training seeds; † marks the paper’s run-level significance test. The policy is a LoRA-trained scorer whose checkpoint and threshold were chosen on the development split.

When evidence matters: testing whether a multimodal model uses the image

Does a translation model use the image?

81% of the time, the best of 3 model families finds a fixed translation more likely next to the image it describes than next to the wrong one. 50% would be a random preference.

ImageCoMMuTE holds the translation fixed and swaps only the image, so any change in the model’s score comes from the image swap.

Conceptual
Image shown
Input “That’s lots of bucks!”“bucks”: deer or dollars Image Adeer Image Bdollars
Held fixed “Il y a beaucoup de cerfs !”the deer reading, matches image A
Model’s surprise at the translation lowerhigher

Matching image shown. If the model uses the image, the fixed candidate should be less surprising: lower perplexity.

VGAMT, the highest-scoring of the 3 model families, on the original CoMMuTE set. Dashed line: 50%, a coin flip.

  • ImageCoMMuTE (IC) 81% Same translation, two images: how often the model finds it more likely next to the image it describes.
More scores: the text test, preference flips and all six models
  • TextCoMMuTE (TC) 63% Same image, two translations: how often the model finds the correct one more likely.

Preference flips against a baseline that blends the two images into one (at most 50%)

  • Favorable flips (IPR) 13% Right translation with the real image, wrong one with the blended image.
  • Unfavorable flips (INR) 0% Wrong translation with the real image, right one with the blended image.
Tables 1–2 of the paper, original CoMMuTE set.
ModelICTCFavorable flipsUnfavorable flips
VGAMT 81% 63% 13% 0%
CLIP-Trans 58% 51% 1% 0%
Gated Fusion 51% 50% 1% 1%
Gated Fusion, gate 0.25 51% 52% 7% 5%
Gated Fusion, gate 0.5 50% 50% 5% 5%
Gated Fusion, gate 0.75 50% 49% 2% 4%

Scores use perplexity: how surprised the model is by a translation. A text-only model scores 50% on the text test (TC) by definition. Preference flips can reach at most 50%, because the set is split evenly between the two meanings.

Top: the probe, drawn with the paper’s own example; the shapes stand in for the photos, and the bar is not data. Scores as reported in Tables 1–2 of the WMT 2024 paper, each over 308 comparisons from 154 CoMMuTE examples. The paper’s stated limits (Limitations): English–French only, five images per set and a single reference translation.

Assessing the Role of Imagery in Multimodal Machine Translation

N. Kashani Motlagh (first author), J. Davis, J. Gwinnup, G. Erdmann, T. Anderson. WMT 2024.

My part: I designed ImageCoMMuTE and evaluated three English-to-French multimodal model families, plus gated variants. The finding, in the paper’s words: models can indeed meaningfully interpret visual information, though they may not leverage it sufficiently in the final decision.

  • Peer-reviewed

Now: end-to-end QA data, training, and evaluation

Computer Engineer II, DCS Corp

Supporting the Air Force Research Laboratory · Dayton, Ohio · May 2025 to present

  • Develop synthetic question-answer datasets from domain-specific documents and train QA models.
  • Own the full pipeline from data generation through training and evaluation, using Slurm in high-performance computing environments.

I evaluate the QA models with qualitative review of their outputs and quantitative scoring by automatic LLM judges.

Stack

  • Python
  • PyTorch
  • Hugging Face Transformers
  • LoRA / PEFT
  • vLLM
  • FAISS
  • Slurm
  • Singularity

Public engineering & background

Graduate Research Associate in Ohio State’s Computer Vision Lab (2021–2026, Prof. Jim Davis), preceded by five summers of AFRL-sponsored research in self-supervised vision, reject-option beam search, and remote sensing. Public 2026 engineering work includes a fast NumPy B-CDF re-run on four frozen vision backbones (37 parity tests) and a single-package rebuild of my temporal satellite pipeline (410 tests).

How I work

  1. Freeze the decision rule before testing.

    Reject-option thresholds are learned on held-out validation data from one significance level δ, without a hand-set rejection cost or coverage target. In RAG revision, checkpoints and thresholds are picked on dev and frozen before test, including unseen PopQA.

    Live figure
  2. Report every side of the tradeoff.

    Selective accuracy, declined accuracy, and coverage with counts for classifiers; paired repair versus harm for RAG revision, so average accuracy never hides silent regressions.

    Paired outcomes
  3. Isolate one variable at a time.

    ImageCoMMuTE holds the candidate translation fixed and swaps only the image. In RAG revision, masking or swapping retrieved passages drops policy gains from 1.10–1.33 to 0.18–0.25 points.

    ImageCoMMuTE
  4. Audit automated judges against a second judge and humans.

    Cross-checked 25,870 test pairs with a second LLM judge (96.46–96.74% per-answer agreement, κ = 0.93) and audited 960 answers with a blind non-author annotator (94.5% outcome agreement, κ = 0.78).

    Judge & human audit
  5. Verify reimplementations with automated tests.

    Checked the fast NumPy reject-option rule against its reference with 37 parity tests, and rebuilt the satellite imagery pipeline as a single package with a 410-test suite.

    Public code

Get in touch

Hiring for research, post-training, evaluation, or applied ML roles? Email is the fastest way to reach me.

nmotlagh@gmail.com
Status
Available now
Roles
Open to Research Scientist, Research Engineer, Member of Technical Staff, Applied Scientist, and ML Engineer roles.
Based
Columbus, Ohio. Open to relocating.
Work authorization
U.S. citizen; no visa sponsorship needed.
Education
PhD (2026), M.S. (2025), and B.S. with Honors (2021) in Computer Science and Engineering, Ohio State.
Service
Reviewer for CVPR (2022, 2023), ICCV (2023), and ECCV (2022).