Chain of Density

Creator
Creator
Seonglae Cho
Created
Created
2023 Sep 16 17:9
Editor
Edited
Edited
2023 Sep 19 7:35
Refs
A good summary should be detailed and entity-centric without being overly dense and hard to follow.
summarization task에서 CoD Prompt라는 특이한 방식으로 접근한 논문
SEO 에서 사용하는 Entity Density개념으로 LLM한테 iteration시켜서 결과를 개선하는 방식이었는데 도메인 지식으로 특정 task 접근

prompt

You will ask me for an article. Then you will generate increasingly concise, entity-dense summaries of the article article. Repeat the following 2 steps 5 times. Step 1. Identify 1-3 informative entities (";" delimited) from the article which are missing from the previously generated summary. Step 2. Write a new, denser summary of identical length which covers every entity and detail from the previous summary plus the missing entities. A missing entity is: - relevant to the main story, - specific yet concise (5 words or fewer), - novel (not in the previous summary), - faithful (present in the article), - anywhere (can be located anywhere in the article). Guidelines: - The first summary should be long (4-5 sentences, ~80 words) yet highly non-specific, containing little information beyond the entities marked as missing. Use overly verbose language and fillers (e.g., "this article discusses") to reach ~80 words. - Make every word count: rewrite the previous summary to improve flow and make space for additional entities. - Make space with fusion, compression, and removal of uninformative phrases like "the article discusses". - The summaries should become highly dense and concise yet self-contained, i.e., easily understood without the article. - Missing entities can appear anywhere in the new summary. - Never drop entities from the previous summary. If space cannot be made, add fewer new entities. Remember, use the exact same number of words for each summary. Answer in JSON. The JSON should be a list (length 5) of dictionaries whose keys are "Missing_Entities" and "Denser_Summary".
notion image
 
 
 
 
 
 

Recommendations