Agent Post-Training ML Screen: System Ownership, Trade-Offs, and Evaluation Rigor

Hard · Behavioral & Leadership · Machine Learning Engineer · Technical Screen

Prompt

You are interviewing at Figma for a Machine Learning Engineer opening centered on post-training multi-step AI agents. Across the recruiter conversation and the hiring manager screen, rather than quizzing textbook theory, the interviewers examine your career trajectory and drill deeply into one hands-on ML system you built—covering recruiter-level scope and motivation first, followed by code-level hiring manager probing into modeling trade-offs, staging strategy, and evaluation rigor. Before diving in, align where helpful on whether to present a solo-owned system or carve out your slice of a larger squad effort, how concise to keep the initial overview before deep-dive questioning, how to abstract confidential employer metrics safely, and whether "strategy" spans both data/training progression and milestone staging.

Prepare cohesive, evidence-backed responses across all four parts:

  1. Full-Lifecycle ML System: Present a production ML initiative you led or owned—covering the user or business bottleneck, target success metric, your personal remit versus partner engineers, the complete pipeline from data curation through training, evaluation, and live serving, quantified lift over baseline, and one aspect you would redesign in hindsight.
  2. Modeling Choices, Strategy, and Implementation: Unpack the pivotal technical calls inside that system—naming rejected alternatives, empirical evidence (error audits, controlled ablations, latency or memory ceilings) behind each call, the staged progression connecting those choices and how intermediate findings reshaped it, down to concrete code-level mechanics.
  3. Evaluation Architecture and Validation: Detail how you built and ran evaluation—tying primary and safety metrics to real product outcomes, isolating held-out slices from train-test contamination, scoring model outputs reliably, quantifying statistical uncertainty alongside online production validation, and citing a concrete moment where evaluation data redirected your technical plan.
  4. Career Trajectory and Figma Alignment: Share a constructive, forward-looking reason for exploring roles beyond your current workplace without criticizing your employer, articulate a specific long-term ML career vision, and connect that direction directly to post-training multi-step software agents at Figma.

Scope & Expectations

  • Anchor the entire walkthrough on a project you can defend down to training scripts, hyperparameters, data filters, and failure slices, drawing crisp boundaries between your ownership and teammates' work.
  • Justify every modeling, data, and serving call against plausible rejected options using concrete pilot experiments, error-bucket counts, and production latency or compute constraints.
  • Show end-to-end evaluation rigor—leakage-resistant holdout splits, execution-grounded or human-calibrated grading, confidence intervals, online validation, and proof that evaluation steered engineering choices.
  • Articulate a positive, authentic career arc connecting your hands-on post-training and evaluation experience to verifiable aspects of Figma's collaborative design platform.

