I don't think the federal government should provide compensation for wrongful imprisonment when it was the state's actions that imprisoned the wrong person.
It seems in some cases that the wrongful imprisonment involved officials who refused to do their jobs, refused to look at facts that didn't support their own or their community's prejudices, willfully bent laws, facts and evidence to make the suspect look guilty and in some cases even beat confessions out of people. Those cases should not only be compensated, but charges should be drawn up against the officials who didn't do their jobs.
There are cases where the evidence seems pretty clear, but ended up a wrong person at the wrong place at the wrong time, usually cleared years later by DNA evidence. I'm not entirely convinced that automatic compensation is due for these people. It sucks big time, but to have a truly impartial judiciary and jury system, we do have to allow for honest mistakes.