Gait detection using acclerometer
Refer to this Powerpoint presentation from Carlos Galván-Duque Gastélum
Ruth Mayagoitia-Hill and Fady Wakil at King's College London:

Ascending:



Descending: 



It should be possible to process the vertical acceleration signal to distinguish between the two cases- there's a clear difference.