i recently went through $450 in brake parts tryin g to find out why my brakes did the same thing, it sounds liek your getting air in your system, it could be a number of things. You may have not bled them entirely, you could have a leaky brake hose or line, calipers could be failing, you could be losing vaccume pressure in your booster, or your mastewr could be dieing. If you suspect your master to be crappign out you can always remove it and see if the back is wet with brake fluid. Honestly it could be alot of things, possibly a proportioning valve. If anyone has any ideas feel free to chime in!
EDIT: almost forgot, never figured out what caused my problem. Just replaced litterally everything