Reduce the effect of excessive zeros
That the features are not stationary is a reason why LSTM is a good approach.  Calculating the ratio of adjacent values in the sequence is unnecessary.  Since the logarithm would remove a skew in the input of numbers close to zero, the acquisition is in question.  Why are the values not often varying?  Are their transient events followed by inactivity?

Aggregating unchanged items in the sequence and adding duration as a feature may add entropy to the input and improve LSTM performance.  This is called decimation, and can be useful in adding entropy (removing redundancy) in data that has regions of redundant oversampling.

If the values without the division are still distributed exponentially, then keep the logarithm but maybe make it a natural log.