Проанализируй этот отчет с CodeForces о результатах Chat GPT 4o mini в программировании. Сделай анализ какие задачи ИИ уже решает крайне успешно, а где его слабые стороны. Расскажи что значат типы задач типа D2ABs и другие сокращения терминов использованные в этом отчете
I would like to thank redpanda and qmk for their great help in writing and reviewing this blog. They are also the users who queried O1-mini for all the following problems.
We tried O1-mini on several problems, from a variety of sources. Let's list the results first.
Note :
Some of the WA verdicts here actually means that the AI just "stopped thinking" which means the AI thought for a long enough time without any useable results so it ran into an error.
D2ABs
1762B - Make Array Good [1100] AC
1998B - Minimize Equal Sum Subarrays [1000] AC
1998A - Find K Distinct Points with Fixed Center [800] AC
1831A - Twin Permutations [800] AC
1831B - Array merging [1000] AC
1905B - Begginer's Zelda [1100] AC (this one even used 4o)
1905A - Constructive Problems [800] AC
2009C - The Legend of Freya the Frog [1100] AC
1816A - Ian Visits Mary [800] WA
1944B - Equal XOR [1100] WA
1758B - XOR = Average [900] WA
Standard problems
2000E - Photoshoot for Gorillas [1400] AC
13E - Holes [2700] AC after giving hidden test
abc365_e — Xor Sigma Problem [1544] AC
abc293_g — Triple Index [2037] AC
abc258_g — Triangle [2181] AC
abc342_g — Retroactive Range Chmax [2305] WA
abc362_g — Count Substring Query [1940] TLE
1891F - A Growing Tree [2000] WA
ARC AB Problems
arc174_b — Bought Review [1378] AC
arc179_a — Partition [1092] AC
arc183_a — Median of Good Sequences [1118] WA
arc175_b — Parenthesis Arrangement [1410] WA
D2C+ (Non-standard) problems
1904D1 - Set To Max (Easy Version) [1600] WA
1904C - Array Game [1400] WA
1967A - Permutation Counting [1400] WA
1965A - Everything Nim [1400] WA
1943A - MEX Game 1 [1300] WA
1893A - Anonymous Informant [1400] WA
agc051_a — Dodecagon [1842] WA
agc043_a — Range Flip Find Route [1417] WA
the famous 1188B - Count Pairs [2300] WA
Conclusion
Overview
gpt o1-mini is very good and faster than humans at some standard problems ≤ atcoder blue, these types of problems can't appear in contests if we want fair contests where AI doesnt determine ranking
gpt o1-mini is very good at most easy "adhoc" problems like D2AB and is faster than or as fast as tourist at these problems, I'm not certain about how to make D2A's that ai cant solve and D2B has limited options too.
Assistant
the AI struggles a lot on harder "adhoc" problems , especially multistep problems where the steps aren't standard
Div1 people are completely unaffected (for now at least). Some extra care needs to go into choosing d2Bs such that O1-mini can't solve them, but otherwise Div2 contests are also mostly unaffected.
D2AB Ad-Hoc problems
It can "solve" most of the Div2AB level problems in under a minute. Why do i double quote around "solve"? Often, even when the AI can't really reason the solution, if the solution is simple enough like min(a,b)
, it gets there by brute forcing.
It is hard to create problems which are suitable for such positions and still not solvable by beginners, but I don't believe it is impossible. We have 3 examples listed above (1
d2A and 2
d2B), which are all constructive problems (and the construction isn't as simple as print 1,2,...n
). Constructive problems are one of the weaknesses of the AI, or more generally, problems where the ad-hoc part cannot be reached easily through bruteforcing.
It also failed arc183_a — Median of Good Sequences and 1943A - MEX Game 1, which are easy enough to be D2Bs.
2
tips in particular for easy problems i would like to stress on for problemsetters :
Don't have them be a stupid (even if it is cute) result. For example, output a+b
or print 1,2,..n
.
Try to have problems where genuine insight can't be easily replaced by guessing.
I know these are hard to do, especially for D2A. D2B might still be possible....and it is important if we try to make it as fair as possible.
Another option is to remove D2A and start at D2B (with registered => rated) with a less steep difficulty progress over the contest. There won't be a big difference for most participants however maybe completely new beginners will feel bad however if they solve no problems.
Standard Contests (ABC/Div3/Div4)
AI can perform exceedingly well in such contests. It is trained on infinite problems, and can recognize techniques with ease. For, example it solved the MO's problem in only 27
seconds, while it took minutes for several Ad hoc problems (even when it managed to solve it)
These contests simply aren't fair in the current format. Even if you ban AI, i can always just understand and rewrite it's solution. I strongly urge one of the following 3
actions :
Remove them
Have them unrated and solely for practice
Rework them to not have so many Standard problems
2
-nd option probably isn't very feasible, and you may not want to do the 1
-st. Thus, I suggest the 3
-rd.
Div2C+ Ad-hoc Problems
These problems generally need multi steps, and thus, the AI has a very low probability to solve it. It failed each and every one of the last 5
D1As under 1400 rating.
Problems requiring some thinking which can't be easily replaced by brute-forcing solutions is the way to beat it, along with having multistep problems. With every non-trivial step (or even a trivial step given how the AI works) reduces the probability for the AI to solve the problem exponentially.
A meta shift needs to happen in the recent future, where we have to solely focus on making multistep problems with several thinking non-trivial steps. However, we are not there yet.
Rating Approximations
(These are purely approximations from the data we have, and is my personal opinion. They could be more accurate with more data but unfortunately we only have limited queries.)
ABC, Div3, Div4 contests : [1900+] according to CF rating
Div2 contests : [1500]
ARC : [1300] according to CF rating
Div1 & AGC : -
Final Remarks
We are mostly fine. Some amount of care needs to go to build easy problems which AI can't solve but other than that not majorly affected. Banning AI probably is the right move now however.
In the future, I don't see this type of "generate 109
solutions and find the right one" AI being good at solving harder problems, especially if we try to counter it. An AI that can actually reason is much more dangerous imo...
Отчет представляет результаты тестирования модели искусственного интеллекта O1-mini на различных задачах программирования с платформ CodeForces и Atcoder. Давайте подробно проанализируем, какие задачи ИИ решает успешно, где его слабые стороны, и расшифруем используемые в отчете сокращения и термины.
Расшифровка терминов и сокращений:
D2ABs: Это задачи уровней A и B в соревнованиях Division 2 на CodeForces. Division 2 предназначен для участников с рейтингом ниже определенного порога, и задачи A и B обычно являются самыми простыми в контесте.
AC: Accepted (Решение принято). Программа успешно прошла все тесты.
WA: Wrong Answer (Неправильный ответ). Программа выдала неправильный результат на каком-либо из тестов.
TLE: Time Limit Exceeded (Превышено ограничение времени). Программа не успела выполнить расчет за отведенное время.
Standard problems: Стандартные задачи, которые требуют применения известных алгоритмов и структур данных.
Ad-hoc problems: Задачи, не требующие знаний конкретных алгоритмов, но предполагающие нестандартное мышление и придумывание оригинальных решений.
ARC, ABC, AGC: Это серии контестов на платформе Atcoder — AtCoder Regular Contest, AtCoder Beginner Contest, AtCoder Grand Contest соответственно.
Div1, Div2: Деление участников на дивизионы в зависимости от рейтинга. Division 1 для более опытных участников, Division 2 для менее опытных.
Mo's algorithm: Известный алгоритм для обработки запросов на подотрезках массива.
Анализ результатов:
Сильные стороны ИИ O1-mini:
Решение простых задач (D2ABs):
ИИ успешно решает большинство простых задач уровня D2A и D2B. Это задачи, требующие базовых знаний и простых решений.
Примеры успешно решенных задач: 1762B, 1998A, 1831A и другие. Все они отмечены статусом AC.
Стандартные задачи до определенного уровня сложности:
ИИ хорошо справляется с задачами, где требуется применение стандартных алгоритмов и структур данных.
Он даже успешно решил задачу сложностью 2700 (13E - Holes) после предоставления скрытого теста, что подчеркивает его способность применять известные алгоритмы.
Быстрота решения:
На стандартных задачах ИИ работает быстрее человека. Например, он решил задачу с использованием алгоритма Mo за 27 секунд.
Слабые стороны ИИ O1-mini:
Сложные "ad-hoc" задачи:
ИИ испытывает затруднения с более сложными задачами, особенно когда решение требует нескольких нестандартных шагов или оригинального подхода.
Примеры неуспешно решенных задач: 1891F - A Growing Tree, 1904D1 - Set To Max (Easy Version), 1967A - Permutation Counting и другие.
Конструктивные задачи с нестандартными решениями:
Задачи, где требуется сконструировать или вывести определенную последовательность или структуру данных не по шаблону, вызывают сложности у ИИ.
Он не может легко найти оригинальное решение, если его нельзя получить простым перебором или если оно не соответствует известным паттернам.
Многошаговые задачи:
Задачи, требующие нескольких последовательных логических шагов или глубокого анализа, являются трудными для ИИ.
Каждый дополнительный шаг уменьшает вероятность того, что ИИ сможет правильно решить задачу.
Дополнительные наблюдения и рекомендации:
Для Div2 контестов:
Необходимо уделять больше внимания составлению задач D2A и D2B, чтобы они не решались ИИ тривиально.
Избегать задач с очевидными или простыми ответами (например, вывод суммы двух чисел или последовательности чисел по порядку).
Изменение подхода к составлению задач:
Фокусироваться на задачах, требующих глубокой аналитики, оригинальных идей и многошаговых решений.
Это позволит снизить влияние ИИ на результаты соревнований и сохранить состязательность для участников.
Влияние на рейтинговые контесты:
Для высокоуровневых участников (Div1) влияние ИИ пока незначительно.
Для начинающих и средних участников необходимо учитывать возможность использования ИИ и адаптировать формат соревнований или правила.
Заключение:
ИИ O1-mini демонстрирует высокую эффективность в решении простых и стандартных задач, зачастую превосходя людей по скорости. Однако его слабые стороны проявляются на более сложных задачах, требующих нестандартного мышления и многошаговых решений. Это означает, что при правильном подходе к составлению задач можно сохранить честность и конкурентоспособность соревнований, минимизируя влияние ИИ на результаты.
Рекомендации для участников и организаторов:
Участникам: Развивать навыки решения нестандартных задач, углублять понимание алгоритмов и структур данных, практиковаться в многошаговых решениях.
Организаторам: При составлении задач уделять внимание их оригинальности и сложности, избегать шаблонных и тривиальных задач, учитывать потенциальное использование ИИ участниками.