Not speaking from experience, but reading this thread got me curious as I have an alloy post in a carbon frame and may run into this trouble as well.
Reading item number 13
here make sense to me, noting too that item 14 suggests that caustic is only suitable for steel frames. The galvanic action will probably result in an alkaline corrosion compound (salt), and a weak acid like lemon juice or vinegar (or Coke?) applied for a period might be a safer route to try in the first instance to try to get the post to loosen on its own without resorting to mechanical force.
If you still need to apply force, then that item 13 essentially says to create a method to apply pressure between the seat mount on the post, and the top of the seat tube on the bike, rather than try to twist the seat post out. This makes sense because the frame would have to be designed for an axial compression load down the seat tube, considering it has to bear the weight of a rider through all the rough stuff, rather than huge twisting forces. By using some sort of expanding jig arrangement, you'll be putting a axial compression force down the seat tube equal to the pulling force on the seat post. Before doing that, I'd still apply mild heat then cold to the seat post to create mild expansion then rapid contraction of the post inside the seat tube to hopefully break or at least weaken the corrosion bonding. As the OP says, carbon fibre has a much lower coefficient of thermal expansion to aluminium, so there is opportunity to expand and contract the alloy seat post inside the seat tube and create gentle mechanical force on the galvanic bonding to try to weaken it without brute force.
Obviously whatever you do is at your own risk and I'm not saying that any of the above is correct or appropriate, although I would try it on my bike if I had to.
Be keen to hear how you go, regardless of what you try; I think patience will be a virtue in this instance too - don't reach for the hammer (or other similarly violent tool) first!
Edit: Sorry I missed ctguru's previous link to the sheldon brown seatpost page - does make sense though...