Do the thuds come in a particular time, like 4/4 or 12/8? Are they sometimes staccato, fortissimo, andante? It could be a musical group practicing, perhaps the Beetles.
If it happens after flushing or running water, consider a thing called "water hammer."