miyuiu/predictability-gradient
0
1---2title: predictability-gradient3emoji: 🧬4colorFrom: gray5colorTo: green6sdk: docker7app_port: 78608pinned: false9license: mit10short_description: Interactive companion for the predictability-gradient paper11---12 13# predictability-gradient14 15Research showcase for the paper:16 17> When Does Attention Help? A Predictability Gradient for Genomic Trait Prediction,18> Validated by Virulence-Factor Attribution19 20This Space is a paper companion, not a production predictor. It presents the main21scientific result as an interactive exhibit:22 23- attention-pooling helps machinery traits more than compositional traits;24- the advantage collapses at family-level holdout;25- pathogenicity attention concentrates on a few proteins;26- top-attended proteins are enriched for VFDB virulence factors;27- top-protein ablation flips pathogenic predictions.28 29## Refreshing assets30 31From the repository root:32 33```bash34python3 spaces/research_showcase/scripts/build_assets.py35```36 37The script reads `runs/*.json` and writes:38 39```text40spaces/research_showcase/assets/predictability_gradient.json41```42 43That JSON is intentionally small so the Space can run on CPU-basic without access to44the full 105 GB per-protein embedding corpus.45 