CTC 손실 함수

\(L\)을 label의 집합, \(L’\)을 공백이 포함된 label의 집합이라고 하자. 길이 T를 갖는 sequence에 대하여, 모든 가능한 paths(network output)의 집합을 \(L’^T = \pi\) 라 하자. 실제 labeling z를 갖는 input x에 대하여, 제대로 labelling이 될 확률을 최대화 하는 문제가 된다. 이후에 maximum likelihood estimation 을 이용해 최적화한다.

\(\hat\theta = arg \max_{\theta} \prod_{i=1}^N p(Z^{(i)} | X^{(i)} ; \theta)\)

output에서 얻은 labels에서 중복되는 label과 공백을 없애는 n:1 함수를 B라고 정의하자. 함수 B는 “Collapsing” operation한다고 칭한다. 예시는 다음과같다.
B(_A__AAAA_BBBCCCC) = B(A_A_BBBB_CC) = AABC

B의 역함수 B-1 가 정의 가능하며, 이 함수는 ground truth에 대하여 모든 possible paths로 map이 가능하다.
B-1(ABCC) = -A-AAA-BBBCCC, 등등등등등 (1:n 함수?형태)

역함수의 성질을 수식으로 표현하면 우측과 같다: \(\{ B(x)|x \in B^{-1}(z)\} = z \)

이제, 주어진 labelling z에 대한 가능도를 정의할 수 있으며, z로 Collapse 가능한 모든 paths가 나올 확률의 합으로 가능도를 정의할 수 있다.

\(p(Z|x ; \theta) = \sum_{\pi \in B^{-1}(z)} p(\pi | x ; \theta) \)

앞서 본 인풋x에 대해 labeling z 를 최적화 하려는 식(아래의 식) 안에 대입을 하고 합의 형태로 바꿔 minimazation 문제로 바꾸면 최종식은 다음과 같다.

\(\hat\theta = arg \max_{\theta} \sum_{i=1}^Nlog [ \sum_{\pi \in B^{-1}(z^{(i)})} p(\pi | x^{(i)} ; \theta) ] \)

