The main purpose of the present study is to verify whether, as compared with conventional weaning, early weaning with high-flow nasal cannula oxygenation or noninvasive positive pressure ventilation may more effective in shortening the duration of invasive ventilation, hence reducing the rates of complications and mortality in patients with acute hypoxemic respiratory failure.