Maxwell's Demon and Data Compression
  In an asymmetric Szilard engine model of Maxwell's demon, we show the equivalence between information theoretical and thermodynamic entropies when the demon erases information optimally. The work gain by the engine can be exactly canceled out by the work necessary to reset demon's memory after optimal data compression a la Shannon before the erasure. 
Akio Hosoya, Koji Maruyama, Yutaka Shikano
physics.class-ph cond-mat.stat-mech physics.hist-ph