Step-by-step walkthrough

  1. What the recruiter and hiring manager are really testing

    These two screens revolve around one hands-on machine-learning system for a Figma Machine Learning Engineer opening centered on post-training multi-step AI agents—where post-training means adapting a pre-trained base model via fine-tuning, preference optimization, or reinforcement learning so it follows instructions accurately, and an AI agent means a model that accomplishes user goals by planning and executing multi-step tool calls inside real software.

    The two interviewers test complementary layers of the same story:

    • End-to-end personal ownership (Part 1). What you personally built from raw data to live serving versus what product or infrastructure engineers handled.
    • Evidence-driven judgment (Part 2). Why you chose your model size, training method, and staging order over plausible alternatives—backed by error counts, latency limits, and ablations (controlled experiments changing one ingredient at a time to measure its exact impact).
    • Evaluation rigor (Part 3). Post-training can never beat the quality of its reward and evaluation signal, so the hiring manager probes metric validity, data leakage prevention (stopping near-duplicate customer examples from crossing between training and test sets), statistical confidence, and online validation.
    • Forward-looking career direction (Part 4). Why moving into agent post-training at Figma is a natural next step rather than an escape from your current employer.

    Settle the clarifying expectations cleanly at the start: if your best project was a team effort, state your exact boundary in sentence one; keep your initial overview around three minutes so the manager can pick where to drill down; generalize confidential numbers into rounded orders of magnitude; and address "strategy" across both project staging and training-data ordering.

  2. Choose a tool-use project and write a decision log

    Pick the single project you can defend down to Python lines and failure examples—ideally involving structured tool calling, post-training, or evaluation harnesses. Prepare it at three zoom levels and write a concrete decision log before the call:

    30 seconds   Problem, my exact role, offline + online win over baseline
    3 minutes    End-to-end Part 1 arc: data -> SFT + DPO -> sandbox eval -> serving -> 1 regret
    20 minutes   Code-level drill-down backed by the rejected-alternative table below
    

    Define the core post-training methods clearly on first mention: Supervised Fine-Tuning (SFT) updates model weights on curated (request, target_tool_calls) examples; LoRA (Low-Rank Adaptation) freezes the base model's billions of weights and trains tiny adapter matrices alongside them to slash GPU memory; and DPO (Direct Preference Optimization) teaches a model to favor human-preferred outputs over rejected ones directly from (prompt, chosen, rejected) triples without running unstable reinforcement-learning loops.

    Decision Chosen Rejected alternative Empirical evidence that decided it
    Base model Fine-tune an open-weights 8B model Prompt a large hosted API model Auditing 300 baseline errors showed 60% were schema mistakes; hosted retrieval hit 69% but blew our <1 s/step latency budget
    Weight update LoRA adapters Full-parameter fine-tuning 10k-example pilot landed within 1 percentage point of full SFT using a fraction of GPU memory
    Alignment stage DPO on human preference pairs Online RL against sandbox pass/fail Sandbox pass/fail missed subjective chart readability; DPO captured human taste cleanly
    Core metric Execute calls in sandbox & compare state Exact text string match Distinct tool-call sequences often build the exact same valid analytics chart
    Holdout split Split by customer account Random request split Random split leaked near-duplicate team queries, inflating accuracy to 86% vs. 72% honest

    Keep your stage-by-stage accuracy numbers consistent everywhere: 64% prompted baseline -> 69% with schema retrieval -> 72% SFT on mined logs -> 76% after adding sandbox-verified synthetic rare-field queries -> 79% after DPO (2.5 s -> 0.5 s per step).

  3. Structure the four parts and evaluation code

    Use a crisp blueprint for each part so every claim connects a metric to an engineering decision:

    Part 1 (ML System)  Goal & baseline -> My scope vs. team -> Data, SFT/DPO, eval, GPU fallback -> Offline + A/B result + 1 regret
    Part 2 (Choices)    Options weighed -> Error/pilot evidence -> Choice -> Gated stage-by-stage strategy
    Part 3 (Evaluation) Execution-state metric + safety guardrails -> Customer-split holdout + human-calibrated judge
                        -> Cluster paired bootstrap CI -> Leakage catch that reshaped our roadmap
    Part 4 (Trajectory) Positive pull from maintenance phase -> Agent post-training goal -> Figma node-tree fit
    

    If the hiring manager asks how you verified that a +3-point gain from DPO wasn't random noise across 1,500 customer-grouped test requests and 200 hard cases, walk through a cluster paired bootstrap—repeatedly resampling whole customer accounts with replacement while keeping Model A and Model B paired on the exact same requests, because requests from the same customer are correlated:

    import random
    
    
    def paired_bootstrap(results_by_customer, trials=2000, seed=0):
        """Estimate a 95% confidence interval for (System B - System A) accuracy.
    
        results_by_customer: list of customer buckets; each bucket holds (a, b) tuples
        where a, b in {0, 1} mark whether System A and System B solved that request.
        """
        rng = random.Random(seed)
        customer_buckets = list(results_by_customer)
        num_customers = len(customer_buckets)
        accuracy_diffs = []
    
        for _ in range(trials):
            net_solved_diff = 0
            total_requests = 0
            # Resample whole customers with replacement to preserve within-customer correlation
            for _ in range(num_customers):
                bucket = customer_buckets[rng.randrange(num_customers)]
                for solved_a, solved_b in bucket:
                    net_solved_diff += solved_b - solved_a
                    total_requests += 1
            accuracy_diffs.append(net_solved_diff / total_requests)
    
        accuracy_diffs.sort()
        # Symmetric 2.5th and 97.5th percentiles (e.g. indices 50 and 1949 for 2000 trials)
        lower_idx = int(0.025 * trials)
        upper_idx = int(0.975 * trials) - 1
        return accuracy_diffs[lower_idx], accuracy_diffs[upper_idx]
    
  4. Sample answer for a Figma Machine Learning Engineer

    Here is a cohesive first-person walkthrough (~365 words) covering all four parts, using only well-known public facts about Figma (a collaborative, browser-based design tool whose public Plugin API exposes files as structured node trees and which ships AI features for generating and editing designs):

    Full-lifecycle ML system. At a B2B analytics company, I owned data, post-training, and evaluation for an in-product agent that turns requests like "weekly churned EU accounts last quarter" into multi-step query, filter, and chart tool calls; two product engineers owned UI integration and serving. Our prompted hosted-model baseline solved only 64% of requests at 2.5 seconds per step, against our target of 75% under 1 second. I mined 40,000 logged sessions where users manually built views after asking, generated 15,000 synthetic queries covering rare schema fields—dropping any that failed sandbox execution—and ran LoRA supervised fine-tuning on an 8B open-weights model followed by DPO on human preference pairs, serving on our GPUs with an automatic schema-validation fallback. Held-out task success climbed from 64% to 79% at 0.5 seconds per step, and a two-week A/B test lifted completed sessions without undo from 41% to 47%. My biggest regret was building the sandbox evaluation harness in month two instead of week one, forcing me to re-score early runs.

    Modeling choices and staged strategy. Auditing 300 baseline errors revealed 60% were schema mistakes; prompt retrieval reached 69% but stayed too slow, justifying an 8B fine-tune. A 10,000-row pilot showed LoRA matched full fine-tuning within one point at far lower GPU memory, and DPO beat binary execution RL for stage two because human raters judged chart-type fit that pass/fail execution missed. Every stage had to beat the prior stage on our frozen benchmark before advancing.

    Evaluation architecture. Rather than string-matching tool calls, our harness executed predicted sequences in an isolated sandbox and compared resulting data states, tracking invalid calls and zero unconfirmed deletions as strict guardrails, plus an LLM judge calibrated against two human raters on 300 chart choices. A customer-clustered paired bootstrap gave a ±2.5-point 95% confidence margin. Crucially, switching from a random split (86%) to a customer split (72%) exposed near-duplicate leakage and steered us toward synthetic rare-field data (76%) instead of overfitting longer.

    Career trajectory and Figma fit. With our assistant now in maintenance mode, I want to focus full-time on post-training multi-step software agents. Figma's collaborative browser files are structured node trees exposed through its Plugin API—combining verifiable structural edits with subjective visual taste, the exact evaluation frontier I want to help lead.

  5. Survive the hiring manager's technical drill-down

    Expect the manager to pick one stage and ask "why?" three times in a row. Have concrete answers ready:

    • Noisy mined user logs: Users who built a chart manually sometimes changed their mind mid-session. Explain how you audited 500 mined pairs (finding ~88% true alignment), stripped personal data under customer terms, and filtered sessions with zero overlapping fields—while owning the blind spot that filter created on vague prompts.
    • Why +15 offline points (+64% to 79%) became +6 online points (+41% to 47%): Offline accuracy measures single well-formed requests, whereas online completion spans full multi-turn sessions where users also abandon for non-model reasons—and slicing A/B logs revealed short, ambiguous prompts that your training filter had excluded.
    • Code-level training & serving specifics: Know your exact LoRA rank and target projection layers, learning rate, sequence length, DPO beta temperature, JSON tool-call formatting, schema validator rules, and live fallback trigger rate. If an exact constant slips your mind, explain how you swept and selected it rather than guessing.
    • Reversal thresholds: State calmly what evidence would flip each decision—for instance, if a fast distilled hosted API met the 0.5-second latency budget and >78% accuracy at lower cost, maintaining self-hosted GPU serving would no longer pay off.

