Along with the pace of Real Madrid's development, of course this can give a lot of attention where they continue to make improvements from all sectors of the rear defense. By competing against Real Sociedad, RM can put forward more attacks and not defend quickly if they are already ahead. This can be used as a strategy to keep RM away from any club trying to catch up due to the end of the hot season.
I believe that their defense is not improved all that much just yet, sure it looks like they are at the top but they are 5th or 6th by goals scored on them, so their defense is not really that much improving. Looking at their latest la liga games, sevilla scored, granada scored, vallecano scored, elche scored, all of them scored on real while real getting the win.
So, it is obvious that they trust their offense much more than their defense. They got scored 15 times in 15 games, which is very bad for a team at the top but could be understandable when you scored 35 goals against that. They have a lot better offense than other teams and scored 9 more goals in 15 games to their closest rival. Which is why I believe that they will still win, but "both teams to score" in any real game doesn't seem like a bad bet considering that is exactly what happened in nearly every game they played.