38 comments:

  1. Python is a general-purpose coding language—which means that, unlike HTML, CSS, and JavaScript, it can be used for other types of programming and software development besides web development. That includes back end development, software development, data science and writing system scripts among other things.

    internship in chennai for mechanical
    internship in chennai for cse students
    internship in chennai for eee
    internship in chennai for ece students
    internship in chennai for bcom students
    internship in chennai for mechanical engineering students
    python internship in chennai
    internship in chennai for it students
    companies offering internship in chennai
    internship in chennai for it

    ReplyDelete
  2. I accidentally visited another hyperlink. I still saw several posts while visiting, but the text was neat and easy to read. I will quote this post and post it on my blog. Would you like to visit my blog later? 토토사이트

    ReplyDelete
  3. I accidentally visited another hyperlink. I still saw several posts while visiting, but the text was neat and easy to read. 토토사이트

    ReplyDelete
  4. I basically need to disclose to you that I am new to weblog and unquestionably loved this blog website. 먹튀검증사이트

    ReplyDelete
  5. I still saw several posts while visiting, but the text was neat and easy to read. 파워볼사이트

    ReplyDelete
  6. Wow, great blog article I'm surprised there's such a wonderful article. 안전놀이터

    ReplyDelete
  7. Please write good things from now on.Thanks for finally writing about 토토사이트

    ReplyDelete
  8. your home or any other place within the city of Riyadh, contact us at the attribution on and you will be contacted to agree
    안전놀이터

    ReplyDelete
  9. This comment has been removed by the author.

    ReplyDelete
  10. https://www.omgqq.com 우리카지노사이트
    https://www.omgqq.com/thekingcasino 더킹카지노
    https://www.omgqq.com/sandscasino 샌즈카지노
    https://www.omgqq.com/firstcasino 퍼스트카지노
    https://www.omgqq.com/yescasino 예스카지노
    https://www.omgqq.com/supercasino 슈퍼카지노
    https://www.omgqq.com/gatsbycasino 개츠비카지노
    https://www.omgqq.com/33casino 33카지노
    https://www.omgqq.com/worldcasino 월드카지노
    https://www.omgqq.com/merit 메리트카지노

    ReplyDelete
  11. https://www.omgab.com 우리카지노사이트
    https://www.omgab.com/theking 더킹카지노
    https://www.omgab.com/sands 샌즈카지노
    https://www.omgab.com/first 퍼스트카지노
    https://www.omgab.com/yes 예스카지노
    https://www.omgab.com/super 슈퍼카지노
    https://www.omgab.com/gatsby 개츠비카지노
    https://www.omgab.com/33 33카지노
    https://www.omgab.com/world 월드카지노
    https://www.omgab.com/merit 메리트카지노

    ReplyDelete
  12. I do consider all of the ideas you have introduced on your post.
    They are very convincing and will certainly work. Visit this WEBSITE and let me know if u enjoy it alot. thank you^^ 바카라사이트

    ReplyDelete
  13. This blog is a very valuable blog.I was looking the same type of post here.Thanks for it and carry on it 먹튀검증

    ReplyDelete
  14. Thanks so much for the blog post. Really looking forward to read more 먹튀검증

    ReplyDelete
  15. Spot on with this write-up, I truly believe that this website needs a lot more attention. I'll probably be back again to read more, thanks for the advice!

    성인야설

    ReplyDelete
  16. "What i do not realize is actually how you're no longer actually much more
    smartly-liked than you might be now. You are very intelligent.
    You know thus considerably when it comes
    to this matter, produced me in my view believe it from numerous numerous angles.
    Its like men and women don't seem to be fascinated until it's something to do with Girl gaga!

    Your individual stuffs outstanding. All the time care for it up!"

    마사지

    ReplyDelete
  17. It’s nearly impossible to find well-informed people in this particular topic,
    but you sound like you know what you’re talking about!
    온라인경마
    경마사이트

    ReplyDelete
  18. First of all, thank you for your post. Your posts are neatly organized with the information I want, so there are plenty of resources to reference. I bookmark this site and will find your posts frequently in the future. Thanks again 카지노사이트

    ReplyDelete
  19. whoah this weblog is excellent i really like reading your articles. 사설토토

    ReplyDelete
  20. It’s hard to come by knowledgeable people for this subject, but you sound like you know what you’re talking about!
    Thanks토토

    ReplyDelete

  21. I totally agree with how approachable the new online course of this naming brand is. A As new to this, they made the lessons very easy to understand and entertaining 청마담

    ReplyDelete
  22. casino trực tuyến24/11/21 01:51

    This is the perfect post.casino trực tuyến It helped me a lot. If you have time, I hope you come to my site and share your opinions. Have a nice day.


    ReplyDelete
  23. As I website possessor I believe the articles here is very excellent,카지노사이트
    thanks for your efforts.

    ReplyDelete
  24. I like the valuable info you provide in your articles. I will bookmark your blog and check again here frequently. 토토사이트

    ReplyDelete
  25. Everything is very open with a clear description of the challenges. It was definitely informative. Your website is very helpful. 토토

    ReplyDelete
  26. keo nhacai6/12/21 22:04

    That's a great article! The neatly organized content is good to see. Can I quote a blog and write it on my blog? My blog has a variety of communities including these articles. Would you like to visit me later? keo nhacai


    ReplyDelete
  27. Wohh exactly what I was looking for, regards for posting 슬롯머신

    ReplyDelete
  28. The details mentioned within the write-up are a number of the top accessible 토토

    ReplyDelete
  29. This paragraph will assist the internet people for creating new website or even a weblog from start to end.카지노사이트탑

    ReplyDelete
  30. Hi, yeah this article is actually pleasant and I have learned lot of things from it regarding blogging. thanks. 온라인바둑이

    ReplyDelete
  31. 카지노사이트21/12/21 00:45

    Of course, your article is good enough, 카지노사이트 but I thought it would be much better to see professional photos and videos together. There are articles and photos on these topics on my homepage, so please visit and share your opinions.


    ReplyDelete
  32. What a post I've been looking for! I'm very happy to finally read this post. evolution Thank you very much. Can I refer to your post on my website? Your post touched me a lot and helped me a lot. If you have any questions, please visit my site and read what kind of posts I am posting. I am sure it will be interesting.


    ReplyDelete
  33. 온카지노22/12/21 23:44

    First of all, thank you for your post. 온카지노 Your posts are neatly organized with the information I want, so there are plenty of resources to reference. I bookmark this site and will find your posts frequently in the future. Thanks again ^^


    ReplyDelete
  34. This is a really cool article. I really envy people who can write well like you. The content of the text was well drawn in my head and was well understood. You seem to have great writing skills. I will visit often to read articles. I also want my website to be as great as yours. Thank you for your visit.
    토토사이트 토토코드

    ReplyDelete