Intuition & how it works

Think of post-training an AI agent—adapting a pre-trained language model to plan and execute multi-step software actions—like coaching a line cook in a busy restaurant kitchen. Grading cooks by checking whether they chopped onions before carrots word-for-word against a printed recipe fails whenever two valid sequences produce the exact same soup; what actually works is tasting the finished bowl in a test kitchen (execution-based evaluation) and having seasoned chefs compare plating choices side by side (preference tuning). In a two-stage ML screen, the recruiter checks that you can explain the whole kitchen clearly, while the hiring manager checks that you actually ran the stove.

Naive interview answers fail here in two ways. First, candidates drift into textbook definitions of LoRA (Low-Rank Adaptation, training tiny adapter matrices instead of updating every model weight) or reinforcement learning without naming the baseline error counts, latency limits, and rejected alternatives from their own project. Second, many evaluate structured tool calls using exact string matching on a random train/test split—celebrating an inflated offline accuracy that vanishes in production because near-duplicate requests from the same customer leaked across the split.

Walking through a tiny five-step project trace shows how rigorous evaluation drives every technical decision:

1. Error audit     -> 300 baseline failures (64% success, 2.5 s/step): 60% are schema errors -> motivates 8B SFT
2. Leakage catch   -> Random split scores 86%, customer split drops to 72% -> exposes near-duplicate leakage
3. Targeted data   -> Add 15k sandbox-verified synthetic rare-field examples -> lifts honest score 72% -> 76%
4. Alignment (DPO) -> Train on human chart-preference pairs -> reaches 79% (±2.5% cluster bootstrap CI), 0.5 s/step
5. Online A/B      -> Completed sessions without undo rise 41% -> 47%; error slicing uncovers vague-prompt gap

