LLMs can construct powerful representations and streamline sample-efficient supervised learning
Organizations: MIT · Harvard Medical School
Abstract
As real-world datasets become more complex and heterogeneous, supervised learning is often bottlenecked by input representation design. Modeling multimodal data, such as time-series, free text, and structured records, often requires non-trivial domain expertise. We propose an agentic pipeline to streamline this process. First, an LLM analyzes a small but diverse subset of text-serialized input examples in-context to synthesize a global rubric, which acts as a programmatic specification for extracting and organizing evidence. This rubric is then used to transform naive text-serializations of inputs into a more standardized format for downstream models. We also describe local rubrics, which are task-conditioned interpretive summaries generated by an LLM. Across 15 clinical tasks from the EHRSHOT benchmark, our rubric approaches significantly outperform count-feature models, naive LLM baselines, and a clinical foundation model pretrained on orders of magnitude more data. Beyond performance, rubrics offer operational advantages such as being easy to audit, cost-effectiveness at scale, and facilitating tabular representations.
Figures & tables
Appendix figures & tables29 assets
Supplementary material from the paper’s appendix.
Appendix
| Category | Task | Train | Val | Test |
| Operational Outcomes (3) | ICU transfer | 2402 (113) | 100 (50) | 2037 (85) |
| Length of stay 7 days | 2569 (681) | 100 (50) | 2195 (552) | |
| 30-day readmission | 2608 (370) | 100 (50) | 2189 (260) | |
| Assignment of New Diagnosis (6) | Hypertension | 1259 (182) | 100 (50) | 1258 (159) |
| Hyperlipidemia | 1684 (205) | 100 (50) | 1317 (172) | |
| Pancreatic cancer | 2576 (155) | 100 (50) | 2220 (56) |
| Task | AUROC | AUPRC |
| Operational Outcomes | ||
| ICU transfer | ||
| Long length of stay | ||
| 30-day readmit | ||
| Group Avg. | ||
| Assignment of New Diagnoses | ||
| Representation | Mean | Median | Min | Max | Std |
| NaiveText | 5,980 | 7,769 | 131 | 8,267 | 2,648 |
| Local-Rubric | 853 | 844 | 492 | 1,430 | 116 |
| Global-Rubric | 1,283 | 1,193 | 318 | 3,136 | 452 |
| AUROC | AUPRC | |||
| Qwen3-8B-Zeroshot | .707 .650-.764 | .090 .064-.120 | ||
| GPT5-Mini-Zeroshot | .688 .631-.744 | .101 .068-.139 | ||
| Count-GBM | .564 .508-.622 | .726 .665-.779 | .066 .040-.103 | .112 .076-.157 |
| CLMBR-T | .678 .617-.736 | .845 .797-.892 | .115 .069-.174 | .314 .226-.416 |
| NaiveText | .759 .711-.807 | .801 .751-.843 | .149 .097-.214 | .177 .119-.243 |
| AUROC | AUPRC | |||
| Qwen3-8B-Zeroshot | .650 .629-.672 | .333 .308-.359 | ||
| GPT5-Mini-Zeroshot | .742 .724-.763 | .416 .387-.449 | ||
| Count-GBM | .628 .604-.654 | .709 .685-.733 | .325 .295-.355 | .390 .355-.426 |
| CLMBR-T | .611 .587-.637 | .818 .799-.837 | .332 .298-.368 | .589 .546-.632 |
| NaiveText | .616 .588-.641 | .743 .723-.765 | .313 .286-.344 | .455 .413-.502 |
| AUROC | AUPRC | |||
| Qwen3-8B-Zeroshot | .561 .534-.586 | .133 .116-.150 | ||
| GPT5-Mini-Zeroshot | .609 .588-.627 | .147 .130-.166 | ||
| Count-GBM | .712 .676-.748 | .785 .754-.816 | .249 .208-.295 | .321 .272-.373 |
| CLMBR-T | .771 .738-.800 | .791 .760-.819 | .347 .289-.405 | .373 .313-.434 |
| NaiveText | .678 .645-.711 | .780 .751-.808 | .212 .176-.253 | .312 .259-.368 |
| AUROC | AUPRC | |||
| Qwen3-8B-Zeroshot | .664 .629-.698 | .100 .082-.119 | ||
| GPT5-Mini-Zeroshot | .739 .697-.782 | .172 .135-.214 | ||
| Count-GBM | .572 .520-.622 | .704 .654-.748 | .086 .068-.106 | .169 .125-.219 |
| CLMBR-T | .577 .528-.621 | .737 .697-.775 | .099 .073-.131 | .191 .142-.247 |
| NaiveText | .520 .470-.568 | .746 .706-.785 | .081 .062-.105 | .179 .134-.229 |
| AUROC | AUPRC | |||
| Qwen3-8B-Zeroshot | .497 .495-.498 | .009 .005-.014 | ||
| GPT5-Mini-Zeroshot | .497 .496-.499 | .010 .005-.014 | ||
| Count-GBM | .603 .457-.745 | .671 .510-.828 | .038 .012-.080 | .077 .024-.160 |
| CLMBR-T | .532 .409-.642 | .543 .415-.671 | .013 .007-.025 | .017 .007-.036 |
| NaiveText | .712 .599-.810 | .614 .482-.736 | .026 .012-.044 | .030 .009-.087 |
| AUROC | AUPRC | |||
| Qwen3-8B-Zeroshot | .500 .452-.546 | .132 .109-.157 | ||
| GPT5-Mini-Zeroshot | .640 .601-.678 | .176 .148-.205 | ||
| Count-GBM | .546 .496-.597 | .702 .662-.745 | .172 .138-.211 | .287 .225-.349 |
| CLMBR-T | .512 .466-.560 | .689 .647-.733 | .153 .122-.189 | .251 .202-.307 |
| NaiveText | .559 .510-.613 | .722 .684-.762 | .180 .142-.223 | .263 .213-.320 |
| AUROC | AUPRC | |||
| Qwen3-8B-Zeroshot | .552 .502-.600 | .142 .116-.168 | ||
| GPT5-Mini-Zeroshot | .646 .609-.684 | .172 .145-.205 | ||
| Count-GBM | .662 .622-.704 | .693 .653-.732 | .206 .164-.251 | .258 .203-.317 |
| CLMBR-T | .653 .611-.696 | .721 .682-.759 | .201 .160-.251 | .263 .213-.324 |
| NaiveText | .566 .525-.609 | .620 .574-.669 | .150 .121-.182 | .234 .183-.291 |
| AUROC | AUPRC | |||
| Qwen3-8B-Zeroshot | .500 .499-.500 | .009 .005-.013 | ||
| GPT5-Mini-Zeroshot | .550 .499-.625 | .084 .007-.235 | ||
| Count-GBM | .754 .637-.849 | .826 .734-.901 | .051 .012-.144 | .109 .026-.236 |
| CLMBR-T | .614 .486-.747 | .681 .588-.768 | .016 .008-.028 | .020 .009-.037 |
| NaiveText | .670 .575-.767 | .695 .556-.822 | .025 .009-.063 | .047 .013-.112 |
| AUROC | AUPRC | |||
| Qwen3-8B-Zeroshot | .630 .574-.694 | .086 .043-.155 | ||
| GPT5-Mini-Zeroshot | .604 .554-.662 | .205 .099-.314 | ||
| Count-GBM | .574 .503-.644 | .933 .902-.959 | .034 .023-.049 | .406 .258-.546 |
| CLMBR-T | .669 .589-.740 | .812 .741-.876 | .114 .046-.205 | .276 .165-.407 |
| NaiveText | .697 .630-.766 | .860 .803-.908 | .120 .051-.201 | .321 .202-.449 |
| AUROC | AUPRC | |||
| Qwen3-8B-Zeroshot | .500 .478-.523 | .495 .468-.520 | ||
| GPT5-Mini-Zeroshot | .530 .510-.549 | .514 .490-.538 | ||
| Count-GBM | .563 .538-.587 | .562 .537-.587 | .540 .511-.571 | .533 .502-.563 |
| CLMBR-T | .646 .624-.669 | .821 .803-.837 | .634 .602-.668 | .788 .759-.816 |
| NaiveText | .581 .554-.605 | .649 .625-.673 | .573 .541-.607 | .634 .602-.667 |
| AUROC | AUPRC | |||
| Qwen3-8B-Zeroshot | .758 .738-.779 | .735 .705-.763 | ||
| GPT5-Mini-Zeroshot | .786 .766-.805 | .744 .717-.771 | ||
| Count-GBM | .568 .543-.593 | .665 .640-.687 | .561 .530-.595 | .644 .612-.677 |
| CLMBR-T | .562 .536-.588 | .752 .730-.774 | .568 .535-.601 | .763 .735-.791 |
| NaiveText | .592 .566-.617 | .748 .726-.769 | .581 .548-.616 | .750 .719-.779 |
| AUROC | AUPRC | |||
| Qwen3-8B-Zeroshot | .687 .665-.710 | .662 .629-.693 | ||
| GPT5-Mini-Zeroshot | .662 .636-.687 | .650 .617-.683 | ||
| Count-GBM | .571 .543-.598 | .591 .563-.621 | .561 .526-.597 | .596 .557-.634 |
| CLMBR-T | .611 .584-.639 | .777 .755-.799 | .595 .560-.631 | .764 .730-.797 |
| NaiveText | .587 .559-.616 | .680 .654-.706 | .584 .546-.621 | .675 .638-.709 |
| AUROC | AUPRC | |||
| Qwen3-8B-Zeroshot | .686 .666-.707 | .655 .626-.683 | ||
| GPT5-Mini-Zeroshot | .706 .685-.727 | .657 .629-.687 | ||
| Count-GBM | .518 .491-.545 | .539 .514-.563 | .529 .497-.561 | .526 .495-.558 |
| CLMBR-T | .548 .522-.572 | .658 .633-.681 | .557 .523-.589 | .641 .608-.674 |
| NaiveText | .514 .489-.538 | .595 .571-.619 | .522 .490-.554 | .595 .563-.626 |
| AUROC | AUPRC | |||
| Qwen3-8B-Zeroshot | .705 .683-.725 | .637 .608-.666 | ||
| GPT5-Mini-Zeroshot | .739 .719-.759 | .670 .645-.696 | ||
| Count-GBM | .498 .473-.525 | .556 .531-.580 | .507 .477-.540 | .551 .519-.582 |
| CLMBR-T | .522 .496-.548 | .627 .604-.654 | .523 .492-.554 | .606 .575-.640 |
| NaiveText | .518 .491-.545 | .612 .586-.635 | .524 .491-.555 | .588 .556-.622 |
| AUROC | AUPRC | |||
| Qwen3-8B-Zeroshot | .546 .519-.573 | .526 .491-.560 | ||
| GPT5-Mini-Zeroshot | .520 .498-.541 | .507 .476-.538 | ||
| Count-GBM | .571 .541-.602 | .609 .576-.642 | .543 .502-.583 | .582 .540-.624 |
| CLMBR-T | .453 .421-.484 | .609 .578-.640 | .465 .427-.500 | .600 .559-.643 |
| NaiveText | .558 .533-.584 | .616 .592-.640 | .551 .519-.583 | .609 .577-.641 |