To illustrate just how arbitrary the reference direction of a current variable is, draw another arrow next to and in the opposite direction of \$ i_1\$ and label it \$ i'_1\$.
Now, note that it doesn't matter which current variable, \$ i_1\$ or \$ i'_1\$, you solve for since we have \$i_1 = - i'_1\$.
Of course, both variables label the same current. For a physical "picture" of what these circuit variables are, think of \$ i_1\$ and \$ i'_1\$ as the respective measurements of two ammeters connected in series with that branch but connected with opposite polarity.