# Testing Transformer derivations often filters out the people who can deliver

Date: 2026-11-18
Category: Technology
Tags: Interviews, Engineering Delivery, Recruitment
Summary: Derivation questions screen for review intensity, while the delivery side screens for attribution and trade-offs. This piece breaks down where the failure points of the two types of roles lie, and provides replaceable question types and a scorecard that can be implemented.

After an interview for an AI application role ended, a line remained on the whiteboard, wiped and rewritten: the scaled dot-product attention formula. The candidate struggled with it for over ten minutes, stuck on the positional encoding term, and the interview notes read "weak fundamentals." In the same batch, another record: the candidate didn't fully explain the matrix dimensions of multi-head attention, but brought out a retrieval pipeline they had built and clearly described how recall suddenly dropped on the third day after launch, and how they finally traced it from the logs to a tokenizer version change.

Put the two records side by side, and most teams would pick the first. That choice isn't wrong, but what it measures and what most people think it measures are not the same thing.

## Derivation questions test closed-book reproduction

Break a derivation question down and it has several strong formal features: single point, closed book, time-limited, has a standard answer, has an audience. Together, these measure first the fluency with mathematical notation and recent review effort, and second composure under pressure. These are real abilities, just with a very narrow scope.

Engineering delivery requires a different set. Requirements arrive vague and must be cut into acceptable steps; resources are always insufficient, so you must decide which metric to sacrifice first; when an online metric drops, you must judge whether it's data drift, an upstream change, or the model itself; and you must know when not to fix things. None of these can be demonstrated on a whiteboard.

The two share one intersection, called "being able to think something through clearly." Thinking it through in a derivation means completing a journey within a framework someone else has already defined, with a known endpoint; thinking it through in delivery means defining the framework yourself and deciding where to stop. The former trains completion, the latter trains trade-offs.

The cost is also unfavorable. An attention derivation takes a proficient person three to five minutes, a rusty one twenty, and with follow-ups it usually consumes over twenty minutes of the whole interview—the most expensive segment. The information returned is roughly equivalent in magnitude to "has this person systematically reviewed in the past few months."

| Dimension | Derivation question | Delivery question |
| --- | --- | --- |
| Standard answer | Yes | No |
| Scoring consistency | High | Low |
| Preparation method | Short-term cramming works | Only works if done long-term |
| Mainly measures | Notation fluency, memory, composure | Attribution, trade-offs, sense of magnitude |
| Misjudgment risk | Screens out proficient people who didn't review | Screens out proficient people who don't express well |

The last row of the table deserves a second look. Switching to delivery questions isn't more fair; it just swaps one type of misjudgment for another.

## Knowing it's irrelevant, why still test it

I don't think this is interviewer laziness; there are several very concrete organizational reasons behind it.

First, comparability. Derivation questions have right and wrong answers; five interviewers can give close scores to the same response. Delivery questions have no standard answer; for the same retrospective, some find it solid, others find it empty. When scores aren't comparable, the hiring committee can't hold a meeting.

Second, risk transfer. Rejecting someone who can't derive a formula—the reason is on paper and no one can find fault with it; rejecting someone who can't explain their project—the interviewer must bear the judgment themselves and face the challenge of "did you even understand?" Using a question with a standard answer as the gate minimizes the interviewer's personal risk.

Third, supply. Interviewers who can probe delivery details are scarce; people who can explain attention clearly are relatively plentiful. Reusing one question across all roles saves the interviewer's time, not the company's.

There's another layer that shouldn't be ignored: campus recruiting. When there are no delivery samples, derivation is indeed a cheap proxy metric—at least it screens out those who haven't even started. After ten years in AI products, I increasingly tend to see this question as a role-fit issue rather than an ability issue. The argument isn't to abolish it, but to differentiate by role.

## When derivation is a hard signal

There's a clear boundary: daily work is modifying model architecture, tuning training stability, reproducing papers, optimizing inference performance, writing low-level operators. For these roles, the deliverable itself is the implementation of formulas; derivation isn't exam content, it's the working language. Someone who can't derive will be stuck every day, so using it to screen is correct—and it should be tested deeply, derived on the spot, no memorization.

Application-layer roles are different. RAG, Agents, workflows, consumer assistants—these systems rarely fail on formulas. Common categories: recall for a certain query category collapses entirely because the chunking strategy doesn't match business terminology; tool-call parameters get overwritten by later natural language in multi-turn conversations; after context grows longer, the model starts ignoring middle paragraphs; the eval set is repeatedly used to tune prompts, metrics rise but production doesn't move. These problems can't be derived; they can only be accumulated through repeated diagnosis.

