Structural Constraints for Physics-augmented Learning