The management literature has extensively explored how firms respond to underperformance through innovation, with prior studies based on the behavioral theory of the firm and the threat-rigidity thesis producing inconsistent results. The shifting focus of attention model provides crucial insights to reconcile this contradiction. We extend this model by highlighting the temporal dimension of performance shortfall. Specifically, we argue that underperformance duration flattens the inverted U-shaped relationship by attenuating both the problemistic search and threat rigidity mechanisms. The empirical results from a sample of Chinese listed manufacturing firms between 2010 and 2019 support our predicted inverted U-relationship between underperformance intensity and research and development (R&D) investment, and the moderating effect of underperformance duration. Interestingly, the inverted U-shape flips to a U-shape if underperformance extends into the long term. We contribute to the literature on performance feedback by considering both underperformance intensity and duration, which conceptualizes their interaction and reconciles extant contradictory findings from a new perspective. We also add new insights into innovation research by theorizing and examining the overlooked boundary condition for the curvilinear relationship between performance shortfalls and R&D investments, which calls for future research to explore the dynamics of the relationship and account for temporal effects.