RTRobert Tibshirani

Robert Tibshirani

*This is an algorithmically generated author record based on publicly available information.

Current Organizations / Institutes

The organizations/institutes from the scholar's latest article

Previous Organizations / Institutes

The organizations / institutes from the scholar's other articles in the past ten years


Robert Tibshirani has a total of 429 co-authors. Here are the top co-authors by number of shared publications:


Latest Publications

  • Open Access

    Prognostic pan-cancer and single-cancer models: A large-scale analysis using a real-world clinico-genomic database

    by Sarah F. McGough, Svetlana Lyalina, Devin Incerti, Yunru Huang, Stefka Tyanova, Kieran Mace, Chris Harbron, Ryan Copping, Balasubramanian Narasimhan, Robert Tibshirani

    Prognostic models in oncology have a profound impact on personalized cancer care and patient profiling, but tend to be heterogeneously developed and implemented in narrow patient cohorts. Here, we develop and benchmark multiple machine learning models to predict survival in pan-cancer and 16 single-cancer settings using a de-identified clinico-genomic database of 28,079 US patients with cancer. We identify key predictors of cancer prognosis, including 15 shared across seven or more cancer types, revealing strong consistency in cancer prognostic factors. We demonstrate that pan-cancer models generally outperform or match single-cancer models in predicting survival and risk stratifying patients, especially in smaller cancer cohorts, suggesting a unique transfer learning advantage of pan-cancer models. This work demonstrates the potential of pan-cancer approaches in enhancing the accuracy and applicability of prognostic models in oncology, paving the way for more personalized and effective cancer care strategies.


  • Open Access

    Supervised learning pays attention

    by Erin Craig, Robert Tibshirani

    In-context learning with attention enables large neural networks to make context-specific predictions by selectively focusing on relevant examples. Here, we adapt this idea to supervised learning procedures such as lasso regression and gradient boosting, for tabular data. Our goals are to (1) flexibly fit personalized models for each prediction point and (2) retain model simplicity and interpretability. Our method fits a local model for each test observation by weighting the training data according to attention, a supervised similarity measure that emphasizes features and interactions that are predictive of the outcome. Attention weighting allows the method to adapt to heterogeneous data in a data-driven way, without requiring cluster or similarity pre-specification. Further, our approach is uniquely interpretable: for each test observation, we identify which features are most predictive and which training observations are most relevant. We then show how to use attention weighting for time series and spatial data, and we present a method for adapting pretrained tree-based models to distributional shift using attention-weighted residual corrections. Across real and simulated datasets, attention weighting improves predictive performance while preserving interpretability, and theory shows that attention-weighting linear models attain lower mean squared error than the standard linear model under mixture-of-models data-generating processes with known subgroup structure.

  • Open Access

    No Tokens Wasted: Leveraging Long Context in Biomedical Vision-Language Models

    by Min Woo Sun, Alejandro Lozano, Javier Gamazo Tejero, Vishwesh Nath, Xiao Xiao Sun, James Burgess, Yuhui Zhang, Kun Yuan, Robert Tibshirani, Sean Huver, et al.

    Embedding vision-language models (VLMs) are typically pretrained with short text windows (<77 tokens), which forces the truncation of long-format captions. Yet, the distribution of biomedical captions from large-scale open source literature reveals that a huge portion of captions far exceed 77 tokens. To this end, we investigate the impact of pretraining on long-format biomedical captions by extending the context length of text encoders in VLMs. We find that longer context (thus, enabling additional supervision provided in long-format captions) correlates with better retrieval and classification performance. Given this finding, we introduce BIOMEDICA-LongCAP, a dataset of 1M image-caption pairs enriched with context-aware descriptions from full-text articles, providing longer and additional textual supervision. Using BIOMEDICA-LongCAP, we train BMC-LongCLIP, a long-context biomedical VLM with a text encoder supporting windows of up to 512 tokens. Our model extends context capacity by 6.6x, reducing token waste from 55% to just 2.2%. On long-caption retrieval benchmarks, BMC-LongCLIP achieves up to +30% absolute gains in Recall@1 and +2% average improvements in classification, while also converging faster than short-context. Our results demonstrate that long-context modeling is a promising direction for advancing biomedical VLMs.

  • Open Access

    Annotation-free discovery of disease-relevant cells in single-cell datasets

    by Erin Craig, Timothy J. Keyes, Jolanda Sarno, Jeremy P. D’sIlva, Pablo Domizi, Maxim Zaslavsky, Albert Tsai, David Glass, Garry P. Nolan, Trevor Hastie, et al.

    In single-cell datasets, patient labels indicating disease status (e.g., “sick” or “not sick”) are typically available, but individual cell labels indicating which of a patient’s cells are associated with their disease state are generally unknown. To address this, we introduce mixture modeling for multiple-instance learning (MMIL), an expectation-maximization approach that trains cell-level binary classifiers using only patient-level labels. Applied to primary samples from patients with acute leukemia, MMIL accurately separates leukemia from nonleukemia baseline cells, including rare minimal residual disease (MRD) cells; generalizes across tissues and treatment time points; and identifies biologically relevant features with accuracy approaching that of a hematopathologist. MMIL can also incorporate cell labels when they are available, creating a robust framework for leveraging both labeled and unlabeled cells. MMIL provides a flexible modeling framework for cell classification, especially in scenarios with unknown gold-standard cell labels.


  • A review of survival stacking: a method to cast survival regression analysis as a classification problem

    by Erin Craig, Chenyang Zhong, Robert Tibshirani

    While there are many well-developed data science methods for classification and regression, there are relatively few methods for working with right-censored data. Here, we review survival stacking, a method for casting a survival regression analysis problem as a classification problem, thereby allowing the use of general classification methods and software in a survival setting. Inspired by the Cox partial likelihood, survival stacking collects features and outcomes of survival data in a large data frame with a binary outcome. We show that survival stacking with logistic regression is approximately equivalent to the Cox proportional hazards model. We further illustrate survival stacking on real and simulated data. By reframing survival regression problems as classification problems, survival stacking removes the reliance on specialized tools for survival regression, and makes it straightforward for data scientists to use well-known learning algorithms and software for classification in the survival setting. This in turn lowers the barrier for flexible survival modeling.


  • Top Cited Papers

    Disease diagnostics using machine learning of B cell and T cell receptor sequences

    by Maxim E. Zaslavsky, Erin Craig, Jackson K. Michuda, Nidhi Sehgal, Nikhil Ram-Mohan, Ji-Yeun Lee, Khoa D. Nguyen, Ramona A. Hoh, Tho D. Pham, Katharina Röltgen, et al.

    Clinical diagnosis typically incorporates physical examination, patient history, various laboratory tests, and imaging studies but makes limited use of the human immune system’s own record of antigen exposures encoded by receptors on B cells and T cells. We analyzed immune receptor datasets from 593 individuals to develop MAchine Learning for Immunological Diagnosis, an interpretive framework to screen for multiple illnesses simultaneously or precisely test for one condition. This approach detects specific infections, autoimmune disorders, vaccine responses, and disease severity differences. Human-interpretable features of the model recapitulate known immune responses to severe acute respiratory syndrome coronavirus 2, influenza, and human immunodeficiency virus, highlight antigen-specific receptors, and reveal distinct characteristics of systemic lupus erythematosus and type-1 diabetes autoreactivity. This analysis framework has broad potential for scientific and clinical interpretation of immune responses.


  • Open Access

    Genetics of cardiometabolic disease progression

    by Johanne M. Justesen, Guhan Venkataraman, Yosuke Tanigawa, Ruilin Li, Trevor Hastie, Robert Tibshirani, Joshua W. Knowles, Manuel A. Rivas

    Background: Genome-wide association studies have been crucial in gaining insights into the genetics of cardiometabolic diseases. However, little is known about the genetics of cardiometabolic disease progression which may have both a different genetic architecture and significant implications for treatment decisions. Disease progression can be ascertained by the time from the first disease diagnosis to a second qualifying event (e.g. diagnostic lab, code or procedure). While data of this nature have been available in large repositories such as the UK Biobank, large-scale genome-wide screens in a time-to-event setting have been extremely challenging due to various computational and statistical challenges. Methods and Results: We applied our method, snpnet-Cox, that has proven to be an effective method for simultaneous variable selection and estimation in high-dimensional settings, to examine the genetic contributions to cardiometabolic disease progression, measured by time from disease diagnosis to time of complication/comorbidity diagnosed or procedure in the UK Biobank. We apply a Cox regression model in a time-to-event setting to compute polygenic hazard scores (PHS). We identified ten new PHS that significantly predict disease progression. One example is the PHS that significantly predicts the time from hyperlipidemia diagnosis to having coronary artery bypass graft (CABG) surgery performed (Hazards Ratio 1.3 per PHS standard deviation: p =4.5×10 -9 ). In this PHS, we identified a common variant, rs11041816 (downstream of LMO1 ), which protects against this disease progression (beta = −0.05). Conclusion: snpnet-Cox is a fast and reliable tool to compute PHS capturing genetics in the time-to-event setting. The computed PHS can be used to stratify individuals with an underlying diagnosis (e.g. hyperlipidemia) into different trajectories disease progression (e.g CABG) thereby identifying potential points of intervention. With more time-to-event data to be released, this approach can provide great insight into disease progression at the fraction of computational cost necessary. We make available ten polygenic hazard scores that we find to be significant predictors of cardiometabolic disease progression.


  • Open Access

    Adaptive Forward Stepwise Regression

    by Ivy Zhang, Robert Tibshirani

    This paper proposes a sparse regression method that continuously interpolates between Forward Stepwise selection (FS) and the LASSO. When tuned appropriately, our solutions are much sparser than typical LASSO fits but, unlike FS fits, benefit from the stabilizing effect of shrinkage. Our method, Adaptive Forward Stepwise Regression (AFS) addresses this need for sparser models with shrinkage. We show its connection with boosting via a soft-thresholding viewpoint and demonstrate the ease of adapting the method to classification tasks. In both simulations and real data, our method has lower mean squared error and fewer selected features across multiple settings compared to popular sparse modeling procedures.

  • Open Access

    Nonlinear Regression with Residuals: Causal Estimation with Time-varying Treatments and Covariates

    by Stephen Bates, Edward Kennedy, Robert Tibshirani, Valerie Ventura, Larry Wasserman

    Standard regression adjustment gives inconsistent estimates of causal effects when there are time-varying treatment effects and time-varying covariates. Loosely speaking, the issue is that some covariates are post-treatment variables because they may be affected by prior treatment status, and regressing out post-treatment variables causes bias. More precisely, the bias is due to certain non-confounding latent variables that create colliders in the causal graph. These latent variables, which we call phantoms, do not harm the identifiability of the causal effect, but they render naive regression estimates inconsistent. Motivated by this, we ask: how can we modify regression methods so that they hold up even in the presence of phantoms? We develop an estimator for this setting based on regression modeling (linear, log-linear, probit and Cox regression), proving that it is consistent for a reasonable causal estimand. In particular, the estimator is a regression model fit with a simple adjustment for collinearity, making it easy to understand and implement with standard regression software. The proposed estimators are instances of the parametric g-formula, extending the regression-with-residuals approach to several canonical nonlinear models.