SubcellPert / benchmark /protocols /context_ood_oracle.yaml
king159's picture
init
a57b684
Raw History Blame
4.68 kB
schema_version: 1
id: context_ood_oracle
generalization_axis: cellular_context
evaluation_mode: oracle_count
name: Cellular-context OOD conditional RNA localization with oracle target counts
status: implemented
data_tier: strict
observation_unit: cell
paired_counterfactual: false
required_columns:
- dataset_id
- unit_id
- sample_id
- condition
- cell_id
- cell_type
- gene
- x
- y
split:
group_key: context
task_manifests:
context: benchmark/tasks/context_ood_lung.yaml
expansion: benchmark/tasks/context_ood_expansion.yaml
biological_unit: benchmark/tasks/context_ood_biological_unit.yaml
reaudited: benchmark/tasks/context_ood_reaudited.yaml
reference: scPerturBench-inspired Cellular_context_generalization/o.o.d.; local
full-vocabulary metrics are numerically non-equivalent
rule: jointly train the preregistered known-transition family on all non-test contexts
and hide every target response assigned to the held-out context group
fit_group: independent checkpoint unit; one or more response folds may share it
source_cells_in_test_context_available: true
source_and_target_population_support_gate: required
executable_context_keys:
- cell_type
- patient_id
- donor_id
transition_specific: false
transition_family_policy: frozen per fit group
biological_unit_role: leakage_audit_and_clustered_uncertainty
prohibited:
- held_out_context_target_cells_in_fit
- held_out_context_target_rna_in_fit
- random_cell_split
- random_molecule_split
count_policy:
mode: exact_target_per_cell_gene
purpose: isolate conditional localization from abundance prediction
target_geometry_access: counts_only_physically_redacted
foundation_context:
conditioning: source_only
source_cell_policy: all_declared_source_cells_no_subsampling
target_response_data_used: false
representation: individual_source_cell_embeddings
coordinate_policy:
eligible_semantics:
- decoded_molecule
- capture_site
capture_site_feature_types:
- dnb
- bead
- polony
- sequencing_cluster
- grid
event_representation: unit_event_rows
unit_event_value: 1
capture_site_gate: deterministic pre-normalization expansion plus artifact hashes,
global lineage, and exact sample/unit/condition/cell/gene reconciliation; no frozen
capture-site importer yet
aggregation: coordinate semantics and capture feature type are explicit non-pooled
strata
required_axes:
- x
- y
optional_axes:
- z
frame: cell_centric
cell_weighting: equal_weight_per_nonempty_cell
metrics:
primary: cell_balanced_sliced_wasserstein
secondary:
- spatial_centroid_rmse
- radial_wasserstein
- unpaired_cell_spatial_feature_sliced_wasserstein
- prediction_unit_coverage
ranking: average fine contexts within evaluation context group, groups within transition,
and transitions equally with metric-specific row coverage; no finite-only ranking
across unequal coverage; no composite score
expression_prediction: not_applicable_oracle_count_integrity_gate_only
rna_subsampling: false
gene_panels:
- all_gene
- top_100_deg
uncertainty:
implementation_status: planned_before_final_reporting
resampling_unit: biological_unit
single_unit_policy: NA_with_unit_coverage
prohibited_pseudoreplicates:
- genes
- cells
- molecules
- folds
- model_seeds
eligible_datasets:
- gse291460_spinal_ko_xenium
- gse269719_kidney_iri_xenium
- gut_microbiota_merfish
- gse280376_cardiac_repair_xenium
- gse296517_breast_fus_cosmx
- gse296577_gbm_ohsv_xenium
- gse325253_lung_drug_xenium
- merfish_sickness
- dss_colitis_merfish
- gse295862_adipose_weightloss_xenium
- uc_vedolizumab_cosmx
candidate_datasets: []
eligible_baselines:
- count_matched_resampling
- gaussian_affine_transport
- radial_quantile_transport
- scgpt_spatial
- spatialformer
- scgpt
- scfoundation
success_artifacts:
- result_json
- exact_config
- split_manifest
- cache_manifest
- seed
- code_revision
execution_protocol: scperturbench_scfoundation_cell_oracle
execution_note: All registered baselines use scripts/run_cell_oracle.py; the current
complete-cell smoke gate is required for scientific matrix execution.
training:
configuration: configs/experiments/cell_oracle.yaml
sampling: benchmark/sampling/scperturbench_scfoundation.yaml
initialization: independent_from_joint_checkpoints
input: complete_cell_counts_and_all_RNA_coordinates
objective: unpaired_complete_cell_distribution
count_head: absent
target_geometry: development_only; test geometry after all prediction seals
checkpoint_selection: final_fixed_15_epochs_on_frozen_development_union
evaluation_unit: context_transition_cell_distribution