Formula Pattern Catalog
Use this catalog when a paper equation is important but the notation is unfamiliar. The goal is to rewrite the equation into a known pattern, define the sampled unit, and connect it to the claim.
Most paper formulas can be reduced to:
where is the sampled unit, is the sampling distribution, and is a model, loss, score, update, estimator, or metric.
Pattern Map
| Pattern | Canonical Form | Main Question |
|---|---|---|
| Empirical risk | what unit, label, and loss are optimized? | |
| Maximum likelihood | what distribution is modeled? | |
| Conditional likelihood | what is conditioned on and what is predicted? | |
| Cross entropy | are targets hard labels, soft labels, or distributions? | |
| Contrastive loss | what are anchor, positive, negative set, and temperature? | |
| Reconstruction | what information is allowed through the bottleneck? | |
| ELBO | what is latent, decoder, prior, and approximation? | |
| Denoising | what noise level and target are used? | |
| Flow matching | what path and velocity target define training? | |
| Score matching | what score is estimated and how is it sampled? | |
| Message passing | what graph, neighbors, messages, and aggregation are used? | |
| Attention | what tokens attend to what, under which mask? | |
| Equivariance | what group acts and how should output transform? | |
| Metric estimate | what examples, selection rule, and denominator define the score? |
Supervised Objective
The default supervised pattern is:
- : input object or representation.
- : label, target, class, scalar, ranking, coordinates, or structured output.
- : model.
- : surrogate loss.
- : training examples after sampling and filtering.
Checks:
- Does mean raw input or processed representation?
- Does include context such as target, assay, time, or condition?
- Is the same object as the final metric?
- Is the final test set untouched by model selection?
Likelihood and Conditional Likelihood
Unconditional likelihood:
Conditional likelihood:
- : observed object or condition.
- : predicted object.
- : optional context such as prompt, target, pocket, assay, or class.
Checks:
- Is the paper modeling data likelihood, label likelihood, or sequence likelihood?
- Is likelihood tractable or replaced by a surrogate bound?
- Does high likelihood imply the reported utility claim?
Contrastive Objective
A common contrastive form is:
- : anchor representation.
- : positive representation.
- : negative representation.
- : negative set.
- : temperature.
Checks:
- What makes a positive pair valid?
- Are negatives true negatives, in-batch negatives, hard negatives, or false negatives?
- Does the downstream evaluator test representation quality or only the contrastive setup?
Generative Path Objective
Diffusion, flow matching, and score models usually define a path:
- : clean data sample.
- : noised or interpolated state.
- : time or noise level.
- : condition.
- : predicted noise, score, velocity, or clean sample.
- : training target.
Checks:
- Is the target noise, score, velocity, , or another parameterization?
- What sampling solver turns the learned field into a sample?
- Are validity, novelty, diversity, and utility evaluated separately from the training loss?
Graph and Set Aggregation
Graph equations often hide permutation assumptions:
- : neighbors of node .
- : message function.
- : permutation-invariant aggregation such as sum, mean, max, or attention.
- : update function.
Checks:
- What is a node: atom, residue, token, region, candidate, or object?
- What is an edge: bond, contact, distance threshold, sequence adjacency, or learned relation?
- Does the aggregation preserve the required permutation behavior?
Coordinate and Symmetry Rule
Coordinate-heavy models should state the transformation rule:
For equivariant outputs:
For invariant scalar outputs:
Checks:
- Is the target scalar, vector, coordinate, force, velocity, or field?
- Is the group translation, rotation, reflection, permutation, , , or ?
- Does preprocessing leak a coordinate frame unavailable at inference?
Metric and Estimator
Reported scores are estimators:
- : evaluated examples after filtering.
- : metric function.
- : prediction after thresholding, ranking, sampling, or selection.
- : reference label or object.
Checks:
- Is the metric averaged per example, per target, per scaffold, per dataset, or per task?
- Was the threshold, checkpoint, or sampler selected on validation data?
- Are confidence intervals, paired comparisons, or seed variation needed?
Claim Routing
| Formula Looks Like | Route First |
|---|---|
| supervised loss | Machine learning, Loss function |
| likelihood or KL | Information and likelihood |
| contrastive or masked objective | Learning methods |
| diffusion, score, or flow objective | Generative models |
| graph message passing | Architectures, Discrete math and graphs |
| coordinate transform | Geometry and symmetry |
| reported metric | Evaluation math |
| mixed AI and domain claim | AI Computational Biology Math contract |