SCIENCE IN THE LOOP: FROM RESEARCH AUTOMATION TO SYSTEM-LEVEL OPTIMIZATION