Using a social network like Facebook is a two-way street, part-shrouded in shadow. The benefits of sharing banter and photos with friends and family—for free—are obvious and immediate. So are the financial rewards for Facebook; but you don’t get to see all of the company’s uses for your data. An artificial intelligence experiment of unprecedented scale disclosed by Facebook Wednesday offers a glimpse of one such use case.