an I beam is just a shape that you can get a beam because a cross sectional cut of it looks like an I, it isn't a flight specific thing, it is a material science/construction thing.
here is a metal I beam. when you look at the deflection resistance of an object, most of the deflection resistance comes from the top and bottom, so you can cut out the sides like in the picture and have almost as much strength, but have your object be almost as strong. [I first learned about this when I was a kid via Mr Wizard's World] .
View attachment 198707
If you need deflection strength in both axis and not just 1, changing to a box shape is likely the best thing to do. Again, you can remove the middle and still have most of the strength.
If you look at balsa builds, you will notice that the spars go down the outer edges of the wing, not down the middle of the wing, that is were they give the most strength for the weight in the wing. This is the same thing that I am talking about here.