Tasks

Task는 model이 무엇을 출력해야 하고 성공을 어떻게 측정할지 정의합니다. Architecture는 정보가 흐르는 방식을, modality는 input signal을, task는 target behavior를 설명합니다.

같은 input도 여러 task를 가질 수 있습니다.

중요한 질문은 가 무엇을 뜻하는가입니다. 는 class, scalar, ranked list, generated sequence, box, mask, answer, retrieved item, structured object일 수 있습니다.

이동 지도

필요시작점일반적인 metric 경계
define the full task contractTask specificationloss, metric, split, validity rule
choose the output typeTask output spaceclass, scalar, rank, sequence, graph, coordinate
connect input modality to taskModality-task mapraw input, representation, output, metric
predict labels or valuesClassification, Regressioncalibration, threshold, error scale
rank or retrieve itemsRanking, Retrieval, Rerankingtop-k, NDCG, enrichment, recall
generate objectsSequence generation, Structured predictionvalidity, diversity, likelihood, downstream score
localize in spaceLocalization, Object detection, SegmentationIoU, mask quality, localization error
model molecules or proteinsProperty prediction, Interaction predictionassay context, split unit, leakage risk
model structureCoordinate prediction, Graph predictiongeometry validity, invariance, equivariance

Task Contract

Task는 입력과 출력 이름만이 아니라 decision boundary입니다.

where is input space, is output space, is allowed context, is training loss, is evaluation metric, and is the split rule.

Contract partAskRoute
input spacewhat object does the model receive after preprocessing?Modalities, Representation contract
output spacewhat counts as a valid prediction?Task output space
allowed contextwhat information is available at inference time?Evaluation protocol
losswhat signal is optimized during training?Loss function, Learning methods
metricwhat behavior decides success?Metric selection
split rulewhat unit must be held out?Dataset split contract

If two papers use the same model family but different , context, metric, or split, they are not solving the same task.

Output Space Map

Output typeTypical taskMetric routeFailure to count
classclassification, detection decisionClassification metricsthreshold and prevalence mismatch
scalarregression, property predictionRegression metricsunit, censoring, target scale
probabilityrisk, confidence, uncertaintyProbability metrics, Calibrationmiscalibration
ranked listretrieval, screening, rerankingRanking metricscandidate pool mismatch
sequencetext, protein, SMILES, trajectoryGeneration evaluationinvalid syntax and filtered denominator
set or graphstructured prediction, graph predictionMetric selectionpermutation, matching, graph validity
coordinatesstructure, pose, localizationPose quality, Regression metricsalignment, symmetry, atom mapping
action or traceagents, tool workflowsAgent evaluationside effect, recovery, completion evidence

Task vs Objective vs Architecture

These are different axes.

AxisExampleCommon Confusion
taskclassify activity, rank candidates, generate molecule, predict coordinatesdescribed as model family
objectivecross-entropy, contrastive loss, denoising score, flow matchingtreated as the final task
architectureCNN, Transformer, GNN, SSM, equivariant modelcredited for gains caused by objective or data
modalitysequence, image, graph, 3D structureused as if it already defines the output
evaluationAUROC, RMSE, RMSD, NDCG, validitymetric chosen after seeing results

For example, a Transformer can be used for classification, retrieval, sequence generation, or reranking. A diffusion model can be trained for image generation, molecule generation, structure generation, or denoising representation learning. The task note should pin down the output behavior before architecture or objective claims.

Generalization Unit

Task specification should name the unit of generalization.

Task familyExample unitSplit unit risk
property predictionmolecule, material, proteinscaffold, homolog, assay source
interaction predictionpair or complextarget family, ligand scaffold, pair leakage
retrievalquery-candidate pairshared document, shared query template, corpus time
generationsampled objectduplicated training object, invalid filtered output
structure predictionsequence, complex, residue settemplate, homolog, structure source
agent tasktask instance and tool tracerepeated workflow template or hidden tool state

The split unit should be stronger than the claim. If the claim is transfer to new targets, a random row split is usually too weak.

Task 묶음

Paper Reading Pattern

When reading a method paper, rewrite the task before reading the model diagram.

FieldWrite
inputraw object and model-ready representation
outputexact prediction type and validity rule
contextwhat information is allowed at inference
losstraining signal and supervision source
metricprimary metric and diagnostics
splitheld-out unit and leakage audit
baselinesimplest relevant task baseline

This keeps model novelty separate from task definition.

확인할 것

  • output space는 무엇인가?
  • 어떤 task output space가 valid prediction을 제한하는가?
  • input, output, validity, loss, metric, split을 포함한 task specification이 있는가?
  • raw input, representation, output space, metric을 연결하는 modality-task map이 있는가?
  • example unit은 무엇인가?
  • 어떤 split unit이 의도한 generalization을 검증하는가?
  • model은 predicting, ranking, retrieving, generating, localizing, segmenting 중 무엇을 하는가?
  • retrieval은 최종 output인가, similarity-search stage인가, reranking pipeline인가?
  • task는 entity-level, pairwise, context-conditioned, structured 중 무엇인가?
  • output은 independent, sequential, structured, ranked, spatial, temporal 중 무엇인가?
  • metric이 user-facing behavior와 맞는가?
  • data split이 이 task의 leakage를 막는가?
  • output이 valid object, syntax, molecule, structure, action으로 제한되는가?