Lenders are brushing up on ways to minimize losses associated with the increasing costs to fund mortgage pipelines.