After reading this part of the code, I want to know which paper I should refer to to to better understand these codes