Every modeling choice (8B LoRA SFT, synthetic schema coverage, and DPO) earns its place only because an honest, leakage-free sandbox benchmark proved it moved task success.

What interviewers look for

  • Unmistakable hands-on depth across the pipeline. Clear "I" vs. "we" boundaries across data curation, Supervised Fine-Tuning (SFT) (updating weights on target input-output examples), preference tuning, sandbox evaluation, and production fallback guardrails.
  • Decisions paired with rejected alternatives and evidence. Explaining why you ruled out prompt retrieval, full-parameter fine-tuning, or online reinforcement learning using pilot ablations (experiments changing one variable at a time), GPU memory math, or latency budgets.
  • A coherent staging strategy. Sequencing investments deliberately—evaluation harness first, clean real logs second, targeted synthetic coverage third, and DPO (Direct Preference Optimization, aligning outputs directly on human chosen-vs-rejected pairs) last—with strict promotion gates between stages.
  • Execution-grounded, leakage-free evaluation. Scoring multi-step tool calls by executing them in an isolated sandbox and comparing final state rather than raw strings, splitting holdout sets by customer account to block data leakage, calibrating any LLM-as-a-judge (using a language model to grade subjective quality) against human raters, and quantifying uncertainty via cluster paired bootstrap (resampling whole customer groups with replacement while keeping model pairs aligned).
  • An evaluation result that changed your plan. Concrete proof—such as catching the 86%-to-72% split drop—that your evaluation steered engineering investment rather than rubber-stamping launches.
  • Authentic alignment with agent post-training at Figma. Moving toward multi-step software agents and connecting naturally to verifiable public facts about Figma's structured node-tree documents and Plugin API.