So judging whether to ask this question isn't about "does this role need to understand Transformers," but "where does failure live for this role."

```mermaid
flowchart TD
    A[岗位日常失败点] --> B{失败在模型结构}
    B -->|是| C[推导是硬信号]
    B -->|否| D{有可查交付样本}
    D -->|有| E[用样本追问三层]
    D -->|没有| F[推导当入门筛]
```

There's only one criterion for the fork. For roles answering "yes," derivation should be tested; for roles answering "no," keep at most one lightweight conceptual question, weighted within twenty percent of the whole interview, to filter out those completely unprepared—not to rank.

## Switching to delivery questions: what to ask specifically

Saying "test delivery ability" easily becomes empty talk; it must be concrete in the questions. Four common types, each with clear misjudgment points.

The first is a retrospective of an online issue they fixed themselves. Follow-ups must go three layers deep: how it was discovered, which directions were suspected and in what order they were ruled out, and looking back, at which stage it should have been caught earlier. Someone who only tells the result is exposed at the first layer, because they can't state the elimination order. The misjudgment point is someone who knows a colleague's project well; one follow-up—"which file did you specifically change in that fix"—settles it.

The second gives a buggy pipeline and asks for time-limited diagnosis. No need to actually run it; logs, config, and a piece of pseudocode suffice. Watch where they look first—input distribution or the model. This tests the debugging path, not breadth of knowledge.

The third is trade-offs under constraints. Give three numbers: latency budget, per-call cost ceiling, acceptable accuracy floor. Have them pick two and explain how the abandoned one is backstopped. Most people want all three; then ask "if you can only keep two, which do you cut," and response quality immediately stratifies.

The fourth is magnitude estimation. The token cost of a request pipeline, latency distribution, cache hit rate—roughly what range. People who've done real accounting ask first about call volume and peak ratio; those who haven't give a number directly, and very precisely.

Scoring doesn't need to be complex—four dimensions, with behavior described for each level is enough.

```yaml
dimensions:
  - name: 归因顺序
    level_3: 说得出先排除什么，为什么先排它
    level_2: 能列出可能原因，顺序含糊
    level_1: 只讲最终结论
  - name: 取舍
    level_3: 明确放弃一个指标，并给出兜底方案
    level_2: 承认有取舍，没说放弃后怎么办
    level_1: 三个都要
  - name: 量级感
    level_3: 先问调用量，再给区间
    level_2: 给区间但说不出依据
    level_1: 直接给精确数字
  - name: 边界
    level_3: 主动说出这套方案什么时候不成立
    level_2: 被追问后能补上
    level_1: 认为方案通用
```

## The cost of switching, many teams can't afford

Replacing derivation questions isn't free; this must be stated clearly.

Interviewers must understand the business to follow what the candidate is saying and probe further, which requires the interviewer to have done similar work. When scores aren't comparable, calibration is needed—several people scoring the same recording together to align standards, which takes considerable time per round. Rounds may go from three to four, lengthening the hiring cycle—a disadvantage when competing for talent. Delivery questions also easily degenerate into "telling projects"; candidates who tell well may not have done well, so follow-up density must be sufficient, and follow-up density depends on interviewer skill.

These costs are real, so many teams continue testing derivation—not unaware of the problem, but because that's the cost they've already amortized.

To drive change, the steadier approach is a small-scale trial first: for the same role, add a delivery question for half the candidates and not the other half, then six months later compare how long the two groups of new hires take to independently handle requirements. With data, discuss a full switch—more effective than debating "is derivation useful" in a meeting.

## My current default configuration

Application roles: one lightweight conceptual question, ten minutes, asking why attention is divided by the magnitude √d — answering it is enough; failing it is not an automatic reject, just mark as "to be observed." The main weight goes to two rounds of delivery-facing interviews, one retrospective, one trade-off plus estimation. Research roles are the reverse: derivation dominates, done live, not just talking through the approach.

This configuration is not optimal; it is a compromise under three constraints: hiring cycle, interviewer supply, and scoring comparability. If the team's interviewers all come from an application-layer background, derivation questions can be dropped entirely, because at that point they don't even have the "comparability" advantage — only form.

Next time you schedule an interview, ask first: if the candidate answers this question correctly, what does that tell us they would succeed at here? If you can't answer that, the question should be replaced. If you can, then test it thoroughly.
