bats achieving the capacity of networks with packet loss
play

BATS: Achieving the Capacity of Networks with Packet Loss Raymond - PowerPoint PPT Presentation

BATS: Achieving the Capacity of Networks with Packet Loss Raymond W. Yeung Institute of Network Coding The Chinese University of Hong Kong Joint work with Shenghao Yang (IIIS, Tsinghua U) R.W. Yeung (INC@CUHK) BATS Codes 1 / 29 Outline


  1. BATS: Achieving the Capacity of Networks with Packet Loss Raymond W. Yeung Institute of Network Coding The Chinese University of Hong Kong Joint work with Shenghao Yang (IIIS, Tsinghua U) R.W. Yeung (INC@CUHK) BATS Codes 1 / 29

  2. Outline Problem 1 BATS Codes 2 Encoding and Decoding Degree Distribution Achievable Rates Recent Developments 3 R.W. Yeung (INC@CUHK) BATS Codes 2 / 29

  3. Transmission through Packet Networks (Erasure Networks) b 2 · · · b K b 1 s One 20MB file ≈ 20,000 packets t 1 t 2 R.W. Yeung (INC@CUHK) BATS Codes 3 / 29

  4. Transmission through Packet Networks (Erasure Networks) b 2 · · · b K b 1 s One 20MB file ≈ 20,000 packets A practical solution low computational and storage costs high transmission rate small protocol overhead t 1 t 2 R.W. Yeung (INC@CUHK) BATS Codes 3 / 29

  5. Routing Networks Retransmission Example: TCP Not scalable for multicast Cost of feedback s u t (re)transmission forwarding feedback R.W. Yeung (INC@CUHK) BATS Codes 4 / 29

  6. Routing Networks Forward error correction Retransmission Example: fountain codes Example: TCP Scalable for multicast Not scalable for multicast Neglectable feedback cost Cost of feedback s u t encoding forwarding decoding R.W. Yeung (INC@CUHK) BATS Codes 4 / 29

  7. Complexity of Fountain Codes with Routing K packets, T symbols in a packet. Encoding: O ( T ) per packet. Decoding: O ( T ) per packet. Routing: O (1) per packet and fixed buffer size. s ENC u FWD t DEC BP [Luby02] M. Luby, “LT codes,” in Proc. 43rd Ann. IEEE Symp. on Foundations of Computer Science, Nov. 2002. [Shokr06] A. Shokrollahi, “Raptor codes,” IEEE Trans. Inform. Theory, vol. 52, no. 6, pp. 2551-2567, Jun 2006. R.W. Yeung (INC@CUHK) BATS Codes 5 / 29

  8. Achievable Rates s u t Both links have a packet loss rate 0 . 2. The capacity of this network is 0 . 8. Intermediate End-to-End Maximum Rate forwarding retransmission 0.64 forwarding fountain codes 0.64 R.W. Yeung (INC@CUHK) BATS Codes 6 / 29

  9. Achievable Rates s u t Both links have a packet loss rate 0 . 2. The capacity of this network is 0 . 8. Intermediate End-to-End Maximum Rate forwarding retransmission 0.64 forwarding fountain codes 0.64 network coding random linear codes 0.8 R.W. Yeung (INC@CUHK) BATS Codes 6 / 29

  10. Achievable Rates: n hops u n − 1 u 1 · · · s t All links have a packet loss rate 0 . 2. Intermediate Operation Maximum Rate 0 . 8 n → 0, n → ∞ forwarding network coding 0.8 R.W. Yeung (INC@CUHK) BATS Codes 7 / 29

  11. An Explanation ∞ s 1 X X X u X X X X t R.W. Yeung (INC@CUHK) BATS Codes 8 / 29

  12. Multicast capacity of erasure networks Theorem Random linear network codes achieve the capacity of a large range of multicast erasure networks. [Wu06] Y. Wu, “A trellis connectivity analysis of random linear network coding with buffering,” in Proc. IEEE ISIT 06, Seattle, USA, Jul. 2006. LMKE08] D. S. Lun, M. M´ edard, R. Koetter, and M. Effros, “On coding for reliable communication over packet networks,” Physical Communication, vol. 1, no. 1, pp. 320, 2008. R.W. Yeung (INC@CUHK) BATS Codes 9 / 29

  13. Complexity of Linear Network Coding Encoding: O ( TK ) per packet. Decoding: O ( K 2 + TK ) per packet. Network coding: O ( TK ) per packet. Buffer K packets. encoding network coding R.W. Yeung (INC@CUHK) BATS Codes 10 / 29

  14. Quick Summary Routing + fountain Network coding low complexity high complexity low rate high rate R.W. Yeung (INC@CUHK) BATS Codes 11 / 29

  15. Outline Problem 1 BATS Codes 2 Encoding and Decoding Degree Distribution Achievable Rates Recent Developments 3 R.W. Yeung (INC@CUHK) BATS Codes 12 / 29

  16. Batched Sparse (BATS) Codes outer code inner code (network code) [YY11] S. Yang and R. W. Yeung. Coding for a network coded fountain. ISIT 2011, Saint Petersburg, Russia, 2011. R.W. Yeung (INC@CUHK) BATS Codes 13 / 29

  17. Encoding of BATS Code: Outer Code Apply a “matrix fountain code” at the source node: Obtain a degree d by sampling a degree distribution Ψ. 1 Pick d distinct input packets randomly. 2 Generate a batch of M coded packets using the d packets. 3 Transmit the batches sequentially. b 1 b 2 b 3 b 4 b 5 b 6 · · · · · · X 1 X 2 X 3 X 4 � � X i = b i 1 b i 2 · · · b id i G i = B i G i . R.W. Yeung (INC@CUHK) BATS Codes 14 / 29

  18. Encoding of BATS Code: Inner Code The batches traverse the network. Encoding at the intermediate nodes forms the inner code. Linear network coding is applied in a causal manner within a batch. · · · , X 3 , X 2 , X 1 · · · , Y 3 , Y 2 , Y 1 network with linear s t network coding Y i = X i H i , i = 1 , 2 , . . . . R.W. Yeung (INC@CUHK) BATS Codes 15 / 29

  19. Belief Propagation Decoding 1 Find a check node i with degree i = rank( G i H i ). 2 Decode the i th batch. 3 Update the decoding graph. Repeat 1). b 1 b 2 b 3 b 4 b 5 b 6 G 1 H 1 G 2 H 2 G 3 H 3 G 4 H 4 G 5 H 5 The linear equation associated with a check node: Y i = B i G i H i . R.W. Yeung (INC@CUHK) BATS Codes 16 / 29

  20. Precoding Precoding by a fixed-rate erasure correction code. The BATS code recovers (1 − η ) of its input packets. Precode BATS code [Shokr06] A. Shokrollahi, Raptor codes, IEEE Trans. Inform. Theory, vol. 52, no. 6, pp. 25512567, Jun. 2006. R.W. Yeung (INC@CUHK) BATS Codes 17 / 29

  21. Degree Distribution We need a degree distribution Ψ such that 1 The BP decoding succeeds with high probability. 2 The encoding/decoding complexity is low. 3 The coding rate is high. R.W. Yeung (INC@CUHK) BATS Codes 18 / 29

  22. A Sufficient Condition Define M D M � � � Ω( x ) = h ∗ d Ψ d I d − r , r ( x ) + h r , r r Ψ r , r , r r =1 d = r +1 r =1 where h ∗ r , r is related to the rank distribution of H and I a , b ( x ) is the regularized incomplete beta function . Theorem Consider a sequence of decoding graph BATS ( K , n , { Ψ d , r } ) with constant θ = K / n. The BP decoder is asymptotically error free if the degree distribution satisfies Ω( x ) + θ ln(1 − x ) > 0 for x ∈ (0 , 1 − η ) , R.W. Yeung (INC@CUHK) BATS Codes 19 / 29

  23. An Optimization Problem max θ s.t. Ω( x ) + θ ln(1 − x ) ≥ 0 , 0 < x < 1 − η Ψ d ≥ 0 , d = 1 , · · · , D � Ψ d = 1 . d D = ⌈ M /η ⌉ Solver: Linear programming by sampling some x . R.W. Yeung (INC@CUHK) BATS Codes 20 / 29

  24. Complexity of Sequential Scheduling Source node encoding O ( TM ) per packet O ( M 2 + TM ) per packet Destination node decoding buffer O ( TM ) Intermediate Node network coding O ( TM ) per packet T : length of a packet K : number of packets M : batch size R.W. Yeung (INC@CUHK) BATS Codes 21 / 29

  25. Achievable Rates Optimization max θ s.t. Ω( x k ) + θ ln(1 − x k ) ≥ 0 , x k ∈ (0 , 1 − η ) Ψ d ≥ 0 , d = 1 , · · · , ⌈ M /η ⌉ � Ψ d = 1 . d The optimal values of θ is very close to E[rank( H )]. It can be proved when E[rank( H )] = M Pr { rank( H ) = M } . R.W. Yeung (INC@CUHK) BATS Codes 22 / 29

  26. Simulation Result s u t Packet loss rate 0 . 2. Node s encodes K packets using a BATS code. Node u caches only one batch. Node t sends one feedback after decoding. R.W. Yeung (INC@CUHK) BATS Codes 23 / 29

  27. Coding rates obtained by simulation for M = 32 K q = 2 q = 4 q = 8 q = 16 16000 0.5826 0.6145 0.6203 0.6248 32000 0.6087 0.6441 0.6524 0.6574 64000 0.6259 0.6655 0.6762 0.6818 M : batch size K : number of packets q : field size R.W. Yeung (INC@CUHK) BATS Codes 24 / 29

  28. Tradeoff M = 1: BATS codes degenerate to Raptor codes. Low complexity No benefit of network coding M = K and degree ≡ K : BATS codes becomes RLNC. High complexity Full benefit of network coding. Exist parameters with moderate values that give very good performance R.W. Yeung (INC@CUHK) BATS Codes 25 / 29

  29. Outline Problem 1 BATS Codes 2 Encoding and Decoding Degree Distribution Achievable Rates Recent Developments 3 R.W. Yeung (INC@CUHK) BATS Codes 26 / 29

  30. Recent Developments Degree distribution optimization Degree distribution depends on the rank distribution. Robust degree distribution for different rank distributions. Inactivation decoding alleviates the degree distribution optimization problem. Finite length analysis [3] Testing systems Multi-hop wireless transmission: 802.11 Peer-to-peer file transmission R.W. Yeung (INC@CUHK) BATS Codes 27 / 29

  31. Summary BATS codes provide a digital fountain solution with linear network coding: Outer code at the source node is a matrix fountain code Linear network coding at the intermediate nodes forms the inner code Prevents BOTH packet loss and delay from accumulating along the way The more hops between the source node and the sink node, the larger the benefit. Future work: Proof of (nearly) capacity achieving Design of intermediate operations to maximize the throughput and minimize the buffer size R.W. Yeung (INC@CUHK) BATS Codes 28 / 29

  32. References S. Yang and R. W. Yeung, “Batched Sparse Codes,” submitted to IEEE Trans. Inform. Theory , 2012. S. Yang and R. W. Yeung, “Large File Transmission in Network-Coded Networks with Packet Loss – A Performance Perspective,” in Proc. ISABEL 2011, Barcelona, Spain, 2011. T. C Ng and S. Yang, “Finite length analysis of BATS codes,” in Proc. NetCod’13, Calgary, Canada, June, 2013. R.W. Yeung (INC@CUHK) BATS Codes 29 / 29

Download Presentation
Download Policy: The content available on the website is offered to you 'AS IS' for your personal information and use only. It cannot be commercialized, licensed, or distributed on other websites without prior consent from the author. To download a presentation, simply click this link. If you encounter any difficulties during the download process, it's possible that the publisher has removed the file from their server.

Recommend


More recommend