Common mistakes

  • Picking a sprawling team flagship where you only tuned one hyperparameter, causing your story to collapse on the third "why?" probe.
  • Evaluating structured JSON or tool calls with BLEU, ROUGE, or exact string match, which penalizes valid alternative action orderings and misses broken state mutations.
  • Splitting correlated user or enterprise data randomly, leaking repeated customer templates into training and reporting illusory 85%+ offline accuracy.
  • Trusting an uncalibrated LLM judge without measuring human inter-rater agreement or checking bias toward longer outputs.
  • Claiming 1–2 point offline gains as victories without computing a cluster-aware confidence interval or validating impact in an online A/B test.
  • Reciting generic textbook ML pros and cons when the hiring manager asks for your actual LoRA rank, data filtering rules, or failure slices.
  • Criticizing your current company or stating a vague career goal ("I want to work on cool foundation models") disconnected from agent post-training.

Follow-up questions

  • Suppose your timeline were cut in half—which stages or components would you drop first, and what trade-off would you accept? Protect and build the sandbox evaluation harness and customer-level holdout split in week one, because fast, trustworthy measurement prevents every wasted training run. Drop the DPO preference-tuning stage—which took weeks of human annotation for +3 offline points when LoRA SFT plus synthetic data already hit 76% against the 75% goal—and replace the sophisticated LLM synthetic-query pipeline with lightweight deterministic templates over the rarest schema fields. State openly the trade-off you accept: roughly 3 points of chart-selection polish, which you can iterate on safely post-launch once the live A/B loop is running.
  • What experimental finding caught you off guard during the project, and how did you rule out artifacts or bugs? Synthetic requests generated purely from database schema definitions boosted accuracy on real held-out customer queries by +4 percentage points (72% to 76%), far more than expected given synthetic phrasing often looks artificial. To rule out data leakage or scoring bugs, confirm first that the generator never saw held-out customer schemas or test prompts and run embedding-similarity checks between synthetic rows and test queries to verify zero near-copies. Next, re-train across three random seeds, slice the accuracy gain by field rarity to confirm improvements concentrated on rare tail fields just as hypothesized, and verify the lift holds in live A/B traffic.
  • How would you redesign your benchmark if the system acted as an autonomous agent executing multi-turn tool calls? Score the final state of a resettable sandboxed environment rather than individual intermediate calls, since an autonomous agent can recover from a mid-trajectory search miss and still produce the exact right design or report. Layer in trajectory-efficiency metrics—step count, invalid tool arguments, latency, token spend, and error-recovery rate after simulated tool failures—alongside hard zero-tolerance guardrails on irreversible actions like unconfirmed deletions. Because multi-turn sampling variance compounds across steps, run each benchmark task k times (for instance, 5 rollouts) to track both average pass rate (pass@1) and reliability when every run must succeed (pass^k), pair ambiguous tasks with a simulated user persona, and audit a weekly human sample of full multi-turn traces.
  • Walk me through a technical bet on this project that missed the mark and how you uncovered the problem. Dropping mined training sessions whenever the user's initial prompt and final chart shared zero schema field names looked like a smart noise filter—until it silently deleted nearly every high-level, ambiguous prompt like "how is business trending this quarter?" Because the exact same pipeline built our offline test set, neither training nor offline evaluation contained a single ambiguous request, training the model to hallucinate a random chart instead of asking a clarifying question. The miss surfaced in our live A/B test when slicing user "undo" clicks revealed short, vague prompts had the worst undo rate; reading 100 undone transcripts exposed the root cause and led to adding an explicit ask_clarification tool backed by 2,000 curated examples and a dedicated ambiguous-prompt eval slice.

Follow-up questions

Similar questions

More Figma interview questions

All 29 Figma questions →